]> git.saurik.com Git - wxWidgets.git/blob - configure
added support for user-defined types to wxConfig (patch 1753875)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47623 2007-07-21 16:43:31Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 CFLAGS_VISIBILITY
711 CXXFLAGS_VISIBILITY
712 REZ
713 DEREZ
714 SETFILE
715 LIBICONV
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 ALL_WX_LIBS
730 BUILT_WX_LIBS
731 STD_BASE_LIBS
732 STD_GUI_LIBS
733 wxUSE_ZLIB
734 wxUSE_REGEX
735 wxUSE_EXPAT
736 wxUSE_ODBC
737 wxUSE_LIBJPEG
738 wxUSE_LIBPNG
739 wxUSE_LIBTIFF
740 VENDOR
741 OFFICIAL_BUILD
742 WX_FLAVOUR
743 WX_LIB_FLAVOUR
744 WXUNIV
745 MONOLITHIC
746 USE_PLUGINS
747 CXXWARNINGS
748 EXTRALIBS
749 EXTRALIBS_XML
750 EXTRALIBS_HTML
751 EXTRALIBS_ODBC
752 EXTRALIBS_GUI
753 EXTRALIBS_OPENGL
754 EXTRALIBS_SDL
755 WITH_PLUGIN_SDL
756 EXTRALIBS_GNOMEPRINT
757 EXTRALIBS_GNOMEVFS
758 EXTRALIBS_HILDON
759 UNICODE
760 BUILD
761 DEBUG_INFO
762 DEBUG_FLAG
763 TOOLKIT_LOWERCASE
764 TOOLKIT_VERSION
765 SAMPLES_RPATH_FLAG
766 SAMPLES_RPATH_POSTLINK
767 HOST_SUFFIX
768 CPPUNIT_CFLAGS
769 CPPUNIT_LIBS
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
861 COND_MONOLITHIC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
879 COND_PLATFORM_MAC_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
882 COND_PLATFORM_OS2_1
883 COND_PLATFORM_UNIX_0
884 COND_PLATFORM_UNIX_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
891 COND_SHARED_0
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
905 COND_SHARED_1
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_
909 COND_TOOLKIT_COCOA
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_DFB
913 COND_TOOLKIT_DFB_USE_GUI_1
914 COND_TOOLKIT_GTK
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
922 COND_TOOLKIT_MAC
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MGL
926 COND_TOOLKIT_MGL_USE_GUI_1
927 COND_TOOLKIT_MOTIF
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
934 COND_TOOLKIT_PM
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
941 COND_TOOLKIT_X11
942 COND_TOOLKIT_X11_USE_GUI_1
943 COND_UNICODE_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_0
947 COND_USE_GUI_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
954 COND_USE_ODBC_1
955 COND_USE_OPENGL_1
956 COND_USE_PCH_1
957 COND_USE_PLUGINS_0
958 COND_USE_RTTI_0
959 COND_USE_RTTI_1
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
963 COND_USE_SOVERSION_0
964 COND_USE_SOVERSOLARIS_1
965 COND_USE_STC_1
966 COND_USE_THREADS_0
967 COND_USE_THREADS_1
968 COND_USE_XRC_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
971 COND_WXUNIV_0
972 COND_WXUNIV_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
980 SHARED
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
983 USE_GUI
984 AFMINSTALL
985 WIN32INSTALL
986 TOOLKIT
987 TOOLKIT_DIR
988 TOOLCHAIN_NAME
989 TOOLCHAIN_FULLNAME
990 cross_compiling
991 WIDGET_SET
992 WX_RELEASE
993 WX_VERSION
994 WX_SUBVERSION
995 WX_CHARTYPE
996 WX_DEBUGTYPE
997 WXCONFIG_CPPFLAGS
998 WXCONFIG_CFLAGS
999 WXCONFIG_CXXFLAGS
1000 WXCONFIG_LIBS
1001 WXCONFIG_RPATH
1002 WXCONFIG_LDFLAGS_GUI
1003 WXCONFIG_RESFLAGS
1004 EXE_LINKER
1005 GUIDIST
1006 DISTDIR
1007 SAMPLES_SUBDIRS
1008 LDFLAGS_GL
1009 OPENGL_LIBS
1010 DMALLOC_LIBS
1011 WX_VERSION_TAG
1012 RESCOMP
1013 RESFLAGS
1014 RESPROGRAMOBJ
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1017 LIBWXMACRES
1018 POSTLINK_COMMAND
1019 MACSETFILE
1020 GCC
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1049 GNOMEVFS_CFLAGS
1050 GNOMEVFS_LIBS
1051 HILDON_CFLAGS
1052 HILDON_LIBS
1053 CAIRO_CFLAGS
1054 CAIRO_LIBS
1055 GST_CFLAGS
1056 GST_LIBS'
1057 ac_subdirs_all='src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1851 --enable-ownerdrawn use owner drawn controls (Win32 only)
1852 --enable-regkey use wxRegKey class (Win32 only)
1853 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1854 --enable-wxdib use wxDIB class (Win32 only)
1855 --disable-largefile omit support for large files
1856 --disable-gtktest do not try to compile and run a test GTK+ program
1857 --disable-gtktest Do not try to compile and run a test GTK program
1858 --disable-sdltest Do not try to compile and run a test SDL program
1859 --enable-omf use OMF object format (OS/2)
1860 --disable-dependency-tracking
1861 don't use dependency tracking even if the compiler
1862 can
1863 --disable-precomp-headers
1864 don't use precompiled headers even if compiler can
1865
1866 Optional Packages:
1867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1869 --without-subdirs don't generate makefiles for samples/demos/...
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1872 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1873 --with-motif use Motif/Lesstif
1874 --with-mac use Mac OS X
1875 --with-cocoa use Cocoa
1876 --with-wine use Wine
1877 --with-msw use MS-Windows
1878 --with-pm use OS/2 Presentation Manager
1879 --with-mgl use SciTech MGL
1880 --with-directfb use DirectFB
1881 --with-microwin use MicroWindows
1882 --with-x11 use X11
1883 --with-libpng use libpng (PNG image format)
1884 --with-libjpeg use libjpeg (JPEG file format)
1885 --with-libtiff use libtiff (TIFF file format)
1886 --with-libxpm use libxpm (XPM file format)
1887 --with-libmspack use libmspack (CHM help files loading)
1888 --without-gnomeprint don't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS for associating MIME types
1890 --with-hildon use Hildon framework for Nokia 770
1891 --with-opengl use OpenGL (or Mesa)
1892 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1893 --with-sdl use SDL for audio on Unix
1894 --with-regex enable support for wxRegEx class
1895 --with-zlib use zlib for LZW compression
1896 --with-odbc use the IODBC and wxODBC classes
1897 --with-expat enable XML support using expat parser
1898 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1899 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1900 --with-x use the X Window System
1901 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1902 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1903 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1904 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1905 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1906
1907 Some influential environment variables:
1908 CC C compiler command
1909 CFLAGS C compiler flags
1910 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1911 nonstandard directory <lib dir>
1912 LIBS libraries to pass to the linker, e.g. -l<library>
1913 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1914 you have headers in a nonstandard directory <include dir>
1915 CPP C preprocessor
1916 CXX C++ compiler command
1917 CXXFLAGS C++ compiler flags
1918 PKG_CONFIG path to pkg-config utility
1919 DIRECTFB_CFLAGS
1920 C compiler flags for DIRECTFB, overriding pkg-config
1921 DIRECTFB_LIBS
1922 linker flags for DIRECTFB, overriding pkg-config
1923 XMKMF Path to xmkmf, Makefile generator for X Window System
1924 PANGOX_CFLAGS
1925 C compiler flags for PANGOX, overriding pkg-config
1926 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1927 PANGOFT2_CFLAGS
1928 C compiler flags for PANGOFT2, overriding pkg-config
1929 PANGOFT2_LIBS
1930 linker flags for PANGOFT2, overriding pkg-config
1931 PANGOXFT_CFLAGS
1932 C compiler flags for PANGOXFT, overriding pkg-config
1933 PANGOXFT_LIBS
1934 linker flags for PANGOXFT, overriding pkg-config
1935 LIBGNOMEPRINTUI_CFLAGS
1936 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 LIBGNOMEPRINTUI_LIBS
1938 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 GNOMEVFS_CFLAGS
1940 C compiler flags for GNOMEVFS, overriding pkg-config
1941 GNOMEVFS_LIBS
1942 linker flags for GNOMEVFS, overriding pkg-config
1943 HILDON_CFLAGS
1944 C compiler flags for HILDON, overriding pkg-config
1945 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1946 CAIRO_CFLAGS
1947 C compiler flags for CAIRO, overriding pkg-config
1948 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1949 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1950 GST_LIBS linker flags for GST, overriding pkg-config
1951
1952 Use these variables to override the choices made by `configure' or to help
1953 it to find libraries and programs with nonstandard names/locations.
1954
1955 Report bugs to <wx-dev@lists.wxwidgets.org>.
1956 _ACEOF
1957 ac_status=$?
1958 fi
1959
1960 if test "$ac_init_help" = "recursive"; then
1961 # If there are subdirs, report their specific --help.
1962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1963 test -d "$ac_dir" || continue
1964 ac_builddir=.
1965
1966 case "$ac_dir" in
1967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1968 *)
1969 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1970 # A ".." for each directory in $ac_dir_suffix.
1971 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1972 case $ac_top_builddir_sub in
1973 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1974 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1975 esac ;;
1976 esac
1977 ac_abs_top_builddir=$ac_pwd
1978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1979 # for backward compatibility:
1980 ac_top_builddir=$ac_top_build_prefix
1981
1982 case $srcdir in
1983 .) # We are building in place.
1984 ac_srcdir=.
1985 ac_top_srcdir=$ac_top_builddir_sub
1986 ac_abs_top_srcdir=$ac_pwd ;;
1987 [\\/]* | ?:[\\/]* ) # Absolute name.
1988 ac_srcdir=$srcdir$ac_dir_suffix;
1989 ac_top_srcdir=$srcdir
1990 ac_abs_top_srcdir=$srcdir ;;
1991 *) # Relative name.
1992 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1993 ac_top_srcdir=$ac_top_build_prefix$srcdir
1994 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1995 esac
1996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1997
1998 cd "$ac_dir" || { ac_status=$?; continue; }
1999 # Check for guested configure.
2000 if test -f "$ac_srcdir/configure.gnu"; then
2001 echo &&
2002 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2003 elif test -f "$ac_srcdir/configure"; then
2004 echo &&
2005 $SHELL "$ac_srcdir/configure" --help=recursive
2006 else
2007 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2008 fi || ac_status=$?
2009 cd "$ac_pwd" || { ac_status=$?; break; }
2010 done
2011 fi
2012
2013 test -n "$ac_init_help" && exit $ac_status
2014 if $ac_init_version; then
2015 cat <<\_ACEOF
2016 wxWidgets configure 2.9.0
2017 generated by GNU Autoconf 2.61
2018
2019 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2020 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2021 This configure script is free software; the Free Software Foundation
2022 gives unlimited permission to copy, distribute and modify it.
2023 _ACEOF
2024 exit
2025 fi
2026 cat >config.log <<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2029
2030 It was created by wxWidgets $as_me 2.9.0, which was
2031 generated by GNU Autoconf 2.61. Invocation command line was
2032
2033 $ $0 $@
2034
2035 _ACEOF
2036 exec 5>>config.log
2037 {
2038 cat <<_ASUNAME
2039 ## --------- ##
2040 ## Platform. ##
2041 ## --------- ##
2042
2043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2048
2049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2051
2052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2055 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2059
2060 _ASUNAME
2061
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2064 do
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 echo "PATH: $as_dir"
2068 done
2069 IFS=$as_save_IFS
2070
2071 } >&5
2072
2073 cat >&5 <<_ACEOF
2074
2075
2076 ## ----------- ##
2077 ## Core tests. ##
2078 ## ----------- ##
2079
2080 _ACEOF
2081
2082
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2088 ac_configure_args=
2089 ac_configure_args0=
2090 ac_configure_args1=
2091 ac_must_keep_next=false
2092 for ac_pass in 1 2
2093 do
2094 for ac_arg
2095 do
2096 case $ac_arg in
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2100 continue ;;
2101 *\'*)
2102 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2103 esac
2104 case $ac_pass in
2105 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2106 2)
2107 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2108 if test $ac_must_keep_next = true; then
2109 ac_must_keep_next=false # Got value, back to normal.
2110 else
2111 case $ac_arg in
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2118 esac
2119 ;;
2120 -* ) ac_must_keep_next=true ;;
2121 esac
2122 fi
2123 ac_configure_args="$ac_configure_args '$ac_arg'"
2124 ;;
2125 esac
2126 done
2127 done
2128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2130
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2138 {
2139 echo
2140
2141 cat <<\_ASBOX
2142 ## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##
2145 _ASBOX
2146 echo
2147 # The following way of writing the cache mishandles newlines in values,
2148 (
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2151 case $ac_val in #(
2152 *${as_nl}*)
2153 case $ac_var in #(
2154 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2155 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2156 esac
2157 case $ac_var in #(
2158 _ | IFS | as_nl) ;; #(
2159 *) $as_unset $ac_var ;;
2160 esac ;;
2161 esac
2162 done
2163 (set) 2>&1 |
2164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2165 *${as_nl}ac_space=\ *)
2166 sed -n \
2167 "s/'\''/'\''\\\\'\'''\''/g;
2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2169 ;; #(
2170 *)
2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172 ;;
2173 esac |
2174 sort
2175 )
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##
2182 _ASBOX
2183 echo
2184 for ac_var in $ac_subst_vars
2185 do
2186 eval ac_val=\$$ac_var
2187 case $ac_val in
2188 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 esac
2190 echo "$ac_var='\''$ac_val'\''"
2191 done | sort
2192 echo
2193
2194 if test -n "$ac_subst_files"; then
2195 cat <<\_ASBOX
2196 ## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##
2199 _ASBOX
2200 echo
2201 for ac_var in $ac_subst_files
2202 do
2203 eval ac_val=\$$ac_var
2204 case $ac_val in
2205 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 esac
2207 echo "$ac_var='\''$ac_val'\''"
2208 done | sort
2209 echo
2210 fi
2211
2212 if test -s confdefs.h; then
2213 cat <<\_ASBOX
2214 ## ----------- ##
2215 ## confdefs.h. ##
2216 ## ----------- ##
2217 _ASBOX
2218 echo
2219 cat confdefs.h
2220 echo
2221 fi
2222 test "$ac_signal" != 0 &&
2223 echo "$as_me: caught signal $ac_signal"
2224 echo "$as_me: exit $exit_status"
2225 } >&5
2226 rm -f core *.core core.conftest.* &&
2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 exit $exit_status
2229 ' 0
2230 for ac_signal in 1 2 13 15; do
2231 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2232 done
2233 ac_signal=0
2234
2235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2236 rm -f -r conftest* confdefs.h
2237
2238 # Predefined preprocessor variables.
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2242 _ACEOF
2243
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2262 _ACEOF
2263
2264
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 set x "$CONFIG_SITE"
2269 elif test "x$prefix" != xNONE; then
2270 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2271 else
2272 set x "$ac_default_prefix/share/config.site" \
2273 "$ac_default_prefix/etc/config.site"
2274 fi
2275 shift
2276 for ac_site_file
2277 do
2278 if test -r "$ac_site_file"; then
2279 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2280 echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2282 . "$ac_site_file"
2283 fi
2284 done
2285
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special
2288 # files actually), so we avoid doing that.
2289 if test -f "$cache_file"; then
2290 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2291 echo "$as_me: loading cache $cache_file" >&6;}
2292 case $cache_file in
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2295 esac
2296 fi
2297 else
2298 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2299 echo "$as_me: creating cache $cache_file" >&6;}
2300 >$cache_file
2301 fi
2302
2303 # Check that the precious variables saved in the cache have kept the same
2304 # value.
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2312 set,)
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2316 ,set)
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2320 ,);;
2321 *)
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2324 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2325 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2326 echo "$as_me: former value: $ac_old_val" >&2;}
2327 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2328 echo "$as_me: current value: $ac_new_val" >&2;}
2329 ac_cache_corrupted=:
2330 fi;;
2331 esac
2332 # Pass precious variables to config.status.
2333 if test "$ac_new_set" = set; then
2334 case $ac_new_val in
2335 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336 *) ac_arg=$ac_var=$ac_new_val ;;
2337 esac
2338 case " $ac_configure_args " in
2339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2341 esac
2342 fi
2343 done
2344 if $ac_cache_corrupted; then
2345 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2346 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2347 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2348 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2349 { (exit 1); exit 1; }; }
2350 fi
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376 ac_ext=c
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381
2382
2383
2384
2385
2386 ac_aux_dir=
2387 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2389 ac_aux_dir=$ac_dir
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2391 break
2392 elif test -f "$ac_dir/install.sh"; then
2393 ac_aux_dir=$ac_dir
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2395 break
2396 elif test -f "$ac_dir/shtool"; then
2397 ac_aux_dir=$ac_dir
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2399 break
2400 fi
2401 done
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2405 { (exit 1); exit 1; }; }
2406 fi
2407
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2415
2416
2417 # Make sure we can run config.sub.
2418 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2419 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2420 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2421 { (exit 1); exit 1; }; }
2422
2423 { echo "$as_me:$LINENO: checking build system type" >&5
2424 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2425 if test "${ac_cv_build+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 else
2428 ac_build_alias=$build_alias
2429 test "x$ac_build_alias" = x &&
2430 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x &&
2432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2434 { (exit 1); exit 1; }; }
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2439
2440 fi
2441 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2442 echo "${ECHO_T}$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2444 *-*-*) ;;
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2446 echo "$as_me: error: invalid value of canonical build" >&2;}
2447 { (exit 1); exit 1; }; };;
2448 esac
2449 build=$ac_cv_build
2450 ac_save_IFS=$IFS; IFS='-'
2451 set x $ac_cv_build
2452 shift
2453 build_cpu=$1
2454 build_vendor=$2
2455 shift; shift
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2458 build_os=$*
2459 IFS=$ac_save_IFS
2460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2461
2462
2463 { echo "$as_me:$LINENO: checking host system type" >&5
2464 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_host+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468 if test "x$host_alias" = x; then
2469 ac_cv_host=$ac_cv_build
2470 else
2471 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2475 fi
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2479 echo "${ECHO_T}$ac_cv_host" >&6; }
2480 case $ac_cv_host in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2483 echo "$as_me: error: invalid value of canonical host" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 host=$ac_cv_host
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_host
2489 shift
2490 host_cpu=$1
2491 host_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 host_os=$*
2496 IFS=$ac_save_IFS
2497 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking target system type" >&5
2501 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_target+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$target_alias" = x; then
2506 ac_cv_target=$ac_cv_host
2507 else
2508 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2516 echo "${ECHO_T}$ac_cv_target" >&6; }
2517 case $ac_cv_target in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2520 echo "$as_me: error: invalid value of canonical target" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 target=$ac_cv_target
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_target
2526 shift
2527 target_cpu=$1
2528 target_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 target_os=$*
2533 IFS=$ac_save_IFS
2534 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2535
2536
2537 # The aliases save the names the user supplied, while $host etc.
2538 # will get canonicalized.
2539 test -n "$target_alias" &&
2540 test "$program_prefix$program_suffix$program_transform_name" = \
2541 NONENONEs,x,x, &&
2542 program_prefix=${target_alias}-
2543
2544
2545
2546 wx_major_version_number=2
2547 wx_minor_version_number=9
2548 wx_release_number=0
2549 wx_subrelease_number=0
2550
2551 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2552 WX_VERSION=$WX_RELEASE.$wx_release_number
2553 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2554
2555 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2556
2557
2558 wx_top_builddir="`pwd`"
2559
2560
2561
2562
2563 USE_UNIX=1
2564 USE_OS2=0
2565 USE_WIN32=0
2566 USE_DOS=0
2567 USE_BEOS=0
2568 USE_MAC=0
2569
2570 USE_AIX=
2571 USE_BSD= USE_DARWIN= USE_FREEBSD=
2572 USE_GNU= USE_HPUX=
2573 USE_LINUX=
2574 USE_NETBSD=
2575 USE_OPENBSD=
2576 USE_OSF= USE_SGI=
2577 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2578 USE_ULTRIX=
2579 USE_UNIXWARE=
2580
2581 USE_ALPHA=
2582
2583 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2584
2585 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2586
2587 DEFAULT_wxUSE_COCOA=0
2588 DEFAULT_wxUSE_GTK=0
2589 DEFAULT_wxUSE_MAC=0
2590 DEFAULT_wxUSE_MGL=0
2591 DEFAULT_wxUSE_MICROWIN=0
2592 DEFAULT_wxUSE_MOTIF=0
2593 DEFAULT_wxUSE_MSW=0
2594 DEFAULT_wxUSE_PM=0
2595 DEFAULT_wxUSE_X11=0
2596 DEFAULT_wxUSE_DFB=0
2597
2598 DEFAULT_DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_DEFAULT_wxUSE_GTK=0
2600 DEFAULT_DEFAULT_wxUSE_MAC=0
2601 DEFAULT_DEFAULT_wxUSE_MGL=0
2602 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_DEFAULT_wxUSE_MSW=0
2605 DEFAULT_DEFAULT_wxUSE_PM=0
2606 DEFAULT_DEFAULT_wxUSE_X11=0
2607 DEFAULT_DEFAULT_wxUSE_DFB=0
2608
2609 PROGRAM_EXT=
2610 SO_SUFFIX=so
2611 SAMPLES_RPATH_FLAG=
2612 SAMPLES_RPATH_POSTLINK=
2613
2614 DEFAULT_STD_FLAG=yes
2615
2616 case "${host}" in
2617 *-hp-hpux* )
2618 USE_HPUX=1
2619 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2621 SO_SUFFIX=sl
2622 cat >>confdefs.h <<\_ACEOF
2623 #define __HPUX__ 1
2624 _ACEOF
2625
2626
2627 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2628 ;;
2629 *-*-linux* )
2630 USE_LINUX=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __LINUX__ 1
2633 _ACEOF
2634
2635 TMP=`uname -m`
2636 if test "x$TMP" = "xalpha"; then
2637 USE_ALPHA=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __ALPHA__ 1
2640 _ACEOF
2641
2642 fi
2643 DEFAULT_DEFAULT_wxUSE_GTK=1
2644 ;;
2645 *-*-gnu* | *-*-k*bsd*-gnu )
2646 USE_GNU=1
2647 TMP=`uname -m`
2648 if test "x$TMP" = "xalpha"; then
2649 USE_ALPHA=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __ALPHA__ 1
2652 _ACEOF
2653
2654 fi
2655 DEFAULT_DEFAULT_wxUSE_GTK=1
2656 ;;
2657 *-*-irix5* | *-*-irix6* )
2658 USE_SGI=1
2659 USE_SVR4=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SGI__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SVR4__ 1
2666 _ACEOF
2667
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 ;;
2670 *-*-solaris2* )
2671 USE_SUN=1
2672 USE_SOLARIS=1
2673 USE_SVR4=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SUN__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SOLARIS__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SVR4__ 1
2684 _ACEOF
2685
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2688 ;;
2689 *-*-sunos4* )
2690 USE_SUN=1
2691 USE_SUNOS=1
2692 USE_BSD=1
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SUN__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUNOS__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __BSD__ 1
2703 _ACEOF
2704
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2706 ;;
2707 *-*-freebsd*)
2708 USE_BSD=1
2709 USE_FREEBSD=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __FREEBSD__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __BSD__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_GTK=1
2719 ;;
2720 *-*-openbsd*|*-*-mirbsd*)
2721 USE_BSD=1
2722 USE_OPENBSD=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OPENBSD__ 1
2725 _ACEOF
2726
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __BSD__ 1
2729 _ACEOF
2730
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2732 ;;
2733 *-*-netbsd*)
2734 USE_BSD=1
2735 USE_NETBSD=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __NETBSD__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2746
2747 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2748 ;;
2749 *-*-osf* )
2750 USE_ALPHA=1
2751 USE_OSF=1
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __ALPHA__ 1
2754 _ACEOF
2755
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __OSF__ 1
2758 _ACEOF
2759
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2762 ;;
2763 *-*-dgux5* )
2764 USE_ALPHA=1
2765 USE_SVR4=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __ALPHA__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __SVR4__ 1
2772 _ACEOF
2773
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 ;;
2776 *-*-sysv5* )
2777 USE_SYSV=1
2778 USE_SVR4=1
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SYSV__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789 *-*-aix* )
2790 USE_AIX=1
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 SO_SUFFIX=a
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __AIX__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SYSV__ 1
2800 _ACEOF
2801
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __SVR4__ 1
2804 _ACEOF
2805
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 ;;
2808
2809 *-*-*UnixWare*)
2810 USE_SYSV=1
2811 USE_SVR4=1
2812 USE_UNIXWARE=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __UNIXWARE__ 1
2815 _ACEOF
2816
2817 ;;
2818
2819 *-*-cygwin* | *-*-mingw32* )
2820 SO_SUFFIX=dll
2821 PROGRAM_EXT=".exe"
2822 DEFAULT_DEFAULT_wxUSE_MSW=1
2823 ;;
2824
2825 *-pc-msdosdjgpp )
2826 USE_UNIX=0
2827 USE_DOS=1
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __DOS__ 1
2830 _ACEOF
2831
2832 PROGRAM_EXT=".exe"
2833 DEFAULT_DEFAULT_wxUSE_MGL=1
2834 ;;
2835
2836 *-pc-os2_emx | *-pc-os2-emx )
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __EMX__ 1
2839 _ACEOF
2840
2841 USE_OS2=1
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __OS2__ 1
2844 _ACEOF
2845
2846 PROGRAM_EXT=".exe"
2847 DEFAULT_DEFAULT_wxUSE_PM=1
2848 CXX=gcc
2849 LDFLAGS="$LDFLAGS -Zcrtdll"
2850 ac_executable_extensions=".exe"
2851 export ac_executable_extensions
2852 ac_save_IFS="$IFS"
2853 IFS='\\'
2854 ac_TEMP_PATH=
2855 for ac_dir in $PATH; do
2856 IFS=$ac_save_IFS
2857 if test -z "$ac_TEMP_PATH"; then
2858 ac_TEMP_PATH="$ac_dir"
2859 else
2860 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2861 fi
2862 done
2863 export PATH="$ac_TEMP_PATH"
2864 unset ac_TEMP_PATH
2865 DEFAULT_STD_FLAG=no
2866 ;;
2867
2868 *-*-darwin* )
2869 USE_BSD=1
2870 USE_DARWIN=1
2871 SO_SUFFIX=dylib
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __BSD__ 1
2874 _ACEOF
2875
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DARWIN__ 1
2878 _ACEOF
2879
2880 cat >>confdefs.h <<\_ACEOF
2881 #define TARGET_CARBON 1
2882 _ACEOF
2883
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2885 DEFAULT_STD_FLAG=no
2886 ;;
2887 powerpc-apple-macos* )
2888 USE_UNIX=0
2889 ac_cv_c_bigendian=yes
2890 SO_SUFFIX=shlib
2891 DEFAULT_DEFAULT_wxUSE_MAC=1
2892 DEFAULT_STD_FLAG=no
2893 ;;
2894
2895 *-*-beos* )
2896 USE_BEOS=1
2897 cat >>confdefs.h <<\_ACEOF
2898 #define __BEOS__ 1
2899 _ACEOF
2900
2901 ;;
2902
2903 *)
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2908
2909 DEFAULT_DEFAULT_wxUSE_X11=1
2910 DEFAULT_wxUSE_SHARED=no
2911 esac
2912
2913
2914
2915
2916 wx_arg_cache_file="configarg.cache"
2917 echo "loading argument cache $wx_arg_cache_file"
2918 rm -f ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}.tmp
2920 touch ${wx_arg_cache_file}
2921
2922
2923 DEFAULT_wxUSE_ALL_FEATURES=yes
2924
2925 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2927
2928 DEFAULT_wxUSE_DMALLOC=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_ODBC=no
2934 DEFAULT_wxUSE_OPENGL=no
2935
2936 DEFAULT_wxUSE_ACCESSIBILITY=no
2937 DEFAULT_wxUSE_DATAVIEWCTRL=no
2938 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2939 DEFAULT_wxUSE_MEDIACTRL=no
2940 DEFAULT_wxUSE_TAB_DIALOG=no
2941
2942 DEFAULT_wxUSE_UNICODE_UTF8=auto
2943 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2944
2945 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2946
2947 DEFAULT_wxUSE_GTK2=yes
2948
2949 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2950
2951
2952 for toolkit in `echo $ALL_TOOLKITS`; do
2953 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2954 if test "x$LINE" != "x" ; then
2955 has_toolkit_in_cache=1
2956 eval "DEFAULT_$LINE"
2957 eval "CACHE_$toolkit=1"
2958
2959 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2960 if test "x$LINE" != "x" ; then
2961 eval "DEFAULT_$LINE"
2962 fi
2963 fi
2964 done
2965
2966
2967
2968
2969
2970 enablestring=disable
2971 defaultval=
2972 if test -z "$defaultval"; then
2973 if test x"$enablestring" = xdisable; then
2974 defaultval=yes
2975 else
2976 defaultval=no
2977 fi
2978 fi
2979
2980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2981 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2982 # Check whether --enable-gui was given.
2983 if test "${enable_gui+set}" = set; then
2984 enableval=$enable_gui;
2985 if test "$enableval" = yes; then
2986 wx_cv_use_gui='wxUSE_GUI=yes'
2987 else
2988 wx_cv_use_gui='wxUSE_GUI=no'
2989 fi
2990 cache=yes
2991
2992 else
2993
2994 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2995 if test "x$LINE" != x ; then
2996 eval "DEFAULT_$LINE"
2997 fi
2998
2999 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3000
3001 fi
3002
3003
3004 eval "$wx_cv_use_gui"
3005 if test "x$cache" = xyes; then
3006 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3007 fi
3008
3009 if test x"$enablestring" = xdisable; then
3010 if test $wxUSE_GUI = yes; then
3011 result=no
3012 else
3013 result=yes
3014 fi
3015 else
3016 result=$wxUSE_GUI
3017 fi
3018
3019 { echo "$as_me:$LINENO: result: $result" >&5
3020 echo "${ECHO_T}$result" >&6; }
3021
3022
3023 enablestring=
3024 defaultval=
3025 if test -z "$defaultval"; then
3026 if test x"$enablestring" = xdisable; then
3027 defaultval=yes
3028 else
3029 defaultval=no
3030 fi
3031 fi
3032
3033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3034 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3035 # Check whether --enable-monolithic was given.
3036 if test "${enable_monolithic+set}" = set; then
3037 enableval=$enable_monolithic;
3038 if test "$enableval" = yes; then
3039 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3040 else
3041 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3042 fi
3043 cache=yes
3044
3045 else
3046
3047 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x ; then
3049 eval "DEFAULT_$LINE"
3050 fi
3051
3052 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3053
3054 fi
3055
3056
3057 eval "$wx_cv_use_monolithic"
3058 if test "x$cache" = xyes; then
3059 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3060 fi
3061
3062 if test x"$enablestring" = xdisable; then
3063 if test $wxUSE_MONOLITHIC = yes; then
3064 result=no
3065 else
3066 result=yes
3067 fi
3068 else
3069 result=$wxUSE_MONOLITHIC
3070 fi
3071
3072 { echo "$as_me:$LINENO: result: $result" >&5
3073 echo "${ECHO_T}$result" >&6; }
3074
3075
3076 enablestring=
3077 defaultval=
3078 if test -z "$defaultval"; then
3079 if test x"$enablestring" = xdisable; then
3080 defaultval=yes
3081 else
3082 defaultval=no
3083 fi
3084 fi
3085
3086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3087 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3088 # Check whether --enable-plugins was given.
3089 if test "${enable_plugins+set}" = set; then
3090 enableval=$enable_plugins;
3091 if test "$enableval" = yes; then
3092 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3093 else
3094 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3095 fi
3096 cache=yes
3097
3098 else
3099
3100 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3101 if test "x$LINE" != x ; then
3102 eval "DEFAULT_$LINE"
3103 fi
3104
3105 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3106
3107 fi
3108
3109
3110 eval "$wx_cv_use_plugins"
3111 if test "x$cache" = xyes; then
3112 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3113 fi
3114
3115 if test x"$enablestring" = xdisable; then
3116 if test $wxUSE_PLUGINS = yes; then
3117 result=no
3118 else
3119 result=yes
3120 fi
3121 else
3122 result=$wxUSE_PLUGINS
3123 fi
3124
3125 { echo "$as_me:$LINENO: result: $result" >&5
3126 echo "${ECHO_T}$result" >&6; }
3127
3128
3129 withstring=without
3130 defaultval=$wxUSE_ALL_FEATURES
3131 if test -z "$defaultval"; then
3132 if test x"$withstring" = xwithout; then
3133 defaultval=yes
3134 else
3135 defaultval=no
3136 fi
3137 fi
3138 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3139 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3140
3141 # Check whether --with-subdirs was given.
3142 if test "${with_subdirs+set}" = set; then
3143 withval=$with_subdirs;
3144 if test "$withval" = yes; then
3145 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3146 else
3147 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3148 fi
3149 cache=yes
3150
3151 else
3152
3153 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x ; then
3155 eval "DEFAULT_$LINE"
3156 fi
3157
3158 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3159
3160 fi
3161
3162
3163 eval "$wx_cv_use_subdirs"
3164 if test "x$cache" != xyes; then
3165 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3166 fi
3167
3168 if test x"$withstring" = xwithout; then
3169 if test $wxWITH_SUBDIRS = yes; then
3170 result=no
3171 else
3172 result=yes
3173 fi
3174 else
3175 result=$wxWITH_SUBDIRS
3176 fi
3177
3178 { echo "$as_me:$LINENO: result: $result" >&5
3179 echo "${ECHO_T}$result" >&6; }
3180
3181
3182 # Check whether --with-flavour was given.
3183 if test "${with_flavour+set}" = set; then
3184 withval=$with_flavour; WX_FLAVOUR="$withval"
3185 fi
3186
3187
3188 enablestring=
3189 defaultval=
3190 if test -z "$defaultval"; then
3191 if test x"$enablestring" = xdisable; then
3192 defaultval=yes
3193 else
3194 defaultval=no
3195 fi
3196 fi
3197
3198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3199 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3200 # Check whether --enable-official_build was given.
3201 if test "${enable_official_build+set}" = set; then
3202 enableval=$enable_official_build;
3203 if test "$enableval" = yes; then
3204 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3205 else
3206 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3207 fi
3208 cache=yes
3209
3210 else
3211
3212 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x ; then
3214 eval "DEFAULT_$LINE"
3215 fi
3216
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3218
3219 fi
3220
3221
3222 eval "$wx_cv_use_official_build"
3223 if test "x$cache" = xyes; then
3224 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3225 fi
3226
3227 if test x"$enablestring" = xdisable; then
3228 if test $wxUSE_OFFICIAL_BUILD = yes; then
3229 result=no
3230 else
3231 result=yes
3232 fi
3233 else
3234 result=$wxUSE_OFFICIAL_BUILD
3235 fi
3236
3237 { echo "$as_me:$LINENO: result: $result" >&5
3238 echo "${ECHO_T}$result" >&6; }
3239
3240 # Check whether --enable-vendor was given.
3241 if test "${enable_vendor+set}" = set; then
3242 enableval=$enable_vendor; VENDOR="$enableval"
3243 fi
3244
3245 if test "x$VENDOR" = "x"; then
3246 VENDOR="custom"
3247 fi
3248
3249
3250 enablestring=disable
3251 defaultval=
3252 if test -z "$defaultval"; then
3253 if test x"$enablestring" = xdisable; then
3254 defaultval=yes
3255 else
3256 defaultval=no
3257 fi
3258 fi
3259
3260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3261 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3262 # Check whether --enable-all-features was given.
3263 if test "${enable_all_features+set}" = set; then
3264 enableval=$enable_all_features;
3265 if test "$enableval" = yes; then
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3267 else
3268 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3269 fi
3270 cache=yes
3271
3272 else
3273
3274 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3277 fi
3278
3279 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3280
3281 fi
3282
3283
3284 eval "$wx_cv_use_all_features"
3285 if test "x$cache" = xyes; then
3286 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3287 fi
3288
3289 if test x"$enablestring" = xdisable; then
3290 if test $wxUSE_ALL_FEATURES = yes; then
3291 result=no
3292 else
3293 result=yes
3294 fi
3295 else
3296 result=$wxUSE_ALL_FEATURES
3297 fi
3298
3299 { echo "$as_me:$LINENO: result: $result" >&5
3300 echo "${ECHO_T}$result" >&6; }
3301
3302
3303
3304 if test "$wxUSE_GUI" = "yes"; then
3305
3306
3307 enablestring=
3308 defaultval=
3309 if test -z "$defaultval"; then
3310 if test x"$enablestring" = xdisable; then
3311 defaultval=yes
3312 else
3313 defaultval=no
3314 fi
3315 fi
3316
3317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3318 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3319 # Check whether --enable-universal was given.
3320 if test "${enable_universal+set}" = set; then
3321 enableval=$enable_universal;
3322 if test "$enableval" = yes; then
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3324 else
3325 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3326 fi
3327 cache=yes
3328
3329 else
3330
3331 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3332 if test "x$LINE" != x ; then
3333 eval "DEFAULT_$LINE"
3334 fi
3335
3336 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3337
3338 fi
3339
3340
3341 eval "$wx_cv_use_universal"
3342 if test "x$cache" = xyes; then
3343 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3344 fi
3345
3346 if test x"$enablestring" = xdisable; then
3347 if test $wxUSE_UNIVERSAL = yes; then
3348 result=no
3349 else
3350 result=yes
3351 fi
3352 else
3353 result=$wxUSE_UNIVERSAL
3354 fi
3355
3356 { echo "$as_me:$LINENO: result: $result" >&5
3357 echo "${ECHO_T}$result" >&6; }
3358
3359 if test "$wxUSE_UNIVERSAL" = "yes"; then
3360
3361 # Check whether --with-themes was given.
3362 if test "${with_themes+set}" = set; then
3363 withval=$with_themes; wxUNIV_THEMES="$withval"
3364 fi
3365
3366 fi
3367
3368
3369 # Check whether --with-gtk was given.
3370 if test "${with_gtk+set}" = set; then
3371 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3372 fi
3373
3374
3375 # Check whether --with-motif was given.
3376 if test "${with_motif+set}" = set; then
3377 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3378 fi
3379
3380
3381 # Check whether --with-mac was given.
3382 if test "${with_mac+set}" = set; then
3383 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3384 fi
3385
3386
3387 # Check whether --with-cocoa was given.
3388 if test "${with_cocoa+set}" = set; then
3389 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3390 fi
3391
3392
3393 # Check whether --with-wine was given.
3394 if test "${with_wine+set}" = set; then
3395 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3396 fi
3397
3398
3399 # Check whether --with-msw was given.
3400 if test "${with_msw+set}" = set; then
3401 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3402 fi
3403
3404
3405 # Check whether --with-pm was given.
3406 if test "${with_pm+set}" = set; then
3407 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3408 fi
3409
3410
3411 # Check whether --with-mgl was given.
3412 if test "${with_mgl+set}" = set; then
3413 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3414 fi
3415
3416
3417 # Check whether --with-directfb was given.
3418 if test "${with_directfb+set}" = set; then
3419 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3420 fi
3421
3422
3423 # Check whether --with-microwin was given.
3424 if test "${with_microwin+set}" = set; then
3425 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3426 fi
3427
3428
3429 # Check whether --with-x11 was given.
3430 if test "${with_x11+set}" = set; then
3431 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3432 fi
3433
3434
3435 enablestring=
3436 defaultval=
3437 if test -z "$defaultval"; then
3438 if test x"$enablestring" = xdisable; then
3439 defaultval=yes
3440 else
3441 defaultval=no
3442 fi
3443 fi
3444
3445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3447 # Check whether --enable-nanox was given.
3448 if test "${enable_nanox+set}" = set; then
3449 enableval=$enable_nanox;
3450 if test "$enableval" = yes; then
3451 wx_cv_use_nanox='wxUSE_NANOX=yes'
3452 else
3453 wx_cv_use_nanox='wxUSE_NANOX=no'
3454 fi
3455 cache=yes
3456
3457 else
3458
3459 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3462 fi
3463
3464 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3465
3466 fi
3467
3468
3469 eval "$wx_cv_use_nanox"
3470 if test "x$cache" = xyes; then
3471 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3472 fi
3473
3474 if test x"$enablestring" = xdisable; then
3475 if test $wxUSE_NANOX = yes; then
3476 result=no
3477 else
3478 result=yes
3479 fi
3480 else
3481 result=$wxUSE_NANOX
3482 fi
3483
3484 { echo "$as_me:$LINENO: result: $result" >&5
3485 echo "${ECHO_T}$result" >&6; }
3486
3487
3488 # Check whether --enable-gtk2 was given.
3489 if test "${enable_gtk2+set}" = set; then
3490 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3491 fi
3492
3493
3494 enablestring=
3495 defaultval=
3496 if test -z "$defaultval"; then
3497 if test x"$enablestring" = xdisable; then
3498 defaultval=yes
3499 else
3500 defaultval=no
3501 fi
3502 fi
3503
3504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3505 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3506 # Check whether --enable-gpe was given.
3507 if test "${enable_gpe+set}" = set; then
3508 enableval=$enable_gpe;
3509 if test "$enableval" = yes; then
3510 wx_cv_use_gpe='wxUSE_GPE=yes'
3511 else
3512 wx_cv_use_gpe='wxUSE_GPE=no'
3513 fi
3514 cache=yes
3515
3516 else
3517
3518 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3521 fi
3522
3523 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3524
3525 fi
3526
3527
3528 eval "$wx_cv_use_gpe"
3529 if test "x$cache" = xyes; then
3530 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3531 fi
3532
3533 if test x"$enablestring" = xdisable; then
3534 if test $wxUSE_GPE = yes; then
3535 result=no
3536 else
3537 result=yes
3538 fi
3539 else
3540 result=$wxUSE_GPE
3541 fi
3542
3543 { echo "$as_me:$LINENO: result: $result" >&5
3544 echo "${ECHO_T}$result" >&6; }
3545
3546
3547
3548
3549 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3550 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3551
3552 # Check whether --with-libpng was given.
3553 if test "${with_libpng+set}" = set; then
3554 withval=$with_libpng;
3555 if test "$withval" = yes; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3557 elif test "$withval" = no; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3559 elif test "$withval" = sys; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3561 elif test "$withval" = builtin; then
3562 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3563 else
3564 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3565 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3566 { (exit 1); exit 1; }; }
3567 fi
3568 cache=yes
3569
3570 else
3571
3572 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3575 fi
3576
3577 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3578
3579 fi
3580
3581
3582 eval "$wx_cv_use_libpng"
3583 if test "x$cache" = xyes; then
3584 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3585 fi
3586
3587 if test "$wxUSE_LIBPNG" = yes; then
3588 { echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6; }
3590 elif test "$wxUSE_LIBPNG" = no; then
3591 { echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6; }
3593 elif test "$wxUSE_LIBPNG" = sys; then
3594 { echo "$as_me:$LINENO: result: system version" >&5
3595 echo "${ECHO_T}system version" >&6; }
3596 elif test "$wxUSE_LIBPNG" = builtin; then
3597 { echo "$as_me:$LINENO: result: builtin version" >&5
3598 echo "${ECHO_T}builtin version" >&6; }
3599 else
3600 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3601 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3602 { (exit 1); exit 1; }; }
3603 fi
3604
3605
3606 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3607 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3608
3609 # Check whether --with-libjpeg was given.
3610 if test "${with_libjpeg+set}" = set; then
3611 withval=$with_libjpeg;
3612 if test "$withval" = yes; then
3613 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3614 elif test "$withval" = no; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3616 elif test "$withval" = sys; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3618 elif test "$withval" = builtin; then
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3620 else
3621 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3622 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3623 { (exit 1); exit 1; }; }
3624 fi
3625 cache=yes
3626
3627 else
3628
3629 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3630 if test "x$LINE" != x ; then
3631 eval "DEFAULT_$LINE"
3632 fi
3633
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3635
3636 fi
3637
3638
3639 eval "$wx_cv_use_libjpeg"
3640 if test "x$cache" = xyes; then
3641 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3642 fi
3643
3644 if test "$wxUSE_LIBJPEG" = yes; then
3645 { echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6; }
3647 elif test "$wxUSE_LIBJPEG" = no; then
3648 { echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6; }
3650 elif test "$wxUSE_LIBJPEG" = sys; then
3651 { echo "$as_me:$LINENO: result: system version" >&5
3652 echo "${ECHO_T}system version" >&6; }
3653 elif test "$wxUSE_LIBJPEG" = builtin; then
3654 { echo "$as_me:$LINENO: result: builtin version" >&5
3655 echo "${ECHO_T}builtin version" >&6; }
3656 else
3657 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3658 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3659 { (exit 1); exit 1; }; }
3660 fi
3661
3662
3663 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3664 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3665
3666 # Check whether --with-libtiff was given.
3667 if test "${with_libtiff+set}" = set; then
3668 withval=$with_libtiff;
3669 if test "$withval" = yes; then
3670 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3671 elif test "$withval" = no; then
3672 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3673 elif test "$withval" = sys; then
3674 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3675 elif test "$withval" = builtin; then
3676 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3677 else
3678 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3679 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3680 { (exit 1); exit 1; }; }
3681 fi
3682 cache=yes
3683
3684 else
3685
3686 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x ; then
3688 eval "DEFAULT_$LINE"
3689 fi
3690
3691 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3692
3693 fi
3694
3695
3696 eval "$wx_cv_use_libtiff"
3697 if test "x$cache" = xyes; then
3698 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3699 fi
3700
3701 if test "$wxUSE_LIBTIFF" = yes; then
3702 { echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6; }
3704 elif test "$wxUSE_LIBTIFF" = no; then
3705 { echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6; }
3707 elif test "$wxUSE_LIBTIFF" = sys; then
3708 { echo "$as_me:$LINENO: result: system version" >&5
3709 echo "${ECHO_T}system version" >&6; }
3710 elif test "$wxUSE_LIBTIFF" = builtin; then
3711 { echo "$as_me:$LINENO: result: builtin version" >&5
3712 echo "${ECHO_T}builtin version" >&6; }
3713 else
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3717 fi
3718
3719
3720 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3721 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3722
3723 # Check whether --with-libxpm was given.
3724 if test "${with_libxpm+set}" = set; then
3725 withval=$with_libxpm;
3726 if test "$withval" = yes; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3728 elif test "$withval" = no; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3730 elif test "$withval" = sys; then
3731 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3732 elif test "$withval" = builtin; then
3733 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3734 else
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3738 fi
3739 cache=yes
3740
3741 else
3742
3743 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x ; then
3745 eval "DEFAULT_$LINE"
3746 fi
3747
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3749
3750 fi
3751
3752
3753 eval "$wx_cv_use_libxpm"
3754 if test "x$cache" = xyes; then
3755 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3756 fi
3757
3758 if test "$wxUSE_LIBXPM" = yes; then
3759 { echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6; }
3761 elif test "$wxUSE_LIBXPM" = no; then
3762 { echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6; }
3764 elif test "$wxUSE_LIBXPM" = sys; then
3765 { echo "$as_me:$LINENO: result: system version" >&5
3766 echo "${ECHO_T}system version" >&6; }
3767 elif test "$wxUSE_LIBXPM" = builtin; then
3768 { echo "$as_me:$LINENO: result: builtin version" >&5
3769 echo "${ECHO_T}builtin version" >&6; }
3770 else
3771 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3772 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3773 { (exit 1); exit 1; }; }
3774 fi
3775
3776
3777 withstring=
3778 defaultval=$wxUSE_ALL_FEATURES
3779 if test -z "$defaultval"; then
3780 if test x"$withstring" = xwithout; then
3781 defaultval=yes
3782 else
3783 defaultval=no
3784 fi
3785 fi
3786 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3787 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3788
3789 # Check whether --with-libmspack was given.
3790 if test "${with_libmspack+set}" = set; then
3791 withval=$with_libmspack;
3792 if test "$withval" = yes; then
3793 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3794 else
3795 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3796 fi
3797 cache=yes
3798
3799 else
3800
3801 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x ; then
3803 eval "DEFAULT_$LINE"
3804 fi
3805
3806 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3807
3808 fi
3809
3810
3811 eval "$wx_cv_use_libmspack"
3812 if test "x$cache" != xyes; then
3813 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3814 fi
3815
3816 if test x"$withstring" = xwithout; then
3817 if test $wxUSE_LIBMSPACK = yes; then
3818 result=no
3819 else
3820 result=yes
3821 fi
3822 else
3823 result=$wxUSE_LIBMSPACK
3824 fi
3825
3826 { echo "$as_me:$LINENO: result: $result" >&5
3827 echo "${ECHO_T}$result" >&6; }
3828
3829
3830 withstring=without
3831 defaultval=$wxUSE_ALL_FEATURES
3832 if test -z "$defaultval"; then
3833 if test x"$withstring" = xwithout; then
3834 defaultval=yes
3835 else
3836 defaultval=no
3837 fi
3838 fi
3839 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3840 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3841
3842 # Check whether --with-gnomeprint was given.
3843 if test "${with_gnomeprint+set}" = set; then
3844 withval=$with_gnomeprint;
3845 if test "$withval" = yes; then
3846 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3847 else
3848 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3849 fi
3850 cache=yes
3851
3852 else
3853
3854 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x ; then
3856 eval "DEFAULT_$LINE"
3857 fi
3858
3859 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3860
3861 fi
3862
3863
3864 eval "$wx_cv_use_gnomeprint"
3865 if test "x$cache" != xyes; then
3866 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3867 fi
3868
3869 if test x"$withstring" = xwithout; then
3870 if test $wxUSE_LIBGNOMEPRINT = yes; then
3871 result=no
3872 else
3873 result=yes
3874 fi
3875 else
3876 result=$wxUSE_LIBGNOMEPRINT
3877 fi
3878
3879 { echo "$as_me:$LINENO: result: $result" >&5
3880 echo "${ECHO_T}$result" >&6; }
3881
3882
3883 withstring=
3884 defaultval=$wxUSE_ALL_FEATURES
3885 if test -z "$defaultval"; then
3886 if test x"$withstring" = xwithout; then
3887 defaultval=yes
3888 else
3889 defaultval=no
3890 fi
3891 fi
3892 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3893 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3894
3895 # Check whether --with-gnomevfs was given.
3896 if test "${with_gnomevfs+set}" = set; then
3897 withval=$with_gnomevfs;
3898 if test "$withval" = yes; then
3899 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3900 else
3901 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3902 fi
3903 cache=yes
3904
3905 else
3906
3907 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3908 if test "x$LINE" != x ; then
3909 eval "DEFAULT_$LINE"
3910 fi
3911
3912 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3913
3914 fi
3915
3916
3917 eval "$wx_cv_use_gnomevfs"
3918 if test "x$cache" != xyes; then
3919 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3920 fi
3921
3922 if test x"$withstring" = xwithout; then
3923 if test $wxUSE_LIBGNOMEVFS = yes; then
3924 result=no
3925 else
3926 result=yes
3927 fi
3928 else
3929 result=$wxUSE_LIBGNOMEVFS
3930 fi
3931
3932 { echo "$as_me:$LINENO: result: $result" >&5
3933 echo "${ECHO_T}$result" >&6; }
3934
3935
3936 withstring=
3937 defaultval=$wxUSE_ALL_FEATURES
3938 if test -z "$defaultval"; then
3939 if test x"$withstring" = xwithout; then
3940 defaultval=yes
3941 else
3942 defaultval=no
3943 fi
3944 fi
3945 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3946 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3947
3948 # Check whether --with-hildon was given.
3949 if test "${with_hildon+set}" = set; then
3950 withval=$with_hildon;
3951 if test "$withval" = yes; then
3952 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3953 else
3954 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3955 fi
3956 cache=yes
3957
3958 else
3959
3960 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3961 if test "x$LINE" != x ; then
3962 eval "DEFAULT_$LINE"
3963 fi
3964
3965 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3966
3967 fi
3968
3969
3970 eval "$wx_cv_use_hildon"
3971 if test "x$cache" != xyes; then
3972 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3973 fi
3974
3975 if test x"$withstring" = xwithout; then
3976 if test $wxUSE_LIBHILDON = yes; then
3977 result=no
3978 else
3979 result=yes
3980 fi
3981 else
3982 result=$wxUSE_LIBHILDON
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}-opengl" >&5
3999 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4000
4001 # Check whether --with-opengl was given.
4002 if test "${with_opengl+set}" = set; then
4003 withval=$with_opengl;
4004 if test "$withval" = yes; then
4005 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4006 else
4007 wx_cv_use_opengl='wxUSE_OPENGL=no'
4008 fi
4009 cache=yes
4010
4011 else
4012
4013 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4016 fi
4017
4018 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4019
4020 fi
4021
4022
4023 eval "$wx_cv_use_opengl"
4024 if test "x$cache" != xyes; then
4025 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4026 fi
4027
4028 if test x"$withstring" = xwithout; then
4029 if test $wxUSE_OPENGL = yes; then
4030 result=no
4031 else
4032 result=yes
4033 fi
4034 else
4035 result=$wxUSE_OPENGL
4036 fi
4037
4038 { echo "$as_me:$LINENO: result: $result" >&5
4039 echo "${ECHO_T}$result" >&6; }
4040
4041
4042 fi
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}-dmalloc" >&5
4055 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4056
4057 # Check whether --with-dmalloc was given.
4058 if test "${with_dmalloc+set}" = set; then
4059 withval=$with_dmalloc;
4060 if test "$withval" = yes; then
4061 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4062 else
4063 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4064 fi
4065 cache=yes
4066
4067 else
4068
4069 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4072 fi
4073
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4075
4076 fi
4077
4078
4079 eval "$wx_cv_use_dmalloc"
4080 if test "x$cache" != xyes; then
4081 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test x"$withstring" = xwithout; then
4085 if test $wxUSE_DMALLOC = yes; then
4086 result=no
4087 else
4088 result=yes
4089 fi
4090 else
4091 result=$wxUSE_DMALLOC
4092 fi
4093
4094 { echo "$as_me:$LINENO: result: $result" >&5
4095 echo "${ECHO_T}$result" >&6; }
4096
4097
4098 withstring=
4099 defaultval=$wxUSE_ALL_FEATURES
4100 if test -z "$defaultval"; then
4101 if test x"$withstring" = xwithout; then
4102 defaultval=yes
4103 else
4104 defaultval=no
4105 fi
4106 fi
4107 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4108 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4109
4110 # Check whether --with-sdl was given.
4111 if test "${with_sdl+set}" = set; then
4112 withval=$with_sdl;
4113 if test "$withval" = yes; then
4114 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4115 else
4116 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4117 fi
4118 cache=yes
4119
4120 else
4121
4122 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x ; then
4124 eval "DEFAULT_$LINE"
4125 fi
4126
4127 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4128
4129 fi
4130
4131
4132 eval "$wx_cv_use_sdl"
4133 if test "x$cache" != xyes; then
4134 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4135 fi
4136
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_LIBSDL = yes; then
4139 result=no
4140 else
4141 result=yes
4142 fi
4143 else
4144 result=$wxUSE_LIBSDL
4145 fi
4146
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4149
4150
4151 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4152 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4153
4154 # Check whether --with-regex was given.
4155 if test "${with_regex+set}" = set; then
4156 withval=$with_regex;
4157 if test "$withval" = yes; then
4158 wx_cv_use_regex='wxUSE_REGEX=yes'
4159 elif test "$withval" = no; then
4160 wx_cv_use_regex='wxUSE_REGEX=no'
4161 elif test "$withval" = sys; then
4162 wx_cv_use_regex='wxUSE_REGEX=sys'
4163 elif test "$withval" = builtin; then
4164 wx_cv_use_regex='wxUSE_REGEX=builtin'
4165 else
4166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4168 { (exit 1); exit 1; }; }
4169 fi
4170 cache=yes
4171
4172 else
4173
4174 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4175 if test "x$LINE" != x ; then
4176 eval "DEFAULT_$LINE"
4177 fi
4178
4179 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4180
4181 fi
4182
4183
4184 eval "$wx_cv_use_regex"
4185 if test "x$cache" = xyes; then
4186 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4187 fi
4188
4189 if test "$wxUSE_REGEX" = yes; then
4190 { echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6; }
4192 elif test "$wxUSE_REGEX" = no; then
4193 { echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6; }
4195 elif test "$wxUSE_REGEX" = sys; then
4196 { echo "$as_me:$LINENO: result: system version" >&5
4197 echo "${ECHO_T}system version" >&6; }
4198 elif test "$wxUSE_REGEX" = builtin; then
4199 { echo "$as_me:$LINENO: result: builtin version" >&5
4200 echo "${ECHO_T}builtin version" >&6; }
4201 else
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4205 fi
4206
4207
4208 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4209 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4210
4211 # Check whether --with-zlib was given.
4212 if test "${with_zlib+set}" = set; then
4213 withval=$with_zlib;
4214 if test "$withval" = yes; then
4215 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4216 elif test "$withval" = no; then
4217 wx_cv_use_zlib='wxUSE_ZLIB=no'
4218 elif test "$withval" = sys; then
4219 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4220 elif test "$withval" = builtin; then
4221 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4222 else
4223 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4224 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4225 { (exit 1); exit 1; }; }
4226 fi
4227 cache=yes
4228
4229 else
4230
4231 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x ; then
4233 eval "DEFAULT_$LINE"
4234 fi
4235
4236 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4237
4238 fi
4239
4240
4241 eval "$wx_cv_use_zlib"
4242 if test "x$cache" = xyes; then
4243 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4244 fi
4245
4246 if test "$wxUSE_ZLIB" = yes; then
4247 { echo "$as_me:$LINENO: result: yes" >&5
4248 echo "${ECHO_T}yes" >&6; }
4249 elif test "$wxUSE_ZLIB" = no; then
4250 { echo "$as_me:$LINENO: result: no" >&5
4251 echo "${ECHO_T}no" >&6; }
4252 elif test "$wxUSE_ZLIB" = sys; then
4253 { echo "$as_me:$LINENO: result: system version" >&5
4254 echo "${ECHO_T}system version" >&6; }
4255 elif test "$wxUSE_ZLIB" = builtin; then
4256 { echo "$as_me:$LINENO: result: builtin version" >&5
4257 echo "${ECHO_T}builtin version" >&6; }
4258 else
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4262 fi
4263
4264
4265 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4266 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4267
4268 # Check whether --with-odbc was given.
4269 if test "${with_odbc+set}" = set; then
4270 withval=$with_odbc;
4271 if test "$withval" = yes; then
4272 wx_cv_use_odbc='wxUSE_ODBC=yes'
4273 elif test "$withval" = no; then
4274 wx_cv_use_odbc='wxUSE_ODBC=no'
4275 elif test "$withval" = sys; then
4276 wx_cv_use_odbc='wxUSE_ODBC=sys'
4277 elif test "$withval" = builtin; then
4278 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4279 else
4280 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4281 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4282 { (exit 1); exit 1; }; }
4283 fi
4284 cache=yes
4285
4286 else
4287
4288 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x ; then
4290 eval "DEFAULT_$LINE"
4291 fi
4292
4293 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4294
4295 fi
4296
4297
4298 eval "$wx_cv_use_odbc"
4299 if test "x$cache" = xyes; then
4300 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4301 fi
4302
4303 if test "$wxUSE_ODBC" = yes; then
4304 { echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6; }
4306 elif test "$wxUSE_ODBC" = no; then
4307 { echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6; }
4309 elif test "$wxUSE_ODBC" = sys; then
4310 { echo "$as_me:$LINENO: result: system version" >&5
4311 echo "${ECHO_T}system version" >&6; }
4312 elif test "$wxUSE_ODBC" = builtin; then
4313 { echo "$as_me:$LINENO: result: builtin version" >&5
4314 echo "${ECHO_T}builtin version" >&6; }
4315 else
4316 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4317 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4318 { (exit 1); exit 1; }; }
4319 fi
4320
4321
4322 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4323 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4324
4325 # Check whether --with-expat was given.
4326 if test "${with_expat+set}" = set; then
4327 withval=$with_expat;
4328 if test "$withval" = yes; then
4329 wx_cv_use_expat='wxUSE_EXPAT=yes'
4330 elif test "$withval" = no; then
4331 wx_cv_use_expat='wxUSE_EXPAT=no'
4332 elif test "$withval" = sys; then
4333 wx_cv_use_expat='wxUSE_EXPAT=sys'
4334 elif test "$withval" = builtin; then
4335 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4336 else
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4340 fi
4341 cache=yes
4342
4343 else
4344
4345 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4348 fi
4349
4350 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4351
4352 fi
4353
4354
4355 eval "$wx_cv_use_expat"
4356 if test "x$cache" = xyes; then
4357 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4358 fi
4359
4360 if test "$wxUSE_EXPAT" = yes; then
4361 { echo "$as_me:$LINENO: result: yes" >&5
4362 echo "${ECHO_T}yes" >&6; }
4363 elif test "$wxUSE_EXPAT" = no; then
4364 { echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6; }
4366 elif test "$wxUSE_EXPAT" = sys; then
4367 { echo "$as_me:$LINENO: result: system version" >&5
4368 echo "${ECHO_T}system version" >&6; }
4369 elif test "$wxUSE_EXPAT" = builtin; then
4370 { echo "$as_me:$LINENO: result: builtin version" >&5
4371 echo "${ECHO_T}builtin version" >&6; }
4372 else
4373 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4374 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4375 { (exit 1); exit 1; }; }
4376 fi
4377
4378
4379
4380
4381 enablestring=disable
4382 defaultval=
4383 if test -z "$defaultval"; then
4384 if test x"$enablestring" = xdisable; then
4385 defaultval=yes
4386 else
4387 defaultval=no
4388 fi
4389 fi
4390
4391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4392 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4393 # Check whether --enable-shared was given.
4394 if test "${enable_shared+set}" = set; then
4395 enableval=$enable_shared;
4396 if test "$enableval" = yes; then
4397 wx_cv_use_shared='wxUSE_SHARED=yes'
4398 else
4399 wx_cv_use_shared='wxUSE_SHARED=no'
4400 fi
4401 cache=yes
4402
4403 else
4404
4405 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x ; then
4407 eval "DEFAULT_$LINE"
4408 fi
4409
4410 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4411
4412 fi
4413
4414
4415 eval "$wx_cv_use_shared"
4416 if test "x$cache" = xyes; then
4417 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4418 fi
4419
4420 if test x"$enablestring" = xdisable; then
4421 if test $wxUSE_SHARED = yes; then
4422 result=no
4423 else
4424 result=yes
4425 fi
4426 else
4427 result=$wxUSE_SHARED
4428 fi
4429
4430 { echo "$as_me:$LINENO: result: $result" >&5
4431 echo "${ECHO_T}$result" >&6; }
4432
4433
4434 enablestring=disable
4435 defaultval=
4436 if test -z "$defaultval"; then
4437 if test x"$enablestring" = xdisable; then
4438 defaultval=yes
4439 else
4440 defaultval=no
4441 fi
4442 fi
4443
4444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4446 # Check whether --enable-optimise was given.
4447 if test "${enable_optimise+set}" = set; then
4448 enableval=$enable_optimise;
4449 if test "$enableval" = yes; then
4450 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4451 else
4452 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4453 fi
4454 cache=yes
4455
4456 else
4457
4458 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x ; then
4460 eval "DEFAULT_$LINE"
4461 fi
4462
4463 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4464
4465 fi
4466
4467
4468 eval "$wx_cv_use_optimise"
4469 if test "x$cache" = xyes; then
4470 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4471 fi
4472
4473 if test x"$enablestring" = xdisable; then
4474 if test $wxUSE_OPTIMISE = yes; then
4475 result=no
4476 else
4477 result=yes
4478 fi
4479 else
4480 result=$wxUSE_OPTIMISE
4481 fi
4482
4483 { echo "$as_me:$LINENO: result: $result" >&5
4484 echo "${ECHO_T}$result" >&6; }
4485
4486
4487 enablestring=
4488 defaultval=
4489 if test -z "$defaultval"; then
4490 if test x"$enablestring" = xdisable; then
4491 defaultval=yes
4492 else
4493 defaultval=no
4494 fi
4495 fi
4496
4497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4498 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4499 # Check whether --enable-debug was given.
4500 if test "${enable_debug+set}" = set; then
4501 enableval=$enable_debug;
4502 if test "$enableval" = yes; then
4503 wx_cv_use_debug='wxUSE_DEBUG=yes'
4504 else
4505 wx_cv_use_debug='wxUSE_DEBUG=no'
4506 fi
4507 cache=yes
4508
4509 else
4510
4511 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 fi
4515
4516 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4517
4518 fi
4519
4520
4521 eval "$wx_cv_use_debug"
4522 if test "x$cache" = xyes; then
4523 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4524 fi
4525
4526 if test x"$enablestring" = xdisable; then
4527 if test $wxUSE_DEBUG = yes; then
4528 result=no
4529 else
4530 result=yes
4531 fi
4532 else
4533 result=$wxUSE_DEBUG
4534 fi
4535
4536 { echo "$as_me:$LINENO: result: $result" >&5
4537 echo "${ECHO_T}$result" >&6; }
4538
4539
4540 enablestring=
4541 defaultval=
4542 if test -z "$defaultval"; then
4543 if test x"$enablestring" = xdisable; then
4544 defaultval=yes
4545 else
4546 defaultval=no
4547 fi
4548 fi
4549
4550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4551 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4552 # Check whether --enable-stl was given.
4553 if test "${enable_stl+set}" = set; then
4554 enableval=$enable_stl;
4555 if test "$enableval" = yes; then
4556 wx_cv_use_stl='wxUSE_STL=yes'
4557 else
4558 wx_cv_use_stl='wxUSE_STL=no'
4559 fi
4560 cache=yes
4561
4562 else
4563
4564 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x ; then
4566 eval "DEFAULT_$LINE"
4567 fi
4568
4569 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4570
4571 fi
4572
4573
4574 eval "$wx_cv_use_stl"
4575 if test "x$cache" = xyes; then
4576 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4577 fi
4578
4579 if test x"$enablestring" = xdisable; then
4580 if test $wxUSE_STL = yes; then
4581 result=no
4582 else
4583 result=yes
4584 fi
4585 else
4586 result=$wxUSE_STL
4587 fi
4588
4589 { echo "$as_me:$LINENO: result: $result" >&5
4590 echo "${ECHO_T}$result" >&6; }
4591
4592
4593 enablestring=
4594 defaultval=
4595 if test -z "$defaultval"; then
4596 if test x"$enablestring" = xdisable; then
4597 defaultval=yes
4598 else
4599 defaultval=no
4600 fi
4601 fi
4602
4603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4605 # Check whether --enable-std_iostreams was given.
4606 if test "${enable_std_iostreams+set}" = set; then
4607 enableval=$enable_std_iostreams;
4608 if test "$enableval" = yes; then
4609 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4610 else
4611 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4612 fi
4613 cache=yes
4614
4615 else
4616
4617 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x ; then
4619 eval "DEFAULT_$LINE"
4620 fi
4621
4622 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4623
4624 fi
4625
4626
4627 eval "$wx_cv_use_std_iostreams"
4628 if test "x$cache" = xyes; then
4629 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4630 fi
4631
4632 if test x"$enablestring" = xdisable; then
4633 if test $wxUSE_STD_IOSTREAM = yes; then
4634 result=no
4635 else
4636 result=yes
4637 fi
4638 else
4639 result=$wxUSE_STD_IOSTREAM
4640 fi
4641
4642 { echo "$as_me:$LINENO: result: $result" >&5
4643 echo "${ECHO_T}$result" >&6; }
4644
4645
4646 enablestring=
4647 defaultval=
4648 if test -z "$defaultval"; then
4649 if test x"$enablestring" = xdisable; then
4650 defaultval=yes
4651 else
4652 defaultval=no
4653 fi
4654 fi
4655
4656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4658 # Check whether --enable-std_string was given.
4659 if test "${enable_std_string+set}" = set; then
4660 enableval=$enable_std_string;
4661 if test "$enableval" = yes; then
4662 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4663 else
4664 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4665 fi
4666 cache=yes
4667
4668 else
4669
4670 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x ; then
4672 eval "DEFAULT_$LINE"
4673 fi
4674
4675 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_std_string"
4681 if test "x$cache" = xyes; then
4682 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4683 fi
4684
4685 if test x"$enablestring" = xdisable; then
4686 if test $wxUSE_STD_STRING = yes; then
4687 result=no
4688 else
4689 result=yes
4690 fi
4691 else
4692 result=$wxUSE_STD_STRING
4693 fi
4694
4695 { echo "$as_me:$LINENO: result: $result" >&5
4696 echo "${ECHO_T}$result" >&6; }
4697
4698
4699 enablestring=disable
4700 defaultval=
4701 if test -z "$defaultval"; then
4702 if test x"$enablestring" = xdisable; then
4703 defaultval=yes
4704 else
4705 defaultval=no
4706 fi
4707 fi
4708
4709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4711 # Check whether --enable-unicode was given.
4712 if test "${enable_unicode+set}" = set; then
4713 enableval=$enable_unicode;
4714 if test "$enableval" = yes; then
4715 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4716 else
4717 wx_cv_use_unicode='wxUSE_UNICODE=no'
4718 fi
4719 cache=yes
4720
4721 else
4722
4723 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4726 fi
4727
4728 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4729
4730 fi
4731
4732
4733 eval "$wx_cv_use_unicode"
4734 if test "x$cache" = xyes; then
4735 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4736 fi
4737
4738 if test x"$enablestring" = xdisable; then
4739 if test $wxUSE_UNICODE = yes; then
4740 result=no
4741 else
4742 result=yes
4743 fi
4744 else
4745 result=$wxUSE_UNICODE
4746 fi
4747
4748 { echo "$as_me:$LINENO: result: $result" >&5
4749 echo "${ECHO_T}$result" >&6; }
4750
4751
4752 enablestring=
4753 defaultval=
4754 if test -z "$defaultval"; then
4755 if test x"$enablestring" = xdisable; then
4756 defaultval=yes
4757 else
4758 defaultval=no
4759 fi
4760 fi
4761
4762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4763 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4764 # Check whether --enable-mslu was given.
4765 if test "${enable_mslu+set}" = set; then
4766 enableval=$enable_mslu;
4767 if test "$enableval" = yes; then
4768 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4769 else
4770 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4771 fi
4772 cache=yes
4773
4774 else
4775
4776 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x ; then
4778 eval "DEFAULT_$LINE"
4779 fi
4780
4781 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4782
4783 fi
4784
4785
4786 eval "$wx_cv_use_mslu"
4787 if test "x$cache" = xyes; then
4788 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4789 fi
4790
4791 if test x"$enablestring" = xdisable; then
4792 if test $wxUSE_UNICODE_MSLU = yes; then
4793 result=no
4794 else
4795 result=yes
4796 fi
4797 else
4798 result=$wxUSE_UNICODE_MSLU
4799 fi
4800
4801 { echo "$as_me:$LINENO: result: $result" >&5
4802 echo "${ECHO_T}$result" >&6; }
4803
4804
4805 enablestring=
4806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4807 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4808 # Check whether --enable-utf8 was given.
4809 if test "${enable_utf8+set}" = set; then
4810 enableval=$enable_utf8;
4811 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4812 cache=yes
4813
4814 else
4815
4816 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 fi
4820
4821 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4822
4823 fi
4824
4825
4826 eval "$wx_cv_use_utf8"
4827 if test "x$cache" = xyes; then
4828 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4829 fi
4830
4831 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4832 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4833
4834
4835 enablestring=
4836 defaultval=
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4839 defaultval=yes
4840 else
4841 defaultval=no
4842 fi
4843 fi
4844
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4847 # Check whether --enable-utf8only was given.
4848 if test "${enable_utf8only+set}" = set; then
4849 enableval=$enable_utf8only;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4852 else
4853 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4854 fi
4855 cache=yes
4856
4857 else
4858
4859 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4860 if test "x$LINE" != x ; then
4861 eval "DEFAULT_$LINE"
4862 fi
4863
4864 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4865
4866 fi
4867
4868
4869 eval "$wx_cv_use_utf8only"
4870 if test "x$cache" = xyes; then
4871 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4872 fi
4873
4874 if test x"$enablestring" = xdisable; then
4875 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4876 result=no
4877 else
4878 result=yes
4879 fi
4880 else
4881 result=$wxUSE_UNICODE_UTF8_LOCALE
4882 fi
4883
4884 { echo "$as_me:$LINENO: result: $result" >&5
4885 echo "${ECHO_T}$result" >&6; }
4886
4887
4888 enablestring=
4889 defaultval=
4890 if test -z "$defaultval"; then
4891 if test x"$enablestring" = xdisable; then
4892 defaultval=yes
4893 else
4894 defaultval=no
4895 fi
4896 fi
4897
4898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4899 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4900 # Check whether --enable-extended_rtti was given.
4901 if test "${enable_extended_rtti+set}" = set; then
4902 enableval=$enable_extended_rtti;
4903 if test "$enableval" = yes; then
4904 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4905 else
4906 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4907 fi
4908 cache=yes
4909
4910 else
4911
4912 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x ; then
4914 eval "DEFAULT_$LINE"
4915 fi
4916
4917 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4918
4919 fi
4920
4921
4922 eval "$wx_cv_use_extended_rtti"
4923 if test "x$cache" = xyes; then
4924 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4925 fi
4926
4927 if test x"$enablestring" = xdisable; then
4928 if test $wxUSE_EXTENDED_RTTI = yes; then
4929 result=no
4930 else
4931 result=yes
4932 fi
4933 else
4934 result=$wxUSE_EXTENDED_RTTI
4935 fi
4936
4937 { echo "$as_me:$LINENO: result: $result" >&5
4938 echo "${ECHO_T}$result" >&6; }
4939
4940 if test "$USE_OS2" = "1"; then
4941 DEFAULT_wxUSE_OMF=no
4942
4943 enablestring=
4944 defaultval=
4945 if test -z "$defaultval"; then
4946 if test x"$enablestring" = xdisable; then
4947 defaultval=yes
4948 else
4949 defaultval=no
4950 fi
4951 fi
4952
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4955 # Check whether --enable-omf was given.
4956 if test "${enable_omf+set}" = set; then
4957 enableval=$enable_omf;
4958 if test "$enableval" = yes; then
4959 wx_cv_use_omf='wxUSE_OMF=yes'
4960 else
4961 wx_cv_use_omf='wxUSE_OMF=no'
4962 fi
4963 cache=yes
4964
4965 else
4966
4967 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x ; then
4969 eval "DEFAULT_$LINE"
4970 fi
4971
4972 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4973
4974 fi
4975
4976
4977 eval "$wx_cv_use_omf"
4978 if test "x$cache" = xyes; then
4979 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4980 fi
4981
4982 if test x"$enablestring" = xdisable; then
4983 if test $wxUSE_OMF = yes; then
4984 result=no
4985 else
4986 result=yes
4987 fi
4988 else
4989 result=$wxUSE_OMF
4990 fi
4991
4992 { echo "$as_me:$LINENO: result: $result" >&5
4993 echo "${ECHO_T}$result" >&6; }
4994
4995 fi
4996
4997 if test "$wxUSE_DEBUG" = "yes"; then
4998 DEFAULT_wxUSE_DEBUG_FLAG=yes
4999 DEFAULT_wxUSE_DEBUG_INFO=yes
5000 BUILD=debug
5001 elif test "$wxUSE_DEBUG" = "no"; then
5002 DEFAULT_wxUSE_DEBUG_FLAG=no
5003 DEFAULT_wxUSE_DEBUG_INFO=no
5004 BUILD=release
5005 fi
5006
5007
5008 enablestring=
5009 defaultval=
5010 if test -z "$defaultval"; then
5011 if test x"$enablestring" = xdisable; then
5012 defaultval=yes
5013 else
5014 defaultval=no
5015 fi
5016 fi
5017
5018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5020 # Check whether --enable-debug_flag was given.
5021 if test "${enable_debug_flag+set}" = set; then
5022 enableval=$enable_debug_flag;
5023 if test "$enableval" = yes; then
5024 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5025 else
5026 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5027 fi
5028 cache=yes
5029
5030 else
5031
5032 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x ; then
5034 eval "DEFAULT_$LINE"
5035 fi
5036
5037 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5038
5039 fi
5040
5041
5042 eval "$wx_cv_use_debug_flag"
5043 if test "x$cache" = xyes; then
5044 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5045 fi
5046
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_DEBUG_FLAG = yes; then
5049 result=no
5050 else
5051 result=yes
5052 fi
5053 else
5054 result=$wxUSE_DEBUG_FLAG
5055 fi
5056
5057 { echo "$as_me:$LINENO: result: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5059
5060
5061 enablestring=
5062 defaultval=
5063 if test -z "$defaultval"; then
5064 if test x"$enablestring" = xdisable; then
5065 defaultval=yes
5066 else
5067 defaultval=no
5068 fi
5069 fi
5070
5071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5073 # Check whether --enable-debug_info was given.
5074 if test "${enable_debug_info+set}" = set; then
5075 enableval=$enable_debug_info;
5076 if test "$enableval" = yes; then
5077 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5078 else
5079 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5080 fi
5081 cache=yes
5082
5083 else
5084
5085 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5088 fi
5089
5090 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5091
5092 fi
5093
5094
5095 eval "$wx_cv_use_debug_info"
5096 if test "x$cache" = xyes; then
5097 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5098 fi
5099
5100 if test x"$enablestring" = xdisable; then
5101 if test $wxUSE_DEBUG_INFO = yes; then
5102 result=no
5103 else
5104 result=yes
5105 fi
5106 else
5107 result=$wxUSE_DEBUG_INFO
5108 fi
5109
5110 { echo "$as_me:$LINENO: result: $result" >&5
5111 echo "${ECHO_T}$result" >&6; }
5112
5113
5114 enablestring=
5115 defaultval=
5116 if test -z "$defaultval"; then
5117 if test x"$enablestring" = xdisable; then
5118 defaultval=yes
5119 else
5120 defaultval=no
5121 fi
5122 fi
5123
5124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5126 # Check whether --enable-debug_gdb was given.
5127 if test "${enable_debug_gdb+set}" = set; then
5128 enableval=$enable_debug_gdb;
5129 if test "$enableval" = yes; then
5130 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5131 else
5132 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5133 fi
5134 cache=yes
5135
5136 else
5137
5138 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x ; then
5140 eval "DEFAULT_$LINE"
5141 fi
5142
5143 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5144
5145 fi
5146
5147
5148 eval "$wx_cv_use_debug_gdb"
5149 if test "x$cache" = xyes; then
5150 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5151 fi
5152
5153 if test x"$enablestring" = xdisable; then
5154 if test $wxUSE_DEBUG_GDB = yes; then
5155 result=no
5156 else
5157 result=yes
5158 fi
5159 else
5160 result=$wxUSE_DEBUG_GDB
5161 fi
5162
5163 { echo "$as_me:$LINENO: result: $result" >&5
5164 echo "${ECHO_T}$result" >&6; }
5165
5166
5167 enablestring=
5168 defaultval=
5169 if test -z "$defaultval"; then
5170 if test x"$enablestring" = xdisable; then
5171 defaultval=yes
5172 else
5173 defaultval=no
5174 fi
5175 fi
5176
5177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5179 # Check whether --enable-debug_cntxt was given.
5180 if test "${enable_debug_cntxt+set}" = set; then
5181 enableval=$enable_debug_cntxt;
5182 if test "$enableval" = yes; then
5183 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5184 else
5185 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5186 fi
5187 cache=yes
5188
5189 else
5190
5191 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5192 if test "x$LINE" != x ; then
5193 eval "DEFAULT_$LINE"
5194 fi
5195
5196 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5197
5198 fi
5199
5200
5201 eval "$wx_cv_use_debug_cntxt"
5202 if test "x$cache" = xyes; then
5203 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5204 fi
5205
5206 if test x"$enablestring" = xdisable; then
5207 if test $wxUSE_DEBUG_CONTEXT = yes; then
5208 result=no
5209 else
5210 result=yes
5211 fi
5212 else
5213 result=$wxUSE_DEBUG_CONTEXT
5214 fi
5215
5216 { echo "$as_me:$LINENO: result: $result" >&5
5217 echo "${ECHO_T}$result" >&6; }
5218
5219
5220 enablestring=
5221 defaultval=
5222 if test -z "$defaultval"; then
5223 if test x"$enablestring" = xdisable; then
5224 defaultval=yes
5225 else
5226 defaultval=no
5227 fi
5228 fi
5229
5230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5232 # Check whether --enable-mem_tracing was given.
5233 if test "${enable_mem_tracing+set}" = set; then
5234 enableval=$enable_mem_tracing;
5235 if test "$enableval" = yes; then
5236 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5237 else
5238 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5239 fi
5240 cache=yes
5241
5242 else
5243
5244 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5247 fi
5248
5249 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5250
5251 fi
5252
5253
5254 eval "$wx_cv_use_mem_tracing"
5255 if test "x$cache" = xyes; then
5256 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5257 fi
5258
5259 if test x"$enablestring" = xdisable; then
5260 if test $wxUSE_MEM_TRACING = yes; then
5261 result=no
5262 else
5263 result=yes
5264 fi
5265 else
5266 result=$wxUSE_MEM_TRACING
5267 fi
5268
5269 { echo "$as_me:$LINENO: result: $result" >&5
5270 echo "${ECHO_T}$result" >&6; }
5271
5272
5273 enablestring=
5274 defaultval=
5275 if test -z "$defaultval"; then
5276 if test x"$enablestring" = xdisable; then
5277 defaultval=yes
5278 else
5279 defaultval=no
5280 fi
5281 fi
5282
5283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5284 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5285 # Check whether --enable-profile was given.
5286 if test "${enable_profile+set}" = set; then
5287 enableval=$enable_profile;
5288 if test "$enableval" = yes; then
5289 wx_cv_use_profile='wxUSE_PROFILE=yes'
5290 else
5291 wx_cv_use_profile='wxUSE_PROFILE=no'
5292 fi
5293 cache=yes
5294
5295 else
5296
5297 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 fi
5301
5302 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5303
5304 fi
5305
5306
5307 eval "$wx_cv_use_profile"
5308 if test "x$cache" = xyes; then
5309 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5310 fi
5311
5312 if test x"$enablestring" = xdisable; then
5313 if test $wxUSE_PROFILE = yes; then
5314 result=no
5315 else
5316 result=yes
5317 fi
5318 else
5319 result=$wxUSE_PROFILE
5320 fi
5321
5322 { echo "$as_me:$LINENO: result: $result" >&5
5323 echo "${ECHO_T}$result" >&6; }
5324
5325
5326 enablestring=
5327 defaultval=
5328 if test -z "$defaultval"; then
5329 if test x"$enablestring" = xdisable; then
5330 defaultval=yes
5331 else
5332 defaultval=no
5333 fi
5334 fi
5335
5336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5337 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5338 # Check whether --enable-no_rtti was given.
5339 if test "${enable_no_rtti+set}" = set; then
5340 enableval=$enable_no_rtti;
5341 if test "$enableval" = yes; then
5342 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5343 else
5344 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5345 fi
5346 cache=yes
5347
5348 else
5349
5350 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x ; then
5352 eval "DEFAULT_$LINE"
5353 fi
5354
5355 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5356
5357 fi
5358
5359
5360 eval "$wx_cv_use_no_rtti"
5361 if test "x$cache" = xyes; then
5362 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5363 fi
5364
5365 if test x"$enablestring" = xdisable; then
5366 if test $wxUSE_NO_RTTI = yes; then
5367 result=no
5368 else
5369 result=yes
5370 fi
5371 else
5372 result=$wxUSE_NO_RTTI
5373 fi
5374
5375 { echo "$as_me:$LINENO: result: $result" >&5
5376 echo "${ECHO_T}$result" >&6; }
5377
5378
5379 enablestring=
5380 defaultval=
5381 if test -z "$defaultval"; then
5382 if test x"$enablestring" = xdisable; then
5383 defaultval=yes
5384 else
5385 defaultval=no
5386 fi
5387 fi
5388
5389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5391 # Check whether --enable-no_exceptions was given.
5392 if test "${enable_no_exceptions+set}" = set; then
5393 enableval=$enable_no_exceptions;
5394 if test "$enableval" = yes; then
5395 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5396 else
5397 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5398 fi
5399 cache=yes
5400
5401 else
5402
5403 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x ; then
5405 eval "DEFAULT_$LINE"
5406 fi
5407
5408 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5409
5410 fi
5411
5412
5413 eval "$wx_cv_use_no_exceptions"
5414 if test "x$cache" = xyes; then
5415 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5416 fi
5417
5418 if test x"$enablestring" = xdisable; then
5419 if test $wxUSE_NO_EXCEPTIONS = yes; then
5420 result=no
5421 else
5422 result=yes
5423 fi
5424 else
5425 result=$wxUSE_NO_EXCEPTIONS
5426 fi
5427
5428 { echo "$as_me:$LINENO: result: $result" >&5
5429 echo "${ECHO_T}$result" >&6; }
5430
5431
5432 enablestring=
5433 defaultval=
5434 if test -z "$defaultval"; then
5435 if test x"$enablestring" = xdisable; then
5436 defaultval=yes
5437 else
5438 defaultval=no
5439 fi
5440 fi
5441
5442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5443 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5444 # Check whether --enable-permissive was given.
5445 if test "${enable_permissive+set}" = set; then
5446 enableval=$enable_permissive;
5447 if test "$enableval" = yes; then
5448 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5449 else
5450 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5451 fi
5452 cache=yes
5453
5454 else
5455
5456 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x ; then
5458 eval "DEFAULT_$LINE"
5459 fi
5460
5461 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5462
5463 fi
5464
5465
5466 eval "$wx_cv_use_permissive"
5467 if test "x$cache" = xyes; then
5468 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5469 fi
5470
5471 if test x"$enablestring" = xdisable; then
5472 if test $wxUSE_PERMISSIVE = yes; then
5473 result=no
5474 else
5475 result=yes
5476 fi
5477 else
5478 result=$wxUSE_PERMISSIVE
5479 fi
5480
5481 { echo "$as_me:$LINENO: result: $result" >&5
5482 echo "${ECHO_T}$result" >&6; }
5483
5484
5485 enablestring=
5486 defaultval=
5487 if test -z "$defaultval"; then
5488 if test x"$enablestring" = xdisable; then
5489 defaultval=yes
5490 else
5491 defaultval=no
5492 fi
5493 fi
5494
5495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5496 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5497 # Check whether --enable-no_deps was given.
5498 if test "${enable_no_deps+set}" = set; then
5499 enableval=$enable_no_deps;
5500 if test "$enableval" = yes; then
5501 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5502 else
5503 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5504 fi
5505 cache=yes
5506
5507 else
5508
5509 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5510 if test "x$LINE" != x ; then
5511 eval "DEFAULT_$LINE"
5512 fi
5513
5514 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5515
5516 fi
5517
5518
5519 eval "$wx_cv_use_no_deps"
5520 if test "x$cache" = xyes; then
5521 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5522 fi
5523
5524 if test x"$enablestring" = xdisable; then
5525 if test $wxUSE_NO_DEPS = yes; then
5526 result=no
5527 else
5528 result=yes
5529 fi
5530 else
5531 result=$wxUSE_NO_DEPS
5532 fi
5533
5534 { echo "$as_me:$LINENO: result: $result" >&5
5535 echo "${ECHO_T}$result" >&6; }
5536
5537
5538 enablestring=disable
5539 defaultval=
5540 if test -z "$defaultval"; then
5541 if test x"$enablestring" = xdisable; then
5542 defaultval=yes
5543 else
5544 defaultval=no
5545 fi
5546 fi
5547
5548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5549 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5550 # Check whether --enable-vararg_macros was given.
5551 if test "${enable_vararg_macros+set}" = set; then
5552 enableval=$enable_vararg_macros;
5553 if test "$enableval" = yes; then
5554 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5555 else
5556 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5557 fi
5558 cache=yes
5559
5560 else
5561
5562 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x ; then
5564 eval "DEFAULT_$LINE"
5565 fi
5566
5567 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5568
5569 fi
5570
5571
5572 eval "$wx_cv_use_vararg_macros"
5573 if test "x$cache" = xyes; then
5574 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5575 fi
5576
5577 if test x"$enablestring" = xdisable; then
5578 if test $wxUSE_VARARG_MACROS = yes; then
5579 result=no
5580 else
5581 result=yes
5582 fi
5583 else
5584 result=$wxUSE_VARARG_MACROS
5585 fi
5586
5587 { echo "$as_me:$LINENO: result: $result" >&5
5588 echo "${ECHO_T}$result" >&6; }
5589
5590
5591 enablestring=
5592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5593 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5594 # Check whether --enable-universal_binary was given.
5595 if test "${enable_universal_binary+set}" = set; then
5596 enableval=$enable_universal_binary;
5597 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5598 cache=yes
5599
5600 else
5601
5602 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x ; then
5604 eval "DEFAULT_$LINE"
5605 fi
5606
5607 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5608
5609 fi
5610
5611
5612 eval "$wx_cv_use_universal_binary"
5613 if test "x$cache" = xyes; then
5614 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5615 fi
5616
5617 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5618 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5619
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}-compat26" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5634 # Check whether --enable-compat26 was given.
5635 if test "${enable_compat26+set}" = set; then
5636 enableval=$enable_compat26;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5639 else
5640 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5641 fi
5642 cache=yes
5643
5644 else
5645
5646 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5649 fi
5650
5651 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5652
5653 fi
5654
5655
5656 eval "$wx_cv_use_compat26"
5657 if test "x$cache" = xyes; then
5658 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5659 fi
5660
5661 if test x"$enablestring" = xdisable; then
5662 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5663 result=no
5664 else
5665 result=yes
5666 fi
5667 else
5668 result=$WXWIN_COMPATIBILITY_2_6
5669 fi
5670
5671 { echo "$as_me:$LINENO: result: $result" >&5
5672 echo "${ECHO_T}$result" >&6; }
5673
5674
5675 enablestring=disable
5676 defaultval=
5677 if test -z "$defaultval"; then
5678 if test x"$enablestring" = xdisable; then
5679 defaultval=yes
5680 else
5681 defaultval=no
5682 fi
5683 fi
5684
5685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5687 # Check whether --enable-compat28 was given.
5688 if test "${enable_compat28+set}" = set; then
5689 enableval=$enable_compat28;
5690 if test "$enableval" = yes; then
5691 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5692 else
5693 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5694 fi
5695 cache=yes
5696
5697 else
5698
5699 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x ; then
5701 eval "DEFAULT_$LINE"
5702 fi
5703
5704 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5705
5706 fi
5707
5708
5709 eval "$wx_cv_use_compat28"
5710 if test "x$cache" = xyes; then
5711 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5712 fi
5713
5714 if test x"$enablestring" = xdisable; then
5715 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5716 result=no
5717 else
5718 result=yes
5719 fi
5720 else
5721 result=$WXWIN_COMPATIBILITY_2_8
5722 fi
5723
5724 { echo "$as_me:$LINENO: result: $result" >&5
5725 echo "${ECHO_T}$result" >&6; }
5726
5727
5728
5729 enablestring=disable
5730 defaultval=
5731 if test -z "$defaultval"; then
5732 if test x"$enablestring" = xdisable; then
5733 defaultval=yes
5734 else
5735 defaultval=no
5736 fi
5737 fi
5738
5739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5741 # Check whether --enable-rpath was given.
5742 if test "${enable_rpath+set}" = set; then
5743 enableval=$enable_rpath;
5744 if test "$enableval" = yes; then
5745 wx_cv_use_rpath='wxUSE_RPATH=yes'
5746 else
5747 wx_cv_use_rpath='wxUSE_RPATH=no'
5748 fi
5749 cache=yes
5750
5751 else
5752
5753 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x ; then
5755 eval "DEFAULT_$LINE"
5756 fi
5757
5758 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5759
5760 fi
5761
5762
5763 eval "$wx_cv_use_rpath"
5764 if test "x$cache" = xyes; then
5765 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5766 fi
5767
5768 if test x"$enablestring" = xdisable; then
5769 if test $wxUSE_RPATH = yes; then
5770 result=no
5771 else
5772 result=yes
5773 fi
5774 else
5775 result=$wxUSE_RPATH
5776 fi
5777
5778 { echo "$as_me:$LINENO: result: $result" >&5
5779 echo "${ECHO_T}$result" >&6; }
5780
5781
5782
5783 enablestring=
5784 defaultval=
5785 if test -z "$defaultval"; then
5786 if test x"$enablestring" = xdisable; then
5787 defaultval=yes
5788 else
5789 defaultval=no
5790 fi
5791 fi
5792
5793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5794 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5795 # Check whether --enable-objc_uniquifying was given.
5796 if test "${enable_objc_uniquifying+set}" = set; then
5797 enableval=$enable_objc_uniquifying;
5798 if test "$enableval" = yes; then
5799 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5800 else
5801 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5802 fi
5803 cache=yes
5804
5805 else
5806
5807 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x ; then
5809 eval "DEFAULT_$LINE"
5810 fi
5811
5812 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5813
5814 fi
5815
5816
5817 eval "$wx_cv_use_objc_uniquifying"
5818 if test "x$cache" = xyes; then
5819 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5820 fi
5821
5822 if test x"$enablestring" = xdisable; then
5823 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5824 result=no
5825 else
5826 result=yes
5827 fi
5828 else
5829 result=$wxUSE_OBJC_UNIQUIFYING
5830 fi
5831
5832 { echo "$as_me:$LINENO: result: $result" >&5
5833 echo "${ECHO_T}$result" >&6; }
5834
5835
5836
5837 enablestring=disable
5838 defaultval=
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5841 defaultval=yes
5842 else
5843 defaultval=no
5844 fi
5845 fi
5846
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5849 # Check whether --enable-visibility was given.
5850 if test "${enable_visibility+set}" = set; then
5851 enableval=$enable_visibility;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5854 else
5855 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5856 fi
5857 cache=yes
5858
5859 else
5860
5861 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5864 fi
5865
5866 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5867
5868 fi
5869
5870
5871 eval "$wx_cv_use_visibility"
5872 if test "x$cache" = xyes; then
5873 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5874 fi
5875
5876 if test x"$enablestring" = xdisable; then
5877 if test $wxUSE_VISIBILITY = yes; then
5878 result=no
5879 else
5880 result=yes
5881 fi
5882 else
5883 result=$wxUSE_VISIBILITY
5884 fi
5885
5886 { echo "$as_me:$LINENO: result: $result" >&5
5887 echo "${ECHO_T}$result" >&6; }
5888
5889
5890
5891
5892 enablestring=
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5896 defaultval=yes
5897 else
5898 defaultval=no
5899 fi
5900 fi
5901
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5904 # Check whether --enable-intl was given.
5905 if test "${enable_intl+set}" = set; then
5906 enableval=$enable_intl;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_intl='wxUSE_INTL=yes'
5909 else
5910 wx_cv_use_intl='wxUSE_INTL=no'
5911 fi
5912 cache=yes
5913
5914 else
5915
5916 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x ; then
5918 eval "DEFAULT_$LINE"
5919 fi
5920
5921 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5922
5923 fi
5924
5925
5926 eval "$wx_cv_use_intl"
5927 if test "x$cache" = xyes; then
5928 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5929 fi
5930
5931 if test x"$enablestring" = xdisable; then
5932 if test $wxUSE_INTL = yes; then
5933 result=no
5934 else
5935 result=yes
5936 fi
5937 else
5938 result=$wxUSE_INTL
5939 fi
5940
5941 { echo "$as_me:$LINENO: result: $result" >&5
5942 echo "${ECHO_T}$result" >&6; }
5943
5944
5945 enablestring=
5946 defaultval=$wxUSE_ALL_FEATURES
5947 if test -z "$defaultval"; then
5948 if test x"$enablestring" = xdisable; then
5949 defaultval=yes
5950 else
5951 defaultval=no
5952 fi
5953 fi
5954
5955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5956 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5957 # Check whether --enable-config was given.
5958 if test "${enable_config+set}" = set; then
5959 enableval=$enable_config;
5960 if test "$enableval" = yes; then
5961 wx_cv_use_config='wxUSE_CONFIG=yes'
5962 else
5963 wx_cv_use_config='wxUSE_CONFIG=no'
5964 fi
5965 cache=yes
5966
5967 else
5968
5969 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x ; then
5971 eval "DEFAULT_$LINE"
5972 fi
5973
5974 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5975
5976 fi
5977
5978
5979 eval "$wx_cv_use_config"
5980 if test "x$cache" = xyes; then
5981 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5982 fi
5983
5984 if test x"$enablestring" = xdisable; then
5985 if test $wxUSE_CONFIG = yes; then
5986 result=no
5987 else
5988 result=yes
5989 fi
5990 else
5991 result=$wxUSE_CONFIG
5992 fi
5993
5994 { echo "$as_me:$LINENO: result: $result" >&5
5995 echo "${ECHO_T}$result" >&6; }
5996
5997
5998
5999 enablestring=
6000 defaultval=$wxUSE_ALL_FEATURES
6001 if test -z "$defaultval"; then
6002 if test x"$enablestring" = xdisable; then
6003 defaultval=yes
6004 else
6005 defaultval=no
6006 fi
6007 fi
6008
6009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6011 # Check whether --enable-protocols was given.
6012 if test "${enable_protocols+set}" = set; then
6013 enableval=$enable_protocols;
6014 if test "$enableval" = yes; then
6015 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6016 else
6017 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6018 fi
6019 cache=yes
6020
6021 else
6022
6023 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x ; then
6025 eval "DEFAULT_$LINE"
6026 fi
6027
6028 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6029
6030 fi
6031
6032
6033 eval "$wx_cv_use_protocols"
6034 if test "x$cache" = xyes; then
6035 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6036 fi
6037
6038 if test x"$enablestring" = xdisable; then
6039 if test $wxUSE_PROTOCOL = yes; then
6040 result=no
6041 else
6042 result=yes
6043 fi
6044 else
6045 result=$wxUSE_PROTOCOL
6046 fi
6047
6048 { echo "$as_me:$LINENO: result: $result" >&5
6049 echo "${ECHO_T}$result" >&6; }
6050
6051
6052 enablestring=
6053 defaultval=$wxUSE_ALL_FEATURES
6054 if test -z "$defaultval"; then
6055 if test x"$enablestring" = xdisable; then
6056 defaultval=yes
6057 else
6058 defaultval=no
6059 fi
6060 fi
6061
6062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6064 # Check whether --enable-ftp was given.
6065 if test "${enable_ftp+set}" = set; then
6066 enableval=$enable_ftp;
6067 if test "$enableval" = yes; then
6068 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6069 else
6070 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6071 fi
6072 cache=yes
6073
6074 else
6075
6076 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 fi
6080
6081 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6082
6083 fi
6084
6085
6086 eval "$wx_cv_use_ftp"
6087 if test "x$cache" = xyes; then
6088 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6089 fi
6090
6091 if test x"$enablestring" = xdisable; then
6092 if test $wxUSE_PROTOCOL_FTP = yes; then
6093 result=no
6094 else
6095 result=yes
6096 fi
6097 else
6098 result=$wxUSE_PROTOCOL_FTP
6099 fi
6100
6101 { echo "$as_me:$LINENO: result: $result" >&5
6102 echo "${ECHO_T}$result" >&6; }
6103
6104
6105 enablestring=
6106 defaultval=$wxUSE_ALL_FEATURES
6107 if test -z "$defaultval"; then
6108 if test x"$enablestring" = xdisable; then
6109 defaultval=yes
6110 else
6111 defaultval=no
6112 fi
6113 fi
6114
6115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6117 # Check whether --enable-http was given.
6118 if test "${enable_http+set}" = set; then
6119 enableval=$enable_http;
6120 if test "$enableval" = yes; then
6121 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6122 else
6123 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6124 fi
6125 cache=yes
6126
6127 else
6128
6129 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 fi
6133
6134 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6135
6136 fi
6137
6138
6139 eval "$wx_cv_use_http"
6140 if test "x$cache" = xyes; then
6141 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6142 fi
6143
6144 if test x"$enablestring" = xdisable; then
6145 if test $wxUSE_PROTOCOL_HTTP = yes; then
6146 result=no
6147 else
6148 result=yes
6149 fi
6150 else
6151 result=$wxUSE_PROTOCOL_HTTP
6152 fi
6153
6154 { echo "$as_me:$LINENO: result: $result" >&5
6155 echo "${ECHO_T}$result" >&6; }
6156
6157
6158 enablestring=
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6162 defaultval=yes
6163 else
6164 defaultval=no
6165 fi
6166 fi
6167
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6170 # Check whether --enable-fileproto was given.
6171 if test "${enable_fileproto+set}" = set; then
6172 enableval=$enable_fileproto;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6175 else
6176 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6177 fi
6178 cache=yes
6179
6180 else
6181
6182 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6185 fi
6186
6187 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6188
6189 fi
6190
6191
6192 eval "$wx_cv_use_fileproto"
6193 if test "x$cache" = xyes; then
6194 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6195 fi
6196
6197 if test x"$enablestring" = xdisable; then
6198 if test $wxUSE_PROTOCOL_FILE = yes; then
6199 result=no
6200 else
6201 result=yes
6202 fi
6203 else
6204 result=$wxUSE_PROTOCOL_FILE
6205 fi
6206
6207 { echo "$as_me:$LINENO: result: $result" >&5
6208 echo "${ECHO_T}$result" >&6; }
6209
6210
6211 enablestring=
6212 defaultval=$wxUSE_ALL_FEATURES
6213 if test -z "$defaultval"; then
6214 if test x"$enablestring" = xdisable; then
6215 defaultval=yes
6216 else
6217 defaultval=no
6218 fi
6219 fi
6220
6221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6222 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6223 # Check whether --enable-sockets was given.
6224 if test "${enable_sockets+set}" = set; then
6225 enableval=$enable_sockets;
6226 if test "$enableval" = yes; then
6227 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6228 else
6229 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6230 fi
6231 cache=yes
6232
6233 else
6234
6235 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x ; then
6237 eval "DEFAULT_$LINE"
6238 fi
6239
6240 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6241
6242 fi
6243
6244
6245 eval "$wx_cv_use_sockets"
6246 if test "x$cache" = xyes; then
6247 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6248 fi
6249
6250 if test x"$enablestring" = xdisable; then
6251 if test $wxUSE_SOCKETS = yes; then
6252 result=no
6253 else
6254 result=yes
6255 fi
6256 else
6257 result=$wxUSE_SOCKETS
6258 fi
6259
6260 { echo "$as_me:$LINENO: result: $result" >&5
6261 echo "${ECHO_T}$result" >&6; }
6262
6263
6264 enablestring=
6265 defaultval=$wxUSE_ALL_FEATURES
6266 if test -z "$defaultval"; then
6267 if test x"$enablestring" = xdisable; then
6268 defaultval=yes
6269 else
6270 defaultval=no
6271 fi
6272 fi
6273
6274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6276 # Check whether --enable-ole was given.
6277 if test "${enable_ole+set}" = set; then
6278 enableval=$enable_ole;
6279 if test "$enableval" = yes; then
6280 wx_cv_use_ole='wxUSE_OLE=yes'
6281 else
6282 wx_cv_use_ole='wxUSE_OLE=no'
6283 fi
6284 cache=yes
6285
6286 else
6287
6288 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6289 if test "x$LINE" != x ; then
6290 eval "DEFAULT_$LINE"
6291 fi
6292
6293 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6294
6295 fi
6296
6297
6298 eval "$wx_cv_use_ole"
6299 if test "x$cache" = xyes; then
6300 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6301 fi
6302
6303 if test x"$enablestring" = xdisable; then
6304 if test $wxUSE_OLE = yes; then
6305 result=no
6306 else
6307 result=yes
6308 fi
6309 else
6310 result=$wxUSE_OLE
6311 fi
6312
6313 { echo "$as_me:$LINENO: result: $result" >&5
6314 echo "${ECHO_T}$result" >&6; }
6315
6316
6317 enablestring=
6318 defaultval=$wxUSE_ALL_FEATURES
6319 if test -z "$defaultval"; then
6320 if test x"$enablestring" = xdisable; then
6321 defaultval=yes
6322 else
6323 defaultval=no
6324 fi
6325 fi
6326
6327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6328 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6329 # Check whether --enable-dataobj was given.
6330 if test "${enable_dataobj+set}" = set; then
6331 enableval=$enable_dataobj;
6332 if test "$enableval" = yes; then
6333 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6334 else
6335 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6336 fi
6337 cache=yes
6338
6339 else
6340
6341 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6342 if test "x$LINE" != x ; then
6343 eval "DEFAULT_$LINE"
6344 fi
6345
6346 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6347
6348 fi
6349
6350
6351 eval "$wx_cv_use_dataobj"
6352 if test "x$cache" = xyes; then
6353 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6354 fi
6355
6356 if test x"$enablestring" = xdisable; then
6357 if test $wxUSE_DATAOBJ = yes; then
6358 result=no
6359 else
6360 result=yes
6361 fi
6362 else
6363 result=$wxUSE_DATAOBJ
6364 fi
6365
6366 { echo "$as_me:$LINENO: result: $result" >&5
6367 echo "${ECHO_T}$result" >&6; }
6368
6369
6370
6371 enablestring=
6372 defaultval=$wxUSE_ALL_FEATURES
6373 if test -z "$defaultval"; then
6374 if test x"$enablestring" = xdisable; then
6375 defaultval=yes
6376 else
6377 defaultval=no
6378 fi
6379 fi
6380
6381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6383 # Check whether --enable-ipc was given.
6384 if test "${enable_ipc+set}" = set; then
6385 enableval=$enable_ipc;
6386 if test "$enableval" = yes; then
6387 wx_cv_use_ipc='wxUSE_IPC=yes'
6388 else
6389 wx_cv_use_ipc='wxUSE_IPC=no'
6390 fi
6391 cache=yes
6392
6393 else
6394
6395 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x ; then
6397 eval "DEFAULT_$LINE"
6398 fi
6399
6400 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6401
6402 fi
6403
6404
6405 eval "$wx_cv_use_ipc"
6406 if test "x$cache" = xyes; then
6407 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6408 fi
6409
6410 if test x"$enablestring" = xdisable; then
6411 if test $wxUSE_IPC = yes; then
6412 result=no
6413 else
6414 result=yes
6415 fi
6416 else
6417 result=$wxUSE_IPC
6418 fi
6419
6420 { echo "$as_me:$LINENO: result: $result" >&5
6421 echo "${ECHO_T}$result" >&6; }
6422
6423
6424
6425 enablestring=
6426 defaultval=$wxUSE_ALL_FEATURES
6427 if test -z "$defaultval"; then
6428 if test x"$enablestring" = xdisable; then
6429 defaultval=yes
6430 else
6431 defaultval=no
6432 fi
6433 fi
6434
6435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6436 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6437 # Check whether --enable-baseevtloop was given.
6438 if test "${enable_baseevtloop+set}" = set; then
6439 enableval=$enable_baseevtloop;
6440 if test "$enableval" = yes; then
6441 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6442 else
6443 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6444 fi
6445 cache=yes
6446
6447 else
6448
6449 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6450 if test "x$LINE" != x ; then
6451 eval "DEFAULT_$LINE"
6452 fi
6453
6454 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6455
6456 fi
6457
6458
6459 eval "$wx_cv_use_baseevtloop"
6460 if test "x$cache" = xyes; then
6461 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6462 fi
6463
6464 if test x"$enablestring" = xdisable; then
6465 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6466 result=no
6467 else
6468 result=yes
6469 fi
6470 else
6471 result=$wxUSE_CONSOLE_EVENTLOOP
6472 fi
6473
6474 { echo "$as_me:$LINENO: result: $result" >&5
6475 echo "${ECHO_T}$result" >&6; }
6476
6477
6478 enablestring=
6479 defaultval=$wxUSE_ALL_FEATURES
6480 if test -z "$defaultval"; then
6481 if test x"$enablestring" = xdisable; then
6482 defaultval=yes
6483 else
6484 defaultval=no
6485 fi
6486 fi
6487
6488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6489 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6490 # Check whether --enable-epoolloop was given.
6491 if test "${enable_epoolloop+set}" = set; then
6492 enableval=$enable_epoolloop;
6493 if test "$enableval" = yes; then
6494 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6495 else
6496 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6497 fi
6498 cache=yes
6499
6500 else
6501
6502 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x ; then
6504 eval "DEFAULT_$LINE"
6505 fi
6506
6507 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6508
6509 fi
6510
6511
6512 eval "$wx_cv_use_epoolloop"
6513 if test "x$cache" = xyes; then
6514 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6515 fi
6516
6517 if test x"$enablestring" = xdisable; then
6518 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6519 result=no
6520 else
6521 result=yes
6522 fi
6523 else
6524 result=$wxUSE_EPOLL_DISPATCHER
6525 fi
6526
6527 { echo "$as_me:$LINENO: result: $result" >&5
6528 echo "${ECHO_T}$result" >&6; }
6529
6530
6531 enablestring=
6532 defaultval=$wxUSE_ALL_FEATURES
6533 if test -z "$defaultval"; then
6534 if test x"$enablestring" = xdisable; then
6535 defaultval=yes
6536 else
6537 defaultval=no
6538 fi
6539 fi
6540
6541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6543 # Check whether --enable-selectloop was given.
6544 if test "${enable_selectloop+set}" = set; then
6545 enableval=$enable_selectloop;
6546 if test "$enableval" = yes; then
6547 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6548 else
6549 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6550 fi
6551 cache=yes
6552
6553 else
6554
6555 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6558 fi
6559
6560 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6561
6562 fi
6563
6564
6565 eval "$wx_cv_use_selectloop"
6566 if test "x$cache" = xyes; then
6567 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6568 fi
6569
6570 if test x"$enablestring" = xdisable; then
6571 if test $wxUSE_SELECT_DISPATCHER = yes; then
6572 result=no
6573 else
6574 result=yes
6575 fi
6576 else
6577 result=$wxUSE_SELECT_DISPATCHER
6578 fi
6579
6580 { echo "$as_me:$LINENO: result: $result" >&5
6581 echo "${ECHO_T}$result" >&6; }
6582
6583
6584
6585 enablestring=
6586 defaultval=$wxUSE_ALL_FEATURES
6587 if test -z "$defaultval"; then
6588 if test x"$enablestring" = xdisable; then
6589 defaultval=yes
6590 else
6591 defaultval=no
6592 fi
6593 fi
6594
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6597 # Check whether --enable-apple_ieee was given.
6598 if test "${enable_apple_ieee+set}" = set; then
6599 enableval=$enable_apple_ieee;
6600 if test "$enableval" = yes; then
6601 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6602 else
6603 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6604 fi
6605 cache=yes
6606
6607 else
6608
6609 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 fi
6613
6614 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6615
6616 fi
6617
6618
6619 eval "$wx_cv_use_apple_ieee"
6620 if test "x$cache" = xyes; then
6621 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6622 fi
6623
6624 if test x"$enablestring" = xdisable; then
6625 if test $wxUSE_APPLE_IEEE = yes; then
6626 result=no
6627 else
6628 result=yes
6629 fi
6630 else
6631 result=$wxUSE_APPLE_IEEE
6632 fi
6633
6634 { echo "$as_me:$LINENO: result: $result" >&5
6635 echo "${ECHO_T}$result" >&6; }
6636
6637
6638 enablestring=
6639 defaultval=$wxUSE_ALL_FEATURES
6640 if test -z "$defaultval"; then
6641 if test x"$enablestring" = xdisable; then
6642 defaultval=yes
6643 else
6644 defaultval=no
6645 fi
6646 fi
6647
6648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6650 # Check whether --enable-arcstream was given.
6651 if test "${enable_arcstream+set}" = set; then
6652 enableval=$enable_arcstream;
6653 if test "$enableval" = yes; then
6654 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6655 else
6656 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6657 fi
6658 cache=yes
6659
6660 else
6661
6662 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x ; then
6664 eval "DEFAULT_$LINE"
6665 fi
6666
6667 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6668
6669 fi
6670
6671
6672 eval "$wx_cv_use_arcstream"
6673 if test "x$cache" = xyes; then
6674 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6675 fi
6676
6677 if test x"$enablestring" = xdisable; then
6678 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6679 result=no
6680 else
6681 result=yes
6682 fi
6683 else
6684 result=$wxUSE_ARCHIVE_STREAMS
6685 fi
6686
6687 { echo "$as_me:$LINENO: result: $result" >&5
6688 echo "${ECHO_T}$result" >&6; }
6689
6690
6691 enablestring=
6692 defaultval=$wxUSE_ALL_FEATURES
6693 if test -z "$defaultval"; then
6694 if test x"$enablestring" = xdisable; then
6695 defaultval=yes
6696 else
6697 defaultval=no
6698 fi
6699 fi
6700
6701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6702 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6703 # Check whether --enable-base64 was given.
6704 if test "${enable_base64+set}" = set; then
6705 enableval=$enable_base64;
6706 if test "$enableval" = yes; then
6707 wx_cv_use_base64='wxUSE_BASE64=yes'
6708 else
6709 wx_cv_use_base64='wxUSE_BASE64=no'
6710 fi
6711 cache=yes
6712
6713 else
6714
6715 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6716 if test "x$LINE" != x ; then
6717 eval "DEFAULT_$LINE"
6718 fi
6719
6720 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6721
6722 fi
6723
6724
6725 eval "$wx_cv_use_base64"
6726 if test "x$cache" = xyes; then
6727 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6728 fi
6729
6730 if test x"$enablestring" = xdisable; then
6731 if test $wxUSE_BASE64 = yes; then
6732 result=no
6733 else
6734 result=yes
6735 fi
6736 else
6737 result=$wxUSE_BASE64
6738 fi
6739
6740 { echo "$as_me:$LINENO: result: $result" >&5
6741 echo "${ECHO_T}$result" >&6; }
6742
6743
6744 enablestring=
6745 defaultval=$wxUSE_ALL_FEATURES
6746 if test -z "$defaultval"; then
6747 if test x"$enablestring" = xdisable; then
6748 defaultval=yes
6749 else
6750 defaultval=no
6751 fi
6752 fi
6753
6754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6756 # Check whether --enable-backtrace was given.
6757 if test "${enable_backtrace+set}" = set; then
6758 enableval=$enable_backtrace;
6759 if test "$enableval" = yes; then
6760 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6761 else
6762 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6763 fi
6764 cache=yes
6765
6766 else
6767
6768 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6769 if test "x$LINE" != x ; then
6770 eval "DEFAULT_$LINE"
6771 fi
6772
6773 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6774
6775 fi
6776
6777
6778 eval "$wx_cv_use_backtrace"
6779 if test "x$cache" = xyes; then
6780 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6781 fi
6782
6783 if test x"$enablestring" = xdisable; then
6784 if test $wxUSE_STACKWALKER = yes; then
6785 result=no
6786 else
6787 result=yes
6788 fi
6789 else
6790 result=$wxUSE_STACKWALKER
6791 fi
6792
6793 { echo "$as_me:$LINENO: result: $result" >&5
6794 echo "${ECHO_T}$result" >&6; }
6795
6796
6797 enablestring=
6798 defaultval=$wxUSE_ALL_FEATURES
6799 if test -z "$defaultval"; then
6800 if test x"$enablestring" = xdisable; then
6801 defaultval=yes
6802 else
6803 defaultval=no
6804 fi
6805 fi
6806
6807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6809 # Check whether --enable-catch_segvs was given.
6810 if test "${enable_catch_segvs+set}" = set; then
6811 enableval=$enable_catch_segvs;
6812 if test "$enableval" = yes; then
6813 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6814 else
6815 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6816 fi
6817 cache=yes
6818
6819 else
6820
6821 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x ; then
6823 eval "DEFAULT_$LINE"
6824 fi
6825
6826 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6827
6828 fi
6829
6830
6831 eval "$wx_cv_use_catch_segvs"
6832 if test "x$cache" = xyes; then
6833 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6834 fi
6835
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6838 result=no
6839 else
6840 result=yes
6841 fi
6842 else
6843 result=$wxUSE_ON_FATAL_EXCEPTION
6844 fi
6845
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850 enablestring=
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6854 defaultval=yes
6855 else
6856 defaultval=no
6857 fi
6858 fi
6859
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6862 # Check whether --enable-cmdline was given.
6863 if test "${enable_cmdline+set}" = set; then
6864 enableval=$enable_cmdline;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6867 else
6868 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6869 fi
6870 cache=yes
6871
6872 else
6873
6874 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 fi
6878
6879 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6880
6881 fi
6882
6883
6884 eval "$wx_cv_use_cmdline"
6885 if test "x$cache" = xyes; then
6886 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6887 fi
6888
6889 if test x"$enablestring" = xdisable; then
6890 if test $wxUSE_CMDLINE_PARSER = yes; then
6891 result=no
6892 else
6893 result=yes
6894 fi
6895 else
6896 result=$wxUSE_CMDLINE_PARSER
6897 fi
6898
6899 { echo "$as_me:$LINENO: result: $result" >&5
6900 echo "${ECHO_T}$result" >&6; }
6901
6902
6903 enablestring=
6904 defaultval=$wxUSE_ALL_FEATURES
6905 if test -z "$defaultval"; then
6906 if test x"$enablestring" = xdisable; then
6907 defaultval=yes
6908 else
6909 defaultval=no
6910 fi
6911 fi
6912
6913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6914 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6915 # Check whether --enable-datetime was given.
6916 if test "${enable_datetime+set}" = set; then
6917 enableval=$enable_datetime;
6918 if test "$enableval" = yes; then
6919 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6920 else
6921 wx_cv_use_datetime='wxUSE_DATETIME=no'
6922 fi
6923 cache=yes
6924
6925 else
6926
6927 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6928 if test "x$LINE" != x ; then
6929 eval "DEFAULT_$LINE"
6930 fi
6931
6932 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6933
6934 fi
6935
6936
6937 eval "$wx_cv_use_datetime"
6938 if test "x$cache" = xyes; then
6939 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6940 fi
6941
6942 if test x"$enablestring" = xdisable; then
6943 if test $wxUSE_DATETIME = yes; then
6944 result=no
6945 else
6946 result=yes
6947 fi
6948 else
6949 result=$wxUSE_DATETIME
6950 fi
6951
6952 { echo "$as_me:$LINENO: result: $result" >&5
6953 echo "${ECHO_T}$result" >&6; }
6954
6955
6956 enablestring=
6957 defaultval=$wxUSE_ALL_FEATURES
6958 if test -z "$defaultval"; then
6959 if test x"$enablestring" = xdisable; then
6960 defaultval=yes
6961 else
6962 defaultval=no
6963 fi
6964 fi
6965
6966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6968 # Check whether --enable-debugreport was given.
6969 if test "${enable_debugreport+set}" = set; then
6970 enableval=$enable_debugreport;
6971 if test "$enableval" = yes; then
6972 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6973 else
6974 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6975 fi
6976 cache=yes
6977
6978 else
6979
6980 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x ; then
6982 eval "DEFAULT_$LINE"
6983 fi
6984
6985 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6986
6987 fi
6988
6989
6990 eval "$wx_cv_use_debugreport"
6991 if test "x$cache" = xyes; then
6992 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6993 fi
6994
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_DEBUGREPORT = yes; then
6997 result=no
6998 else
6999 result=yes
7000 fi
7001 else
7002 result=$wxUSE_DEBUGREPORT
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}-dialupman" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7021 # Check whether --enable-dialupman was given.
7022 if test "${enable_dialupman+set}" = set; then
7023 enableval=$enable_dialupman;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7026 else
7027 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7028 fi
7029 cache=yes
7030
7031 else
7032
7033 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7036 fi
7037
7038 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7039
7040 fi
7041
7042
7043 eval "$wx_cv_use_dialupman"
7044 if test "x$cache" = xyes; then
7045 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7046 fi
7047
7048 if test x"$enablestring" = xdisable; then
7049 if test $wxUSE_DIALUP_MANAGER = yes; then
7050 result=no
7051 else
7052 result=yes
7053 fi
7054 else
7055 result=$wxUSE_DIALUP_MANAGER
7056 fi
7057
7058 { echo "$as_me:$LINENO: result: $result" >&5
7059 echo "${ECHO_T}$result" >&6; }
7060
7061
7062 enablestring=
7063 defaultval=$wxUSE_ALL_FEATURES
7064 if test -z "$defaultval"; then
7065 if test x"$enablestring" = xdisable; then
7066 defaultval=yes
7067 else
7068 defaultval=no
7069 fi
7070 fi
7071
7072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7073 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7074 # Check whether --enable-dynlib was given.
7075 if test "${enable_dynlib+set}" = set; then
7076 enableval=$enable_dynlib;
7077 if test "$enableval" = yes; then
7078 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7079 else
7080 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7081 fi
7082 cache=yes
7083
7084 else
7085
7086 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7087 if test "x$LINE" != x ; then
7088 eval "DEFAULT_$LINE"
7089 fi
7090
7091 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7092
7093 fi
7094
7095
7096 eval "$wx_cv_use_dynlib"
7097 if test "x$cache" = xyes; then
7098 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7099 fi
7100
7101 if test x"$enablestring" = xdisable; then
7102 if test $wxUSE_DYNLIB_CLASS = yes; then
7103 result=no
7104 else
7105 result=yes
7106 fi
7107 else
7108 result=$wxUSE_DYNLIB_CLASS
7109 fi
7110
7111 { echo "$as_me:$LINENO: result: $result" >&5
7112 echo "${ECHO_T}$result" >&6; }
7113
7114
7115 enablestring=
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7119 defaultval=yes
7120 else
7121 defaultval=no
7122 fi
7123 fi
7124
7125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7127 # Check whether --enable-dynamicloader was given.
7128 if test "${enable_dynamicloader+set}" = set; then
7129 enableval=$enable_dynamicloader;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7132 else
7133 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7134 fi
7135 cache=yes
7136
7137 else
7138
7139 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x ; then
7141 eval "DEFAULT_$LINE"
7142 fi
7143
7144 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7145
7146 fi
7147
7148
7149 eval "$wx_cv_use_dynamicloader"
7150 if test "x$cache" = xyes; then
7151 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7152 fi
7153
7154 if test x"$enablestring" = xdisable; then
7155 if test $wxUSE_DYNAMIC_LOADER = yes; then
7156 result=no
7157 else
7158 result=yes
7159 fi
7160 else
7161 result=$wxUSE_DYNAMIC_LOADER
7162 fi
7163
7164 { echo "$as_me:$LINENO: result: $result" >&5
7165 echo "${ECHO_T}$result" >&6; }
7166
7167
7168 enablestring=
7169 defaultval=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x"$enablestring" = xdisable; then
7172 defaultval=yes
7173 else
7174 defaultval=no
7175 fi
7176 fi
7177
7178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7180 # Check whether --enable-exceptions was given.
7181 if test "${enable_exceptions+set}" = set; then
7182 enableval=$enable_exceptions;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7185 else
7186 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7187 fi
7188 cache=yes
7189
7190 else
7191
7192 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7193 if test "x$LINE" != x ; then
7194 eval "DEFAULT_$LINE"
7195 fi
7196
7197 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7198
7199 fi
7200
7201
7202 eval "$wx_cv_use_exceptions"
7203 if test "x$cache" = xyes; then
7204 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test x"$enablestring" = xdisable; then
7208 if test $wxUSE_EXCEPTIONS = yes; then
7209 result=no
7210 else
7211 result=yes
7212 fi
7213 else
7214 result=$wxUSE_EXCEPTIONS
7215 fi
7216
7217 { echo "$as_me:$LINENO: result: $result" >&5
7218 echo "${ECHO_T}$result" >&6; }
7219
7220
7221 enablestring=
7222 defaultval=$wxUSE_ALL_FEATURES
7223 if test -z "$defaultval"; then
7224 if test x"$enablestring" = xdisable; then
7225 defaultval=yes
7226 else
7227 defaultval=no
7228 fi
7229 fi
7230
7231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7232 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7233 # Check whether --enable-ffile was given.
7234 if test "${enable_ffile+set}" = set; then
7235 enableval=$enable_ffile;
7236 if test "$enableval" = yes; then
7237 wx_cv_use_ffile='wxUSE_FFILE=yes'
7238 else
7239 wx_cv_use_ffile='wxUSE_FFILE=no'
7240 fi
7241 cache=yes
7242
7243 else
7244
7245 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7246 if test "x$LINE" != x ; then
7247 eval "DEFAULT_$LINE"
7248 fi
7249
7250 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7251
7252 fi
7253
7254
7255 eval "$wx_cv_use_ffile"
7256 if test "x$cache" = xyes; then
7257 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7258 fi
7259
7260 if test x"$enablestring" = xdisable; then
7261 if test $wxUSE_FFILE = yes; then
7262 result=no
7263 else
7264 result=yes
7265 fi
7266 else
7267 result=$wxUSE_FFILE
7268 fi
7269
7270 { echo "$as_me:$LINENO: result: $result" >&5
7271 echo "${ECHO_T}$result" >&6; }
7272
7273
7274 enablestring=
7275 defaultval=$wxUSE_ALL_FEATURES
7276 if test -z "$defaultval"; then
7277 if test x"$enablestring" = xdisable; then
7278 defaultval=yes
7279 else
7280 defaultval=no
7281 fi
7282 fi
7283
7284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7285 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7286 # Check whether --enable-file was given.
7287 if test "${enable_file+set}" = set; then
7288 enableval=$enable_file;
7289 if test "$enableval" = yes; then
7290 wx_cv_use_file='wxUSE_FILE=yes'
7291 else
7292 wx_cv_use_file='wxUSE_FILE=no'
7293 fi
7294 cache=yes
7295
7296 else
7297
7298 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7299 if test "x$LINE" != x ; then
7300 eval "DEFAULT_$LINE"
7301 fi
7302
7303 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7304
7305 fi
7306
7307
7308 eval "$wx_cv_use_file"
7309 if test "x$cache" = xyes; then
7310 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7311 fi
7312
7313 if test x"$enablestring" = xdisable; then
7314 if test $wxUSE_FILE = yes; then
7315 result=no
7316 else
7317 result=yes
7318 fi
7319 else
7320 result=$wxUSE_FILE
7321 fi
7322
7323 { echo "$as_me:$LINENO: result: $result" >&5
7324 echo "${ECHO_T}$result" >&6; }
7325
7326
7327 enablestring=
7328 defaultval=$wxUSE_ALL_FEATURES
7329 if test -z "$defaultval"; then
7330 if test x"$enablestring" = xdisable; then
7331 defaultval=yes
7332 else
7333 defaultval=no
7334 fi
7335 fi
7336
7337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7339 # Check whether --enable-filesystem was given.
7340 if test "${enable_filesystem+set}" = set; then
7341 enableval=$enable_filesystem;
7342 if test "$enableval" = yes; then
7343 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7344 else
7345 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7346 fi
7347 cache=yes
7348
7349 else
7350
7351 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7352 if test "x$LINE" != x ; then
7353 eval "DEFAULT_$LINE"
7354 fi
7355
7356 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7357
7358 fi
7359
7360
7361 eval "$wx_cv_use_filesystem"
7362 if test "x$cache" = xyes; then
7363 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7364 fi
7365
7366 if test x"$enablestring" = xdisable; then
7367 if test $wxUSE_FILESYSTEM = yes; then
7368 result=no
7369 else
7370 result=yes
7371 fi
7372 else
7373 result=$wxUSE_FILESYSTEM
7374 fi
7375
7376 { echo "$as_me:$LINENO: result: $result" >&5
7377 echo "${ECHO_T}$result" >&6; }
7378
7379
7380 enablestring=
7381 defaultval=$wxUSE_ALL_FEATURES
7382 if test -z "$defaultval"; then
7383 if test x"$enablestring" = xdisable; then
7384 defaultval=yes
7385 else
7386 defaultval=no
7387 fi
7388 fi
7389
7390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7392 # Check whether --enable-fontenum was given.
7393 if test "${enable_fontenum+set}" = set; then
7394 enableval=$enable_fontenum;
7395 if test "$enableval" = yes; then
7396 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7397 else
7398 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7399 fi
7400 cache=yes
7401
7402 else
7403
7404 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x ; then
7406 eval "DEFAULT_$LINE"
7407 fi
7408
7409 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7410
7411 fi
7412
7413
7414 eval "$wx_cv_use_fontenum"
7415 if test "x$cache" = xyes; then
7416 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7417 fi
7418
7419 if test x"$enablestring" = xdisable; then
7420 if test $wxUSE_FONTENUM = yes; then
7421 result=no
7422 else
7423 result=yes
7424 fi
7425 else
7426 result=$wxUSE_FONTENUM
7427 fi
7428
7429 { echo "$as_me:$LINENO: result: $result" >&5
7430 echo "${ECHO_T}$result" >&6; }
7431
7432
7433 enablestring=
7434 defaultval=$wxUSE_ALL_FEATURES
7435 if test -z "$defaultval"; then
7436 if test x"$enablestring" = xdisable; then
7437 defaultval=yes
7438 else
7439 defaultval=no
7440 fi
7441 fi
7442
7443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7445 # Check whether --enable-fontmap was given.
7446 if test "${enable_fontmap+set}" = set; then
7447 enableval=$enable_fontmap;
7448 if test "$enableval" = yes; then
7449 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7450 else
7451 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7452 fi
7453 cache=yes
7454
7455 else
7456
7457 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7458 if test "x$LINE" != x ; then
7459 eval "DEFAULT_$LINE"
7460 fi
7461
7462 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7463
7464 fi
7465
7466
7467 eval "$wx_cv_use_fontmap"
7468 if test "x$cache" = xyes; then
7469 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7470 fi
7471
7472 if test x"$enablestring" = xdisable; then
7473 if test $wxUSE_FONTMAP = yes; then
7474 result=no
7475 else
7476 result=yes
7477 fi
7478 else
7479 result=$wxUSE_FONTMAP
7480 fi
7481
7482 { echo "$as_me:$LINENO: result: $result" >&5
7483 echo "${ECHO_T}$result" >&6; }
7484
7485
7486 enablestring=
7487 defaultval=$wxUSE_ALL_FEATURES
7488 if test -z "$defaultval"; then
7489 if test x"$enablestring" = xdisable; then
7490 defaultval=yes
7491 else
7492 defaultval=no
7493 fi
7494 fi
7495
7496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7498 # Check whether --enable-fs_archive was given.
7499 if test "${enable_fs_archive+set}" = set; then
7500 enableval=$enable_fs_archive;
7501 if test "$enableval" = yes; then
7502 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7503 else
7504 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7505 fi
7506 cache=yes
7507
7508 else
7509
7510 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x ; then
7512 eval "DEFAULT_$LINE"
7513 fi
7514
7515 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7516
7517 fi
7518
7519
7520 eval "$wx_cv_use_fs_archive"
7521 if test "x$cache" = xyes; then
7522 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7523 fi
7524
7525 if test x"$enablestring" = xdisable; then
7526 if test $wxUSE_FS_ARCHIVE = yes; then
7527 result=no
7528 else
7529 result=yes
7530 fi
7531 else
7532 result=$wxUSE_FS_ARCHIVE
7533 fi
7534
7535 { echo "$as_me:$LINENO: result: $result" >&5
7536 echo "${ECHO_T}$result" >&6; }
7537
7538
7539 enablestring=
7540 defaultval=$wxUSE_ALL_FEATURES
7541 if test -z "$defaultval"; then
7542 if test x"$enablestring" = xdisable; then
7543 defaultval=yes
7544 else
7545 defaultval=no
7546 fi
7547 fi
7548
7549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7550 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7551 # Check whether --enable-fs_inet was given.
7552 if test "${enable_fs_inet+set}" = set; then
7553 enableval=$enable_fs_inet;
7554 if test "$enableval" = yes; then
7555 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7556 else
7557 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7558 fi
7559 cache=yes
7560
7561 else
7562
7563 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7566 fi
7567
7568 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7569
7570 fi
7571
7572
7573 eval "$wx_cv_use_fs_inet"
7574 if test "x$cache" = xyes; then
7575 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7576 fi
7577
7578 if test x"$enablestring" = xdisable; then
7579 if test $wxUSE_FS_INET = yes; then
7580 result=no
7581 else
7582 result=yes
7583 fi
7584 else
7585 result=$wxUSE_FS_INET
7586 fi
7587
7588 { echo "$as_me:$LINENO: result: $result" >&5
7589 echo "${ECHO_T}$result" >&6; }
7590
7591
7592 enablestring=
7593 defaultval=$wxUSE_ALL_FEATURES
7594 if test -z "$defaultval"; then
7595 if test x"$enablestring" = xdisable; then
7596 defaultval=yes
7597 else
7598 defaultval=no
7599 fi
7600 fi
7601
7602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7604 # Check whether --enable-fs_zip was given.
7605 if test "${enable_fs_zip+set}" = set; then
7606 enableval=$enable_fs_zip;
7607 if test "$enableval" = yes; then
7608 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7609 else
7610 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7611 fi
7612 cache=yes
7613
7614 else
7615
7616 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7619 fi
7620
7621 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7622
7623 fi
7624
7625
7626 eval "$wx_cv_use_fs_zip"
7627 if test "x$cache" = xyes; then
7628 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7629 fi
7630
7631 if test x"$enablestring" = xdisable; then
7632 if test $wxUSE_FS_ZIP = yes; then
7633 result=no
7634 else
7635 result=yes
7636 fi
7637 else
7638 result=$wxUSE_FS_ZIP
7639 fi
7640
7641 { echo "$as_me:$LINENO: result: $result" >&5
7642 echo "${ECHO_T}$result" >&6; }
7643
7644
7645 enablestring=
7646 defaultval=$wxUSE_ALL_FEATURES
7647 if test -z "$defaultval"; then
7648 if test x"$enablestring" = xdisable; then
7649 defaultval=yes
7650 else
7651 defaultval=no
7652 fi
7653 fi
7654
7655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7656 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7657 # Check whether --enable-geometry was given.
7658 if test "${enable_geometry+set}" = set; then
7659 enableval=$enable_geometry;
7660 if test "$enableval" = yes; then
7661 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7662 else
7663 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7664 fi
7665 cache=yes
7666
7667 else
7668
7669 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7670 if test "x$LINE" != x ; then
7671 eval "DEFAULT_$LINE"
7672 fi
7673
7674 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7675
7676 fi
7677
7678
7679 eval "$wx_cv_use_geometry"
7680 if test "x$cache" = xyes; then
7681 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7682 fi
7683
7684 if test x"$enablestring" = xdisable; then
7685 if test $wxUSE_GEOMETRY = yes; then
7686 result=no
7687 else
7688 result=yes
7689 fi
7690 else
7691 result=$wxUSE_GEOMETRY
7692 fi
7693
7694 { echo "$as_me:$LINENO: result: $result" >&5
7695 echo "${ECHO_T}$result" >&6; }
7696
7697
7698 enablestring=
7699 defaultval=$wxUSE_ALL_FEATURES
7700 if test -z "$defaultval"; then
7701 if test x"$enablestring" = xdisable; then
7702 defaultval=yes
7703 else
7704 defaultval=no
7705 fi
7706 fi
7707
7708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7710 # Check whether --enable-log was given.
7711 if test "${enable_log+set}" = set; then
7712 enableval=$enable_log;
7713 if test "$enableval" = yes; then
7714 wx_cv_use_log='wxUSE_LOG=yes'
7715 else
7716 wx_cv_use_log='wxUSE_LOG=no'
7717 fi
7718 cache=yes
7719
7720 else
7721
7722 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x ; then
7724 eval "DEFAULT_$LINE"
7725 fi
7726
7727 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7728
7729 fi
7730
7731
7732 eval "$wx_cv_use_log"
7733 if test "x$cache" = xyes; then
7734 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7735 fi
7736
7737 if test x"$enablestring" = xdisable; then
7738 if test $wxUSE_LOG = yes; then
7739 result=no
7740 else
7741 result=yes
7742 fi
7743 else
7744 result=$wxUSE_LOG
7745 fi
7746
7747 { echo "$as_me:$LINENO: result: $result" >&5
7748 echo "${ECHO_T}$result" >&6; }
7749
7750
7751 enablestring=
7752 defaultval=$wxUSE_ALL_FEATURES
7753 if test -z "$defaultval"; then
7754 if test x"$enablestring" = xdisable; then
7755 defaultval=yes
7756 else
7757 defaultval=no
7758 fi
7759 fi
7760
7761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7763 # Check whether --enable-longlong was given.
7764 if test "${enable_longlong+set}" = set; then
7765 enableval=$enable_longlong;
7766 if test "$enableval" = yes; then
7767 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7768 else
7769 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7770 fi
7771 cache=yes
7772
7773 else
7774
7775 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x ; then
7777 eval "DEFAULT_$LINE"
7778 fi
7779
7780 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7781
7782 fi
7783
7784
7785 eval "$wx_cv_use_longlong"
7786 if test "x$cache" = xyes; then
7787 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test x"$enablestring" = xdisable; then
7791 if test $wxUSE_LONGLONG = yes; then
7792 result=no
7793 else
7794 result=yes
7795 fi
7796 else
7797 result=$wxUSE_LONGLONG
7798 fi
7799
7800 { echo "$as_me:$LINENO: result: $result" >&5
7801 echo "${ECHO_T}$result" >&6; }
7802
7803
7804 enablestring=
7805 defaultval=$wxUSE_ALL_FEATURES
7806 if test -z "$defaultval"; then
7807 if test x"$enablestring" = xdisable; then
7808 defaultval=yes
7809 else
7810 defaultval=no
7811 fi
7812 fi
7813
7814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7815 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7816 # Check whether --enable-mimetype was given.
7817 if test "${enable_mimetype+set}" = set; then
7818 enableval=$enable_mimetype;
7819 if test "$enableval" = yes; then
7820 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7821 else
7822 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7823 fi
7824 cache=yes
7825
7826 else
7827
7828 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7831 fi
7832
7833 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7834
7835 fi
7836
7837
7838 eval "$wx_cv_use_mimetype"
7839 if test "x$cache" = xyes; then
7840 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7841 fi
7842
7843 if test x"$enablestring" = xdisable; then
7844 if test $wxUSE_MIMETYPE = yes; then
7845 result=no
7846 else
7847 result=yes
7848 fi
7849 else
7850 result=$wxUSE_MIMETYPE
7851 fi
7852
7853 { echo "$as_me:$LINENO: result: $result" >&5
7854 echo "${ECHO_T}$result" >&6; }
7855
7856
7857 enablestring=
7858 defaultval=$wxUSE_ALL_FEATURES
7859 if test -z "$defaultval"; then
7860 if test x"$enablestring" = xdisable; then
7861 defaultval=yes
7862 else
7863 defaultval=no
7864 fi
7865 fi
7866
7867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7869 # Check whether --enable-snglinst was given.
7870 if test "${enable_snglinst+set}" = set; then
7871 enableval=$enable_snglinst;
7872 if test "$enableval" = yes; then
7873 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7874 else
7875 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7876 fi
7877 cache=yes
7878
7879 else
7880
7881 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7882 if test "x$LINE" != x ; then
7883 eval "DEFAULT_$LINE"
7884 fi
7885
7886 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7887
7888 fi
7889
7890
7891 eval "$wx_cv_use_snglinst"
7892 if test "x$cache" = xyes; then
7893 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7894 fi
7895
7896 if test x"$enablestring" = xdisable; then
7897 if test $wxUSE_SNGLINST_CHECKER = yes; then
7898 result=no
7899 else
7900 result=yes
7901 fi
7902 else
7903 result=$wxUSE_SNGLINST_CHECKER
7904 fi
7905
7906 { echo "$as_me:$LINENO: result: $result" >&5
7907 echo "${ECHO_T}$result" >&6; }
7908
7909
7910 enablestring=
7911 defaultval=$wxUSE_ALL_FEATURES
7912 if test -z "$defaultval"; then
7913 if test x"$enablestring" = xdisable; then
7914 defaultval=yes
7915 else
7916 defaultval=no
7917 fi
7918 fi
7919
7920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7921 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7922 # Check whether --enable-stdpaths was given.
7923 if test "${enable_stdpaths+set}" = set; then
7924 enableval=$enable_stdpaths;
7925 if test "$enableval" = yes; then
7926 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7927 else
7928 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7929 fi
7930 cache=yes
7931
7932 else
7933
7934 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7937 fi
7938
7939 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7940
7941 fi
7942
7943
7944 eval "$wx_cv_use_stdpaths"
7945 if test "x$cache" = xyes; then
7946 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7947 fi
7948
7949 if test x"$enablestring" = xdisable; then
7950 if test $wxUSE_STDPATHS = yes; then
7951 result=no
7952 else
7953 result=yes
7954 fi
7955 else
7956 result=$wxUSE_STDPATHS
7957 fi
7958
7959 { echo "$as_me:$LINENO: result: $result" >&5
7960 echo "${ECHO_T}$result" >&6; }
7961
7962
7963 enablestring=
7964 defaultval=$wxUSE_ALL_FEATURES
7965 if test -z "$defaultval"; then
7966 if test x"$enablestring" = xdisable; then
7967 defaultval=yes
7968 else
7969 defaultval=no
7970 fi
7971 fi
7972
7973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7975 # Check whether --enable-stopwatch was given.
7976 if test "${enable_stopwatch+set}" = set; then
7977 enableval=$enable_stopwatch;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7980 else
7981 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7982 fi
7983 cache=yes
7984
7985 else
7986
7987 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7988 if test "x$LINE" != x ; then
7989 eval "DEFAULT_$LINE"
7990 fi
7991
7992 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7993
7994 fi
7995
7996
7997 eval "$wx_cv_use_stopwatch"
7998 if test "x$cache" = xyes; then
7999 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8000 fi
8001
8002 if test x"$enablestring" = xdisable; then
8003 if test $wxUSE_STOPWATCH = yes; then
8004 result=no
8005 else
8006 result=yes
8007 fi
8008 else
8009 result=$wxUSE_STOPWATCH
8010 fi
8011
8012 { echo "$as_me:$LINENO: result: $result" >&5
8013 echo "${ECHO_T}$result" >&6; }
8014
8015
8016 enablestring=
8017 defaultval=$wxUSE_ALL_FEATURES
8018 if test -z "$defaultval"; then
8019 if test x"$enablestring" = xdisable; then
8020 defaultval=yes
8021 else
8022 defaultval=no
8023 fi
8024 fi
8025
8026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8028 # Check whether --enable-streams was given.
8029 if test "${enable_streams+set}" = set; then
8030 enableval=$enable_streams;
8031 if test "$enableval" = yes; then
8032 wx_cv_use_streams='wxUSE_STREAMS=yes'
8033 else
8034 wx_cv_use_streams='wxUSE_STREAMS=no'
8035 fi
8036 cache=yes
8037
8038 else
8039
8040 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8041 if test "x$LINE" != x ; then
8042 eval "DEFAULT_$LINE"
8043 fi
8044
8045 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8046
8047 fi
8048
8049
8050 eval "$wx_cv_use_streams"
8051 if test "x$cache" = xyes; then
8052 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8053 fi
8054
8055 if test x"$enablestring" = xdisable; then
8056 if test $wxUSE_STREAMS = yes; then
8057 result=no
8058 else
8059 result=yes
8060 fi
8061 else
8062 result=$wxUSE_STREAMS
8063 fi
8064
8065 { echo "$as_me:$LINENO: result: $result" >&5
8066 echo "${ECHO_T}$result" >&6; }
8067
8068
8069 enablestring=
8070 defaultval=$wxUSE_ALL_FEATURES
8071 if test -z "$defaultval"; then
8072 if test x"$enablestring" = xdisable; then
8073 defaultval=yes
8074 else
8075 defaultval=no
8076 fi
8077 fi
8078
8079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8081 # Check whether --enable-system_options was given.
8082 if test "${enable_system_options+set}" = set; then
8083 enableval=$enable_system_options;
8084 if test "$enableval" = yes; then
8085 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8086 else
8087 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8088 fi
8089 cache=yes
8090
8091 else
8092
8093 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x ; then
8095 eval "DEFAULT_$LINE"
8096 fi
8097
8098 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8099
8100 fi
8101
8102
8103 eval "$wx_cv_use_system_options"
8104 if test "x$cache" = xyes; then
8105 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8106 fi
8107
8108 if test x"$enablestring" = xdisable; then
8109 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8110 result=no
8111 else
8112 result=yes
8113 fi
8114 else
8115 result=$wxUSE_SYSTEM_OPTIONS
8116 fi
8117
8118 { echo "$as_me:$LINENO: result: $result" >&5
8119 echo "${ECHO_T}$result" >&6; }
8120
8121
8122 enablestring=
8123 defaultval=$wxUSE_ALL_FEATURES
8124 if test -z "$defaultval"; then
8125 if test x"$enablestring" = xdisable; then
8126 defaultval=yes
8127 else
8128 defaultval=no
8129 fi
8130 fi
8131
8132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8133 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8134 # Check whether --enable-tarstream was given.
8135 if test "${enable_tarstream+set}" = set; then
8136 enableval=$enable_tarstream;
8137 if test "$enableval" = yes; then
8138 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8139 else
8140 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8141 fi
8142 cache=yes
8143
8144 else
8145
8146 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8147 if test "x$LINE" != x ; then
8148 eval "DEFAULT_$LINE"
8149 fi
8150
8151 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8152
8153 fi
8154
8155
8156 eval "$wx_cv_use_tarstream"
8157 if test "x$cache" = xyes; then
8158 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8159 fi
8160
8161 if test x"$enablestring" = xdisable; then
8162 if test $wxUSE_TARSTREAM = yes; then
8163 result=no
8164 else
8165 result=yes
8166 fi
8167 else
8168 result=$wxUSE_TARSTREAM
8169 fi
8170
8171 { echo "$as_me:$LINENO: result: $result" >&5
8172 echo "${ECHO_T}$result" >&6; }
8173
8174
8175 enablestring=
8176 defaultval=$wxUSE_ALL_FEATURES
8177 if test -z "$defaultval"; then
8178 if test x"$enablestring" = xdisable; then
8179 defaultval=yes
8180 else
8181 defaultval=no
8182 fi
8183 fi
8184
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8187 # Check whether --enable-textbuf was given.
8188 if test "${enable_textbuf+set}" = set; then
8189 enableval=$enable_textbuf;
8190 if test "$enableval" = yes; then
8191 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8192 else
8193 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8194 fi
8195 cache=yes
8196
8197 else
8198
8199 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8202 fi
8203
8204 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8205
8206 fi
8207
8208
8209 eval "$wx_cv_use_textbuf"
8210 if test "x$cache" = xyes; then
8211 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8212 fi
8213
8214 if test x"$enablestring" = xdisable; then
8215 if test $wxUSE_TEXTBUFFER = yes; then
8216 result=no
8217 else
8218 result=yes
8219 fi
8220 else
8221 result=$wxUSE_TEXTBUFFER
8222 fi
8223
8224 { echo "$as_me:$LINENO: result: $result" >&5
8225 echo "${ECHO_T}$result" >&6; }
8226
8227
8228 enablestring=
8229 defaultval=$wxUSE_ALL_FEATURES
8230 if test -z "$defaultval"; then
8231 if test x"$enablestring" = xdisable; then
8232 defaultval=yes
8233 else
8234 defaultval=no
8235 fi
8236 fi
8237
8238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8240 # Check whether --enable-textfile was given.
8241 if test "${enable_textfile+set}" = set; then
8242 enableval=$enable_textfile;
8243 if test "$enableval" = yes; then
8244 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8245 else
8246 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8247 fi
8248 cache=yes
8249
8250 else
8251
8252 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x ; then
8254 eval "DEFAULT_$LINE"
8255 fi
8256
8257 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8258
8259 fi
8260
8261
8262 eval "$wx_cv_use_textfile"
8263 if test "x$cache" = xyes; then
8264 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8265 fi
8266
8267 if test x"$enablestring" = xdisable; then
8268 if test $wxUSE_TEXTFILE = yes; then
8269 result=no
8270 else
8271 result=yes
8272 fi
8273 else
8274 result=$wxUSE_TEXTFILE
8275 fi
8276
8277 { echo "$as_me:$LINENO: result: $result" >&5
8278 echo "${ECHO_T}$result" >&6; }
8279
8280
8281 enablestring=
8282 defaultval=$wxUSE_ALL_FEATURES
8283 if test -z "$defaultval"; then
8284 if test x"$enablestring" = xdisable; then
8285 defaultval=yes
8286 else
8287 defaultval=no
8288 fi
8289 fi
8290
8291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8293 # Check whether --enable-timer was given.
8294 if test "${enable_timer+set}" = set; then
8295 enableval=$enable_timer;
8296 if test "$enableval" = yes; then
8297 wx_cv_use_timer='wxUSE_TIMER=yes'
8298 else
8299 wx_cv_use_timer='wxUSE_TIMER=no'
8300 fi
8301 cache=yes
8302
8303 else
8304
8305 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8306 if test "x$LINE" != x ; then
8307 eval "DEFAULT_$LINE"
8308 fi
8309
8310 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8311
8312 fi
8313
8314
8315 eval "$wx_cv_use_timer"
8316 if test "x$cache" = xyes; then
8317 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8318 fi
8319
8320 if test x"$enablestring" = xdisable; then
8321 if test $wxUSE_TIMER = yes; then
8322 result=no
8323 else
8324 result=yes
8325 fi
8326 else
8327 result=$wxUSE_TIMER
8328 fi
8329
8330 { echo "$as_me:$LINENO: result: $result" >&5
8331 echo "${ECHO_T}$result" >&6; }
8332
8333
8334 enablestring=
8335 defaultval=$wxUSE_ALL_FEATURES
8336 if test -z "$defaultval"; then
8337 if test x"$enablestring" = xdisable; then
8338 defaultval=yes
8339 else
8340 defaultval=no
8341 fi
8342 fi
8343
8344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8346 # Check whether --enable-sound was given.
8347 if test "${enable_sound+set}" = set; then
8348 enableval=$enable_sound;
8349 if test "$enableval" = yes; then
8350 wx_cv_use_sound='wxUSE_SOUND=yes'
8351 else
8352 wx_cv_use_sound='wxUSE_SOUND=no'
8353 fi
8354 cache=yes
8355
8356 else
8357
8358 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8359 if test "x$LINE" != x ; then
8360 eval "DEFAULT_$LINE"
8361 fi
8362
8363 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8364
8365 fi
8366
8367
8368 eval "$wx_cv_use_sound"
8369 if test "x$cache" = xyes; then
8370 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8371 fi
8372
8373 if test x"$enablestring" = xdisable; then
8374 if test $wxUSE_SOUND = yes; then
8375 result=no
8376 else
8377 result=yes
8378 fi
8379 else
8380 result=$wxUSE_SOUND
8381 fi
8382
8383 { echo "$as_me:$LINENO: result: $result" >&5
8384 echo "${ECHO_T}$result" >&6; }
8385
8386
8387 enablestring=
8388 defaultval=$wxUSE_ALL_FEATURES
8389 if test -z "$defaultval"; then
8390 if test x"$enablestring" = xdisable; then
8391 defaultval=yes
8392 else
8393 defaultval=no
8394 fi
8395 fi
8396
8397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8399 # Check whether --enable-mediactrl was given.
8400 if test "${enable_mediactrl+set}" = set; then
8401 enableval=$enable_mediactrl;
8402 if test "$enableval" = yes; then
8403 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8404 else
8405 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8406 fi
8407 cache=yes
8408
8409 else
8410
8411 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8412 if test "x$LINE" != x ; then
8413 eval "DEFAULT_$LINE"
8414 fi
8415
8416 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8417
8418 fi
8419
8420
8421 eval "$wx_cv_use_mediactrl"
8422 if test "x$cache" = xyes; then
8423 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8424 fi
8425
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_MEDIACTRL = yes; then
8428 result=no
8429 else
8430 result=yes
8431 fi
8432 else
8433 result=$wxUSE_MEDIACTRL
8434 fi
8435
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8438
8439
8440 enablestring=
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8444 defaultval=yes
8445 else
8446 defaultval=no
8447 fi
8448 fi
8449
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8452 # Check whether --enable-gstreamer8 was given.
8453 if test "${enable_gstreamer8+set}" = set; then
8454 enableval=$enable_gstreamer8;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8457 else
8458 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8459 fi
8460 cache=yes
8461
8462 else
8463
8464 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8467 fi
8468
8469 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8470
8471 fi
8472
8473
8474 eval "$wx_cv_use_gstreamer8"
8475 if test "x$cache" = xyes; then
8476 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8477 fi
8478
8479 if test x"$enablestring" = xdisable; then
8480 if test $wxUSE_GSTREAMER8 = yes; then
8481 result=no
8482 else
8483 result=yes
8484 fi
8485 else
8486 result=$wxUSE_GSTREAMER8
8487 fi
8488
8489 { echo "$as_me:$LINENO: result: $result" >&5
8490 echo "${ECHO_T}$result" >&6; }
8491
8492
8493 enablestring=
8494 defaultval=$wxUSE_ALL_FEATURES
8495 if test -z "$defaultval"; then
8496 if test x"$enablestring" = xdisable; then
8497 defaultval=yes
8498 else
8499 defaultval=no
8500 fi
8501 fi
8502
8503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8505 # Check whether --enable-printfposparam was given.
8506 if test "${enable_printfposparam+set}" = set; then
8507 enableval=$enable_printfposparam;
8508 if test "$enableval" = yes; then
8509 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8510 else
8511 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8512 fi
8513 cache=yes
8514
8515 else
8516
8517 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8518 if test "x$LINE" != x ; then
8519 eval "DEFAULT_$LINE"
8520 fi
8521
8522 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8523
8524 fi
8525
8526
8527 eval "$wx_cv_use_printfposparam"
8528 if test "x$cache" = xyes; then
8529 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8530 fi
8531
8532 if test x"$enablestring" = xdisable; then
8533 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8534 result=no
8535 else
8536 result=yes
8537 fi
8538 else
8539 result=$wxUSE_PRINTF_POS_PARAMS
8540 fi
8541
8542 { echo "$as_me:$LINENO: result: $result" >&5
8543 echo "${ECHO_T}$result" >&6; }
8544
8545
8546 enablestring=
8547 defaultval=$wxUSE_ALL_FEATURES
8548 if test -z "$defaultval"; then
8549 if test x"$enablestring" = xdisable; then
8550 defaultval=yes
8551 else
8552 defaultval=no
8553 fi
8554 fi
8555
8556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8557 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8558 # Check whether --enable-zipstream was given.
8559 if test "${enable_zipstream+set}" = set; then
8560 enableval=$enable_zipstream;
8561 if test "$enableval" = yes; then
8562 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8563 else
8564 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8565 fi
8566 cache=yes
8567
8568 else
8569
8570 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8571 if test "x$LINE" != x ; then
8572 eval "DEFAULT_$LINE"
8573 fi
8574
8575 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8576
8577 fi
8578
8579
8580 eval "$wx_cv_use_zipstream"
8581 if test "x$cache" = xyes; then
8582 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8583 fi
8584
8585 if test x"$enablestring" = xdisable; then
8586 if test $wxUSE_ZIPSTREAM = yes; then
8587 result=no
8588 else
8589 result=yes
8590 fi
8591 else
8592 result=$wxUSE_ZIPSTREAM
8593 fi
8594
8595 { echo "$as_me:$LINENO: result: $result" >&5
8596 echo "${ECHO_T}$result" >&6; }
8597
8598
8599
8600 enablestring=
8601 defaultval=$wxUSE_ALL_FEATURES
8602 if test -z "$defaultval"; then
8603 if test x"$enablestring" = xdisable; then
8604 defaultval=yes
8605 else
8606 defaultval=no
8607 fi
8608 fi
8609
8610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8612 # Check whether --enable-url was given.
8613 if test "${enable_url+set}" = set; then
8614 enableval=$enable_url;
8615 if test "$enableval" = yes; then
8616 wx_cv_use_url='wxUSE_URL=yes'
8617 else
8618 wx_cv_use_url='wxUSE_URL=no'
8619 fi
8620 cache=yes
8621
8622 else
8623
8624 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x ; then
8626 eval "DEFAULT_$LINE"
8627 fi
8628
8629 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8630
8631 fi
8632
8633
8634 eval "$wx_cv_use_url"
8635 if test "x$cache" = xyes; then
8636 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8637 fi
8638
8639 if test x"$enablestring" = xdisable; then
8640 if test $wxUSE_URL = yes; then
8641 result=no
8642 else
8643 result=yes
8644 fi
8645 else
8646 result=$wxUSE_URL
8647 fi
8648
8649 { echo "$as_me:$LINENO: result: $result" >&5
8650 echo "${ECHO_T}$result" >&6; }
8651
8652
8653 enablestring=
8654 defaultval=$wxUSE_ALL_FEATURES
8655 if test -z "$defaultval"; then
8656 if test x"$enablestring" = xdisable; then
8657 defaultval=yes
8658 else
8659 defaultval=no
8660 fi
8661 fi
8662
8663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8665 # Check whether --enable-variant was given.
8666 if test "${enable_variant+set}" = set; then
8667 enableval=$enable_variant;
8668 if test "$enableval" = yes; then
8669 wx_cv_use_variant='wxUSE_VARIANT=yes'
8670 else
8671 wx_cv_use_variant='wxUSE_VARIANT=no'
8672 fi
8673 cache=yes
8674
8675 else
8676
8677 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x ; then
8679 eval "DEFAULT_$LINE"
8680 fi
8681
8682 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8683
8684 fi
8685
8686
8687 eval "$wx_cv_use_variant"
8688 if test "x$cache" = xyes; then
8689 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8690 fi
8691
8692 if test x"$enablestring" = xdisable; then
8693 if test $wxUSE_VARIANT = yes; then
8694 result=no
8695 else
8696 result=yes
8697 fi
8698 else
8699 result=$wxUSE_VARIANT
8700 fi
8701
8702 { echo "$as_me:$LINENO: result: $result" >&5
8703 echo "${ECHO_T}$result" >&6; }
8704
8705
8706 enablestring=
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8710 defaultval=yes
8711 else
8712 defaultval=no
8713 fi
8714 fi
8715
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8718 # Check whether --enable-protocol was given.
8719 if test "${enable_protocol+set}" = set; then
8720 enableval=$enable_protocol;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8723 else
8724 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8725 fi
8726 cache=yes
8727
8728 else
8729
8730 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x ; then
8732 eval "DEFAULT_$LINE"
8733 fi
8734
8735 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8736
8737 fi
8738
8739
8740 eval "$wx_cv_use_protocol"
8741 if test "x$cache" = xyes; then
8742 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8743 fi
8744
8745 if test x"$enablestring" = xdisable; then
8746 if test $wxUSE_PROTOCOL = yes; then
8747 result=no
8748 else
8749 result=yes
8750 fi
8751 else
8752 result=$wxUSE_PROTOCOL
8753 fi
8754
8755 { echo "$as_me:$LINENO: result: $result" >&5
8756 echo "${ECHO_T}$result" >&6; }
8757
8758
8759 enablestring=
8760 defaultval=$wxUSE_ALL_FEATURES
8761 if test -z "$defaultval"; then
8762 if test x"$enablestring" = xdisable; then
8763 defaultval=yes
8764 else
8765 defaultval=no
8766 fi
8767 fi
8768
8769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8771 # Check whether --enable-protocol_http was given.
8772 if test "${enable_protocol_http+set}" = set; then
8773 enableval=$enable_protocol_http;
8774 if test "$enableval" = yes; then
8775 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8776 else
8777 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8778 fi
8779 cache=yes
8780
8781 else
8782
8783 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 fi
8787
8788 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8789
8790 fi
8791
8792
8793 eval "$wx_cv_use_protocol_http"
8794 if test "x$cache" = xyes; then
8795 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8796 fi
8797
8798 if test x"$enablestring" = xdisable; then
8799 if test $wxUSE_PROTOCOL_HTTP = yes; then
8800 result=no
8801 else
8802 result=yes
8803 fi
8804 else
8805 result=$wxUSE_PROTOCOL_HTTP
8806 fi
8807
8808 { echo "$as_me:$LINENO: result: $result" >&5
8809 echo "${ECHO_T}$result" >&6; }
8810
8811
8812 enablestring=
8813 defaultval=$wxUSE_ALL_FEATURES
8814 if test -z "$defaultval"; then
8815 if test x"$enablestring" = xdisable; then
8816 defaultval=yes
8817 else
8818 defaultval=no
8819 fi
8820 fi
8821
8822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8824 # Check whether --enable-protocol_ftp was given.
8825 if test "${enable_protocol_ftp+set}" = set; then
8826 enableval=$enable_protocol_ftp;
8827 if test "$enableval" = yes; then
8828 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8829 else
8830 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8831 fi
8832 cache=yes
8833
8834 else
8835
8836 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8839 fi
8840
8841 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8842
8843 fi
8844
8845
8846 eval "$wx_cv_use_protocol_ftp"
8847 if test "x$cache" = xyes; then
8848 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8849 fi
8850
8851 if test x"$enablestring" = xdisable; then
8852 if test $wxUSE_PROTOCOL_FTP = yes; then
8853 result=no
8854 else
8855 result=yes
8856 fi
8857 else
8858 result=$wxUSE_PROTOCOL_FTP
8859 fi
8860
8861 { echo "$as_me:$LINENO: result: $result" >&5
8862 echo "${ECHO_T}$result" >&6; }
8863
8864
8865 enablestring=
8866 defaultval=$wxUSE_ALL_FEATURES
8867 if test -z "$defaultval"; then
8868 if test x"$enablestring" = xdisable; then
8869 defaultval=yes
8870 else
8871 defaultval=no
8872 fi
8873 fi
8874
8875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8877 # Check whether --enable-protocol_file was given.
8878 if test "${enable_protocol_file+set}" = set; then
8879 enableval=$enable_protocol_file;
8880 if test "$enableval" = yes; then
8881 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8882 else
8883 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8884 fi
8885 cache=yes
8886
8887 else
8888
8889 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8890 if test "x$LINE" != x ; then
8891 eval "DEFAULT_$LINE"
8892 fi
8893
8894 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8895
8896 fi
8897
8898
8899 eval "$wx_cv_use_protocol_file"
8900 if test "x$cache" = xyes; then
8901 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8902 fi
8903
8904 if test x"$enablestring" = xdisable; then
8905 if test $wxUSE_PROTOCOL_FILE = yes; then
8906 result=no
8907 else
8908 result=yes
8909 fi
8910 else
8911 result=$wxUSE_PROTOCOL_FILE
8912 fi
8913
8914 { echo "$as_me:$LINENO: result: $result" >&5
8915 echo "${ECHO_T}$result" >&6; }
8916
8917
8918
8919 enablestring=
8920 defaultval=$wxUSE_ALL_FEATURES
8921 if test -z "$defaultval"; then
8922 if test x"$enablestring" = xdisable; then
8923 defaultval=yes
8924 else
8925 defaultval=no
8926 fi
8927 fi
8928
8929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8930 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8931 # Check whether --enable-threads was given.
8932 if test "${enable_threads+set}" = set; then
8933 enableval=$enable_threads;
8934 if test "$enableval" = yes; then
8935 wx_cv_use_threads='wxUSE_THREADS=yes'
8936 else
8937 wx_cv_use_threads='wxUSE_THREADS=no'
8938 fi
8939 cache=yes
8940
8941 else
8942
8943 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8944 if test "x$LINE" != x ; then
8945 eval "DEFAULT_$LINE"
8946 fi
8947
8948 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_threads"
8954 if test "x$cache" = xyes; then
8955 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8956 fi
8957
8958 if test x"$enablestring" = xdisable; then
8959 if test $wxUSE_THREADS = yes; then
8960 result=no
8961 else
8962 result=yes
8963 fi
8964 else
8965 result=$wxUSE_THREADS
8966 fi
8967
8968 { echo "$as_me:$LINENO: result: $result" >&5
8969 echo "${ECHO_T}$result" >&6; }
8970
8971
8972 if test "$wxUSE_GUI" = "yes"; then
8973
8974
8975
8976 enablestring=
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8980 defaultval=yes
8981 else
8982 defaultval=no
8983 fi
8984 fi
8985
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8988 # Check whether --enable-docview was given.
8989 if test "${enable_docview+set}" = set; then
8990 enableval=$enable_docview;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8993 else
8994 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8995 fi
8996 cache=yes
8997
8998 else
8999
9000 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9003 fi
9004
9005 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9006
9007 fi
9008
9009
9010 eval "$wx_cv_use_docview"
9011 if test "x$cache" = xyes; then
9012 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test x"$enablestring" = xdisable; then
9016 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9017 result=no
9018 else
9019 result=yes
9020 fi
9021 else
9022 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9023 fi
9024
9025 { echo "$as_me:$LINENO: result: $result" >&5
9026 echo "${ECHO_T}$result" >&6; }
9027
9028
9029 enablestring=
9030 defaultval=$wxUSE_ALL_FEATURES
9031 if test -z "$defaultval"; then
9032 if test x"$enablestring" = xdisable; then
9033 defaultval=yes
9034 else
9035 defaultval=no
9036 fi
9037 fi
9038
9039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9041 # Check whether --enable-help was given.
9042 if test "${enable_help+set}" = set; then
9043 enableval=$enable_help;
9044 if test "$enableval" = yes; then
9045 wx_cv_use_help='wxUSE_HELP=yes'
9046 else
9047 wx_cv_use_help='wxUSE_HELP=no'
9048 fi
9049 cache=yes
9050
9051 else
9052
9053 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9056 fi
9057
9058 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9059
9060 fi
9061
9062
9063 eval "$wx_cv_use_help"
9064 if test "x$cache" = xyes; then
9065 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9066 fi
9067
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_HELP = yes; then
9070 result=no
9071 else
9072 result=yes
9073 fi
9074 else
9075 result=$wxUSE_HELP
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}-mshtmlhelp" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9094 # Check whether --enable-mshtmlhelp was given.
9095 if test "${enable_mshtmlhelp+set}" = set; then
9096 enableval=$enable_mshtmlhelp;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9099 else
9100 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9101 fi
9102 cache=yes
9103
9104 else
9105
9106 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9107 if test "x$LINE" != x ; then
9108 eval "DEFAULT_$LINE"
9109 fi
9110
9111 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9112
9113 fi
9114
9115
9116 eval "$wx_cv_use_mshtmlhelp"
9117 if test "x$cache" = xyes; then
9118 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9119 fi
9120
9121 if test x"$enablestring" = xdisable; then
9122 if test $wxUSE_MS_HTML_HELP = yes; then
9123 result=no
9124 else
9125 result=yes
9126 fi
9127 else
9128 result=$wxUSE_MS_HTML_HELP
9129 fi
9130
9131 { echo "$as_me:$LINENO: result: $result" >&5
9132 echo "${ECHO_T}$result" >&6; }
9133
9134
9135 enablestring=
9136 defaultval=$wxUSE_ALL_FEATURES
9137 if test -z "$defaultval"; then
9138 if test x"$enablestring" = xdisable; then
9139 defaultval=yes
9140 else
9141 defaultval=no
9142 fi
9143 fi
9144
9145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9147 # Check whether --enable-html was given.
9148 if test "${enable_html+set}" = set; then
9149 enableval=$enable_html;
9150 if test "$enableval" = yes; then
9151 wx_cv_use_html='wxUSE_HTML=yes'
9152 else
9153 wx_cv_use_html='wxUSE_HTML=no'
9154 fi
9155 cache=yes
9156
9157 else
9158
9159 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x ; then
9161 eval "DEFAULT_$LINE"
9162 fi
9163
9164 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9165
9166 fi
9167
9168
9169 eval "$wx_cv_use_html"
9170 if test "x$cache" = xyes; then
9171 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9172 fi
9173
9174 if test x"$enablestring" = xdisable; then
9175 if test $wxUSE_HTML = yes; then
9176 result=no
9177 else
9178 result=yes
9179 fi
9180 else
9181 result=$wxUSE_HTML
9182 fi
9183
9184 { echo "$as_me:$LINENO: result: $result" >&5
9185 echo "${ECHO_T}$result" >&6; }
9186
9187
9188 enablestring=
9189 defaultval=$wxUSE_ALL_FEATURES
9190 if test -z "$defaultval"; then
9191 if test x"$enablestring" = xdisable; then
9192 defaultval=yes
9193 else
9194 defaultval=no
9195 fi
9196 fi
9197
9198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9200 # Check whether --enable-htmlhelp was given.
9201 if test "${enable_htmlhelp+set}" = set; then
9202 enableval=$enable_htmlhelp;
9203 if test "$enableval" = yes; then
9204 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9205 else
9206 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9207 fi
9208 cache=yes
9209
9210 else
9211
9212 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9213 if test "x$LINE" != x ; then
9214 eval "DEFAULT_$LINE"
9215 fi
9216
9217 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9218
9219 fi
9220
9221
9222 eval "$wx_cv_use_htmlhelp"
9223 if test "x$cache" = xyes; then
9224 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9225 fi
9226
9227 if test x"$enablestring" = xdisable; then
9228 if test $wxUSE_WXHTML_HELP = yes; then
9229 result=no
9230 else
9231 result=yes
9232 fi
9233 else
9234 result=$wxUSE_WXHTML_HELP
9235 fi
9236
9237 { echo "$as_me:$LINENO: result: $result" >&5
9238 echo "${ECHO_T}$result" >&6; }
9239
9240
9241 enablestring=
9242 defaultval=$wxUSE_ALL_FEATURES
9243 if test -z "$defaultval"; then
9244 if test x"$enablestring" = xdisable; then
9245 defaultval=yes
9246 else
9247 defaultval=no
9248 fi
9249 fi
9250
9251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9253 # Check whether --enable-xrc was given.
9254 if test "${enable_xrc+set}" = set; then
9255 enableval=$enable_xrc;
9256 if test "$enableval" = yes; then
9257 wx_cv_use_xrc='wxUSE_XRC=yes'
9258 else
9259 wx_cv_use_xrc='wxUSE_XRC=no'
9260 fi
9261 cache=yes
9262
9263 else
9264
9265 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x ; then
9267 eval "DEFAULT_$LINE"
9268 fi
9269
9270 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9271
9272 fi
9273
9274
9275 eval "$wx_cv_use_xrc"
9276 if test "x$cache" = xyes; then
9277 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test x"$enablestring" = xdisable; then
9281 if test $wxUSE_XRC = yes; then
9282 result=no
9283 else
9284 result=yes
9285 fi
9286 else
9287 result=$wxUSE_XRC
9288 fi
9289
9290 { echo "$as_me:$LINENO: result: $result" >&5
9291 echo "${ECHO_T}$result" >&6; }
9292
9293
9294 enablestring=
9295 defaultval=$wxUSE_ALL_FEATURES
9296 if test -z "$defaultval"; then
9297 if test x"$enablestring" = xdisable; then
9298 defaultval=yes
9299 else
9300 defaultval=no
9301 fi
9302 fi
9303
9304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9306 # Check whether --enable-aui was given.
9307 if test "${enable_aui+set}" = set; then
9308 enableval=$enable_aui;
9309 if test "$enableval" = yes; then
9310 wx_cv_use_aui='wxUSE_AUI=yes'
9311 else
9312 wx_cv_use_aui='wxUSE_AUI=no'
9313 fi
9314 cache=yes
9315
9316 else
9317
9318 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9319 if test "x$LINE" != x ; then
9320 eval "DEFAULT_$LINE"
9321 fi
9322
9323 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9324
9325 fi
9326
9327
9328 eval "$wx_cv_use_aui"
9329 if test "x$cache" = xyes; then
9330 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9331 fi
9332
9333 if test x"$enablestring" = xdisable; then
9334 if test $wxUSE_AUI = yes; then
9335 result=no
9336 else
9337 result=yes
9338 fi
9339 else
9340 result=$wxUSE_AUI
9341 fi
9342
9343 { echo "$as_me:$LINENO: result: $result" >&5
9344 echo "${ECHO_T}$result" >&6; }
9345
9346
9347 enablestring=
9348 defaultval=$wxUSE_ALL_FEATURES
9349 if test -z "$defaultval"; then
9350 if test x"$enablestring" = xdisable; then
9351 defaultval=yes
9352 else
9353 defaultval=no
9354 fi
9355 fi
9356
9357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9358 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9359 # Check whether --enable-stc was given.
9360 if test "${enable_stc+set}" = set; then
9361 enableval=$enable_stc;
9362 if test "$enableval" = yes; then
9363 wx_cv_use_stc='wxUSE_STC=yes'
9364 else
9365 wx_cv_use_stc='wxUSE_STC=no'
9366 fi
9367 cache=yes
9368
9369 else
9370
9371 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9374 fi
9375
9376 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9377
9378 fi
9379
9380
9381 eval "$wx_cv_use_stc"
9382 if test "x$cache" = xyes; then
9383 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9384 fi
9385
9386 if test x"$enablestring" = xdisable; then
9387 if test $wxUSE_STC = yes; then
9388 result=no
9389 else
9390 result=yes
9391 fi
9392 else
9393 result=$wxUSE_STC
9394 fi
9395
9396 { echo "$as_me:$LINENO: result: $result" >&5
9397 echo "${ECHO_T}$result" >&6; }
9398
9399
9400 enablestring=
9401 defaultval=$wxUSE_ALL_FEATURES
9402 if test -z "$defaultval"; then
9403 if test x"$enablestring" = xdisable; then
9404 defaultval=yes
9405 else
9406 defaultval=no
9407 fi
9408 fi
9409
9410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9412 # Check whether --enable-constraints was given.
9413 if test "${enable_constraints+set}" = set; then
9414 enableval=$enable_constraints;
9415 if test "$enableval" = yes; then
9416 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9417 else
9418 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9419 fi
9420 cache=yes
9421
9422 else
9423
9424 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9425 if test "x$LINE" != x ; then
9426 eval "DEFAULT_$LINE"
9427 fi
9428
9429 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9430
9431 fi
9432
9433
9434 eval "$wx_cv_use_constraints"
9435 if test "x$cache" = xyes; then
9436 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9437 fi
9438
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_CONSTRAINTS = yes; then
9441 result=no
9442 else
9443 result=yes
9444 fi
9445 else
9446 result=$wxUSE_CONSTRAINTS
9447 fi
9448
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9451
9452
9453 enablestring=
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9457 defaultval=yes
9458 else
9459 defaultval=no
9460 fi
9461 fi
9462
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9465 # Check whether --enable-printarch was given.
9466 if test "${enable_printarch+set}" = set; then
9467 enableval=$enable_printarch;
9468 if test "$enableval" = yes; then
9469 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9470 else
9471 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9472 fi
9473 cache=yes
9474
9475 else
9476
9477 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x ; then
9479 eval "DEFAULT_$LINE"
9480 fi
9481
9482 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9483
9484 fi
9485
9486
9487 eval "$wx_cv_use_printarch"
9488 if test "x$cache" = xyes; then
9489 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9490 fi
9491
9492 if test x"$enablestring" = xdisable; then
9493 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9494 result=no
9495 else
9496 result=yes
9497 fi
9498 else
9499 result=$wxUSE_PRINTING_ARCHITECTURE
9500 fi
9501
9502 { echo "$as_me:$LINENO: result: $result" >&5
9503 echo "${ECHO_T}$result" >&6; }
9504
9505
9506 enablestring=
9507 defaultval=$wxUSE_ALL_FEATURES
9508 if test -z "$defaultval"; then
9509 if test x"$enablestring" = xdisable; then
9510 defaultval=yes
9511 else
9512 defaultval=no
9513 fi
9514 fi
9515
9516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9518 # Check whether --enable-mdi was given.
9519 if test "${enable_mdi+set}" = set; then
9520 enableval=$enable_mdi;
9521 if test "$enableval" = yes; then
9522 wx_cv_use_mdi='wxUSE_MDI=yes'
9523 else
9524 wx_cv_use_mdi='wxUSE_MDI=no'
9525 fi
9526 cache=yes
9527
9528 else
9529
9530 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x ; then
9532 eval "DEFAULT_$LINE"
9533 fi
9534
9535 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9536
9537 fi
9538
9539
9540 eval "$wx_cv_use_mdi"
9541 if test "x$cache" = xyes; then
9542 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9543 fi
9544
9545 if test x"$enablestring" = xdisable; then
9546 if test $wxUSE_MDI = yes; then
9547 result=no
9548 else
9549 result=yes
9550 fi
9551 else
9552 result=$wxUSE_MDI
9553 fi
9554
9555 { echo "$as_me:$LINENO: result: $result" >&5
9556 echo "${ECHO_T}$result" >&6; }
9557
9558
9559 enablestring=
9560 defaultval=$wxUSE_ALL_FEATURES
9561 if test -z "$defaultval"; then
9562 if test x"$enablestring" = xdisable; then
9563 defaultval=yes
9564 else
9565 defaultval=no
9566 fi
9567 fi
9568
9569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9571 # Check whether --enable-mdidoc was given.
9572 if test "${enable_mdidoc+set}" = set; then
9573 enableval=$enable_mdidoc;
9574 if test "$enableval" = yes; then
9575 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9576 else
9577 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9578 fi
9579 cache=yes
9580
9581 else
9582
9583 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9584 if test "x$LINE" != x ; then
9585 eval "DEFAULT_$LINE"
9586 fi
9587
9588 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9589
9590 fi
9591
9592
9593 eval "$wx_cv_use_mdidoc"
9594 if test "x$cache" = xyes; then
9595 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9596 fi
9597
9598 if test x"$enablestring" = xdisable; then
9599 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9600 result=no
9601 else
9602 result=yes
9603 fi
9604 else
9605 result=$wxUSE_MDI_ARCHITECTURE
9606 fi
9607
9608 { echo "$as_me:$LINENO: result: $result" >&5
9609 echo "${ECHO_T}$result" >&6; }
9610
9611
9612 enablestring=
9613 defaultval=$wxUSE_ALL_FEATURES
9614 if test -z "$defaultval"; then
9615 if test x"$enablestring" = xdisable; then
9616 defaultval=yes
9617 else
9618 defaultval=no
9619 fi
9620 fi
9621
9622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9624 # Check whether --enable-loggui was given.
9625 if test "${enable_loggui+set}" = set; then
9626 enableval=$enable_loggui;
9627 if test "$enableval" = yes; then
9628 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9629 else
9630 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9631 fi
9632 cache=yes
9633
9634 else
9635
9636 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9637 if test "x$LINE" != x ; then
9638 eval "DEFAULT_$LINE"
9639 fi
9640
9641 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9642
9643 fi
9644
9645
9646 eval "$wx_cv_use_loggui"
9647 if test "x$cache" = xyes; then
9648 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9649 fi
9650
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_LOGGUI = yes; then
9653 result=no
9654 else
9655 result=yes
9656 fi
9657 else
9658 result=$wxUSE_LOGGUI
9659 fi
9660
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9663
9664
9665 enablestring=
9666 defaultval=$wxUSE_ALL_FEATURES
9667 if test -z "$defaultval"; then
9668 if test x"$enablestring" = xdisable; then
9669 defaultval=yes
9670 else
9671 defaultval=no
9672 fi
9673 fi
9674
9675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9677 # Check whether --enable-logwin was given.
9678 if test "${enable_logwin+set}" = set; then
9679 enableval=$enable_logwin;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9682 else
9683 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9684 fi
9685 cache=yes
9686
9687 else
9688
9689 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9690 if test "x$LINE" != x ; then
9691 eval "DEFAULT_$LINE"
9692 fi
9693
9694 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9695
9696 fi
9697
9698
9699 eval "$wx_cv_use_logwin"
9700 if test "x$cache" = xyes; then
9701 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9702 fi
9703
9704 if test x"$enablestring" = xdisable; then
9705 if test $wxUSE_LOGWINDOW = yes; then
9706 result=no
9707 else
9708 result=yes
9709 fi
9710 else
9711 result=$wxUSE_LOGWINDOW
9712 fi
9713
9714 { echo "$as_me:$LINENO: result: $result" >&5
9715 echo "${ECHO_T}$result" >&6; }
9716
9717
9718 enablestring=
9719 defaultval=$wxUSE_ALL_FEATURES
9720 if test -z "$defaultval"; then
9721 if test x"$enablestring" = xdisable; then
9722 defaultval=yes
9723 else
9724 defaultval=no
9725 fi
9726 fi
9727
9728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9729 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9730 # Check whether --enable-logdialog was given.
9731 if test "${enable_logdialog+set}" = set; then
9732 enableval=$enable_logdialog;
9733 if test "$enableval" = yes; then
9734 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9735 else
9736 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9737 fi
9738 cache=yes
9739
9740 else
9741
9742 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9745 fi
9746
9747 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9748
9749 fi
9750
9751
9752 eval "$wx_cv_use_logdialog"
9753 if test "x$cache" = xyes; then
9754 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9755 fi
9756
9757 if test x"$enablestring" = xdisable; then
9758 if test $wxUSE_LOGDIALOG = yes; then
9759 result=no
9760 else
9761 result=yes
9762 fi
9763 else
9764 result=$wxUSE_LOGDIALOG
9765 fi
9766
9767 { echo "$as_me:$LINENO: result: $result" >&5
9768 echo "${ECHO_T}$result" >&6; }
9769
9770
9771 enablestring=
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9775 defaultval=yes
9776 else
9777 defaultval=no
9778 fi
9779 fi
9780
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9783 # Check whether --enable-webkit was given.
9784 if test "${enable_webkit+set}" = set; then
9785 enableval=$enable_webkit;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9788 else
9789 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9790 fi
9791 cache=yes
9792
9793 else
9794
9795 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9796 if test "x$LINE" != x ; then
9797 eval "DEFAULT_$LINE"
9798 fi
9799
9800 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9801
9802 fi
9803
9804
9805 eval "$wx_cv_use_webkit"
9806 if test "x$cache" = xyes; then
9807 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9808 fi
9809
9810 if test x"$enablestring" = xdisable; then
9811 if test $wxUSE_WEBKIT = yes; then
9812 result=no
9813 else
9814 result=yes
9815 fi
9816 else
9817 result=$wxUSE_WEBKIT
9818 fi
9819
9820 { echo "$as_me:$LINENO: result: $result" >&5
9821 echo "${ECHO_T}$result" >&6; }
9822
9823
9824 enablestring=
9825 defaultval=$wxUSE_ALL_FEATURES
9826 if test -z "$defaultval"; then
9827 if test x"$enablestring" = xdisable; then
9828 defaultval=yes
9829 else
9830 defaultval=no
9831 fi
9832 fi
9833
9834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9836 # Check whether --enable-richtext was given.
9837 if test "${enable_richtext+set}" = set; then
9838 enableval=$enable_richtext;
9839 if test "$enableval" = yes; then
9840 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9841 else
9842 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9843 fi
9844 cache=yes
9845
9846 else
9847
9848 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9849 if test "x$LINE" != x ; then
9850 eval "DEFAULT_$LINE"
9851 fi
9852
9853 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9854
9855 fi
9856
9857
9858 eval "$wx_cv_use_richtext"
9859 if test "x$cache" = xyes; then
9860 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9861 fi
9862
9863 if test x"$enablestring" = xdisable; then
9864 if test $wxUSE_RICHTEXT = yes; then
9865 result=no
9866 else
9867 result=yes
9868 fi
9869 else
9870 result=$wxUSE_RICHTEXT
9871 fi
9872
9873 { echo "$as_me:$LINENO: result: $result" >&5
9874 echo "${ECHO_T}$result" >&6; }
9875
9876
9877 enablestring=
9878 defaultval=$wxUSE_ALL_FEATURES
9879 if test -z "$defaultval"; then
9880 if test x"$enablestring" = xdisable; then
9881 defaultval=yes
9882 else
9883 defaultval=no
9884 fi
9885 fi
9886
9887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9889 # Check whether --enable-graphics_ctx was given.
9890 if test "${enable_graphics_ctx+set}" = set; then
9891 enableval=$enable_graphics_ctx;
9892 if test "$enableval" = yes; then
9893 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9894 else
9895 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9896 fi
9897 cache=yes
9898
9899 else
9900
9901 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9902 if test "x$LINE" != x ; then
9903 eval "DEFAULT_$LINE"
9904 fi
9905
9906 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9907
9908 fi
9909
9910
9911 eval "$wx_cv_use_graphics_ctx"
9912 if test "x$cache" = xyes; then
9913 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9914 fi
9915
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9918 result=no
9919 else
9920 result=yes
9921 fi
9922 else
9923 result=$wxUSE_GRAPHICS_CONTEXT
9924 fi
9925
9926 { echo "$as_me:$LINENO: result: $result" >&5
9927 echo "${ECHO_T}$result" >&6; }
9928
9929
9930 enablestring=
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9934 defaultval=yes
9935 else
9936 defaultval=no
9937 fi
9938 fi
9939
9940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9942 # Check whether --enable-postscript was given.
9943 if test "${enable_postscript+set}" = set; then
9944 enableval=$enable_postscript;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9947 else
9948 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9949 fi
9950 cache=yes
9951
9952 else
9953
9954 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9955 if test "x$LINE" != x ; then
9956 eval "DEFAULT_$LINE"
9957 fi
9958
9959 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9960
9961 fi
9962
9963
9964 eval "$wx_cv_use_postscript"
9965 if test "x$cache" = xyes; then
9966 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9967 fi
9968
9969 if test x"$enablestring" = xdisable; then
9970 if test $wxUSE_POSTSCRIPT = yes; then
9971 result=no
9972 else
9973 result=yes
9974 fi
9975 else
9976 result=$wxUSE_POSTSCRIPT
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}-svg" >&5
9994 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9995 # Check whether --enable-svg was given.
9996 if test "${enable_svg+set}" = set; then
9997 enableval=$enable_svg;
9998 if test "$enableval" = yes; then
9999 wx_cv_use_svg='wxUSE_SVG=yes'
10000 else
10001 wx_cv_use_svg='wxUSE_SVG=no'
10002 fi
10003 cache=yes
10004
10005 else
10006
10007 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10008 if test "x$LINE" != x ; then
10009 eval "DEFAULT_$LINE"
10010 fi
10011
10012 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10013
10014 fi
10015
10016
10017 eval "$wx_cv_use_svg"
10018 if test "x$cache" = xyes; then
10019 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10020 fi
10021
10022 if test x"$enablestring" = xdisable; then
10023 if test $wxUSE_SVG = yes; then
10024 result=no
10025 else
10026 result=yes
10027 fi
10028 else
10029 result=$wxUSE_SVG
10030 fi
10031
10032 { echo "$as_me:$LINENO: result: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10034
10035
10036
10037
10038 enablestring=
10039 defaultval=$wxUSE_ALL_FEATURES
10040 if test -z "$defaultval"; then
10041 if test x"$enablestring" = xdisable; then
10042 defaultval=yes
10043 else
10044 defaultval=no
10045 fi
10046 fi
10047
10048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10049 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10050 # Check whether --enable-clipboard was given.
10051 if test "${enable_clipboard+set}" = set; then
10052 enableval=$enable_clipboard;
10053 if test "$enableval" = yes; then
10054 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10055 else
10056 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10057 fi
10058 cache=yes
10059
10060 else
10061
10062 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10063 if test "x$LINE" != x ; then
10064 eval "DEFAULT_$LINE"
10065 fi
10066
10067 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10068
10069 fi
10070
10071
10072 eval "$wx_cv_use_clipboard"
10073 if test "x$cache" = xyes; then
10074 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10075 fi
10076
10077 if test x"$enablestring" = xdisable; then
10078 if test $wxUSE_CLIPBOARD = yes; then
10079 result=no
10080 else
10081 result=yes
10082 fi
10083 else
10084 result=$wxUSE_CLIPBOARD
10085 fi
10086
10087 { echo "$as_me:$LINENO: result: $result" >&5
10088 echo "${ECHO_T}$result" >&6; }
10089
10090
10091 enablestring=
10092 defaultval=$wxUSE_ALL_FEATURES
10093 if test -z "$defaultval"; then
10094 if test x"$enablestring" = xdisable; then
10095 defaultval=yes
10096 else
10097 defaultval=no
10098 fi
10099 fi
10100
10101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10102 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10103 # Check whether --enable-dnd was given.
10104 if test "${enable_dnd+set}" = set; then
10105 enableval=$enable_dnd;
10106 if test "$enableval" = yes; then
10107 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10108 else
10109 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10110 fi
10111 cache=yes
10112
10113 else
10114
10115 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10116 if test "x$LINE" != x ; then
10117 eval "DEFAULT_$LINE"
10118 fi
10119
10120 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10121
10122 fi
10123
10124
10125 eval "$wx_cv_use_dnd"
10126 if test "x$cache" = xyes; then
10127 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10128 fi
10129
10130 if test x"$enablestring" = xdisable; then
10131 if test $wxUSE_DRAG_AND_DROP = yes; then
10132 result=no
10133 else
10134 result=yes
10135 fi
10136 else
10137 result=$wxUSE_DRAG_AND_DROP
10138 fi
10139
10140 { echo "$as_me:$LINENO: result: $result" >&5
10141 echo "${ECHO_T}$result" >&6; }
10142
10143
10144 enablestring=
10145 defaultval=$wxUSE_ALL_FEATURES
10146 if test -z "$defaultval"; then
10147 if test x"$enablestring" = xdisable; then
10148 defaultval=yes
10149 else
10150 defaultval=no
10151 fi
10152 fi
10153
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10156 # Check whether --enable-metafile was given.
10157 if test "${enable_metafile+set}" = set; then
10158 enableval=$enable_metafile;
10159 if test "$enableval" = yes; then
10160 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10161 else
10162 wx_cv_use_metafile='wxUSE_METAFILE=no'
10163 fi
10164 cache=yes
10165
10166 else
10167
10168 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10171 fi
10172
10173 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10174
10175 fi
10176
10177
10178 eval "$wx_cv_use_metafile"
10179 if test "x$cache" = xyes; then
10180 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10181 fi
10182
10183 if test x"$enablestring" = xdisable; then
10184 if test $wxUSE_METAFILE = yes; then
10185 result=no
10186 else
10187 result=yes
10188 fi
10189 else
10190 result=$wxUSE_METAFILE
10191 fi
10192
10193 { echo "$as_me:$LINENO: result: $result" >&5
10194 echo "${ECHO_T}$result" >&6; }
10195
10196
10197
10198 DEFAULT_wxUSE_CONTROLS=none
10199
10200 enablestring=disable
10201 defaultval=
10202 if test -z "$defaultval"; then
10203 if test x"$enablestring" = xdisable; then
10204 defaultval=yes
10205 else
10206 defaultval=no
10207 fi
10208 fi
10209
10210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10212 # Check whether --enable-controls was given.
10213 if test "${enable_controls+set}" = set; then
10214 enableval=$enable_controls;
10215 if test "$enableval" = yes; then
10216 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10217 else
10218 wx_cv_use_controls='wxUSE_CONTROLS=no'
10219 fi
10220 cache=yes
10221
10222 else
10223
10224 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10225 if test "x$LINE" != x ; then
10226 eval "DEFAULT_$LINE"
10227 fi
10228
10229 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10230
10231 fi
10232
10233
10234 eval "$wx_cv_use_controls"
10235 if test "x$cache" = xyes; then
10236 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10237 fi
10238
10239 if test x"$enablestring" = xdisable; then
10240 if test $wxUSE_CONTROLS = yes; then
10241 result=no
10242 else
10243 result=yes
10244 fi
10245 else
10246 result=$wxUSE_CONTROLS
10247 fi
10248
10249 { echo "$as_me:$LINENO: result: $result" >&5
10250 echo "${ECHO_T}$result" >&6; }
10251
10252
10253 if test "$wxUSE_CONTROLS" = "yes"; then
10254 DEFAULT_wxUSE_ACCEL=yes
10255 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10256 DEFAULT_wxUSE_BMPBUTTON=yes
10257 DEFAULT_wxUSE_BUTTON=yes
10258 DEFAULT_wxUSE_CALCTRL=yes
10259 DEFAULT_wxUSE_CARET=yes
10260 DEFAULT_wxUSE_COMBOBOX=yes
10261 DEFAULT_wxUSE_CHECKBOX=yes
10262 DEFAULT_wxUSE_CHECKLISTBOX=yes
10263 DEFAULT_wxUSE_CHOICE=yes
10264 DEFAULT_wxUSE_CHOICEBOOK=yes
10265 DEFAULT_wxUSE_COLLPANE=yes
10266 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10267 DEFAULT_wxUSE_COMBOBOX=yes
10268 DEFAULT_wxUSE_DATEPICKCTRL=yes
10269 DEFAULT_wxUSE_DISPLAY=yes
10270 DEFAULT_wxUSE_DETECT_SM=yes
10271 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10272 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10273 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10274 DEFAULT_wxUSE_GAUGE=yes
10275 DEFAULT_wxUSE_GRID=yes
10276 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10277 DEFAULT_wxUSE_DATAVIEWCTRL=no
10278 DEFAULT_wxUSE_IMAGLIST=yes
10279 DEFAULT_wxUSE_LISTBOOK=yes
10280 DEFAULT_wxUSE_LISTBOX=yes
10281 DEFAULT_wxUSE_LISTCTRL=yes
10282 DEFAULT_wxUSE_NOTEBOOK=yes
10283 DEFAULT_wxUSE_RADIOBOX=yes
10284 DEFAULT_wxUSE_RADIOBTN=yes
10285 DEFAULT_wxUSE_SASH=yes
10286 DEFAULT_wxUSE_SCROLLBAR=yes
10287 DEFAULT_wxUSE_SEARCHCTRL=yes
10288 DEFAULT_wxUSE_SLIDER=yes
10289 DEFAULT_wxUSE_SPINBTN=yes
10290 DEFAULT_wxUSE_SPINCTRL=yes
10291 DEFAULT_wxUSE_SPLITTER=yes
10292 DEFAULT_wxUSE_STATBMP=yes
10293 DEFAULT_wxUSE_STATBOX=yes
10294 DEFAULT_wxUSE_STATLINE=yes
10295 DEFAULT_wxUSE_STATUSBAR=yes
10296 DEFAULT_wxUSE_TAB_DIALOG=yes
10297 DEFAULT_wxUSE_TOGGLEBTN=yes
10298 DEFAULT_wxUSE_TOOLBAR=yes
10299 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10300 DEFAULT_wxUSE_TOOLTIPS=yes
10301 DEFAULT_wxUSE_TREEBOOK=yes
10302 DEFAULT_wxUSE_TOOLBOOK=yes
10303 DEFAULT_wxUSE_TREECTRL=yes
10304 DEFAULT_wxUSE_POPUPWIN=yes
10305 DEFAULT_wxUSE_TIPWINDOW=yes
10306 elif test "$wxUSE_CONTROLS" = "no"; then
10307 DEFAULT_wxUSE_ACCEL=no
10308 DEFAULT_wxUSE_ANIMATIONCTRL=no
10309 DEFAULT_wxUSE_BMPBUTTON=no
10310 DEFAULT_wxUSE_BUTTON=no
10311 DEFAULT_wxUSE_CALCTRL=no
10312 DEFAULT_wxUSE_CARET=no
10313 DEFAULT_wxUSE_COLLPANE=no
10314 DEFAULT_wxUSE_COMBOBOX=no
10315 DEFAULT_wxUSE_CHECKBOX=no
10316 DEFAULT_wxUSE_CHECKLISTBOX=no
10317 DEFAULT_wxUSE_CHOICE=no
10318 DEFAULT_wxUSE_CHOICEBOOK=no
10319 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10320 DEFAULT_wxUSE_COMBOBOX=no
10321 DEFAULT_wxUSE_DATEPICKCTRL=no
10322 DEFAULT_wxUSE_DISPLAY=no
10323 DEFAULT_wxUSE_DETECT_SM=no
10324 DEFAULT_wxUSE_DIRPICKERCTRL=no
10325 DEFAULT_wxUSE_FILEPICKERCTRL=no
10326 DEFAULT_wxUSE_FONTPICKERCTRL=no
10327 DEFAULT_wxUSE_GAUGE=no
10328 DEFAULT_wxUSE_GRID=no
10329 DEFAULT_wxUSE_HYPERLINKCTRL=no
10330 DEFAULT_wxUSE_DATAVIEWCTRL=no
10331 DEFAULT_wxUSE_IMAGLIST=no
10332 DEFAULT_wxUSE_LISTBOOK=no
10333 DEFAULT_wxUSE_LISTBOX=no
10334 DEFAULT_wxUSE_LISTCTRL=no
10335 DEFAULT_wxUSE_NOTEBOOK=no
10336 DEFAULT_wxUSE_RADIOBOX=no
10337 DEFAULT_wxUSE_RADIOBTN=no
10338 DEFAULT_wxUSE_SASH=no
10339 DEFAULT_wxUSE_SCROLLBAR=no
10340 DEFAULT_wxUSE_SEARCHCTRL=no
10341 DEFAULT_wxUSE_SLIDER=no
10342 DEFAULT_wxUSE_SPINBTN=no
10343 DEFAULT_wxUSE_SPINCTRL=no
10344 DEFAULT_wxUSE_SPLITTER=no
10345 DEFAULT_wxUSE_STATBMP=no
10346 DEFAULT_wxUSE_STATBOX=no
10347 DEFAULT_wxUSE_STATLINE=no
10348 DEFAULT_wxUSE_STATUSBAR=no
10349 DEFAULT_wxUSE_TAB_DIALOG=no
10350 DEFAULT_wxUSE_TOGGLEBTN=no
10351 DEFAULT_wxUSE_TOOLBAR=no
10352 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10353 DEFAULT_wxUSE_TOOLTIPS=no
10354 DEFAULT_wxUSE_TREEBOOK=no
10355 DEFAULT_wxUSE_TOOLBOOK=no
10356 DEFAULT_wxUSE_TREECTRL=no
10357 DEFAULT_wxUSE_POPUPWIN=no
10358 DEFAULT_wxUSE_TIPWINDOW=no
10359 fi
10360
10361
10362 enablestring=
10363 defaultval=$wxUSE_ALL_FEATURES
10364 if test -z "$defaultval"; then
10365 if test x"$enablestring" = xdisable; then
10366 defaultval=yes
10367 else
10368 defaultval=no
10369 fi
10370 fi
10371
10372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10374 # Check whether --enable-accel was given.
10375 if test "${enable_accel+set}" = set; then
10376 enableval=$enable_accel;
10377 if test "$enableval" = yes; then
10378 wx_cv_use_accel='wxUSE_ACCEL=yes'
10379 else
10380 wx_cv_use_accel='wxUSE_ACCEL=no'
10381 fi
10382 cache=yes
10383
10384 else
10385
10386 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10387 if test "x$LINE" != x ; then
10388 eval "DEFAULT_$LINE"
10389 fi
10390
10391 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10392
10393 fi
10394
10395
10396 eval "$wx_cv_use_accel"
10397 if test "x$cache" = xyes; then
10398 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10399 fi
10400
10401 if test x"$enablestring" = xdisable; then
10402 if test $wxUSE_ACCEL = yes; then
10403 result=no
10404 else
10405 result=yes
10406 fi
10407 else
10408 result=$wxUSE_ACCEL
10409 fi
10410
10411 { echo "$as_me:$LINENO: result: $result" >&5
10412 echo "${ECHO_T}$result" >&6; }
10413
10414
10415 enablestring=
10416 defaultval=$wxUSE_ALL_FEATURES
10417 if test -z "$defaultval"; then
10418 if test x"$enablestring" = xdisable; then
10419 defaultval=yes
10420 else
10421 defaultval=no
10422 fi
10423 fi
10424
10425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10426 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10427 # Check whether --enable-animatectrl was given.
10428 if test "${enable_animatectrl+set}" = set; then
10429 enableval=$enable_animatectrl;
10430 if test "$enableval" = yes; then
10431 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10432 else
10433 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10434 fi
10435 cache=yes
10436
10437 else
10438
10439 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10440 if test "x$LINE" != x ; then
10441 eval "DEFAULT_$LINE"
10442 fi
10443
10444 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10445
10446 fi
10447
10448
10449 eval "$wx_cv_use_animatectrl"
10450 if test "x$cache" = xyes; then
10451 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10452 fi
10453
10454 if test x"$enablestring" = xdisable; then
10455 if test $wxUSE_ANIMATIONCTRL = yes; then
10456 result=no
10457 else
10458 result=yes
10459 fi
10460 else
10461 result=$wxUSE_ANIMATIONCTRL
10462 fi
10463
10464 { echo "$as_me:$LINENO: result: $result" >&5
10465 echo "${ECHO_T}$result" >&6; }
10466
10467
10468 enablestring=
10469 defaultval=$wxUSE_ALL_FEATURES
10470 if test -z "$defaultval"; then
10471 if test x"$enablestring" = xdisable; then
10472 defaultval=yes
10473 else
10474 defaultval=no
10475 fi
10476 fi
10477
10478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10479 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10480 # Check whether --enable-button was given.
10481 if test "${enable_button+set}" = set; then
10482 enableval=$enable_button;
10483 if test "$enableval" = yes; then
10484 wx_cv_use_button='wxUSE_BUTTON=yes'
10485 else
10486 wx_cv_use_button='wxUSE_BUTTON=no'
10487 fi
10488 cache=yes
10489
10490 else
10491
10492 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x ; then
10494 eval "DEFAULT_$LINE"
10495 fi
10496
10497 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10498
10499 fi
10500
10501
10502 eval "$wx_cv_use_button"
10503 if test "x$cache" = xyes; then
10504 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10505 fi
10506
10507 if test x"$enablestring" = xdisable; then
10508 if test $wxUSE_BUTTON = yes; then
10509 result=no
10510 else
10511 result=yes
10512 fi
10513 else
10514 result=$wxUSE_BUTTON
10515 fi
10516
10517 { echo "$as_me:$LINENO: result: $result" >&5
10518 echo "${ECHO_T}$result" >&6; }
10519
10520
10521 enablestring=
10522 defaultval=$wxUSE_ALL_FEATURES
10523 if test -z "$defaultval"; then
10524 if test x"$enablestring" = xdisable; then
10525 defaultval=yes
10526 else
10527 defaultval=no
10528 fi
10529 fi
10530
10531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10532 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10533 # Check whether --enable-bmpbutton was given.
10534 if test "${enable_bmpbutton+set}" = set; then
10535 enableval=$enable_bmpbutton;
10536 if test "$enableval" = yes; then
10537 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10538 else
10539 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10540 fi
10541 cache=yes
10542
10543 else
10544
10545 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10546 if test "x$LINE" != x ; then
10547 eval "DEFAULT_$LINE"
10548 fi
10549
10550 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10551
10552 fi
10553
10554
10555 eval "$wx_cv_use_bmpbutton"
10556 if test "x$cache" = xyes; then
10557 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10558 fi
10559
10560 if test x"$enablestring" = xdisable; then
10561 if test $wxUSE_BMPBUTTON = yes; then
10562 result=no
10563 else
10564 result=yes
10565 fi
10566 else
10567 result=$wxUSE_BMPBUTTON
10568 fi
10569
10570 { echo "$as_me:$LINENO: result: $result" >&5
10571 echo "${ECHO_T}$result" >&6; }
10572
10573
10574 enablestring=
10575 defaultval=$wxUSE_ALL_FEATURES
10576 if test -z "$defaultval"; then
10577 if test x"$enablestring" = xdisable; then
10578 defaultval=yes
10579 else
10580 defaultval=no
10581 fi
10582 fi
10583
10584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10585 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10586 # Check whether --enable-bmpcombobox was given.
10587 if test "${enable_bmpcombobox+set}" = set; then
10588 enableval=$enable_bmpcombobox;
10589 if test "$enableval" = yes; then
10590 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10591 else
10592 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10593 fi
10594 cache=yes
10595
10596 else
10597
10598 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10599 if test "x$LINE" != x ; then
10600 eval "DEFAULT_$LINE"
10601 fi
10602
10603 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10604
10605 fi
10606
10607
10608 eval "$wx_cv_use_bmpcombobox"
10609 if test "x$cache" = xyes; then
10610 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10611 fi
10612
10613 if test x"$enablestring" = xdisable; then
10614 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10615 result=no
10616 else
10617 result=yes
10618 fi
10619 else
10620 result=$wxUSE_BITMAPCOMBOBOX
10621 fi
10622
10623 { echo "$as_me:$LINENO: result: $result" >&5
10624 echo "${ECHO_T}$result" >&6; }
10625
10626
10627 enablestring=
10628 defaultval=$wxUSE_ALL_FEATURES
10629 if test -z "$defaultval"; then
10630 if test x"$enablestring" = xdisable; then
10631 defaultval=yes
10632 else
10633 defaultval=no
10634 fi
10635 fi
10636
10637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10638 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10639 # Check whether --enable-calendar was given.
10640 if test "${enable_calendar+set}" = set; then
10641 enableval=$enable_calendar;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10644 else
10645 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10646 fi
10647 cache=yes
10648
10649 else
10650
10651 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10652 if test "x$LINE" != x ; then
10653 eval "DEFAULT_$LINE"
10654 fi
10655
10656 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10657
10658 fi
10659
10660
10661 eval "$wx_cv_use_calendar"
10662 if test "x$cache" = xyes; then
10663 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10664 fi
10665
10666 if test x"$enablestring" = xdisable; then
10667 if test $wxUSE_CALCTRL = yes; then
10668 result=no
10669 else
10670 result=yes
10671 fi
10672 else
10673 result=$wxUSE_CALCTRL
10674 fi
10675
10676 { echo "$as_me:$LINENO: result: $result" >&5
10677 echo "${ECHO_T}$result" >&6; }
10678
10679
10680 enablestring=
10681 defaultval=$wxUSE_ALL_FEATURES
10682 if test -z "$defaultval"; then
10683 if test x"$enablestring" = xdisable; then
10684 defaultval=yes
10685 else
10686 defaultval=no
10687 fi
10688 fi
10689
10690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10691 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10692 # Check whether --enable-caret was given.
10693 if test "${enable_caret+set}" = set; then
10694 enableval=$enable_caret;
10695 if test "$enableval" = yes; then
10696 wx_cv_use_caret='wxUSE_CARET=yes'
10697 else
10698 wx_cv_use_caret='wxUSE_CARET=no'
10699 fi
10700 cache=yes
10701
10702 else
10703
10704 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10705 if test "x$LINE" != x ; then
10706 eval "DEFAULT_$LINE"
10707 fi
10708
10709 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10710
10711 fi
10712
10713
10714 eval "$wx_cv_use_caret"
10715 if test "x$cache" = xyes; then
10716 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10717 fi
10718
10719 if test x"$enablestring" = xdisable; then
10720 if test $wxUSE_CARET = yes; then
10721 result=no
10722 else
10723 result=yes
10724 fi
10725 else
10726 result=$wxUSE_CARET
10727 fi
10728
10729 { echo "$as_me:$LINENO: result: $result" >&5
10730 echo "${ECHO_T}$result" >&6; }
10731
10732
10733 enablestring=
10734 defaultval=$wxUSE_ALL_FEATURES
10735 if test -z "$defaultval"; then
10736 if test x"$enablestring" = xdisable; then
10737 defaultval=yes
10738 else
10739 defaultval=no
10740 fi
10741 fi
10742
10743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10744 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10745 # Check whether --enable-checkbox was given.
10746 if test "${enable_checkbox+set}" = set; then
10747 enableval=$enable_checkbox;
10748 if test "$enableval" = yes; then
10749 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10750 else
10751 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10752 fi
10753 cache=yes
10754
10755 else
10756
10757 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10758 if test "x$LINE" != x ; then
10759 eval "DEFAULT_$LINE"
10760 fi
10761
10762 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10763
10764 fi
10765
10766
10767 eval "$wx_cv_use_checkbox"
10768 if test "x$cache" = xyes; then
10769 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10770 fi
10771
10772 if test x"$enablestring" = xdisable; then
10773 if test $wxUSE_CHECKBOX = yes; then
10774 result=no
10775 else
10776 result=yes
10777 fi
10778 else
10779 result=$wxUSE_CHECKBOX
10780 fi
10781
10782 { echo "$as_me:$LINENO: result: $result" >&5
10783 echo "${ECHO_T}$result" >&6; }
10784
10785
10786 enablestring=
10787 defaultval=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x"$enablestring" = xdisable; then
10790 defaultval=yes
10791 else
10792 defaultval=no
10793 fi
10794 fi
10795
10796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10797 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10798 # Check whether --enable-checklst was given.
10799 if test "${enable_checklst+set}" = set; then
10800 enableval=$enable_checklst;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10803 else
10804 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10805 fi
10806 cache=yes
10807
10808 else
10809
10810 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10811 if test "x$LINE" != x ; then
10812 eval "DEFAULT_$LINE"
10813 fi
10814
10815 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10816
10817 fi
10818
10819
10820 eval "$wx_cv_use_checklst"
10821 if test "x$cache" = xyes; then
10822 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10823 fi
10824
10825 if test x"$enablestring" = xdisable; then
10826 if test $wxUSE_CHECKLST = yes; then
10827 result=no
10828 else
10829 result=yes
10830 fi
10831 else
10832 result=$wxUSE_CHECKLST
10833 fi
10834
10835 { echo "$as_me:$LINENO: result: $result" >&5
10836 echo "${ECHO_T}$result" >&6; }
10837
10838
10839 enablestring=
10840 defaultval=$wxUSE_ALL_FEATURES
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10843 defaultval=yes
10844 else
10845 defaultval=no
10846 fi
10847 fi
10848
10849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10851 # Check whether --enable-choice was given.
10852 if test "${enable_choice+set}" = set; then
10853 enableval=$enable_choice;
10854 if test "$enableval" = yes; then
10855 wx_cv_use_choice='wxUSE_CHOICE=yes'
10856 else
10857 wx_cv_use_choice='wxUSE_CHOICE=no'
10858 fi
10859 cache=yes
10860
10861 else
10862
10863 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10864 if test "x$LINE" != x ; then
10865 eval "DEFAULT_$LINE"
10866 fi
10867
10868 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10869
10870 fi
10871
10872
10873 eval "$wx_cv_use_choice"
10874 if test "x$cache" = xyes; then
10875 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10876 fi
10877
10878 if test x"$enablestring" = xdisable; then
10879 if test $wxUSE_CHOICE = yes; then
10880 result=no
10881 else
10882 result=yes
10883 fi
10884 else
10885 result=$wxUSE_CHOICE
10886 fi
10887
10888 { echo "$as_me:$LINENO: result: $result" >&5
10889 echo "${ECHO_T}$result" >&6; }
10890
10891
10892 enablestring=
10893 defaultval=$wxUSE_ALL_FEATURES
10894 if test -z "$defaultval"; then
10895 if test x"$enablestring" = xdisable; then
10896 defaultval=yes
10897 else
10898 defaultval=no
10899 fi
10900 fi
10901
10902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10903 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10904 # Check whether --enable-choicebook was given.
10905 if test "${enable_choicebook+set}" = set; then
10906 enableval=$enable_choicebook;
10907 if test "$enableval" = yes; then
10908 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10909 else
10910 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10911 fi
10912 cache=yes
10913
10914 else
10915
10916 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x ; then
10918 eval "DEFAULT_$LINE"
10919 fi
10920
10921 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10922
10923 fi
10924
10925
10926 eval "$wx_cv_use_choicebook"
10927 if test "x$cache" = xyes; then
10928 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10929 fi
10930
10931 if test x"$enablestring" = xdisable; then
10932 if test $wxUSE_CHOICEBOOK = yes; then
10933 result=no
10934 else
10935 result=yes
10936 fi
10937 else
10938 result=$wxUSE_CHOICEBOOK
10939 fi
10940
10941 { echo "$as_me:$LINENO: result: $result" >&5
10942 echo "${ECHO_T}$result" >&6; }
10943
10944
10945 enablestring=
10946 defaultval=$wxUSE_ALL_FEATURES
10947 if test -z "$defaultval"; then
10948 if test x"$enablestring" = xdisable; then
10949 defaultval=yes
10950 else
10951 defaultval=no
10952 fi
10953 fi
10954
10955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10957 # Check whether --enable-collpane was given.
10958 if test "${enable_collpane+set}" = set; then
10959 enableval=$enable_collpane;
10960 if test "$enableval" = yes; then
10961 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10962 else
10963 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10964 fi
10965 cache=yes
10966
10967 else
10968
10969 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10970 if test "x$LINE" != x ; then
10971 eval "DEFAULT_$LINE"
10972 fi
10973
10974 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10975
10976 fi
10977
10978
10979 eval "$wx_cv_use_collpane"
10980 if test "x$cache" = xyes; then
10981 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10982 fi
10983
10984 if test x"$enablestring" = xdisable; then
10985 if test $wxUSE_COLLPANE = yes; then
10986 result=no
10987 else
10988 result=yes
10989 fi
10990 else
10991 result=$wxUSE_COLLPANE
10992 fi
10993
10994 { echo "$as_me:$LINENO: result: $result" >&5
10995 echo "${ECHO_T}$result" >&6; }
10996
10997
10998 enablestring=
10999 defaultval=$wxUSE_ALL_FEATURES
11000 if test -z "$defaultval"; then
11001 if test x"$enablestring" = xdisable; then
11002 defaultval=yes
11003 else
11004 defaultval=no
11005 fi
11006 fi
11007
11008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11009 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11010 # Check whether --enable-colourpicker was given.
11011 if test "${enable_colourpicker+set}" = set; then
11012 enableval=$enable_colourpicker;
11013 if test "$enableval" = yes; then
11014 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11015 else
11016 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11017 fi
11018 cache=yes
11019
11020 else
11021
11022 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11023 if test "x$LINE" != x ; then
11024 eval "DEFAULT_$LINE"
11025 fi
11026
11027 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11028
11029 fi
11030
11031
11032 eval "$wx_cv_use_colourpicker"
11033 if test "x$cache" = xyes; then
11034 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11035 fi
11036
11037 if test x"$enablestring" = xdisable; then
11038 if test $wxUSE_COLOURPICKERCTRL = yes; then
11039 result=no
11040 else
11041 result=yes
11042 fi
11043 else
11044 result=$wxUSE_COLOURPICKERCTRL
11045 fi
11046
11047 { echo "$as_me:$LINENO: result: $result" >&5
11048 echo "${ECHO_T}$result" >&6; }
11049
11050
11051 enablestring=
11052 defaultval=$wxUSE_ALL_FEATURES
11053 if test -z "$defaultval"; then
11054 if test x"$enablestring" = xdisable; then
11055 defaultval=yes
11056 else
11057 defaultval=no
11058 fi
11059 fi
11060
11061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11062 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11063 # Check whether --enable-combobox was given.
11064 if test "${enable_combobox+set}" = set; then
11065 enableval=$enable_combobox;
11066 if test "$enableval" = yes; then
11067 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11068 else
11069 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11070 fi
11071 cache=yes
11072
11073 else
11074
11075 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11076 if test "x$LINE" != x ; then
11077 eval "DEFAULT_$LINE"
11078 fi
11079
11080 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11081
11082 fi
11083
11084
11085 eval "$wx_cv_use_combobox"
11086 if test "x$cache" = xyes; then
11087 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11088 fi
11089
11090 if test x"$enablestring" = xdisable; then
11091 if test $wxUSE_COMBOBOX = yes; then
11092 result=no
11093 else
11094 result=yes
11095 fi
11096 else
11097 result=$wxUSE_COMBOBOX
11098 fi
11099
11100 { echo "$as_me:$LINENO: result: $result" >&5
11101 echo "${ECHO_T}$result" >&6; }
11102
11103
11104 enablestring=
11105 defaultval=$wxUSE_ALL_FEATURES
11106 if test -z "$defaultval"; then
11107 if test x"$enablestring" = xdisable; then
11108 defaultval=yes
11109 else
11110 defaultval=no
11111 fi
11112 fi
11113
11114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11115 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11116 # Check whether --enable-comboctrl was given.
11117 if test "${enable_comboctrl+set}" = set; then
11118 enableval=$enable_comboctrl;
11119 if test "$enableval" = yes; then
11120 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11121 else
11122 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11123 fi
11124 cache=yes
11125
11126 else
11127
11128 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11129 if test "x$LINE" != x ; then
11130 eval "DEFAULT_$LINE"
11131 fi
11132
11133 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11134
11135 fi
11136
11137
11138 eval "$wx_cv_use_comboctrl"
11139 if test "x$cache" = xyes; then
11140 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11141 fi
11142
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_COMBOCTRL = yes; then
11145 result=no
11146 else
11147 result=yes
11148 fi
11149 else
11150 result=$wxUSE_COMBOCTRL
11151 fi
11152
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11155
11156
11157 enablestring=
11158 defaultval=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x"$enablestring" = xdisable; then
11161 defaultval=yes
11162 else
11163 defaultval=no
11164 fi
11165 fi
11166
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11169 # Check whether --enable-datepick was given.
11170 if test "${enable_datepick+set}" = set; then
11171 enableval=$enable_datepick;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11174 else
11175 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11176 fi
11177 cache=yes
11178
11179 else
11180
11181 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11182 if test "x$LINE" != x ; then
11183 eval "DEFAULT_$LINE"
11184 fi
11185
11186 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11187
11188 fi
11189
11190
11191 eval "$wx_cv_use_datepick"
11192 if test "x$cache" = xyes; then
11193 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11194 fi
11195
11196 if test x"$enablestring" = xdisable; then
11197 if test $wxUSE_DATEPICKCTRL = yes; then
11198 result=no
11199 else
11200 result=yes
11201 fi
11202 else
11203 result=$wxUSE_DATEPICKCTRL
11204 fi
11205
11206 { echo "$as_me:$LINENO: result: $result" >&5
11207 echo "${ECHO_T}$result" >&6; }
11208
11209
11210 enablestring=
11211 defaultval=$wxUSE_ALL_FEATURES
11212 if test -z "$defaultval"; then
11213 if test x"$enablestring" = xdisable; then
11214 defaultval=yes
11215 else
11216 defaultval=no
11217 fi
11218 fi
11219
11220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11221 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11222 # Check whether --enable-dirpicker was given.
11223 if test "${enable_dirpicker+set}" = set; then
11224 enableval=$enable_dirpicker;
11225 if test "$enableval" = yes; then
11226 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11227 else
11228 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11229 fi
11230 cache=yes
11231
11232 else
11233
11234 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11235 if test "x$LINE" != x ; then
11236 eval "DEFAULT_$LINE"
11237 fi
11238
11239 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11240
11241 fi
11242
11243
11244 eval "$wx_cv_use_dirpicker"
11245 if test "x$cache" = xyes; then
11246 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11247 fi
11248
11249 if test x"$enablestring" = xdisable; then
11250 if test $wxUSE_DIRPICKERCTRL = yes; then
11251 result=no
11252 else
11253 result=yes
11254 fi
11255 else
11256 result=$wxUSE_DIRPICKERCTRL
11257 fi
11258
11259 { echo "$as_me:$LINENO: result: $result" >&5
11260 echo "${ECHO_T}$result" >&6; }
11261
11262
11263 enablestring=
11264 defaultval=$wxUSE_ALL_FEATURES
11265 if test -z "$defaultval"; then
11266 if test x"$enablestring" = xdisable; then
11267 defaultval=yes
11268 else
11269 defaultval=no
11270 fi
11271 fi
11272
11273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11275 # Check whether --enable-display was given.
11276 if test "${enable_display+set}" = set; then
11277 enableval=$enable_display;
11278 if test "$enableval" = yes; then
11279 wx_cv_use_display='wxUSE_DISPLAY=yes'
11280 else
11281 wx_cv_use_display='wxUSE_DISPLAY=no'
11282 fi
11283 cache=yes
11284
11285 else
11286
11287 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11288 if test "x$LINE" != x ; then
11289 eval "DEFAULT_$LINE"
11290 fi
11291
11292 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11293
11294 fi
11295
11296
11297 eval "$wx_cv_use_display"
11298 if test "x$cache" = xyes; then
11299 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11300 fi
11301
11302 if test x"$enablestring" = xdisable; then
11303 if test $wxUSE_DISPLAY = yes; then
11304 result=no
11305 else
11306 result=yes
11307 fi
11308 else
11309 result=$wxUSE_DISPLAY
11310 fi
11311
11312 { echo "$as_me:$LINENO: result: $result" >&5
11313 echo "${ECHO_T}$result" >&6; }
11314
11315
11316 enablestring=
11317 defaultval=$wxUSE_ALL_FEATURES
11318 if test -z "$defaultval"; then
11319 if test x"$enablestring" = xdisable; then
11320 defaultval=yes
11321 else
11322 defaultval=no
11323 fi
11324 fi
11325
11326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11327 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11328 # Check whether --enable-detect_sm was given.
11329 if test "${enable_detect_sm+set}" = set; then
11330 enableval=$enable_detect_sm;
11331 if test "$enableval" = yes; then
11332 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11333 else
11334 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11335 fi
11336 cache=yes
11337
11338 else
11339
11340 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11341 if test "x$LINE" != x ; then
11342 eval "DEFAULT_$LINE"
11343 fi
11344
11345 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11346
11347 fi
11348
11349
11350 eval "$wx_cv_use_detect_sm"
11351 if test "x$cache" = xyes; then
11352 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11353 fi
11354
11355 if test x"$enablestring" = xdisable; then
11356 if test $wxUSE_DETECT_SM = yes; then
11357 result=no
11358 else
11359 result=yes
11360 fi
11361 else
11362 result=$wxUSE_DETECT_SM
11363 fi
11364
11365 { echo "$as_me:$LINENO: result: $result" >&5
11366 echo "${ECHO_T}$result" >&6; }
11367
11368
11369 enablestring=
11370 defaultval=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x"$enablestring" = xdisable; then
11373 defaultval=yes
11374 else
11375 defaultval=no
11376 fi
11377 fi
11378
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11381 # Check whether --enable-editablebox was given.
11382 if test "${enable_editablebox+set}" = set; then
11383 enableval=$enable_editablebox;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11386 else
11387 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11388 fi
11389 cache=yes
11390
11391 else
11392
11393 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11394 if test "x$LINE" != x ; then
11395 eval "DEFAULT_$LINE"
11396 fi
11397
11398 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11399
11400 fi
11401
11402
11403 eval "$wx_cv_use_editablebox"
11404 if test "x$cache" = xyes; then
11405 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11406 fi
11407
11408 if test x"$enablestring" = xdisable; then
11409 if test $wxUSE_EDITABLELISTBOX = yes; then
11410 result=no
11411 else
11412 result=yes
11413 fi
11414 else
11415 result=$wxUSE_EDITABLELISTBOX
11416 fi
11417
11418 { echo "$as_me:$LINENO: result: $result" >&5
11419 echo "${ECHO_T}$result" >&6; }
11420
11421
11422 enablestring=
11423 defaultval=$wxUSE_ALL_FEATURES
11424 if test -z "$defaultval"; then
11425 if test x"$enablestring" = xdisable; then
11426 defaultval=yes
11427 else
11428 defaultval=no
11429 fi
11430 fi
11431
11432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11433 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11434 # Check whether --enable-filepicker was given.
11435 if test "${enable_filepicker+set}" = set; then
11436 enableval=$enable_filepicker;
11437 if test "$enableval" = yes; then
11438 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11439 else
11440 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11441 fi
11442 cache=yes
11443
11444 else
11445
11446 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11447 if test "x$LINE" != x ; then
11448 eval "DEFAULT_$LINE"
11449 fi
11450
11451 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11452
11453 fi
11454
11455
11456 eval "$wx_cv_use_filepicker"
11457 if test "x$cache" = xyes; then
11458 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11459 fi
11460
11461 if test x"$enablestring" = xdisable; then
11462 if test $wxUSE_FILEPICKERCTRL = yes; then
11463 result=no
11464 else
11465 result=yes
11466 fi
11467 else
11468 result=$wxUSE_FILEPICKERCTRL
11469 fi
11470
11471 { echo "$as_me:$LINENO: result: $result" >&5
11472 echo "${ECHO_T}$result" >&6; }
11473
11474
11475 enablestring=
11476 defaultval=$wxUSE_ALL_FEATURES
11477 if test -z "$defaultval"; then
11478 if test x"$enablestring" = xdisable; then
11479 defaultval=yes
11480 else
11481 defaultval=no
11482 fi
11483 fi
11484
11485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11486 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11487 # Check whether --enable-fontpicker was given.
11488 if test "${enable_fontpicker+set}" = set; then
11489 enableval=$enable_fontpicker;
11490 if test "$enableval" = yes; then
11491 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11492 else
11493 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11494 fi
11495 cache=yes
11496
11497 else
11498
11499 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11500 if test "x$LINE" != x ; then
11501 eval "DEFAULT_$LINE"
11502 fi
11503
11504 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11505
11506 fi
11507
11508
11509 eval "$wx_cv_use_fontpicker"
11510 if test "x$cache" = xyes; then
11511 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11512 fi
11513
11514 if test x"$enablestring" = xdisable; then
11515 if test $wxUSE_FONTPICKERCTRL = yes; then
11516 result=no
11517 else
11518 result=yes
11519 fi
11520 else
11521 result=$wxUSE_FONTPICKERCTRL
11522 fi
11523
11524 { echo "$as_me:$LINENO: result: $result" >&5
11525 echo "${ECHO_T}$result" >&6; }
11526
11527
11528 enablestring=
11529 defaultval=$wxUSE_ALL_FEATURES
11530 if test -z "$defaultval"; then
11531 if test x"$enablestring" = xdisable; then
11532 defaultval=yes
11533 else
11534 defaultval=no
11535 fi
11536 fi
11537
11538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11539 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11540 # Check whether --enable-gauge was given.
11541 if test "${enable_gauge+set}" = set; then
11542 enableval=$enable_gauge;
11543 if test "$enableval" = yes; then
11544 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11545 else
11546 wx_cv_use_gauge='wxUSE_GAUGE=no'
11547 fi
11548 cache=yes
11549
11550 else
11551
11552 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11553 if test "x$LINE" != x ; then
11554 eval "DEFAULT_$LINE"
11555 fi
11556
11557 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11558
11559 fi
11560
11561
11562 eval "$wx_cv_use_gauge"
11563 if test "x$cache" = xyes; then
11564 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11565 fi
11566
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_GAUGE = yes; then
11569 result=no
11570 else
11571 result=yes
11572 fi
11573 else
11574 result=$wxUSE_GAUGE
11575 fi
11576
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11579
11580
11581 enablestring=
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11585 defaultval=yes
11586 else
11587 defaultval=no
11588 fi
11589 fi
11590
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11593 # Check whether --enable-grid was given.
11594 if test "${enable_grid+set}" = set; then
11595 enableval=$enable_grid;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_grid='wxUSE_GRID=yes'
11598 else
11599 wx_cv_use_grid='wxUSE_GRID=no'
11600 fi
11601 cache=yes
11602
11603 else
11604
11605 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11606 if test "x$LINE" != x ; then
11607 eval "DEFAULT_$LINE"
11608 fi
11609
11610 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11611
11612 fi
11613
11614
11615 eval "$wx_cv_use_grid"
11616 if test "x$cache" = xyes; then
11617 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11618 fi
11619
11620 if test x"$enablestring" = xdisable; then
11621 if test $wxUSE_GRID = yes; then
11622 result=no
11623 else
11624 result=yes
11625 fi
11626 else
11627 result=$wxUSE_GRID
11628 fi
11629
11630 { echo "$as_me:$LINENO: result: $result" >&5
11631 echo "${ECHO_T}$result" >&6; }
11632
11633
11634 enablestring=
11635 defaultval=$wxUSE_ALL_FEATURES
11636 if test -z "$defaultval"; then
11637 if test x"$enablestring" = xdisable; then
11638 defaultval=yes
11639 else
11640 defaultval=no
11641 fi
11642 fi
11643
11644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11646 # Check whether --enable-dataviewctrl was given.
11647 if test "${enable_dataviewctrl+set}" = set; then
11648 enableval=$enable_dataviewctrl;
11649 if test "$enableval" = yes; then
11650 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11651 else
11652 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11653 fi
11654 cache=yes
11655
11656 else
11657
11658 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11659 if test "x$LINE" != x ; then
11660 eval "DEFAULT_$LINE"
11661 fi
11662
11663 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11664
11665 fi
11666
11667
11668 eval "$wx_cv_use_dataviewctrl"
11669 if test "x$cache" = xyes; then
11670 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11671 fi
11672
11673 if test x"$enablestring" = xdisable; then
11674 if test $wxUSE_DATAVIEWCTRL = yes; then
11675 result=no
11676 else
11677 result=yes
11678 fi
11679 else
11680 result=$wxUSE_DATAVIEWCTRL
11681 fi
11682
11683 { echo "$as_me:$LINENO: result: $result" >&5
11684 echo "${ECHO_T}$result" >&6; }
11685
11686
11687 enablestring=
11688 defaultval=$wxUSE_ALL_FEATURES
11689 if test -z "$defaultval"; then
11690 if test x"$enablestring" = xdisable; then
11691 defaultval=yes
11692 else
11693 defaultval=no
11694 fi
11695 fi
11696
11697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11698 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11699 # Check whether --enable-hyperlink was given.
11700 if test "${enable_hyperlink+set}" = set; then
11701 enableval=$enable_hyperlink;
11702 if test "$enableval" = yes; then
11703 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11704 else
11705 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11706 fi
11707 cache=yes
11708
11709 else
11710
11711 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11712 if test "x$LINE" != x ; then
11713 eval "DEFAULT_$LINE"
11714 fi
11715
11716 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11717
11718 fi
11719
11720
11721 eval "$wx_cv_use_hyperlink"
11722 if test "x$cache" = xyes; then
11723 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11724 fi
11725
11726 if test x"$enablestring" = xdisable; then
11727 if test $wxUSE_HYPERLINKCTRL = yes; then
11728 result=no
11729 else
11730 result=yes
11731 fi
11732 else
11733 result=$wxUSE_HYPERLINKCTRL
11734 fi
11735
11736 { echo "$as_me:$LINENO: result: $result" >&5
11737 echo "${ECHO_T}$result" >&6; }
11738
11739
11740 enablestring=
11741 defaultval=$wxUSE_ALL_FEATURES
11742 if test -z "$defaultval"; then
11743 if test x"$enablestring" = xdisable; then
11744 defaultval=yes
11745 else
11746 defaultval=no
11747 fi
11748 fi
11749
11750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11751 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11752 # Check whether --enable-imaglist was given.
11753 if test "${enable_imaglist+set}" = set; then
11754 enableval=$enable_imaglist;
11755 if test "$enableval" = yes; then
11756 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11757 else
11758 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11759 fi
11760 cache=yes
11761
11762 else
11763
11764 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11765 if test "x$LINE" != x ; then
11766 eval "DEFAULT_$LINE"
11767 fi
11768
11769 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11770
11771 fi
11772
11773
11774 eval "$wx_cv_use_imaglist"
11775 if test "x$cache" = xyes; then
11776 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11777 fi
11778
11779 if test x"$enablestring" = xdisable; then
11780 if test $wxUSE_IMAGLIST = yes; then
11781 result=no
11782 else
11783 result=yes
11784 fi
11785 else
11786 result=$wxUSE_IMAGLIST
11787 fi
11788
11789 { echo "$as_me:$LINENO: result: $result" >&5
11790 echo "${ECHO_T}$result" >&6; }
11791
11792
11793 enablestring=
11794 defaultval=$wxUSE_ALL_FEATURES
11795 if test -z "$defaultval"; then
11796 if test x"$enablestring" = xdisable; then
11797 defaultval=yes
11798 else
11799 defaultval=no
11800 fi
11801 fi
11802
11803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11804 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11805 # Check whether --enable-listbook was given.
11806 if test "${enable_listbook+set}" = set; then
11807 enableval=$enable_listbook;
11808 if test "$enableval" = yes; then
11809 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11810 else
11811 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11812 fi
11813 cache=yes
11814
11815 else
11816
11817 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11818 if test "x$LINE" != x ; then
11819 eval "DEFAULT_$LINE"
11820 fi
11821
11822 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11823
11824 fi
11825
11826
11827 eval "$wx_cv_use_listbook"
11828 if test "x$cache" = xyes; then
11829 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11830 fi
11831
11832 if test x"$enablestring" = xdisable; then
11833 if test $wxUSE_LISTBOOK = yes; then
11834 result=no
11835 else
11836 result=yes
11837 fi
11838 else
11839 result=$wxUSE_LISTBOOK
11840 fi
11841
11842 { echo "$as_me:$LINENO: result: $result" >&5
11843 echo "${ECHO_T}$result" >&6; }
11844
11845
11846 enablestring=
11847 defaultval=$wxUSE_ALL_FEATURES
11848 if test -z "$defaultval"; then
11849 if test x"$enablestring" = xdisable; then
11850 defaultval=yes
11851 else
11852 defaultval=no
11853 fi
11854 fi
11855
11856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11857 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11858 # Check whether --enable-listbox was given.
11859 if test "${enable_listbox+set}" = set; then
11860 enableval=$enable_listbox;
11861 if test "$enableval" = yes; then
11862 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11863 else
11864 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11865 fi
11866 cache=yes
11867
11868 else
11869
11870 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11871 if test "x$LINE" != x ; then
11872 eval "DEFAULT_$LINE"
11873 fi
11874
11875 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11876
11877 fi
11878
11879
11880 eval "$wx_cv_use_listbox"
11881 if test "x$cache" = xyes; then
11882 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11883 fi
11884
11885 if test x"$enablestring" = xdisable; then
11886 if test $wxUSE_LISTBOX = yes; then
11887 result=no
11888 else
11889 result=yes
11890 fi
11891 else
11892 result=$wxUSE_LISTBOX
11893 fi
11894
11895 { echo "$as_me:$LINENO: result: $result" >&5
11896 echo "${ECHO_T}$result" >&6; }
11897
11898
11899 enablestring=
11900 defaultval=$wxUSE_ALL_FEATURES
11901 if test -z "$defaultval"; then
11902 if test x"$enablestring" = xdisable; then
11903 defaultval=yes
11904 else
11905 defaultval=no
11906 fi
11907 fi
11908
11909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11910 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11911 # Check whether --enable-listctrl was given.
11912 if test "${enable_listctrl+set}" = set; then
11913 enableval=$enable_listctrl;
11914 if test "$enableval" = yes; then
11915 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11916 else
11917 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11918 fi
11919 cache=yes
11920
11921 else
11922
11923 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11924 if test "x$LINE" != x ; then
11925 eval "DEFAULT_$LINE"
11926 fi
11927
11928 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11929
11930 fi
11931
11932
11933 eval "$wx_cv_use_listctrl"
11934 if test "x$cache" = xyes; then
11935 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11936 fi
11937
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_LISTCTRL = yes; then
11940 result=no
11941 else
11942 result=yes
11943 fi
11944 else
11945 result=$wxUSE_LISTCTRL
11946 fi
11947
11948 { echo "$as_me:$LINENO: result: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11950
11951
11952 enablestring=
11953 defaultval=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x"$enablestring" = xdisable; then
11956 defaultval=yes
11957 else
11958 defaultval=no
11959 fi
11960 fi
11961
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11964 # Check whether --enable-notebook was given.
11965 if test "${enable_notebook+set}" = set; then
11966 enableval=$enable_notebook;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11969 else
11970 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11971 fi
11972 cache=yes
11973
11974 else
11975
11976 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11977 if test "x$LINE" != x ; then
11978 eval "DEFAULT_$LINE"
11979 fi
11980
11981 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11982
11983 fi
11984
11985
11986 eval "$wx_cv_use_notebook"
11987 if test "x$cache" = xyes; then
11988 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
11989 fi
11990
11991 if test x"$enablestring" = xdisable; then
11992 if test $wxUSE_NOTEBOOK = yes; then
11993 result=no
11994 else
11995 result=yes
11996 fi
11997 else
11998 result=$wxUSE_NOTEBOOK
11999 fi
12000
12001 { echo "$as_me:$LINENO: result: $result" >&5
12002 echo "${ECHO_T}$result" >&6; }
12003
12004
12005 enablestring=
12006 defaultval=$wxUSE_ALL_FEATURES
12007 if test -z "$defaultval"; then
12008 if test x"$enablestring" = xdisable; then
12009 defaultval=yes
12010 else
12011 defaultval=no
12012 fi
12013 fi
12014
12015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12016 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12017 # Check whether --enable-odcombobox was given.
12018 if test "${enable_odcombobox+set}" = set; then
12019 enableval=$enable_odcombobox;
12020 if test "$enableval" = yes; then
12021 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12022 else
12023 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12024 fi
12025 cache=yes
12026
12027 else
12028
12029 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12030 if test "x$LINE" != x ; then
12031 eval "DEFAULT_$LINE"
12032 fi
12033
12034 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12035
12036 fi
12037
12038
12039 eval "$wx_cv_use_odcombobox"
12040 if test "x$cache" = xyes; then
12041 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12042 fi
12043
12044 if test x"$enablestring" = xdisable; then
12045 if test $wxUSE_ODCOMBOBOX = yes; then
12046 result=no
12047 else
12048 result=yes
12049 fi
12050 else
12051 result=$wxUSE_ODCOMBOBOX
12052 fi
12053
12054 { echo "$as_me:$LINENO: result: $result" >&5
12055 echo "${ECHO_T}$result" >&6; }
12056
12057
12058 enablestring=
12059 defaultval=$wxUSE_ALL_FEATURES
12060 if test -z "$defaultval"; then
12061 if test x"$enablestring" = xdisable; then
12062 defaultval=yes
12063 else
12064 defaultval=no
12065 fi
12066 fi
12067
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12070 # Check whether --enable-radiobox was given.
12071 if test "${enable_radiobox+set}" = set; then
12072 enableval=$enable_radiobox;
12073 if test "$enableval" = yes; then
12074 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12075 else
12076 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12077 fi
12078 cache=yes
12079
12080 else
12081
12082 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12085 fi
12086
12087 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12088
12089 fi
12090
12091
12092 eval "$wx_cv_use_radiobox"
12093 if test "x$cache" = xyes; then
12094 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12095 fi
12096
12097 if test x"$enablestring" = xdisable; then
12098 if test $wxUSE_RADIOBOX = yes; then
12099 result=no
12100 else
12101 result=yes
12102 fi
12103 else
12104 result=$wxUSE_RADIOBOX
12105 fi
12106
12107 { echo "$as_me:$LINENO: result: $result" >&5
12108 echo "${ECHO_T}$result" >&6; }
12109
12110
12111 enablestring=
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12115 defaultval=yes
12116 else
12117 defaultval=no
12118 fi
12119 fi
12120
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12123 # Check whether --enable-radiobtn was given.
12124 if test "${enable_radiobtn+set}" = set; then
12125 enableval=$enable_radiobtn;
12126 if test "$enableval" = yes; then
12127 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12128 else
12129 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12130 fi
12131 cache=yes
12132
12133 else
12134
12135 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12136 if test "x$LINE" != x ; then
12137 eval "DEFAULT_$LINE"
12138 fi
12139
12140 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12141
12142 fi
12143
12144
12145 eval "$wx_cv_use_radiobtn"
12146 if test "x$cache" = xyes; then
12147 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12148 fi
12149
12150 if test x"$enablestring" = xdisable; then
12151 if test $wxUSE_RADIOBTN = yes; then
12152 result=no
12153 else
12154 result=yes
12155 fi
12156 else
12157 result=$wxUSE_RADIOBTN
12158 fi
12159
12160 { echo "$as_me:$LINENO: result: $result" >&5
12161 echo "${ECHO_T}$result" >&6; }
12162
12163
12164 enablestring=
12165 defaultval=$wxUSE_ALL_FEATURES
12166 if test -z "$defaultval"; then
12167 if test x"$enablestring" = xdisable; then
12168 defaultval=yes
12169 else
12170 defaultval=no
12171 fi
12172 fi
12173
12174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12175 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12176 # Check whether --enable-sash was given.
12177 if test "${enable_sash+set}" = set; then
12178 enableval=$enable_sash;
12179 if test "$enableval" = yes; then
12180 wx_cv_use_sash='wxUSE_SASH=yes'
12181 else
12182 wx_cv_use_sash='wxUSE_SASH=no'
12183 fi
12184 cache=yes
12185
12186 else
12187
12188 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12189 if test "x$LINE" != x ; then
12190 eval "DEFAULT_$LINE"
12191 fi
12192
12193 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12194
12195 fi
12196
12197
12198 eval "$wx_cv_use_sash"
12199 if test "x$cache" = xyes; then
12200 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12201 fi
12202
12203 if test x"$enablestring" = xdisable; then
12204 if test $wxUSE_SASH = yes; then
12205 result=no
12206 else
12207 result=yes
12208 fi
12209 else
12210 result=$wxUSE_SASH
12211 fi
12212
12213 { echo "$as_me:$LINENO: result: $result" >&5
12214 echo "${ECHO_T}$result" >&6; }
12215
12216
12217 enablestring=
12218 defaultval=$wxUSE_ALL_FEATURES
12219 if test -z "$defaultval"; then
12220 if test x"$enablestring" = xdisable; then
12221 defaultval=yes
12222 else
12223 defaultval=no
12224 fi
12225 fi
12226
12227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12228 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12229 # Check whether --enable-scrollbar was given.
12230 if test "${enable_scrollbar+set}" = set; then
12231 enableval=$enable_scrollbar;
12232 if test "$enableval" = yes; then
12233 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12234 else
12235 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12236 fi
12237 cache=yes
12238
12239 else
12240
12241 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12242 if test "x$LINE" != x ; then
12243 eval "DEFAULT_$LINE"
12244 fi
12245
12246 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12247
12248 fi
12249
12250
12251 eval "$wx_cv_use_scrollbar"
12252 if test "x$cache" = xyes; then
12253 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12254 fi
12255
12256 if test x"$enablestring" = xdisable; then
12257 if test $wxUSE_SCROLLBAR = yes; then
12258 result=no
12259 else
12260 result=yes
12261 fi
12262 else
12263 result=$wxUSE_SCROLLBAR
12264 fi
12265
12266 { echo "$as_me:$LINENO: result: $result" >&5
12267 echo "${ECHO_T}$result" >&6; }
12268
12269
12270 enablestring=
12271 defaultval=$wxUSE_ALL_FEATURES
12272 if test -z "$defaultval"; then
12273 if test x"$enablestring" = xdisable; then
12274 defaultval=yes
12275 else
12276 defaultval=no
12277 fi
12278 fi
12279
12280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12281 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12282 # Check whether --enable-searchctrl was given.
12283 if test "${enable_searchctrl+set}" = set; then
12284 enableval=$enable_searchctrl;
12285 if test "$enableval" = yes; then
12286 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12287 else
12288 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12289 fi
12290 cache=yes
12291
12292 else
12293
12294 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12295 if test "x$LINE" != x ; then
12296 eval "DEFAULT_$LINE"
12297 fi
12298
12299 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12300
12301 fi
12302
12303
12304 eval "$wx_cv_use_searchctrl"
12305 if test "x$cache" = xyes; then
12306 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12307 fi
12308
12309 if test x"$enablestring" = xdisable; then
12310 if test $wxUSE_SEARCHCTRL = yes; then
12311 result=no
12312 else
12313 result=yes
12314 fi
12315 else
12316 result=$wxUSE_SEARCHCTRL
12317 fi
12318
12319 { echo "$as_me:$LINENO: result: $result" >&5
12320 echo "${ECHO_T}$result" >&6; }
12321
12322
12323 enablestring=
12324 defaultval=$wxUSE_ALL_FEATURES
12325 if test -z "$defaultval"; then
12326 if test x"$enablestring" = xdisable; then
12327 defaultval=yes
12328 else
12329 defaultval=no
12330 fi
12331 fi
12332
12333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12334 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12335 # Check whether --enable-slider was given.
12336 if test "${enable_slider+set}" = set; then
12337 enableval=$enable_slider;
12338 if test "$enableval" = yes; then
12339 wx_cv_use_slider='wxUSE_SLIDER=yes'
12340 else
12341 wx_cv_use_slider='wxUSE_SLIDER=no'
12342 fi
12343 cache=yes
12344
12345 else
12346
12347 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12348 if test "x$LINE" != x ; then
12349 eval "DEFAULT_$LINE"
12350 fi
12351
12352 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12353
12354 fi
12355
12356
12357 eval "$wx_cv_use_slider"
12358 if test "x$cache" = xyes; then
12359 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12360 fi
12361
12362 if test x"$enablestring" = xdisable; then
12363 if test $wxUSE_SLIDER = yes; then
12364 result=no
12365 else
12366 result=yes
12367 fi
12368 else
12369 result=$wxUSE_SLIDER
12370 fi
12371
12372 { echo "$as_me:$LINENO: result: $result" >&5
12373 echo "${ECHO_T}$result" >&6; }
12374
12375
12376 enablestring=
12377 defaultval=$wxUSE_ALL_FEATURES
12378 if test -z "$defaultval"; then
12379 if test x"$enablestring" = xdisable; then
12380 defaultval=yes
12381 else
12382 defaultval=no
12383 fi
12384 fi
12385
12386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12387 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12388 # Check whether --enable-spinbtn was given.
12389 if test "${enable_spinbtn+set}" = set; then
12390 enableval=$enable_spinbtn;
12391 if test "$enableval" = yes; then
12392 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12393 else
12394 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12395 fi
12396 cache=yes
12397
12398 else
12399
12400 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12401 if test "x$LINE" != x ; then
12402 eval "DEFAULT_$LINE"
12403 fi
12404
12405 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12406
12407 fi
12408
12409
12410 eval "$wx_cv_use_spinbtn"
12411 if test "x$cache" = xyes; then
12412 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12413 fi
12414
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_SPINBTN = yes; then
12417 result=no
12418 else
12419 result=yes
12420 fi
12421 else
12422 result=$wxUSE_SPINBTN
12423 fi
12424
12425 { echo "$as_me:$LINENO: result: $result" >&5
12426 echo "${ECHO_T}$result" >&6; }
12427
12428
12429 enablestring=
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12433 defaultval=yes
12434 else
12435 defaultval=no
12436 fi
12437 fi
12438
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12441 # Check whether --enable-spinctrl was given.
12442 if test "${enable_spinctrl+set}" = set; then
12443 enableval=$enable_spinctrl;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12446 else
12447 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12448 fi
12449 cache=yes
12450
12451 else
12452
12453 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12454 if test "x$LINE" != x ; then
12455 eval "DEFAULT_$LINE"
12456 fi
12457
12458 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12459
12460 fi
12461
12462
12463 eval "$wx_cv_use_spinctrl"
12464 if test "x$cache" = xyes; then
12465 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12466 fi
12467
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_SPINCTRL = yes; then
12470 result=no
12471 else
12472 result=yes
12473 fi
12474 else
12475 result=$wxUSE_SPINCTRL
12476 fi
12477
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12480
12481
12482 enablestring=
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12486 defaultval=yes
12487 else
12488 defaultval=no
12489 fi
12490 fi
12491
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12494 # Check whether --enable-splitter was given.
12495 if test "${enable_splitter+set}" = set; then
12496 enableval=$enable_splitter;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12499 else
12500 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12501 fi
12502 cache=yes
12503
12504 else
12505
12506 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12507 if test "x$LINE" != x ; then
12508 eval "DEFAULT_$LINE"
12509 fi
12510
12511 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12512
12513 fi
12514
12515
12516 eval "$wx_cv_use_splitter"
12517 if test "x$cache" = xyes; then
12518 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12519 fi
12520
12521 if test x"$enablestring" = xdisable; then
12522 if test $wxUSE_SPLITTER = yes; then
12523 result=no
12524 else
12525 result=yes
12526 fi
12527 else
12528 result=$wxUSE_SPLITTER
12529 fi
12530
12531 { echo "$as_me:$LINENO: result: $result" >&5
12532 echo "${ECHO_T}$result" >&6; }
12533
12534
12535 enablestring=
12536 defaultval=$wxUSE_ALL_FEATURES
12537 if test -z "$defaultval"; then
12538 if test x"$enablestring" = xdisable; then
12539 defaultval=yes
12540 else
12541 defaultval=no
12542 fi
12543 fi
12544
12545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12546 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12547 # Check whether --enable-statbmp was given.
12548 if test "${enable_statbmp+set}" = set; then
12549 enableval=$enable_statbmp;
12550 if test "$enableval" = yes; then
12551 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12552 else
12553 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12554 fi
12555 cache=yes
12556
12557 else
12558
12559 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12560 if test "x$LINE" != x ; then
12561 eval "DEFAULT_$LINE"
12562 fi
12563
12564 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12565
12566 fi
12567
12568
12569 eval "$wx_cv_use_statbmp"
12570 if test "x$cache" = xyes; then
12571 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12572 fi
12573
12574 if test x"$enablestring" = xdisable; then
12575 if test $wxUSE_STATBMP = yes; then
12576 result=no
12577 else
12578 result=yes
12579 fi
12580 else
12581 result=$wxUSE_STATBMP
12582 fi
12583
12584 { echo "$as_me:$LINENO: result: $result" >&5
12585 echo "${ECHO_T}$result" >&6; }
12586
12587
12588 enablestring=
12589 defaultval=$wxUSE_ALL_FEATURES
12590 if test -z "$defaultval"; then
12591 if test x"$enablestring" = xdisable; then
12592 defaultval=yes
12593 else
12594 defaultval=no
12595 fi
12596 fi
12597
12598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12599 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12600 # Check whether --enable-statbox was given.
12601 if test "${enable_statbox+set}" = set; then
12602 enableval=$enable_statbox;
12603 if test "$enableval" = yes; then
12604 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12605 else
12606 wx_cv_use_statbox='wxUSE_STATBOX=no'
12607 fi
12608 cache=yes
12609
12610 else
12611
12612 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12613 if test "x$LINE" != x ; then
12614 eval "DEFAULT_$LINE"
12615 fi
12616
12617 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12618
12619 fi
12620
12621
12622 eval "$wx_cv_use_statbox"
12623 if test "x$cache" = xyes; then
12624 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12625 fi
12626
12627 if test x"$enablestring" = xdisable; then
12628 if test $wxUSE_STATBOX = yes; then
12629 result=no
12630 else
12631 result=yes
12632 fi
12633 else
12634 result=$wxUSE_STATBOX
12635 fi
12636
12637 { echo "$as_me:$LINENO: result: $result" >&5
12638 echo "${ECHO_T}$result" >&6; }
12639
12640
12641 enablestring=
12642 defaultval=$wxUSE_ALL_FEATURES
12643 if test -z "$defaultval"; then
12644 if test x"$enablestring" = xdisable; then
12645 defaultval=yes
12646 else
12647 defaultval=no
12648 fi
12649 fi
12650
12651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12652 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12653 # Check whether --enable-statline was given.
12654 if test "${enable_statline+set}" = set; then
12655 enableval=$enable_statline;
12656 if test "$enableval" = yes; then
12657 wx_cv_use_statline='wxUSE_STATLINE=yes'
12658 else
12659 wx_cv_use_statline='wxUSE_STATLINE=no'
12660 fi
12661 cache=yes
12662
12663 else
12664
12665 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12666 if test "x$LINE" != x ; then
12667 eval "DEFAULT_$LINE"
12668 fi
12669
12670 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12671
12672 fi
12673
12674
12675 eval "$wx_cv_use_statline"
12676 if test "x$cache" = xyes; then
12677 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12678 fi
12679
12680 if test x"$enablestring" = xdisable; then
12681 if test $wxUSE_STATLINE = yes; then
12682 result=no
12683 else
12684 result=yes
12685 fi
12686 else
12687 result=$wxUSE_STATLINE
12688 fi
12689
12690 { echo "$as_me:$LINENO: result: $result" >&5
12691 echo "${ECHO_T}$result" >&6; }
12692
12693
12694 enablestring=
12695 defaultval=$wxUSE_ALL_FEATURES
12696 if test -z "$defaultval"; then
12697 if test x"$enablestring" = xdisable; then
12698 defaultval=yes
12699 else
12700 defaultval=no
12701 fi
12702 fi
12703
12704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12705 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12706 # Check whether --enable-stattext was given.
12707 if test "${enable_stattext+set}" = set; then
12708 enableval=$enable_stattext;
12709 if test "$enableval" = yes; then
12710 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12711 else
12712 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12713 fi
12714 cache=yes
12715
12716 else
12717
12718 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12719 if test "x$LINE" != x ; then
12720 eval "DEFAULT_$LINE"
12721 fi
12722
12723 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12724
12725 fi
12726
12727
12728 eval "$wx_cv_use_stattext"
12729 if test "x$cache" = xyes; then
12730 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12731 fi
12732
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_STATTEXT = yes; then
12735 result=no
12736 else
12737 result=yes
12738 fi
12739 else
12740 result=$wxUSE_STATTEXT
12741 fi
12742
12743 { echo "$as_me:$LINENO: result: $result" >&5
12744 echo "${ECHO_T}$result" >&6; }
12745
12746
12747 enablestring=
12748 defaultval=$wxUSE_ALL_FEATURES
12749 if test -z "$defaultval"; then
12750 if test x"$enablestring" = xdisable; then
12751 defaultval=yes
12752 else
12753 defaultval=no
12754 fi
12755 fi
12756
12757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12758 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12759 # Check whether --enable-statusbar was given.
12760 if test "${enable_statusbar+set}" = set; then
12761 enableval=$enable_statusbar;
12762 if test "$enableval" = yes; then
12763 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12764 else
12765 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12766 fi
12767 cache=yes
12768
12769 else
12770
12771 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12772 if test "x$LINE" != x ; then
12773 eval "DEFAULT_$LINE"
12774 fi
12775
12776 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12777
12778 fi
12779
12780
12781 eval "$wx_cv_use_statusbar"
12782 if test "x$cache" = xyes; then
12783 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12784 fi
12785
12786 if test x"$enablestring" = xdisable; then
12787 if test $wxUSE_STATUSBAR = yes; then
12788 result=no
12789 else
12790 result=yes
12791 fi
12792 else
12793 result=$wxUSE_STATUSBAR
12794 fi
12795
12796 { echo "$as_me:$LINENO: result: $result" >&5
12797 echo "${ECHO_T}$result" >&6; }
12798
12799
12800 enablestring=
12801 defaultval=$wxUSE_ALL_FEATURES
12802 if test -z "$defaultval"; then
12803 if test x"$enablestring" = xdisable; then
12804 defaultval=yes
12805 else
12806 defaultval=no
12807 fi
12808 fi
12809
12810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12811 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12812 # Check whether --enable-tabdialog was given.
12813 if test "${enable_tabdialog+set}" = set; then
12814 enableval=$enable_tabdialog;
12815 if test "$enableval" = yes; then
12816 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12817 else
12818 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12819 fi
12820 cache=yes
12821
12822 else
12823
12824 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12825 if test "x$LINE" != x ; then
12826 eval "DEFAULT_$LINE"
12827 fi
12828
12829 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12830
12831 fi
12832
12833
12834 eval "$wx_cv_use_tabdialog"
12835 if test "x$cache" = xyes; then
12836 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12837 fi
12838
12839 if test x"$enablestring" = xdisable; then
12840 if test $wxUSE_TAB_DIALOG = yes; then
12841 result=no
12842 else
12843 result=yes
12844 fi
12845 else
12846 result=$wxUSE_TAB_DIALOG
12847 fi
12848
12849 { echo "$as_me:$LINENO: result: $result" >&5
12850 echo "${ECHO_T}$result" >&6; }
12851
12852
12853 enablestring=
12854 defaultval=$wxUSE_ALL_FEATURES
12855 if test -z "$defaultval"; then
12856 if test x"$enablestring" = xdisable; then
12857 defaultval=yes
12858 else
12859 defaultval=no
12860 fi
12861 fi
12862
12863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12864 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12865 # Check whether --enable-taskbaricon was given.
12866 if test "${enable_taskbaricon+set}" = set; then
12867 enableval=$enable_taskbaricon;
12868 if test "$enableval" = yes; then
12869 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12870 else
12871 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12872 fi
12873 cache=yes
12874
12875 else
12876
12877 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
12878 if test "x$LINE" != x ; then
12879 eval "DEFAULT_$LINE"
12880 fi
12881
12882 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12883
12884 fi
12885
12886
12887 eval "$wx_cv_use_taskbaricon"
12888 if test "x$cache" = xyes; then
12889 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12890 fi
12891
12892 if test x"$enablestring" = xdisable; then
12893 if test $wxUSE_TASKBARICON = yes; then
12894 result=no
12895 else
12896 result=yes
12897 fi
12898 else
12899 result=$wxUSE_TASKBARICON
12900 fi
12901
12902 { echo "$as_me:$LINENO: result: $result" >&5
12903 echo "${ECHO_T}$result" >&6; }
12904
12905
12906 enablestring=
12907 defaultval=$wxUSE_ALL_FEATURES
12908 if test -z "$defaultval"; then
12909 if test x"$enablestring" = xdisable; then
12910 defaultval=yes
12911 else
12912 defaultval=no
12913 fi
12914 fi
12915
12916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12917 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12918 # Check whether --enable-textctrl was given.
12919 if test "${enable_textctrl+set}" = set; then
12920 enableval=$enable_textctrl;
12921 if test "$enableval" = yes; then
12922 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12923 else
12924 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12925 fi
12926 cache=yes
12927
12928 else
12929
12930 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12931 if test "x$LINE" != x ; then
12932 eval "DEFAULT_$LINE"
12933 fi
12934
12935 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12936
12937 fi
12938
12939
12940 eval "$wx_cv_use_textctrl"
12941 if test "x$cache" = xyes; then
12942 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
12943 fi
12944
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_TEXTCTRL = yes; then
12947 result=no
12948 else
12949 result=yes
12950 fi
12951 else
12952 result=$wxUSE_TEXTCTRL
12953 fi
12954
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12957
12958
12959 enablestring=
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12963 defaultval=yes
12964 else
12965 defaultval=no
12966 fi
12967 fi
12968
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12971 # Check whether --enable-togglebtn was given.
12972 if test "${enable_togglebtn+set}" = set; then
12973 enableval=$enable_togglebtn;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12976 else
12977 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12978 fi
12979 cache=yes
12980
12981 else
12982
12983 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12984 if test "x$LINE" != x ; then
12985 eval "DEFAULT_$LINE"
12986 fi
12987
12988 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12989
12990 fi
12991
12992
12993 eval "$wx_cv_use_togglebtn"
12994 if test "x$cache" = xyes; then
12995 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
12996 fi
12997
12998 if test x"$enablestring" = xdisable; then
12999 if test $wxUSE_TOGGLEBTN = yes; then
13000 result=no
13001 else
13002 result=yes
13003 fi
13004 else
13005 result=$wxUSE_TOGGLEBTN
13006 fi
13007
13008 { echo "$as_me:$LINENO: result: $result" >&5
13009 echo "${ECHO_T}$result" >&6; }
13010
13011
13012 enablestring=
13013 defaultval=$wxUSE_ALL_FEATURES
13014 if test -z "$defaultval"; then
13015 if test x"$enablestring" = xdisable; then
13016 defaultval=yes
13017 else
13018 defaultval=no
13019 fi
13020 fi
13021
13022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13023 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13024 # Check whether --enable-toolbar was given.
13025 if test "${enable_toolbar+set}" = set; then
13026 enableval=$enable_toolbar;
13027 if test "$enableval" = yes; then
13028 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13029 else
13030 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13031 fi
13032 cache=yes
13033
13034 else
13035
13036 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13037 if test "x$LINE" != x ; then
13038 eval "DEFAULT_$LINE"
13039 fi
13040
13041 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13042
13043 fi
13044
13045
13046 eval "$wx_cv_use_toolbar"
13047 if test "x$cache" = xyes; then
13048 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13049 fi
13050
13051 if test x"$enablestring" = xdisable; then
13052 if test $wxUSE_TOOLBAR = yes; then
13053 result=no
13054 else
13055 result=yes
13056 fi
13057 else
13058 result=$wxUSE_TOOLBAR
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}-tbarnative" >&5
13076 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13077 # Check whether --enable-tbarnative was given.
13078 if test "${enable_tbarnative+set}" = set; then
13079 enableval=$enable_tbarnative;
13080 if test "$enableval" = yes; then
13081 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13082 else
13083 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13084 fi
13085 cache=yes
13086
13087 else
13088
13089 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13090 if test "x$LINE" != x ; then
13091 eval "DEFAULT_$LINE"
13092 fi
13093
13094 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13095
13096 fi
13097
13098
13099 eval "$wx_cv_use_tbarnative"
13100 if test "x$cache" = xyes; then
13101 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13102 fi
13103
13104 if test x"$enablestring" = xdisable; then
13105 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13106 result=no
13107 else
13108 result=yes
13109 fi
13110 else
13111 result=$wxUSE_TOOLBAR_NATIVE
13112 fi
13113
13114 { echo "$as_me:$LINENO: result: $result" >&5
13115 echo "${ECHO_T}$result" >&6; }
13116
13117
13118 enablestring=
13119 defaultval=$wxUSE_ALL_FEATURES
13120 if test -z "$defaultval"; then
13121 if test x"$enablestring" = xdisable; then
13122 defaultval=yes
13123 else
13124 defaultval=no
13125 fi
13126 fi
13127
13128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13129 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13130 # Check whether --enable-treebook was given.
13131 if test "${enable_treebook+set}" = set; then
13132 enableval=$enable_treebook;
13133 if test "$enableval" = yes; then
13134 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13135 else
13136 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13137 fi
13138 cache=yes
13139
13140 else
13141
13142 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13143 if test "x$LINE" != x ; then
13144 eval "DEFAULT_$LINE"
13145 fi
13146
13147 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13148
13149 fi
13150
13151
13152 eval "$wx_cv_use_treebook"
13153 if test "x$cache" = xyes; then
13154 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13155 fi
13156
13157 if test x"$enablestring" = xdisable; then
13158 if test $wxUSE_TREEBOOK = yes; then
13159 result=no
13160 else
13161 result=yes
13162 fi
13163 else
13164 result=$wxUSE_TREEBOOK
13165 fi
13166
13167 { echo "$as_me:$LINENO: result: $result" >&5
13168 echo "${ECHO_T}$result" >&6; }
13169
13170
13171 enablestring=
13172 defaultval=$wxUSE_ALL_FEATURES
13173 if test -z "$defaultval"; then
13174 if test x"$enablestring" = xdisable; then
13175 defaultval=yes
13176 else
13177 defaultval=no
13178 fi
13179 fi
13180
13181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13182 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13183 # Check whether --enable-toolbook was given.
13184 if test "${enable_toolbook+set}" = set; then
13185 enableval=$enable_toolbook;
13186 if test "$enableval" = yes; then
13187 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13188 else
13189 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13190 fi
13191 cache=yes
13192
13193 else
13194
13195 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13196 if test "x$LINE" != x ; then
13197 eval "DEFAULT_$LINE"
13198 fi
13199
13200 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13201
13202 fi
13203
13204
13205 eval "$wx_cv_use_toolbook"
13206 if test "x$cache" = xyes; then
13207 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13208 fi
13209
13210 if test x"$enablestring" = xdisable; then
13211 if test $wxUSE_TOOLBOOK = yes; then
13212 result=no
13213 else
13214 result=yes
13215 fi
13216 else
13217 result=$wxUSE_TOOLBOOK
13218 fi
13219
13220 { echo "$as_me:$LINENO: result: $result" >&5
13221 echo "${ECHO_T}$result" >&6; }
13222
13223
13224 enablestring=
13225 defaultval=$wxUSE_ALL_FEATURES
13226 if test -z "$defaultval"; then
13227 if test x"$enablestring" = xdisable; then
13228 defaultval=yes
13229 else
13230 defaultval=no
13231 fi
13232 fi
13233
13234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13235 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13236 # Check whether --enable-treectrl was given.
13237 if test "${enable_treectrl+set}" = set; then
13238 enableval=$enable_treectrl;
13239 if test "$enableval" = yes; then
13240 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13241 else
13242 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13243 fi
13244 cache=yes
13245
13246 else
13247
13248 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13249 if test "x$LINE" != x ; then
13250 eval "DEFAULT_$LINE"
13251 fi
13252
13253 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13254
13255 fi
13256
13257
13258 eval "$wx_cv_use_treectrl"
13259 if test "x$cache" = xyes; then
13260 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13261 fi
13262
13263 if test x"$enablestring" = xdisable; then
13264 if test $wxUSE_TREECTRL = yes; then
13265 result=no
13266 else
13267 result=yes
13268 fi
13269 else
13270 result=$wxUSE_TREECTRL
13271 fi
13272
13273 { echo "$as_me:$LINENO: result: $result" >&5
13274 echo "${ECHO_T}$result" >&6; }
13275
13276
13277 enablestring=
13278 defaultval=$wxUSE_ALL_FEATURES
13279 if test -z "$defaultval"; then
13280 if test x"$enablestring" = xdisable; then
13281 defaultval=yes
13282 else
13283 defaultval=no
13284 fi
13285 fi
13286
13287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13288 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13289 # Check whether --enable-tipwindow was given.
13290 if test "${enable_tipwindow+set}" = set; then
13291 enableval=$enable_tipwindow;
13292 if test "$enableval" = yes; then
13293 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13294 else
13295 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13296 fi
13297 cache=yes
13298
13299 else
13300
13301 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13302 if test "x$LINE" != x ; then
13303 eval "DEFAULT_$LINE"
13304 fi
13305
13306 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13307
13308 fi
13309
13310
13311 eval "$wx_cv_use_tipwindow"
13312 if test "x$cache" = xyes; then
13313 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13314 fi
13315
13316 if test x"$enablestring" = xdisable; then
13317 if test $wxUSE_TIPWINDOW = yes; then
13318 result=no
13319 else
13320 result=yes
13321 fi
13322 else
13323 result=$wxUSE_TIPWINDOW
13324 fi
13325
13326 { echo "$as_me:$LINENO: result: $result" >&5
13327 echo "${ECHO_T}$result" >&6; }
13328
13329
13330 enablestring=
13331 defaultval=$wxUSE_ALL_FEATURES
13332 if test -z "$defaultval"; then
13333 if test x"$enablestring" = xdisable; then
13334 defaultval=yes
13335 else
13336 defaultval=no
13337 fi
13338 fi
13339
13340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13341 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13342 # Check whether --enable-popupwin was given.
13343 if test "${enable_popupwin+set}" = set; then
13344 enableval=$enable_popupwin;
13345 if test "$enableval" = yes; then
13346 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13347 else
13348 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13349 fi
13350 cache=yes
13351
13352 else
13353
13354 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13355 if test "x$LINE" != x ; then
13356 eval "DEFAULT_$LINE"
13357 fi
13358
13359 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13360
13361 fi
13362
13363
13364 eval "$wx_cv_use_popupwin"
13365 if test "x$cache" = xyes; then
13366 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13367 fi
13368
13369 if test x"$enablestring" = xdisable; then
13370 if test $wxUSE_POPUPWIN = yes; then
13371 result=no
13372 else
13373 result=yes
13374 fi
13375 else
13376 result=$wxUSE_POPUPWIN
13377 fi
13378
13379 { echo "$as_me:$LINENO: result: $result" >&5
13380 echo "${ECHO_T}$result" >&6; }
13381
13382
13383
13384
13385 enablestring=
13386 defaultval=$wxUSE_ALL_FEATURES
13387 if test -z "$defaultval"; then
13388 if test x"$enablestring" = xdisable; then
13389 defaultval=yes
13390 else
13391 defaultval=no
13392 fi
13393 fi
13394
13395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13396 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13397 # Check whether --enable-commondlg was given.
13398 if test "${enable_commondlg+set}" = set; then
13399 enableval=$enable_commondlg;
13400 if test "$enableval" = yes; then
13401 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13402 else
13403 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13404 fi
13405 cache=yes
13406
13407 else
13408
13409 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13410 if test "x$LINE" != x ; then
13411 eval "DEFAULT_$LINE"
13412 fi
13413
13414 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13415
13416 fi
13417
13418
13419 eval "$wx_cv_use_commondlg"
13420 if test "x$cache" = xyes; then
13421 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13422 fi
13423
13424 if test x"$enablestring" = xdisable; then
13425 if test $wxUSE_COMMONDLGS = yes; then
13426 result=no
13427 else
13428 result=yes
13429 fi
13430 else
13431 result=$wxUSE_COMMONDLGS
13432 fi
13433
13434 { echo "$as_me:$LINENO: result: $result" >&5
13435 echo "${ECHO_T}$result" >&6; }
13436
13437
13438 enablestring=
13439 defaultval=$wxUSE_ALL_FEATURES
13440 if test -z "$defaultval"; then
13441 if test x"$enablestring" = xdisable; then
13442 defaultval=yes
13443 else
13444 defaultval=no
13445 fi
13446 fi
13447
13448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13449 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13450 # Check whether --enable-aboutdlg was given.
13451 if test "${enable_aboutdlg+set}" = set; then
13452 enableval=$enable_aboutdlg;
13453 if test "$enableval" = yes; then
13454 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13455 else
13456 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13457 fi
13458 cache=yes
13459
13460 else
13461
13462 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13463 if test "x$LINE" != x ; then
13464 eval "DEFAULT_$LINE"
13465 fi
13466
13467 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13468
13469 fi
13470
13471
13472 eval "$wx_cv_use_aboutdlg"
13473 if test "x$cache" = xyes; then
13474 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13475 fi
13476
13477 if test x"$enablestring" = xdisable; then
13478 if test $wxUSE_ABOUTDLG = yes; then
13479 result=no
13480 else
13481 result=yes
13482 fi
13483 else
13484 result=$wxUSE_ABOUTDLG
13485 fi
13486
13487 { echo "$as_me:$LINENO: result: $result" >&5
13488 echo "${ECHO_T}$result" >&6; }
13489
13490
13491 enablestring=
13492 defaultval=$wxUSE_ALL_FEATURES
13493 if test -z "$defaultval"; then
13494 if test x"$enablestring" = xdisable; then
13495 defaultval=yes
13496 else
13497 defaultval=no
13498 fi
13499 fi
13500
13501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13502 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13503 # Check whether --enable-choicedlg was given.
13504 if test "${enable_choicedlg+set}" = set; then
13505 enableval=$enable_choicedlg;
13506 if test "$enableval" = yes; then
13507 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13508 else
13509 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13510 fi
13511 cache=yes
13512
13513 else
13514
13515 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13516 if test "x$LINE" != x ; then
13517 eval "DEFAULT_$LINE"
13518 fi
13519
13520 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13521
13522 fi
13523
13524
13525 eval "$wx_cv_use_choicedlg"
13526 if test "x$cache" = xyes; then
13527 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13528 fi
13529
13530 if test x"$enablestring" = xdisable; then
13531 if test $wxUSE_CHOICEDLG = yes; then
13532 result=no
13533 else
13534 result=yes
13535 fi
13536 else
13537 result=$wxUSE_CHOICEDLG
13538 fi
13539
13540 { echo "$as_me:$LINENO: result: $result" >&5
13541 echo "${ECHO_T}$result" >&6; }
13542
13543
13544 enablestring=
13545 defaultval=$wxUSE_ALL_FEATURES
13546 if test -z "$defaultval"; then
13547 if test x"$enablestring" = xdisable; then
13548 defaultval=yes
13549 else
13550 defaultval=no
13551 fi
13552 fi
13553
13554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13555 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13556 # Check whether --enable-coldlg was given.
13557 if test "${enable_coldlg+set}" = set; then
13558 enableval=$enable_coldlg;
13559 if test "$enableval" = yes; then
13560 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13561 else
13562 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13563 fi
13564 cache=yes
13565
13566 else
13567
13568 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13569 if test "x$LINE" != x ; then
13570 eval "DEFAULT_$LINE"
13571 fi
13572
13573 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13574
13575 fi
13576
13577
13578 eval "$wx_cv_use_coldlg"
13579 if test "x$cache" = xyes; then
13580 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13581 fi
13582
13583 if test x"$enablestring" = xdisable; then
13584 if test $wxUSE_COLOURDLG = yes; then
13585 result=no
13586 else
13587 result=yes
13588 fi
13589 else
13590 result=$wxUSE_COLOURDLG
13591 fi
13592
13593 { echo "$as_me:$LINENO: result: $result" >&5
13594 echo "${ECHO_T}$result" >&6; }
13595
13596
13597 enablestring=
13598 defaultval=$wxUSE_ALL_FEATURES
13599 if test -z "$defaultval"; then
13600 if test x"$enablestring" = xdisable; then
13601 defaultval=yes
13602 else
13603 defaultval=no
13604 fi
13605 fi
13606
13607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13608 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13609 # Check whether --enable-filedlg was given.
13610 if test "${enable_filedlg+set}" = set; then
13611 enableval=$enable_filedlg;
13612 if test "$enableval" = yes; then
13613 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13614 else
13615 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13616 fi
13617 cache=yes
13618
13619 else
13620
13621 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13622 if test "x$LINE" != x ; then
13623 eval "DEFAULT_$LINE"
13624 fi
13625
13626 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13627
13628 fi
13629
13630
13631 eval "$wx_cv_use_filedlg"
13632 if test "x$cache" = xyes; then
13633 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13634 fi
13635
13636 if test x"$enablestring" = xdisable; then
13637 if test $wxUSE_FILEDLG = yes; then
13638 result=no
13639 else
13640 result=yes
13641 fi
13642 else
13643 result=$wxUSE_FILEDLG
13644 fi
13645
13646 { echo "$as_me:$LINENO: result: $result" >&5
13647 echo "${ECHO_T}$result" >&6; }
13648
13649
13650 enablestring=
13651 defaultval=$wxUSE_ALL_FEATURES
13652 if test -z "$defaultval"; then
13653 if test x"$enablestring" = xdisable; then
13654 defaultval=yes
13655 else
13656 defaultval=no
13657 fi
13658 fi
13659
13660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13661 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13662 # Check whether --enable-finddlg was given.
13663 if test "${enable_finddlg+set}" = set; then
13664 enableval=$enable_finddlg;
13665 if test "$enableval" = yes; then
13666 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13667 else
13668 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13669 fi
13670 cache=yes
13671
13672 else
13673
13674 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13675 if test "x$LINE" != x ; then
13676 eval "DEFAULT_$LINE"
13677 fi
13678
13679 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13680
13681 fi
13682
13683
13684 eval "$wx_cv_use_finddlg"
13685 if test "x$cache" = xyes; then
13686 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13687 fi
13688
13689 if test x"$enablestring" = xdisable; then
13690 if test $wxUSE_FINDREPLDLG = yes; then
13691 result=no
13692 else
13693 result=yes
13694 fi
13695 else
13696 result=$wxUSE_FINDREPLDLG
13697 fi
13698
13699 { echo "$as_me:$LINENO: result: $result" >&5
13700 echo "${ECHO_T}$result" >&6; }
13701
13702
13703 enablestring=
13704 defaultval=$wxUSE_ALL_FEATURES
13705 if test -z "$defaultval"; then
13706 if test x"$enablestring" = xdisable; then
13707 defaultval=yes
13708 else
13709 defaultval=no
13710 fi
13711 fi
13712
13713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13714 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13715 # Check whether --enable-fontdlg was given.
13716 if test "${enable_fontdlg+set}" = set; then
13717 enableval=$enable_fontdlg;
13718 if test "$enableval" = yes; then
13719 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13720 else
13721 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13722 fi
13723 cache=yes
13724
13725 else
13726
13727 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13728 if test "x$LINE" != x ; then
13729 eval "DEFAULT_$LINE"
13730 fi
13731
13732 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13733
13734 fi
13735
13736
13737 eval "$wx_cv_use_fontdlg"
13738 if test "x$cache" = xyes; then
13739 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13740 fi
13741
13742 if test x"$enablestring" = xdisable; then
13743 if test $wxUSE_FONTDLG = yes; then
13744 result=no
13745 else
13746 result=yes
13747 fi
13748 else
13749 result=$wxUSE_FONTDLG
13750 fi
13751
13752 { echo "$as_me:$LINENO: result: $result" >&5
13753 echo "${ECHO_T}$result" >&6; }
13754
13755
13756 enablestring=
13757 defaultval=$wxUSE_ALL_FEATURES
13758 if test -z "$defaultval"; then
13759 if test x"$enablestring" = xdisable; then
13760 defaultval=yes
13761 else
13762 defaultval=no
13763 fi
13764 fi
13765
13766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13767 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13768 # Check whether --enable-dirdlg was given.
13769 if test "${enable_dirdlg+set}" = set; then
13770 enableval=$enable_dirdlg;
13771 if test "$enableval" = yes; then
13772 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13773 else
13774 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13775 fi
13776 cache=yes
13777
13778 else
13779
13780 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13781 if test "x$LINE" != x ; then
13782 eval "DEFAULT_$LINE"
13783 fi
13784
13785 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13786
13787 fi
13788
13789
13790 eval "$wx_cv_use_dirdlg"
13791 if test "x$cache" = xyes; then
13792 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13793 fi
13794
13795 if test x"$enablestring" = xdisable; then
13796 if test $wxUSE_DIRDLG = yes; then
13797 result=no
13798 else
13799 result=yes
13800 fi
13801 else
13802 result=$wxUSE_DIRDLG
13803 fi
13804
13805 { echo "$as_me:$LINENO: result: $result" >&5
13806 echo "${ECHO_T}$result" >&6; }
13807
13808
13809 enablestring=
13810 defaultval=$wxUSE_ALL_FEATURES
13811 if test -z "$defaultval"; then
13812 if test x"$enablestring" = xdisable; then
13813 defaultval=yes
13814 else
13815 defaultval=no
13816 fi
13817 fi
13818
13819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13820 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13821 # Check whether --enable-msgdlg was given.
13822 if test "${enable_msgdlg+set}" = set; then
13823 enableval=$enable_msgdlg;
13824 if test "$enableval" = yes; then
13825 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13826 else
13827 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13828 fi
13829 cache=yes
13830
13831 else
13832
13833 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13834 if test "x$LINE" != x ; then
13835 eval "DEFAULT_$LINE"
13836 fi
13837
13838 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13839
13840 fi
13841
13842
13843 eval "$wx_cv_use_msgdlg"
13844 if test "x$cache" = xyes; then
13845 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13846 fi
13847
13848 if test x"$enablestring" = xdisable; then
13849 if test $wxUSE_MSGDLG = yes; then
13850 result=no
13851 else
13852 result=yes
13853 fi
13854 else
13855 result=$wxUSE_MSGDLG
13856 fi
13857
13858 { echo "$as_me:$LINENO: result: $result" >&5
13859 echo "${ECHO_T}$result" >&6; }
13860
13861
13862 enablestring=
13863 defaultval=$wxUSE_ALL_FEATURES
13864 if test -z "$defaultval"; then
13865 if test x"$enablestring" = xdisable; then
13866 defaultval=yes
13867 else
13868 defaultval=no
13869 fi
13870 fi
13871
13872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13873 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13874 # Check whether --enable-numberdlg was given.
13875 if test "${enable_numberdlg+set}" = set; then
13876 enableval=$enable_numberdlg;
13877 if test "$enableval" = yes; then
13878 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13879 else
13880 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13881 fi
13882 cache=yes
13883
13884 else
13885
13886 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13887 if test "x$LINE" != x ; then
13888 eval "DEFAULT_$LINE"
13889 fi
13890
13891 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13892
13893 fi
13894
13895
13896 eval "$wx_cv_use_numberdlg"
13897 if test "x$cache" = xyes; then
13898 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
13899 fi
13900
13901 if test x"$enablestring" = xdisable; then
13902 if test $wxUSE_NUMBERDLG = yes; then
13903 result=no
13904 else
13905 result=yes
13906 fi
13907 else
13908 result=$wxUSE_NUMBERDLG
13909 fi
13910
13911 { echo "$as_me:$LINENO: result: $result" >&5
13912 echo "${ECHO_T}$result" >&6; }
13913
13914
13915 enablestring=
13916 defaultval=$wxUSE_ALL_FEATURES
13917 if test -z "$defaultval"; then
13918 if test x"$enablestring" = xdisable; then
13919 defaultval=yes
13920 else
13921 defaultval=no
13922 fi
13923 fi
13924
13925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13926 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13927 # Check whether --enable-splash was given.
13928 if test "${enable_splash+set}" = set; then
13929 enableval=$enable_splash;
13930 if test "$enableval" = yes; then
13931 wx_cv_use_splash='wxUSE_SPLASH=yes'
13932 else
13933 wx_cv_use_splash='wxUSE_SPLASH=no'
13934 fi
13935 cache=yes
13936
13937 else
13938
13939 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13940 if test "x$LINE" != x ; then
13941 eval "DEFAULT_$LINE"
13942 fi
13943
13944 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13945
13946 fi
13947
13948
13949 eval "$wx_cv_use_splash"
13950 if test "x$cache" = xyes; then
13951 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
13952 fi
13953
13954 if test x"$enablestring" = xdisable; then
13955 if test $wxUSE_SPLASH = yes; then
13956 result=no
13957 else
13958 result=yes
13959 fi
13960 else
13961 result=$wxUSE_SPLASH
13962 fi
13963
13964 { echo "$as_me:$LINENO: result: $result" >&5
13965 echo "${ECHO_T}$result" >&6; }
13966
13967
13968 enablestring=
13969 defaultval=$wxUSE_ALL_FEATURES
13970 if test -z "$defaultval"; then
13971 if test x"$enablestring" = xdisable; then
13972 defaultval=yes
13973 else
13974 defaultval=no
13975 fi
13976 fi
13977
13978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13979 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13980 # Check whether --enable-textdlg was given.
13981 if test "${enable_textdlg+set}" = set; then
13982 enableval=$enable_textdlg;
13983 if test "$enableval" = yes; then
13984 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13985 else
13986 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13987 fi
13988 cache=yes
13989
13990 else
13991
13992 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13993 if test "x$LINE" != x ; then
13994 eval "DEFAULT_$LINE"
13995 fi
13996
13997 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13998
13999 fi
14000
14001
14002 eval "$wx_cv_use_textdlg"
14003 if test "x$cache" = xyes; then
14004 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14005 fi
14006
14007 if test x"$enablestring" = xdisable; then
14008 if test $wxUSE_TEXTDLG = yes; then
14009 result=no
14010 else
14011 result=yes
14012 fi
14013 else
14014 result=$wxUSE_TEXTDLG
14015 fi
14016
14017 { echo "$as_me:$LINENO: result: $result" >&5
14018 echo "${ECHO_T}$result" >&6; }
14019
14020
14021 enablestring=
14022 defaultval=$wxUSE_ALL_FEATURES
14023 if test -z "$defaultval"; then
14024 if test x"$enablestring" = xdisable; then
14025 defaultval=yes
14026 else
14027 defaultval=no
14028 fi
14029 fi
14030
14031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14032 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14033 # Check whether --enable-tipdlg was given.
14034 if test "${enable_tipdlg+set}" = set; then
14035 enableval=$enable_tipdlg;
14036 if test "$enableval" = yes; then
14037 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14038 else
14039 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14040 fi
14041 cache=yes
14042
14043 else
14044
14045 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14046 if test "x$LINE" != x ; then
14047 eval "DEFAULT_$LINE"
14048 fi
14049
14050 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14051
14052 fi
14053
14054
14055 eval "$wx_cv_use_tipdlg"
14056 if test "x$cache" = xyes; then
14057 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14058 fi
14059
14060 if test x"$enablestring" = xdisable; then
14061 if test $wxUSE_STARTUP_TIPS = yes; then
14062 result=no
14063 else
14064 result=yes
14065 fi
14066 else
14067 result=$wxUSE_STARTUP_TIPS
14068 fi
14069
14070 { echo "$as_me:$LINENO: result: $result" >&5
14071 echo "${ECHO_T}$result" >&6; }
14072
14073
14074 enablestring=
14075 defaultval=$wxUSE_ALL_FEATURES
14076 if test -z "$defaultval"; then
14077 if test x"$enablestring" = xdisable; then
14078 defaultval=yes
14079 else
14080 defaultval=no
14081 fi
14082 fi
14083
14084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14085 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14086 # Check whether --enable-progressdlg was given.
14087 if test "${enable_progressdlg+set}" = set; then
14088 enableval=$enable_progressdlg;
14089 if test "$enableval" = yes; then
14090 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14091 else
14092 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14093 fi
14094 cache=yes
14095
14096 else
14097
14098 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14099 if test "x$LINE" != x ; then
14100 eval "DEFAULT_$LINE"
14101 fi
14102
14103 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14104
14105 fi
14106
14107
14108 eval "$wx_cv_use_progressdlg"
14109 if test "x$cache" = xyes; then
14110 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14111 fi
14112
14113 if test x"$enablestring" = xdisable; then
14114 if test $wxUSE_PROGRESSDLG = yes; then
14115 result=no
14116 else
14117 result=yes
14118 fi
14119 else
14120 result=$wxUSE_PROGRESSDLG
14121 fi
14122
14123 { echo "$as_me:$LINENO: result: $result" >&5
14124 echo "${ECHO_T}$result" >&6; }
14125
14126
14127 enablestring=
14128 defaultval=$wxUSE_ALL_FEATURES
14129 if test -z "$defaultval"; then
14130 if test x"$enablestring" = xdisable; then
14131 defaultval=yes
14132 else
14133 defaultval=no
14134 fi
14135 fi
14136
14137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14138 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14139 # Check whether --enable-wizarddlg was given.
14140 if test "${enable_wizarddlg+set}" = set; then
14141 enableval=$enable_wizarddlg;
14142 if test "$enableval" = yes; then
14143 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14144 else
14145 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14146 fi
14147 cache=yes
14148
14149 else
14150
14151 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14152 if test "x$LINE" != x ; then
14153 eval "DEFAULT_$LINE"
14154 fi
14155
14156 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14157
14158 fi
14159
14160
14161 eval "$wx_cv_use_wizarddlg"
14162 if test "x$cache" = xyes; then
14163 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14164 fi
14165
14166 if test x"$enablestring" = xdisable; then
14167 if test $wxUSE_WIZARDDLG = yes; then
14168 result=no
14169 else
14170 result=yes
14171 fi
14172 else
14173 result=$wxUSE_WIZARDDLG
14174 fi
14175
14176 { echo "$as_me:$LINENO: result: $result" >&5
14177 echo "${ECHO_T}$result" >&6; }
14178
14179
14180
14181
14182 enablestring=
14183 defaultval=$wxUSE_ALL_FEATURES
14184 if test -z "$defaultval"; then
14185 if test x"$enablestring" = xdisable; then
14186 defaultval=yes
14187 else
14188 defaultval=no
14189 fi
14190 fi
14191
14192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14193 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14194 # Check whether --enable-menus was given.
14195 if test "${enable_menus+set}" = set; then
14196 enableval=$enable_menus;
14197 if test "$enableval" = yes; then
14198 wx_cv_use_menus='wxUSE_MENUS=yes'
14199 else
14200 wx_cv_use_menus='wxUSE_MENUS=no'
14201 fi
14202 cache=yes
14203
14204 else
14205
14206 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14207 if test "x$LINE" != x ; then
14208 eval "DEFAULT_$LINE"
14209 fi
14210
14211 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14212
14213 fi
14214
14215
14216 eval "$wx_cv_use_menus"
14217 if test "x$cache" = xyes; then
14218 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14219 fi
14220
14221 if test x"$enablestring" = xdisable; then
14222 if test $wxUSE_MENUS = yes; then
14223 result=no
14224 else
14225 result=yes
14226 fi
14227 else
14228 result=$wxUSE_MENUS
14229 fi
14230
14231 { echo "$as_me:$LINENO: result: $result" >&5
14232 echo "${ECHO_T}$result" >&6; }
14233
14234
14235 enablestring=
14236 defaultval=$wxUSE_ALL_FEATURES
14237 if test -z "$defaultval"; then
14238 if test x"$enablestring" = xdisable; then
14239 defaultval=yes
14240 else
14241 defaultval=no
14242 fi
14243 fi
14244
14245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14246 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14247 # Check whether --enable-miniframe was given.
14248 if test "${enable_miniframe+set}" = set; then
14249 enableval=$enable_miniframe;
14250 if test "$enableval" = yes; then
14251 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14252 else
14253 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14254 fi
14255 cache=yes
14256
14257 else
14258
14259 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14260 if test "x$LINE" != x ; then
14261 eval "DEFAULT_$LINE"
14262 fi
14263
14264 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14265
14266 fi
14267
14268
14269 eval "$wx_cv_use_miniframe"
14270 if test "x$cache" = xyes; then
14271 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14272 fi
14273
14274 if test x"$enablestring" = xdisable; then
14275 if test $wxUSE_MINIFRAME = yes; then
14276 result=no
14277 else
14278 result=yes
14279 fi
14280 else
14281 result=$wxUSE_MINIFRAME
14282 fi
14283
14284 { echo "$as_me:$LINENO: result: $result" >&5
14285 echo "${ECHO_T}$result" >&6; }
14286
14287
14288 enablestring=
14289 defaultval=$wxUSE_ALL_FEATURES
14290 if test -z "$defaultval"; then
14291 if test x"$enablestring" = xdisable; then
14292 defaultval=yes
14293 else
14294 defaultval=no
14295 fi
14296 fi
14297
14298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14299 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14300 # Check whether --enable-tooltips was given.
14301 if test "${enable_tooltips+set}" = set; then
14302 enableval=$enable_tooltips;
14303 if test "$enableval" = yes; then
14304 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14305 else
14306 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14307 fi
14308 cache=yes
14309
14310 else
14311
14312 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14313 if test "x$LINE" != x ; then
14314 eval "DEFAULT_$LINE"
14315 fi
14316
14317 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14318
14319 fi
14320
14321
14322 eval "$wx_cv_use_tooltips"
14323 if test "x$cache" = xyes; then
14324 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14325 fi
14326
14327 if test x"$enablestring" = xdisable; then
14328 if test $wxUSE_TOOLTIPS = yes; then
14329 result=no
14330 else
14331 result=yes
14332 fi
14333 else
14334 result=$wxUSE_TOOLTIPS
14335 fi
14336
14337 { echo "$as_me:$LINENO: result: $result" >&5
14338 echo "${ECHO_T}$result" >&6; }
14339
14340
14341 enablestring=
14342 defaultval=$wxUSE_ALL_FEATURES
14343 if test -z "$defaultval"; then
14344 if test x"$enablestring" = xdisable; then
14345 defaultval=yes
14346 else
14347 defaultval=no
14348 fi
14349 fi
14350
14351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14352 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14353 # Check whether --enable-splines was given.
14354 if test "${enable_splines+set}" = set; then
14355 enableval=$enable_splines;
14356 if test "$enableval" = yes; then
14357 wx_cv_use_splines='wxUSE_SPLINES=yes'
14358 else
14359 wx_cv_use_splines='wxUSE_SPLINES=no'
14360 fi
14361 cache=yes
14362
14363 else
14364
14365 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14366 if test "x$LINE" != x ; then
14367 eval "DEFAULT_$LINE"
14368 fi
14369
14370 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14371
14372 fi
14373
14374
14375 eval "$wx_cv_use_splines"
14376 if test "x$cache" = xyes; then
14377 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14378 fi
14379
14380 if test x"$enablestring" = xdisable; then
14381 if test $wxUSE_SPLINES = yes; then
14382 result=no
14383 else
14384 result=yes
14385 fi
14386 else
14387 result=$wxUSE_SPLINES
14388 fi
14389
14390 { echo "$as_me:$LINENO: result: $result" >&5
14391 echo "${ECHO_T}$result" >&6; }
14392
14393
14394 enablestring=
14395 defaultval=$wxUSE_ALL_FEATURES
14396 if test -z "$defaultval"; then
14397 if test x"$enablestring" = xdisable; then
14398 defaultval=yes
14399 else
14400 defaultval=no
14401 fi
14402 fi
14403
14404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14405 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14406 # Check whether --enable-mousewheel was given.
14407 if test "${enable_mousewheel+set}" = set; then
14408 enableval=$enable_mousewheel;
14409 if test "$enableval" = yes; then
14410 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14411 else
14412 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14413 fi
14414 cache=yes
14415
14416 else
14417
14418 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14419 if test "x$LINE" != x ; then
14420 eval "DEFAULT_$LINE"
14421 fi
14422
14423 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14424
14425 fi
14426
14427
14428 eval "$wx_cv_use_mousewheel"
14429 if test "x$cache" = xyes; then
14430 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14431 fi
14432
14433 if test x"$enablestring" = xdisable; then
14434 if test $wxUSE_MOUSEWHEEL = yes; then
14435 result=no
14436 else
14437 result=yes
14438 fi
14439 else
14440 result=$wxUSE_MOUSEWHEEL
14441 fi
14442
14443 { echo "$as_me:$LINENO: result: $result" >&5
14444 echo "${ECHO_T}$result" >&6; }
14445
14446
14447 enablestring=
14448 defaultval=$wxUSE_ALL_FEATURES
14449 if test -z "$defaultval"; then
14450 if test x"$enablestring" = xdisable; then
14451 defaultval=yes
14452 else
14453 defaultval=no
14454 fi
14455 fi
14456
14457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14458 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14459 # Check whether --enable-validators was given.
14460 if test "${enable_validators+set}" = set; then
14461 enableval=$enable_validators;
14462 if test "$enableval" = yes; then
14463 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14464 else
14465 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14466 fi
14467 cache=yes
14468
14469 else
14470
14471 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14472 if test "x$LINE" != x ; then
14473 eval "DEFAULT_$LINE"
14474 fi
14475
14476 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14477
14478 fi
14479
14480
14481 eval "$wx_cv_use_validators"
14482 if test "x$cache" = xyes; then
14483 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14484 fi
14485
14486 if test x"$enablestring" = xdisable; then
14487 if test $wxUSE_VALIDATORS = yes; then
14488 result=no
14489 else
14490 result=yes
14491 fi
14492 else
14493 result=$wxUSE_VALIDATORS
14494 fi
14495
14496 { echo "$as_me:$LINENO: result: $result" >&5
14497 echo "${ECHO_T}$result" >&6; }
14498
14499
14500 enablestring=
14501 defaultval=$wxUSE_ALL_FEATURES
14502 if test -z "$defaultval"; then
14503 if test x"$enablestring" = xdisable; then
14504 defaultval=yes
14505 else
14506 defaultval=no
14507 fi
14508 fi
14509
14510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14511 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14512 # Check whether --enable-busyinfo was given.
14513 if test "${enable_busyinfo+set}" = set; then
14514 enableval=$enable_busyinfo;
14515 if test "$enableval" = yes; then
14516 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14517 else
14518 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14519 fi
14520 cache=yes
14521
14522 else
14523
14524 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14525 if test "x$LINE" != x ; then
14526 eval "DEFAULT_$LINE"
14527 fi
14528
14529 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14530
14531 fi
14532
14533
14534 eval "$wx_cv_use_busyinfo"
14535 if test "x$cache" = xyes; then
14536 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14537 fi
14538
14539 if test x"$enablestring" = xdisable; then
14540 if test $wxUSE_BUSYINFO = yes; then
14541 result=no
14542 else
14543 result=yes
14544 fi
14545 else
14546 result=$wxUSE_BUSYINFO
14547 fi
14548
14549 { echo "$as_me:$LINENO: result: $result" >&5
14550 echo "${ECHO_T}$result" >&6; }
14551
14552
14553 enablestring=
14554 defaultval=$wxUSE_ALL_FEATURES
14555 if test -z "$defaultval"; then
14556 if test x"$enablestring" = xdisable; then
14557 defaultval=yes
14558 else
14559 defaultval=no
14560 fi
14561 fi
14562
14563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14564 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14565 # Check whether --enable-joystick was given.
14566 if test "${enable_joystick+set}" = set; then
14567 enableval=$enable_joystick;
14568 if test "$enableval" = yes; then
14569 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14570 else
14571 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14572 fi
14573 cache=yes
14574
14575 else
14576
14577 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14578 if test "x$LINE" != x ; then
14579 eval "DEFAULT_$LINE"
14580 fi
14581
14582 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14583
14584 fi
14585
14586
14587 eval "$wx_cv_use_joystick"
14588 if test "x$cache" = xyes; then
14589 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14590 fi
14591
14592 if test x"$enablestring" = xdisable; then
14593 if test $wxUSE_JOYSTICK = yes; then
14594 result=no
14595 else
14596 result=yes
14597 fi
14598 else
14599 result=$wxUSE_JOYSTICK
14600 fi
14601
14602 { echo "$as_me:$LINENO: result: $result" >&5
14603 echo "${ECHO_T}$result" >&6; }
14604
14605
14606 enablestring=
14607 defaultval=$wxUSE_ALL_FEATURES
14608 if test -z "$defaultval"; then
14609 if test x"$enablestring" = xdisable; then
14610 defaultval=yes
14611 else
14612 defaultval=no
14613 fi
14614 fi
14615
14616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14617 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14618 # Check whether --enable-metafile was given.
14619 if test "${enable_metafile+set}" = set; then
14620 enableval=$enable_metafile;
14621 if test "$enableval" = yes; then
14622 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14623 else
14624 wx_cv_use_metafile='wxUSE_METAFILE=no'
14625 fi
14626 cache=yes
14627
14628 else
14629
14630 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14631 if test "x$LINE" != x ; then
14632 eval "DEFAULT_$LINE"
14633 fi
14634
14635 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14636
14637 fi
14638
14639
14640 eval "$wx_cv_use_metafile"
14641 if test "x$cache" = xyes; then
14642 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14643 fi
14644
14645 if test x"$enablestring" = xdisable; then
14646 if test $wxUSE_METAFILE = yes; then
14647 result=no
14648 else
14649 result=yes
14650 fi
14651 else
14652 result=$wxUSE_METAFILE
14653 fi
14654
14655 { echo "$as_me:$LINENO: result: $result" >&5
14656 echo "${ECHO_T}$result" >&6; }
14657
14658
14659 enablestring=
14660 defaultval=$wxUSE_ALL_FEATURES
14661 if test -z "$defaultval"; then
14662 if test x"$enablestring" = xdisable; then
14663 defaultval=yes
14664 else
14665 defaultval=no
14666 fi
14667 fi
14668
14669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14670 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14671 # Check whether --enable-dragimage was given.
14672 if test "${enable_dragimage+set}" = set; then
14673 enableval=$enable_dragimage;
14674 if test "$enableval" = yes; then
14675 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14676 else
14677 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14678 fi
14679 cache=yes
14680
14681 else
14682
14683 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14684 if test "x$LINE" != x ; then
14685 eval "DEFAULT_$LINE"
14686 fi
14687
14688 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14689
14690 fi
14691
14692
14693 eval "$wx_cv_use_dragimage"
14694 if test "x$cache" = xyes; then
14695 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14696 fi
14697
14698 if test x"$enablestring" = xdisable; then
14699 if test $wxUSE_DRAGIMAGE = yes; then
14700 result=no
14701 else
14702 result=yes
14703 fi
14704 else
14705 result=$wxUSE_DRAGIMAGE
14706 fi
14707
14708 { echo "$as_me:$LINENO: result: $result" >&5
14709 echo "${ECHO_T}$result" >&6; }
14710
14711
14712 enablestring=
14713 defaultval=$wxUSE_ALL_FEATURES
14714 if test -z "$defaultval"; then
14715 if test x"$enablestring" = xdisable; then
14716 defaultval=yes
14717 else
14718 defaultval=no
14719 fi
14720 fi
14721
14722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14723 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14724 # Check whether --enable-accessibility was given.
14725 if test "${enable_accessibility+set}" = set; then
14726 enableval=$enable_accessibility;
14727 if test "$enableval" = yes; then
14728 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14729 else
14730 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14731 fi
14732 cache=yes
14733
14734 else
14735
14736 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14737 if test "x$LINE" != x ; then
14738 eval "DEFAULT_$LINE"
14739 fi
14740
14741 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14742
14743 fi
14744
14745
14746 eval "$wx_cv_use_accessibility"
14747 if test "x$cache" = xyes; then
14748 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14749 fi
14750
14751 if test x"$enablestring" = xdisable; then
14752 if test $wxUSE_ACCESSIBILITY = yes; then
14753 result=no
14754 else
14755 result=yes
14756 fi
14757 else
14758 result=$wxUSE_ACCESSIBILITY
14759 fi
14760
14761 { echo "$as_me:$LINENO: result: $result" >&5
14762 echo "${ECHO_T}$result" >&6; }
14763
14764
14765
14766
14767 enablestring=
14768 defaultval=$wxUSE_ALL_FEATURES
14769 if test -z "$defaultval"; then
14770 if test x"$enablestring" = xdisable; then
14771 defaultval=yes
14772 else
14773 defaultval=no
14774 fi
14775 fi
14776
14777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14778 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14779 # Check whether --enable-palette was given.
14780 if test "${enable_palette+set}" = set; then
14781 enableval=$enable_palette;
14782 if test "$enableval" = yes; then
14783 wx_cv_use_palette='wxUSE_PALETTE=yes'
14784 else
14785 wx_cv_use_palette='wxUSE_PALETTE=no'
14786 fi
14787 cache=yes
14788
14789 else
14790
14791 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14792 if test "x$LINE" != x ; then
14793 eval "DEFAULT_$LINE"
14794 fi
14795
14796 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14797
14798 fi
14799
14800
14801 eval "$wx_cv_use_palette"
14802 if test "x$cache" = xyes; then
14803 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14804 fi
14805
14806 if test x"$enablestring" = xdisable; then
14807 if test $wxUSE_PALETTE = yes; then
14808 result=no
14809 else
14810 result=yes
14811 fi
14812 else
14813 result=$wxUSE_PALETTE
14814 fi
14815
14816 { echo "$as_me:$LINENO: result: $result" >&5
14817 echo "${ECHO_T}$result" >&6; }
14818
14819
14820 enablestring=
14821 defaultval=$wxUSE_ALL_FEATURES
14822 if test -z "$defaultval"; then
14823 if test x"$enablestring" = xdisable; then
14824 defaultval=yes
14825 else
14826 defaultval=no
14827 fi
14828 fi
14829
14830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14831 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14832 # Check whether --enable-image was given.
14833 if test "${enable_image+set}" = set; then
14834 enableval=$enable_image;
14835 if test "$enableval" = yes; then
14836 wx_cv_use_image='wxUSE_IMAGE=yes'
14837 else
14838 wx_cv_use_image='wxUSE_IMAGE=no'
14839 fi
14840 cache=yes
14841
14842 else
14843
14844 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14845 if test "x$LINE" != x ; then
14846 eval "DEFAULT_$LINE"
14847 fi
14848
14849 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14850
14851 fi
14852
14853
14854 eval "$wx_cv_use_image"
14855 if test "x$cache" = xyes; then
14856 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
14857 fi
14858
14859 if test x"$enablestring" = xdisable; then
14860 if test $wxUSE_IMAGE = yes; then
14861 result=no
14862 else
14863 result=yes
14864 fi
14865 else
14866 result=$wxUSE_IMAGE
14867 fi
14868
14869 { echo "$as_me:$LINENO: result: $result" >&5
14870 echo "${ECHO_T}$result" >&6; }
14871
14872
14873 enablestring=
14874 defaultval=$wxUSE_ALL_FEATURES
14875 if test -z "$defaultval"; then
14876 if test x"$enablestring" = xdisable; then
14877 defaultval=yes
14878 else
14879 defaultval=no
14880 fi
14881 fi
14882
14883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14884 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14885 # Check whether --enable-gif was given.
14886 if test "${enable_gif+set}" = set; then
14887 enableval=$enable_gif;
14888 if test "$enableval" = yes; then
14889 wx_cv_use_gif='wxUSE_GIF=yes'
14890 else
14891 wx_cv_use_gif='wxUSE_GIF=no'
14892 fi
14893 cache=yes
14894
14895 else
14896
14897 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14898 if test "x$LINE" != x ; then
14899 eval "DEFAULT_$LINE"
14900 fi
14901
14902 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14903
14904 fi
14905
14906
14907 eval "$wx_cv_use_gif"
14908 if test "x$cache" = xyes; then
14909 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
14910 fi
14911
14912 if test x"$enablestring" = xdisable; then
14913 if test $wxUSE_GIF = yes; then
14914 result=no
14915 else
14916 result=yes
14917 fi
14918 else
14919 result=$wxUSE_GIF
14920 fi
14921
14922 { echo "$as_me:$LINENO: result: $result" >&5
14923 echo "${ECHO_T}$result" >&6; }
14924
14925
14926 enablestring=
14927 defaultval=$wxUSE_ALL_FEATURES
14928 if test -z "$defaultval"; then
14929 if test x"$enablestring" = xdisable; then
14930 defaultval=yes
14931 else
14932 defaultval=no
14933 fi
14934 fi
14935
14936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14937 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14938 # Check whether --enable-pcx was given.
14939 if test "${enable_pcx+set}" = set; then
14940 enableval=$enable_pcx;
14941 if test "$enableval" = yes; then
14942 wx_cv_use_pcx='wxUSE_PCX=yes'
14943 else
14944 wx_cv_use_pcx='wxUSE_PCX=no'
14945 fi
14946 cache=yes
14947
14948 else
14949
14950 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14951 if test "x$LINE" != x ; then
14952 eval "DEFAULT_$LINE"
14953 fi
14954
14955 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14956
14957 fi
14958
14959
14960 eval "$wx_cv_use_pcx"
14961 if test "x$cache" = xyes; then
14962 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
14963 fi
14964
14965 if test x"$enablestring" = xdisable; then
14966 if test $wxUSE_PCX = yes; then
14967 result=no
14968 else
14969 result=yes
14970 fi
14971 else
14972 result=$wxUSE_PCX
14973 fi
14974
14975 { echo "$as_me:$LINENO: result: $result" >&5
14976 echo "${ECHO_T}$result" >&6; }
14977
14978
14979 enablestring=
14980 defaultval=$wxUSE_ALL_FEATURES
14981 if test -z "$defaultval"; then
14982 if test x"$enablestring" = xdisable; then
14983 defaultval=yes
14984 else
14985 defaultval=no
14986 fi
14987 fi
14988
14989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14990 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14991 # Check whether --enable-tga was given.
14992 if test "${enable_tga+set}" = set; then
14993 enableval=$enable_tga;
14994 if test "$enableval" = yes; then
14995 wx_cv_use_tga='wxUSE_TGA=yes'
14996 else
14997 wx_cv_use_tga='wxUSE_TGA=no'
14998 fi
14999 cache=yes
15000
15001 else
15002
15003 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15004 if test "x$LINE" != x ; then
15005 eval "DEFAULT_$LINE"
15006 fi
15007
15008 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15009
15010 fi
15011
15012
15013 eval "$wx_cv_use_tga"
15014 if test "x$cache" = xyes; then
15015 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15016 fi
15017
15018 if test x"$enablestring" = xdisable; then
15019 if test $wxUSE_TGA = yes; then
15020 result=no
15021 else
15022 result=yes
15023 fi
15024 else
15025 result=$wxUSE_TGA
15026 fi
15027
15028 { echo "$as_me:$LINENO: result: $result" >&5
15029 echo "${ECHO_T}$result" >&6; }
15030
15031
15032 enablestring=
15033 defaultval=$wxUSE_ALL_FEATURES
15034 if test -z "$defaultval"; then
15035 if test x"$enablestring" = xdisable; then
15036 defaultval=yes
15037 else
15038 defaultval=no
15039 fi
15040 fi
15041
15042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15043 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15044 # Check whether --enable-iff was given.
15045 if test "${enable_iff+set}" = set; then
15046 enableval=$enable_iff;
15047 if test "$enableval" = yes; then
15048 wx_cv_use_iff='wxUSE_IFF=yes'
15049 else
15050 wx_cv_use_iff='wxUSE_IFF=no'
15051 fi
15052 cache=yes
15053
15054 else
15055
15056 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15057 if test "x$LINE" != x ; then
15058 eval "DEFAULT_$LINE"
15059 fi
15060
15061 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15062
15063 fi
15064
15065
15066 eval "$wx_cv_use_iff"
15067 if test "x$cache" = xyes; then
15068 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15069 fi
15070
15071 if test x"$enablestring" = xdisable; then
15072 if test $wxUSE_IFF = yes; then
15073 result=no
15074 else
15075 result=yes
15076 fi
15077 else
15078 result=$wxUSE_IFF
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}-pnm" >&5
15096 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15097 # Check whether --enable-pnm was given.
15098 if test "${enable_pnm+set}" = set; then
15099 enableval=$enable_pnm;
15100 if test "$enableval" = yes; then
15101 wx_cv_use_pnm='wxUSE_PNM=yes'
15102 else
15103 wx_cv_use_pnm='wxUSE_PNM=no'
15104 fi
15105 cache=yes
15106
15107 else
15108
15109 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15110 if test "x$LINE" != x ; then
15111 eval "DEFAULT_$LINE"
15112 fi
15113
15114 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15115
15116 fi
15117
15118
15119 eval "$wx_cv_use_pnm"
15120 if test "x$cache" = xyes; then
15121 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15122 fi
15123
15124 if test x"$enablestring" = xdisable; then
15125 if test $wxUSE_PNM = yes; then
15126 result=no
15127 else
15128 result=yes
15129 fi
15130 else
15131 result=$wxUSE_PNM
15132 fi
15133
15134 { echo "$as_me:$LINENO: result: $result" >&5
15135 echo "${ECHO_T}$result" >&6; }
15136
15137
15138 enablestring=
15139 defaultval=$wxUSE_ALL_FEATURES
15140 if test -z "$defaultval"; then
15141 if test x"$enablestring" = xdisable; then
15142 defaultval=yes
15143 else
15144 defaultval=no
15145 fi
15146 fi
15147
15148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15149 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15150 # Check whether --enable-xpm was given.
15151 if test "${enable_xpm+set}" = set; then
15152 enableval=$enable_xpm;
15153 if test "$enableval" = yes; then
15154 wx_cv_use_xpm='wxUSE_XPM=yes'
15155 else
15156 wx_cv_use_xpm='wxUSE_XPM=no'
15157 fi
15158 cache=yes
15159
15160 else
15161
15162 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15163 if test "x$LINE" != x ; then
15164 eval "DEFAULT_$LINE"
15165 fi
15166
15167 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15168
15169 fi
15170
15171
15172 eval "$wx_cv_use_xpm"
15173 if test "x$cache" = xyes; then
15174 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15175 fi
15176
15177 if test x"$enablestring" = xdisable; then
15178 if test $wxUSE_XPM = yes; then
15179 result=no
15180 else
15181 result=yes
15182 fi
15183 else
15184 result=$wxUSE_XPM
15185 fi
15186
15187 { echo "$as_me:$LINENO: result: $result" >&5
15188 echo "${ECHO_T}$result" >&6; }
15189
15190
15191 enablestring=
15192 defaultval=$wxUSE_ALL_FEATURES
15193 if test -z "$defaultval"; then
15194 if test x"$enablestring" = xdisable; then
15195 defaultval=yes
15196 else
15197 defaultval=no
15198 fi
15199 fi
15200
15201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15202 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15203 # Check whether --enable-ico_cur was given.
15204 if test "${enable_ico_cur+set}" = set; then
15205 enableval=$enable_ico_cur;
15206 if test "$enableval" = yes; then
15207 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15208 else
15209 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15210 fi
15211 cache=yes
15212
15213 else
15214
15215 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15216 if test "x$LINE" != x ; then
15217 eval "DEFAULT_$LINE"
15218 fi
15219
15220 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15221
15222 fi
15223
15224
15225 eval "$wx_cv_use_ico_cur"
15226 if test "x$cache" = xyes; then
15227 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15228 fi
15229
15230 if test x"$enablestring" = xdisable; then
15231 if test $wxUSE_ICO_CUR = yes; then
15232 result=no
15233 else
15234 result=yes
15235 fi
15236 else
15237 result=$wxUSE_ICO_CUR
15238 fi
15239
15240 { echo "$as_me:$LINENO: result: $result" >&5
15241 echo "${ECHO_T}$result" >&6; }
15242
15243
15244
15245
15246 enablestring=
15247 defaultval=$wxUSE_ALL_FEATURES
15248 if test -z "$defaultval"; then
15249 if test x"$enablestring" = xdisable; then
15250 defaultval=yes
15251 else
15252 defaultval=no
15253 fi
15254 fi
15255
15256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15257 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15258 # Check whether --enable-dccache was given.
15259 if test "${enable_dccache+set}" = set; then
15260 enableval=$enable_dccache;
15261 if test "$enableval" = yes; then
15262 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15263 else
15264 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15265 fi
15266 cache=yes
15267
15268 else
15269
15270 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15271 if test "x$LINE" != x ; then
15272 eval "DEFAULT_$LINE"
15273 fi
15274
15275 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15276
15277 fi
15278
15279
15280 eval "$wx_cv_use_dccache"
15281 if test "x$cache" = xyes; then
15282 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15283 fi
15284
15285 if test x"$enablestring" = xdisable; then
15286 if test $wxUSE_DC_CACHEING = yes; then
15287 result=no
15288 else
15289 result=yes
15290 fi
15291 else
15292 result=$wxUSE_DC_CACHEING
15293 fi
15294
15295 { echo "$as_me:$LINENO: result: $result" >&5
15296 echo "${ECHO_T}$result" >&6; }
15297
15298
15299 enablestring=
15300 defaultval=$wxUSE_ALL_FEATURES
15301 if test -z "$defaultval"; then
15302 if test x"$enablestring" = xdisable; then
15303 defaultval=yes
15304 else
15305 defaultval=no
15306 fi
15307 fi
15308
15309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15310 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15311 # Check whether --enable-ps-in-msw was given.
15312 if test "${enable_ps_in_msw+set}" = set; then
15313 enableval=$enable_ps_in_msw;
15314 if test "$enableval" = yes; then
15315 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15316 else
15317 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15318 fi
15319 cache=yes
15320
15321 else
15322
15323 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15324 if test "x$LINE" != x ; then
15325 eval "DEFAULT_$LINE"
15326 fi
15327
15328 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15329
15330 fi
15331
15332
15333 eval "$wx_cv_use_ps_in_msw"
15334 if test "x$cache" = xyes; then
15335 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15336 fi
15337
15338 if test x"$enablestring" = xdisable; then
15339 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15340 result=no
15341 else
15342 result=yes
15343 fi
15344 else
15345 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15346 fi
15347
15348 { echo "$as_me:$LINENO: result: $result" >&5
15349 echo "${ECHO_T}$result" >&6; }
15350
15351
15352 enablestring=
15353 defaultval=$wxUSE_ALL_FEATURES
15354 if test -z "$defaultval"; then
15355 if test x"$enablestring" = xdisable; then
15356 defaultval=yes
15357 else
15358 defaultval=no
15359 fi
15360 fi
15361
15362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15363 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
15364 # Check whether --enable-ownerdrawn was given.
15365 if test "${enable_ownerdrawn+set}" = set; then
15366 enableval=$enable_ownerdrawn;
15367 if test "$enableval" = yes; then
15368 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15369 else
15370 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15371 fi
15372 cache=yes
15373
15374 else
15375
15376 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15377 if test "x$LINE" != x ; then
15378 eval "DEFAULT_$LINE"
15379 fi
15380
15381 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15382
15383 fi
15384
15385
15386 eval "$wx_cv_use_ownerdrawn"
15387 if test "x$cache" = xyes; then
15388 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15389 fi
15390
15391 if test x"$enablestring" = xdisable; then
15392 if test $wxUSE_OWNER_DRAWN = yes; then
15393 result=no
15394 else
15395 result=yes
15396 fi
15397 else
15398 result=$wxUSE_OWNER_DRAWN
15399 fi
15400
15401 { echo "$as_me:$LINENO: result: $result" >&5
15402 echo "${ECHO_T}$result" >&6; }
15403
15404
15405 enablestring=
15406 defaultval=$wxUSE_ALL_FEATURES
15407 if test -z "$defaultval"; then
15408 if test x"$enablestring" = xdisable; then
15409 defaultval=yes
15410 else
15411 defaultval=no
15412 fi
15413 fi
15414
15415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15416 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15417 # Check whether --enable-regkey was given.
15418 if test "${enable_regkey+set}" = set; then
15419 enableval=$enable_regkey;
15420 if test "$enableval" = yes; then
15421 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15422 else
15423 wx_cv_use_regkey='wxUSE_REGKEY=no'
15424 fi
15425 cache=yes
15426
15427 else
15428
15429 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15430 if test "x$LINE" != x ; then
15431 eval "DEFAULT_$LINE"
15432 fi
15433
15434 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15435
15436 fi
15437
15438
15439 eval "$wx_cv_use_regkey"
15440 if test "x$cache" = xyes; then
15441 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15442 fi
15443
15444 if test x"$enablestring" = xdisable; then
15445 if test $wxUSE_REGKEY = yes; then
15446 result=no
15447 else
15448 result=yes
15449 fi
15450 else
15451 result=$wxUSE_REGKEY
15452 fi
15453
15454 { echo "$as_me:$LINENO: result: $result" >&5
15455 echo "${ECHO_T}$result" >&6; }
15456
15457
15458 enablestring=
15459 defaultval=$wxUSE_ALL_FEATURES
15460 if test -z "$defaultval"; then
15461 if test x"$enablestring" = xdisable; then
15462 defaultval=yes
15463 else
15464 defaultval=no
15465 fi
15466 fi
15467
15468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15469 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15470 # Check whether --enable-uxtheme was given.
15471 if test "${enable_uxtheme+set}" = set; then
15472 enableval=$enable_uxtheme;
15473 if test "$enableval" = yes; then
15474 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15475 else
15476 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15477 fi
15478 cache=yes
15479
15480 else
15481
15482 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15483 if test "x$LINE" != x ; then
15484 eval "DEFAULT_$LINE"
15485 fi
15486
15487 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15488
15489 fi
15490
15491
15492 eval "$wx_cv_use_uxtheme"
15493 if test "x$cache" = xyes; then
15494 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15495 fi
15496
15497 if test x"$enablestring" = xdisable; then
15498 if test $wxUSE_UXTHEME = yes; then
15499 result=no
15500 else
15501 result=yes
15502 fi
15503 else
15504 result=$wxUSE_UXTHEME
15505 fi
15506
15507 { echo "$as_me:$LINENO: result: $result" >&5
15508 echo "${ECHO_T}$result" >&6; }
15509
15510
15511 enablestring=
15512 defaultval=$wxUSE_ALL_FEATURES
15513 if test -z "$defaultval"; then
15514 if test x"$enablestring" = xdisable; then
15515 defaultval=yes
15516 else
15517 defaultval=no
15518 fi
15519 fi
15520
15521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15522 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15523 # Check whether --enable-wxdib was given.
15524 if test "${enable_wxdib+set}" = set; then
15525 enableval=$enable_wxdib;
15526 if test "$enableval" = yes; then
15527 wx_cv_use_wxdib='wxUSE_DIB=yes'
15528 else
15529 wx_cv_use_wxdib='wxUSE_DIB=no'
15530 fi
15531 cache=yes
15532
15533 else
15534
15535 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15536 if test "x$LINE" != x ; then
15537 eval "DEFAULT_$LINE"
15538 fi
15539
15540 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15541
15542 fi
15543
15544
15545 eval "$wx_cv_use_wxdib"
15546 if test "x$cache" = xyes; then
15547 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15548 fi
15549
15550 if test x"$enablestring" = xdisable; then
15551 if test $wxUSE_DIB = yes; then
15552 result=no
15553 else
15554 result=yes
15555 fi
15556 else
15557 result=$wxUSE_DIB
15558 fi
15559
15560 { echo "$as_me:$LINENO: result: $result" >&5
15561 echo "${ECHO_T}$result" >&6; }
15562
15563
15564 fi
15565
15566
15567 echo "saving argument cache $wx_arg_cache_file"
15568 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15569
15570
15571
15572 { echo "$as_me:$LINENO: checking for toolkit" >&5
15573 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15574
15575 # In Wine, we need to default to MSW, not GTK or MOTIF
15576 if test "$wxUSE_WINE" = "yes"; then
15577 DEFAULT_DEFAULT_wxUSE_GTK=0
15578 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15579 DEFAULT_DEFAULT_wxUSE_MSW=1
15580 wxUSE_SHARED=no
15581 CC=${CC:-winegcc}
15582 CXX=${CXX:-wineg++}
15583 fi
15584
15585
15586 if test "$wxUSE_GUI" = "yes"; then
15587
15588 if test "$USE_BEOS" = 1; then
15589 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15590 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15591 { (exit 1); exit 1; }; }
15592 fi
15593
15594 if test "$TOOLKIT_GIVEN" = 1; then
15595 for toolkit in `echo $ALL_TOOLKITS`; do
15596 var=wxUSE_$toolkit
15597 eval "value=\$${var}"
15598 if test "x$value" = "xno"; then
15599 eval "$var=0"
15600 elif test "x$value" != "x"; then
15601 eval "$var=1"
15602 fi
15603
15604 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15605 eval "wx${toolkit}_VERSION=$value"
15606 fi
15607 done
15608 else
15609 for toolkit in `echo $ALL_TOOLKITS`; do
15610 if test "$has_toolkit_in_cache" != 1; then
15611 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15612 else
15613 var=DEFAULT_wxUSE_$toolkit
15614
15615 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15616 if test "x$version" != "x"; then
15617 eval "wx${toolkit}_VERSION=$version"
15618 fi
15619 fi
15620 eval "wxUSE_$toolkit=\$${var}"
15621 done
15622 fi
15623
15624 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15625 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15626 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15627
15628 case "${host}" in
15629 *-pc-os2_emx | *-pc-os2-emx )
15630 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15631 esac
15632
15633 case "$NUM_TOOLKITS" in
15634 1)
15635 ;;
15636 0)
15637 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15638 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15639 { (exit 1); exit 1; }; }
15640 ;;
15641 *)
15642 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15643 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15644 { (exit 1); exit 1; }; }
15645 esac
15646
15647 # to be removed when --disable-gtk2 isn't needed
15648 if test "x$wxUSE_GTK2" = "xyes"; then
15649 wxGTK_VERSION=2
15650 elif test "x$wxUSE_GTK2" = "xno"; then
15651 wxGTK_VERSION=1
15652 fi
15653
15654 for toolkit in `echo $ALL_TOOLKITS`; do
15655 var=wxUSE_$toolkit
15656 eval "value=\$${var}"
15657 if test "x$value" != x; then
15658 cache_var=CACHE_$toolkit
15659 eval "cache=\$${cache_var}"
15660 if test "$cache" = 1; then
15661 echo "$var=$value" >> ${wx_arg_cache_file}
15662 eval "version=\$wx${toolkit}_VERSION"
15663 if test "x$version" != "x"; then
15664 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15665 fi
15666 fi
15667 if test "$value" = 1; then
15668 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15669 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15670 echo "${ECHO_T}$toolkit_echo" >&6; }
15671 fi
15672 fi
15673 done
15674 else
15675 if test "x$host_alias" != "x"; then
15676 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15677 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15678 else
15679 { echo "$as_me:$LINENO: result: base only" >&5
15680 echo "${ECHO_T}base only" >&6; }
15681 fi
15682 fi
15683
15684
15685 cat >confcache <<\_ACEOF
15686 # This file is a shell script that caches the results of configure
15687 # tests run on this system so they can be shared between configure
15688 # scripts and configure runs, see configure's option --config-cache.
15689 # It is not useful on other systems. If it contains results you don't
15690 # want to keep, you may remove or edit it.
15691 #
15692 # config.status only pays attention to the cache file if you give it
15693 # the --recheck option to rerun configure.
15694 #
15695 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15696 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15697 # following values.
15698
15699 _ACEOF
15700
15701 # The following way of writing the cache mishandles newlines in values,
15702 # but we know of no workaround that is simple, portable, and efficient.
15703 # So, we kill variables containing newlines.
15704 # Ultrix sh set writes to stderr and can't be redirected directly,
15705 # and sets the high bit in the cache file unless we assign to the vars.
15706 (
15707 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15708 eval ac_val=\$$ac_var
15709 case $ac_val in #(
15710 *${as_nl}*)
15711 case $ac_var in #(
15712 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15713 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15714 esac
15715 case $ac_var in #(
15716 _ | IFS | as_nl) ;; #(
15717 *) $as_unset $ac_var ;;
15718 esac ;;
15719 esac
15720 done
15721
15722 (set) 2>&1 |
15723 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15724 *${as_nl}ac_space=\ *)
15725 # `set' does not quote correctly, so add quotes (double-quote
15726 # substitution turns \\\\ into \\, and sed turns \\ into \).
15727 sed -n \
15728 "s/'/'\\\\''/g;
15729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15730 ;; #(
15731 *)
15732 # `set' quotes correctly as required by POSIX, so do not add quotes.
15733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15734 ;;
15735 esac |
15736 sort
15737 ) |
15738 sed '
15739 /^ac_cv_env_/b end
15740 t clear
15741 :clear
15742 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15743 t end
15744 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15745 :end' >>confcache
15746 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15747 if test -w "$cache_file"; then
15748 test "x$cache_file" != "x/dev/null" &&
15749 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15750 echo "$as_me: updating cache $cache_file" >&6;}
15751 cat confcache >$cache_file
15752 else
15753 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15754 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15755 fi
15756 fi
15757 rm -f confcache
15758
15759 CFLAGS=${CFLAGS:=}
15760
15761
15762
15763 ac_ext=c
15764 ac_cpp='$CPP $CPPFLAGS'
15765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15768 if test -n "$ac_tool_prefix"; then
15769 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15770 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15773 if test "${ac_cv_prog_CC+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 if test -n "$CC"; then
15777 ac_cv_prog_CC="$CC" # Let the user override the test.
15778 else
15779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15780 for as_dir in $PATH
15781 do
15782 IFS=$as_save_IFS
15783 test -z "$as_dir" && as_dir=.
15784 for ac_exec_ext in '' $ac_executable_extensions; do
15785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15786 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15788 break 2
15789 fi
15790 done
15791 done
15792 IFS=$as_save_IFS
15793
15794 fi
15795 fi
15796 CC=$ac_cv_prog_CC
15797 if test -n "$CC"; then
15798 { echo "$as_me:$LINENO: result: $CC" >&5
15799 echo "${ECHO_T}$CC" >&6; }
15800 else
15801 { echo "$as_me:$LINENO: result: no" >&5
15802 echo "${ECHO_T}no" >&6; }
15803 fi
15804
15805
15806 fi
15807 if test -z "$ac_cv_prog_CC"; then
15808 ac_ct_CC=$CC
15809 # Extract the first word of "gcc", so it can be a program name with args.
15810 set dummy gcc; ac_word=$2
15811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15813 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15814 echo $ECHO_N "(cached) $ECHO_C" >&6
15815 else
15816 if test -n "$ac_ct_CC"; then
15817 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15818 else
15819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15820 for as_dir in $PATH
15821 do
15822 IFS=$as_save_IFS
15823 test -z "$as_dir" && as_dir=.
15824 for ac_exec_ext in '' $ac_executable_extensions; do
15825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15826 ac_cv_prog_ac_ct_CC="gcc"
15827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15828 break 2
15829 fi
15830 done
15831 done
15832 IFS=$as_save_IFS
15833
15834 fi
15835 fi
15836 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15837 if test -n "$ac_ct_CC"; then
15838 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15839 echo "${ECHO_T}$ac_ct_CC" >&6; }
15840 else
15841 { echo "$as_me:$LINENO: result: no" >&5
15842 echo "${ECHO_T}no" >&6; }
15843 fi
15844
15845 if test "x$ac_ct_CC" = x; then
15846 CC=""
15847 else
15848 case $cross_compiling:$ac_tool_warned in
15849 yes:)
15850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15851 whose name does not start with the host triplet. If you think this
15852 configuration is useful to you, please write to autoconf@gnu.org." >&5
15853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15854 whose name does not start with the host triplet. If you think this
15855 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15856 ac_tool_warned=yes ;;
15857 esac
15858 CC=$ac_ct_CC
15859 fi
15860 else
15861 CC="$ac_cv_prog_CC"
15862 fi
15863
15864 if test -z "$CC"; then
15865 if test -n "$ac_tool_prefix"; then
15866 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15867 set dummy ${ac_tool_prefix}cc; ac_word=$2
15868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15870 if test "${ac_cv_prog_CC+set}" = set; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15872 else
15873 if test -n "$CC"; then
15874 ac_cv_prog_CC="$CC" # Let the user override the test.
15875 else
15876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15877 for as_dir in $PATH
15878 do
15879 IFS=$as_save_IFS
15880 test -z "$as_dir" && as_dir=.
15881 for ac_exec_ext in '' $ac_executable_extensions; do
15882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15883 ac_cv_prog_CC="${ac_tool_prefix}cc"
15884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15885 break 2
15886 fi
15887 done
15888 done
15889 IFS=$as_save_IFS
15890
15891 fi
15892 fi
15893 CC=$ac_cv_prog_CC
15894 if test -n "$CC"; then
15895 { echo "$as_me:$LINENO: result: $CC" >&5
15896 echo "${ECHO_T}$CC" >&6; }
15897 else
15898 { echo "$as_me:$LINENO: result: no" >&5
15899 echo "${ECHO_T}no" >&6; }
15900 fi
15901
15902
15903 fi
15904 fi
15905 if test -z "$CC"; then
15906 # Extract the first word of "cc", so it can be a program name with args.
15907 set dummy cc; ac_word=$2
15908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15910 if test "${ac_cv_prog_CC+set}" = set; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 else
15913 if test -n "$CC"; then
15914 ac_cv_prog_CC="$CC" # Let the user override the test.
15915 else
15916 ac_prog_rejected=no
15917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15918 for as_dir in $PATH
15919 do
15920 IFS=$as_save_IFS
15921 test -z "$as_dir" && as_dir=.
15922 for ac_exec_ext in '' $ac_executable_extensions; do
15923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15924 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15925 ac_prog_rejected=yes
15926 continue
15927 fi
15928 ac_cv_prog_CC="cc"
15929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15930 break 2
15931 fi
15932 done
15933 done
15934 IFS=$as_save_IFS
15935
15936 if test $ac_prog_rejected = yes; then
15937 # We found a bogon in the path, so make sure we never use it.
15938 set dummy $ac_cv_prog_CC
15939 shift
15940 if test $# != 0; then
15941 # We chose a different compiler from the bogus one.
15942 # However, it has the same basename, so the bogon will be chosen
15943 # first if we set CC to just the basename; use the full file name.
15944 shift
15945 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15946 fi
15947 fi
15948 fi
15949 fi
15950 CC=$ac_cv_prog_CC
15951 if test -n "$CC"; then
15952 { echo "$as_me:$LINENO: result: $CC" >&5
15953 echo "${ECHO_T}$CC" >&6; }
15954 else
15955 { echo "$as_me:$LINENO: result: no" >&5
15956 echo "${ECHO_T}no" >&6; }
15957 fi
15958
15959
15960 fi
15961 if test -z "$CC"; then
15962 if test -n "$ac_tool_prefix"; then
15963 for ac_prog in cl.exe
15964 do
15965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15969 if test "${ac_cv_prog_CC+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972 if test -n "$CC"; then
15973 ac_cv_prog_CC="$CC" # Let the user override the test.
15974 else
15975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15976 for as_dir in $PATH
15977 do
15978 IFS=$as_save_IFS
15979 test -z "$as_dir" && as_dir=.
15980 for ac_exec_ext in '' $ac_executable_extensions; do
15981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15982 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15984 break 2
15985 fi
15986 done
15987 done
15988 IFS=$as_save_IFS
15989
15990 fi
15991 fi
15992 CC=$ac_cv_prog_CC
15993 if test -n "$CC"; then
15994 { echo "$as_me:$LINENO: result: $CC" >&5
15995 echo "${ECHO_T}$CC" >&6; }
15996 else
15997 { echo "$as_me:$LINENO: result: no" >&5
15998 echo "${ECHO_T}no" >&6; }
15999 fi
16000
16001
16002 test -n "$CC" && break
16003 done
16004 fi
16005 if test -z "$CC"; then
16006 ac_ct_CC=$CC
16007 for ac_prog in cl.exe
16008 do
16009 # Extract the first word of "$ac_prog", so it can be a program name with args.
16010 set dummy $ac_prog; ac_word=$2
16011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16013 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016 if test -n "$ac_ct_CC"; then
16017 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16018 else
16019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16020 for as_dir in $PATH
16021 do
16022 IFS=$as_save_IFS
16023 test -z "$as_dir" && as_dir=.
16024 for ac_exec_ext in '' $ac_executable_extensions; do
16025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16026 ac_cv_prog_ac_ct_CC="$ac_prog"
16027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16028 break 2
16029 fi
16030 done
16031 done
16032 IFS=$as_save_IFS
16033
16034 fi
16035 fi
16036 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16037 if test -n "$ac_ct_CC"; then
16038 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16039 echo "${ECHO_T}$ac_ct_CC" >&6; }
16040 else
16041 { echo "$as_me:$LINENO: result: no" >&5
16042 echo "${ECHO_T}no" >&6; }
16043 fi
16044
16045
16046 test -n "$ac_ct_CC" && break
16047 done
16048
16049 if test "x$ac_ct_CC" = x; then
16050 CC=""
16051 else
16052 case $cross_compiling:$ac_tool_warned in
16053 yes:)
16054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16055 whose name does not start with the host triplet. If you think this
16056 configuration is useful to you, please write to autoconf@gnu.org." >&5
16057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16058 whose name does not start with the host triplet. If you think this
16059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16060 ac_tool_warned=yes ;;
16061 esac
16062 CC=$ac_ct_CC
16063 fi
16064 fi
16065
16066 fi
16067
16068
16069 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16070 See \`config.log' for more details." >&5
16071 echo "$as_me: error: no acceptable C compiler found in \$PATH
16072 See \`config.log' for more details." >&2;}
16073 { (exit 1); exit 1; }; }
16074
16075 # Provide some information about the compiler.
16076 echo "$as_me:$LINENO: checking for C compiler version" >&5
16077 ac_compiler=`set X $ac_compile; echo $2`
16078 { (ac_try="$ac_compiler --version >&5"
16079 case "(($ac_try" in
16080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16081 *) ac_try_echo=$ac_try;;
16082 esac
16083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16084 (eval "$ac_compiler --version >&5") 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }
16088 { (ac_try="$ac_compiler -v >&5"
16089 case "(($ac_try" in
16090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16091 *) ac_try_echo=$ac_try;;
16092 esac
16093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16094 (eval "$ac_compiler -v >&5") 2>&5
16095 ac_status=$?
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }
16098 { (ac_try="$ac_compiler -V >&5"
16099 case "(($ac_try" in
16100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16101 *) ac_try_echo=$ac_try;;
16102 esac
16103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16104 (eval "$ac_compiler -V >&5") 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }
16108
16109 cat >conftest.$ac_ext <<_ACEOF
16110 /* confdefs.h. */
16111 _ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115
16116 int
16117 main ()
16118 {
16119
16120 ;
16121 return 0;
16122 }
16123 _ACEOF
16124 ac_clean_files_save=$ac_clean_files
16125 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16126 # Try to create an executable without -o first, disregard a.out.
16127 # It will help us diagnose broken compilers, and finding out an intuition
16128 # of exeext.
16129 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16130 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16131 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16132 #
16133 # List of possible output files, starting from the most likely.
16134 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16135 # only as a last resort. b.out is created by i960 compilers.
16136 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16137 #
16138 # The IRIX 6 linker writes into existing files which may not be
16139 # executable, retaining their permissions. Remove them first so a
16140 # subsequent execution test works.
16141 ac_rmfiles=
16142 for ac_file in $ac_files
16143 do
16144 case $ac_file in
16145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16146 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16147 esac
16148 done
16149 rm -f $ac_rmfiles
16150
16151 if { (ac_try="$ac_link_default"
16152 case "(($ac_try" in
16153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16154 *) ac_try_echo=$ac_try;;
16155 esac
16156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16157 (eval "$ac_link_default") 2>&5
16158 ac_status=$?
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; then
16161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16162 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16163 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16164 # so that the user can short-circuit this test for compilers unknown to
16165 # Autoconf.
16166 for ac_file in $ac_files ''
16167 do
16168 test -f "$ac_file" || continue
16169 case $ac_file in
16170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16171 ;;
16172 [ab].out )
16173 # We found the default executable, but exeext='' is most
16174 # certainly right.
16175 break;;
16176 *.* )
16177 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16178 then :; else
16179 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16180 fi
16181 # We set ac_cv_exeext here because the later test for it is not
16182 # safe: cross compilers may not add the suffix if given an `-o'
16183 # argument, so we may need to know it at that point already.
16184 # Even if this section looks crufty: it has the advantage of
16185 # actually working.
16186 break;;
16187 * )
16188 break;;
16189 esac
16190 done
16191 test "$ac_cv_exeext" = no && ac_cv_exeext=
16192
16193 else
16194 ac_file=''
16195 fi
16196
16197 { echo "$as_me:$LINENO: result: $ac_file" >&5
16198 echo "${ECHO_T}$ac_file" >&6; }
16199 if test -z "$ac_file"; then
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16202
16203 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16204 See \`config.log' for more details." >&5
16205 echo "$as_me: error: C compiler cannot create executables
16206 See \`config.log' for more details." >&2;}
16207 { (exit 77); exit 77; }; }
16208 fi
16209
16210 ac_exeext=$ac_cv_exeext
16211
16212 # Check that the compiler produces executables we can run. If not, either
16213 # the compiler is broken, or we cross compile.
16214 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16215 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16216 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16217 # If not cross compiling, check that we can run a simple program.
16218 if test "$cross_compiling" != yes; then
16219 if { ac_try='./$ac_file'
16220 { (case "(($ac_try" in
16221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16222 *) ac_try_echo=$ac_try;;
16223 esac
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_try") 2>&5
16226 ac_status=$?
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; }; then
16229 cross_compiling=no
16230 else
16231 if test "$cross_compiling" = maybe; then
16232 cross_compiling=yes
16233 else
16234 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16235 If you meant to cross compile, use \`--host'.
16236 See \`config.log' for more details." >&5
16237 echo "$as_me: error: cannot run C compiled programs.
16238 If you meant to cross compile, use \`--host'.
16239 See \`config.log' for more details." >&2;}
16240 { (exit 1); exit 1; }; }
16241 fi
16242 fi
16243 fi
16244 { echo "$as_me:$LINENO: result: yes" >&5
16245 echo "${ECHO_T}yes" >&6; }
16246
16247 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16248 ac_clean_files=$ac_clean_files_save
16249 # Check that the compiler produces executables we can run. If not, either
16250 # the compiler is broken, or we cross compile.
16251 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16252 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16253 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16254 echo "${ECHO_T}$cross_compiling" >&6; }
16255
16256 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16257 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16258 if { (ac_try="$ac_link"
16259 case "(($ac_try" in
16260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16261 *) ac_try_echo=$ac_try;;
16262 esac
16263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16264 (eval "$ac_link") 2>&5
16265 ac_status=$?
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; then
16268 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16269 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16270 # work properly (i.e., refer to `conftest.exe'), while it won't with
16271 # `rm'.
16272 for ac_file in conftest.exe conftest conftest.*; do
16273 test -f "$ac_file" || continue
16274 case $ac_file in
16275 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16276 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16277 break;;
16278 * ) break;;
16279 esac
16280 done
16281 else
16282 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16283 See \`config.log' for more details." >&5
16284 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16285 See \`config.log' for more details." >&2;}
16286 { (exit 1); exit 1; }; }
16287 fi
16288
16289 rm -f conftest$ac_cv_exeext
16290 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16291 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16292
16293 rm -f conftest.$ac_ext
16294 EXEEXT=$ac_cv_exeext
16295 ac_exeext=$EXEEXT
16296 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16297 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16298 if test "${ac_cv_objext+set}" = set; then
16299 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 else
16301 cat >conftest.$ac_ext <<_ACEOF
16302 /* confdefs.h. */
16303 _ACEOF
16304 cat confdefs.h >>conftest.$ac_ext
16305 cat >>conftest.$ac_ext <<_ACEOF
16306 /* end confdefs.h. */
16307
16308 int
16309 main ()
16310 {
16311
16312 ;
16313 return 0;
16314 }
16315 _ACEOF
16316 rm -f conftest.o conftest.obj
16317 if { (ac_try="$ac_compile"
16318 case "(($ac_try" in
16319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16320 *) ac_try_echo=$ac_try;;
16321 esac
16322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16323 (eval "$ac_compile") 2>&5
16324 ac_status=$?
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; then
16327 for ac_file in conftest.o conftest.obj conftest.*; do
16328 test -f "$ac_file" || continue;
16329 case $ac_file in
16330 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16331 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16332 break;;
16333 esac
16334 done
16335 else
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16338
16339 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16340 See \`config.log' for more details." >&5
16341 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16342 See \`config.log' for more details." >&2;}
16343 { (exit 1); exit 1; }; }
16344 fi
16345
16346 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16347 fi
16348 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16349 echo "${ECHO_T}$ac_cv_objext" >&6; }
16350 OBJEXT=$ac_cv_objext
16351 ac_objext=$OBJEXT
16352 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16353 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16354 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 else
16357 cat >conftest.$ac_ext <<_ACEOF
16358 /* confdefs.h. */
16359 _ACEOF
16360 cat confdefs.h >>conftest.$ac_ext
16361 cat >>conftest.$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16363
16364 int
16365 main ()
16366 {
16367 #ifndef __GNUC__
16368 choke me
16369 #endif
16370
16371 ;
16372 return 0;
16373 }
16374 _ACEOF
16375 rm -f conftest.$ac_objext
16376 if { (ac_try="$ac_compile"
16377 case "(($ac_try" in
16378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16379 *) ac_try_echo=$ac_try;;
16380 esac
16381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16382 (eval "$ac_compile") 2>conftest.er1
16383 ac_status=$?
16384 grep -v '^ *+' conftest.er1 >conftest.err
16385 rm -f conftest.er1
16386 cat conftest.err >&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } && {
16389 test -z "$ac_c_werror_flag" ||
16390 test ! -s conftest.err
16391 } && test -s conftest.$ac_objext; then
16392 ac_compiler_gnu=yes
16393 else
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5
16396
16397 ac_compiler_gnu=no
16398 fi
16399
16400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16402
16403 fi
16404 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16405 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16406 GCC=`test $ac_compiler_gnu = yes && echo yes`
16407 ac_test_CFLAGS=${CFLAGS+set}
16408 ac_save_CFLAGS=$CFLAGS
16409 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16410 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16411 if test "${ac_cv_prog_cc_g+set}" = set; then
16412 echo $ECHO_N "(cached) $ECHO_C" >&6
16413 else
16414 ac_save_c_werror_flag=$ac_c_werror_flag
16415 ac_c_werror_flag=yes
16416 ac_cv_prog_cc_g=no
16417 CFLAGS="-g"
16418 cat >conftest.$ac_ext <<_ACEOF
16419 /* confdefs.h. */
16420 _ACEOF
16421 cat confdefs.h >>conftest.$ac_ext
16422 cat >>conftest.$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424
16425 int
16426 main ()
16427 {
16428
16429 ;
16430 return 0;
16431 }
16432 _ACEOF
16433 rm -f conftest.$ac_objext
16434 if { (ac_try="$ac_compile"
16435 case "(($ac_try" in
16436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16437 *) ac_try_echo=$ac_try;;
16438 esac
16439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16440 (eval "$ac_compile") 2>conftest.er1
16441 ac_status=$?
16442 grep -v '^ *+' conftest.er1 >conftest.err
16443 rm -f conftest.er1
16444 cat conftest.err >&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } && {
16447 test -z "$ac_c_werror_flag" ||
16448 test ! -s conftest.err
16449 } && test -s conftest.$ac_objext; then
16450 ac_cv_prog_cc_g=yes
16451 else
16452 echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.$ac_ext >&5
16454
16455 CFLAGS=""
16456 cat >conftest.$ac_ext <<_ACEOF
16457 /* confdefs.h. */
16458 _ACEOF
16459 cat confdefs.h >>conftest.$ac_ext
16460 cat >>conftest.$ac_ext <<_ACEOF
16461 /* end confdefs.h. */
16462
16463 int
16464 main ()
16465 {
16466
16467 ;
16468 return 0;
16469 }
16470 _ACEOF
16471 rm -f conftest.$ac_objext
16472 if { (ac_try="$ac_compile"
16473 case "(($ac_try" in
16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16475 *) ac_try_echo=$ac_try;;
16476 esac
16477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16478 (eval "$ac_compile") 2>conftest.er1
16479 ac_status=$?
16480 grep -v '^ *+' conftest.er1 >conftest.err
16481 rm -f conftest.er1
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } && {
16485 test -z "$ac_c_werror_flag" ||
16486 test ! -s conftest.err
16487 } && test -s conftest.$ac_objext; then
16488 :
16489 else
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16492
16493 ac_c_werror_flag=$ac_save_c_werror_flag
16494 CFLAGS="-g"
16495 cat >conftest.$ac_ext <<_ACEOF
16496 /* confdefs.h. */
16497 _ACEOF
16498 cat confdefs.h >>conftest.$ac_ext
16499 cat >>conftest.$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16501
16502 int
16503 main ()
16504 {
16505
16506 ;
16507 return 0;
16508 }
16509 _ACEOF
16510 rm -f conftest.$ac_objext
16511 if { (ac_try="$ac_compile"
16512 case "(($ac_try" in
16513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16514 *) ac_try_echo=$ac_try;;
16515 esac
16516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16517 (eval "$ac_compile") 2>conftest.er1
16518 ac_status=$?
16519 grep -v '^ *+' conftest.er1 >conftest.err
16520 rm -f conftest.er1
16521 cat conftest.err >&5
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); } && {
16524 test -z "$ac_c_werror_flag" ||
16525 test ! -s conftest.err
16526 } && test -s conftest.$ac_objext; then
16527 ac_cv_prog_cc_g=yes
16528 else
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.$ac_ext >&5
16531
16532
16533 fi
16534
16535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16536 fi
16537
16538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16539 fi
16540
16541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16542 ac_c_werror_flag=$ac_save_c_werror_flag
16543 fi
16544 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16545 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16546 if test "$ac_test_CFLAGS" = set; then
16547 CFLAGS=$ac_save_CFLAGS
16548 elif test $ac_cv_prog_cc_g = yes; then
16549 if test "$GCC" = yes; then
16550 CFLAGS="-g -O2"
16551 else
16552 CFLAGS="-g"
16553 fi
16554 else
16555 if test "$GCC" = yes; then
16556 CFLAGS="-O2"
16557 else
16558 CFLAGS=
16559 fi
16560 fi
16561 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16562 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16563 if test "${ac_cv_prog_cc_c89+set}" = set; then
16564 echo $ECHO_N "(cached) $ECHO_C" >&6
16565 else
16566 ac_cv_prog_cc_c89=no
16567 ac_save_CC=$CC
16568 cat >conftest.$ac_ext <<_ACEOF
16569 /* confdefs.h. */
16570 _ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16574 #include <stdarg.h>
16575 #include <stdio.h>
16576 #include <sys/types.h>
16577 #include <sys/stat.h>
16578 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16579 struct buf { int x; };
16580 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16581 static char *e (p, i)
16582 char **p;
16583 int i;
16584 {
16585 return p[i];
16586 }
16587 static char *f (char * (*g) (char **, int), char **p, ...)
16588 {
16589 char *s;
16590 va_list v;
16591 va_start (v,p);
16592 s = g (p, va_arg (v,int));
16593 va_end (v);
16594 return s;
16595 }
16596
16597 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16598 function prototypes and stuff, but not '\xHH' hex character constants.
16599 These don't provoke an error unfortunately, instead are silently treated
16600 as 'x'. The following induces an error, until -std is added to get
16601 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16602 array size at least. It's necessary to write '\x00'==0 to get something
16603 that's true only with -std. */
16604 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16605
16606 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16607 inside strings and character constants. */
16608 #define FOO(x) 'x'
16609 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16610
16611 int test (int i, double x);
16612 struct s1 {int (*f) (int a);};
16613 struct s2 {int (*f) (double a);};
16614 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16615 int argc;
16616 char **argv;
16617 int
16618 main ()
16619 {
16620 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16621 ;
16622 return 0;
16623 }
16624 _ACEOF
16625 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16626 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16627 do
16628 CC="$ac_save_CC $ac_arg"
16629 rm -f conftest.$ac_objext
16630 if { (ac_try="$ac_compile"
16631 case "(($ac_try" in
16632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16634 esac
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_compile") 2>conftest.er1
16637 ac_status=$?
16638 grep -v '^ *+' conftest.er1 >conftest.err
16639 rm -f conftest.er1
16640 cat conftest.err >&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } && {
16643 test -z "$ac_c_werror_flag" ||
16644 test ! -s conftest.err
16645 } && test -s conftest.$ac_objext; then
16646 ac_cv_prog_cc_c89=$ac_arg
16647 else
16648 echo "$as_me: failed program was:" >&5
16649 sed 's/^/| /' conftest.$ac_ext >&5
16650
16651
16652 fi
16653
16654 rm -f core conftest.err conftest.$ac_objext
16655 test "x$ac_cv_prog_cc_c89" != "xno" && break
16656 done
16657 rm -f conftest.$ac_ext
16658 CC=$ac_save_CC
16659
16660 fi
16661 # AC_CACHE_VAL
16662 case "x$ac_cv_prog_cc_c89" in
16663 x)
16664 { echo "$as_me:$LINENO: result: none needed" >&5
16665 echo "${ECHO_T}none needed" >&6; } ;;
16666 xno)
16667 { echo "$as_me:$LINENO: result: unsupported" >&5
16668 echo "${ECHO_T}unsupported" >&6; } ;;
16669 *)
16670 CC="$CC $ac_cv_prog_cc_c89"
16671 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16672 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16673 esac
16674
16675
16676 ac_ext=c
16677 ac_cpp='$CPP $CPPFLAGS'
16678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16681
16682
16683
16684
16685 ac_ext=c
16686 ac_cpp='$CPP $CPPFLAGS'
16687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16690
16691 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16692 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16693 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 else
16696 cat >conftest.$ac_ext <<_ACEOF
16697 /* confdefs.h. */
16698 _ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702
16703 int
16704 main ()
16705 {
16706
16707 #ifndef __INTEL_COMPILER
16708 choke me
16709 #endif
16710
16711 ;
16712 return 0;
16713 }
16714 _ACEOF
16715 rm -f conftest.$ac_objext
16716 if { (ac_try="$ac_compile"
16717 case "(($ac_try" in
16718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16719 *) ac_try_echo=$ac_try;;
16720 esac
16721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16722 (eval "$ac_compile") 2>conftest.er1
16723 ac_status=$?
16724 grep -v '^ *+' conftest.er1 >conftest.err
16725 rm -f conftest.er1
16726 cat conftest.err >&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); } && {
16729 test -z "$ac_c_werror_flag" ||
16730 test ! -s conftest.err
16731 } && test -s conftest.$ac_objext; then
16732 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16733 else
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16736
16737 bakefile_cv_c_compiler___INTEL_COMPILER=no
16738
16739 fi
16740
16741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16742
16743
16744 fi
16745 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16746 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16747 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16748 :; INTELCC=yes
16749 else
16750 :;
16751 fi
16752 ac_ext=c
16753 ac_cpp='$CPP $CPPFLAGS'
16754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16757
16758
16759
16760
16761 if test "x$GCC" != "xyes"; then
16762 if test "xCC" = "xC"; then
16763 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16764 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16765 if test "${bakefile_cv_c_exto+set}" = set; then
16766 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 else
16768 cat >conftest.$ac_ext <<_ACEOF
16769 /* confdefs.h. */
16770 _ACEOF
16771 cat confdefs.h >>conftest.$ac_ext
16772 cat >>conftest.$ac_ext <<_ACEOF
16773 /* end confdefs.h. */
16774
16775 int
16776 main ()
16777 {
16778
16779 ;
16780 return 0;
16781 }
16782 _ACEOF
16783 rm -f conftest.$ac_objext conftest.$ac_ext.o
16784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16785 (eval $ac_compile) 2>&5
16786 ac_status=$?
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; then
16789 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16790 case $ac_file in
16791 conftest.$ac_ext.o)
16792 bakefile_cv_c_exto="-ext o"
16793 ;;
16794 *)
16795 ;;
16796 esac
16797 done
16798 else
16799 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16800 See \`config.log' for more details." >&5
16801 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16802 See \`config.log' for more details." >&2;}
16803 { (exit 1); exit 1; }; }
16804
16805 fi
16806
16807 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16808
16809 fi
16810 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16811 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16812 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16813 if test "c" = "c"; then
16814 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16815 fi
16816 if test "c" = "cxx"; then
16817 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16818 fi
16819 fi
16820
16821 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16822 unset ac_cv_prog_cc_g
16823 ac_test_CFLAGS=${CFLAGS+set}
16824 ac_save_CFLAGS=$CFLAGS
16825 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16826 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_cc_g+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 ac_save_c_werror_flag=$ac_c_werror_flag
16831 ac_c_werror_flag=yes
16832 ac_cv_prog_cc_g=no
16833 CFLAGS="-g"
16834 cat >conftest.$ac_ext <<_ACEOF
16835 /* confdefs.h. */
16836 _ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16840
16841 int
16842 main ()
16843 {
16844
16845 ;
16846 return 0;
16847 }
16848 _ACEOF
16849 rm -f conftest.$ac_objext
16850 if { (ac_try="$ac_compile"
16851 case "(($ac_try" in
16852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16853 *) ac_try_echo=$ac_try;;
16854 esac
16855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856 (eval "$ac_compile") 2>conftest.er1
16857 ac_status=$?
16858 grep -v '^ *+' conftest.er1 >conftest.err
16859 rm -f conftest.er1
16860 cat conftest.err >&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } && {
16863 test -z "$ac_c_werror_flag" ||
16864 test ! -s conftest.err
16865 } && test -s conftest.$ac_objext; then
16866 ac_cv_prog_cc_g=yes
16867 else
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.$ac_ext >&5
16870
16871 CFLAGS=""
16872 cat >conftest.$ac_ext <<_ACEOF
16873 /* confdefs.h. */
16874 _ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878
16879 int
16880 main ()
16881 {
16882
16883 ;
16884 return 0;
16885 }
16886 _ACEOF
16887 rm -f conftest.$ac_objext
16888 if { (ac_try="$ac_compile"
16889 case "(($ac_try" in
16890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16891 *) ac_try_echo=$ac_try;;
16892 esac
16893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16894 (eval "$ac_compile") 2>conftest.er1
16895 ac_status=$?
16896 grep -v '^ *+' conftest.er1 >conftest.err
16897 rm -f conftest.er1
16898 cat conftest.err >&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } && {
16901 test -z "$ac_c_werror_flag" ||
16902 test ! -s conftest.err
16903 } && test -s conftest.$ac_objext; then
16904 :
16905 else
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.$ac_ext >&5
16908
16909 ac_c_werror_flag=$ac_save_c_werror_flag
16910 CFLAGS="-g"
16911 cat >conftest.$ac_ext <<_ACEOF
16912 /* confdefs.h. */
16913 _ACEOF
16914 cat confdefs.h >>conftest.$ac_ext
16915 cat >>conftest.$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917
16918 int
16919 main ()
16920 {
16921
16922 ;
16923 return 0;
16924 }
16925 _ACEOF
16926 rm -f conftest.$ac_objext
16927 if { (ac_try="$ac_compile"
16928 case "(($ac_try" in
16929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16930 *) ac_try_echo=$ac_try;;
16931 esac
16932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16933 (eval "$ac_compile") 2>conftest.er1
16934 ac_status=$?
16935 grep -v '^ *+' conftest.er1 >conftest.err
16936 rm -f conftest.er1
16937 cat conftest.err >&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } && {
16940 test -z "$ac_c_werror_flag" ||
16941 test ! -s conftest.err
16942 } && test -s conftest.$ac_objext; then
16943 ac_cv_prog_cc_g=yes
16944 else
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.$ac_ext >&5
16947
16948
16949 fi
16950
16951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16952 fi
16953
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16955 fi
16956
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 ac_c_werror_flag=$ac_save_c_werror_flag
16959 fi
16960 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16961 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16962 if test "$ac_test_CFLAGS" = set; then
16963 CFLAGS=$ac_save_CFLAGS
16964 elif test $ac_cv_prog_cc_g = yes; then
16965 if test "$GCC" = yes; then
16966 CFLAGS="-g -O2"
16967 else
16968 CFLAGS="-g"
16969 fi
16970 else
16971 if test "$GCC" = yes; then
16972 CFLAGS="-O2"
16973 else
16974 CFLAGS=
16975 fi
16976 fi
16977 fi
16978 fi
16979
16980 case `uname -s` in
16981 AIX*)
16982
16983
16984 ac_ext=c
16985 ac_cpp='$CPP $CPPFLAGS'
16986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16989
16990 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16991 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16992 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 else
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h. */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001
17002 int
17003 main ()
17004 {
17005
17006 #ifndef __xlC__
17007 choke me
17008 #endif
17009
17010 ;
17011 return 0;
17012 }
17013 _ACEOF
17014 rm -f conftest.$ac_objext
17015 if { (ac_try="$ac_compile"
17016 case "(($ac_try" in
17017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17018 *) ac_try_echo=$ac_try;;
17019 esac
17020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 (eval "$ac_compile") 2>conftest.er1
17022 ac_status=$?
17023 grep -v '^ *+' conftest.er1 >conftest.err
17024 rm -f conftest.er1
17025 cat conftest.err >&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } && {
17028 test -z "$ac_c_werror_flag" ||
17029 test ! -s conftest.err
17030 } && test -s conftest.$ac_objext; then
17031 bakefile_cv_c_compiler___xlC__=yes
17032 else
17033 echo "$as_me: failed program was:" >&5
17034 sed 's/^/| /' conftest.$ac_ext >&5
17035
17036 bakefile_cv_c_compiler___xlC__=no
17037
17038 fi
17039
17040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17041
17042
17043 fi
17044 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17045 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17046 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17047 :; XLCC=yes
17048 else
17049 :;
17050 fi
17051 ac_ext=c
17052 ac_cpp='$CPP $CPPFLAGS'
17053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17056
17057
17058
17059 ;;
17060
17061 Darwin)
17062
17063
17064 ac_ext=c
17065 ac_cpp='$CPP $CPPFLAGS'
17066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17069
17070 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17071 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17072 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17073 echo $ECHO_N "(cached) $ECHO_C" >&6
17074 else
17075 cat >conftest.$ac_ext <<_ACEOF
17076 /* confdefs.h. */
17077 _ACEOF
17078 cat confdefs.h >>conftest.$ac_ext
17079 cat >>conftest.$ac_ext <<_ACEOF
17080 /* end confdefs.h. */
17081
17082 int
17083 main ()
17084 {
17085
17086 #ifndef __MWERKS__
17087 choke me
17088 #endif
17089
17090 ;
17091 return 0;
17092 }
17093 _ACEOF
17094 rm -f conftest.$ac_objext
17095 if { (ac_try="$ac_compile"
17096 case "(($ac_try" in
17097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17098 *) ac_try_echo=$ac_try;;
17099 esac
17100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17101 (eval "$ac_compile") 2>conftest.er1
17102 ac_status=$?
17103 grep -v '^ *+' conftest.er1 >conftest.err
17104 rm -f conftest.er1
17105 cat conftest.err >&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } && {
17108 test -z "$ac_c_werror_flag" ||
17109 test ! -s conftest.err
17110 } && test -s conftest.$ac_objext; then
17111 bakefile_cv_c_compiler___MWERKS__=yes
17112 else
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17115
17116 bakefile_cv_c_compiler___MWERKS__=no
17117
17118 fi
17119
17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17121
17122
17123 fi
17124 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17125 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17126 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17127 :; MWCC=yes
17128 else
17129 :;
17130 fi
17131 ac_ext=c
17132 ac_cpp='$CPP $CPPFLAGS'
17133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17136
17137
17138
17139
17140
17141 ac_ext=c
17142 ac_cpp='$CPP $CPPFLAGS'
17143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17146
17147 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17148 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17149 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17150 echo $ECHO_N "(cached) $ECHO_C" >&6
17151 else
17152 cat >conftest.$ac_ext <<_ACEOF
17153 /* confdefs.h. */
17154 _ACEOF
17155 cat confdefs.h >>conftest.$ac_ext
17156 cat >>conftest.$ac_ext <<_ACEOF
17157 /* end confdefs.h. */
17158
17159 int
17160 main ()
17161 {
17162
17163 #ifndef __xlC__
17164 choke me
17165 #endif
17166
17167 ;
17168 return 0;
17169 }
17170 _ACEOF
17171 rm -f conftest.$ac_objext
17172 if { (ac_try="$ac_compile"
17173 case "(($ac_try" in
17174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17175 *) ac_try_echo=$ac_try;;
17176 esac
17177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17178 (eval "$ac_compile") 2>conftest.er1
17179 ac_status=$?
17180 grep -v '^ *+' conftest.er1 >conftest.err
17181 rm -f conftest.er1
17182 cat conftest.err >&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); } && {
17185 test -z "$ac_c_werror_flag" ||
17186 test ! -s conftest.err
17187 } && test -s conftest.$ac_objext; then
17188 bakefile_cv_c_compiler___xlC__=yes
17189 else
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17192
17193 bakefile_cv_c_compiler___xlC__=no
17194
17195 fi
17196
17197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17198
17199
17200 fi
17201 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17202 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17203 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17204 :; XLCC=yes
17205 else
17206 :;
17207 fi
17208 ac_ext=c
17209 ac_cpp='$CPP $CPPFLAGS'
17210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17213
17214
17215
17216 ;;
17217
17218 IRIX*)
17219
17220
17221 ac_ext=c
17222 ac_cpp='$CPP $CPPFLAGS'
17223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17226
17227 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17228 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17229 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 else
17232 cat >conftest.$ac_ext <<_ACEOF
17233 /* confdefs.h. */
17234 _ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238
17239 int
17240 main ()
17241 {
17242
17243 #ifndef _SGI_COMPILER_VERSION
17244 choke me
17245 #endif
17246
17247 ;
17248 return 0;
17249 }
17250 _ACEOF
17251 rm -f conftest.$ac_objext
17252 if { (ac_try="$ac_compile"
17253 case "(($ac_try" in
17254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17255 *) ac_try_echo=$ac_try;;
17256 esac
17257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17258 (eval "$ac_compile") 2>conftest.er1
17259 ac_status=$?
17260 grep -v '^ *+' conftest.er1 >conftest.err
17261 rm -f conftest.er1
17262 cat conftest.err >&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } && {
17265 test -z "$ac_c_werror_flag" ||
17266 test ! -s conftest.err
17267 } && test -s conftest.$ac_objext; then
17268 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17269 else
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.$ac_ext >&5
17272
17273 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17274
17275 fi
17276
17277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17278
17279
17280 fi
17281 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17282 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17283 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17284 :; SGICC=yes
17285 else
17286 :;
17287 fi
17288 ac_ext=c
17289 ac_cpp='$CPP $CPPFLAGS'
17290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17293
17294
17295
17296 ;;
17297
17298 Linux*)
17299
17300
17301 ac_ext=c
17302 ac_cpp='$CPP $CPPFLAGS'
17303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17306
17307 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17308 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17309 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 else
17312 cat >conftest.$ac_ext <<_ACEOF
17313 /* confdefs.h. */
17314 _ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318
17319 int
17320 main ()
17321 {
17322
17323 #ifndef __SUNPRO_C
17324 choke me
17325 #endif
17326
17327 ;
17328 return 0;
17329 }
17330 _ACEOF
17331 rm -f conftest.$ac_objext
17332 if { (ac_try="$ac_compile"
17333 case "(($ac_try" in
17334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17335 *) ac_try_echo=$ac_try;;
17336 esac
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17339 ac_status=$?
17340 grep -v '^ *+' conftest.er1 >conftest.err
17341 rm -f conftest.er1
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.$ac_objext; then
17348 bakefile_cv_c_compiler___SUNPRO_C=yes
17349 else
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17352
17353 bakefile_cv_c_compiler___SUNPRO_C=no
17354
17355 fi
17356
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358
17359
17360 fi
17361 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17362 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17363 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17364 :; SUNCC=yes
17365 else
17366 :;
17367 fi
17368 ac_ext=c
17369 ac_cpp='$CPP $CPPFLAGS'
17370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17373
17374
17375
17376 ;;
17377
17378 HP-UX*)
17379
17380
17381 ac_ext=c
17382 ac_cpp='$CPP $CPPFLAGS'
17383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17386
17387 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17388 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17389 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 else
17392 cat >conftest.$ac_ext <<_ACEOF
17393 /* confdefs.h. */
17394 _ACEOF
17395 cat confdefs.h >>conftest.$ac_ext
17396 cat >>conftest.$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398
17399 int
17400 main ()
17401 {
17402
17403 #ifndef __HP_cc
17404 choke me
17405 #endif
17406
17407 ;
17408 return 0;
17409 }
17410 _ACEOF
17411 rm -f conftest.$ac_objext
17412 if { (ac_try="$ac_compile"
17413 case "(($ac_try" in
17414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17415 *) ac_try_echo=$ac_try;;
17416 esac
17417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17418 (eval "$ac_compile") 2>conftest.er1
17419 ac_status=$?
17420 grep -v '^ *+' conftest.er1 >conftest.err
17421 rm -f conftest.er1
17422 cat conftest.err >&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } && {
17425 test -z "$ac_c_werror_flag" ||
17426 test ! -s conftest.err
17427 } && test -s conftest.$ac_objext; then
17428 bakefile_cv_c_compiler___HP_cc=yes
17429 else
17430 echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.$ac_ext >&5
17432
17433 bakefile_cv_c_compiler___HP_cc=no
17434
17435 fi
17436
17437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17438
17439
17440 fi
17441 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17442 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17443 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17444 :; HPCC=yes
17445 else
17446 :;
17447 fi
17448 ac_ext=c
17449 ac_cpp='$CPP $CPPFLAGS'
17450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17453
17454
17455
17456 ;;
17457
17458 OSF1)
17459
17460
17461 ac_ext=c
17462 ac_cpp='$CPP $CPPFLAGS'
17463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17466
17467 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17468 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17469 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17470 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 else
17472 cat >conftest.$ac_ext <<_ACEOF
17473 /* confdefs.h. */
17474 _ACEOF
17475 cat confdefs.h >>conftest.$ac_ext
17476 cat >>conftest.$ac_ext <<_ACEOF
17477 /* end confdefs.h. */
17478
17479 int
17480 main ()
17481 {
17482
17483 #ifndef __DECC
17484 choke me
17485 #endif
17486
17487 ;
17488 return 0;
17489 }
17490 _ACEOF
17491 rm -f conftest.$ac_objext
17492 if { (ac_try="$ac_compile"
17493 case "(($ac_try" in
17494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17495 *) ac_try_echo=$ac_try;;
17496 esac
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_compile") 2>conftest.er1
17499 ac_status=$?
17500 grep -v '^ *+' conftest.er1 >conftest.err
17501 rm -f conftest.er1
17502 cat conftest.err >&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } && {
17505 test -z "$ac_c_werror_flag" ||
17506 test ! -s conftest.err
17507 } && test -s conftest.$ac_objext; then
17508 bakefile_cv_c_compiler___DECC=yes
17509 else
17510 echo "$as_me: failed program was:" >&5
17511 sed 's/^/| /' conftest.$ac_ext >&5
17512
17513 bakefile_cv_c_compiler___DECC=no
17514
17515 fi
17516
17517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518
17519
17520 fi
17521 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17522 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17523 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17524 :; COMPAQCC=yes
17525 else
17526 :;
17527 fi
17528 ac_ext=c
17529 ac_cpp='$CPP $CPPFLAGS'
17530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17533
17534
17535
17536 ;;
17537
17538 SunOS)
17539
17540
17541 ac_ext=c
17542 ac_cpp='$CPP $CPPFLAGS'
17543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17546
17547 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17548 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17549 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17550 echo $ECHO_N "(cached) $ECHO_C" >&6
17551 else
17552 cat >conftest.$ac_ext <<_ACEOF
17553 /* confdefs.h. */
17554 _ACEOF
17555 cat confdefs.h >>conftest.$ac_ext
17556 cat >>conftest.$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17558
17559 int
17560 main ()
17561 {
17562
17563 #ifndef __SUNPRO_C
17564 choke me
17565 #endif
17566
17567 ;
17568 return 0;
17569 }
17570 _ACEOF
17571 rm -f conftest.$ac_objext
17572 if { (ac_try="$ac_compile"
17573 case "(($ac_try" in
17574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17575 *) ac_try_echo=$ac_try;;
17576 esac
17577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17578 (eval "$ac_compile") 2>conftest.er1
17579 ac_status=$?
17580 grep -v '^ *+' conftest.er1 >conftest.err
17581 rm -f conftest.er1
17582 cat conftest.err >&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } && {
17585 test -z "$ac_c_werror_flag" ||
17586 test ! -s conftest.err
17587 } && test -s conftest.$ac_objext; then
17588 bakefile_cv_c_compiler___SUNPRO_C=yes
17589 else
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.$ac_ext >&5
17592
17593 bakefile_cv_c_compiler___SUNPRO_C=no
17594
17595 fi
17596
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17598
17599
17600 fi
17601 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17602 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17603 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17604 :; SUNCC=yes
17605 else
17606 :;
17607 fi
17608 ac_ext=c
17609 ac_cpp='$CPP $CPPFLAGS'
17610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17613
17614
17615
17616 ;;
17617 esac
17618 fi
17619
17620
17621
17622 ac_ext=c
17623 ac_cpp='$CPP $CPPFLAGS'
17624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17627 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17628 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17629 # On Suns, sometimes $CPP names a directory.
17630 if test -n "$CPP" && test -d "$CPP"; then
17631 CPP=
17632 fi
17633 if test -z "$CPP"; then
17634 if test "${ac_cv_prog_CPP+set}" = set; then
17635 echo $ECHO_N "(cached) $ECHO_C" >&6
17636 else
17637 # Double quotes because CPP needs to be expanded
17638 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17639 do
17640 ac_preproc_ok=false
17641 for ac_c_preproc_warn_flag in '' yes
17642 do
17643 # Use a header file that comes with gcc, so configuring glibc
17644 # with a fresh cross-compiler works.
17645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17646 # <limits.h> exists even on freestanding compilers.
17647 # On the NeXT, cc -E runs the code through the compiler's parser,
17648 # not just through cpp. "Syntax error" is here to catch this case.
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 #ifdef __STDC__
17656 # include <limits.h>
17657 #else
17658 # include <assert.h>
17659 #endif
17660 Syntax error
17661 _ACEOF
17662 if { (ac_try="$ac_cpp conftest.$ac_ext"
17663 case "(($ac_try" in
17664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17665 *) ac_try_echo=$ac_try;;
17666 esac
17667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17669 ac_status=$?
17670 grep -v '^ *+' conftest.er1 >conftest.err
17671 rm -f conftest.er1
17672 cat conftest.err >&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } >/dev/null && {
17675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17676 test ! -s conftest.err
17677 }; then
17678 :
17679 else
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.$ac_ext >&5
17682
17683 # Broken: fails on valid input.
17684 continue
17685 fi
17686
17687 rm -f conftest.err conftest.$ac_ext
17688
17689 # OK, works on sane cases. Now check whether nonexistent headers
17690 # can be detected and how.
17691 cat >conftest.$ac_ext <<_ACEOF
17692 /* confdefs.h. */
17693 _ACEOF
17694 cat confdefs.h >>conftest.$ac_ext
17695 cat >>conftest.$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17697 #include <ac_nonexistent.h>
17698 _ACEOF
17699 if { (ac_try="$ac_cpp conftest.$ac_ext"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17702 *) ac_try_echo=$ac_try;;
17703 esac
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17706 ac_status=$?
17707 grep -v '^ *+' conftest.er1 >conftest.err
17708 rm -f conftest.er1
17709 cat conftest.err >&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } >/dev/null && {
17712 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17713 test ! -s conftest.err
17714 }; then
17715 # Broken: success on invalid input.
17716 continue
17717 else
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.$ac_ext >&5
17720
17721 # Passes both tests.
17722 ac_preproc_ok=:
17723 break
17724 fi
17725
17726 rm -f conftest.err conftest.$ac_ext
17727
17728 done
17729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17730 rm -f conftest.err conftest.$ac_ext
17731 if $ac_preproc_ok; then
17732 break
17733 fi
17734
17735 done
17736 ac_cv_prog_CPP=$CPP
17737
17738 fi
17739 CPP=$ac_cv_prog_CPP
17740 else
17741 ac_cv_prog_CPP=$CPP
17742 fi
17743 { echo "$as_me:$LINENO: result: $CPP" >&5
17744 echo "${ECHO_T}$CPP" >&6; }
17745 ac_preproc_ok=false
17746 for ac_c_preproc_warn_flag in '' yes
17747 do
17748 # Use a header file that comes with gcc, so configuring glibc
17749 # with a fresh cross-compiler works.
17750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17751 # <limits.h> exists even on freestanding compilers.
17752 # On the NeXT, cc -E runs the code through the compiler's parser,
17753 # not just through cpp. "Syntax error" is here to catch this case.
17754 cat >conftest.$ac_ext <<_ACEOF
17755 /* confdefs.h. */
17756 _ACEOF
17757 cat confdefs.h >>conftest.$ac_ext
17758 cat >>conftest.$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17760 #ifdef __STDC__
17761 # include <limits.h>
17762 #else
17763 # include <assert.h>
17764 #endif
17765 Syntax error
17766 _ACEOF
17767 if { (ac_try="$ac_cpp conftest.$ac_ext"
17768 case "(($ac_try" in
17769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17770 *) ac_try_echo=$ac_try;;
17771 esac
17772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17774 ac_status=$?
17775 grep -v '^ *+' conftest.er1 >conftest.err
17776 rm -f conftest.er1
17777 cat conftest.err >&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } >/dev/null && {
17780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17781 test ! -s conftest.err
17782 }; then
17783 :
17784 else
17785 echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17787
17788 # Broken: fails on valid input.
17789 continue
17790 fi
17791
17792 rm -f conftest.err conftest.$ac_ext
17793
17794 # OK, works on sane cases. Now check whether nonexistent headers
17795 # can be detected and how.
17796 cat >conftest.$ac_ext <<_ACEOF
17797 /* confdefs.h. */
17798 _ACEOF
17799 cat confdefs.h >>conftest.$ac_ext
17800 cat >>conftest.$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 #include <ac_nonexistent.h>
17803 _ACEOF
17804 if { (ac_try="$ac_cpp conftest.$ac_ext"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17808 esac
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17811 ac_status=$?
17812 grep -v '^ *+' conftest.er1 >conftest.err
17813 rm -f conftest.er1
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } >/dev/null && {
17817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17818 test ! -s conftest.err
17819 }; then
17820 # Broken: success on invalid input.
17821 continue
17822 else
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.$ac_ext >&5
17825
17826 # Passes both tests.
17827 ac_preproc_ok=:
17828 break
17829 fi
17830
17831 rm -f conftest.err conftest.$ac_ext
17832
17833 done
17834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17835 rm -f conftest.err conftest.$ac_ext
17836 if $ac_preproc_ok; then
17837 :
17838 else
17839 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17840 See \`config.log' for more details." >&5
17841 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17842 See \`config.log' for more details." >&2;}
17843 { (exit 1); exit 1; }; }
17844 fi
17845
17846 ac_ext=c
17847 ac_cpp='$CPP $CPPFLAGS'
17848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17851
17852
17853 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17854 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17855 if test "${ac_cv_path_GREP+set}" = set; then
17856 echo $ECHO_N "(cached) $ECHO_C" >&6
17857 else
17858 # Extract the first word of "grep ggrep" to use in msg output
17859 if test -z "$GREP"; then
17860 set dummy grep ggrep; ac_prog_name=$2
17861 if test "${ac_cv_path_GREP+set}" = set; then
17862 echo $ECHO_N "(cached) $ECHO_C" >&6
17863 else
17864 ac_path_GREP_found=false
17865 # Loop through the user's path and test for each of PROGNAME-LIST
17866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17867 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17868 do
17869 IFS=$as_save_IFS
17870 test -z "$as_dir" && as_dir=.
17871 for ac_prog in grep ggrep; do
17872 for ac_exec_ext in '' $ac_executable_extensions; do
17873 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17874 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17875 # Check for GNU ac_path_GREP and select it if it is found.
17876 # Check for GNU $ac_path_GREP
17877 case `"$ac_path_GREP" --version 2>&1` in
17878 *GNU*)
17879 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17880 *)
17881 ac_count=0
17882 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17883 while :
17884 do
17885 cat "conftest.in" "conftest.in" >"conftest.tmp"
17886 mv "conftest.tmp" "conftest.in"
17887 cp "conftest.in" "conftest.nl"
17888 echo 'GREP' >> "conftest.nl"
17889 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17890 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17891 ac_count=`expr $ac_count + 1`
17892 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17893 # Best one so far, save it but keep looking for a better one
17894 ac_cv_path_GREP="$ac_path_GREP"
17895 ac_path_GREP_max=$ac_count
17896 fi
17897 # 10*(2^10) chars as input seems more than enough
17898 test $ac_count -gt 10 && break
17899 done
17900 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17901 esac
17902
17903
17904 $ac_path_GREP_found && break 3
17905 done
17906 done
17907
17908 done
17909 IFS=$as_save_IFS
17910
17911
17912 fi
17913
17914 GREP="$ac_cv_path_GREP"
17915 if test -z "$GREP"; then
17916 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17917 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17918 { (exit 1); exit 1; }; }
17919 fi
17920
17921 else
17922 ac_cv_path_GREP=$GREP
17923 fi
17924
17925
17926 fi
17927 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17928 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17929 GREP="$ac_cv_path_GREP"
17930
17931
17932 { echo "$as_me:$LINENO: checking for egrep" >&5
17933 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17934 if test "${ac_cv_path_EGREP+set}" = set; then
17935 echo $ECHO_N "(cached) $ECHO_C" >&6
17936 else
17937 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17938 then ac_cv_path_EGREP="$GREP -E"
17939 else
17940 # Extract the first word of "egrep" to use in msg output
17941 if test -z "$EGREP"; then
17942 set dummy egrep; ac_prog_name=$2
17943 if test "${ac_cv_path_EGREP+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 else
17946 ac_path_EGREP_found=false
17947 # Loop through the user's path and test for each of PROGNAME-LIST
17948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17949 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17950 do
17951 IFS=$as_save_IFS
17952 test -z "$as_dir" && as_dir=.
17953 for ac_prog in egrep; do
17954 for ac_exec_ext in '' $ac_executable_extensions; do
17955 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17956 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17957 # Check for GNU ac_path_EGREP and select it if it is found.
17958 # Check for GNU $ac_path_EGREP
17959 case `"$ac_path_EGREP" --version 2>&1` in
17960 *GNU*)
17961 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17962 *)
17963 ac_count=0
17964 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17965 while :
17966 do
17967 cat "conftest.in" "conftest.in" >"conftest.tmp"
17968 mv "conftest.tmp" "conftest.in"
17969 cp "conftest.in" "conftest.nl"
17970 echo 'EGREP' >> "conftest.nl"
17971 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17972 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17973 ac_count=`expr $ac_count + 1`
17974 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17975 # Best one so far, save it but keep looking for a better one
17976 ac_cv_path_EGREP="$ac_path_EGREP"
17977 ac_path_EGREP_max=$ac_count
17978 fi
17979 # 10*(2^10) chars as input seems more than enough
17980 test $ac_count -gt 10 && break
17981 done
17982 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17983 esac
17984
17985
17986 $ac_path_EGREP_found && break 3
17987 done
17988 done
17989
17990 done
17991 IFS=$as_save_IFS
17992
17993
17994 fi
17995
17996 EGREP="$ac_cv_path_EGREP"
17997 if test -z "$EGREP"; then
17998 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17999 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18000 { (exit 1); exit 1; }; }
18001 fi
18002
18003 else
18004 ac_cv_path_EGREP=$EGREP
18005 fi
18006
18007
18008 fi
18009 fi
18010 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18011 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18012 EGREP="$ac_cv_path_EGREP"
18013
18014
18015 if test $ac_cv_c_compiler_gnu = yes; then
18016 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18017 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18018 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18019 echo $ECHO_N "(cached) $ECHO_C" >&6
18020 else
18021 ac_pattern="Autoconf.*'x'"
18022 cat >conftest.$ac_ext <<_ACEOF
18023 /* confdefs.h. */
18024 _ACEOF
18025 cat confdefs.h >>conftest.$ac_ext
18026 cat >>conftest.$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18028 #include <sgtty.h>
18029 Autoconf TIOCGETP
18030 _ACEOF
18031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18032 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18033 ac_cv_prog_gcc_traditional=yes
18034 else
18035 ac_cv_prog_gcc_traditional=no
18036 fi
18037 rm -f conftest*
18038
18039
18040 if test $ac_cv_prog_gcc_traditional = no; then
18041 cat >conftest.$ac_ext <<_ACEOF
18042 /* confdefs.h. */
18043 _ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 #include <termio.h>
18048 Autoconf TCGETA
18049 _ACEOF
18050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18051 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18052 ac_cv_prog_gcc_traditional=yes
18053 fi
18054 rm -f conftest*
18055
18056 fi
18057 fi
18058 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18059 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18060 if test $ac_cv_prog_gcc_traditional = yes; then
18061 CC="$CC -traditional"
18062 fi
18063 fi
18064
18065
18066 CXXFLAGS=${CXXFLAGS:=}
18067
18068
18069
18070 ac_ext=cpp
18071 ac_cpp='$CXXCPP $CPPFLAGS'
18072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18075 if test -z "$CXX"; then
18076 if test -n "$CCC"; then
18077 CXX=$CCC
18078 else
18079 if test -n "$ac_tool_prefix"; then
18080 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18081 do
18082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18083 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18086 if test "${ac_cv_prog_CXX+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 else
18089 if test -n "$CXX"; then
18090 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18091 else
18092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18093 for as_dir in $PATH
18094 do
18095 IFS=$as_save_IFS
18096 test -z "$as_dir" && as_dir=.
18097 for ac_exec_ext in '' $ac_executable_extensions; do
18098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18099 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18101 break 2
18102 fi
18103 done
18104 done
18105 IFS=$as_save_IFS
18106
18107 fi
18108 fi
18109 CXX=$ac_cv_prog_CXX
18110 if test -n "$CXX"; then
18111 { echo "$as_me:$LINENO: result: $CXX" >&5
18112 echo "${ECHO_T}$CXX" >&6; }
18113 else
18114 { echo "$as_me:$LINENO: result: no" >&5
18115 echo "${ECHO_T}no" >&6; }
18116 fi
18117
18118
18119 test -n "$CXX" && break
18120 done
18121 fi
18122 if test -z "$CXX"; then
18123 ac_ct_CXX=$CXX
18124 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18125 do
18126 # Extract the first word of "$ac_prog", so it can be a program name with args.
18127 set dummy $ac_prog; ac_word=$2
18128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18130 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18132 else
18133 if test -n "$ac_ct_CXX"; then
18134 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18135 else
18136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18137 for as_dir in $PATH
18138 do
18139 IFS=$as_save_IFS
18140 test -z "$as_dir" && as_dir=.
18141 for ac_exec_ext in '' $ac_executable_extensions; do
18142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18143 ac_cv_prog_ac_ct_CXX="$ac_prog"
18144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18145 break 2
18146 fi
18147 done
18148 done
18149 IFS=$as_save_IFS
18150
18151 fi
18152 fi
18153 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18154 if test -n "$ac_ct_CXX"; then
18155 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18156 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18157 else
18158 { echo "$as_me:$LINENO: result: no" >&5
18159 echo "${ECHO_T}no" >&6; }
18160 fi
18161
18162
18163 test -n "$ac_ct_CXX" && break
18164 done
18165
18166 if test "x$ac_ct_CXX" = x; then
18167 CXX="g++"
18168 else
18169 case $cross_compiling:$ac_tool_warned in
18170 yes:)
18171 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18172 whose name does not start with the host triplet. If you think this
18173 configuration is useful to you, please write to autoconf@gnu.org." >&5
18174 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18175 whose name does not start with the host triplet. If you think this
18176 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18177 ac_tool_warned=yes ;;
18178 esac
18179 CXX=$ac_ct_CXX
18180 fi
18181 fi
18182
18183 fi
18184 fi
18185 # Provide some information about the compiler.
18186 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18187 ac_compiler=`set X $ac_compile; echo $2`
18188 { (ac_try="$ac_compiler --version >&5"
18189 case "(($ac_try" in
18190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18191 *) ac_try_echo=$ac_try;;
18192 esac
18193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18194 (eval "$ac_compiler --version >&5") 2>&5
18195 ac_status=$?
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); }
18198 { (ac_try="$ac_compiler -v >&5"
18199 case "(($ac_try" in
18200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18201 *) ac_try_echo=$ac_try;;
18202 esac
18203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_compiler -v >&5") 2>&5
18205 ac_status=$?
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }
18208 { (ac_try="$ac_compiler -V >&5"
18209 case "(($ac_try" in
18210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18211 *) ac_try_echo=$ac_try;;
18212 esac
18213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18214 (eval "$ac_compiler -V >&5") 2>&5
18215 ac_status=$?
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }
18218
18219 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18220 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18221 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18223 else
18224 cat >conftest.$ac_ext <<_ACEOF
18225 /* confdefs.h. */
18226 _ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230
18231 int
18232 main ()
18233 {
18234 #ifndef __GNUC__
18235 choke me
18236 #endif
18237
18238 ;
18239 return 0;
18240 }
18241 _ACEOF
18242 rm -f conftest.$ac_objext
18243 if { (ac_try="$ac_compile"
18244 case "(($ac_try" in
18245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18246 *) ac_try_echo=$ac_try;;
18247 esac
18248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18249 (eval "$ac_compile") 2>conftest.er1
18250 ac_status=$?
18251 grep -v '^ *+' conftest.er1 >conftest.err
18252 rm -f conftest.er1
18253 cat conftest.err >&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } && {
18256 test -z "$ac_cxx_werror_flag" ||
18257 test ! -s conftest.err
18258 } && test -s conftest.$ac_objext; then
18259 ac_compiler_gnu=yes
18260 else
18261 echo "$as_me: failed program was:" >&5
18262 sed 's/^/| /' conftest.$ac_ext >&5
18263
18264 ac_compiler_gnu=no
18265 fi
18266
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18269
18270 fi
18271 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18272 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18273 GXX=`test $ac_compiler_gnu = yes && echo yes`
18274 ac_test_CXXFLAGS=${CXXFLAGS+set}
18275 ac_save_CXXFLAGS=$CXXFLAGS
18276 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18277 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18278 if test "${ac_cv_prog_cxx_g+set}" = set; then
18279 echo $ECHO_N "(cached) $ECHO_C" >&6
18280 else
18281 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18282 ac_cxx_werror_flag=yes
18283 ac_cv_prog_cxx_g=no
18284 CXXFLAGS="-g"
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 ;
18297 return 0;
18298 }
18299 _ACEOF
18300 rm -f conftest.$ac_objext
18301 if { (ac_try="$ac_compile"
18302 case "(($ac_try" in
18303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18304 *) ac_try_echo=$ac_try;;
18305 esac
18306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18307 (eval "$ac_compile") 2>conftest.er1
18308 ac_status=$?
18309 grep -v '^ *+' conftest.er1 >conftest.err
18310 rm -f conftest.er1
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } && {
18314 test -z "$ac_cxx_werror_flag" ||
18315 test ! -s conftest.err
18316 } && test -s conftest.$ac_objext; then
18317 ac_cv_prog_cxx_g=yes
18318 else
18319 echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18321
18322 CXXFLAGS=""
18323 cat >conftest.$ac_ext <<_ACEOF
18324 /* confdefs.h. */
18325 _ACEOF
18326 cat confdefs.h >>conftest.$ac_ext
18327 cat >>conftest.$ac_ext <<_ACEOF
18328 /* end confdefs.h. */
18329
18330 int
18331 main ()
18332 {
18333
18334 ;
18335 return 0;
18336 }
18337 _ACEOF
18338 rm -f conftest.$ac_objext
18339 if { (ac_try="$ac_compile"
18340 case "(($ac_try" in
18341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18342 *) ac_try_echo=$ac_try;;
18343 esac
18344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18345 (eval "$ac_compile") 2>conftest.er1
18346 ac_status=$?
18347 grep -v '^ *+' conftest.er1 >conftest.err
18348 rm -f conftest.er1
18349 cat conftest.err >&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } && {
18352 test -z "$ac_cxx_werror_flag" ||
18353 test ! -s conftest.err
18354 } && test -s conftest.$ac_objext; then
18355 :
18356 else
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.$ac_ext >&5
18359
18360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18361 CXXFLAGS="-g"
18362 cat >conftest.$ac_ext <<_ACEOF
18363 /* confdefs.h. */
18364 _ACEOF
18365 cat confdefs.h >>conftest.$ac_ext
18366 cat >>conftest.$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18368
18369 int
18370 main ()
18371 {
18372
18373 ;
18374 return 0;
18375 }
18376 _ACEOF
18377 rm -f conftest.$ac_objext
18378 if { (ac_try="$ac_compile"
18379 case "(($ac_try" in
18380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18382 esac
18383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_compile") 2>conftest.er1
18385 ac_status=$?
18386 grep -v '^ *+' conftest.er1 >conftest.err
18387 rm -f conftest.er1
18388 cat conftest.err >&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } && {
18391 test -z "$ac_cxx_werror_flag" ||
18392 test ! -s conftest.err
18393 } && test -s conftest.$ac_objext; then
18394 ac_cv_prog_cxx_g=yes
18395 else
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18398
18399
18400 fi
18401
18402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18403 fi
18404
18405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 fi
18407
18408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18409 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18410 fi
18411 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18412 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18413 if test "$ac_test_CXXFLAGS" = set; then
18414 CXXFLAGS=$ac_save_CXXFLAGS
18415 elif test $ac_cv_prog_cxx_g = yes; then
18416 if test "$GXX" = yes; then
18417 CXXFLAGS="-g -O2"
18418 else
18419 CXXFLAGS="-g"
18420 fi
18421 else
18422 if test "$GXX" = yes; then
18423 CXXFLAGS="-O2"
18424 else
18425 CXXFLAGS=
18426 fi
18427 fi
18428 ac_ext=c
18429 ac_cpp='$CPP $CPPFLAGS'
18430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18433
18434
18435
18436
18437 ac_ext=cpp
18438 ac_cpp='$CXXCPP $CPPFLAGS'
18439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18442
18443 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18444 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18445 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 else
18448 cat >conftest.$ac_ext <<_ACEOF
18449 /* confdefs.h. */
18450 _ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454
18455 int
18456 main ()
18457 {
18458
18459 #ifndef __INTEL_COMPILER
18460 choke me
18461 #endif
18462
18463 ;
18464 return 0;
18465 }
18466 _ACEOF
18467 rm -f conftest.$ac_objext
18468 if { (ac_try="$ac_compile"
18469 case "(($ac_try" in
18470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18471 *) ac_try_echo=$ac_try;;
18472 esac
18473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18474 (eval "$ac_compile") 2>conftest.er1
18475 ac_status=$?
18476 grep -v '^ *+' conftest.er1 >conftest.err
18477 rm -f conftest.er1
18478 cat conftest.err >&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } && {
18481 test -z "$ac_cxx_werror_flag" ||
18482 test ! -s conftest.err
18483 } && test -s conftest.$ac_objext; then
18484 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18485 else
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.$ac_ext >&5
18488
18489 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18490
18491 fi
18492
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18494
18495
18496 fi
18497 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18498 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18499 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18500 :; INTELCXX=yes
18501 else
18502 :;
18503 fi
18504 ac_ext=c
18505 ac_cpp='$CPP $CPPFLAGS'
18506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18509
18510
18511
18512
18513 if test "x$GCXX" != "xyes"; then
18514 if test "xCXX" = "xC"; then
18515 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18516 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18517 if test "${bakefile_cv_c_exto+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 else
18520 cat >conftest.$ac_ext <<_ACEOF
18521 /* confdefs.h. */
18522 _ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526
18527 int
18528 main ()
18529 {
18530
18531 ;
18532 return 0;
18533 }
18534 _ACEOF
18535 rm -f conftest.$ac_objext conftest.$ac_ext.o
18536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18537 (eval $ac_compile) 2>&5
18538 ac_status=$?
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; then
18541 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18542 case $ac_file in
18543 conftest.$ac_ext.o)
18544 bakefile_cv_c_exto="-ext o"
18545 ;;
18546 *)
18547 ;;
18548 esac
18549 done
18550 else
18551 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18552 See \`config.log' for more details." >&5
18553 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18554 See \`config.log' for more details." >&2;}
18555 { (exit 1); exit 1; }; }
18556
18557 fi
18558
18559 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18560
18561 fi
18562 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18563 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18564 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18565 if test "c" = "c"; then
18566 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18567 fi
18568 if test "c" = "cxx"; then
18569 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18570 fi
18571 fi
18572
18573 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18574 unset ac_cv_prog_cc_g
18575 ac_test_CFLAGS=${CFLAGS+set}
18576 ac_save_CFLAGS=$CFLAGS
18577 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18578 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18579 if test "${ac_cv_prog_cc_g+set}" = set; then
18580 echo $ECHO_N "(cached) $ECHO_C" >&6
18581 else
18582 ac_save_c_werror_flag=$ac_c_werror_flag
18583 ac_c_werror_flag=yes
18584 ac_cv_prog_cc_g=no
18585 CFLAGS="-g"
18586 cat >conftest.$ac_ext <<_ACEOF
18587 /* confdefs.h. */
18588 _ACEOF
18589 cat confdefs.h >>conftest.$ac_ext
18590 cat >>conftest.$ac_ext <<_ACEOF
18591 /* end confdefs.h. */
18592
18593 int
18594 main ()
18595 {
18596
18597 ;
18598 return 0;
18599 }
18600 _ACEOF
18601 rm -f conftest.$ac_objext
18602 if { (ac_try="$ac_compile"
18603 case "(($ac_try" in
18604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18605 *) ac_try_echo=$ac_try;;
18606 esac
18607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18608 (eval "$ac_compile") 2>conftest.er1
18609 ac_status=$?
18610 grep -v '^ *+' conftest.er1 >conftest.err
18611 rm -f conftest.er1
18612 cat conftest.err >&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } && {
18615 test -z "$ac_c_werror_flag" ||
18616 test ! -s conftest.err
18617 } && test -s conftest.$ac_objext; then
18618 ac_cv_prog_cc_g=yes
18619 else
18620 echo "$as_me: failed program was:" >&5
18621 sed 's/^/| /' conftest.$ac_ext >&5
18622
18623 CFLAGS=""
18624 cat >conftest.$ac_ext <<_ACEOF
18625 /* confdefs.h. */
18626 _ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630
18631 int
18632 main ()
18633 {
18634
18635 ;
18636 return 0;
18637 }
18638 _ACEOF
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18643 *) ac_try_echo=$ac_try;;
18644 esac
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_compile") 2>conftest.er1
18647 ac_status=$?
18648 grep -v '^ *+' conftest.er1 >conftest.err
18649 rm -f conftest.er1
18650 cat conftest.err >&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_c_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest.$ac_objext; then
18656 :
18657 else
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18660
18661 ac_c_werror_flag=$ac_save_c_werror_flag
18662 CFLAGS="-g"
18663 cat >conftest.$ac_ext <<_ACEOF
18664 /* confdefs.h. */
18665 _ACEOF
18666 cat confdefs.h >>conftest.$ac_ext
18667 cat >>conftest.$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18669
18670 int
18671 main ()
18672 {
18673
18674 ;
18675 return 0;
18676 }
18677 _ACEOF
18678 rm -f conftest.$ac_objext
18679 if { (ac_try="$ac_compile"
18680 case "(($ac_try" in
18681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18682 *) ac_try_echo=$ac_try;;
18683 esac
18684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18685 (eval "$ac_compile") 2>conftest.er1
18686 ac_status=$?
18687 grep -v '^ *+' conftest.er1 >conftest.err
18688 rm -f conftest.er1
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } && {
18692 test -z "$ac_c_werror_flag" ||
18693 test ! -s conftest.err
18694 } && test -s conftest.$ac_objext; then
18695 ac_cv_prog_cc_g=yes
18696 else
18697 echo "$as_me: failed program was:" >&5
18698 sed 's/^/| /' conftest.$ac_ext >&5
18699
18700
18701 fi
18702
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 fi
18705
18706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18707 fi
18708
18709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18710 ac_c_werror_flag=$ac_save_c_werror_flag
18711 fi
18712 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18714 if test "$ac_test_CFLAGS" = set; then
18715 CFLAGS=$ac_save_CFLAGS
18716 elif test $ac_cv_prog_cc_g = yes; then
18717 if test "$GCC" = yes; then
18718 CFLAGS="-g -O2"
18719 else
18720 CFLAGS="-g"
18721 fi
18722 else
18723 if test "$GCC" = yes; then
18724 CFLAGS="-O2"
18725 else
18726 CFLAGS=
18727 fi
18728 fi
18729 fi
18730 fi
18731
18732 case `uname -s` in
18733 AIX*)
18734
18735
18736 ac_ext=cpp
18737 ac_cpp='$CXXCPP $CPPFLAGS'
18738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18741
18742 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18743 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18744 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18746 else
18747 cat >conftest.$ac_ext <<_ACEOF
18748 /* confdefs.h. */
18749 _ACEOF
18750 cat confdefs.h >>conftest.$ac_ext
18751 cat >>conftest.$ac_ext <<_ACEOF
18752 /* end confdefs.h. */
18753
18754 int
18755 main ()
18756 {
18757
18758 #ifndef __xlC__
18759 choke me
18760 #endif
18761
18762 ;
18763 return 0;
18764 }
18765 _ACEOF
18766 rm -f conftest.$ac_objext
18767 if { (ac_try="$ac_compile"
18768 case "(($ac_try" in
18769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18770 *) ac_try_echo=$ac_try;;
18771 esac
18772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18773 (eval "$ac_compile") 2>conftest.er1
18774 ac_status=$?
18775 grep -v '^ *+' conftest.er1 >conftest.err
18776 rm -f conftest.er1
18777 cat conftest.err >&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); } && {
18780 test -z "$ac_cxx_werror_flag" ||
18781 test ! -s conftest.err
18782 } && test -s conftest.$ac_objext; then
18783 bakefile_cv_cxx_compiler___xlC__=yes
18784 else
18785 echo "$as_me: failed program was:" >&5
18786 sed 's/^/| /' conftest.$ac_ext >&5
18787
18788 bakefile_cv_cxx_compiler___xlC__=no
18789
18790 fi
18791
18792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18793
18794
18795 fi
18796 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18797 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18798 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18799 :; XLCXX=yes
18800 else
18801 :;
18802 fi
18803 ac_ext=c
18804 ac_cpp='$CPP $CPPFLAGS'
18805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18808
18809
18810
18811 ;;
18812
18813 Darwin)
18814
18815
18816 ac_ext=cpp
18817 ac_cpp='$CXXCPP $CPPFLAGS'
18818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18821
18822 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18823 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18824 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18826 else
18827 cat >conftest.$ac_ext <<_ACEOF
18828 /* confdefs.h. */
18829 _ACEOF
18830 cat confdefs.h >>conftest.$ac_ext
18831 cat >>conftest.$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833
18834 int
18835 main ()
18836 {
18837
18838 #ifndef __MWERKS__
18839 choke me
18840 #endif
18841
18842 ;
18843 return 0;
18844 }
18845 _ACEOF
18846 rm -f conftest.$ac_objext
18847 if { (ac_try="$ac_compile"
18848 case "(($ac_try" in
18849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18850 *) ac_try_echo=$ac_try;;
18851 esac
18852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18853 (eval "$ac_compile") 2>conftest.er1
18854 ac_status=$?
18855 grep -v '^ *+' conftest.er1 >conftest.err
18856 rm -f conftest.er1
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } && {
18860 test -z "$ac_cxx_werror_flag" ||
18861 test ! -s conftest.err
18862 } && test -s conftest.$ac_objext; then
18863 bakefile_cv_cxx_compiler___MWERKS__=yes
18864 else
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18867
18868 bakefile_cv_cxx_compiler___MWERKS__=no
18869
18870 fi
18871
18872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18873
18874
18875 fi
18876 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18877 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18878 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18879 :; MWCXX=yes
18880 else
18881 :;
18882 fi
18883 ac_ext=c
18884 ac_cpp='$CPP $CPPFLAGS'
18885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18888
18889
18890
18891
18892
18893 ac_ext=cpp
18894 ac_cpp='$CXXCPP $CPPFLAGS'
18895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18898
18899 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18900 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18901 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 else
18904 cat >conftest.$ac_ext <<_ACEOF
18905 /* confdefs.h. */
18906 _ACEOF
18907 cat confdefs.h >>conftest.$ac_ext
18908 cat >>conftest.$ac_ext <<_ACEOF
18909 /* end confdefs.h. */
18910
18911 int
18912 main ()
18913 {
18914
18915 #ifndef __xlC__
18916 choke me
18917 #endif
18918
18919 ;
18920 return 0;
18921 }
18922 _ACEOF
18923 rm -f conftest.$ac_objext
18924 if { (ac_try="$ac_compile"
18925 case "(($ac_try" in
18926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18927 *) ac_try_echo=$ac_try;;
18928 esac
18929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18930 (eval "$ac_compile") 2>conftest.er1
18931 ac_status=$?
18932 grep -v '^ *+' conftest.er1 >conftest.err
18933 rm -f conftest.er1
18934 cat conftest.err >&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } && {
18937 test -z "$ac_cxx_werror_flag" ||
18938 test ! -s conftest.err
18939 } && test -s conftest.$ac_objext; then
18940 bakefile_cv_cxx_compiler___xlC__=yes
18941 else
18942 echo "$as_me: failed program was:" >&5
18943 sed 's/^/| /' conftest.$ac_ext >&5
18944
18945 bakefile_cv_cxx_compiler___xlC__=no
18946
18947 fi
18948
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950
18951
18952 fi
18953 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18954 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18955 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18956 :; XLCXX=yes
18957 else
18958 :;
18959 fi
18960 ac_ext=c
18961 ac_cpp='$CPP $CPPFLAGS'
18962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18965
18966
18967
18968 ;;
18969
18970 IRIX*)
18971
18972
18973 ac_ext=cpp
18974 ac_cpp='$CXXCPP $CPPFLAGS'
18975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18978
18979 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18980 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18981 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 else
18984 cat >conftest.$ac_ext <<_ACEOF
18985 /* confdefs.h. */
18986 _ACEOF
18987 cat confdefs.h >>conftest.$ac_ext
18988 cat >>conftest.$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18990
18991 int
18992 main ()
18993 {
18994
18995 #ifndef _SGI_COMPILER_VERSION
18996 choke me
18997 #endif
18998
18999 ;
19000 return 0;
19001 }
19002 _ACEOF
19003 rm -f conftest.$ac_objext
19004 if { (ac_try="$ac_compile"
19005 case "(($ac_try" in
19006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19007 *) ac_try_echo=$ac_try;;
19008 esac
19009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19010 (eval "$ac_compile") 2>conftest.er1
19011 ac_status=$?
19012 grep -v '^ *+' conftest.er1 >conftest.err
19013 rm -f conftest.er1
19014 cat conftest.err >&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } && {
19017 test -z "$ac_cxx_werror_flag" ||
19018 test ! -s conftest.err
19019 } && test -s conftest.$ac_objext; then
19020 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19021 else
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.$ac_ext >&5
19024
19025 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19026
19027 fi
19028
19029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19030
19031
19032 fi
19033 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19034 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19035 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19036 :; SGICXX=yes
19037 else
19038 :;
19039 fi
19040 ac_ext=c
19041 ac_cpp='$CPP $CPPFLAGS'
19042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19045
19046
19047
19048 ;;
19049
19050 Linux*)
19051
19052
19053 ac_ext=cpp
19054 ac_cpp='$CXXCPP $CPPFLAGS'
19055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19058
19059 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19060 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19061 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19062 echo $ECHO_N "(cached) $ECHO_C" >&6
19063 else
19064 cat >conftest.$ac_ext <<_ACEOF
19065 /* confdefs.h. */
19066 _ACEOF
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070
19071 int
19072 main ()
19073 {
19074
19075 #ifndef __SUNPRO_CC
19076 choke me
19077 #endif
19078
19079 ;
19080 return 0;
19081 }
19082 _ACEOF
19083 rm -f conftest.$ac_objext
19084 if { (ac_try="$ac_compile"
19085 case "(($ac_try" in
19086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19087 *) ac_try_echo=$ac_try;;
19088 esac
19089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19090 (eval "$ac_compile") 2>conftest.er1
19091 ac_status=$?
19092 grep -v '^ *+' conftest.er1 >conftest.err
19093 rm -f conftest.er1
19094 cat conftest.err >&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } && {
19097 test -z "$ac_cxx_werror_flag" ||
19098 test ! -s conftest.err
19099 } && test -s conftest.$ac_objext; then
19100 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19101 else
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19104
19105 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19106
19107 fi
19108
19109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19110
19111
19112 fi
19113 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19114 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19115 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19116 :; SUNCXX=yes
19117 else
19118 :;
19119 fi
19120 ac_ext=c
19121 ac_cpp='$CPP $CPPFLAGS'
19122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19125
19126
19127
19128 ;;
19129
19130 HP-UX*)
19131
19132
19133 ac_ext=cpp
19134 ac_cpp='$CXXCPP $CPPFLAGS'
19135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19138
19139 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19140 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19141 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19143 else
19144 cat >conftest.$ac_ext <<_ACEOF
19145 /* confdefs.h. */
19146 _ACEOF
19147 cat confdefs.h >>conftest.$ac_ext
19148 cat >>conftest.$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150
19151 int
19152 main ()
19153 {
19154
19155 #ifndef __HP_aCC
19156 choke me
19157 #endif
19158
19159 ;
19160 return 0;
19161 }
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (ac_try="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19168 esac
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_cxx_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest.$ac_objext; then
19180 bakefile_cv_cxx_compiler___HP_aCC=yes
19181 else
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19184
19185 bakefile_cv_cxx_compiler___HP_aCC=no
19186
19187 fi
19188
19189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19190
19191
19192 fi
19193 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19194 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19195 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19196 :; HPCXX=yes
19197 else
19198 :;
19199 fi
19200 ac_ext=c
19201 ac_cpp='$CPP $CPPFLAGS'
19202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19205
19206
19207
19208 ;;
19209
19210 OSF1)
19211
19212
19213 ac_ext=cpp
19214 ac_cpp='$CXXCPP $CPPFLAGS'
19215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19218
19219 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19220 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19221 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19222 echo $ECHO_N "(cached) $ECHO_C" >&6
19223 else
19224 cat >conftest.$ac_ext <<_ACEOF
19225 /* confdefs.h. */
19226 _ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230
19231 int
19232 main ()
19233 {
19234
19235 #ifndef __DECCXX
19236 choke me
19237 #endif
19238
19239 ;
19240 return 0;
19241 }
19242 _ACEOF
19243 rm -f conftest.$ac_objext
19244 if { (ac_try="$ac_compile"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19248 esac
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_compile") 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_cxx_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest.$ac_objext; then
19260 bakefile_cv_cxx_compiler___DECCXX=yes
19261 else
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19264
19265 bakefile_cv_cxx_compiler___DECCXX=no
19266
19267 fi
19268
19269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270
19271
19272 fi
19273 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19274 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19275 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19276 :; COMPAQCXX=yes
19277 else
19278 :;
19279 fi
19280 ac_ext=c
19281 ac_cpp='$CPP $CPPFLAGS'
19282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19285
19286
19287
19288 ;;
19289
19290 SunOS)
19291
19292
19293 ac_ext=cpp
19294 ac_cpp='$CXXCPP $CPPFLAGS'
19295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19298
19299 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19300 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19301 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19302 echo $ECHO_N "(cached) $ECHO_C" >&6
19303 else
19304 cat >conftest.$ac_ext <<_ACEOF
19305 /* confdefs.h. */
19306 _ACEOF
19307 cat confdefs.h >>conftest.$ac_ext
19308 cat >>conftest.$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310
19311 int
19312 main ()
19313 {
19314
19315 #ifndef __SUNPRO_CC
19316 choke me
19317 #endif
19318
19319 ;
19320 return 0;
19321 }
19322 _ACEOF
19323 rm -f conftest.$ac_objext
19324 if { (ac_try="$ac_compile"
19325 case "(($ac_try" in
19326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19327 *) ac_try_echo=$ac_try;;
19328 esac
19329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19330 (eval "$ac_compile") 2>conftest.er1
19331 ac_status=$?
19332 grep -v '^ *+' conftest.er1 >conftest.err
19333 rm -f conftest.er1
19334 cat conftest.err >&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } && {
19337 test -z "$ac_cxx_werror_flag" ||
19338 test ! -s conftest.err
19339 } && test -s conftest.$ac_objext; then
19340 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19341 else
19342 echo "$as_me: failed program was:" >&5
19343 sed 's/^/| /' conftest.$ac_ext >&5
19344
19345 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19346
19347 fi
19348
19349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19350
19351
19352 fi
19353 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19354 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19355 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19356 :; SUNCXX=yes
19357 else
19358 :;
19359 fi
19360 ac_ext=c
19361 ac_cpp='$CPP $CPPFLAGS'
19362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19365
19366
19367
19368 ;;
19369 esac
19370 fi
19371
19372
19373
19374 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19375 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19376 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19377 { (exit 1); exit 1; }; }
19378 fi
19379
19380 if test -n "$ac_tool_prefix"; then
19381 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19382 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19385 if test "${ac_cv_prog_RANLIB+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19387 else
19388 if test -n "$RANLIB"; then
19389 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19390 else
19391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19392 for as_dir in $PATH
19393 do
19394 IFS=$as_save_IFS
19395 test -z "$as_dir" && as_dir=.
19396 for ac_exec_ext in '' $ac_executable_extensions; do
19397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19398 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19400 break 2
19401 fi
19402 done
19403 done
19404 IFS=$as_save_IFS
19405
19406 fi
19407 fi
19408 RANLIB=$ac_cv_prog_RANLIB
19409 if test -n "$RANLIB"; then
19410 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19411 echo "${ECHO_T}$RANLIB" >&6; }
19412 else
19413 { echo "$as_me:$LINENO: result: no" >&5
19414 echo "${ECHO_T}no" >&6; }
19415 fi
19416
19417
19418 fi
19419 if test -z "$ac_cv_prog_RANLIB"; then
19420 ac_ct_RANLIB=$RANLIB
19421 # Extract the first word of "ranlib", so it can be a program name with args.
19422 set dummy ranlib; ac_word=$2
19423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19425 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19426 echo $ECHO_N "(cached) $ECHO_C" >&6
19427 else
19428 if test -n "$ac_ct_RANLIB"; then
19429 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19430 else
19431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19432 for as_dir in $PATH
19433 do
19434 IFS=$as_save_IFS
19435 test -z "$as_dir" && as_dir=.
19436 for ac_exec_ext in '' $ac_executable_extensions; do
19437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19438 ac_cv_prog_ac_ct_RANLIB="ranlib"
19439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19440 break 2
19441 fi
19442 done
19443 done
19444 IFS=$as_save_IFS
19445
19446 fi
19447 fi
19448 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19449 if test -n "$ac_ct_RANLIB"; then
19450 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19451 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19452 else
19453 { echo "$as_me:$LINENO: result: no" >&5
19454 echo "${ECHO_T}no" >&6; }
19455 fi
19456
19457 if test "x$ac_ct_RANLIB" = x; then
19458 RANLIB=":"
19459 else
19460 case $cross_compiling:$ac_tool_warned in
19461 yes:)
19462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19463 whose name does not start with the host triplet. If you think this
19464 configuration is useful to you, please write to autoconf@gnu.org." >&5
19465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19466 whose name does not start with the host triplet. If you think this
19467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19468 ac_tool_warned=yes ;;
19469 esac
19470 RANLIB=$ac_ct_RANLIB
19471 fi
19472 else
19473 RANLIB="$ac_cv_prog_RANLIB"
19474 fi
19475
19476
19477 if test "x$SUNCXX" != xyes; then
19478 if test -n "$ac_tool_prefix"; then
19479 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19480 set dummy ${ac_tool_prefix}ar; ac_word=$2
19481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19483 if test "${ac_cv_prog_AR+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19485 else
19486 if test -n "$AR"; then
19487 ac_cv_prog_AR="$AR" # Let the user override the test.
19488 else
19489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19490 for as_dir in $PATH
19491 do
19492 IFS=$as_save_IFS
19493 test -z "$as_dir" && as_dir=.
19494 for ac_exec_ext in '' $ac_executable_extensions; do
19495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19496 ac_cv_prog_AR="${ac_tool_prefix}ar"
19497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19498 break 2
19499 fi
19500 done
19501 done
19502 IFS=$as_save_IFS
19503
19504 fi
19505 fi
19506 AR=$ac_cv_prog_AR
19507 if test -n "$AR"; then
19508 { echo "$as_me:$LINENO: result: $AR" >&5
19509 echo "${ECHO_T}$AR" >&6; }
19510 else
19511 { echo "$as_me:$LINENO: result: no" >&5
19512 echo "${ECHO_T}no" >&6; }
19513 fi
19514
19515
19516 fi
19517 if test -z "$ac_cv_prog_AR"; then
19518 ac_ct_AR=$AR
19519 # Extract the first word of "ar", so it can be a program name with args.
19520 set dummy ar; ac_word=$2
19521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19523 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19524 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 else
19526 if test -n "$ac_ct_AR"; then
19527 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19528 else
19529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19530 for as_dir in $PATH
19531 do
19532 IFS=$as_save_IFS
19533 test -z "$as_dir" && as_dir=.
19534 for ac_exec_ext in '' $ac_executable_extensions; do
19535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19536 ac_cv_prog_ac_ct_AR="ar"
19537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19538 break 2
19539 fi
19540 done
19541 done
19542 IFS=$as_save_IFS
19543
19544 fi
19545 fi
19546 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19547 if test -n "$ac_ct_AR"; then
19548 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19549 echo "${ECHO_T}$ac_ct_AR" >&6; }
19550 else
19551 { echo "$as_me:$LINENO: result: no" >&5
19552 echo "${ECHO_T}no" >&6; }
19553 fi
19554
19555 if test "x$ac_ct_AR" = x; then
19556 AR=""
19557 else
19558 case $cross_compiling:$ac_tool_warned in
19559 yes:)
19560 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19561 whose name does not start with the host triplet. If you think this
19562 configuration is useful to you, please write to autoconf@gnu.org." >&5
19563 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19564 whose name does not start with the host triplet. If you think this
19565 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19566 ac_tool_warned=yes ;;
19567 esac
19568 AR=$ac_ct_AR
19569 fi
19570 else
19571 AR="$ac_cv_prog_AR"
19572 fi
19573
19574 if test "x$AR" = "x" ; then
19575 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19576 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19577 { (exit 1); exit 1; }; }
19578 fi
19579 fi
19580
19581 # Find a good install program. We prefer a C program (faster),
19582 # so one script is as good as another. But avoid the broken or
19583 # incompatible versions:
19584 # SysV /etc/install, /usr/sbin/install
19585 # SunOS /usr/etc/install
19586 # IRIX /sbin/install
19587 # AIX /bin/install
19588 # AmigaOS /C/install, which installs bootblocks on floppy discs
19589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19592 # OS/2's system install, which has a completely different semantic
19593 # ./install, which can be erroneously created by make from ./install.sh.
19594 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19596 if test -z "$INSTALL"; then
19597 if test "${ac_cv_path_install+set}" = set; then
19598 echo $ECHO_N "(cached) $ECHO_C" >&6
19599 else
19600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19601 for as_dir in $PATH
19602 do
19603 IFS=$as_save_IFS
19604 test -z "$as_dir" && as_dir=.
19605 # Account for people who put trailing slashes in PATH elements.
19606 case $as_dir/ in
19607 ./ | .// | /cC/* | \
19608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19610 /usr/ucb/* ) ;;
19611 *)
19612 # OSF1 and SCO ODT 3.0 have their own names for install.
19613 # Don't use installbsd from OSF since it installs stuff as root
19614 # by default.
19615 for ac_prog in ginstall scoinst install; do
19616 for ac_exec_ext in '' $ac_executable_extensions; do
19617 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19618 if test $ac_prog = install &&
19619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19620 # AIX install. It has an incompatible calling convention.
19621 :
19622 elif test $ac_prog = install &&
19623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19624 # program-specific install script used by HP pwplus--don't use.
19625 :
19626 else
19627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19628 break 3
19629 fi
19630 fi
19631 done
19632 done
19633 ;;
19634 esac
19635 done
19636 IFS=$as_save_IFS
19637
19638
19639 fi
19640 if test "${ac_cv_path_install+set}" = set; then
19641 INSTALL=$ac_cv_path_install
19642 else
19643 # As a last resort, use the slow shell script. Don't cache a
19644 # value for INSTALL within a source directory, because that will
19645 # break other packages using the cache if that directory is
19646 # removed, or if the value is a relative name.
19647 INSTALL=$ac_install_sh
19648 fi
19649 fi
19650 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19651 echo "${ECHO_T}$INSTALL" >&6; }
19652
19653 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19654 # It thinks the first close brace ends the variable substitution.
19655 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19656
19657 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19658
19659 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19660
19661
19662 case ${INSTALL} in
19663 /* ) # Absolute
19664 ;;
19665 ?:* ) # Drive letter, considered as absolute.
19666 ;;
19667 *)
19668 INSTALL=`pwd`/${INSTALL} ;;
19669 esac
19670
19671
19672 case "${host}" in
19673
19674 *-*-darwin* )
19675 INSTALL_PROGRAM="cp -fp"
19676 INSTALL_DATA="cp -fp"
19677 ;;
19678 *)
19679 ;;
19680 esac
19681
19682 if test -n "$ac_tool_prefix"; then
19683 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19684 set dummy ${ac_tool_prefix}strip; ac_word=$2
19685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19687 if test "${ac_cv_prog_STRIP+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19689 else
19690 if test -n "$STRIP"; then
19691 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19692 else
19693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19694 for as_dir in $PATH
19695 do
19696 IFS=$as_save_IFS
19697 test -z "$as_dir" && as_dir=.
19698 for ac_exec_ext in '' $ac_executable_extensions; do
19699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19700 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19702 break 2
19703 fi
19704 done
19705 done
19706 IFS=$as_save_IFS
19707
19708 fi
19709 fi
19710 STRIP=$ac_cv_prog_STRIP
19711 if test -n "$STRIP"; then
19712 { echo "$as_me:$LINENO: result: $STRIP" >&5
19713 echo "${ECHO_T}$STRIP" >&6; }
19714 else
19715 { echo "$as_me:$LINENO: result: no" >&5
19716 echo "${ECHO_T}no" >&6; }
19717 fi
19718
19719
19720 fi
19721 if test -z "$ac_cv_prog_STRIP"; then
19722 ac_ct_STRIP=$STRIP
19723 # Extract the first word of "strip", so it can be a program name with args.
19724 set dummy strip; ac_word=$2
19725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19727 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19728 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 else
19730 if test -n "$ac_ct_STRIP"; then
19731 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19732 else
19733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19734 for as_dir in $PATH
19735 do
19736 IFS=$as_save_IFS
19737 test -z "$as_dir" && as_dir=.
19738 for ac_exec_ext in '' $ac_executable_extensions; do
19739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19740 ac_cv_prog_ac_ct_STRIP="strip"
19741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19742 break 2
19743 fi
19744 done
19745 done
19746 IFS=$as_save_IFS
19747
19748 fi
19749 fi
19750 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19751 if test -n "$ac_ct_STRIP"; then
19752 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19753 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19754 else
19755 { echo "$as_me:$LINENO: result: no" >&5
19756 echo "${ECHO_T}no" >&6; }
19757 fi
19758
19759 if test "x$ac_ct_STRIP" = x; then
19760 STRIP="true"
19761 else
19762 case $cross_compiling:$ac_tool_warned in
19763 yes:)
19764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19765 whose name does not start with the host triplet. If you think this
19766 configuration is useful to you, please write to autoconf@gnu.org." >&5
19767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19768 whose name does not start with the host triplet. If you think this
19769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19770 ac_tool_warned=yes ;;
19771 esac
19772 STRIP=$ac_ct_STRIP
19773 fi
19774 else
19775 STRIP="$ac_cv_prog_STRIP"
19776 fi
19777
19778
19779 if test "$wxUSE_WINE" = "yes"; then
19780 if test -n "$ac_tool_prefix"; then
19781 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19782 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19785 if test "${ac_cv_prog_WINDRES+set}" = set; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 else
19788 if test -n "$WINDRES"; then
19789 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19790 else
19791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19792 for as_dir in $PATH
19793 do
19794 IFS=$as_save_IFS
19795 test -z "$as_dir" && as_dir=.
19796 for ac_exec_ext in '' $ac_executable_extensions; do
19797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19798 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19800 break 2
19801 fi
19802 done
19803 done
19804 IFS=$as_save_IFS
19805
19806 fi
19807 fi
19808 WINDRES=$ac_cv_prog_WINDRES
19809 if test -n "$WINDRES"; then
19810 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19811 echo "${ECHO_T}$WINDRES" >&6; }
19812 else
19813 { echo "$as_me:$LINENO: result: no" >&5
19814 echo "${ECHO_T}no" >&6; }
19815 fi
19816
19817
19818 fi
19819 if test -z "$ac_cv_prog_WINDRES"; then
19820 ac_ct_WINDRES=$WINDRES
19821 # Extract the first word of "wrc", so it can be a program name with args.
19822 set dummy wrc; ac_word=$2
19823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19825 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 else
19828 if test -n "$ac_ct_WINDRES"; then
19829 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19830 else
19831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19832 for as_dir in $PATH
19833 do
19834 IFS=$as_save_IFS
19835 test -z "$as_dir" && as_dir=.
19836 for ac_exec_ext in '' $ac_executable_extensions; do
19837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19838 ac_cv_prog_ac_ct_WINDRES="wrc"
19839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19840 break 2
19841 fi
19842 done
19843 done
19844 IFS=$as_save_IFS
19845
19846 fi
19847 fi
19848 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19849 if test -n "$ac_ct_WINDRES"; then
19850 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19851 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19852 else
19853 { echo "$as_me:$LINENO: result: no" >&5
19854 echo "${ECHO_T}no" >&6; }
19855 fi
19856
19857 if test "x$ac_ct_WINDRES" = x; then
19858 WINDRES=""
19859 else
19860 case $cross_compiling:$ac_tool_warned in
19861 yes:)
19862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19863 whose name does not start with the host triplet. If you think this
19864 configuration is useful to you, please write to autoconf@gnu.org." >&5
19865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19866 whose name does not start with the host triplet. If you think this
19867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19868 ac_tool_warned=yes ;;
19869 esac
19870 WINDRES=$ac_ct_WINDRES
19871 fi
19872 else
19873 WINDRES="$ac_cv_prog_WINDRES"
19874 fi
19875
19876 RESCOMP="$WINDRES"
19877 else
19878 case "${host}" in
19879 *-*-cygwin* | *-*-mingw32* )
19880 if test -n "$ac_tool_prefix"; then
19881 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19882 set dummy ${ac_tool_prefix}windres; ac_word=$2
19883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19885 if test "${ac_cv_prog_WINDRES+set}" = set; then
19886 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 else
19888 if test -n "$WINDRES"; then
19889 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19890 else
19891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19892 for as_dir in $PATH
19893 do
19894 IFS=$as_save_IFS
19895 test -z "$as_dir" && as_dir=.
19896 for ac_exec_ext in '' $ac_executable_extensions; do
19897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19898 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19900 break 2
19901 fi
19902 done
19903 done
19904 IFS=$as_save_IFS
19905
19906 fi
19907 fi
19908 WINDRES=$ac_cv_prog_WINDRES
19909 if test -n "$WINDRES"; then
19910 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19911 echo "${ECHO_T}$WINDRES" >&6; }
19912 else
19913 { echo "$as_me:$LINENO: result: no" >&5
19914 echo "${ECHO_T}no" >&6; }
19915 fi
19916
19917
19918 fi
19919 if test -z "$ac_cv_prog_WINDRES"; then
19920 ac_ct_WINDRES=$WINDRES
19921 # Extract the first word of "windres", so it can be a program name with args.
19922 set dummy windres; ac_word=$2
19923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19925 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19926 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 else
19928 if test -n "$ac_ct_WINDRES"; then
19929 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19930 else
19931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19932 for as_dir in $PATH
19933 do
19934 IFS=$as_save_IFS
19935 test -z "$as_dir" && as_dir=.
19936 for ac_exec_ext in '' $ac_executable_extensions; do
19937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19938 ac_cv_prog_ac_ct_WINDRES="windres"
19939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19940 break 2
19941 fi
19942 done
19943 done
19944 IFS=$as_save_IFS
19945
19946 fi
19947 fi
19948 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19949 if test -n "$ac_ct_WINDRES"; then
19950 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19951 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19952 else
19953 { echo "$as_me:$LINENO: result: no" >&5
19954 echo "${ECHO_T}no" >&6; }
19955 fi
19956
19957 if test "x$ac_ct_WINDRES" = x; then
19958 WINDRES=""
19959 else
19960 case $cross_compiling:$ac_tool_warned in
19961 yes:)
19962 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19963 whose name does not start with the host triplet. If you think this
19964 configuration is useful to you, please write to autoconf@gnu.org." >&5
19965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19966 whose name does not start with the host triplet. If you think this
19967 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19968 ac_tool_warned=yes ;;
19969 esac
19970 WINDRES=$ac_ct_WINDRES
19971 fi
19972 else
19973 WINDRES="$ac_cv_prog_WINDRES"
19974 fi
19975
19976 RESCOMP="$WINDRES"
19977 if test -n "$ac_tool_prefix"; then
19978 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19979 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19982 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 else
19985 if test -n "$DLLTOOL"; then
19986 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19987 else
19988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19989 for as_dir in $PATH
19990 do
19991 IFS=$as_save_IFS
19992 test -z "$as_dir" && as_dir=.
19993 for ac_exec_ext in '' $ac_executable_extensions; do
19994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19995 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19997 break 2
19998 fi
19999 done
20000 done
20001 IFS=$as_save_IFS
20002
20003 fi
20004 fi
20005 DLLTOOL=$ac_cv_prog_DLLTOOL
20006 if test -n "$DLLTOOL"; then
20007 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20008 echo "${ECHO_T}$DLLTOOL" >&6; }
20009 else
20010 { echo "$as_me:$LINENO: result: no" >&5
20011 echo "${ECHO_T}no" >&6; }
20012 fi
20013
20014
20015 fi
20016 if test -z "$ac_cv_prog_DLLTOOL"; then
20017 ac_ct_DLLTOOL=$DLLTOOL
20018 # Extract the first word of "dlltool", so it can be a program name with args.
20019 set dummy dlltool; ac_word=$2
20020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20022 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20023 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 else
20025 if test -n "$ac_ct_DLLTOOL"; then
20026 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20027 else
20028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20029 for as_dir in $PATH
20030 do
20031 IFS=$as_save_IFS
20032 test -z "$as_dir" && as_dir=.
20033 for ac_exec_ext in '' $ac_executable_extensions; do
20034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20035 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20037 break 2
20038 fi
20039 done
20040 done
20041 IFS=$as_save_IFS
20042
20043 fi
20044 fi
20045 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20046 if test -n "$ac_ct_DLLTOOL"; then
20047 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20048 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20049 else
20050 { echo "$as_me:$LINENO: result: no" >&5
20051 echo "${ECHO_T}no" >&6; }
20052 fi
20053
20054 if test "x$ac_ct_DLLTOOL" = x; then
20055 DLLTOOL=""
20056 else
20057 case $cross_compiling:$ac_tool_warned in
20058 yes:)
20059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20060 whose name does not start with the host triplet. If you think this
20061 configuration is useful to you, please write to autoconf@gnu.org." >&5
20062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20063 whose name does not start with the host triplet. If you think this
20064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20065 ac_tool_warned=yes ;;
20066 esac
20067 DLLTOOL=$ac_ct_DLLTOOL
20068 fi
20069 else
20070 DLLTOOL="$ac_cv_prog_DLLTOOL"
20071 fi
20072
20073 ;;
20074 esac
20075 fi
20076
20077 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20078 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20079 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 else
20082
20083 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20084 $EGREP -s GNU > /dev/null); then
20085 wx_cv_prog_makeisgnu="yes"
20086 else
20087 wx_cv_prog_makeisgnu="no"
20088 fi
20089
20090 fi
20091 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20092 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20093
20094 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20095 IF_GNU_MAKE=""
20096 else
20097 IF_GNU_MAKE="#"
20098 fi
20099
20100
20101
20102 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20103 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20104 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20105 if test "${wx_cv_prog_makevpath+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20107 else
20108
20109 cat - << EOF > confMake
20110 check : file
20111 cp \$? \$@
20112 cp \$? final_file
20113 EOF
20114
20115 if test ! -d sub ; then
20116 mkdir sub
20117 fi
20118 echo dummy > sub/file
20119 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20120 RESULT=$?
20121 rm -f sub/file check final_file confMake
20122 rmdir sub
20123 if test "$RESULT" = 0; then
20124 wx_cv_prog_makevpath="yes"
20125 else
20126 wx_cv_prog_makevpath="no"
20127 fi
20128
20129 fi
20130 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20131 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20132
20133 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20134 { { echo "$as_me:$LINENO: error:
20135 You need a make-utility that is able to use the variable
20136 VPATH correctly.
20137 If your version of make does not support VPATH correctly,
20138 please install GNU-make (possibly as gmake), and start
20139 configure with the following command:
20140 export MAKE=gmake; ./configure for sh-type shells
20141 setenv MAKE gmake; ./configure for csh-type shells
20142 Also please do remember to use gmake in this case every time
20143 you are trying to compile.
20144 " >&5
20145 echo "$as_me: error:
20146 You need a make-utility that is able to use the variable
20147 VPATH correctly.
20148 If your version of make does not support VPATH correctly,
20149 please install GNU-make (possibly as gmake), and start
20150 configure with the following command:
20151 export MAKE=gmake; ./configure for sh-type shells
20152 setenv MAKE gmake; ./configure for csh-type shells
20153 Also please do remember to use gmake in this case every time
20154 you are trying to compile.
20155 " >&2;}
20156 { (exit 1); exit 1; }; }
20157 fi fi
20158 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20159 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20160 LN_S=$as_ln_s
20161 if test "$LN_S" = "ln -s"; then
20162 { echo "$as_me:$LINENO: result: yes" >&5
20163 echo "${ECHO_T}yes" >&6; }
20164 else
20165 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20166 echo "${ECHO_T}no, using $LN_S" >&6; }
20167 fi
20168
20169
20170
20171
20172 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20173 CXXFLAGS="-qunique $CXXFLAGS"
20174 fi
20175
20176 case "${host}" in
20177 powerpc-*-darwin* )
20178 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20179 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20180 cat >conftest.$ac_ext <<_ACEOF
20181 /* confdefs.h. */
20182 _ACEOF
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186
20187 int
20188 main ()
20189 {
20190 #ifndef __POWERPC__
20191 choke me for lack of PowerPC
20192 #endif
20193
20194 ;
20195 return 0;
20196 }
20197 _ACEOF
20198 rm -f conftest.$ac_objext
20199 if { (ac_try="$ac_compile"
20200 case "(($ac_try" in
20201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20202 *) ac_try_echo=$ac_try;;
20203 esac
20204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20205 (eval "$ac_compile") 2>conftest.er1
20206 ac_status=$?
20207 grep -v '^ *+' conftest.er1 >conftest.err
20208 rm -f conftest.er1
20209 cat conftest.err >&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); } && {
20212 test -z "$ac_c_werror_flag" ||
20213 test ! -s conftest.err
20214 } && test -s conftest.$ac_objext; then
20215 { echo "$as_me:$LINENO: result: yes" >&5
20216 echo "${ECHO_T}yes" >&6; }
20217 else
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.$ac_ext >&5
20220
20221 { echo "$as_me:$LINENO: result: no" >&5
20222 echo "${ECHO_T}no" >&6; }
20223 cat >>confdefs.h <<\_ACEOF
20224 #define __POWERPC__ 1
20225 _ACEOF
20226
20227
20228 fi
20229
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20231 ;;
20232 esac
20233
20234 case "${host}" in
20235 *-*-darwin* )
20236 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20237 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20238 cat >conftest.$ac_ext <<_ACEOF
20239 /* confdefs.h. */
20240 _ACEOF
20241 cat confdefs.h >>conftest.$ac_ext
20242 cat >>conftest.$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20244 #include <CoreFoundation/CFBase.h>
20245
20246 int
20247 main ()
20248 {
20249
20250 ;
20251 return 0;
20252 }
20253 _ACEOF
20254 rm -f conftest.$ac_objext
20255 if { (ac_try="$ac_compile"
20256 case "(($ac_try" in
20257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20258 *) ac_try_echo=$ac_try;;
20259 esac
20260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20261 (eval "$ac_compile") 2>conftest.er1
20262 ac_status=$?
20263 grep -v '^ *+' conftest.er1 >conftest.err
20264 rm -f conftest.er1
20265 cat conftest.err >&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } && {
20268 test -z "$ac_c_werror_flag" ||
20269 test ! -s conftest.err
20270 } && test -s conftest.$ac_objext; then
20271 { echo "$as_me:$LINENO: result: yes" >&5
20272 echo "${ECHO_T}yes" >&6; }
20273 else
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20276
20277 { echo "$as_me:$LINENO: result: no" >&5
20278 echo "${ECHO_T}no" >&6; }
20279 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20280 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20281 cat >conftest.$ac_ext <<_ACEOF
20282 /* confdefs.h. */
20283 _ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20287 #define __CF_USE_FRAMEWORK_INCLUDES__
20288 #include <CoreFoundation/CFBase.h>
20289
20290 int
20291 main ()
20292 {
20293
20294 ;
20295 return 0;
20296 }
20297 _ACEOF
20298 rm -f conftest.$ac_objext
20299 if { (ac_try="$ac_compile"
20300 case "(($ac_try" in
20301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20302 *) ac_try_echo=$ac_try;;
20303 esac
20304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20305 (eval "$ac_compile") 2>conftest.er1
20306 ac_status=$?
20307 grep -v '^ *+' conftest.er1 >conftest.err
20308 rm -f conftest.er1
20309 cat conftest.err >&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); } && {
20312 test -z "$ac_c_werror_flag" ||
20313 test ! -s conftest.err
20314 } && test -s conftest.$ac_objext; then
20315 { echo "$as_me:$LINENO: result: yes" >&5
20316 echo "${ECHO_T}yes" >&6; }
20317 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20318 else
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.$ac_ext >&5
20321
20322 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20323 See \`config.log' for more details." >&5
20324 echo "$as_me: error: no. CoreFoundation not available.
20325 See \`config.log' for more details." >&2;}
20326 { (exit 1); exit 1; }; }
20327
20328 fi
20329
20330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20331
20332
20333 fi
20334
20335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20336 ;;
20337 esac
20338
20339 wants_win32=0
20340 doesnt_want_win32=0
20341 case "${host}" in
20342 *-*-cygwin*)
20343 if test "$wxUSE_MSW" = 1 ; then
20344 wants_win32=1
20345 else
20346 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20347 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20348 if test "${wx_cv_nocygwin+set}" = set; then
20349 echo $ECHO_N "(cached) $ECHO_C" >&6
20350 else
20351
20352 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h. */
20354 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358
20359 int
20360 main ()
20361 {
20362
20363 #ifdef __MINGW32__
20364 choke me
20365 #endif
20366
20367 ;
20368 return 0;
20369 }
20370 _ACEOF
20371 rm -f conftest.$ac_objext
20372 if { (ac_try="$ac_compile"
20373 case "(($ac_try" in
20374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20376 esac
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_compile") 2>conftest.er1
20379 ac_status=$?
20380 grep -v '^ *+' conftest.er1 >conftest.err
20381 rm -f conftest.er1
20382 cat conftest.err >&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } && {
20385 test -z "$ac_c_werror_flag" ||
20386 test ! -s conftest.err
20387 } && test -s conftest.$ac_objext; then
20388 wx_cv_nocygwin=no
20389 else
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20392
20393 wx_cv_nocygwin=yes
20394
20395 fi
20396
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20398
20399
20400 fi
20401 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20402 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20403
20404 if test "$wx_cv_nocygwin" = "yes"; then
20405 wants_win32=1
20406 else
20407 doesnt_want_win32=1
20408 fi
20409 fi
20410 if test "$wants_win32" = 1 ; then
20411 BAKEFILE_FORCE_PLATFORM=win32
20412 fi
20413 ;;
20414 *-*-mingw*)
20415 wants_win32=1
20416 ;;
20417 esac
20418
20419 if test "$wxUSE_WINE" = "yes"; then
20420 wants_win32=1
20421 LDFLAGS_GUI="-mwindows"
20422 fi
20423
20424 if test "$wants_win32" = 1 ; then
20425 USE_UNIX=0
20426 USE_WIN32=1
20427 cat >>confdefs.h <<\_ACEOF
20428 #define __WIN32__ 1
20429 _ACEOF
20430
20431 cat >>confdefs.h <<\_ACEOF
20432 #define __WIN95__ 1
20433 _ACEOF
20434
20435 cat >>confdefs.h <<\_ACEOF
20436 #define __WINDOWS__ 1
20437 _ACEOF
20438
20439 cat >>confdefs.h <<\_ACEOF
20440 #define __GNUWIN32__ 1
20441 _ACEOF
20442
20443 cat >>confdefs.h <<\_ACEOF
20444 #define STRICT 1
20445 _ACEOF
20446
20447 fi
20448 if test "$doesnt_want_win32" = 1 ; then
20449 USE_UNIX=1
20450 USE_WIN32=0
20451 fi
20452
20453 if test "$USE_UNIX" = 1 ; then
20454 wxUSE_UNIX=yes
20455 cat >>confdefs.h <<\_ACEOF
20456 #define __UNIX__ 1
20457 _ACEOF
20458
20459 fi
20460
20461 case "${host}" in
20462 *-pc-os2_emx | *-pc-os2-emx )
20463 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20464 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20465 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20466 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20467 echo $ECHO_N "(cached) $ECHO_C" >&6
20468 else
20469 ac_check_lib_save_LIBS=$LIBS
20470 LIBS="-lcExt $LIBS"
20471 cat >conftest.$ac_ext <<_ACEOF
20472 /* confdefs.h. */
20473 _ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477
20478 /* Override any GCC internal prototype to avoid an error.
20479 Use char because int might match the return type of a GCC
20480 builtin and then its argument prototype would still apply. */
20481 #ifdef __cplusplus
20482 extern "C"
20483 #endif
20484 char drand48 ();
20485 int
20486 main ()
20487 {
20488 return drand48 ();
20489 ;
20490 return 0;
20491 }
20492 _ACEOF
20493 rm -f conftest.$ac_objext conftest$ac_exeext
20494 if { (ac_try="$ac_link"
20495 case "(($ac_try" in
20496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20497 *) ac_try_echo=$ac_try;;
20498 esac
20499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20500 (eval "$ac_link") 2>conftest.er1
20501 ac_status=$?
20502 grep -v '^ *+' conftest.er1 >conftest.err
20503 rm -f conftest.er1
20504 cat conftest.err >&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); } && {
20507 test -z "$ac_c_werror_flag" ||
20508 test ! -s conftest.err
20509 } && test -s conftest$ac_exeext &&
20510 $as_test_x conftest$ac_exeext; then
20511 ac_cv_lib_cExt_drand48=yes
20512 else
20513 echo "$as_me: failed program was:" >&5
20514 sed 's/^/| /' conftest.$ac_ext >&5
20515
20516 ac_cv_lib_cExt_drand48=no
20517 fi
20518
20519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20520 conftest$ac_exeext conftest.$ac_ext
20521 LIBS=$ac_check_lib_save_LIBS
20522 fi
20523 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20524 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20525 if test $ac_cv_lib_cExt_drand48 = yes; then
20526 LIBS="$LIBS -lcExt"
20527 fi
20528
20529 else
20530 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20531 fi
20532 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20533 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20534 if test "${wx_cv_gccversion+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 else
20537
20538 if test "$cross_compiling" = yes; then
20539 wx_cv_gccversion="EMX2"
20540
20541 else
20542 cat >conftest.$ac_ext <<_ACEOF
20543 /* confdefs.h. */
20544 _ACEOF
20545 cat confdefs.h >>conftest.$ac_ext
20546 cat >>conftest.$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548
20549 #include <stdio.h>
20550
20551 int main()
20552 {
20553 FILE *f=fopen("conftestval", "w");
20554 if (!f) exit(1);
20555 fprintf(f,
20556 #if (__GNUC__ < 3)
20557 "EMX2"
20558 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20559 "EMX3"
20560 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20561 "Innotek5"
20562 #else
20563 "Innotek6"
20564 #endif
20565 );
20566 exit(0);
20567 }
20568
20569 _ACEOF
20570 rm -f conftest$ac_exeext
20571 if { (ac_try="$ac_link"
20572 case "(($ac_try" in
20573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20574 *) ac_try_echo=$ac_try;;
20575 esac
20576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20577 (eval "$ac_link") 2>&5
20578 ac_status=$?
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20581 { (case "(($ac_try" in
20582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20583 *) ac_try_echo=$ac_try;;
20584 esac
20585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20586 (eval "$ac_try") 2>&5
20587 ac_status=$?
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); }; }; then
20590 wx_cv_gccversion=`cat conftestval`
20591 else
20592 echo "$as_me: program exited with status $ac_status" >&5
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.$ac_ext >&5
20595
20596 ( exit $ac_status )
20597 wx_cv_gccversion="EMX2"
20598 fi
20599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20600 fi
20601
20602
20603
20604 fi
20605 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20606 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20607 if test "$wx_cv_gccversion" = "EMX2"; then
20608 LIBS="$LIBS -lstdcpp"
20609 LDFLAGS="$LDFLAGS -Zsysv-signals"
20610 else
20611 if test "$wx_cv_gccversion" = "EMX3"; then
20612 LIBS="$LIBS -lstdcxx -lgcc"
20613 LDFLAGS="$LDFLAGS -Zsysv-signals"
20614 else
20615 LIBS="$LIBS -lstdc++"
20616 fi
20617 fi
20618 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20619 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20620 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20621 wxUSE_OMF=yes
20622 enable_omf=yes
20623 fi
20624 ;;
20625 *)
20626
20627 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20628 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20629 if test "${ac_cv_string_strcasecmp+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20631 else
20632
20633 cat >conftest.$ac_ext <<_ACEOF
20634 /* confdefs.h. */
20635 _ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639
20640 #include <string.h>
20641
20642 int
20643 main ()
20644 {
20645
20646 strcasecmp("foo", "bar");
20647
20648 ;
20649 return 0;
20650 }
20651 _ACEOF
20652 rm -f conftest.$ac_objext conftest$ac_exeext
20653 if { (ac_try="$ac_link"
20654 case "(($ac_try" in
20655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20656 *) ac_try_echo=$ac_try;;
20657 esac
20658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20659 (eval "$ac_link") 2>conftest.er1
20660 ac_status=$?
20661 grep -v '^ *+' conftest.er1 >conftest.err
20662 rm -f conftest.er1
20663 cat conftest.err >&5
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); } && {
20666 test -z "$ac_c_werror_flag" ||
20667 test ! -s conftest.err
20668 } && test -s conftest$ac_exeext &&
20669 $as_test_x conftest$ac_exeext; then
20670 ac_cv_string_strcasecmp=yes
20671 else
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20674
20675 ac_cv_string_strcasecmp=no
20676
20677 fi
20678
20679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20680 conftest$ac_exeext conftest.$ac_ext
20681
20682 fi
20683 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20684 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20685
20686 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20687 cat >>confdefs.h <<\_ACEOF
20688 #define HAVE_STRCASECMP_IN_STRING_H 1
20689 _ACEOF
20690
20691 else
20692 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20693 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20694 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20696 else
20697
20698 cat >conftest.$ac_ext <<_ACEOF
20699 /* confdefs.h. */
20700 _ACEOF
20701 cat confdefs.h >>conftest.$ac_ext
20702 cat >>conftest.$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20704
20705 #include <strings.h>
20706
20707 int
20708 main ()
20709 {
20710
20711 strcasecmp("foo", "bar");
20712
20713 ;
20714 return 0;
20715 }
20716 _ACEOF
20717 rm -f conftest.$ac_objext conftest$ac_exeext
20718 if { (ac_try="$ac_link"
20719 case "(($ac_try" in
20720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20721 *) ac_try_echo=$ac_try;;
20722 esac
20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20724 (eval "$ac_link") 2>conftest.er1
20725 ac_status=$?
20726 grep -v '^ *+' conftest.er1 >conftest.err
20727 rm -f conftest.er1
20728 cat conftest.err >&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && {
20731 test -z "$ac_c_werror_flag" ||
20732 test ! -s conftest.err
20733 } && test -s conftest$ac_exeext &&
20734 $as_test_x conftest$ac_exeext; then
20735 ac_cv_strings_strcasecmp=yes
20736 else
20737 echo "$as_me: failed program was:" >&5
20738 sed 's/^/| /' conftest.$ac_ext >&5
20739
20740 ac_cv_strings_strcasecmp=no
20741
20742 fi
20743
20744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20745 conftest$ac_exeext conftest.$ac_ext
20746
20747 fi
20748 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20749 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20750
20751 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20752 cat >>confdefs.h <<\_ACEOF
20753 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20754 _ACEOF
20755
20756 else
20757 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20758 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20759 { (exit 1); exit 1; }; }
20760 fi
20761 fi
20762
20763 ;;
20764 esac
20765
20766
20767 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20768 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20769 if test "${ac_cv_header_stdc+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20771 else
20772 cat >conftest.$ac_ext <<_ACEOF
20773 /* confdefs.h. */
20774 _ACEOF
20775 cat confdefs.h >>conftest.$ac_ext
20776 cat >>conftest.$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 #include <stdlib.h>
20779 #include <stdarg.h>
20780 #include <string.h>
20781 #include <float.h>
20782
20783 int
20784 main ()
20785 {
20786
20787 ;
20788 return 0;
20789 }
20790 _ACEOF
20791 rm -f conftest.$ac_objext
20792 if { (ac_try="$ac_compile"
20793 case "(($ac_try" in
20794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20795 *) ac_try_echo=$ac_try;;
20796 esac
20797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20798 (eval "$ac_compile") 2>conftest.er1
20799 ac_status=$?
20800 grep -v '^ *+' conftest.er1 >conftest.err
20801 rm -f conftest.er1
20802 cat conftest.err >&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } && {
20805 test -z "$ac_c_werror_flag" ||
20806 test ! -s conftest.err
20807 } && test -s conftest.$ac_objext; then
20808 ac_cv_header_stdc=yes
20809 else
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.$ac_ext >&5
20812
20813 ac_cv_header_stdc=no
20814 fi
20815
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817
20818 if test $ac_cv_header_stdc = yes; then
20819 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20820 cat >conftest.$ac_ext <<_ACEOF
20821 /* confdefs.h. */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 #include <string.h>
20827
20828 _ACEOF
20829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20830 $EGREP "memchr" >/dev/null 2>&1; then
20831 :
20832 else
20833 ac_cv_header_stdc=no
20834 fi
20835 rm -f conftest*
20836
20837 fi
20838
20839 if test $ac_cv_header_stdc = yes; then
20840 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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 #include <stdlib.h>
20848
20849 _ACEOF
20850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20851 $EGREP "free" >/dev/null 2>&1; then
20852 :
20853 else
20854 ac_cv_header_stdc=no
20855 fi
20856 rm -f conftest*
20857
20858 fi
20859
20860 if test $ac_cv_header_stdc = yes; then
20861 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20862 if test "$cross_compiling" = yes; then
20863 :
20864 else
20865 cat >conftest.$ac_ext <<_ACEOF
20866 /* confdefs.h. */
20867 _ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20871 #include <ctype.h>
20872 #include <stdlib.h>
20873 #if ((' ' & 0x0FF) == 0x020)
20874 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20875 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20876 #else
20877 # define ISLOWER(c) \
20878 (('a' <= (c) && (c) <= 'i') \
20879 || ('j' <= (c) && (c) <= 'r') \
20880 || ('s' <= (c) && (c) <= 'z'))
20881 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20882 #endif
20883
20884 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20885 int
20886 main ()
20887 {
20888 int i;
20889 for (i = 0; i < 256; i++)
20890 if (XOR (islower (i), ISLOWER (i))
20891 || toupper (i) != TOUPPER (i))
20892 return 2;
20893 return 0;
20894 }
20895 _ACEOF
20896 rm -f conftest$ac_exeext
20897 if { (ac_try="$ac_link"
20898 case "(($ac_try" in
20899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20900 *) ac_try_echo=$ac_try;;
20901 esac
20902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20903 (eval "$ac_link") 2>&5
20904 ac_status=$?
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20907 { (case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20910 esac
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_try") 2>&5
20913 ac_status=$?
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); }; }; then
20916 :
20917 else
20918 echo "$as_me: program exited with status $ac_status" >&5
20919 echo "$as_me: failed program was:" >&5
20920 sed 's/^/| /' conftest.$ac_ext >&5
20921
20922 ( exit $ac_status )
20923 ac_cv_header_stdc=no
20924 fi
20925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20926 fi
20927
20928
20929 fi
20930 fi
20931 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20932 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20933 if test $ac_cv_header_stdc = yes; then
20934
20935 cat >>confdefs.h <<\_ACEOF
20936 #define STDC_HEADERS 1
20937 _ACEOF
20938
20939 fi
20940
20941 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20952 inttypes.h stdint.h unistd.h
20953 do
20954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20955 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20959 else
20960 cat >conftest.$ac_ext <<_ACEOF
20961 /* confdefs.h. */
20962 _ACEOF
20963 cat confdefs.h >>conftest.$ac_ext
20964 cat >>conftest.$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20966 $ac_includes_default
20967
20968 #include <$ac_header>
20969 _ACEOF
20970 rm -f conftest.$ac_objext
20971 if { (ac_try="$ac_compile"
20972 case "(($ac_try" in
20973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20974 *) ac_try_echo=$ac_try;;
20975 esac
20976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20977 (eval "$ac_compile") 2>conftest.er1
20978 ac_status=$?
20979 grep -v '^ *+' conftest.er1 >conftest.err
20980 rm -f conftest.er1
20981 cat conftest.err >&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } && {
20984 test -z "$ac_c_werror_flag" ||
20985 test ! -s conftest.err
20986 } && test -s conftest.$ac_objext; then
20987 eval "$as_ac_Header=yes"
20988 else
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.$ac_ext >&5
20991
20992 eval "$as_ac_Header=no"
20993 fi
20994
20995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20996 fi
20997 ac_res=`eval echo '${'$as_ac_Header'}'`
20998 { echo "$as_me:$LINENO: result: $ac_res" >&5
20999 echo "${ECHO_T}$ac_res" >&6; }
21000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21001 cat >>confdefs.h <<_ACEOF
21002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21003 _ACEOF
21004
21005 fi
21006
21007 done
21008
21009
21010
21011
21012
21013
21014
21015
21016 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21017 do
21018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21019 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21022 echo $ECHO_N "(cached) $ECHO_C" >&6
21023 else
21024 cat >conftest.$ac_ext <<_ACEOF
21025 /* confdefs.h. */
21026 _ACEOF
21027 cat confdefs.h >>conftest.$ac_ext
21028 cat >>conftest.$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 $ac_includes_default
21031
21032 #include <$ac_header>
21033 _ACEOF
21034 rm -f conftest.$ac_objext
21035 if { (ac_try="$ac_compile"
21036 case "(($ac_try" in
21037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21038 *) ac_try_echo=$ac_try;;
21039 esac
21040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21041 (eval "$ac_compile") 2>conftest.er1
21042 ac_status=$?
21043 grep -v '^ *+' conftest.er1 >conftest.err
21044 rm -f conftest.er1
21045 cat conftest.err >&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); } && {
21048 test -z "$ac_c_werror_flag" ||
21049 test ! -s conftest.err
21050 } && test -s conftest.$ac_objext; then
21051 eval "$as_ac_Header=yes"
21052 else
21053 echo "$as_me: failed program was:" >&5
21054 sed 's/^/| /' conftest.$ac_ext >&5
21055
21056 eval "$as_ac_Header=no"
21057 fi
21058
21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21060 fi
21061 ac_res=`eval echo '${'$as_ac_Header'}'`
21062 { echo "$as_me:$LINENO: result: $ac_res" >&5
21063 echo "${ECHO_T}$ac_res" >&6; }
21064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21065 cat >>confdefs.h <<_ACEOF
21066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21067 _ACEOF
21068
21069 fi
21070
21071 done
21072
21073
21074 if test "$ac_cv_header_wchar_h" != "yes"; then
21075
21076 for ac_header in wcstr.h
21077 do
21078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21079 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21082 echo $ECHO_N "(cached) $ECHO_C" >&6
21083 else
21084 cat >conftest.$ac_ext <<_ACEOF
21085 /* confdefs.h. */
21086 _ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 $ac_includes_default
21091
21092 #include <$ac_header>
21093 _ACEOF
21094 rm -f conftest.$ac_objext
21095 if { (ac_try="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21099 esac
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21102 ac_status=$?
21103 grep -v '^ *+' conftest.er1 >conftest.err
21104 rm -f conftest.er1
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && {
21108 test -z "$ac_c_werror_flag" ||
21109 test ! -s conftest.err
21110 } && test -s conftest.$ac_objext; then
21111 eval "$as_ac_Header=yes"
21112 else
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21115
21116 eval "$as_ac_Header=no"
21117 fi
21118
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 fi
21121 ac_res=`eval echo '${'$as_ac_Header'}'`
21122 { echo "$as_me:$LINENO: result: $ac_res" >&5
21123 echo "${ECHO_T}$ac_res" >&6; }
21124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21125 cat >>confdefs.h <<_ACEOF
21126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21127 _ACEOF
21128
21129 fi
21130
21131 done
21132
21133 fi
21134
21135 case "${host}" in
21136 *-pc-os2_emx | *-pc-os2-emx )
21137 if test $ac_cv_header_langinfo_h = "yes" \
21138 -a \( "$wx_cv_gccversion" = "EMX2" \
21139 -o "$wx_cv_gccversion" = "EMX3" \
21140 -o "$wx_cv_gccversion" = "Innotek5" \); then
21141 LIBS="$LIBS -lintl"
21142 fi
21143 ;;
21144 esac
21145
21146 if test "$USE_UNIX" = 1 ; then
21147
21148 for ac_header in sys/select.h
21149 do
21150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21151 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21154 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 else
21156 cat >conftest.$ac_ext <<_ACEOF
21157 /* confdefs.h. */
21158 _ACEOF
21159 cat confdefs.h >>conftest.$ac_ext
21160 cat >>conftest.$ac_ext <<_ACEOF
21161 /* end confdefs.h. */
21162 $ac_includes_default
21163
21164 #include <$ac_header>
21165 _ACEOF
21166 rm -f conftest.$ac_objext
21167 if { (ac_try="$ac_compile"
21168 case "(($ac_try" in
21169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21171 esac
21172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_compile") 2>conftest.er1
21174 ac_status=$?
21175 grep -v '^ *+' conftest.er1 >conftest.err
21176 rm -f conftest.er1
21177 cat conftest.err >&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } && {
21180 test -z "$ac_c_werror_flag" ||
21181 test ! -s conftest.err
21182 } && test -s conftest.$ac_objext; then
21183 eval "$as_ac_Header=yes"
21184 else
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.$ac_ext >&5
21187
21188 eval "$as_ac_Header=no"
21189 fi
21190
21191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21192 fi
21193 ac_res=`eval echo '${'$as_ac_Header'}'`
21194 { echo "$as_me:$LINENO: result: $ac_res" >&5
21195 echo "${ECHO_T}$ac_res" >&6; }
21196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21197 cat >>confdefs.h <<_ACEOF
21198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21199 _ACEOF
21200
21201 fi
21202
21203 done
21204
21205 fi
21206
21207
21208 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21209 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21210 if test "${ac_cv_c_const+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 else
21213 cat >conftest.$ac_ext <<_ACEOF
21214 /* confdefs.h. */
21215 _ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219
21220 int
21221 main ()
21222 {
21223 /* FIXME: Include the comments suggested by Paul. */
21224 #ifndef __cplusplus
21225 /* Ultrix mips cc rejects this. */
21226 typedef int charset[2];
21227 const charset cs;
21228 /* SunOS 4.1.1 cc rejects this. */
21229 char const *const *pcpcc;
21230 char **ppc;
21231 /* NEC SVR4.0.2 mips cc rejects this. */
21232 struct point {int x, y;};
21233 static struct point const zero = {0,0};
21234 /* AIX XL C 1.02.0.0 rejects this.
21235 It does not let you subtract one const X* pointer from another in
21236 an arm of an if-expression whose if-part is not a constant
21237 expression */
21238 const char *g = "string";
21239 pcpcc = &g + (g ? g-g : 0);
21240 /* HPUX 7.0 cc rejects these. */
21241 ++pcpcc;
21242 ppc = (char**) pcpcc;
21243 pcpcc = (char const *const *) ppc;
21244 { /* SCO 3.2v4 cc rejects this. */
21245 char *t;
21246 char const *s = 0 ? (char *) 0 : (char const *) 0;
21247
21248 *t++ = 0;
21249 if (s) return 0;
21250 }
21251 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21252 int x[] = {25, 17};
21253 const int *foo = &x[0];
21254 ++foo;
21255 }
21256 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21257 typedef const int *iptr;
21258 iptr p = 0;
21259 ++p;
21260 }
21261 { /* AIX XL C 1.02.0.0 rejects this saying
21262 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21263 struct s { int j; const int *ap[3]; };
21264 struct s *b; b->j = 5;
21265 }
21266 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21267 const int foo = 10;
21268 if (!foo) return 0;
21269 }
21270 return !cs[0] && !zero.x;
21271 #endif
21272
21273 ;
21274 return 0;
21275 }
21276 _ACEOF
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21282 esac
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21285 ac_status=$?
21286 grep -v '^ *+' conftest.er1 >conftest.err
21287 rm -f conftest.er1
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.$ac_objext; then
21294 ac_cv_c_const=yes
21295 else
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21298
21299 ac_cv_c_const=no
21300 fi
21301
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303 fi
21304 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21305 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21306 if test $ac_cv_c_const = no; then
21307
21308 cat >>confdefs.h <<\_ACEOF
21309 #define const
21310 _ACEOF
21311
21312 fi
21313
21314 { echo "$as_me:$LINENO: checking for inline" >&5
21315 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21316 if test "${ac_cv_c_inline+set}" = set; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21318 else
21319 ac_cv_c_inline=no
21320 for ac_kw in inline __inline__ __inline; do
21321 cat >conftest.$ac_ext <<_ACEOF
21322 /* confdefs.h. */
21323 _ACEOF
21324 cat confdefs.h >>conftest.$ac_ext
21325 cat >>conftest.$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 #ifndef __cplusplus
21328 typedef int foo_t;
21329 static $ac_kw foo_t static_foo () {return 0; }
21330 $ac_kw foo_t foo () {return 0; }
21331 #endif
21332
21333 _ACEOF
21334 rm -f conftest.$ac_objext
21335 if { (ac_try="$ac_compile"
21336 case "(($ac_try" in
21337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21338 *) ac_try_echo=$ac_try;;
21339 esac
21340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21341 (eval "$ac_compile") 2>conftest.er1
21342 ac_status=$?
21343 grep -v '^ *+' conftest.er1 >conftest.err
21344 rm -f conftest.er1
21345 cat conftest.err >&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); } && {
21348 test -z "$ac_c_werror_flag" ||
21349 test ! -s conftest.err
21350 } && test -s conftest.$ac_objext; then
21351 ac_cv_c_inline=$ac_kw
21352 else
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21355
21356
21357 fi
21358
21359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21360 test "$ac_cv_c_inline" != no && break
21361 done
21362
21363 fi
21364 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21365 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21366
21367
21368 case $ac_cv_c_inline in
21369 inline | yes) ;;
21370 *)
21371 case $ac_cv_c_inline in
21372 no) ac_val=;;
21373 *) ac_val=$ac_cv_c_inline;;
21374 esac
21375 cat >>confdefs.h <<_ACEOF
21376 #ifndef __cplusplus
21377 #define inline $ac_val
21378 #endif
21379 _ACEOF
21380 ;;
21381 esac
21382
21383
21384 { echo "$as_me:$LINENO: checking for short" >&5
21385 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21386 if test "${ac_cv_type_short+set}" = set; then
21387 echo $ECHO_N "(cached) $ECHO_C" >&6
21388 else
21389 cat >conftest.$ac_ext <<_ACEOF
21390 /* confdefs.h. */
21391 _ACEOF
21392 cat confdefs.h >>conftest.$ac_ext
21393 cat >>conftest.$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21395 $ac_includes_default
21396 typedef short ac__type_new_;
21397 int
21398 main ()
21399 {
21400 if ((ac__type_new_ *) 0)
21401 return 0;
21402 if (sizeof (ac__type_new_))
21403 return 0;
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
21425 ac_cv_type_short=yes
21426 else
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.$ac_ext >&5
21429
21430 ac_cv_type_short=no
21431 fi
21432
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434 fi
21435 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21436 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21437
21438 # The cast to long int works around a bug in the HP C Compiler
21439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21441 # This bug is HP SR number 8606223364.
21442 { echo "$as_me:$LINENO: checking size of short" >&5
21443 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21444 if test "${ac_cv_sizeof_short+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 else
21447 if test "$cross_compiling" = yes; then
21448 # Depending upon the size, compute the lo and hi bounds.
21449 cat >conftest.$ac_ext <<_ACEOF
21450 /* confdefs.h. */
21451 _ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 $ac_includes_default
21456 typedef short ac__type_sizeof_;
21457 int
21458 main ()
21459 {
21460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21461 test_array [0] = 0
21462
21463 ;
21464 return 0;
21465 }
21466 _ACEOF
21467 rm -f conftest.$ac_objext
21468 if { (ac_try="$ac_compile"
21469 case "(($ac_try" in
21470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21471 *) ac_try_echo=$ac_try;;
21472 esac
21473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21474 (eval "$ac_compile") 2>conftest.er1
21475 ac_status=$?
21476 grep -v '^ *+' conftest.er1 >conftest.err
21477 rm -f conftest.er1
21478 cat conftest.err >&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } && {
21481 test -z "$ac_c_werror_flag" ||
21482 test ! -s conftest.err
21483 } && test -s conftest.$ac_objext; then
21484 ac_lo=0 ac_mid=0
21485 while :; do
21486 cat >conftest.$ac_ext <<_ACEOF
21487 /* confdefs.h. */
21488 _ACEOF
21489 cat confdefs.h >>conftest.$ac_ext
21490 cat >>conftest.$ac_ext <<_ACEOF
21491 /* end confdefs.h. */
21492 $ac_includes_default
21493 typedef short ac__type_sizeof_;
21494 int
21495 main ()
21496 {
21497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21498 test_array [0] = 0
21499
21500 ;
21501 return 0;
21502 }
21503 _ACEOF
21504 rm -f conftest.$ac_objext
21505 if { (ac_try="$ac_compile"
21506 case "(($ac_try" in
21507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508 *) ac_try_echo=$ac_try;;
21509 esac
21510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21511 (eval "$ac_compile") 2>conftest.er1
21512 ac_status=$?
21513 grep -v '^ *+' conftest.er1 >conftest.err
21514 rm -f conftest.er1
21515 cat conftest.err >&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } && {
21518 test -z "$ac_c_werror_flag" ||
21519 test ! -s conftest.err
21520 } && test -s conftest.$ac_objext; then
21521 ac_hi=$ac_mid; break
21522 else
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.$ac_ext >&5
21525
21526 ac_lo=`expr $ac_mid + 1`
21527 if test $ac_lo -le $ac_mid; then
21528 ac_lo= ac_hi=
21529 break
21530 fi
21531 ac_mid=`expr 2 '*' $ac_mid + 1`
21532 fi
21533
21534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21535 done
21536 else
21537 echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.$ac_ext >&5
21539
21540 cat >conftest.$ac_ext <<_ACEOF
21541 /* confdefs.h. */
21542 _ACEOF
21543 cat confdefs.h >>conftest.$ac_ext
21544 cat >>conftest.$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21546 $ac_includes_default
21547 typedef short ac__type_sizeof_;
21548 int
21549 main ()
21550 {
21551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21552 test_array [0] = 0
21553
21554 ;
21555 return 0;
21556 }
21557 _ACEOF
21558 rm -f conftest.$ac_objext
21559 if { (ac_try="$ac_compile"
21560 case "(($ac_try" in
21561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21562 *) ac_try_echo=$ac_try;;
21563 esac
21564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21565 (eval "$ac_compile") 2>conftest.er1
21566 ac_status=$?
21567 grep -v '^ *+' conftest.er1 >conftest.err
21568 rm -f conftest.er1
21569 cat conftest.err >&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } && {
21572 test -z "$ac_c_werror_flag" ||
21573 test ! -s conftest.err
21574 } && test -s conftest.$ac_objext; then
21575 ac_hi=-1 ac_mid=-1
21576 while :; do
21577 cat >conftest.$ac_ext <<_ACEOF
21578 /* confdefs.h. */
21579 _ACEOF
21580 cat confdefs.h >>conftest.$ac_ext
21581 cat >>conftest.$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21583 $ac_includes_default
21584 typedef short ac__type_sizeof_;
21585 int
21586 main ()
21587 {
21588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21589 test_array [0] = 0
21590
21591 ;
21592 return 0;
21593 }
21594 _ACEOF
21595 rm -f conftest.$ac_objext
21596 if { (ac_try="$ac_compile"
21597 case "(($ac_try" in
21598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599 *) ac_try_echo=$ac_try;;
21600 esac
21601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21602 (eval "$ac_compile") 2>conftest.er1
21603 ac_status=$?
21604 grep -v '^ *+' conftest.er1 >conftest.err
21605 rm -f conftest.er1
21606 cat conftest.err >&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } && {
21609 test -z "$ac_c_werror_flag" ||
21610 test ! -s conftest.err
21611 } && test -s conftest.$ac_objext; then
21612 ac_lo=$ac_mid; break
21613 else
21614 echo "$as_me: failed program was:" >&5
21615 sed 's/^/| /' conftest.$ac_ext >&5
21616
21617 ac_hi=`expr '(' $ac_mid ')' - 1`
21618 if test $ac_mid -le $ac_hi; then
21619 ac_lo= ac_hi=
21620 break
21621 fi
21622 ac_mid=`expr 2 '*' $ac_mid`
21623 fi
21624
21625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21626 done
21627 else
21628 echo "$as_me: failed program was:" >&5
21629 sed 's/^/| /' conftest.$ac_ext >&5
21630
21631 ac_lo= ac_hi=
21632 fi
21633
21634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21635 fi
21636
21637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21638 # Binary search between lo and hi bounds.
21639 while test "x$ac_lo" != "x$ac_hi"; do
21640 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21641 cat >conftest.$ac_ext <<_ACEOF
21642 /* confdefs.h. */
21643 _ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 $ac_includes_default
21648 typedef short ac__type_sizeof_;
21649 int
21650 main ()
21651 {
21652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21653 test_array [0] = 0
21654
21655 ;
21656 return 0;
21657 }
21658 _ACEOF
21659 rm -f conftest.$ac_objext
21660 if { (ac_try="$ac_compile"
21661 case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21664 esac
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_compile") 2>conftest.er1
21667 ac_status=$?
21668 grep -v '^ *+' conftest.er1 >conftest.err
21669 rm -f conftest.er1
21670 cat conftest.err >&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } && {
21673 test -z "$ac_c_werror_flag" ||
21674 test ! -s conftest.err
21675 } && test -s conftest.$ac_objext; then
21676 ac_hi=$ac_mid
21677 else
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21680
21681 ac_lo=`expr '(' $ac_mid ')' + 1`
21682 fi
21683
21684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21685 done
21686 case $ac_lo in
21687 ?*) ac_cv_sizeof_short=$ac_lo;;
21688 '') if test "$ac_cv_type_short" = yes; then
21689 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21690 See \`config.log' for more details." >&5
21691 echo "$as_me: error: cannot compute sizeof (short)
21692 See \`config.log' for more details." >&2;}
21693 { (exit 77); exit 77; }; }
21694 else
21695 ac_cv_sizeof_short=0
21696 fi ;;
21697 esac
21698 else
21699 cat >conftest.$ac_ext <<_ACEOF
21700 /* confdefs.h. */
21701 _ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef short ac__type_sizeof_;
21707 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21708 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21709 #include <stdio.h>
21710 #include <stdlib.h>
21711 int
21712 main ()
21713 {
21714
21715 FILE *f = fopen ("conftest.val", "w");
21716 if (! f)
21717 return 1;
21718 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21719 {
21720 long int i = longval ();
21721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21722 return 1;
21723 fprintf (f, "%ld\n", i);
21724 }
21725 else
21726 {
21727 unsigned long int i = ulongval ();
21728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21729 return 1;
21730 fprintf (f, "%lu\n", i);
21731 }
21732 return ferror (f) || fclose (f) != 0;
21733
21734 ;
21735 return 0;
21736 }
21737 _ACEOF
21738 rm -f conftest$ac_exeext
21739 if { (ac_try="$ac_link"
21740 case "(($ac_try" in
21741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21742 *) ac_try_echo=$ac_try;;
21743 esac
21744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21745 (eval "$ac_link") 2>&5
21746 ac_status=$?
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21749 { (case "(($ac_try" in
21750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21751 *) ac_try_echo=$ac_try;;
21752 esac
21753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21754 (eval "$ac_try") 2>&5
21755 ac_status=$?
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); }; }; then
21758 ac_cv_sizeof_short=`cat conftest.val`
21759 else
21760 echo "$as_me: program exited with status $ac_status" >&5
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21763
21764 ( exit $ac_status )
21765 if test "$ac_cv_type_short" = yes; then
21766 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21767 See \`config.log' for more details." >&5
21768 echo "$as_me: error: cannot compute sizeof (short)
21769 See \`config.log' for more details." >&2;}
21770 { (exit 77); exit 77; }; }
21771 else
21772 ac_cv_sizeof_short=0
21773 fi
21774 fi
21775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21776 fi
21777 rm -f conftest.val
21778 fi
21779 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21780 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21781
21782
21783
21784 cat >>confdefs.h <<_ACEOF
21785 #define SIZEOF_SHORT $ac_cv_sizeof_short
21786 _ACEOF
21787
21788
21789 { echo "$as_me:$LINENO: checking for void *" >&5
21790 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21791 if test "${ac_cv_type_void_p+set}" = set; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 else
21794 cat >conftest.$ac_ext <<_ACEOF
21795 /* confdefs.h. */
21796 _ACEOF
21797 cat confdefs.h >>conftest.$ac_ext
21798 cat >>conftest.$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21800 $ac_includes_default
21801 typedef void * ac__type_new_;
21802 int
21803 main ()
21804 {
21805 if ((ac__type_new_ *) 0)
21806 return 0;
21807 if (sizeof (ac__type_new_))
21808 return 0;
21809 ;
21810 return 0;
21811 }
21812 _ACEOF
21813 rm -f conftest.$ac_objext
21814 if { (ac_try="$ac_compile"
21815 case "(($ac_try" in
21816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21817 *) ac_try_echo=$ac_try;;
21818 esac
21819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21820 (eval "$ac_compile") 2>conftest.er1
21821 ac_status=$?
21822 grep -v '^ *+' conftest.er1 >conftest.err
21823 rm -f conftest.er1
21824 cat conftest.err >&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } && {
21827 test -z "$ac_c_werror_flag" ||
21828 test ! -s conftest.err
21829 } && test -s conftest.$ac_objext; then
21830 ac_cv_type_void_p=yes
21831 else
21832 echo "$as_me: failed program was:" >&5
21833 sed 's/^/| /' conftest.$ac_ext >&5
21834
21835 ac_cv_type_void_p=no
21836 fi
21837
21838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21839 fi
21840 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21841 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21842
21843 # The cast to long int works around a bug in the HP C Compiler
21844 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21845 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21846 # This bug is HP SR number 8606223364.
21847 { echo "$as_me:$LINENO: checking size of void *" >&5
21848 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21849 if test "${ac_cv_sizeof_void_p+set}" = set; then
21850 echo $ECHO_N "(cached) $ECHO_C" >&6
21851 else
21852 if test "$cross_compiling" = yes; then
21853 # Depending upon the size, compute the lo and hi bounds.
21854 cat >conftest.$ac_ext <<_ACEOF
21855 /* confdefs.h. */
21856 _ACEOF
21857 cat confdefs.h >>conftest.$ac_ext
21858 cat >>conftest.$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 $ac_includes_default
21861 typedef void * ac__type_sizeof_;
21862 int
21863 main ()
21864 {
21865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21866 test_array [0] = 0
21867
21868 ;
21869 return 0;
21870 }
21871 _ACEOF
21872 rm -f conftest.$ac_objext
21873 if { (ac_try="$ac_compile"
21874 case "(($ac_try" in
21875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21876 *) ac_try_echo=$ac_try;;
21877 esac
21878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21879 (eval "$ac_compile") 2>conftest.er1
21880 ac_status=$?
21881 grep -v '^ *+' conftest.er1 >conftest.err
21882 rm -f conftest.er1
21883 cat conftest.err >&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } && {
21886 test -z "$ac_c_werror_flag" ||
21887 test ! -s conftest.err
21888 } && test -s conftest.$ac_objext; then
21889 ac_lo=0 ac_mid=0
21890 while :; do
21891 cat >conftest.$ac_ext <<_ACEOF
21892 /* confdefs.h. */
21893 _ACEOF
21894 cat confdefs.h >>conftest.$ac_ext
21895 cat >>conftest.$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21897 $ac_includes_default
21898 typedef void * ac__type_sizeof_;
21899 int
21900 main ()
21901 {
21902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21903 test_array [0] = 0
21904
21905 ;
21906 return 0;
21907 }
21908 _ACEOF
21909 rm -f conftest.$ac_objext
21910 if { (ac_try="$ac_compile"
21911 case "(($ac_try" in
21912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21913 *) ac_try_echo=$ac_try;;
21914 esac
21915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21916 (eval "$ac_compile") 2>conftest.er1
21917 ac_status=$?
21918 grep -v '^ *+' conftest.er1 >conftest.err
21919 rm -f conftest.er1
21920 cat conftest.err >&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } && {
21923 test -z "$ac_c_werror_flag" ||
21924 test ! -s conftest.err
21925 } && test -s conftest.$ac_objext; then
21926 ac_hi=$ac_mid; break
21927 else
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21930
21931 ac_lo=`expr $ac_mid + 1`
21932 if test $ac_lo -le $ac_mid; then
21933 ac_lo= ac_hi=
21934 break
21935 fi
21936 ac_mid=`expr 2 '*' $ac_mid + 1`
21937 fi
21938
21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21940 done
21941 else
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.$ac_ext >&5
21944
21945 cat >conftest.$ac_ext <<_ACEOF
21946 /* confdefs.h. */
21947 _ACEOF
21948 cat confdefs.h >>conftest.$ac_ext
21949 cat >>conftest.$ac_ext <<_ACEOF
21950 /* end confdefs.h. */
21951 $ac_includes_default
21952 typedef void * ac__type_sizeof_;
21953 int
21954 main ()
21955 {
21956 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21957 test_array [0] = 0
21958
21959 ;
21960 return 0;
21961 }
21962 _ACEOF
21963 rm -f conftest.$ac_objext
21964 if { (ac_try="$ac_compile"
21965 case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21968 esac
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_compile") 2>conftest.er1
21971 ac_status=$?
21972 grep -v '^ *+' conftest.er1 >conftest.err
21973 rm -f conftest.er1
21974 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } && {
21977 test -z "$ac_c_werror_flag" ||
21978 test ! -s conftest.err
21979 } && test -s conftest.$ac_objext; then
21980 ac_hi=-1 ac_mid=-1
21981 while :; do
21982 cat >conftest.$ac_ext <<_ACEOF
21983 /* confdefs.h. */
21984 _ACEOF
21985 cat confdefs.h >>conftest.$ac_ext
21986 cat >>conftest.$ac_ext <<_ACEOF
21987 /* end confdefs.h. */
21988 $ac_includes_default
21989 typedef void * ac__type_sizeof_;
21990 int
21991 main ()
21992 {
21993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21994 test_array [0] = 0
21995
21996 ;
21997 return 0;
21998 }
21999 _ACEOF
22000 rm -f conftest.$ac_objext
22001 if { (ac_try="$ac_compile"
22002 case "(($ac_try" in
22003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22004 *) ac_try_echo=$ac_try;;
22005 esac
22006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_compile") 2>conftest.er1
22008 ac_status=$?
22009 grep -v '^ *+' conftest.er1 >conftest.err
22010 rm -f conftest.er1
22011 cat conftest.err >&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } && {
22014 test -z "$ac_c_werror_flag" ||
22015 test ! -s conftest.err
22016 } && test -s conftest.$ac_objext; then
22017 ac_lo=$ac_mid; break
22018 else
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22021
22022 ac_hi=`expr '(' $ac_mid ')' - 1`
22023 if test $ac_mid -le $ac_hi; then
22024 ac_lo= ac_hi=
22025 break
22026 fi
22027 ac_mid=`expr 2 '*' $ac_mid`
22028 fi
22029
22030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22031 done
22032 else
22033 echo "$as_me: failed program was:" >&5
22034 sed 's/^/| /' conftest.$ac_ext >&5
22035
22036 ac_lo= ac_hi=
22037 fi
22038
22039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22040 fi
22041
22042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22043 # Binary search between lo and hi bounds.
22044 while test "x$ac_lo" != "x$ac_hi"; do
22045 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22046 cat >conftest.$ac_ext <<_ACEOF
22047 /* confdefs.h. */
22048 _ACEOF
22049 cat confdefs.h >>conftest.$ac_ext
22050 cat >>conftest.$ac_ext <<_ACEOF
22051 /* end confdefs.h. */
22052 $ac_includes_default
22053 typedef void * ac__type_sizeof_;
22054 int
22055 main ()
22056 {
22057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22058 test_array [0] = 0
22059
22060 ;
22061 return 0;
22062 }
22063 _ACEOF
22064 rm -f conftest.$ac_objext
22065 if { (ac_try="$ac_compile"
22066 case "(($ac_try" in
22067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22068 *) ac_try_echo=$ac_try;;
22069 esac
22070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22071 (eval "$ac_compile") 2>conftest.er1
22072 ac_status=$?
22073 grep -v '^ *+' conftest.er1 >conftest.err
22074 rm -f conftest.er1
22075 cat conftest.err >&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); } && {
22078 test -z "$ac_c_werror_flag" ||
22079 test ! -s conftest.err
22080 } && test -s conftest.$ac_objext; then
22081 ac_hi=$ac_mid
22082 else
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22085
22086 ac_lo=`expr '(' $ac_mid ')' + 1`
22087 fi
22088
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22090 done
22091 case $ac_lo in
22092 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22093 '') if test "$ac_cv_type_void_p" = yes; then
22094 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22095 See \`config.log' for more details." >&5
22096 echo "$as_me: error: cannot compute sizeof (void *)
22097 See \`config.log' for more details." >&2;}
22098 { (exit 77); exit 77; }; }
22099 else
22100 ac_cv_sizeof_void_p=0
22101 fi ;;
22102 esac
22103 else
22104 cat >conftest.$ac_ext <<_ACEOF
22105 /* confdefs.h. */
22106 _ACEOF
22107 cat confdefs.h >>conftest.$ac_ext
22108 cat >>conftest.$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22110 $ac_includes_default
22111 typedef void * ac__type_sizeof_;
22112 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22113 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22114 #include <stdio.h>
22115 #include <stdlib.h>
22116 int
22117 main ()
22118 {
22119
22120 FILE *f = fopen ("conftest.val", "w");
22121 if (! f)
22122 return 1;
22123 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22124 {
22125 long int i = longval ();
22126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22127 return 1;
22128 fprintf (f, "%ld\n", i);
22129 }
22130 else
22131 {
22132 unsigned long int i = ulongval ();
22133 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22134 return 1;
22135 fprintf (f, "%lu\n", i);
22136 }
22137 return ferror (f) || fclose (f) != 0;
22138
22139 ;
22140 return 0;
22141 }
22142 _ACEOF
22143 rm -f conftest$ac_exeext
22144 if { (ac_try="$ac_link"
22145 case "(($ac_try" in
22146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22147 *) ac_try_echo=$ac_try;;
22148 esac
22149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22150 (eval "$ac_link") 2>&5
22151 ac_status=$?
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22154 { (case "(($ac_try" in
22155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22156 *) ac_try_echo=$ac_try;;
22157 esac
22158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22159 (eval "$ac_try") 2>&5
22160 ac_status=$?
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); }; }; then
22163 ac_cv_sizeof_void_p=`cat conftest.val`
22164 else
22165 echo "$as_me: program exited with status $ac_status" >&5
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22168
22169 ( exit $ac_status )
22170 if test "$ac_cv_type_void_p" = yes; then
22171 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22172 See \`config.log' for more details." >&5
22173 echo "$as_me: error: cannot compute sizeof (void *)
22174 See \`config.log' for more details." >&2;}
22175 { (exit 77); exit 77; }; }
22176 else
22177 ac_cv_sizeof_void_p=0
22178 fi
22179 fi
22180 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22181 fi
22182 rm -f conftest.val
22183 fi
22184 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22185 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22186
22187
22188
22189 cat >>confdefs.h <<_ACEOF
22190 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22191 _ACEOF
22192
22193
22194 { echo "$as_me:$LINENO: checking for int" >&5
22195 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22196 if test "${ac_cv_type_int+set}" = set; then
22197 echo $ECHO_N "(cached) $ECHO_C" >&6
22198 else
22199 cat >conftest.$ac_ext <<_ACEOF
22200 /* confdefs.h. */
22201 _ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 $ac_includes_default
22206 typedef int ac__type_new_;
22207 int
22208 main ()
22209 {
22210 if ((ac__type_new_ *) 0)
22211 return 0;
22212 if (sizeof (ac__type_new_))
22213 return 0;
22214 ;
22215 return 0;
22216 }
22217 _ACEOF
22218 rm -f conftest.$ac_objext
22219 if { (ac_try="$ac_compile"
22220 case "(($ac_try" in
22221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22222 *) ac_try_echo=$ac_try;;
22223 esac
22224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22225 (eval "$ac_compile") 2>conftest.er1
22226 ac_status=$?
22227 grep -v '^ *+' conftest.er1 >conftest.err
22228 rm -f conftest.er1
22229 cat conftest.err >&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } && {
22232 test -z "$ac_c_werror_flag" ||
22233 test ! -s conftest.err
22234 } && test -s conftest.$ac_objext; then
22235 ac_cv_type_int=yes
22236 else
22237 echo "$as_me: failed program was:" >&5
22238 sed 's/^/| /' conftest.$ac_ext >&5
22239
22240 ac_cv_type_int=no
22241 fi
22242
22243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22244 fi
22245 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22246 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22247
22248 # The cast to long int works around a bug in the HP C Compiler
22249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22251 # This bug is HP SR number 8606223364.
22252 { echo "$as_me:$LINENO: checking size of int" >&5
22253 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22254 if test "${ac_cv_sizeof_int+set}" = set; then
22255 echo $ECHO_N "(cached) $ECHO_C" >&6
22256 else
22257 if test "$cross_compiling" = yes; then
22258 # Depending upon the size, compute the lo and hi bounds.
22259 cat >conftest.$ac_ext <<_ACEOF
22260 /* confdefs.h. */
22261 _ACEOF
22262 cat confdefs.h >>conftest.$ac_ext
22263 cat >>conftest.$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 $ac_includes_default
22266 typedef int ac__type_sizeof_;
22267 int
22268 main ()
22269 {
22270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22271 test_array [0] = 0
22272
22273 ;
22274 return 0;
22275 }
22276 _ACEOF
22277 rm -f conftest.$ac_objext
22278 if { (ac_try="$ac_compile"
22279 case "(($ac_try" in
22280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22282 esac
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_compile") 2>conftest.er1
22285 ac_status=$?
22286 grep -v '^ *+' conftest.er1 >conftest.err
22287 rm -f conftest.er1
22288 cat conftest.err >&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } && {
22291 test -z "$ac_c_werror_flag" ||
22292 test ! -s conftest.err
22293 } && test -s conftest.$ac_objext; then
22294 ac_lo=0 ac_mid=0
22295 while :; do
22296 cat >conftest.$ac_ext <<_ACEOF
22297 /* confdefs.h. */
22298 _ACEOF
22299 cat confdefs.h >>conftest.$ac_ext
22300 cat >>conftest.$ac_ext <<_ACEOF
22301 /* end confdefs.h. */
22302 $ac_includes_default
22303 typedef int ac__type_sizeof_;
22304 int
22305 main ()
22306 {
22307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22308 test_array [0] = 0
22309
22310 ;
22311 return 0;
22312 }
22313 _ACEOF
22314 rm -f conftest.$ac_objext
22315 if { (ac_try="$ac_compile"
22316 case "(($ac_try" in
22317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22318 *) ac_try_echo=$ac_try;;
22319 esac
22320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22321 (eval "$ac_compile") 2>conftest.er1
22322 ac_status=$?
22323 grep -v '^ *+' conftest.er1 >conftest.err
22324 rm -f conftest.er1
22325 cat conftest.err >&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } && {
22328 test -z "$ac_c_werror_flag" ||
22329 test ! -s conftest.err
22330 } && test -s conftest.$ac_objext; then
22331 ac_hi=$ac_mid; break
22332 else
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22335
22336 ac_lo=`expr $ac_mid + 1`
22337 if test $ac_lo -le $ac_mid; then
22338 ac_lo= ac_hi=
22339 break
22340 fi
22341 ac_mid=`expr 2 '*' $ac_mid + 1`
22342 fi
22343
22344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22345 done
22346 else
22347 echo "$as_me: failed program was:" >&5
22348 sed 's/^/| /' conftest.$ac_ext >&5
22349
22350 cat >conftest.$ac_ext <<_ACEOF
22351 /* confdefs.h. */
22352 _ACEOF
22353 cat confdefs.h >>conftest.$ac_ext
22354 cat >>conftest.$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356 $ac_includes_default
22357 typedef int ac__type_sizeof_;
22358 int
22359 main ()
22360 {
22361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22362 test_array [0] = 0
22363
22364 ;
22365 return 0;
22366 }
22367 _ACEOF
22368 rm -f conftest.$ac_objext
22369 if { (ac_try="$ac_compile"
22370 case "(($ac_try" in
22371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22372 *) ac_try_echo=$ac_try;;
22373 esac
22374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22375 (eval "$ac_compile") 2>conftest.er1
22376 ac_status=$?
22377 grep -v '^ *+' conftest.er1 >conftest.err
22378 rm -f conftest.er1
22379 cat conftest.err >&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } && {
22382 test -z "$ac_c_werror_flag" ||
22383 test ! -s conftest.err
22384 } && test -s conftest.$ac_objext; then
22385 ac_hi=-1 ac_mid=-1
22386 while :; do
22387 cat >conftest.$ac_ext <<_ACEOF
22388 /* confdefs.h. */
22389 _ACEOF
22390 cat confdefs.h >>conftest.$ac_ext
22391 cat >>conftest.$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22393 $ac_includes_default
22394 typedef int ac__type_sizeof_;
22395 int
22396 main ()
22397 {
22398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22399 test_array [0] = 0
22400
22401 ;
22402 return 0;
22403 }
22404 _ACEOF
22405 rm -f conftest.$ac_objext
22406 if { (ac_try="$ac_compile"
22407 case "(($ac_try" in
22408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22409 *) ac_try_echo=$ac_try;;
22410 esac
22411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22412 (eval "$ac_compile") 2>conftest.er1
22413 ac_status=$?
22414 grep -v '^ *+' conftest.er1 >conftest.err
22415 rm -f conftest.er1
22416 cat conftest.err >&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } && {
22419 test -z "$ac_c_werror_flag" ||
22420 test ! -s conftest.err
22421 } && test -s conftest.$ac_objext; then
22422 ac_lo=$ac_mid; break
22423 else
22424 echo "$as_me: failed program was:" >&5
22425 sed 's/^/| /' conftest.$ac_ext >&5
22426
22427 ac_hi=`expr '(' $ac_mid ')' - 1`
22428 if test $ac_mid -le $ac_hi; then
22429 ac_lo= ac_hi=
22430 break
22431 fi
22432 ac_mid=`expr 2 '*' $ac_mid`
22433 fi
22434
22435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436 done
22437 else
22438 echo "$as_me: failed program was:" >&5
22439 sed 's/^/| /' conftest.$ac_ext >&5
22440
22441 ac_lo= ac_hi=
22442 fi
22443
22444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22445 fi
22446
22447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22448 # Binary search between lo and hi bounds.
22449 while test "x$ac_lo" != "x$ac_hi"; do
22450 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22451 cat >conftest.$ac_ext <<_ACEOF
22452 /* confdefs.h. */
22453 _ACEOF
22454 cat confdefs.h >>conftest.$ac_ext
22455 cat >>conftest.$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 $ac_includes_default
22458 typedef int ac__type_sizeof_;
22459 int
22460 main ()
22461 {
22462 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22463 test_array [0] = 0
22464
22465 ;
22466 return 0;
22467 }
22468 _ACEOF
22469 rm -f conftest.$ac_objext
22470 if { (ac_try="$ac_compile"
22471 case "(($ac_try" in
22472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22473 *) ac_try_echo=$ac_try;;
22474 esac
22475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22476 (eval "$ac_compile") 2>conftest.er1
22477 ac_status=$?
22478 grep -v '^ *+' conftest.er1 >conftest.err
22479 rm -f conftest.er1
22480 cat conftest.err >&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } && {
22483 test -z "$ac_c_werror_flag" ||
22484 test ! -s conftest.err
22485 } && test -s conftest.$ac_objext; then
22486 ac_hi=$ac_mid
22487 else
22488 echo "$as_me: failed program was:" >&5
22489 sed 's/^/| /' conftest.$ac_ext >&5
22490
22491 ac_lo=`expr '(' $ac_mid ')' + 1`
22492 fi
22493
22494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22495 done
22496 case $ac_lo in
22497 ?*) ac_cv_sizeof_int=$ac_lo;;
22498 '') if test "$ac_cv_type_int" = yes; then
22499 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22500 See \`config.log' for more details." >&5
22501 echo "$as_me: error: cannot compute sizeof (int)
22502 See \`config.log' for more details." >&2;}
22503 { (exit 77); exit 77; }; }
22504 else
22505 ac_cv_sizeof_int=0
22506 fi ;;
22507 esac
22508 else
22509 cat >conftest.$ac_ext <<_ACEOF
22510 /* confdefs.h. */
22511 _ACEOF
22512 cat confdefs.h >>conftest.$ac_ext
22513 cat >>conftest.$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22515 $ac_includes_default
22516 typedef int ac__type_sizeof_;
22517 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22518 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22519 #include <stdio.h>
22520 #include <stdlib.h>
22521 int
22522 main ()
22523 {
22524
22525 FILE *f = fopen ("conftest.val", "w");
22526 if (! f)
22527 return 1;
22528 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22529 {
22530 long int i = longval ();
22531 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22532 return 1;
22533 fprintf (f, "%ld\n", i);
22534 }
22535 else
22536 {
22537 unsigned long int i = ulongval ();
22538 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22539 return 1;
22540 fprintf (f, "%lu\n", i);
22541 }
22542 return ferror (f) || fclose (f) != 0;
22543
22544 ;
22545 return 0;
22546 }
22547 _ACEOF
22548 rm -f conftest$ac_exeext
22549 if { (ac_try="$ac_link"
22550 case "(($ac_try" in
22551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22552 *) ac_try_echo=$ac_try;;
22553 esac
22554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22555 (eval "$ac_link") 2>&5
22556 ac_status=$?
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22559 { (case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22562 esac
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_try") 2>&5
22565 ac_status=$?
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; }; then
22568 ac_cv_sizeof_int=`cat conftest.val`
22569 else
22570 echo "$as_me: program exited with status $ac_status" >&5
22571 echo "$as_me: failed program was:" >&5
22572 sed 's/^/| /' conftest.$ac_ext >&5
22573
22574 ( exit $ac_status )
22575 if test "$ac_cv_type_int" = yes; then
22576 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22577 See \`config.log' for more details." >&5
22578 echo "$as_me: error: cannot compute sizeof (int)
22579 See \`config.log' for more details." >&2;}
22580 { (exit 77); exit 77; }; }
22581 else
22582 ac_cv_sizeof_int=0
22583 fi
22584 fi
22585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22586 fi
22587 rm -f conftest.val
22588 fi
22589 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22590 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22591
22592
22593
22594 cat >>confdefs.h <<_ACEOF
22595 #define SIZEOF_INT $ac_cv_sizeof_int
22596 _ACEOF
22597
22598
22599 { echo "$as_me:$LINENO: checking for long" >&5
22600 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22601 if test "${ac_cv_type_long+set}" = set; then
22602 echo $ECHO_N "(cached) $ECHO_C" >&6
22603 else
22604 cat >conftest.$ac_ext <<_ACEOF
22605 /* confdefs.h. */
22606 _ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 $ac_includes_default
22611 typedef long ac__type_new_;
22612 int
22613 main ()
22614 {
22615 if ((ac__type_new_ *) 0)
22616 return 0;
22617 if (sizeof (ac__type_new_))
22618 return 0;
22619 ;
22620 return 0;
22621 }
22622 _ACEOF
22623 rm -f conftest.$ac_objext
22624 if { (ac_try="$ac_compile"
22625 case "(($ac_try" in
22626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22627 *) ac_try_echo=$ac_try;;
22628 esac
22629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22630 (eval "$ac_compile") 2>conftest.er1
22631 ac_status=$?
22632 grep -v '^ *+' conftest.er1 >conftest.err
22633 rm -f conftest.er1
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } && {
22637 test -z "$ac_c_werror_flag" ||
22638 test ! -s conftest.err
22639 } && test -s conftest.$ac_objext; then
22640 ac_cv_type_long=yes
22641 else
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.$ac_ext >&5
22644
22645 ac_cv_type_long=no
22646 fi
22647
22648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649 fi
22650 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22651 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22652
22653 # The cast to long int works around a bug in the HP C Compiler
22654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22656 # This bug is HP SR number 8606223364.
22657 { echo "$as_me:$LINENO: checking size of long" >&5
22658 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22659 if test "${ac_cv_sizeof_long+set}" = set; then
22660 echo $ECHO_N "(cached) $ECHO_C" >&6
22661 else
22662 if test "$cross_compiling" = yes; then
22663 # Depending upon the size, compute the lo and hi bounds.
22664 cat >conftest.$ac_ext <<_ACEOF
22665 /* confdefs.h. */
22666 _ACEOF
22667 cat confdefs.h >>conftest.$ac_ext
22668 cat >>conftest.$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22670 $ac_includes_default
22671 typedef long ac__type_sizeof_;
22672 int
22673 main ()
22674 {
22675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22676 test_array [0] = 0
22677
22678 ;
22679 return 0;
22680 }
22681 _ACEOF
22682 rm -f conftest.$ac_objext
22683 if { (ac_try="$ac_compile"
22684 case "(($ac_try" in
22685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22686 *) ac_try_echo=$ac_try;;
22687 esac
22688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22689 (eval "$ac_compile") 2>conftest.er1
22690 ac_status=$?
22691 grep -v '^ *+' conftest.er1 >conftest.err
22692 rm -f conftest.er1
22693 cat conftest.err >&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } && {
22696 test -z "$ac_c_werror_flag" ||
22697 test ! -s conftest.err
22698 } && test -s conftest.$ac_objext; then
22699 ac_lo=0 ac_mid=0
22700 while :; do
22701 cat >conftest.$ac_ext <<_ACEOF
22702 /* confdefs.h. */
22703 _ACEOF
22704 cat confdefs.h >>conftest.$ac_ext
22705 cat >>conftest.$ac_ext <<_ACEOF
22706 /* end confdefs.h. */
22707 $ac_includes_default
22708 typedef long ac__type_sizeof_;
22709 int
22710 main ()
22711 {
22712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22713 test_array [0] = 0
22714
22715 ;
22716 return 0;
22717 }
22718 _ACEOF
22719 rm -f conftest.$ac_objext
22720 if { (ac_try="$ac_compile"
22721 case "(($ac_try" in
22722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22723 *) ac_try_echo=$ac_try;;
22724 esac
22725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22726 (eval "$ac_compile") 2>conftest.er1
22727 ac_status=$?
22728 grep -v '^ *+' conftest.er1 >conftest.err
22729 rm -f conftest.er1
22730 cat conftest.err >&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); } && {
22733 test -z "$ac_c_werror_flag" ||
22734 test ! -s conftest.err
22735 } && test -s conftest.$ac_objext; then
22736 ac_hi=$ac_mid; break
22737 else
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22740
22741 ac_lo=`expr $ac_mid + 1`
22742 if test $ac_lo -le $ac_mid; then
22743 ac_lo= ac_hi=
22744 break
22745 fi
22746 ac_mid=`expr 2 '*' $ac_mid + 1`
22747 fi
22748
22749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22750 done
22751 else
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22754
22755 cat >conftest.$ac_ext <<_ACEOF
22756 /* confdefs.h. */
22757 _ACEOF
22758 cat confdefs.h >>conftest.$ac_ext
22759 cat >>conftest.$ac_ext <<_ACEOF
22760 /* end confdefs.h. */
22761 $ac_includes_default
22762 typedef long ac__type_sizeof_;
22763 int
22764 main ()
22765 {
22766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22767 test_array [0] = 0
22768
22769 ;
22770 return 0;
22771 }
22772 _ACEOF
22773 rm -f conftest.$ac_objext
22774 if { (ac_try="$ac_compile"
22775 case "(($ac_try" in
22776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22777 *) ac_try_echo=$ac_try;;
22778 esac
22779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22780 (eval "$ac_compile") 2>conftest.er1
22781 ac_status=$?
22782 grep -v '^ *+' conftest.er1 >conftest.err
22783 rm -f conftest.er1
22784 cat conftest.err >&5
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } && {
22787 test -z "$ac_c_werror_flag" ||
22788 test ! -s conftest.err
22789 } && test -s conftest.$ac_objext; then
22790 ac_hi=-1 ac_mid=-1
22791 while :; do
22792 cat >conftest.$ac_ext <<_ACEOF
22793 /* confdefs.h. */
22794 _ACEOF
22795 cat confdefs.h >>conftest.$ac_ext
22796 cat >>conftest.$ac_ext <<_ACEOF
22797 /* end confdefs.h. */
22798 $ac_includes_default
22799 typedef long ac__type_sizeof_;
22800 int
22801 main ()
22802 {
22803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22804 test_array [0] = 0
22805
22806 ;
22807 return 0;
22808 }
22809 _ACEOF
22810 rm -f conftest.$ac_objext
22811 if { (ac_try="$ac_compile"
22812 case "(($ac_try" in
22813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22814 *) ac_try_echo=$ac_try;;
22815 esac
22816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22817 (eval "$ac_compile") 2>conftest.er1
22818 ac_status=$?
22819 grep -v '^ *+' conftest.er1 >conftest.err
22820 rm -f conftest.er1
22821 cat conftest.err >&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } && {
22824 test -z "$ac_c_werror_flag" ||
22825 test ! -s conftest.err
22826 } && test -s conftest.$ac_objext; then
22827 ac_lo=$ac_mid; break
22828 else
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832 ac_hi=`expr '(' $ac_mid ')' - 1`
22833 if test $ac_mid -le $ac_hi; then
22834 ac_lo= ac_hi=
22835 break
22836 fi
22837 ac_mid=`expr 2 '*' $ac_mid`
22838 fi
22839
22840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22841 done
22842 else
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.$ac_ext >&5
22845
22846 ac_lo= ac_hi=
22847 fi
22848
22849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22850 fi
22851
22852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22853 # Binary search between lo and hi bounds.
22854 while test "x$ac_lo" != "x$ac_hi"; do
22855 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22856 cat >conftest.$ac_ext <<_ACEOF
22857 /* confdefs.h. */
22858 _ACEOF
22859 cat confdefs.h >>conftest.$ac_ext
22860 cat >>conftest.$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22862 $ac_includes_default
22863 typedef long ac__type_sizeof_;
22864 int
22865 main ()
22866 {
22867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22868 test_array [0] = 0
22869
22870 ;
22871 return 0;
22872 }
22873 _ACEOF
22874 rm -f conftest.$ac_objext
22875 if { (ac_try="$ac_compile"
22876 case "(($ac_try" in
22877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22878 *) ac_try_echo=$ac_try;;
22879 esac
22880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22881 (eval "$ac_compile") 2>conftest.er1
22882 ac_status=$?
22883 grep -v '^ *+' conftest.er1 >conftest.err
22884 rm -f conftest.er1
22885 cat conftest.err >&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } && {
22888 test -z "$ac_c_werror_flag" ||
22889 test ! -s conftest.err
22890 } && test -s conftest.$ac_objext; then
22891 ac_hi=$ac_mid
22892 else
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22895
22896 ac_lo=`expr '(' $ac_mid ')' + 1`
22897 fi
22898
22899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900 done
22901 case $ac_lo in
22902 ?*) ac_cv_sizeof_long=$ac_lo;;
22903 '') if test "$ac_cv_type_long" = yes; then
22904 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22905 See \`config.log' for more details." >&5
22906 echo "$as_me: error: cannot compute sizeof (long)
22907 See \`config.log' for more details." >&2;}
22908 { (exit 77); exit 77; }; }
22909 else
22910 ac_cv_sizeof_long=0
22911 fi ;;
22912 esac
22913 else
22914 cat >conftest.$ac_ext <<_ACEOF
22915 /* confdefs.h. */
22916 _ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920 $ac_includes_default
22921 typedef long ac__type_sizeof_;
22922 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22923 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22924 #include <stdio.h>
22925 #include <stdlib.h>
22926 int
22927 main ()
22928 {
22929
22930 FILE *f = fopen ("conftest.val", "w");
22931 if (! f)
22932 return 1;
22933 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22934 {
22935 long int i = longval ();
22936 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22937 return 1;
22938 fprintf (f, "%ld\n", i);
22939 }
22940 else
22941 {
22942 unsigned long int i = ulongval ();
22943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22944 return 1;
22945 fprintf (f, "%lu\n", i);
22946 }
22947 return ferror (f) || fclose (f) != 0;
22948
22949 ;
22950 return 0;
22951 }
22952 _ACEOF
22953 rm -f conftest$ac_exeext
22954 if { (ac_try="$ac_link"
22955 case "(($ac_try" in
22956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22957 *) ac_try_echo=$ac_try;;
22958 esac
22959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22960 (eval "$ac_link") 2>&5
22961 ac_status=$?
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22964 { (case "(($ac_try" in
22965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22966 *) ac_try_echo=$ac_try;;
22967 esac
22968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22969 (eval "$ac_try") 2>&5
22970 ac_status=$?
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); }; }; then
22973 ac_cv_sizeof_long=`cat conftest.val`
22974 else
22975 echo "$as_me: program exited with status $ac_status" >&5
22976 echo "$as_me: failed program was:" >&5
22977 sed 's/^/| /' conftest.$ac_ext >&5
22978
22979 ( exit $ac_status )
22980 if test "$ac_cv_type_long" = yes; then
22981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22982 See \`config.log' for more details." >&5
22983 echo "$as_me: error: cannot compute sizeof (long)
22984 See \`config.log' for more details." >&2;}
22985 { (exit 77); exit 77; }; }
22986 else
22987 ac_cv_sizeof_long=0
22988 fi
22989 fi
22990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22991 fi
22992 rm -f conftest.val
22993 fi
22994 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22995 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22996
22997
22998
22999 cat >>confdefs.h <<_ACEOF
23000 #define SIZEOF_LONG $ac_cv_sizeof_long
23001 _ACEOF
23002
23003
23004 { echo "$as_me:$LINENO: checking for size_t" >&5
23005 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23006 if test "${ac_cv_type_size_t+set}" = set; then
23007 echo $ECHO_N "(cached) $ECHO_C" >&6
23008 else
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 $ac_includes_default
23016 typedef size_t ac__type_new_;
23017 int
23018 main ()
23019 {
23020 if ((ac__type_new_ *) 0)
23021 return 0;
23022 if (sizeof (ac__type_new_))
23023 return 0;
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (ac_try="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23033 esac
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23036 ac_status=$?
23037 grep -v '^ *+' conftest.er1 >conftest.err
23038 rm -f conftest.er1
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_c_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23045 ac_cv_type_size_t=yes
23046 else
23047 echo "$as_me: failed program was:" >&5
23048 sed 's/^/| /' conftest.$ac_ext >&5
23049
23050 ac_cv_type_size_t=no
23051 fi
23052
23053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23054 fi
23055 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23056 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23057
23058 # The cast to long int works around a bug in the HP C Compiler
23059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23060 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23061 # This bug is HP SR number 8606223364.
23062 { echo "$as_me:$LINENO: checking size of size_t" >&5
23063 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23064 if test "${ac_cv_sizeof_size_t+set}" = set; then
23065 echo $ECHO_N "(cached) $ECHO_C" >&6
23066 else
23067 if test "$cross_compiling" = yes; then
23068 # Depending upon the size, compute the lo and hi bounds.
23069 cat >conftest.$ac_ext <<_ACEOF
23070 /* confdefs.h. */
23071 _ACEOF
23072 cat confdefs.h >>conftest.$ac_ext
23073 cat >>conftest.$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23075 $ac_includes_default
23076 typedef size_t ac__type_sizeof_;
23077 int
23078 main ()
23079 {
23080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23081 test_array [0] = 0
23082
23083 ;
23084 return 0;
23085 }
23086 _ACEOF
23087 rm -f conftest.$ac_objext
23088 if { (ac_try="$ac_compile"
23089 case "(($ac_try" in
23090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23091 *) ac_try_echo=$ac_try;;
23092 esac
23093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23094 (eval "$ac_compile") 2>conftest.er1
23095 ac_status=$?
23096 grep -v '^ *+' conftest.er1 >conftest.err
23097 rm -f conftest.er1
23098 cat conftest.err >&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); } && {
23101 test -z "$ac_c_werror_flag" ||
23102 test ! -s conftest.err
23103 } && test -s conftest.$ac_objext; then
23104 ac_lo=0 ac_mid=0
23105 while :; do
23106 cat >conftest.$ac_ext <<_ACEOF
23107 /* confdefs.h. */
23108 _ACEOF
23109 cat confdefs.h >>conftest.$ac_ext
23110 cat >>conftest.$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23112 $ac_includes_default
23113 typedef size_t ac__type_sizeof_;
23114 int
23115 main ()
23116 {
23117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23118 test_array [0] = 0
23119
23120 ;
23121 return 0;
23122 }
23123 _ACEOF
23124 rm -f conftest.$ac_objext
23125 if { (ac_try="$ac_compile"
23126 case "(($ac_try" in
23127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23128 *) ac_try_echo=$ac_try;;
23129 esac
23130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23131 (eval "$ac_compile") 2>conftest.er1
23132 ac_status=$?
23133 grep -v '^ *+' conftest.er1 >conftest.err
23134 rm -f conftest.er1
23135 cat conftest.err >&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); } && {
23138 test -z "$ac_c_werror_flag" ||
23139 test ! -s conftest.err
23140 } && test -s conftest.$ac_objext; then
23141 ac_hi=$ac_mid; break
23142 else
23143 echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.$ac_ext >&5
23145
23146 ac_lo=`expr $ac_mid + 1`
23147 if test $ac_lo -le $ac_mid; then
23148 ac_lo= ac_hi=
23149 break
23150 fi
23151 ac_mid=`expr 2 '*' $ac_mid + 1`
23152 fi
23153
23154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23155 done
23156 else
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.$ac_ext >&5
23159
23160 cat >conftest.$ac_ext <<_ACEOF
23161 /* confdefs.h. */
23162 _ACEOF
23163 cat confdefs.h >>conftest.$ac_ext
23164 cat >>conftest.$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23166 $ac_includes_default
23167 typedef size_t ac__type_sizeof_;
23168 int
23169 main ()
23170 {
23171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23172 test_array [0] = 0
23173
23174 ;
23175 return 0;
23176 }
23177 _ACEOF
23178 rm -f conftest.$ac_objext
23179 if { (ac_try="$ac_compile"
23180 case "(($ac_try" in
23181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23182 *) ac_try_echo=$ac_try;;
23183 esac
23184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23185 (eval "$ac_compile") 2>conftest.er1
23186 ac_status=$?
23187 grep -v '^ *+' conftest.er1 >conftest.err
23188 rm -f conftest.er1
23189 cat conftest.err >&5
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); } && {
23192 test -z "$ac_c_werror_flag" ||
23193 test ! -s conftest.err
23194 } && test -s conftest.$ac_objext; then
23195 ac_hi=-1 ac_mid=-1
23196 while :; do
23197 cat >conftest.$ac_ext <<_ACEOF
23198 /* confdefs.h. */
23199 _ACEOF
23200 cat confdefs.h >>conftest.$ac_ext
23201 cat >>conftest.$ac_ext <<_ACEOF
23202 /* end confdefs.h. */
23203 $ac_includes_default
23204 typedef size_t ac__type_sizeof_;
23205 int
23206 main ()
23207 {
23208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23209 test_array [0] = 0
23210
23211 ;
23212 return 0;
23213 }
23214 _ACEOF
23215 rm -f conftest.$ac_objext
23216 if { (ac_try="$ac_compile"
23217 case "(($ac_try" in
23218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23219 *) ac_try_echo=$ac_try;;
23220 esac
23221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23222 (eval "$ac_compile") 2>conftest.er1
23223 ac_status=$?
23224 grep -v '^ *+' conftest.er1 >conftest.err
23225 rm -f conftest.er1
23226 cat conftest.err >&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } && {
23229 test -z "$ac_c_werror_flag" ||
23230 test ! -s conftest.err
23231 } && test -s conftest.$ac_objext; then
23232 ac_lo=$ac_mid; break
23233 else
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.$ac_ext >&5
23236
23237 ac_hi=`expr '(' $ac_mid ')' - 1`
23238 if test $ac_mid -le $ac_hi; then
23239 ac_lo= ac_hi=
23240 break
23241 fi
23242 ac_mid=`expr 2 '*' $ac_mid`
23243 fi
23244
23245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246 done
23247 else
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23250
23251 ac_lo= ac_hi=
23252 fi
23253
23254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23255 fi
23256
23257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23258 # Binary search between lo and hi bounds.
23259 while test "x$ac_lo" != "x$ac_hi"; do
23260 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23261 cat >conftest.$ac_ext <<_ACEOF
23262 /* confdefs.h. */
23263 _ACEOF
23264 cat confdefs.h >>conftest.$ac_ext
23265 cat >>conftest.$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23267 $ac_includes_default
23268 typedef size_t ac__type_sizeof_;
23269 int
23270 main ()
23271 {
23272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23273 test_array [0] = 0
23274
23275 ;
23276 return 0;
23277 }
23278 _ACEOF
23279 rm -f conftest.$ac_objext
23280 if { (ac_try="$ac_compile"
23281 case "(($ac_try" in
23282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23283 *) ac_try_echo=$ac_try;;
23284 esac
23285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23286 (eval "$ac_compile") 2>conftest.er1
23287 ac_status=$?
23288 grep -v '^ *+' conftest.er1 >conftest.err
23289 rm -f conftest.er1
23290 cat conftest.err >&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); } && {
23293 test -z "$ac_c_werror_flag" ||
23294 test ! -s conftest.err
23295 } && test -s conftest.$ac_objext; then
23296 ac_hi=$ac_mid
23297 else
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.$ac_ext >&5
23300
23301 ac_lo=`expr '(' $ac_mid ')' + 1`
23302 fi
23303
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305 done
23306 case $ac_lo in
23307 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23308 '') if test "$ac_cv_type_size_t" = yes; then
23309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23310 See \`config.log' for more details." >&5
23311 echo "$as_me: error: cannot compute sizeof (size_t)
23312 See \`config.log' for more details." >&2;}
23313 { (exit 77); exit 77; }; }
23314 else
23315 ac_cv_sizeof_size_t=0
23316 fi ;;
23317 esac
23318 else
23319 cat >conftest.$ac_ext <<_ACEOF
23320 /* confdefs.h. */
23321 _ACEOF
23322 cat confdefs.h >>conftest.$ac_ext
23323 cat >>conftest.$ac_ext <<_ACEOF
23324 /* end confdefs.h. */
23325 $ac_includes_default
23326 typedef size_t ac__type_sizeof_;
23327 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23328 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23329 #include <stdio.h>
23330 #include <stdlib.h>
23331 int
23332 main ()
23333 {
23334
23335 FILE *f = fopen ("conftest.val", "w");
23336 if (! f)
23337 return 1;
23338 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23339 {
23340 long int i = longval ();
23341 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23342 return 1;
23343 fprintf (f, "%ld\n", i);
23344 }
23345 else
23346 {
23347 unsigned long int i = ulongval ();
23348 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23349 return 1;
23350 fprintf (f, "%lu\n", i);
23351 }
23352 return ferror (f) || fclose (f) != 0;
23353
23354 ;
23355 return 0;
23356 }
23357 _ACEOF
23358 rm -f conftest$ac_exeext
23359 if { (ac_try="$ac_link"
23360 case "(($ac_try" in
23361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23362 *) ac_try_echo=$ac_try;;
23363 esac
23364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23365 (eval "$ac_link") 2>&5
23366 ac_status=$?
23367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23369 { (case "(($ac_try" in
23370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23371 *) ac_try_echo=$ac_try;;
23372 esac
23373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23374 (eval "$ac_try") 2>&5
23375 ac_status=$?
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); }; }; then
23378 ac_cv_sizeof_size_t=`cat conftest.val`
23379 else
23380 echo "$as_me: program exited with status $ac_status" >&5
23381 echo "$as_me: failed program was:" >&5
23382 sed 's/^/| /' conftest.$ac_ext >&5
23383
23384 ( exit $ac_status )
23385 if test "$ac_cv_type_size_t" = yes; then
23386 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23387 See \`config.log' for more details." >&5
23388 echo "$as_me: error: cannot compute sizeof (size_t)
23389 See \`config.log' for more details." >&2;}
23390 { (exit 77); exit 77; }; }
23391 else
23392 ac_cv_sizeof_size_t=0
23393 fi
23394 fi
23395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23396 fi
23397 rm -f conftest.val
23398 fi
23399 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23400 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23401
23402
23403
23404 cat >>confdefs.h <<_ACEOF
23405 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23406 _ACEOF
23407
23408
23409
23410 case "${host}" in
23411 arm-*-linux* )
23412 { echo "$as_me:$LINENO: checking for long long" >&5
23413 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23414 if test "${ac_cv_type_long_long+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23416 else
23417 cat >conftest.$ac_ext <<_ACEOF
23418 /* confdefs.h. */
23419 _ACEOF
23420 cat confdefs.h >>conftest.$ac_ext
23421 cat >>conftest.$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23423 $ac_includes_default
23424 typedef long long ac__type_new_;
23425 int
23426 main ()
23427 {
23428 if ((ac__type_new_ *) 0)
23429 return 0;
23430 if (sizeof (ac__type_new_))
23431 return 0;
23432 ;
23433 return 0;
23434 }
23435 _ACEOF
23436 rm -f conftest.$ac_objext
23437 if { (ac_try="$ac_compile"
23438 case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23441 esac
23442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_compile") 2>conftest.er1
23444 ac_status=$?
23445 grep -v '^ *+' conftest.er1 >conftest.err
23446 rm -f conftest.er1
23447 cat conftest.err >&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } && {
23450 test -z "$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23452 } && test -s conftest.$ac_objext; then
23453 ac_cv_type_long_long=yes
23454 else
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 ac_cv_type_long_long=no
23459 fi
23460
23461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23462 fi
23463 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23464 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23465
23466 # The cast to long int works around a bug in the HP C Compiler
23467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23469 # This bug is HP SR number 8606223364.
23470 { echo "$as_me:$LINENO: checking size of long long" >&5
23471 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23472 if test "${ac_cv_sizeof_long_long+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23474 else
23475 if test "$cross_compiling" = yes; then
23476 # Depending upon the size, compute the lo and hi bounds.
23477 cat >conftest.$ac_ext <<_ACEOF
23478 /* confdefs.h. */
23479 _ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 typedef long long ac__type_sizeof_;
23485 int
23486 main ()
23487 {
23488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23489 test_array [0] = 0
23490
23491 ;
23492 return 0;
23493 }
23494 _ACEOF
23495 rm -f conftest.$ac_objext
23496 if { (ac_try="$ac_compile"
23497 case "(($ac_try" in
23498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23499 *) ac_try_echo=$ac_try;;
23500 esac
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_compile") 2>conftest.er1
23503 ac_status=$?
23504 grep -v '^ *+' conftest.er1 >conftest.err
23505 rm -f conftest.er1
23506 cat conftest.err >&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && {
23509 test -z "$ac_c_werror_flag" ||
23510 test ! -s conftest.err
23511 } && test -s conftest.$ac_objext; then
23512 ac_lo=0 ac_mid=0
23513 while :; do
23514 cat >conftest.$ac_ext <<_ACEOF
23515 /* confdefs.h. */
23516 _ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 $ac_includes_default
23521 typedef long long ac__type_sizeof_;
23522 int
23523 main ()
23524 {
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23526 test_array [0] = 0
23527
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 rm -f conftest.$ac_objext
23533 if { (ac_try="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536 *) ac_try_echo=$ac_try;;
23537 esac
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23540 ac_status=$?
23541 grep -v '^ *+' conftest.er1 >conftest.err
23542 rm -f conftest.er1
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.$ac_objext; then
23549 ac_hi=$ac_mid; break
23550 else
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.$ac_ext >&5
23553
23554 ac_lo=`expr $ac_mid + 1`
23555 if test $ac_lo -le $ac_mid; then
23556 ac_lo= ac_hi=
23557 break
23558 fi
23559 ac_mid=`expr 2 '*' $ac_mid + 1`
23560 fi
23561
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23563 done
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 cat >conftest.$ac_ext <<_ACEOF
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef long long ac__type_sizeof_;
23576 int
23577 main ()
23578 {
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23580 test_array [0] = 0
23581
23582 ;
23583 return 0;
23584 }
23585 _ACEOF
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23591 esac
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23594 ac_status=$?
23595 grep -v '^ *+' conftest.er1 >conftest.err
23596 rm -f conftest.er1
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23603 ac_hi=-1 ac_mid=-1
23604 while :; do
23605 cat >conftest.$ac_ext <<_ACEOF
23606 /* confdefs.h. */
23607 _ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23612 typedef long long ac__type_sizeof_;
23613 int
23614 main ()
23615 {
23616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23617 test_array [0] = 0
23618
23619 ;
23620 return 0;
23621 }
23622 _ACEOF
23623 rm -f conftest.$ac_objext
23624 if { (ac_try="$ac_compile"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23628 esac
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_compile") 2>conftest.er1
23631 ac_status=$?
23632 grep -v '^ *+' conftest.er1 >conftest.err
23633 rm -f conftest.er1
23634 cat conftest.err >&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); } && {
23637 test -z "$ac_c_werror_flag" ||
23638 test ! -s conftest.err
23639 } && test -s conftest.$ac_objext; then
23640 ac_lo=$ac_mid; break
23641 else
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23644
23645 ac_hi=`expr '(' $ac_mid ')' - 1`
23646 if test $ac_mid -le $ac_hi; then
23647 ac_lo= ac_hi=
23648 break
23649 fi
23650 ac_mid=`expr 2 '*' $ac_mid`
23651 fi
23652
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 done
23655 else
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 ac_lo= ac_hi=
23660 fi
23661
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23663 fi
23664
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 # Binary search between lo and hi bounds.
23667 while test "x$ac_lo" != "x$ac_hi"; do
23668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23669 cat >conftest.$ac_ext <<_ACEOF
23670 /* confdefs.h. */
23671 _ACEOF
23672 cat confdefs.h >>conftest.$ac_ext
23673 cat >>conftest.$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23675 $ac_includes_default
23676 typedef long long ac__type_sizeof_;
23677 int
23678 main ()
23679 {
23680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23681 test_array [0] = 0
23682
23683 ;
23684 return 0;
23685 }
23686 _ACEOF
23687 rm -f conftest.$ac_objext
23688 if { (ac_try="$ac_compile"
23689 case "(($ac_try" in
23690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23691 *) ac_try_echo=$ac_try;;
23692 esac
23693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23694 (eval "$ac_compile") 2>conftest.er1
23695 ac_status=$?
23696 grep -v '^ *+' conftest.er1 >conftest.err
23697 rm -f conftest.er1
23698 cat conftest.err >&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); } && {
23701 test -z "$ac_c_werror_flag" ||
23702 test ! -s conftest.err
23703 } && test -s conftest.$ac_objext; then
23704 ac_hi=$ac_mid
23705 else
23706 echo "$as_me: failed program was:" >&5
23707 sed 's/^/| /' conftest.$ac_ext >&5
23708
23709 ac_lo=`expr '(' $ac_mid ')' + 1`
23710 fi
23711
23712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23713 done
23714 case $ac_lo in
23715 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23716 '') if test "$ac_cv_type_long_long" = yes; then
23717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23718 See \`config.log' for more details." >&5
23719 echo "$as_me: error: cannot compute sizeof (long long)
23720 See \`config.log' for more details." >&2;}
23721 { (exit 77); exit 77; }; }
23722 else
23723 ac_cv_sizeof_long_long=0
23724 fi ;;
23725 esac
23726 else
23727 cat >conftest.$ac_ext <<_ACEOF
23728 /* confdefs.h. */
23729 _ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23733 $ac_includes_default
23734 typedef long long ac__type_sizeof_;
23735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23737 #include <stdio.h>
23738 #include <stdlib.h>
23739 int
23740 main ()
23741 {
23742
23743 FILE *f = fopen ("conftest.val", "w");
23744 if (! f)
23745 return 1;
23746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23747 {
23748 long int i = longval ();
23749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23750 return 1;
23751 fprintf (f, "%ld\n", i);
23752 }
23753 else
23754 {
23755 unsigned long int i = ulongval ();
23756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23757 return 1;
23758 fprintf (f, "%lu\n", i);
23759 }
23760 return ferror (f) || fclose (f) != 0;
23761
23762 ;
23763 return 0;
23764 }
23765 _ACEOF
23766 rm -f conftest$ac_exeext
23767 if { (ac_try="$ac_link"
23768 case "(($ac_try" in
23769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23770 *) ac_try_echo=$ac_try;;
23771 esac
23772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23773 (eval "$ac_link") 2>&5
23774 ac_status=$?
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23777 { (case "(($ac_try" in
23778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23779 *) ac_try_echo=$ac_try;;
23780 esac
23781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_try") 2>&5
23783 ac_status=$?
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; }; then
23786 ac_cv_sizeof_long_long=`cat conftest.val`
23787 else
23788 echo "$as_me: program exited with status $ac_status" >&5
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23791
23792 ( exit $ac_status )
23793 if test "$ac_cv_type_long_long" = yes; then
23794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23795 See \`config.log' for more details." >&5
23796 echo "$as_me: error: cannot compute sizeof (long long)
23797 See \`config.log' for more details." >&2;}
23798 { (exit 77); exit 77; }; }
23799 else
23800 ac_cv_sizeof_long_long=0
23801 fi
23802 fi
23803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23804 fi
23805 rm -f conftest.val
23806 fi
23807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23808 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23809
23810
23811
23812 cat >>confdefs.h <<_ACEOF
23813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23814 _ACEOF
23815
23816
23817 ;;
23818 *-hp-hpux* )
23819 { echo "$as_me:$LINENO: checking for long long" >&5
23820 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23821 if test "${ac_cv_type_long_long+set}" = set; then
23822 echo $ECHO_N "(cached) $ECHO_C" >&6
23823 else
23824 cat >conftest.$ac_ext <<_ACEOF
23825 /* confdefs.h. */
23826 _ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 $ac_includes_default
23831 typedef long long ac__type_new_;
23832 int
23833 main ()
23834 {
23835 if ((ac__type_new_ *) 0)
23836 return 0;
23837 if (sizeof (ac__type_new_))
23838 return 0;
23839 ;
23840 return 0;
23841 }
23842 _ACEOF
23843 rm -f conftest.$ac_objext
23844 if { (ac_try="$ac_compile"
23845 case "(($ac_try" in
23846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23847 *) ac_try_echo=$ac_try;;
23848 esac
23849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23850 (eval "$ac_compile") 2>conftest.er1
23851 ac_status=$?
23852 grep -v '^ *+' conftest.er1 >conftest.err
23853 rm -f conftest.er1
23854 cat conftest.err >&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); } && {
23857 test -z "$ac_c_werror_flag" ||
23858 test ! -s conftest.err
23859 } && test -s conftest.$ac_objext; then
23860 ac_cv_type_long_long=yes
23861 else
23862 echo "$as_me: failed program was:" >&5
23863 sed 's/^/| /' conftest.$ac_ext >&5
23864
23865 ac_cv_type_long_long=no
23866 fi
23867
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23869 fi
23870 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23871 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23872
23873 # The cast to long int works around a bug in the HP C Compiler
23874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23876 # This bug is HP SR number 8606223364.
23877 { echo "$as_me:$LINENO: checking size of long long" >&5
23878 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23879 if test "${ac_cv_sizeof_long_long+set}" = set; then
23880 echo $ECHO_N "(cached) $ECHO_C" >&6
23881 else
23882 if test "$cross_compiling" = yes; then
23883 # Depending upon the size, compute the lo and hi bounds.
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_))) >= 0)];
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_lo=0 ac_mid=0
23920 while :; do
23921 cat >conftest.$ac_ext <<_ACEOF
23922 /* confdefs.h. */
23923 _ACEOF
23924 cat confdefs.h >>conftest.$ac_ext
23925 cat >>conftest.$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23927 $ac_includes_default
23928 typedef long long ac__type_sizeof_;
23929 int
23930 main ()
23931 {
23932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23933 test_array [0] = 0
23934
23935 ;
23936 return 0;
23937 }
23938 _ACEOF
23939 rm -f conftest.$ac_objext
23940 if { (ac_try="$ac_compile"
23941 case "(($ac_try" in
23942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23943 *) ac_try_echo=$ac_try;;
23944 esac
23945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23946 (eval "$ac_compile") 2>conftest.er1
23947 ac_status=$?
23948 grep -v '^ *+' conftest.er1 >conftest.err
23949 rm -f conftest.er1
23950 cat conftest.err >&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } && {
23953 test -z "$ac_c_werror_flag" ||
23954 test ! -s conftest.err
23955 } && test -s conftest.$ac_objext; then
23956 ac_hi=$ac_mid; break
23957 else
23958 echo "$as_me: failed program was:" >&5
23959 sed 's/^/| /' conftest.$ac_ext >&5
23960
23961 ac_lo=`expr $ac_mid + 1`
23962 if test $ac_lo -le $ac_mid; then
23963 ac_lo= ac_hi=
23964 break
23965 fi
23966 ac_mid=`expr 2 '*' $ac_mid + 1`
23967 fi
23968
23969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23970 done
23971 else
23972 echo "$as_me: failed program was:" >&5
23973 sed 's/^/| /' conftest.$ac_ext >&5
23974
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_))) < 0)];
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_hi=-1 ac_mid=-1
24011 while :; do
24012 cat >conftest.$ac_ext <<_ACEOF
24013 /* confdefs.h. */
24014 _ACEOF
24015 cat confdefs.h >>conftest.$ac_ext
24016 cat >>conftest.$ac_ext <<_ACEOF
24017 /* end confdefs.h. */
24018 $ac_includes_default
24019 typedef long long ac__type_sizeof_;
24020 int
24021 main ()
24022 {
24023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24024 test_array [0] = 0
24025
24026 ;
24027 return 0;
24028 }
24029 _ACEOF
24030 rm -f conftest.$ac_objext
24031 if { (ac_try="$ac_compile"
24032 case "(($ac_try" in
24033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24034 *) ac_try_echo=$ac_try;;
24035 esac
24036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24037 (eval "$ac_compile") 2>conftest.er1
24038 ac_status=$?
24039 grep -v '^ *+' conftest.er1 >conftest.err
24040 rm -f conftest.er1
24041 cat conftest.err >&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); } && {
24044 test -z "$ac_c_werror_flag" ||
24045 test ! -s conftest.err
24046 } && test -s conftest.$ac_objext; then
24047 ac_lo=$ac_mid; break
24048 else
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.$ac_ext >&5
24051
24052 ac_hi=`expr '(' $ac_mid ')' - 1`
24053 if test $ac_mid -le $ac_hi; then
24054 ac_lo= ac_hi=
24055 break
24056 fi
24057 ac_mid=`expr 2 '*' $ac_mid`
24058 fi
24059
24060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24061 done
24062 else
24063 echo "$as_me: failed program was:" >&5
24064 sed 's/^/| /' conftest.$ac_ext >&5
24065
24066 ac_lo= ac_hi=
24067 fi
24068
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24070 fi
24071
24072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24073 # Binary search between lo and hi bounds.
24074 while test "x$ac_lo" != "x$ac_hi"; do
24075 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24076 cat >conftest.$ac_ext <<_ACEOF
24077 /* confdefs.h. */
24078 _ACEOF
24079 cat confdefs.h >>conftest.$ac_ext
24080 cat >>conftest.$ac_ext <<_ACEOF
24081 /* end confdefs.h. */
24082 $ac_includes_default
24083 typedef long long ac__type_sizeof_;
24084 int
24085 main ()
24086 {
24087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24088 test_array [0] = 0
24089
24090 ;
24091 return 0;
24092 }
24093 _ACEOF
24094 rm -f conftest.$ac_objext
24095 if { (ac_try="$ac_compile"
24096 case "(($ac_try" in
24097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24098 *) ac_try_echo=$ac_try;;
24099 esac
24100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24101 (eval "$ac_compile") 2>conftest.er1
24102 ac_status=$?
24103 grep -v '^ *+' conftest.er1 >conftest.err
24104 rm -f conftest.er1
24105 cat conftest.err >&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } && {
24108 test -z "$ac_c_werror_flag" ||
24109 test ! -s conftest.err
24110 } && test -s conftest.$ac_objext; then
24111 ac_hi=$ac_mid
24112 else
24113 echo "$as_me: failed program was:" >&5
24114 sed 's/^/| /' conftest.$ac_ext >&5
24115
24116 ac_lo=`expr '(' $ac_mid ')' + 1`
24117 fi
24118
24119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24120 done
24121 case $ac_lo in
24122 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24123 '') if test "$ac_cv_type_long_long" = yes; then
24124 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24125 See \`config.log' for more details." >&5
24126 echo "$as_me: error: cannot compute sizeof (long long)
24127 See \`config.log' for more details." >&2;}
24128 { (exit 77); exit 77; }; }
24129 else
24130 ac_cv_sizeof_long_long=0
24131 fi ;;
24132 esac
24133 else
24134 cat >conftest.$ac_ext <<_ACEOF
24135 /* confdefs.h. */
24136 _ACEOF
24137 cat confdefs.h >>conftest.$ac_ext
24138 cat >>conftest.$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24140 $ac_includes_default
24141 typedef long long ac__type_sizeof_;
24142 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24143 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24144 #include <stdio.h>
24145 #include <stdlib.h>
24146 int
24147 main ()
24148 {
24149
24150 FILE *f = fopen ("conftest.val", "w");
24151 if (! f)
24152 return 1;
24153 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24154 {
24155 long int i = longval ();
24156 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24157 return 1;
24158 fprintf (f, "%ld\n", i);
24159 }
24160 else
24161 {
24162 unsigned long int i = ulongval ();
24163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24164 return 1;
24165 fprintf (f, "%lu\n", i);
24166 }
24167 return ferror (f) || fclose (f) != 0;
24168
24169 ;
24170 return 0;
24171 }
24172 _ACEOF
24173 rm -f conftest$ac_exeext
24174 if { (ac_try="$ac_link"
24175 case "(($ac_try" in
24176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24177 *) ac_try_echo=$ac_try;;
24178 esac
24179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24180 (eval "$ac_link") 2>&5
24181 ac_status=$?
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24184 { (case "(($ac_try" in
24185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24186 *) ac_try_echo=$ac_try;;
24187 esac
24188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24189 (eval "$ac_try") 2>&5
24190 ac_status=$?
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); }; }; then
24193 ac_cv_sizeof_long_long=`cat conftest.val`
24194 else
24195 echo "$as_me: program exited with status $ac_status" >&5
24196 echo "$as_me: failed program was:" >&5
24197 sed 's/^/| /' conftest.$ac_ext >&5
24198
24199 ( exit $ac_status )
24200 if test "$ac_cv_type_long_long" = yes; then
24201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24202 See \`config.log' for more details." >&5
24203 echo "$as_me: error: cannot compute sizeof (long long)
24204 See \`config.log' for more details." >&2;}
24205 { (exit 77); exit 77; }; }
24206 else
24207 ac_cv_sizeof_long_long=0
24208 fi
24209 fi
24210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24211 fi
24212 rm -f conftest.val
24213 fi
24214 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24215 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24216
24217
24218
24219 cat >>confdefs.h <<_ACEOF
24220 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24221 _ACEOF
24222
24223
24224 if test "$ac_cv_sizeof_long_long" != "0"; then
24225 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24226 fi
24227 ;;
24228 * )
24229 { echo "$as_me:$LINENO: checking for long long" >&5
24230 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24231 if test "${ac_cv_type_long_long+set}" = set; then
24232 echo $ECHO_N "(cached) $ECHO_C" >&6
24233 else
24234 cat >conftest.$ac_ext <<_ACEOF
24235 /* confdefs.h. */
24236 _ACEOF
24237 cat confdefs.h >>conftest.$ac_ext
24238 cat >>conftest.$ac_ext <<_ACEOF
24239 /* end confdefs.h. */
24240 $ac_includes_default
24241 typedef long long ac__type_new_;
24242 int
24243 main ()
24244 {
24245 if ((ac__type_new_ *) 0)
24246 return 0;
24247 if (sizeof (ac__type_new_))
24248 return 0;
24249 ;
24250 return 0;
24251 }
24252 _ACEOF
24253 rm -f conftest.$ac_objext
24254 if { (ac_try="$ac_compile"
24255 case "(($ac_try" in
24256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24257 *) ac_try_echo=$ac_try;;
24258 esac
24259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24260 (eval "$ac_compile") 2>conftest.er1
24261 ac_status=$?
24262 grep -v '^ *+' conftest.er1 >conftest.err
24263 rm -f conftest.er1
24264 cat conftest.err >&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); } && {
24267 test -z "$ac_c_werror_flag" ||
24268 test ! -s conftest.err
24269 } && test -s conftest.$ac_objext; then
24270 ac_cv_type_long_long=yes
24271 else
24272 echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.$ac_ext >&5
24274
24275 ac_cv_type_long_long=no
24276 fi
24277
24278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24279 fi
24280 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24281 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24282
24283 # The cast to long int works around a bug in the HP C Compiler
24284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24286 # This bug is HP SR number 8606223364.
24287 { echo "$as_me:$LINENO: checking size of long long" >&5
24288 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24289 if test "${ac_cv_sizeof_long_long+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24291 else
24292 if test "$cross_compiling" = yes; then
24293 # Depending upon the size, compute the lo and hi bounds.
24294 cat >conftest.$ac_ext <<_ACEOF
24295 /* confdefs.h. */
24296 _ACEOF
24297 cat confdefs.h >>conftest.$ac_ext
24298 cat >>conftest.$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300 $ac_includes_default
24301 typedef long long ac__type_sizeof_;
24302 int
24303 main ()
24304 {
24305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24306 test_array [0] = 0
24307
24308 ;
24309 return 0;
24310 }
24311 _ACEOF
24312 rm -f conftest.$ac_objext
24313 if { (ac_try="$ac_compile"
24314 case "(($ac_try" in
24315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24316 *) ac_try_echo=$ac_try;;
24317 esac
24318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24319 (eval "$ac_compile") 2>conftest.er1
24320 ac_status=$?
24321 grep -v '^ *+' conftest.er1 >conftest.err
24322 rm -f conftest.er1
24323 cat conftest.err >&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); } && {
24326 test -z "$ac_c_werror_flag" ||
24327 test ! -s conftest.err
24328 } && test -s conftest.$ac_objext; then
24329 ac_lo=0 ac_mid=0
24330 while :; do
24331 cat >conftest.$ac_ext <<_ACEOF
24332 /* confdefs.h. */
24333 _ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 $ac_includes_default
24338 typedef long long ac__type_sizeof_;
24339 int
24340 main ()
24341 {
24342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24343 test_array [0] = 0
24344
24345 ;
24346 return 0;
24347 }
24348 _ACEOF
24349 rm -f conftest.$ac_objext
24350 if { (ac_try="$ac_compile"
24351 case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24354 esac
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_compile") 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } && {
24363 test -z "$ac_c_werror_flag" ||
24364 test ! -s conftest.err
24365 } && test -s conftest.$ac_objext; then
24366 ac_hi=$ac_mid; break
24367 else
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24370
24371 ac_lo=`expr $ac_mid + 1`
24372 if test $ac_lo -le $ac_mid; then
24373 ac_lo= ac_hi=
24374 break
24375 fi
24376 ac_mid=`expr 2 '*' $ac_mid + 1`
24377 fi
24378
24379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24380 done
24381 else
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.$ac_ext >&5
24384
24385 cat >conftest.$ac_ext <<_ACEOF
24386 /* confdefs.h. */
24387 _ACEOF
24388 cat confdefs.h >>conftest.$ac_ext
24389 cat >>conftest.$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24391 $ac_includes_default
24392 typedef long long ac__type_sizeof_;
24393 int
24394 main ()
24395 {
24396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24397 test_array [0] = 0
24398
24399 ;
24400 return 0;
24401 }
24402 _ACEOF
24403 rm -f conftest.$ac_objext
24404 if { (ac_try="$ac_compile"
24405 case "(($ac_try" in
24406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24407 *) ac_try_echo=$ac_try;;
24408 esac
24409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24410 (eval "$ac_compile") 2>conftest.er1
24411 ac_status=$?
24412 grep -v '^ *+' conftest.er1 >conftest.err
24413 rm -f conftest.er1
24414 cat conftest.err >&5
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } && {
24417 test -z "$ac_c_werror_flag" ||
24418 test ! -s conftest.err
24419 } && test -s conftest.$ac_objext; then
24420 ac_hi=-1 ac_mid=-1
24421 while :; do
24422 cat >conftest.$ac_ext <<_ACEOF
24423 /* confdefs.h. */
24424 _ACEOF
24425 cat confdefs.h >>conftest.$ac_ext
24426 cat >>conftest.$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24428 $ac_includes_default
24429 typedef long long ac__type_sizeof_;
24430 int
24431 main ()
24432 {
24433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24434 test_array [0] = 0
24435
24436 ;
24437 return 0;
24438 }
24439 _ACEOF
24440 rm -f conftest.$ac_objext
24441 if { (ac_try="$ac_compile"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24445 esac
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_compile") 2>conftest.er1
24448 ac_status=$?
24449 grep -v '^ *+' conftest.er1 >conftest.err
24450 rm -f conftest.er1
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_c_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest.$ac_objext; then
24457 ac_lo=$ac_mid; break
24458 else
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.$ac_ext >&5
24461
24462 ac_hi=`expr '(' $ac_mid ')' - 1`
24463 if test $ac_mid -le $ac_hi; then
24464 ac_lo= ac_hi=
24465 break
24466 fi
24467 ac_mid=`expr 2 '*' $ac_mid`
24468 fi
24469
24470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24471 done
24472 else
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.$ac_ext >&5
24475
24476 ac_lo= ac_hi=
24477 fi
24478
24479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24480 fi
24481
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483 # Binary search between lo and hi bounds.
24484 while test "x$ac_lo" != "x$ac_hi"; do
24485 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24486 cat >conftest.$ac_ext <<_ACEOF
24487 /* confdefs.h. */
24488 _ACEOF
24489 cat confdefs.h >>conftest.$ac_ext
24490 cat >>conftest.$ac_ext <<_ACEOF
24491 /* end confdefs.h. */
24492 $ac_includes_default
24493 typedef long long ac__type_sizeof_;
24494 int
24495 main ()
24496 {
24497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24498 test_array [0] = 0
24499
24500 ;
24501 return 0;
24502 }
24503 _ACEOF
24504 rm -f conftest.$ac_objext
24505 if { (ac_try="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24509 esac
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24512 ac_status=$?
24513 grep -v '^ *+' conftest.er1 >conftest.err
24514 rm -f conftest.er1
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_c_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24521 ac_hi=$ac_mid
24522 else
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24525
24526 ac_lo=`expr '(' $ac_mid ')' + 1`
24527 fi
24528
24529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 done
24531 case $ac_lo in
24532 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24533 '') if test "$ac_cv_type_long_long" = yes; then
24534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24535 See \`config.log' for more details." >&5
24536 echo "$as_me: error: cannot compute sizeof (long long)
24537 See \`config.log' for more details." >&2;}
24538 { (exit 77); exit 77; }; }
24539 else
24540 ac_cv_sizeof_long_long=0
24541 fi ;;
24542 esac
24543 else
24544 cat >conftest.$ac_ext <<_ACEOF
24545 /* confdefs.h. */
24546 _ACEOF
24547 cat confdefs.h >>conftest.$ac_ext
24548 cat >>conftest.$ac_ext <<_ACEOF
24549 /* end confdefs.h. */
24550 $ac_includes_default
24551 typedef long long ac__type_sizeof_;
24552 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24553 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24554 #include <stdio.h>
24555 #include <stdlib.h>
24556 int
24557 main ()
24558 {
24559
24560 FILE *f = fopen ("conftest.val", "w");
24561 if (! f)
24562 return 1;
24563 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24564 {
24565 long int i = longval ();
24566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24567 return 1;
24568 fprintf (f, "%ld\n", i);
24569 }
24570 else
24571 {
24572 unsigned long int i = ulongval ();
24573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24574 return 1;
24575 fprintf (f, "%lu\n", i);
24576 }
24577 return ferror (f) || fclose (f) != 0;
24578
24579 ;
24580 return 0;
24581 }
24582 _ACEOF
24583 rm -f conftest$ac_exeext
24584 if { (ac_try="$ac_link"
24585 case "(($ac_try" in
24586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24587 *) ac_try_echo=$ac_try;;
24588 esac
24589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24590 (eval "$ac_link") 2>&5
24591 ac_status=$?
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24594 { (case "(($ac_try" in
24595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24596 *) ac_try_echo=$ac_try;;
24597 esac
24598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24599 (eval "$ac_try") 2>&5
24600 ac_status=$?
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; }; then
24603 ac_cv_sizeof_long_long=`cat conftest.val`
24604 else
24605 echo "$as_me: program exited with status $ac_status" >&5
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24608
24609 ( exit $ac_status )
24610 if test "$ac_cv_type_long_long" = yes; then
24611 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24612 See \`config.log' for more details." >&5
24613 echo "$as_me: error: cannot compute sizeof (long long)
24614 See \`config.log' for more details." >&2;}
24615 { (exit 77); exit 77; }; }
24616 else
24617 ac_cv_sizeof_long_long=0
24618 fi
24619 fi
24620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24621 fi
24622 rm -f conftest.val
24623 fi
24624 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24625 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24626
24627
24628
24629 cat >>confdefs.h <<_ACEOF
24630 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24631 _ACEOF
24632
24633
24634 esac
24635
24636 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24637 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24638 if test "${ac_cv_type_wchar_t+set}" = set; then
24639 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 else
24641 cat >conftest.$ac_ext <<_ACEOF
24642 /* confdefs.h. */
24643 _ACEOF
24644 cat confdefs.h >>conftest.$ac_ext
24645 cat >>conftest.$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24647
24648 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24649 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24650 # error "fake wchar_t"
24651 #endif
24652 #ifdef HAVE_WCHAR_H
24653 # ifdef __CYGWIN__
24654 # include <stddef.h>
24655 # endif
24656 # include <wchar.h>
24657 #endif
24658 #ifdef HAVE_STDLIB_H
24659 # include <stdlib.h>
24660 #endif
24661 #include <stdio.h>
24662
24663
24664
24665 typedef wchar_t ac__type_new_;
24666 int
24667 main ()
24668 {
24669 if ((ac__type_new_ *) 0)
24670 return 0;
24671 if (sizeof (ac__type_new_))
24672 return 0;
24673 ;
24674 return 0;
24675 }
24676 _ACEOF
24677 rm -f conftest.$ac_objext
24678 if { (ac_try="$ac_compile"
24679 case "(($ac_try" in
24680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24681 *) ac_try_echo=$ac_try;;
24682 esac
24683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24684 (eval "$ac_compile") 2>conftest.er1
24685 ac_status=$?
24686 grep -v '^ *+' conftest.er1 >conftest.err
24687 rm -f conftest.er1
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && {
24691 test -z "$ac_c_werror_flag" ||
24692 test ! -s conftest.err
24693 } && test -s conftest.$ac_objext; then
24694 ac_cv_type_wchar_t=yes
24695 else
24696 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.$ac_ext >&5
24698
24699 ac_cv_type_wchar_t=no
24700 fi
24701
24702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24703 fi
24704 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24705 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24706
24707 # The cast to long int works around a bug in the HP C Compiler
24708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24710 # This bug is HP SR number 8606223364.
24711 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24712 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24713 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24714 echo $ECHO_N "(cached) $ECHO_C" >&6
24715 else
24716 if test "$cross_compiling" = yes; then
24717 # Depending upon the size, compute the lo and hi bounds.
24718 cat >conftest.$ac_ext <<_ACEOF
24719 /* confdefs.h. */
24720 _ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24724
24725 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24726 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24727 # error "fake wchar_t"
24728 #endif
24729 #ifdef HAVE_WCHAR_H
24730 # ifdef __CYGWIN__
24731 # include <stddef.h>
24732 # endif
24733 # include <wchar.h>
24734 #endif
24735 #ifdef HAVE_STDLIB_H
24736 # include <stdlib.h>
24737 #endif
24738 #include <stdio.h>
24739
24740
24741
24742 typedef wchar_t ac__type_sizeof_;
24743 int
24744 main ()
24745 {
24746 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24747 test_array [0] = 0
24748
24749 ;
24750 return 0;
24751 }
24752 _ACEOF
24753 rm -f conftest.$ac_objext
24754 if { (ac_try="$ac_compile"
24755 case "(($ac_try" in
24756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24757 *) ac_try_echo=$ac_try;;
24758 esac
24759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24760 (eval "$ac_compile") 2>conftest.er1
24761 ac_status=$?
24762 grep -v '^ *+' conftest.er1 >conftest.err
24763 rm -f conftest.er1
24764 cat conftest.err >&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); } && {
24767 test -z "$ac_c_werror_flag" ||
24768 test ! -s conftest.err
24769 } && test -s conftest.$ac_objext; then
24770 ac_lo=0 ac_mid=0
24771 while :; do
24772 cat >conftest.$ac_ext <<_ACEOF
24773 /* confdefs.h. */
24774 _ACEOF
24775 cat confdefs.h >>conftest.$ac_ext
24776 cat >>conftest.$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24778
24779 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24780 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24781 # error "fake wchar_t"
24782 #endif
24783 #ifdef HAVE_WCHAR_H
24784 # ifdef __CYGWIN__
24785 # include <stddef.h>
24786 # endif
24787 # include <wchar.h>
24788 #endif
24789 #ifdef HAVE_STDLIB_H
24790 # include <stdlib.h>
24791 #endif
24792 #include <stdio.h>
24793
24794
24795
24796 typedef wchar_t ac__type_sizeof_;
24797 int
24798 main ()
24799 {
24800 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24801 test_array [0] = 0
24802
24803 ;
24804 return 0;
24805 }
24806 _ACEOF
24807 rm -f conftest.$ac_objext
24808 if { (ac_try="$ac_compile"
24809 case "(($ac_try" in
24810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24811 *) ac_try_echo=$ac_try;;
24812 esac
24813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24814 (eval "$ac_compile") 2>conftest.er1
24815 ac_status=$?
24816 grep -v '^ *+' conftest.er1 >conftest.err
24817 rm -f conftest.er1
24818 cat conftest.err >&5
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); } && {
24821 test -z "$ac_c_werror_flag" ||
24822 test ! -s conftest.err
24823 } && test -s conftest.$ac_objext; then
24824 ac_hi=$ac_mid; break
24825 else
24826 echo "$as_me: failed program was:" >&5
24827 sed 's/^/| /' conftest.$ac_ext >&5
24828
24829 ac_lo=`expr $ac_mid + 1`
24830 if test $ac_lo -le $ac_mid; then
24831 ac_lo= ac_hi=
24832 break
24833 fi
24834 ac_mid=`expr 2 '*' $ac_mid + 1`
24835 fi
24836
24837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24838 done
24839 else
24840 echo "$as_me: failed program was:" >&5
24841 sed 's/^/| /' conftest.$ac_ext >&5
24842
24843 cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849
24850 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24851 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24852 # error "fake wchar_t"
24853 #endif
24854 #ifdef HAVE_WCHAR_H
24855 # ifdef __CYGWIN__
24856 # include <stddef.h>
24857 # endif
24858 # include <wchar.h>
24859 #endif
24860 #ifdef HAVE_STDLIB_H
24861 # include <stdlib.h>
24862 #endif
24863 #include <stdio.h>
24864
24865
24866
24867 typedef wchar_t ac__type_sizeof_;
24868 int
24869 main ()
24870 {
24871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24872 test_array [0] = 0
24873
24874 ;
24875 return 0;
24876 }
24877 _ACEOF
24878 rm -f conftest.$ac_objext
24879 if { (ac_try="$ac_compile"
24880 case "(($ac_try" in
24881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24882 *) ac_try_echo=$ac_try;;
24883 esac
24884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24885 (eval "$ac_compile") 2>conftest.er1
24886 ac_status=$?
24887 grep -v '^ *+' conftest.er1 >conftest.err
24888 rm -f conftest.er1
24889 cat conftest.err >&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); } && {
24892 test -z "$ac_c_werror_flag" ||
24893 test ! -s conftest.err
24894 } && test -s conftest.$ac_objext; then
24895 ac_hi=-1 ac_mid=-1
24896 while :; do
24897 cat >conftest.$ac_ext <<_ACEOF
24898 /* confdefs.h. */
24899 _ACEOF
24900 cat confdefs.h >>conftest.$ac_ext
24901 cat >>conftest.$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24903
24904 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24905 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24906 # error "fake wchar_t"
24907 #endif
24908 #ifdef HAVE_WCHAR_H
24909 # ifdef __CYGWIN__
24910 # include <stddef.h>
24911 # endif
24912 # include <wchar.h>
24913 #endif
24914 #ifdef HAVE_STDLIB_H
24915 # include <stdlib.h>
24916 #endif
24917 #include <stdio.h>
24918
24919
24920
24921 typedef wchar_t ac__type_sizeof_;
24922 int
24923 main ()
24924 {
24925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24926 test_array [0] = 0
24927
24928 ;
24929 return 0;
24930 }
24931 _ACEOF
24932 rm -f conftest.$ac_objext
24933 if { (ac_try="$ac_compile"
24934 case "(($ac_try" in
24935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24936 *) ac_try_echo=$ac_try;;
24937 esac
24938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24939 (eval "$ac_compile") 2>conftest.er1
24940 ac_status=$?
24941 grep -v '^ *+' conftest.er1 >conftest.err
24942 rm -f conftest.er1
24943 cat conftest.err >&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); } && {
24946 test -z "$ac_c_werror_flag" ||
24947 test ! -s conftest.err
24948 } && test -s conftest.$ac_objext; then
24949 ac_lo=$ac_mid; break
24950 else
24951 echo "$as_me: failed program was:" >&5
24952 sed 's/^/| /' conftest.$ac_ext >&5
24953
24954 ac_hi=`expr '(' $ac_mid ')' - 1`
24955 if test $ac_mid -le $ac_hi; then
24956 ac_lo= ac_hi=
24957 break
24958 fi
24959 ac_mid=`expr 2 '*' $ac_mid`
24960 fi
24961
24962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24963 done
24964 else
24965 echo "$as_me: failed program was:" >&5
24966 sed 's/^/| /' conftest.$ac_ext >&5
24967
24968 ac_lo= ac_hi=
24969 fi
24970
24971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24972 fi
24973
24974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24975 # Binary search between lo and hi bounds.
24976 while test "x$ac_lo" != "x$ac_hi"; do
24977 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24978 cat >conftest.$ac_ext <<_ACEOF
24979 /* confdefs.h. */
24980 _ACEOF
24981 cat confdefs.h >>conftest.$ac_ext
24982 cat >>conftest.$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24984
24985 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24986 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24987 # error "fake wchar_t"
24988 #endif
24989 #ifdef HAVE_WCHAR_H
24990 # ifdef __CYGWIN__
24991 # include <stddef.h>
24992 # endif
24993 # include <wchar.h>
24994 #endif
24995 #ifdef HAVE_STDLIB_H
24996 # include <stdlib.h>
24997 #endif
24998 #include <stdio.h>
24999
25000
25001
25002 typedef wchar_t ac__type_sizeof_;
25003 int
25004 main ()
25005 {
25006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25007 test_array [0] = 0
25008
25009 ;
25010 return 0;
25011 }
25012 _ACEOF
25013 rm -f conftest.$ac_objext
25014 if { (ac_try="$ac_compile"
25015 case "(($ac_try" in
25016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25017 *) ac_try_echo=$ac_try;;
25018 esac
25019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25020 (eval "$ac_compile") 2>conftest.er1
25021 ac_status=$?
25022 grep -v '^ *+' conftest.er1 >conftest.err
25023 rm -f conftest.er1
25024 cat conftest.err >&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); } && {
25027 test -z "$ac_c_werror_flag" ||
25028 test ! -s conftest.err
25029 } && test -s conftest.$ac_objext; then
25030 ac_hi=$ac_mid
25031 else
25032 echo "$as_me: failed program was:" >&5
25033 sed 's/^/| /' conftest.$ac_ext >&5
25034
25035 ac_lo=`expr '(' $ac_mid ')' + 1`
25036 fi
25037
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 done
25040 case $ac_lo in
25041 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25042 '') if test "$ac_cv_type_wchar_t" = yes; then
25043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25044 See \`config.log' for more details." >&5
25045 echo "$as_me: error: cannot compute sizeof (wchar_t)
25046 See \`config.log' for more details." >&2;}
25047 { (exit 77); exit 77; }; }
25048 else
25049 ac_cv_sizeof_wchar_t=0
25050 fi ;;
25051 esac
25052 else
25053 cat >conftest.$ac_ext <<_ACEOF
25054 /* confdefs.h. */
25055 _ACEOF
25056 cat confdefs.h >>conftest.$ac_ext
25057 cat >>conftest.$ac_ext <<_ACEOF
25058 /* end confdefs.h. */
25059
25060 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25061 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25062 # error "fake wchar_t"
25063 #endif
25064 #ifdef HAVE_WCHAR_H
25065 # ifdef __CYGWIN__
25066 # include <stddef.h>
25067 # endif
25068 # include <wchar.h>
25069 #endif
25070 #ifdef HAVE_STDLIB_H
25071 # include <stdlib.h>
25072 #endif
25073 #include <stdio.h>
25074
25075
25076
25077 typedef wchar_t ac__type_sizeof_;
25078 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25079 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25080 #include <stdio.h>
25081 #include <stdlib.h>
25082 int
25083 main ()
25084 {
25085
25086 FILE *f = fopen ("conftest.val", "w");
25087 if (! f)
25088 return 1;
25089 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25090 {
25091 long int i = longval ();
25092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25093 return 1;
25094 fprintf (f, "%ld\n", i);
25095 }
25096 else
25097 {
25098 unsigned long int i = ulongval ();
25099 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25100 return 1;
25101 fprintf (f, "%lu\n", i);
25102 }
25103 return ferror (f) || fclose (f) != 0;
25104
25105 ;
25106 return 0;
25107 }
25108 _ACEOF
25109 rm -f conftest$ac_exeext
25110 if { (ac_try="$ac_link"
25111 case "(($ac_try" in
25112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25113 *) ac_try_echo=$ac_try;;
25114 esac
25115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25116 (eval "$ac_link") 2>&5
25117 ac_status=$?
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25120 { (case "(($ac_try" in
25121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25122 *) ac_try_echo=$ac_try;;
25123 esac
25124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25125 (eval "$ac_try") 2>&5
25126 ac_status=$?
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; }; then
25129 ac_cv_sizeof_wchar_t=`cat conftest.val`
25130 else
25131 echo "$as_me: program exited with status $ac_status" >&5
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25134
25135 ( exit $ac_status )
25136 if test "$ac_cv_type_wchar_t" = yes; then
25137 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25138 See \`config.log' for more details." >&5
25139 echo "$as_me: error: cannot compute sizeof (wchar_t)
25140 See \`config.log' for more details." >&2;}
25141 { (exit 77); exit 77; }; }
25142 else
25143 ac_cv_sizeof_wchar_t=0
25144 fi
25145 fi
25146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25147 fi
25148 rm -f conftest.val
25149 fi
25150 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25151 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25152
25153
25154
25155 cat >>confdefs.h <<_ACEOF
25156 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25157 _ACEOF
25158
25159
25160 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25161 wxUSE_WCHAR_T=yes
25162 else
25163 wxUSE_WCHAR_T=no
25164 fi
25165
25166 { echo "$as_me:$LINENO: checking for va_copy" >&5
25167 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25168 if test "${wx_cv_func_va_copy+set}" = set; then
25169 echo $ECHO_N "(cached) $ECHO_C" >&6
25170 else
25171
25172 ac_ext=cpp
25173 ac_cpp='$CXXCPP $CPPFLAGS'
25174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25177
25178 cat >conftest.$ac_ext <<_ACEOF
25179
25180 #include <stdarg.h>
25181 void foo(char *f, ...)
25182 {
25183 va_list ap1, ap2;
25184 va_start(ap1, f);
25185 va_copy(ap2, ap1);
25186 va_end(ap2);
25187 va_end(ap1);
25188 }
25189 int main()
25190 {
25191 foo("hi", 17);
25192 return 0;
25193 }
25194 _ACEOF
25195 rm -f conftest.$ac_objext conftest$ac_exeext
25196 if { (ac_try="$ac_link"
25197 case "(($ac_try" in
25198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25199 *) ac_try_echo=$ac_try;;
25200 esac
25201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25202 (eval "$ac_link") 2>conftest.er1
25203 ac_status=$?
25204 grep -v '^ *+' conftest.er1 >conftest.err
25205 rm -f conftest.er1
25206 cat conftest.err >&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } && {
25209 test -z "$ac_cxx_werror_flag" ||
25210 test ! -s conftest.err
25211 } && test -s conftest$ac_exeext &&
25212 $as_test_x conftest$ac_exeext; then
25213 wx_cv_func_va_copy=yes
25214 else
25215 echo "$as_me: failed program was:" >&5
25216 sed 's/^/| /' conftest.$ac_ext >&5
25217
25218 wx_cv_func_va_copy=no
25219
25220 fi
25221
25222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25223 conftest$ac_exeext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229
25230
25231
25232 fi
25233 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25234 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25235
25236 if test $wx_cv_func_va_copy = "yes"; then
25237 cat >>confdefs.h <<\_ACEOF
25238 #define HAVE_VA_COPY 1
25239 _ACEOF
25240
25241 else
25242 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25243 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25244 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 else
25247
25248 if test "$cross_compiling" = yes; then
25249 wx_cv_type_va_list_lvalue=yes
25250
25251 else
25252 cat >conftest.$ac_ext <<_ACEOF
25253
25254 #include <stdarg.h>
25255 int foo(char *f, ...)
25256 {
25257 va_list ap1, ap2;
25258 va_start(ap1, f);
25259 ap2 = ap1;
25260 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25261 return 1;
25262 va_end(ap2);
25263 va_end(ap1);
25264 return 0;
25265 }
25266 int main()
25267 {
25268 return foo("hi", 17);
25269 }
25270 _ACEOF
25271 rm -f conftest$ac_exeext
25272 if { (ac_try="$ac_link"
25273 case "(($ac_try" in
25274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25275 *) ac_try_echo=$ac_try;;
25276 esac
25277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25278 (eval "$ac_link") 2>&5
25279 ac_status=$?
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25282 { (case "(($ac_try" in
25283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25284 *) ac_try_echo=$ac_try;;
25285 esac
25286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25287 (eval "$ac_try") 2>&5
25288 ac_status=$?
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); }; }; then
25291 wx_cv_type_va_list_lvalue=yes
25292 else
25293 echo "$as_me: program exited with status $ac_status" >&5
25294 echo "$as_me: failed program was:" >&5
25295 sed 's/^/| /' conftest.$ac_ext >&5
25296
25297 ( exit $ac_status )
25298 wx_cv_type_va_list_lvalue=no
25299 fi
25300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25301 fi
25302
25303
25304
25305
25306 fi
25307 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25308 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25309
25310 if test $wx_cv_type_va_list_lvalue != "yes"; then
25311 cat >>confdefs.h <<\_ACEOF
25312 #define VA_LIST_IS_ARRAY 1
25313 _ACEOF
25314
25315 fi
25316 fi
25317
25318 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25319
25320 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25321 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25322 if test "${wx_cv_have_variadic_macros+set}" = set; then
25323 echo $ECHO_N "(cached) $ECHO_C" >&6
25324 else
25325
25326 ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331
25332 cat >conftest.$ac_ext <<_ACEOF
25333 /* confdefs.h. */
25334 _ACEOF
25335 cat confdefs.h >>conftest.$ac_ext
25336 cat >>conftest.$ac_ext <<_ACEOF
25337 /* end confdefs.h. */
25338
25339 #include <stdio.h>
25340 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25341
25342 int
25343 main ()
25344 {
25345
25346 test("%s %d %p", "test", 1, 0);
25347
25348
25349 ;
25350 return 0;
25351 }
25352 _ACEOF
25353 rm -f conftest.$ac_objext
25354 if { (ac_try="$ac_compile"
25355 case "(($ac_try" in
25356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25357 *) ac_try_echo=$ac_try;;
25358 esac
25359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25360 (eval "$ac_compile") 2>conftest.er1
25361 ac_status=$?
25362 grep -v '^ *+' conftest.er1 >conftest.err
25363 rm -f conftest.er1
25364 cat conftest.err >&5
25365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25366 (exit $ac_status); } && {
25367 test -z "$ac_cxx_werror_flag" ||
25368 test ! -s conftest.err
25369 } && test -s conftest.$ac_objext; then
25370 wx_cv_have_variadic_macros=yes
25371 else
25372 echo "$as_me: failed program was:" >&5
25373 sed 's/^/| /' conftest.$ac_ext >&5
25374
25375 wx_cv_have_variadic_macros=no
25376
25377 fi
25378
25379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25380 ac_ext=c
25381 ac_cpp='$CPP $CPPFLAGS'
25382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25385
25386
25387
25388 fi
25389 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25390 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25391
25392 if test $wx_cv_have_variadic_macros = "yes"; then
25393 cat >>confdefs.h <<\_ACEOF
25394 #define HAVE_VARIADIC_MACROS 1
25395 _ACEOF
25396
25397 fi
25398
25399 fi
25400 # Check whether --enable-largefile was given.
25401 if test "${enable_largefile+set}" = set; then
25402 enableval=$enable_largefile;
25403 fi
25404
25405 if test "$enable_largefile" != no; then
25406 wx_largefile=no
25407
25408 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25409 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25410 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25411 echo $ECHO_N "(cached) $ECHO_C" >&6
25412 else
25413
25414 cat >conftest.$ac_ext <<_ACEOF
25415 /* confdefs.h. */
25416 _ACEOF
25417 cat confdefs.h >>conftest.$ac_ext
25418 cat >>conftest.$ac_ext <<_ACEOF
25419 /* end confdefs.h. */
25420 #define _FILE_OFFSET_BITS 64
25421 #include <sys/types.h>
25422 int
25423 main ()
25424 {
25425 typedef struct {
25426 unsigned int field: sizeof(off_t) == 8;
25427 } wxlf;
25428
25429 ;
25430 return 0;
25431 }
25432 _ACEOF
25433 rm -f conftest.$ac_objext
25434 if { (ac_try="$ac_compile"
25435 case "(($ac_try" in
25436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25437 *) ac_try_echo=$ac_try;;
25438 esac
25439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25440 (eval "$ac_compile") 2>conftest.er1
25441 ac_status=$?
25442 grep -v '^ *+' conftest.er1 >conftest.err
25443 rm -f conftest.er1
25444 cat conftest.err >&5
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); } && {
25447 test -z "$ac_c_werror_flag" ||
25448 test ! -s conftest.err
25449 } && test -s conftest.$ac_objext; then
25450 ac_cv_sys_file_offset_bits=64
25451 else
25452 echo "$as_me: failed program was:" >&5
25453 sed 's/^/| /' conftest.$ac_ext >&5
25454
25455 ac_cv_sys_file_offset_bits=no
25456 fi
25457
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25459
25460
25461 fi
25462 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25463 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25464
25465 if test "$ac_cv_sys_file_offset_bits" != no; then
25466 wx_largefile=yes
25467 cat >>confdefs.h <<_ACEOF
25468 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25469 _ACEOF
25470
25471 fi
25472
25473 if test "x$wx_largefile" != "xyes"; then
25474
25475 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25476 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25477 if test "${ac_cv_sys_large_files+set}" = set; then
25478 echo $ECHO_N "(cached) $ECHO_C" >&6
25479 else
25480
25481 cat >conftest.$ac_ext <<_ACEOF
25482 /* confdefs.h. */
25483 _ACEOF
25484 cat confdefs.h >>conftest.$ac_ext
25485 cat >>conftest.$ac_ext <<_ACEOF
25486 /* end confdefs.h. */
25487 #define _LARGE_FILES 1
25488 #include <sys/types.h>
25489 int
25490 main ()
25491 {
25492 typedef struct {
25493 unsigned int field: sizeof(off_t) == 8;
25494 } wxlf;
25495
25496 ;
25497 return 0;
25498 }
25499 _ACEOF
25500 rm -f conftest.$ac_objext
25501 if { (ac_try="$ac_compile"
25502 case "(($ac_try" in
25503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25504 *) ac_try_echo=$ac_try;;
25505 esac
25506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25507 (eval "$ac_compile") 2>conftest.er1
25508 ac_status=$?
25509 grep -v '^ *+' conftest.er1 >conftest.err
25510 rm -f conftest.er1
25511 cat conftest.err >&5
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); } && {
25514 test -z "$ac_c_werror_flag" ||
25515 test ! -s conftest.err
25516 } && test -s conftest.$ac_objext; then
25517 ac_cv_sys_large_files=1
25518 else
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.$ac_ext >&5
25521
25522 ac_cv_sys_large_files=no
25523 fi
25524
25525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25526
25527
25528 fi
25529 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25530 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25531
25532 if test "$ac_cv_sys_large_files" != no; then
25533 wx_largefile=yes
25534 cat >>confdefs.h <<_ACEOF
25535 #define _LARGE_FILES $ac_cv_sys_large_files
25536 _ACEOF
25537
25538 fi
25539
25540 fi
25541
25542 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25543 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25544 if test "x$wx_largefile" = "xyes"; then
25545 cat >>confdefs.h <<\_ACEOF
25546 #define HAVE_LARGEFILE_SUPPORT 1
25547 _ACEOF
25548
25549 fi
25550 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25551 echo "${ECHO_T}$wx_largefile" >&6; }
25552 fi
25553
25554
25555 if test "x$wx_largefile" = "xyes"; then
25556 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25557 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25558
25559 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25560 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25561 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25562 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25563 echo $ECHO_N "(cached) $ECHO_C" >&6
25564 else
25565
25566 ac_ext=cpp
25567 ac_cpp='$CXXCPP $CPPFLAGS'
25568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25571
25572 cat >conftest.$ac_ext <<_ACEOF
25573 /* confdefs.h. */
25574 _ACEOF
25575 cat confdefs.h >>conftest.$ac_ext
25576 cat >>conftest.$ac_ext <<_ACEOF
25577 /* end confdefs.h. */
25578
25579 int
25580 main ()
25581 {
25582
25583 #ifndef __STDC_EXT__
25584 choke me
25585 #endif
25586
25587 ;
25588 return 0;
25589 }
25590 _ACEOF
25591 rm -f conftest.$ac_objext
25592 if { (ac_try="$ac_compile"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25596 esac
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_compile") 2>conftest.er1
25599 ac_status=$?
25600 grep -v '^ *+' conftest.er1 >conftest.err
25601 rm -f conftest.er1
25602 cat conftest.err >&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_cxx_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest.$ac_objext; then
25608 wx_cv_STDC_EXT_required=no
25609 else
25610 echo "$as_me: failed program was:" >&5
25611 sed 's/^/| /' conftest.$ac_ext >&5
25612
25613 wx_cv_STDC_EXT_required=yes
25614
25615 fi
25616
25617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25618 ac_ext=c
25619 ac_cpp='$CPP $CPPFLAGS'
25620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25623
25624
25625
25626 fi
25627 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25628 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25629 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25630 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25631 fi
25632 fi
25633 else
25634 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25635 fi
25636 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25637 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25638 if test "${ac_cv_sys_largefile_source+set}" = set; then
25639 echo $ECHO_N "(cached) $ECHO_C" >&6
25640 else
25641 while :; do
25642 cat >conftest.$ac_ext <<_ACEOF
25643 /* confdefs.h. */
25644 _ACEOF
25645 cat confdefs.h >>conftest.$ac_ext
25646 cat >>conftest.$ac_ext <<_ACEOF
25647 /* end confdefs.h. */
25648 #include <sys/types.h> /* for off_t */
25649 #include <stdio.h>
25650 int
25651 main ()
25652 {
25653 int (*fp) (FILE *, off_t, int) = fseeko;
25654 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25655 ;
25656 return 0;
25657 }
25658 _ACEOF
25659 rm -f conftest.$ac_objext conftest$ac_exeext
25660 if { (ac_try="$ac_link"
25661 case "(($ac_try" in
25662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25663 *) ac_try_echo=$ac_try;;
25664 esac
25665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25666 (eval "$ac_link") 2>conftest.er1
25667 ac_status=$?
25668 grep -v '^ *+' conftest.er1 >conftest.err
25669 rm -f conftest.er1
25670 cat conftest.err >&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } && {
25673 test -z "$ac_c_werror_flag" ||
25674 test ! -s conftest.err
25675 } && test -s conftest$ac_exeext &&
25676 $as_test_x conftest$ac_exeext; then
25677 ac_cv_sys_largefile_source=no; break
25678 else
25679 echo "$as_me: failed program was:" >&5
25680 sed 's/^/| /' conftest.$ac_ext >&5
25681
25682
25683 fi
25684
25685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25686 conftest$ac_exeext conftest.$ac_ext
25687 cat >conftest.$ac_ext <<_ACEOF
25688 /* confdefs.h. */
25689 _ACEOF
25690 cat confdefs.h >>conftest.$ac_ext
25691 cat >>conftest.$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25693 #define _LARGEFILE_SOURCE 1
25694 #include <sys/types.h> /* for off_t */
25695 #include <stdio.h>
25696 int
25697 main ()
25698 {
25699 int (*fp) (FILE *, off_t, int) = fseeko;
25700 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25701 ;
25702 return 0;
25703 }
25704 _ACEOF
25705 rm -f conftest.$ac_objext conftest$ac_exeext
25706 if { (ac_try="$ac_link"
25707 case "(($ac_try" in
25708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25709 *) ac_try_echo=$ac_try;;
25710 esac
25711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25712 (eval "$ac_link") 2>conftest.er1
25713 ac_status=$?
25714 grep -v '^ *+' conftest.er1 >conftest.err
25715 rm -f conftest.er1
25716 cat conftest.err >&5
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); } && {
25719 test -z "$ac_c_werror_flag" ||
25720 test ! -s conftest.err
25721 } && test -s conftest$ac_exeext &&
25722 $as_test_x conftest$ac_exeext; then
25723 ac_cv_sys_largefile_source=1; break
25724 else
25725 echo "$as_me: failed program was:" >&5
25726 sed 's/^/| /' conftest.$ac_ext >&5
25727
25728
25729 fi
25730
25731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25732 conftest$ac_exeext conftest.$ac_ext
25733 ac_cv_sys_largefile_source=unknown
25734 break
25735 done
25736 fi
25737 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25738 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25739 case $ac_cv_sys_largefile_source in #(
25740 no | unknown) ;;
25741 *)
25742 cat >>confdefs.h <<_ACEOF
25743 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25744 _ACEOF
25745 ;;
25746 esac
25747 rm -f conftest*
25748
25749 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25750 # in glibc 2.1.3, but that breaks too many other things.
25751 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25752 if test $ac_cv_sys_largefile_source != unknown; then
25753
25754 cat >>confdefs.h <<\_ACEOF
25755 #define HAVE_FSEEKO 1
25756 _ACEOF
25757
25758 fi
25759
25760 if test "$ac_cv_sys_largefile_source" != no; then
25761 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25762 fi
25763 fi
25764
25765 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25766 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25767 if test "${ac_cv_c_bigendian+set}" = set; then
25768 echo $ECHO_N "(cached) $ECHO_C" >&6
25769 else
25770 ac_cv_c_bigendian=unknown
25771 # See if sys/param.h defines the BYTE_ORDER macro.
25772 cat >conftest.$ac_ext <<_ACEOF
25773 /* confdefs.h. */
25774 _ACEOF
25775 cat confdefs.h >>conftest.$ac_ext
25776 cat >>conftest.$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25778 #include <sys/types.h>
25779 #include <sys/param.h>
25780 int
25781 main ()
25782 {
25783
25784 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25785 bogus endian macros
25786 #endif
25787 ;
25788 return 0;
25789 }
25790 _ACEOF
25791 rm -f conftest.$ac_objext
25792 if { (ac_try="$ac_compile"
25793 case "(($ac_try" in
25794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25795 *) ac_try_echo=$ac_try;;
25796 esac
25797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25798 (eval "$ac_compile") 2>conftest.er1
25799 ac_status=$?
25800 grep -v '^ *+' conftest.er1 >conftest.err
25801 rm -f conftest.er1
25802 cat conftest.err >&5
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); } && {
25805 test -z "$ac_c_werror_flag" ||
25806 test ! -s conftest.err
25807 } && test -s conftest.$ac_objext; then
25808 # It does; now see whether it defined to BIG_ENDIAN or not.
25809 cat >conftest.$ac_ext <<_ACEOF
25810 /* confdefs.h. */
25811 _ACEOF
25812 cat confdefs.h >>conftest.$ac_ext
25813 cat >>conftest.$ac_ext <<_ACEOF
25814 /* end confdefs.h. */
25815 #include <sys/types.h>
25816 #include <sys/param.h>
25817 int
25818 main ()
25819 {
25820
25821 #if BYTE_ORDER != BIG_ENDIAN
25822 not big endian
25823 #endif
25824 ;
25825 return 0;
25826 }
25827 _ACEOF
25828 rm -f conftest.$ac_objext
25829 if { (ac_try="$ac_compile"
25830 case "(($ac_try" in
25831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25832 *) ac_try_echo=$ac_try;;
25833 esac
25834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25835 (eval "$ac_compile") 2>conftest.er1
25836 ac_status=$?
25837 grep -v '^ *+' conftest.er1 >conftest.err
25838 rm -f conftest.er1
25839 cat conftest.err >&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); } && {
25842 test -z "$ac_c_werror_flag" ||
25843 test ! -s conftest.err
25844 } && test -s conftest.$ac_objext; then
25845 ac_cv_c_bigendian=yes
25846 else
25847 echo "$as_me: failed program was:" >&5
25848 sed 's/^/| /' conftest.$ac_ext >&5
25849
25850 ac_cv_c_bigendian=no
25851 fi
25852
25853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25854 else
25855 echo "$as_me: failed program was:" >&5
25856 sed 's/^/| /' conftest.$ac_ext >&5
25857
25858
25859 fi
25860
25861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25862 if test $ac_cv_c_bigendian = unknown; then
25863 if test "$cross_compiling" = yes; then
25864 ac_cv_c_bigendian=unknown
25865 else
25866 cat >conftest.$ac_ext <<_ACEOF
25867 /* confdefs.h. */
25868 _ACEOF
25869 cat confdefs.h >>conftest.$ac_ext
25870 cat >>conftest.$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25872 main () {
25873 /* Are we little or big endian? From Harbison&Steele. */
25874 union
25875 {
25876 long l;
25877 char c[sizeof (long)];
25878 } u;
25879 u.l = 1;
25880 exit (u.c[sizeof (long) - 1] == 1);
25881 }
25882 _ACEOF
25883 rm -f conftest$ac_exeext
25884 if { (ac_try="$ac_link"
25885 case "(($ac_try" in
25886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25887 *) ac_try_echo=$ac_try;;
25888 esac
25889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25890 (eval "$ac_link") 2>&5
25891 ac_status=$?
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25894 { (case "(($ac_try" in
25895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25896 *) ac_try_echo=$ac_try;;
25897 esac
25898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25899 (eval "$ac_try") 2>&5
25900 ac_status=$?
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; }; then
25903 ac_cv_c_bigendian=no
25904 else
25905 echo "$as_me: program exited with status $ac_status" >&5
25906 echo "$as_me: failed program was:" >&5
25907 sed 's/^/| /' conftest.$ac_ext >&5
25908
25909 ( exit $ac_status )
25910 ac_cv_c_bigendian=yes
25911 fi
25912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25913 fi
25914
25915
25916 fi
25917 fi
25918 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25919 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25920 if test $ac_cv_c_bigendian = unknown; then
25921 { 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
25922 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;}
25923 fi
25924 if test $ac_cv_c_bigendian = yes; then
25925 cat >>confdefs.h <<\_ACEOF
25926 #define WORDS_BIGENDIAN 1
25927 _ACEOF
25928
25929 fi
25930
25931
25932
25933
25934 ac_ext=cpp
25935 ac_cpp='$CXXCPP $CPPFLAGS'
25936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25939
25940
25941
25942 for ac_header in iostream
25943 do
25944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25945 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25948 echo $ECHO_N "(cached) $ECHO_C" >&6
25949 else
25950 cat >conftest.$ac_ext <<_ACEOF
25951 /* confdefs.h. */
25952 _ACEOF
25953 cat confdefs.h >>conftest.$ac_ext
25954 cat >>conftest.$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25956
25957
25958 #include <$ac_header>
25959 _ACEOF
25960 rm -f conftest.$ac_objext
25961 if { (ac_try="$ac_compile"
25962 case "(($ac_try" in
25963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25964 *) ac_try_echo=$ac_try;;
25965 esac
25966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25967 (eval "$ac_compile") 2>conftest.er1
25968 ac_status=$?
25969 grep -v '^ *+' conftest.er1 >conftest.err
25970 rm -f conftest.er1
25971 cat conftest.err >&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); } && {
25974 test -z "$ac_cxx_werror_flag" ||
25975 test ! -s conftest.err
25976 } && test -s conftest.$ac_objext; then
25977 eval "$as_ac_Header=yes"
25978 else
25979 echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.$ac_ext >&5
25981
25982 eval "$as_ac_Header=no"
25983 fi
25984
25985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25986 fi
25987 ac_res=`eval echo '${'$as_ac_Header'}'`
25988 { echo "$as_me:$LINENO: result: $ac_res" >&5
25989 echo "${ECHO_T}$ac_res" >&6; }
25990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25991 cat >>confdefs.h <<_ACEOF
25992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25993 _ACEOF
25994
25995 fi
25996
25997 done
25998
25999
26000 if test "$ac_cv_header_iostream" = "yes" ; then
26001 :
26002 else
26003 cat >>confdefs.h <<\_ACEOF
26004 #define wxUSE_IOSTREAMH 1
26005 _ACEOF
26006
26007 fi
26008
26009 ac_ext=c
26010 ac_cpp='$CPP $CPPFLAGS'
26011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26014
26015
26016
26017
26018 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26019 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26020 if test "${wx_cv_cpp_bool+set}" = set; then
26021 echo $ECHO_N "(cached) $ECHO_C" >&6
26022 else
26023
26024
26025 ac_ext=cpp
26026 ac_cpp='$CXXCPP $CPPFLAGS'
26027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26030
26031
26032 cat >conftest.$ac_ext <<_ACEOF
26033 /* confdefs.h. */
26034 _ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038
26039
26040 int
26041 main ()
26042 {
26043
26044 bool b = true;
26045
26046 return 0;
26047
26048 ;
26049 return 0;
26050 }
26051 _ACEOF
26052 rm -f conftest.$ac_objext
26053 if { (ac_try="$ac_compile"
26054 case "(($ac_try" in
26055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26056 *) ac_try_echo=$ac_try;;
26057 esac
26058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26059 (eval "$ac_compile") 2>conftest.er1
26060 ac_status=$?
26061 grep -v '^ *+' conftest.er1 >conftest.err
26062 rm -f conftest.er1
26063 cat conftest.err >&5
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); } && {
26066 test -z "$ac_cxx_werror_flag" ||
26067 test ! -s conftest.err
26068 } && test -s conftest.$ac_objext; then
26069
26070 wx_cv_cpp_bool=yes
26071
26072 else
26073 echo "$as_me: failed program was:" >&5
26074 sed 's/^/| /' conftest.$ac_ext >&5
26075
26076
26077 wx_cv_cpp_bool=no
26078
26079
26080 fi
26081
26082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26083
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26089
26090
26091 fi
26092 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26093 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26094
26095 if test "$wx_cv_cpp_bool" = "yes"; then
26096 cat >>confdefs.h <<\_ACEOF
26097 #define HAVE_BOOL 1
26098 _ACEOF
26099
26100 fi
26101
26102
26103
26104 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26105 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26106 if test "${wx_cv_explicit+set}" = set; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 else
26109
26110
26111 ac_ext=cpp
26112 ac_cpp='$CXXCPP $CPPFLAGS'
26113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26116
26117
26118 cat >conftest.$ac_ext <<_ACEOF
26119 /* confdefs.h. */
26120 _ACEOF
26121 cat confdefs.h >>conftest.$ac_ext
26122 cat >>conftest.$ac_ext <<_ACEOF
26123 /* end confdefs.h. */
26124
26125 class Foo { public: explicit Foo(int) {} };
26126
26127 int
26128 main ()
26129 {
26130
26131 return 0;
26132
26133 ;
26134 return 0;
26135 }
26136 _ACEOF
26137 rm -f conftest.$ac_objext
26138 if { (ac_try="$ac_compile"
26139 case "(($ac_try" in
26140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26141 *) ac_try_echo=$ac_try;;
26142 esac
26143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26144 (eval "$ac_compile") 2>conftest.er1
26145 ac_status=$?
26146 grep -v '^ *+' conftest.er1 >conftest.err
26147 rm -f conftest.er1
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } && {
26151 test -z "$ac_cxx_werror_flag" ||
26152 test ! -s conftest.err
26153 } && test -s conftest.$ac_objext; then
26154
26155 cat >conftest.$ac_ext <<_ACEOF
26156 /* confdefs.h. */
26157 _ACEOF
26158 cat confdefs.h >>conftest.$ac_ext
26159 cat >>conftest.$ac_ext <<_ACEOF
26160 /* end confdefs.h. */
26161
26162 class Foo { public: explicit Foo(int) {} };
26163 static void TakeFoo(const Foo& foo) { }
26164
26165 int
26166 main ()
26167 {
26168
26169 TakeFoo(17);
26170 return 0;
26171
26172 ;
26173 return 0;
26174 }
26175 _ACEOF
26176 rm -f conftest.$ac_objext
26177 if { (ac_try="$ac_compile"
26178 case "(($ac_try" in
26179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26180 *) ac_try_echo=$ac_try;;
26181 esac
26182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26183 (eval "$ac_compile") 2>conftest.er1
26184 ac_status=$?
26185 grep -v '^ *+' conftest.er1 >conftest.err
26186 rm -f conftest.er1
26187 cat conftest.err >&5
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); } && {
26190 test -z "$ac_cxx_werror_flag" ||
26191 test ! -s conftest.err
26192 } && test -s conftest.$ac_objext; then
26193 wx_cv_explicit=no
26194 else
26195 echo "$as_me: failed program was:" >&5
26196 sed 's/^/| /' conftest.$ac_ext >&5
26197
26198 wx_cv_explicit=yes
26199
26200 fi
26201
26202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26203
26204 else
26205 echo "$as_me: failed program was:" >&5
26206 sed 's/^/| /' conftest.$ac_ext >&5
26207
26208 wx_cv_explicit=no
26209
26210 fi
26211
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26213
26214 ac_ext=c
26215 ac_cpp='$CPP $CPPFLAGS'
26216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26219
26220
26221 fi
26222 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26223 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26224
26225 if test "$wx_cv_explicit" = "yes"; then
26226 cat >>confdefs.h <<\_ACEOF
26227 #define HAVE_EXPLICIT 1
26228 _ACEOF
26229
26230 fi
26231
26232
26233 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26234 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26235 if test "${ac_cv_cxx_const_cast+set}" = set; then
26236 echo $ECHO_N "(cached) $ECHO_C" >&6
26237 else
26238
26239 ac_ext=cpp
26240 ac_cpp='$CXXCPP $CPPFLAGS'
26241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26244
26245 cat >conftest.$ac_ext <<_ACEOF
26246 /* confdefs.h. */
26247 _ACEOF
26248 cat confdefs.h >>conftest.$ac_ext
26249 cat >>conftest.$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26251
26252 int
26253 main ()
26254 {
26255 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26256 ;
26257 return 0;
26258 }
26259 _ACEOF
26260 rm -f conftest.$ac_objext
26261 if { (ac_try="$ac_compile"
26262 case "(($ac_try" in
26263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26264 *) ac_try_echo=$ac_try;;
26265 esac
26266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26267 (eval "$ac_compile") 2>conftest.er1
26268 ac_status=$?
26269 grep -v '^ *+' conftest.er1 >conftest.err
26270 rm -f conftest.er1
26271 cat conftest.err >&5
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); } && {
26274 test -z "$ac_cxx_werror_flag" ||
26275 test ! -s conftest.err
26276 } && test -s conftest.$ac_objext; then
26277 ac_cv_cxx_const_cast=yes
26278 else
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.$ac_ext >&5
26281
26282 ac_cv_cxx_const_cast=no
26283 fi
26284
26285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286 ac_ext=c
26287 ac_cpp='$CPP $CPPFLAGS'
26288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26291
26292
26293 fi
26294 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26295 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26296 if test "$ac_cv_cxx_const_cast" = yes; then
26297
26298 cat >>confdefs.h <<\_ACEOF
26299 #define HAVE_CONST_CAST
26300 _ACEOF
26301
26302 fi
26303
26304 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26305 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26306 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26307 echo $ECHO_N "(cached) $ECHO_C" >&6
26308 else
26309
26310 ac_ext=cpp
26311 ac_cpp='$CXXCPP $CPPFLAGS'
26312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26315
26316 cat >conftest.$ac_ext <<_ACEOF
26317 /* confdefs.h. */
26318 _ACEOF
26319 cat confdefs.h >>conftest.$ac_ext
26320 cat >>conftest.$ac_ext <<_ACEOF
26321 /* end confdefs.h. */
26322 #include <typeinfo>
26323 class Base { public : Base () {} virtual void f () = 0;};
26324 class Derived : public Base { public : Derived () {} virtual void f () {} };
26325 class Unrelated { public : Unrelated () {} };
26326 int g (Unrelated&) { return 0; }
26327 int
26328 main ()
26329 {
26330
26331 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26332 ;
26333 return 0;
26334 }
26335 _ACEOF
26336 rm -f conftest.$ac_objext
26337 if { (ac_try="$ac_compile"
26338 case "(($ac_try" in
26339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26340 *) ac_try_echo=$ac_try;;
26341 esac
26342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26343 (eval "$ac_compile") 2>conftest.er1
26344 ac_status=$?
26345 grep -v '^ *+' conftest.er1 >conftest.err
26346 rm -f conftest.er1
26347 cat conftest.err >&5
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); } && {
26350 test -z "$ac_cxx_werror_flag" ||
26351 test ! -s conftest.err
26352 } && test -s conftest.$ac_objext; then
26353 ac_cv_cxx_reinterpret_cast=yes
26354 else
26355 echo "$as_me: failed program was:" >&5
26356 sed 's/^/| /' conftest.$ac_ext >&5
26357
26358 ac_cv_cxx_reinterpret_cast=no
26359 fi
26360
26361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26362 ac_ext=c
26363 ac_cpp='$CPP $CPPFLAGS'
26364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26367
26368
26369 fi
26370 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26371 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26372 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26373
26374 cat >>confdefs.h <<\_ACEOF
26375 #define HAVE_REINTERPRET_CAST
26376 _ACEOF
26377
26378 fi
26379
26380 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26381 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26382 if test "${ac_cv_cxx_static_cast+set}" = set; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26384 else
26385
26386 ac_ext=cpp
26387 ac_cpp='$CXXCPP $CPPFLAGS'
26388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26391
26392 cat >conftest.$ac_ext <<_ACEOF
26393 /* confdefs.h. */
26394 _ACEOF
26395 cat confdefs.h >>conftest.$ac_ext
26396 cat >>conftest.$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26398 #include <typeinfo>
26399 class Base { public : Base () {} virtual void f () = 0; };
26400 class Derived : public Base { public : Derived () {} virtual void f () {} };
26401 int g (Derived&) { return 0; }
26402 int
26403 main ()
26404 {
26405
26406 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26407 ;
26408 return 0;
26409 }
26410 _ACEOF
26411 rm -f conftest.$ac_objext
26412 if { (ac_try="$ac_compile"
26413 case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26416 esac
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_compile") 2>conftest.er1
26419 ac_status=$?
26420 grep -v '^ *+' conftest.er1 >conftest.err
26421 rm -f conftest.er1
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } && {
26425 test -z "$ac_cxx_werror_flag" ||
26426 test ! -s conftest.err
26427 } && test -s conftest.$ac_objext; then
26428 ac_cv_cxx_static_cast=yes
26429 else
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26432
26433 ac_cv_cxx_static_cast=no
26434 fi
26435
26436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26437 ac_ext=c
26438 ac_cpp='$CPP $CPPFLAGS'
26439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26442
26443
26444 fi
26445 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26446 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26447 if test "$ac_cv_cxx_static_cast" = yes; then
26448
26449 cat >>confdefs.h <<\_ACEOF
26450 #define HAVE_STATIC_CAST
26451 _ACEOF
26452
26453 fi
26454
26455
26456 if test "x$SUNCXX" = xyes; then
26457 CXXFLAGS="-features=tmplife $CXXFLAGS"
26458 fi
26459
26460 if test "x$SUNCC" = xyes; then
26461 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26462 fi
26463
26464 if test "x$SGICC" = "xyes"; then
26465 CFLAGS="-woff 3970 $CFLAGS"
26466 fi
26467 if test "x$SGICXX" = "xyes"; then
26468 CXXFLAGS="-woff 3970 $CXXFLAGS"
26469 fi
26470
26471 if test "x$HPCC" = "xyes"; then
26472 CFLAGS="+W 2011,2450 $CFLAGS"
26473 fi
26474 if test "x$HPCXX" = "xyes"; then
26475 CXXFLAGS="+W 2340 $CXXFLAGS"
26476 fi
26477
26478 if test "x$COMPAQCXX" = "xyes"; then
26479 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26480 fi
26481
26482 ac_ext=cpp
26483 ac_cpp='$CXXCPP $CPPFLAGS'
26484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26487
26488
26489 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26490 if test "$wxUSE_UNICODE" = "yes"; then
26491 std_string="std::wstring"
26492 char_type="wchar_t"
26493 else
26494 std_string="std::string"
26495 char_type="char"
26496 fi
26497
26498 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26499 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26500 if test "${wx_cv_class_stdstring+set}" = set; then
26501 echo $ECHO_N "(cached) $ECHO_C" >&6
26502 else
26503
26504 cat >conftest.$ac_ext <<_ACEOF
26505 /* confdefs.h. */
26506 _ACEOF
26507 cat confdefs.h >>conftest.$ac_ext
26508 cat >>conftest.$ac_ext <<_ACEOF
26509 /* end confdefs.h. */
26510 #include <string>
26511 int
26512 main ()
26513 {
26514 $std_string foo;
26515 ;
26516 return 0;
26517 }
26518 _ACEOF
26519 rm -f conftest.$ac_objext
26520 if { (ac_try="$ac_compile"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26524 esac
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_compile") 2>conftest.er1
26527 ac_status=$?
26528 grep -v '^ *+' conftest.er1 >conftest.err
26529 rm -f conftest.er1
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_cxx_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest.$ac_objext; then
26536 wx_cv_class_stdstring=yes
26537 else
26538 echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.$ac_ext >&5
26540
26541 wx_cv_class_stdstring=no
26542
26543 fi
26544
26545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26546
26547
26548 fi
26549 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26550 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26551
26552 if test "$wx_cv_class_stdstring" = yes; then
26553 if test "$wxUSE_UNICODE" = "yes"; then
26554 cat >>confdefs.h <<\_ACEOF
26555 #define HAVE_STD_WSTRING 1
26556 _ACEOF
26557
26558 fi
26559 else
26560 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26561 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26562 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26563 echo $ECHO_N "(cached) $ECHO_C" >&6
26564 else
26565
26566 cat >conftest.$ac_ext <<_ACEOF
26567 /* confdefs.h. */
26568 _ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572
26573 #ifdef HAVE_WCHAR_H
26574 # ifdef __CYGWIN__
26575 # include <stddef.h>
26576 # endif
26577 # include <wchar.h>
26578 #endif
26579 #ifdef HAVE_STDLIB_H
26580 # include <stdlib.h>
26581 #endif
26582 #include <stdio.h>
26583 #include <string>
26584
26585 int
26586 main ()
26587 {
26588 std::basic_string<$char_type> foo;
26589 const $char_type* dummy = foo.c_str();
26590 ;
26591 return 0;
26592 }
26593 _ACEOF
26594 rm -f conftest.$ac_objext
26595 if { (ac_try="$ac_compile"
26596 case "(($ac_try" in
26597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26598 *) ac_try_echo=$ac_try;;
26599 esac
26600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26601 (eval "$ac_compile") 2>conftest.er1
26602 ac_status=$?
26603 grep -v '^ *+' conftest.er1 >conftest.err
26604 rm -f conftest.er1
26605 cat conftest.err >&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); } && {
26608 test -z "$ac_cxx_werror_flag" ||
26609 test ! -s conftest.err
26610 } && test -s conftest.$ac_objext; then
26611 wx_cv_class_stdbasicstring=yes
26612 else
26613 echo "$as_me: failed program was:" >&5
26614 sed 's/^/| /' conftest.$ac_ext >&5
26615
26616 wx_cv_class_stdbasicstring=no
26617
26618 fi
26619
26620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26621
26622
26623 fi
26624 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26625 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26626
26627 if test "$wx_cv_class_stdbasicstring" != yes; then
26628 if test "$wxUSE_STL" = "yes"; then
26629 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26630 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26631 { (exit 1); exit 1; }; }
26632 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26633 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26634 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26635 { (exit 1); exit 1; }; }
26636 else
26637 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26638 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26639 wxUSE_STD_STRING=no
26640 fi
26641 fi
26642 fi
26643 fi
26644
26645 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26646 { echo "$as_me:$LINENO: checking for std::istream" >&5
26647 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26648 if test "${ac_cv_type_std__istream+set}" = set; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26650 else
26651 cat >conftest.$ac_ext <<_ACEOF
26652 /* confdefs.h. */
26653 _ACEOF
26654 cat confdefs.h >>conftest.$ac_ext
26655 cat >>conftest.$ac_ext <<_ACEOF
26656 /* end confdefs.h. */
26657 #include <iostream>
26658
26659 typedef std::istream ac__type_new_;
26660 int
26661 main ()
26662 {
26663 if ((ac__type_new_ *) 0)
26664 return 0;
26665 if (sizeof (ac__type_new_))
26666 return 0;
26667 ;
26668 return 0;
26669 }
26670 _ACEOF
26671 rm -f conftest.$ac_objext
26672 if { (ac_try="$ac_compile"
26673 case "(($ac_try" in
26674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26675 *) ac_try_echo=$ac_try;;
26676 esac
26677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26678 (eval "$ac_compile") 2>conftest.er1
26679 ac_status=$?
26680 grep -v '^ *+' conftest.er1 >conftest.err
26681 rm -f conftest.er1
26682 cat conftest.err >&5
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); } && {
26685 test -z "$ac_cxx_werror_flag" ||
26686 test ! -s conftest.err
26687 } && test -s conftest.$ac_objext; then
26688 ac_cv_type_std__istream=yes
26689 else
26690 echo "$as_me: failed program was:" >&5
26691 sed 's/^/| /' conftest.$ac_ext >&5
26692
26693 ac_cv_type_std__istream=no
26694 fi
26695
26696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26697 fi
26698 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26699 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26700 if test $ac_cv_type_std__istream = yes; then
26701
26702 cat >>confdefs.h <<_ACEOF
26703 #define HAVE_STD__ISTREAM 1
26704 _ACEOF
26705
26706
26707 else
26708 wxUSE_STD_IOSTREAM=no
26709 fi
26710 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26711 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26712 if test "${ac_cv_type_std__ostream+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 else
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 #include <iostream>
26722
26723 typedef std::ostream ac__type_new_;
26724 int
26725 main ()
26726 {
26727 if ((ac__type_new_ *) 0)
26728 return 0;
26729 if (sizeof (ac__type_new_))
26730 return 0;
26731 ;
26732 return 0;
26733 }
26734 _ACEOF
26735 rm -f conftest.$ac_objext
26736 if { (ac_try="$ac_compile"
26737 case "(($ac_try" in
26738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26739 *) ac_try_echo=$ac_try;;
26740 esac
26741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26742 (eval "$ac_compile") 2>conftest.er1
26743 ac_status=$?
26744 grep -v '^ *+' conftest.er1 >conftest.err
26745 rm -f conftest.er1
26746 cat conftest.err >&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); } && {
26749 test -z "$ac_cxx_werror_flag" ||
26750 test ! -s conftest.err
26751 } && test -s conftest.$ac_objext; then
26752 ac_cv_type_std__ostream=yes
26753 else
26754 echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.$ac_ext >&5
26756
26757 ac_cv_type_std__ostream=no
26758 fi
26759
26760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26761 fi
26762 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26763 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26764 if test $ac_cv_type_std__ostream = yes; then
26765
26766 cat >>confdefs.h <<_ACEOF
26767 #define HAVE_STD__OSTREAM 1
26768 _ACEOF
26769
26770
26771 else
26772 wxUSE_STD_IOSTREAM=no
26773 fi
26774
26775
26776 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26777 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26778 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26779 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26780 { (exit 1); exit 1; }; }
26781 else
26782 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26783 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26784 fi
26785 fi
26786 fi
26787
26788 if test "$wxUSE_STL" = "yes"; then
26789 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26790 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26791 if test "${wx_cv_lib_stl+set}" = set; then
26792 echo $ECHO_N "(cached) $ECHO_C" >&6
26793 else
26794 cat >conftest.$ac_ext <<_ACEOF
26795 /* confdefs.h. */
26796 _ACEOF
26797 cat confdefs.h >>conftest.$ac_ext
26798 cat >>conftest.$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800 #include <string>
26801 #include <functional>
26802 #include <algorithm>
26803 #include <vector>
26804 #include <list>
26805 int
26806 main ()
26807 {
26808 std::vector<int> moo;
26809 std::list<int> foo;
26810 std::vector<int>::iterator it =
26811 std::find_if(moo.begin(), moo.end(),
26812 std::bind2nd(std::less<int>(), 3));
26813 ;
26814 return 0;
26815 }
26816 _ACEOF
26817 rm -f conftest.$ac_objext
26818 if { (ac_try="$ac_compile"
26819 case "(($ac_try" in
26820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26821 *) ac_try_echo=$ac_try;;
26822 esac
26823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26824 (eval "$ac_compile") 2>conftest.er1
26825 ac_status=$?
26826 grep -v '^ *+' conftest.er1 >conftest.err
26827 rm -f conftest.er1
26828 cat conftest.err >&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); } && {
26831 test -z "$ac_cxx_werror_flag" ||
26832 test ! -s conftest.err
26833 } && test -s conftest.$ac_objext; then
26834 wx_cv_lib_stl=yes
26835 else
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.$ac_ext >&5
26838
26839 wx_cv_lib_stl=no
26840
26841 fi
26842
26843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26844
26845 fi
26846 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26847 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26848
26849 if test "$wx_cv_lib_stl" != yes; then
26850 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26851 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26852 { (exit 1); exit 1; }; }
26853 fi
26854
26855 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26856 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26857 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26859 else
26860 cat >conftest.$ac_ext <<_ACEOF
26861 /* confdefs.h. */
26862 _ACEOF
26863 cat confdefs.h >>conftest.$ac_ext
26864 cat >>conftest.$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26866 #include <string>
26867 int
26868 main ()
26869 {
26870 std::string foo, bar;
26871 foo.compare(bar);
26872 foo.compare(1, 1, bar);
26873 foo.compare(1, 1, bar, 1, 1);
26874 foo.compare("");
26875 foo.compare(1, 1, "");
26876 foo.compare(1, 1, "", 2);
26877 ;
26878 return 0;
26879 }
26880 _ACEOF
26881 rm -f conftest.$ac_objext
26882 if { (ac_try="$ac_compile"
26883 case "(($ac_try" in
26884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26885 *) ac_try_echo=$ac_try;;
26886 esac
26887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26888 (eval "$ac_compile") 2>conftest.er1
26889 ac_status=$?
26890 grep -v '^ *+' conftest.er1 >conftest.err
26891 rm -f conftest.er1
26892 cat conftest.err >&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); } && {
26895 test -z "$ac_cxx_werror_flag" ||
26896 test ! -s conftest.err
26897 } && test -s conftest.$ac_objext; then
26898 wx_cv_func_stdstring_compare=yes
26899 else
26900 echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.$ac_ext >&5
26902
26903 wx_cv_func_stdstring_compare=no
26904
26905 fi
26906
26907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26908
26909 fi
26910 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26911 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26912
26913 if test "$wx_cv_func_stdstring_compare" = yes; then
26914 cat >>confdefs.h <<\_ACEOF
26915 #define HAVE_STD_STRING_COMPARE 1
26916 _ACEOF
26917
26918 fi
26919
26920 { echo "$as_me:$LINENO: checking for hash_map" >&5
26921 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26922 if test "${ac_cv_header_hash_map+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 else
26925 cat >conftest.$ac_ext <<_ACEOF
26926 /* confdefs.h. */
26927 _ACEOF
26928 cat confdefs.h >>conftest.$ac_ext
26929 cat >>conftest.$ac_ext <<_ACEOF
26930 /* end confdefs.h. */
26931
26932
26933
26934 #include <hash_map>
26935 _ACEOF
26936 rm -f conftest.$ac_objext
26937 if { (ac_try="$ac_compile"
26938 case "(($ac_try" in
26939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26940 *) ac_try_echo=$ac_try;;
26941 esac
26942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26943 (eval "$ac_compile") 2>conftest.er1
26944 ac_status=$?
26945 grep -v '^ *+' conftest.er1 >conftest.err
26946 rm -f conftest.er1
26947 cat conftest.err >&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); } && {
26950 test -z "$ac_cxx_werror_flag" ||
26951 test ! -s conftest.err
26952 } && test -s conftest.$ac_objext; then
26953 ac_cv_header_hash_map=yes
26954 else
26955 echo "$as_me: failed program was:" >&5
26956 sed 's/^/| /' conftest.$ac_ext >&5
26957
26958 ac_cv_header_hash_map=no
26959 fi
26960
26961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26962 fi
26963 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26964 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26965 if test $ac_cv_header_hash_map = yes; then
26966 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26967 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26968 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26969 echo $ECHO_N "(cached) $ECHO_C" >&6
26970 else
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h. */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977 #include <hash_map>
26978 #include <hash_set>
26979 int
26980 main ()
26981 {
26982 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26983 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26984 ;
26985 return 0;
26986 }
26987 _ACEOF
26988 rm -f conftest.$ac_objext
26989 if { (ac_try="$ac_compile"
26990 case "(($ac_try" in
26991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26992 *) ac_try_echo=$ac_try;;
26993 esac
26994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26995 (eval "$ac_compile") 2>conftest.er1
26996 ac_status=$?
26997 grep -v '^ *+' conftest.er1 >conftest.err
26998 rm -f conftest.er1
26999 cat conftest.err >&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } && {
27002 test -z "$ac_cxx_werror_flag" ||
27003 test ! -s conftest.err
27004 } && test -s conftest.$ac_objext; then
27005 wx_cv_class_stdhashmapset=yes
27006 else
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.$ac_ext >&5
27009
27010 wx_cv_class_stdhashmapset=no
27011 fi
27012
27013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27014
27015
27016 fi
27017 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27018 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27019 fi
27020
27021
27022
27023 if test "$wx_cv_class_stdhashmapset" = yes; then
27024 cat >>confdefs.h <<\_ACEOF
27025 #define HAVE_HASH_MAP 1
27026 _ACEOF
27027
27028 cat >>confdefs.h <<\_ACEOF
27029 #define HAVE_STD_HASH_MAP 1
27030 _ACEOF
27031
27032 fi
27033
27034 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27035 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27036 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27037 echo $ECHO_N "(cached) $ECHO_C" >&6
27038 else
27039 cat >conftest.$ac_ext <<_ACEOF
27040 /* confdefs.h. */
27041 _ACEOF
27042 cat confdefs.h >>conftest.$ac_ext
27043 cat >>conftest.$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27045
27046
27047
27048 #include <ext/hash_map>
27049 _ACEOF
27050 rm -f conftest.$ac_objext
27051 if { (ac_try="$ac_compile"
27052 case "(($ac_try" in
27053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27054 *) ac_try_echo=$ac_try;;
27055 esac
27056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27057 (eval "$ac_compile") 2>conftest.er1
27058 ac_status=$?
27059 grep -v '^ *+' conftest.er1 >conftest.err
27060 rm -f conftest.er1
27061 cat conftest.err >&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } && {
27064 test -z "$ac_cxx_werror_flag" ||
27065 test ! -s conftest.err
27066 } && test -s conftest.$ac_objext; then
27067 ac_cv_header_ext_hash_map=yes
27068 else
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27071
27072 ac_cv_header_ext_hash_map=no
27073 fi
27074
27075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27076 fi
27077 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27078 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27079 if test $ac_cv_header_ext_hash_map = yes; then
27080 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27081 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27082 if test "${wx_cv_class_gnuhashmapset+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 <ext/hash_map>
27092 #include <ext/hash_set>
27093 int
27094 main ()
27095 {
27096 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27097 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27098 ;
27099 return 0;
27100 }
27101 _ACEOF
27102 rm -f conftest.$ac_objext
27103 if { (ac_try="$ac_compile"
27104 case "(($ac_try" in
27105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27106 *) ac_try_echo=$ac_try;;
27107 esac
27108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27109 (eval "$ac_compile") 2>conftest.er1
27110 ac_status=$?
27111 grep -v '^ *+' conftest.er1 >conftest.err
27112 rm -f conftest.er1
27113 cat conftest.err >&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); } && {
27116 test -z "$ac_cxx_werror_flag" ||
27117 test ! -s conftest.err
27118 } && test -s conftest.$ac_objext; then
27119 wx_cv_class_gnuhashmapset=yes
27120 else
27121 echo "$as_me: failed program was:" >&5
27122 sed 's/^/| /' conftest.$ac_ext >&5
27123
27124 wx_cv_class_gnuhashmapset=no
27125 fi
27126
27127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27128
27129
27130 fi
27131 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27132 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27133 fi
27134
27135
27136
27137 if test "$wx_cv_class_gnuhashmapset" = yes; then
27138 cat >>confdefs.h <<\_ACEOF
27139 #define HAVE_EXT_HASH_MAP 1
27140 _ACEOF
27141
27142 cat >>confdefs.h <<\_ACEOF
27143 #define HAVE_GNU_CXX_HASH_MAP 1
27144 _ACEOF
27145
27146 fi
27147 fi
27148
27149 ac_ext=c
27150 ac_cpp='$CPP $CPPFLAGS'
27151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27154
27155
27156
27157 SEARCH_INCLUDE="\
27158 /usr/local/include \
27159 \
27160 /usr/Motif-2.1/include \
27161 /usr/Motif-1.2/include \
27162 /usr/include/Motif1.2 \
27163 \
27164 /usr/dt/include \
27165 /usr/openwin/include \
27166 \
27167 /usr/include/Xm \
27168 \
27169 /usr/X11R6/include \
27170 /usr/X11R6.4/include \
27171 /usr/X11R5/include \
27172 /usr/X11R4/include \
27173 \
27174 /usr/include/X11R6 \
27175 /usr/include/X11R5 \
27176 /usr/include/X11R4 \
27177 \
27178 /usr/local/X11R6/include \
27179 /usr/local/X11R5/include \
27180 /usr/local/X11R4/include \
27181 \
27182 /usr/local/include/X11R6 \
27183 /usr/local/include/X11R5 \
27184 /usr/local/include/X11R4 \
27185 \
27186 /usr/X11/include \
27187 /usr/include/X11 \
27188 /usr/local/X11/include \
27189 /usr/local/include/X11 \
27190 \
27191 /usr/XFree86/include/X11 \
27192 /usr/pkg/include \
27193 \
27194 /usr/openwin/share/include"
27195
27196 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27197 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27198
27199 case "${host}" in
27200 *-*-irix6* )
27201 if test "${wx_cv_std_libpath+set}" = set; then
27202 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 else
27204
27205 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27206 for e in a so sl dylib dll.a; do
27207 libc="$d/libc.$e"
27208 if test -f $libc; then
27209 save_LIBS="$LIBS"
27210 LIBS="$libc"
27211 cat >conftest.$ac_ext <<_ACEOF
27212 int main() { return 0; }
27213 _ACEOF
27214 rm -f conftest.$ac_objext conftest$ac_exeext
27215 if { (ac_try="$ac_link"
27216 case "(($ac_try" in
27217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27218 *) ac_try_echo=$ac_try;;
27219 esac
27220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27221 (eval "$ac_link") 2>conftest.er1
27222 ac_status=$?
27223 grep -v '^ *+' conftest.er1 >conftest.err
27224 rm -f conftest.er1
27225 cat conftest.err >&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } && {
27228 test -z "$ac_c_werror_flag" ||
27229 test ! -s conftest.err
27230 } && test -s conftest$ac_exeext &&
27231 $as_test_x conftest$ac_exeext; then
27232 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27233 else
27234 echo "$as_me: failed program was:" >&5
27235 sed 's/^/| /' conftest.$ac_ext >&5
27236
27237
27238 fi
27239
27240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27241 conftest$ac_exeext conftest.$ac_ext
27242 LIBS="$save_LIBS"
27243 if test "x$wx_cv_std_libpath" != "x"; then
27244 break 2
27245 fi
27246 fi
27247 done
27248 done
27249 if test "x$wx_cv_std_libpath" = "x"; then
27250 wx_cv_std_libpath="lib"
27251 fi
27252
27253
27254 fi
27255
27256 ;;
27257
27258 *-*-solaris2* )
27259 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27260 wx_cv_std_libpath="lib/64"
27261 else
27262 wx_cv_std_libpath="lib"
27263 fi
27264 ;;
27265
27266 *-*-linux* )
27267 if test "$ac_cv_sizeof_void_p" = 8 -a \
27268 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27269 wx_cv_std_libpath="lib64"
27270 else
27271 wx_cv_std_libpath="lib"
27272 fi
27273 ;;
27274
27275 *)
27276 wx_cv_std_libpath="lib";
27277 ;;
27278 esac
27279
27280 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27281 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27282
27283 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27284
27285 if test "$build" != "$host" -a "$GCC" = yes; then
27286 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27287 cross_root=`dirname $cross_root`
27288 cross_root=`dirname $cross_root`
27289
27290 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27291 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27292 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27293
27294 if test -z "$PKG_CONFIG_PATH"; then
27295 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27296 export PKG_CONFIG_PATH
27297 fi
27298
27299 if test -z "$x_includes" -o "$x_includes" = NONE; then
27300
27301 ac_find_includes=
27302 for ac_dir in $SEARCH_INCLUDE /usr/include;
27303 do
27304 if test -f "$ac_dir/X11/Intrinsic.h"; then
27305 ac_find_includes=$ac_dir
27306 break
27307 fi
27308 done
27309
27310 x_includes=$ac_find_includes
27311 fi
27312 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27313
27314 ac_find_libraries=
27315 for ac_dir in $SEARCH_LIB;
27316 do
27317 for ac_extension in a so sl dylib dll.a; do
27318 if test -f "$ac_dir/libXt.$ac_extension"; then
27319 ac_find_libraries=$ac_dir
27320 break 2
27321 fi
27322 done
27323 done
27324
27325 x_libraries=$ac_find_libraries
27326 fi
27327 fi
27328 fi
27329
27330
27331 cat >confcache <<\_ACEOF
27332 # This file is a shell script that caches the results of configure
27333 # tests run on this system so they can be shared between configure
27334 # scripts and configure runs, see configure's option --config-cache.
27335 # It is not useful on other systems. If it contains results you don't
27336 # want to keep, you may remove or edit it.
27337 #
27338 # config.status only pays attention to the cache file if you give it
27339 # the --recheck option to rerun configure.
27340 #
27341 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27342 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27343 # following values.
27344
27345 _ACEOF
27346
27347 # The following way of writing the cache mishandles newlines in values,
27348 # but we know of no workaround that is simple, portable, and efficient.
27349 # So, we kill variables containing newlines.
27350 # Ultrix sh set writes to stderr and can't be redirected directly,
27351 # and sets the high bit in the cache file unless we assign to the vars.
27352 (
27353 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27354 eval ac_val=\$$ac_var
27355 case $ac_val in #(
27356 *${as_nl}*)
27357 case $ac_var in #(
27358 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27359 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27360 esac
27361 case $ac_var in #(
27362 _ | IFS | as_nl) ;; #(
27363 *) $as_unset $ac_var ;;
27364 esac ;;
27365 esac
27366 done
27367
27368 (set) 2>&1 |
27369 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27370 *${as_nl}ac_space=\ *)
27371 # `set' does not quote correctly, so add quotes (double-quote
27372 # substitution turns \\\\ into \\, and sed turns \\ into \).
27373 sed -n \
27374 "s/'/'\\\\''/g;
27375 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27376 ;; #(
27377 *)
27378 # `set' quotes correctly as required by POSIX, so do not add quotes.
27379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27380 ;;
27381 esac |
27382 sort
27383 ) |
27384 sed '
27385 /^ac_cv_env_/b end
27386 t clear
27387 :clear
27388 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27389 t end
27390 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27391 :end' >>confcache
27392 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27393 if test -w "$cache_file"; then
27394 test "x$cache_file" != "x/dev/null" &&
27395 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27396 echo "$as_me: updating cache $cache_file" >&6;}
27397 cat confcache >$cache_file
27398 else
27399 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27400 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27401 fi
27402 fi
27403 rm -f confcache
27404
27405 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27406 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27407 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27408 if test "${wx_cv_lib_glibc21+set}" = set; then
27409 echo $ECHO_N "(cached) $ECHO_C" >&6
27410 else
27411
27412 cat >conftest.$ac_ext <<_ACEOF
27413 /* confdefs.h. */
27414 _ACEOF
27415 cat confdefs.h >>conftest.$ac_ext
27416 cat >>conftest.$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27418 #include <features.h>
27419 int
27420 main ()
27421 {
27422
27423 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27424 not glibc 2.1
27425 #endif
27426
27427 ;
27428 return 0;
27429 }
27430 _ACEOF
27431 rm -f conftest.$ac_objext
27432 if { (ac_try="$ac_compile"
27433 case "(($ac_try" in
27434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27435 *) ac_try_echo=$ac_try;;
27436 esac
27437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27438 (eval "$ac_compile") 2>conftest.er1
27439 ac_status=$?
27440 grep -v '^ *+' conftest.er1 >conftest.err
27441 rm -f conftest.er1
27442 cat conftest.err >&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); } && {
27445 test -z "$ac_c_werror_flag" ||
27446 test ! -s conftest.err
27447 } && test -s conftest.$ac_objext; then
27448
27449 wx_cv_lib_glibc21=yes
27450
27451 else
27452 echo "$as_me: failed program was:" >&5
27453 sed 's/^/| /' conftest.$ac_ext >&5
27454
27455
27456 wx_cv_lib_glibc21=no
27457
27458
27459 fi
27460
27461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27462
27463 fi
27464 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27465 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27466 if test "$wx_cv_lib_glibc21" = "yes"; then
27467 cat >>confdefs.h <<\_ACEOF
27468 #define wxHAVE_GLIBC2 1
27469 _ACEOF
27470
27471 fi
27472 fi
27473
27474 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27475 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27476 cat >>confdefs.h <<\_ACEOF
27477 #define _GNU_SOURCE 1
27478 _ACEOF
27479
27480 fi
27481 fi
27482
27483 have_cos=0
27484 have_floor=0
27485
27486 for ac_func in cos
27487 do
27488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27489 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27491 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27492 echo $ECHO_N "(cached) $ECHO_C" >&6
27493 else
27494 cat >conftest.$ac_ext <<_ACEOF
27495 /* confdefs.h. */
27496 _ACEOF
27497 cat confdefs.h >>conftest.$ac_ext
27498 cat >>conftest.$ac_ext <<_ACEOF
27499 /* end confdefs.h. */
27500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27502 #define $ac_func innocuous_$ac_func
27503
27504 /* System header to define __stub macros and hopefully few prototypes,
27505 which can conflict with char $ac_func (); below.
27506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27507 <limits.h> exists even on freestanding compilers. */
27508
27509 #ifdef __STDC__
27510 # include <limits.h>
27511 #else
27512 # include <assert.h>
27513 #endif
27514
27515 #undef $ac_func
27516
27517 /* Override any GCC internal prototype to avoid an error.
27518 Use char because int might match the return type of a GCC
27519 builtin and then its argument prototype would still apply. */
27520 #ifdef __cplusplus
27521 extern "C"
27522 #endif
27523 char $ac_func ();
27524 /* The GNU C library defines this for functions which it implements
27525 to always fail with ENOSYS. Some functions are actually named
27526 something starting with __ and the normal name is an alias. */
27527 #if defined __stub_$ac_func || defined __stub___$ac_func
27528 choke me
27529 #endif
27530
27531 int
27532 main ()
27533 {
27534 return $ac_func ();
27535 ;
27536 return 0;
27537 }
27538 _ACEOF
27539 rm -f conftest.$ac_objext conftest$ac_exeext
27540 if { (ac_try="$ac_link"
27541 case "(($ac_try" in
27542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27543 *) ac_try_echo=$ac_try;;
27544 esac
27545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27546 (eval "$ac_link") 2>conftest.er1
27547 ac_status=$?
27548 grep -v '^ *+' conftest.er1 >conftest.err
27549 rm -f conftest.er1
27550 cat conftest.err >&5
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } && {
27553 test -z "$ac_c_werror_flag" ||
27554 test ! -s conftest.err
27555 } && test -s conftest$ac_exeext &&
27556 $as_test_x conftest$ac_exeext; then
27557 eval "$as_ac_var=yes"
27558 else
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27561
27562 eval "$as_ac_var=no"
27563 fi
27564
27565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27566 conftest$ac_exeext conftest.$ac_ext
27567 fi
27568 ac_res=`eval echo '${'$as_ac_var'}'`
27569 { echo "$as_me:$LINENO: result: $ac_res" >&5
27570 echo "${ECHO_T}$ac_res" >&6; }
27571 if test `eval echo '${'$as_ac_var'}'` = yes; then
27572 cat >>confdefs.h <<_ACEOF
27573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27574 _ACEOF
27575 have_cos=1
27576 fi
27577 done
27578
27579
27580 for ac_func in floor
27581 do
27582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27583 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27585 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27586 echo $ECHO_N "(cached) $ECHO_C" >&6
27587 else
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27596 #define $ac_func innocuous_$ac_func
27597
27598 /* System header to define __stub macros and hopefully few prototypes,
27599 which can conflict with char $ac_func (); below.
27600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27601 <limits.h> exists even on freestanding compilers. */
27602
27603 #ifdef __STDC__
27604 # include <limits.h>
27605 #else
27606 # include <assert.h>
27607 #endif
27608
27609 #undef $ac_func
27610
27611 /* Override any GCC internal prototype to avoid an error.
27612 Use char because int might match the return type of a GCC
27613 builtin and then its argument prototype would still apply. */
27614 #ifdef __cplusplus
27615 extern "C"
27616 #endif
27617 char $ac_func ();
27618 /* The GNU C library defines this for functions which it implements
27619 to always fail with ENOSYS. Some functions are actually named
27620 something starting with __ and the normal name is an alias. */
27621 #if defined __stub_$ac_func || defined __stub___$ac_func
27622 choke me
27623 #endif
27624
27625 int
27626 main ()
27627 {
27628 return $ac_func ();
27629 ;
27630 return 0;
27631 }
27632 _ACEOF
27633 rm -f conftest.$ac_objext conftest$ac_exeext
27634 if { (ac_try="$ac_link"
27635 case "(($ac_try" in
27636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27637 *) ac_try_echo=$ac_try;;
27638 esac
27639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27640 (eval "$ac_link") 2>conftest.er1
27641 ac_status=$?
27642 grep -v '^ *+' conftest.er1 >conftest.err
27643 rm -f conftest.er1
27644 cat conftest.err >&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); } && {
27647 test -z "$ac_c_werror_flag" ||
27648 test ! -s conftest.err
27649 } && test -s conftest$ac_exeext &&
27650 $as_test_x conftest$ac_exeext; then
27651 eval "$as_ac_var=yes"
27652 else
27653 echo "$as_me: failed program was:" >&5
27654 sed 's/^/| /' conftest.$ac_ext >&5
27655
27656 eval "$as_ac_var=no"
27657 fi
27658
27659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27660 conftest$ac_exeext conftest.$ac_ext
27661 fi
27662 ac_res=`eval echo '${'$as_ac_var'}'`
27663 { echo "$as_me:$LINENO: result: $ac_res" >&5
27664 echo "${ECHO_T}$ac_res" >&6; }
27665 if test `eval echo '${'$as_ac_var'}'` = yes; then
27666 cat >>confdefs.h <<_ACEOF
27667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27668 _ACEOF
27669 have_floor=1
27670 fi
27671 done
27672
27673 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27674 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27675 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27676 { echo "$as_me:$LINENO: result: yes" >&5
27677 echo "${ECHO_T}yes" >&6; }
27678 else
27679 { echo "$as_me:$LINENO: result: no" >&5
27680 echo "${ECHO_T}no" >&6; }
27681 LIBS="$LIBS -lm"
27682 # use different functions to avoid configure caching
27683 have_sin=0
27684 have_ceil=0
27685
27686 for ac_func in sin
27687 do
27688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27691 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694 cat >conftest.$ac_ext <<_ACEOF
27695 /* confdefs.h. */
27696 _ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27702 #define $ac_func innocuous_$ac_func
27703
27704 /* System header to define __stub macros and hopefully few prototypes,
27705 which can conflict with char $ac_func (); below.
27706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27707 <limits.h> exists even on freestanding compilers. */
27708
27709 #ifdef __STDC__
27710 # include <limits.h>
27711 #else
27712 # include <assert.h>
27713 #endif
27714
27715 #undef $ac_func
27716
27717 /* Override any GCC internal prototype to avoid an error.
27718 Use char because int might match the return type of a GCC
27719 builtin and then its argument prototype would still apply. */
27720 #ifdef __cplusplus
27721 extern "C"
27722 #endif
27723 char $ac_func ();
27724 /* The GNU C library defines this for functions which it implements
27725 to always fail with ENOSYS. Some functions are actually named
27726 something starting with __ and the normal name is an alias. */
27727 #if defined __stub_$ac_func || defined __stub___$ac_func
27728 choke me
27729 #endif
27730
27731 int
27732 main ()
27733 {
27734 return $ac_func ();
27735 ;
27736 return 0;
27737 }
27738 _ACEOF
27739 rm -f conftest.$ac_objext conftest$ac_exeext
27740 if { (ac_try="$ac_link"
27741 case "(($ac_try" in
27742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27743 *) ac_try_echo=$ac_try;;
27744 esac
27745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27746 (eval "$ac_link") 2>conftest.er1
27747 ac_status=$?
27748 grep -v '^ *+' conftest.er1 >conftest.err
27749 rm -f conftest.er1
27750 cat conftest.err >&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } && {
27753 test -z "$ac_c_werror_flag" ||
27754 test ! -s conftest.err
27755 } && test -s conftest$ac_exeext &&
27756 $as_test_x conftest$ac_exeext; then
27757 eval "$as_ac_var=yes"
27758 else
27759 echo "$as_me: failed program was:" >&5
27760 sed 's/^/| /' conftest.$ac_ext >&5
27761
27762 eval "$as_ac_var=no"
27763 fi
27764
27765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27766 conftest$ac_exeext conftest.$ac_ext
27767 fi
27768 ac_res=`eval echo '${'$as_ac_var'}'`
27769 { echo "$as_me:$LINENO: result: $ac_res" >&5
27770 echo "${ECHO_T}$ac_res" >&6; }
27771 if test `eval echo '${'$as_ac_var'}'` = yes; then
27772 cat >>confdefs.h <<_ACEOF
27773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27774 _ACEOF
27775 have_sin=1
27776 fi
27777 done
27778
27779
27780 for ac_func in ceil
27781 do
27782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27785 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27787 else
27788 cat >conftest.$ac_ext <<_ACEOF
27789 /* confdefs.h. */
27790 _ACEOF
27791 cat confdefs.h >>conftest.$ac_ext
27792 cat >>conftest.$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27796 #define $ac_func innocuous_$ac_func
27797
27798 /* System header to define __stub macros and hopefully few prototypes,
27799 which can conflict with char $ac_func (); below.
27800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27801 <limits.h> exists even on freestanding compilers. */
27802
27803 #ifdef __STDC__
27804 # include <limits.h>
27805 #else
27806 # include <assert.h>
27807 #endif
27808
27809 #undef $ac_func
27810
27811 /* Override any GCC internal prototype to avoid an error.
27812 Use char because int might match the return type of a GCC
27813 builtin and then its argument prototype would still apply. */
27814 #ifdef __cplusplus
27815 extern "C"
27816 #endif
27817 char $ac_func ();
27818 /* The GNU C library defines this for functions which it implements
27819 to always fail with ENOSYS. Some functions are actually named
27820 something starting with __ and the normal name is an alias. */
27821 #if defined __stub_$ac_func || defined __stub___$ac_func
27822 choke me
27823 #endif
27824
27825 int
27826 main ()
27827 {
27828 return $ac_func ();
27829 ;
27830 return 0;
27831 }
27832 _ACEOF
27833 rm -f conftest.$ac_objext conftest$ac_exeext
27834 if { (ac_try="$ac_link"
27835 case "(($ac_try" in
27836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27837 *) ac_try_echo=$ac_try;;
27838 esac
27839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27840 (eval "$ac_link") 2>conftest.er1
27841 ac_status=$?
27842 grep -v '^ *+' conftest.er1 >conftest.err
27843 rm -f conftest.er1
27844 cat conftest.err >&5
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); } && {
27847 test -z "$ac_c_werror_flag" ||
27848 test ! -s conftest.err
27849 } && test -s conftest$ac_exeext &&
27850 $as_test_x conftest$ac_exeext; then
27851 eval "$as_ac_var=yes"
27852 else
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27855
27856 eval "$as_ac_var=no"
27857 fi
27858
27859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27860 conftest$ac_exeext conftest.$ac_ext
27861 fi
27862 ac_res=`eval echo '${'$as_ac_var'}'`
27863 { echo "$as_me:$LINENO: result: $ac_res" >&5
27864 echo "${ECHO_T}$ac_res" >&6; }
27865 if test `eval echo '${'$as_ac_var'}'` = yes; then
27866 cat >>confdefs.h <<_ACEOF
27867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27868 _ACEOF
27869 have_ceil=1
27870 fi
27871 done
27872
27873 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27874 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27875 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27876 { echo "$as_me:$LINENO: result: yes" >&5
27877 echo "${ECHO_T}yes" >&6; }
27878 else
27879 { echo "$as_me:$LINENO: result: no" >&5
27880 echo "${ECHO_T}no" >&6; }
27881 # not sure we should warn the user, crash, etc.
27882 fi
27883 fi
27884
27885 ac_ext=cpp
27886 ac_cpp='$CXXCPP $CPPFLAGS'
27887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27890
27891 if test "wxUSE_UNICODE" = "yes"; then
27892
27893 for wx_func in wcstoull
27894 do
27895 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27896 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27897 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27898 echo $ECHO_N "(cached) $ECHO_C" >&6
27899 else
27900
27901 cat >conftest.$ac_ext <<_ACEOF
27902
27903 /* confdefs.h. */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908
27909
27910 $ac_includes_default
27911
27912 int
27913 main ()
27914 {
27915
27916 #ifndef $wx_func
27917 &$wx_func;
27918 #endif
27919
27920
27921 ;
27922 return 0;
27923 }
27924
27925 _ACEOF
27926 rm -f conftest.$ac_objext conftest$ac_exeext
27927 if { (ac_try="$ac_link"
27928 case "(($ac_try" in
27929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27930 *) ac_try_echo=$ac_try;;
27931 esac
27932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27933 (eval "$ac_link") 2>conftest.er1
27934 ac_status=$?
27935 grep -v '^ *+' conftest.er1 >conftest.err
27936 rm -f conftest.er1
27937 cat conftest.err >&5
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); } && {
27940 test -z "$ac_cxx_werror_flag" ||
27941 test ! -s conftest.err
27942 } && test -s conftest$ac_exeext &&
27943 $as_test_x conftest$ac_exeext; then
27944 eval wx_cv_func_$wx_func=yes
27945 else
27946 echo "$as_me: failed program was:" >&5
27947 sed 's/^/| /' conftest.$ac_ext >&5
27948
27949 eval wx_cv_func_$wx_func=no
27950 fi
27951
27952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27953 conftest$ac_exeext conftest.$ac_ext
27954
27955 fi
27956 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27957 { echo "$as_me:$LINENO: result: $ac_res" >&5
27958 echo "${ECHO_T}$ac_res" >&6; }
27959
27960 if eval test \$wx_cv_func_$wx_func = yes
27961 then
27962 cat >>confdefs.h <<_ACEOF
27963 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27964 _ACEOF
27965
27966
27967 else
27968 :
27969
27970 fi
27971 done
27972
27973 else
27974
27975 for wx_func in strtoull
27976 do
27977 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27978 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27979 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27980 echo $ECHO_N "(cached) $ECHO_C" >&6
27981 else
27982
27983 cat >conftest.$ac_ext <<_ACEOF
27984
27985 /* confdefs.h. */
27986 _ACEOF
27987 cat confdefs.h >>conftest.$ac_ext
27988 cat >>conftest.$ac_ext <<_ACEOF
27989 /* end confdefs.h. */
27990
27991
27992 $ac_includes_default
27993
27994 int
27995 main ()
27996 {
27997
27998 #ifndef $wx_func
27999 &$wx_func;
28000 #endif
28001
28002
28003 ;
28004 return 0;
28005 }
28006
28007 _ACEOF
28008 rm -f conftest.$ac_objext conftest$ac_exeext
28009 if { (ac_try="$ac_link"
28010 case "(($ac_try" in
28011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28012 *) ac_try_echo=$ac_try;;
28013 esac
28014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28015 (eval "$ac_link") 2>conftest.er1
28016 ac_status=$?
28017 grep -v '^ *+' conftest.er1 >conftest.err
28018 rm -f conftest.er1
28019 cat conftest.err >&5
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } && {
28022 test -z "$ac_cxx_werror_flag" ||
28023 test ! -s conftest.err
28024 } && test -s conftest$ac_exeext &&
28025 $as_test_x conftest$ac_exeext; then
28026 eval wx_cv_func_$wx_func=yes
28027 else
28028 echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.$ac_ext >&5
28030
28031 eval wx_cv_func_$wx_func=no
28032 fi
28033
28034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28035 conftest$ac_exeext conftest.$ac_ext
28036
28037 fi
28038 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28039 { echo "$as_me:$LINENO: result: $ac_res" >&5
28040 echo "${ECHO_T}$ac_res" >&6; }
28041
28042 if eval test \$wx_cv_func_$wx_func = yes
28043 then
28044 cat >>confdefs.h <<_ACEOF
28045 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28046 _ACEOF
28047
28048
28049 else
28050 :
28051
28052 fi
28053 done
28054
28055 fi
28056 ac_ext=c
28057 ac_cpp='$CPP $CPPFLAGS'
28058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28061
28062
28063
28064
28065 if test "$wxUSE_REGEX" != "no"; then
28066 cat >>confdefs.h <<\_ACEOF
28067 #define wxUSE_REGEX 1
28068 _ACEOF
28069
28070
28071 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28072 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28073 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28074 wxUSE_REGEX=builtin
28075 fi
28076
28077 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28078 { echo "$as_me:$LINENO: checking for regex.h" >&5
28079 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28080 if test "${ac_cv_header_regex_h+set}" = set; then
28081 echo $ECHO_N "(cached) $ECHO_C" >&6
28082 else
28083 cat >conftest.$ac_ext <<_ACEOF
28084 /* confdefs.h. */
28085 _ACEOF
28086 cat confdefs.h >>conftest.$ac_ext
28087 cat >>conftest.$ac_ext <<_ACEOF
28088 /* end confdefs.h. */
28089
28090
28091 #include <regex.h>
28092 _ACEOF
28093 rm -f conftest.$ac_objext
28094 if { (ac_try="$ac_compile"
28095 case "(($ac_try" in
28096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28097 *) ac_try_echo=$ac_try;;
28098 esac
28099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28100 (eval "$ac_compile") 2>conftest.er1
28101 ac_status=$?
28102 grep -v '^ *+' conftest.er1 >conftest.err
28103 rm -f conftest.er1
28104 cat conftest.err >&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); } && {
28107 test -z "$ac_c_werror_flag" ||
28108 test ! -s conftest.err
28109 } && test -s conftest.$ac_objext; then
28110 ac_cv_header_regex_h=yes
28111 else
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.$ac_ext >&5
28114
28115 ac_cv_header_regex_h=no
28116 fi
28117
28118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28119 fi
28120 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28121 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28122 if test $ac_cv_header_regex_h = yes; then
28123
28124
28125 for ac_func in regcomp re_search
28126 do
28127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28131 echo $ECHO_N "(cached) $ECHO_C" >&6
28132 else
28133 cat >conftest.$ac_ext <<_ACEOF
28134 /* confdefs.h. */
28135 _ACEOF
28136 cat confdefs.h >>conftest.$ac_ext
28137 cat >>conftest.$ac_ext <<_ACEOF
28138 /* end confdefs.h. */
28139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28141 #define $ac_func innocuous_$ac_func
28142
28143 /* System header to define __stub macros and hopefully few prototypes,
28144 which can conflict with char $ac_func (); below.
28145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28146 <limits.h> exists even on freestanding compilers. */
28147
28148 #ifdef __STDC__
28149 # include <limits.h>
28150 #else
28151 # include <assert.h>
28152 #endif
28153
28154 #undef $ac_func
28155
28156 /* Override any GCC internal prototype to avoid an error.
28157 Use char because int might match the return type of a GCC
28158 builtin and then its argument prototype would still apply. */
28159 #ifdef __cplusplus
28160 extern "C"
28161 #endif
28162 char $ac_func ();
28163 /* The GNU C library defines this for functions which it implements
28164 to always fail with ENOSYS. Some functions are actually named
28165 something starting with __ and the normal name is an alias. */
28166 #if defined __stub_$ac_func || defined __stub___$ac_func
28167 choke me
28168 #endif
28169
28170 int
28171 main ()
28172 {
28173 return $ac_func ();
28174 ;
28175 return 0;
28176 }
28177 _ACEOF
28178 rm -f conftest.$ac_objext conftest$ac_exeext
28179 if { (ac_try="$ac_link"
28180 case "(($ac_try" in
28181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28182 *) ac_try_echo=$ac_try;;
28183 esac
28184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28185 (eval "$ac_link") 2>conftest.er1
28186 ac_status=$?
28187 grep -v '^ *+' conftest.er1 >conftest.err
28188 rm -f conftest.er1
28189 cat conftest.err >&5
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); } && {
28192 test -z "$ac_c_werror_flag" ||
28193 test ! -s conftest.err
28194 } && test -s conftest$ac_exeext &&
28195 $as_test_x conftest$ac_exeext; then
28196 eval "$as_ac_var=yes"
28197 else
28198 echo "$as_me: failed program was:" >&5
28199 sed 's/^/| /' conftest.$ac_ext >&5
28200
28201 eval "$as_ac_var=no"
28202 fi
28203
28204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28205 conftest$ac_exeext conftest.$ac_ext
28206 fi
28207 ac_res=`eval echo '${'$as_ac_var'}'`
28208 { echo "$as_me:$LINENO: result: $ac_res" >&5
28209 echo "${ECHO_T}$ac_res" >&6; }
28210 if test `eval echo '${'$as_ac_var'}'` = yes; then
28211 cat >>confdefs.h <<_ACEOF
28212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28213 _ACEOF
28214
28215 fi
28216 done
28217
28218 fi
28219
28220
28221
28222 if test "x$ac_cv_func_regcomp" != "xyes"; then
28223 if test "$wxUSE_REGEX" = "sys" ; then
28224 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28225 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28226 { (exit 1); exit 1; }; }
28227 else
28228 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28229 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28230 wxUSE_REGEX=builtin
28231 fi
28232 else
28233 wxUSE_REGEX=sys
28234 cat >>confdefs.h <<\_ACEOF
28235 #define WX_NO_REGEX_ADVANCED 1
28236 _ACEOF
28237
28238 fi
28239 fi
28240 fi
28241
28242
28243 ZLIB_LINK=
28244 if test "$wxUSE_ZLIB" != "no" ; then
28245 cat >>confdefs.h <<\_ACEOF
28246 #define wxUSE_ZLIB 1
28247 _ACEOF
28248
28249
28250 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28251 if test "$USE_DARWIN" = 1; then
28252 system_zlib_h_ok="yes"
28253 else
28254 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28255 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28256 if test "${ac_cv_header_zlib_h+set}" = set; then
28257 echo $ECHO_N "(cached) $ECHO_C" >&6
28258 else
28259 if test "$cross_compiling" = yes; then
28260 unset ac_cv_header_zlib_h
28261
28262 else
28263 cat >conftest.$ac_ext <<_ACEOF
28264 /* confdefs.h. */
28265 _ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269
28270 #include <zlib.h>
28271 #include <stdio.h>
28272
28273 int main()
28274 {
28275 FILE *f=fopen("conftestval", "w");
28276 if (!f) exit(1);
28277 fprintf(f, "%s",
28278 ZLIB_VERSION[0] == '1' &&
28279 (ZLIB_VERSION[2] > '1' ||
28280 (ZLIB_VERSION[2] == '1' &&
28281 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28282 exit(0);
28283 }
28284
28285 _ACEOF
28286 rm -f conftest$ac_exeext
28287 if { (ac_try="$ac_link"
28288 case "(($ac_try" in
28289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28290 *) ac_try_echo=$ac_try;;
28291 esac
28292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28293 (eval "$ac_link") 2>&5
28294 ac_status=$?
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28297 { (case "(($ac_try" in
28298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28299 *) ac_try_echo=$ac_try;;
28300 esac
28301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28302 (eval "$ac_try") 2>&5
28303 ac_status=$?
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); }; }; then
28306 ac_cv_header_zlib_h=`cat conftestval`
28307 else
28308 echo "$as_me: program exited with status $ac_status" >&5
28309 echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.$ac_ext >&5
28311
28312 ( exit $ac_status )
28313 ac_cv_header_zlib_h=no
28314 fi
28315 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28316 fi
28317
28318
28319
28320 fi
28321 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28322 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28323 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28324 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28325 if test "${ac_cv_header_zlib_h+set}" = set; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28327 else
28328 cat >conftest.$ac_ext <<_ACEOF
28329 /* confdefs.h. */
28330 _ACEOF
28331 cat confdefs.h >>conftest.$ac_ext
28332 cat >>conftest.$ac_ext <<_ACEOF
28333 /* end confdefs.h. */
28334
28335
28336 #include <zlib.h>
28337 _ACEOF
28338 rm -f conftest.$ac_objext
28339 if { (ac_try="$ac_compile"
28340 case "(($ac_try" in
28341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28342 *) ac_try_echo=$ac_try;;
28343 esac
28344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28345 (eval "$ac_compile") 2>conftest.er1
28346 ac_status=$?
28347 grep -v '^ *+' conftest.er1 >conftest.err
28348 rm -f conftest.er1
28349 cat conftest.err >&5
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); } && {
28352 test -z "$ac_c_werror_flag" ||
28353 test ! -s conftest.err
28354 } && test -s conftest.$ac_objext; then
28355 ac_cv_header_zlib_h=yes
28356 else
28357 echo "$as_me: failed program was:" >&5
28358 sed 's/^/| /' conftest.$ac_ext >&5
28359
28360 ac_cv_header_zlib_h=no
28361 fi
28362
28363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28364 fi
28365 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28366 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28367
28368
28369
28370 system_zlib_h_ok=$ac_cv_header_zlib_h
28371 fi
28372
28373 if test "$system_zlib_h_ok" = "yes"; then
28374 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28375 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28376 if test "${ac_cv_lib_z_deflate+set}" = set; then
28377 echo $ECHO_N "(cached) $ECHO_C" >&6
28378 else
28379 ac_check_lib_save_LIBS=$LIBS
28380 LIBS="-lz $LIBS"
28381 cat >conftest.$ac_ext <<_ACEOF
28382 /* confdefs.h. */
28383 _ACEOF
28384 cat confdefs.h >>conftest.$ac_ext
28385 cat >>conftest.$ac_ext <<_ACEOF
28386 /* end confdefs.h. */
28387
28388 /* Override any GCC internal prototype to avoid an error.
28389 Use char because int might match the return type of a GCC
28390 builtin and then its argument prototype would still apply. */
28391 #ifdef __cplusplus
28392 extern "C"
28393 #endif
28394 char deflate ();
28395 int
28396 main ()
28397 {
28398 return deflate ();
28399 ;
28400 return 0;
28401 }
28402 _ACEOF
28403 rm -f conftest.$ac_objext conftest$ac_exeext
28404 if { (ac_try="$ac_link"
28405 case "(($ac_try" in
28406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28407 *) ac_try_echo=$ac_try;;
28408 esac
28409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28410 (eval "$ac_link") 2>conftest.er1
28411 ac_status=$?
28412 grep -v '^ *+' conftest.er1 >conftest.err
28413 rm -f conftest.er1
28414 cat conftest.err >&5
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); } && {
28417 test -z "$ac_c_werror_flag" ||
28418 test ! -s conftest.err
28419 } && test -s conftest$ac_exeext &&
28420 $as_test_x conftest$ac_exeext; then
28421 ac_cv_lib_z_deflate=yes
28422 else
28423 echo "$as_me: failed program was:" >&5
28424 sed 's/^/| /' conftest.$ac_ext >&5
28425
28426 ac_cv_lib_z_deflate=no
28427 fi
28428
28429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28430 conftest$ac_exeext conftest.$ac_ext
28431 LIBS=$ac_check_lib_save_LIBS
28432 fi
28433 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28434 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28435 if test $ac_cv_lib_z_deflate = yes; then
28436 ZLIB_LINK=" -lz"
28437 fi
28438
28439 fi
28440
28441 if test "x$ZLIB_LINK" = "x" ; then
28442 if test "$wxUSE_ZLIB" = "sys" ; then
28443 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28444 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28445 { (exit 1); exit 1; }; }
28446 else
28447 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28448 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28449 wxUSE_ZLIB=builtin
28450 fi
28451 else
28452 wxUSE_ZLIB=sys
28453 fi
28454 fi
28455 fi
28456
28457
28458 PNG_LINK=
28459 if test "$wxUSE_LIBPNG" != "no" ; then
28460 cat >>confdefs.h <<\_ACEOF
28461 #define wxUSE_LIBPNG 1
28462 _ACEOF
28463
28464
28465 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28466 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28467 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28468 wxUSE_LIBPNG=sys
28469 fi
28470
28471 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28472 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28473 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28474 wxUSE_LIBPNG=builtin
28475 fi
28476
28477 if test "$wxUSE_MGL" != 1 ; then
28478 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28479 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28480 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28481 if test "${ac_cv_header_png_h+set}" = set; then
28482 echo $ECHO_N "(cached) $ECHO_C" >&6
28483 else
28484 if test "$cross_compiling" = yes; then
28485 unset ac_cv_header_png_h
28486
28487 else
28488 cat >conftest.$ac_ext <<_ACEOF
28489 /* confdefs.h. */
28490 _ACEOF
28491 cat confdefs.h >>conftest.$ac_ext
28492 cat >>conftest.$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494
28495 #include <png.h>
28496 #include <stdio.h>
28497
28498 int main()
28499 {
28500 FILE *f=fopen("conftestval", "w");
28501 if (!f) exit(1);
28502 fprintf(f, "%s",
28503 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28504 exit(0);
28505 }
28506
28507 _ACEOF
28508 rm -f conftest$ac_exeext
28509 if { (ac_try="$ac_link"
28510 case "(($ac_try" in
28511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28512 *) ac_try_echo=$ac_try;;
28513 esac
28514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28515 (eval "$ac_link") 2>&5
28516 ac_status=$?
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28519 { (case "(($ac_try" in
28520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28521 *) ac_try_echo=$ac_try;;
28522 esac
28523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28524 (eval "$ac_try") 2>&5
28525 ac_status=$?
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; }; then
28528 ac_cv_header_png_h=`cat conftestval`
28529 else
28530 echo "$as_me: program exited with status $ac_status" >&5
28531 echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.$ac_ext >&5
28533
28534 ( exit $ac_status )
28535 ac_cv_header_png_h=no
28536 fi
28537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28538 fi
28539
28540
28541
28542 fi
28543 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28544 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28545 { echo "$as_me:$LINENO: checking for png.h" >&5
28546 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28547 if test "${ac_cv_header_png_h+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28549 else
28550 cat >conftest.$ac_ext <<_ACEOF
28551 /* confdefs.h. */
28552 _ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556
28557
28558 #include <png.h>
28559 _ACEOF
28560 rm -f conftest.$ac_objext
28561 if { (ac_try="$ac_compile"
28562 case "(($ac_try" in
28563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28564 *) ac_try_echo=$ac_try;;
28565 esac
28566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28567 (eval "$ac_compile") 2>conftest.er1
28568 ac_status=$?
28569 grep -v '^ *+' conftest.er1 >conftest.err
28570 rm -f conftest.er1
28571 cat conftest.err >&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); } && {
28574 test -z "$ac_c_werror_flag" ||
28575 test ! -s conftest.err
28576 } && test -s conftest.$ac_objext; then
28577 ac_cv_header_png_h=yes
28578 else
28579 echo "$as_me: failed program was:" >&5
28580 sed 's/^/| /' conftest.$ac_ext >&5
28581
28582 ac_cv_header_png_h=no
28583 fi
28584
28585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28586 fi
28587 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28588 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28589
28590
28591
28592 if test "$ac_cv_header_png_h" = "yes"; then
28593 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28594 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28595 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28596 echo $ECHO_N "(cached) $ECHO_C" >&6
28597 else
28598 ac_check_lib_save_LIBS=$LIBS
28599 LIBS="-lpng -lz -lm $LIBS"
28600 cat >conftest.$ac_ext <<_ACEOF
28601 /* confdefs.h. */
28602 _ACEOF
28603 cat confdefs.h >>conftest.$ac_ext
28604 cat >>conftest.$ac_ext <<_ACEOF
28605 /* end confdefs.h. */
28606
28607 /* Override any GCC internal prototype to avoid an error.
28608 Use char because int might match the return type of a GCC
28609 builtin and then its argument prototype would still apply. */
28610 #ifdef __cplusplus
28611 extern "C"
28612 #endif
28613 char png_check_sig ();
28614 int
28615 main ()
28616 {
28617 return png_check_sig ();
28618 ;
28619 return 0;
28620 }
28621 _ACEOF
28622 rm -f conftest.$ac_objext conftest$ac_exeext
28623 if { (ac_try="$ac_link"
28624 case "(($ac_try" in
28625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28626 *) ac_try_echo=$ac_try;;
28627 esac
28628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28629 (eval "$ac_link") 2>conftest.er1
28630 ac_status=$?
28631 grep -v '^ *+' conftest.er1 >conftest.err
28632 rm -f conftest.er1
28633 cat conftest.err >&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); } && {
28636 test -z "$ac_c_werror_flag" ||
28637 test ! -s conftest.err
28638 } && test -s conftest$ac_exeext &&
28639 $as_test_x conftest$ac_exeext; then
28640 ac_cv_lib_png_png_check_sig=yes
28641 else
28642 echo "$as_me: failed program was:" >&5
28643 sed 's/^/| /' conftest.$ac_ext >&5
28644
28645 ac_cv_lib_png_png_check_sig=no
28646 fi
28647
28648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28649 conftest$ac_exeext conftest.$ac_ext
28650 LIBS=$ac_check_lib_save_LIBS
28651 fi
28652 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28653 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28654 if test $ac_cv_lib_png_png_check_sig = yes; then
28655 PNG_LINK=" -lpng -lz"
28656 fi
28657
28658 fi
28659
28660 if test "x$PNG_LINK" = "x" ; then
28661 if test "$wxUSE_LIBPNG" = "sys" ; then
28662 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28663 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28664 { (exit 1); exit 1; }; }
28665 else
28666 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28667 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28668 wxUSE_LIBPNG=builtin
28669 fi
28670 else
28671 wxUSE_LIBPNG=sys
28672 fi
28673 fi
28674 fi
28675
28676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28677 fi
28678
28679
28680 JPEG_LINK=
28681 if test "$wxUSE_LIBJPEG" != "no" ; then
28682 cat >>confdefs.h <<\_ACEOF
28683 #define wxUSE_LIBJPEG 1
28684 _ACEOF
28685
28686
28687 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28688 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28689 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28690 wxUSE_LIBJPEG=sys
28691 fi
28692
28693 if test "$wxUSE_MGL" != 1 ; then
28694 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28695 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28696 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28697 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28698 echo $ECHO_N "(cached) $ECHO_C" >&6
28699 else
28700 cat >conftest.$ac_ext <<_ACEOF
28701 /* confdefs.h. */
28702 _ACEOF
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28706
28707 #undef HAVE_STDLIB_H
28708 #include <stdio.h>
28709 #include <jpeglib.h>
28710
28711 int
28712 main ()
28713 {
28714
28715
28716 ;
28717 return 0;
28718 }
28719 _ACEOF
28720 rm -f conftest.$ac_objext
28721 if { (ac_try="$ac_compile"
28722 case "(($ac_try" in
28723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28724 *) ac_try_echo=$ac_try;;
28725 esac
28726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28727 (eval "$ac_compile") 2>conftest.er1
28728 ac_status=$?
28729 grep -v '^ *+' conftest.er1 >conftest.err
28730 rm -f conftest.er1
28731 cat conftest.err >&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); } && {
28734 test -z "$ac_c_werror_flag" ||
28735 test ! -s conftest.err
28736 } && test -s conftest.$ac_objext; then
28737 ac_cv_header_jpeglib_h=yes
28738 else
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.$ac_ext >&5
28741
28742 ac_cv_header_jpeglib_h=no
28743
28744 fi
28745
28746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28747
28748 fi
28749
28750 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28751 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28752
28753 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28754 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28755 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28756 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28757 echo $ECHO_N "(cached) $ECHO_C" >&6
28758 else
28759 ac_check_lib_save_LIBS=$LIBS
28760 LIBS="-ljpeg $LIBS"
28761 cat >conftest.$ac_ext <<_ACEOF
28762 /* confdefs.h. */
28763 _ACEOF
28764 cat confdefs.h >>conftest.$ac_ext
28765 cat >>conftest.$ac_ext <<_ACEOF
28766 /* end confdefs.h. */
28767
28768 /* Override any GCC internal prototype to avoid an error.
28769 Use char because int might match the return type of a GCC
28770 builtin and then its argument prototype would still apply. */
28771 #ifdef __cplusplus
28772 extern "C"
28773 #endif
28774 char jpeg_read_header ();
28775 int
28776 main ()
28777 {
28778 return jpeg_read_header ();
28779 ;
28780 return 0;
28781 }
28782 _ACEOF
28783 rm -f conftest.$ac_objext conftest$ac_exeext
28784 if { (ac_try="$ac_link"
28785 case "(($ac_try" in
28786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28787 *) ac_try_echo=$ac_try;;
28788 esac
28789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28790 (eval "$ac_link") 2>conftest.er1
28791 ac_status=$?
28792 grep -v '^ *+' conftest.er1 >conftest.err
28793 rm -f conftest.er1
28794 cat conftest.err >&5
28795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28796 (exit $ac_status); } && {
28797 test -z "$ac_c_werror_flag" ||
28798 test ! -s conftest.err
28799 } && test -s conftest$ac_exeext &&
28800 $as_test_x conftest$ac_exeext; then
28801 ac_cv_lib_jpeg_jpeg_read_header=yes
28802 else
28803 echo "$as_me: failed program was:" >&5
28804 sed 's/^/| /' conftest.$ac_ext >&5
28805
28806 ac_cv_lib_jpeg_jpeg_read_header=no
28807 fi
28808
28809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28810 conftest$ac_exeext conftest.$ac_ext
28811 LIBS=$ac_check_lib_save_LIBS
28812 fi
28813 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28814 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28815 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28816 JPEG_LINK=" -ljpeg"
28817 fi
28818
28819 fi
28820
28821 if test "x$JPEG_LINK" = "x" ; then
28822 if test "$wxUSE_LIBJPEG" = "sys" ; then
28823 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28824 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28825 { (exit 1); exit 1; }; }
28826 else
28827 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28828 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28829 wxUSE_LIBJPEG=builtin
28830 fi
28831 else
28832 wxUSE_LIBJPEG=sys
28833
28834 if test "$wxUSE_MSW" = 1; then
28835 { echo "$as_me:$LINENO: checking for boolean" >&5
28836 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28837 if test "${ac_cv_type_boolean+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28839 else
28840 cat >conftest.$ac_ext <<_ACEOF
28841 /* confdefs.h. */
28842 _ACEOF
28843 cat confdefs.h >>conftest.$ac_ext
28844 cat >>conftest.$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28846 #include <windows.h>
28847
28848 typedef boolean ac__type_new_;
28849 int
28850 main ()
28851 {
28852 if ((ac__type_new_ *) 0)
28853 return 0;
28854 if (sizeof (ac__type_new_))
28855 return 0;
28856 ;
28857 return 0;
28858 }
28859 _ACEOF
28860 rm -f conftest.$ac_objext
28861 if { (ac_try="$ac_compile"
28862 case "(($ac_try" in
28863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28864 *) ac_try_echo=$ac_try;;
28865 esac
28866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28867 (eval "$ac_compile") 2>conftest.er1
28868 ac_status=$?
28869 grep -v '^ *+' conftest.er1 >conftest.err
28870 rm -f conftest.er1
28871 cat conftest.err >&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } && {
28874 test -z "$ac_c_werror_flag" ||
28875 test ! -s conftest.err
28876 } && test -s conftest.$ac_objext; then
28877 ac_cv_type_boolean=yes
28878 else
28879 echo "$as_me: failed program was:" >&5
28880 sed 's/^/| /' conftest.$ac_ext >&5
28881
28882 ac_cv_type_boolean=no
28883 fi
28884
28885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28886 fi
28887 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28888 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28889 if test $ac_cv_type_boolean = yes; then
28890
28891 cat >>confdefs.h <<_ACEOF
28892 #define HAVE_BOOLEAN 1
28893 _ACEOF
28894
28895
28896 { echo "$as_me:$LINENO: checking for boolean" >&5
28897 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28898 if test "${ac_cv_type_boolean+set}" = set; then
28899 echo $ECHO_N "(cached) $ECHO_C" >&6
28900 else
28901 cat >conftest.$ac_ext <<_ACEOF
28902 /* confdefs.h. */
28903 _ACEOF
28904 cat confdefs.h >>conftest.$ac_ext
28905 cat >>conftest.$ac_ext <<_ACEOF
28906 /* end confdefs.h. */
28907
28908 #undef HAVE_BOOLEAN
28909 #include <stdio.h>
28910 #include <jpeglib.h>
28911
28912
28913 typedef boolean ac__type_new_;
28914 int
28915 main ()
28916 {
28917 if ((ac__type_new_ *) 0)
28918 return 0;
28919 if (sizeof (ac__type_new_))
28920 return 0;
28921 ;
28922 return 0;
28923 }
28924 _ACEOF
28925 rm -f conftest.$ac_objext
28926 if { (ac_try="$ac_compile"
28927 case "(($ac_try" in
28928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28929 *) ac_try_echo=$ac_try;;
28930 esac
28931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28932 (eval "$ac_compile") 2>conftest.er1
28933 ac_status=$?
28934 grep -v '^ *+' conftest.er1 >conftest.err
28935 rm -f conftest.er1
28936 cat conftest.err >&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } && {
28939 test -z "$ac_c_werror_flag" ||
28940 test ! -s conftest.err
28941 } && test -s conftest.$ac_objext; then
28942 ac_cv_type_boolean=yes
28943 else
28944 echo "$as_me: failed program was:" >&5
28945 sed 's/^/| /' conftest.$ac_ext >&5
28946
28947 ac_cv_type_boolean=no
28948 fi
28949
28950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28951 fi
28952 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28953 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28954
28955 # The cast to long int works around a bug in the HP C Compiler
28956 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28957 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28958 # This bug is HP SR number 8606223364.
28959 { echo "$as_me:$LINENO: checking size of boolean" >&5
28960 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28961 if test "${ac_cv_sizeof_boolean+set}" = set; then
28962 echo $ECHO_N "(cached) $ECHO_C" >&6
28963 else
28964 if test "$cross_compiling" = yes; then
28965 # Depending upon the size, compute the lo and hi bounds.
28966 cat >conftest.$ac_ext <<_ACEOF
28967 /* confdefs.h. */
28968 _ACEOF
28969 cat confdefs.h >>conftest.$ac_ext
28970 cat >>conftest.$ac_ext <<_ACEOF
28971 /* end confdefs.h. */
28972
28973 #undef HAVE_BOOLEAN
28974 #include <stdio.h>
28975 #include <jpeglib.h>
28976
28977
28978 typedef boolean ac__type_sizeof_;
28979 int
28980 main ()
28981 {
28982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28983 test_array [0] = 0
28984
28985 ;
28986 return 0;
28987 }
28988 _ACEOF
28989 rm -f conftest.$ac_objext
28990 if { (ac_try="$ac_compile"
28991 case "(($ac_try" in
28992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28993 *) ac_try_echo=$ac_try;;
28994 esac
28995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28996 (eval "$ac_compile") 2>conftest.er1
28997 ac_status=$?
28998 grep -v '^ *+' conftest.er1 >conftest.err
28999 rm -f conftest.er1
29000 cat conftest.err >&5
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); } && {
29003 test -z "$ac_c_werror_flag" ||
29004 test ! -s conftest.err
29005 } && test -s conftest.$ac_objext; then
29006 ac_lo=0 ac_mid=0
29007 while :; do
29008 cat >conftest.$ac_ext <<_ACEOF
29009 /* confdefs.h. */
29010 _ACEOF
29011 cat confdefs.h >>conftest.$ac_ext
29012 cat >>conftest.$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29014
29015 #undef HAVE_BOOLEAN
29016 #include <stdio.h>
29017 #include <jpeglib.h>
29018
29019
29020 typedef boolean ac__type_sizeof_;
29021 int
29022 main ()
29023 {
29024 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29025 test_array [0] = 0
29026
29027 ;
29028 return 0;
29029 }
29030 _ACEOF
29031 rm -f conftest.$ac_objext
29032 if { (ac_try="$ac_compile"
29033 case "(($ac_try" in
29034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29035 *) ac_try_echo=$ac_try;;
29036 esac
29037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29038 (eval "$ac_compile") 2>conftest.er1
29039 ac_status=$?
29040 grep -v '^ *+' conftest.er1 >conftest.err
29041 rm -f conftest.er1
29042 cat conftest.err >&5
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); } && {
29045 test -z "$ac_c_werror_flag" ||
29046 test ! -s conftest.err
29047 } && test -s conftest.$ac_objext; then
29048 ac_hi=$ac_mid; break
29049 else
29050 echo "$as_me: failed program was:" >&5
29051 sed 's/^/| /' conftest.$ac_ext >&5
29052
29053 ac_lo=`expr $ac_mid + 1`
29054 if test $ac_lo -le $ac_mid; then
29055 ac_lo= ac_hi=
29056 break
29057 fi
29058 ac_mid=`expr 2 '*' $ac_mid + 1`
29059 fi
29060
29061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29062 done
29063 else
29064 echo "$as_me: failed program was:" >&5
29065 sed 's/^/| /' conftest.$ac_ext >&5
29066
29067 cat >conftest.$ac_ext <<_ACEOF
29068 /* confdefs.h. */
29069 _ACEOF
29070 cat confdefs.h >>conftest.$ac_ext
29071 cat >>conftest.$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29073
29074 #undef HAVE_BOOLEAN
29075 #include <stdio.h>
29076 #include <jpeglib.h>
29077
29078
29079 typedef boolean ac__type_sizeof_;
29080 int
29081 main ()
29082 {
29083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29084 test_array [0] = 0
29085
29086 ;
29087 return 0;
29088 }
29089 _ACEOF
29090 rm -f conftest.$ac_objext
29091 if { (ac_try="$ac_compile"
29092 case "(($ac_try" in
29093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29094 *) ac_try_echo=$ac_try;;
29095 esac
29096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29097 (eval "$ac_compile") 2>conftest.er1
29098 ac_status=$?
29099 grep -v '^ *+' conftest.er1 >conftest.err
29100 rm -f conftest.er1
29101 cat conftest.err >&5
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); } && {
29104 test -z "$ac_c_werror_flag" ||
29105 test ! -s conftest.err
29106 } && test -s conftest.$ac_objext; then
29107 ac_hi=-1 ac_mid=-1
29108 while :; do
29109 cat >conftest.$ac_ext <<_ACEOF
29110 /* confdefs.h. */
29111 _ACEOF
29112 cat confdefs.h >>conftest.$ac_ext
29113 cat >>conftest.$ac_ext <<_ACEOF
29114 /* end confdefs.h. */
29115
29116 #undef HAVE_BOOLEAN
29117 #include <stdio.h>
29118 #include <jpeglib.h>
29119
29120
29121 typedef boolean ac__type_sizeof_;
29122 int
29123 main ()
29124 {
29125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29126 test_array [0] = 0
29127
29128 ;
29129 return 0;
29130 }
29131 _ACEOF
29132 rm -f conftest.$ac_objext
29133 if { (ac_try="$ac_compile"
29134 case "(($ac_try" in
29135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29136 *) ac_try_echo=$ac_try;;
29137 esac
29138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29139 (eval "$ac_compile") 2>conftest.er1
29140 ac_status=$?
29141 grep -v '^ *+' conftest.er1 >conftest.err
29142 rm -f conftest.er1
29143 cat conftest.err >&5
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); } && {
29146 test -z "$ac_c_werror_flag" ||
29147 test ! -s conftest.err
29148 } && test -s conftest.$ac_objext; then
29149 ac_lo=$ac_mid; break
29150 else
29151 echo "$as_me: failed program was:" >&5
29152 sed 's/^/| /' conftest.$ac_ext >&5
29153
29154 ac_hi=`expr '(' $ac_mid ')' - 1`
29155 if test $ac_mid -le $ac_hi; then
29156 ac_lo= ac_hi=
29157 break
29158 fi
29159 ac_mid=`expr 2 '*' $ac_mid`
29160 fi
29161
29162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29163 done
29164 else
29165 echo "$as_me: failed program was:" >&5
29166 sed 's/^/| /' conftest.$ac_ext >&5
29167
29168 ac_lo= ac_hi=
29169 fi
29170
29171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29172 fi
29173
29174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29175 # Binary search between lo and hi bounds.
29176 while test "x$ac_lo" != "x$ac_hi"; do
29177 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29178 cat >conftest.$ac_ext <<_ACEOF
29179 /* confdefs.h. */
29180 _ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h. */
29184
29185 #undef HAVE_BOOLEAN
29186 #include <stdio.h>
29187 #include <jpeglib.h>
29188
29189
29190 typedef boolean ac__type_sizeof_;
29191 int
29192 main ()
29193 {
29194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29195 test_array [0] = 0
29196
29197 ;
29198 return 0;
29199 }
29200 _ACEOF
29201 rm -f conftest.$ac_objext
29202 if { (ac_try="$ac_compile"
29203 case "(($ac_try" in
29204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29205 *) ac_try_echo=$ac_try;;
29206 esac
29207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29208 (eval "$ac_compile") 2>conftest.er1
29209 ac_status=$?
29210 grep -v '^ *+' conftest.er1 >conftest.err
29211 rm -f conftest.er1
29212 cat conftest.err >&5
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); } && {
29215 test -z "$ac_c_werror_flag" ||
29216 test ! -s conftest.err
29217 } && test -s conftest.$ac_objext; then
29218 ac_hi=$ac_mid
29219 else
29220 echo "$as_me: failed program was:" >&5
29221 sed 's/^/| /' conftest.$ac_ext >&5
29222
29223 ac_lo=`expr '(' $ac_mid ')' + 1`
29224 fi
29225
29226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29227 done
29228 case $ac_lo in
29229 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29230 '') if test "$ac_cv_type_boolean" = yes; then
29231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29232 See \`config.log' for more details." >&5
29233 echo "$as_me: error: cannot compute sizeof (boolean)
29234 See \`config.log' for more details." >&2;}
29235 { (exit 77); exit 77; }; }
29236 else
29237 ac_cv_sizeof_boolean=0
29238 fi ;;
29239 esac
29240 else
29241 cat >conftest.$ac_ext <<_ACEOF
29242 /* confdefs.h. */
29243 _ACEOF
29244 cat confdefs.h >>conftest.$ac_ext
29245 cat >>conftest.$ac_ext <<_ACEOF
29246 /* end confdefs.h. */
29247
29248 #undef HAVE_BOOLEAN
29249 #include <stdio.h>
29250 #include <jpeglib.h>
29251
29252
29253 typedef boolean ac__type_sizeof_;
29254 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29255 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29256 #include <stdio.h>
29257 #include <stdlib.h>
29258 int
29259 main ()
29260 {
29261
29262 FILE *f = fopen ("conftest.val", "w");
29263 if (! f)
29264 return 1;
29265 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29266 {
29267 long int i = longval ();
29268 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29269 return 1;
29270 fprintf (f, "%ld\n", i);
29271 }
29272 else
29273 {
29274 unsigned long int i = ulongval ();
29275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29276 return 1;
29277 fprintf (f, "%lu\n", i);
29278 }
29279 return ferror (f) || fclose (f) != 0;
29280
29281 ;
29282 return 0;
29283 }
29284 _ACEOF
29285 rm -f conftest$ac_exeext
29286 if { (ac_try="$ac_link"
29287 case "(($ac_try" in
29288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29289 *) ac_try_echo=$ac_try;;
29290 esac
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_link") 2>&5
29293 ac_status=$?
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29296 { (case "(($ac_try" in
29297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29298 *) ac_try_echo=$ac_try;;
29299 esac
29300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29301 (eval "$ac_try") 2>&5
29302 ac_status=$?
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); }; }; then
29305 ac_cv_sizeof_boolean=`cat conftest.val`
29306 else
29307 echo "$as_me: program exited with status $ac_status" >&5
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29310
29311 ( exit $ac_status )
29312 if test "$ac_cv_type_boolean" = yes; then
29313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29314 See \`config.log' for more details." >&5
29315 echo "$as_me: error: cannot compute sizeof (boolean)
29316 See \`config.log' for more details." >&2;}
29317 { (exit 77); exit 77; }; }
29318 else
29319 ac_cv_sizeof_boolean=0
29320 fi
29321 fi
29322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29323 fi
29324 rm -f conftest.val
29325 fi
29326 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29327 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29328
29329
29330
29331 cat >>confdefs.h <<_ACEOF
29332 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29333 _ACEOF
29334
29335
29336 cat >>confdefs.h <<_ACEOF
29337 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29338 _ACEOF
29339
29340
29341 fi
29342
29343 fi
29344 fi
29345 fi
29346 fi
29347 fi
29348
29349
29350 TIFF_LINK=
29351 TIFF_PREREQ_LINKS=-lm
29352 if test "$wxUSE_LIBTIFF" != "no" ; then
29353 cat >>confdefs.h <<\_ACEOF
29354 #define wxUSE_LIBTIFF 1
29355 _ACEOF
29356
29357
29358 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29359 if test "$wxUSE_LIBJPEG" = "sys"; then
29360 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29361 fi
29362 if test "$wxUSE_ZLIB" = "sys"; then
29363 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29364 fi
29365 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29366 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29367 if test "${ac_cv_header_tiffio_h+set}" = set; then
29368 echo $ECHO_N "(cached) $ECHO_C" >&6
29369 else
29370 cat >conftest.$ac_ext <<_ACEOF
29371 /* confdefs.h. */
29372 _ACEOF
29373 cat confdefs.h >>conftest.$ac_ext
29374 cat >>conftest.$ac_ext <<_ACEOF
29375 /* end confdefs.h. */
29376
29377
29378
29379 #include <tiffio.h>
29380 _ACEOF
29381 rm -f conftest.$ac_objext
29382 if { (ac_try="$ac_compile"
29383 case "(($ac_try" in
29384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29385 *) ac_try_echo=$ac_try;;
29386 esac
29387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29388 (eval "$ac_compile") 2>conftest.er1
29389 ac_status=$?
29390 grep -v '^ *+' conftest.er1 >conftest.err
29391 rm -f conftest.er1
29392 cat conftest.err >&5
29393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 (exit $ac_status); } && {
29395 test -z "$ac_c_werror_flag" ||
29396 test ! -s conftest.err
29397 } && test -s conftest.$ac_objext; then
29398 ac_cv_header_tiffio_h=yes
29399 else
29400 echo "$as_me: failed program was:" >&5
29401 sed 's/^/| /' conftest.$ac_ext >&5
29402
29403 ac_cv_header_tiffio_h=no
29404 fi
29405
29406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29407 fi
29408 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29409 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29410 if test $ac_cv_header_tiffio_h = yes; then
29411
29412 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29413 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29414 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29415 echo $ECHO_N "(cached) $ECHO_C" >&6
29416 else
29417 ac_check_lib_save_LIBS=$LIBS
29418 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29419 cat >conftest.$ac_ext <<_ACEOF
29420 /* confdefs.h. */
29421 _ACEOF
29422 cat confdefs.h >>conftest.$ac_ext
29423 cat >>conftest.$ac_ext <<_ACEOF
29424 /* end confdefs.h. */
29425
29426 /* Override any GCC internal prototype to avoid an error.
29427 Use char because int might match the return type of a GCC
29428 builtin and then its argument prototype would still apply. */
29429 #ifdef __cplusplus
29430 extern "C"
29431 #endif
29432 char TIFFError ();
29433 int
29434 main ()
29435 {
29436 return TIFFError ();
29437 ;
29438 return 0;
29439 }
29440 _ACEOF
29441 rm -f conftest.$ac_objext conftest$ac_exeext
29442 if { (ac_try="$ac_link"
29443 case "(($ac_try" in
29444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29445 *) ac_try_echo=$ac_try;;
29446 esac
29447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29448 (eval "$ac_link") 2>conftest.er1
29449 ac_status=$?
29450 grep -v '^ *+' conftest.er1 >conftest.err
29451 rm -f conftest.er1
29452 cat conftest.err >&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } && {
29455 test -z "$ac_c_werror_flag" ||
29456 test ! -s conftest.err
29457 } && test -s conftest$ac_exeext &&
29458 $as_test_x conftest$ac_exeext; then
29459 ac_cv_lib_tiff_TIFFError=yes
29460 else
29461 echo "$as_me: failed program was:" >&5
29462 sed 's/^/| /' conftest.$ac_ext >&5
29463
29464 ac_cv_lib_tiff_TIFFError=no
29465 fi
29466
29467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29468 conftest$ac_exeext conftest.$ac_ext
29469 LIBS=$ac_check_lib_save_LIBS
29470 fi
29471 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29472 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29473 if test $ac_cv_lib_tiff_TIFFError = yes; then
29474 TIFF_LINK=" -ltiff"
29475 fi
29476
29477
29478 fi
29479
29480
29481
29482 if test "x$TIFF_LINK" = "x" ; then
29483 if test "$wxUSE_LIBTIFF" = "sys" ; then
29484 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29485 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29486 { (exit 1); exit 1; }; }
29487 else
29488 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29489 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29490 wxUSE_LIBTIFF=builtin
29491 fi
29492 else
29493 wxUSE_LIBTIFF=sys
29494 fi
29495 fi
29496 fi
29497
29498
29499 if test "$wxUSE_WCHAR_T" != "yes"; then
29500 if test "$wxUSE_EXPAT" != "no"; then
29501 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29502 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29503 wxUSE_EXPAT=no
29504 fi
29505 if test "$wxUSE_XML" != "no"; then
29506 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29507 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29508 wxUSE_XML=no
29509 fi
29510 fi
29511
29512 if test "$wxUSE_EXPAT" != "no"; then
29513 wxUSE_XML=yes
29514 cat >>confdefs.h <<\_ACEOF
29515 #define wxUSE_EXPAT 1
29516 _ACEOF
29517
29518 cat >>confdefs.h <<\_ACEOF
29519 #define wxUSE_XML 1
29520 _ACEOF
29521
29522
29523 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29524 { echo "$as_me:$LINENO: checking for expat.h" >&5
29525 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29526 if test "${ac_cv_header_expat_h+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528 else
29529 cat >conftest.$ac_ext <<_ACEOF
29530 /* confdefs.h. */
29531 _ACEOF
29532 cat confdefs.h >>conftest.$ac_ext
29533 cat >>conftest.$ac_ext <<_ACEOF
29534 /* end confdefs.h. */
29535
29536
29537 #include <expat.h>
29538 _ACEOF
29539 rm -f conftest.$ac_objext
29540 if { (ac_try="$ac_compile"
29541 case "(($ac_try" in
29542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29543 *) ac_try_echo=$ac_try;;
29544 esac
29545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29546 (eval "$ac_compile") 2>conftest.er1
29547 ac_status=$?
29548 grep -v '^ *+' conftest.er1 >conftest.err
29549 rm -f conftest.er1
29550 cat conftest.err >&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } && {
29553 test -z "$ac_c_werror_flag" ||
29554 test ! -s conftest.err
29555 } && test -s conftest.$ac_objext; then
29556 ac_cv_header_expat_h=yes
29557 else
29558 echo "$as_me: failed program was:" >&5
29559 sed 's/^/| /' conftest.$ac_ext >&5
29560
29561 ac_cv_header_expat_h=no
29562 fi
29563
29564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29565 fi
29566 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29567 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29568 if test $ac_cv_header_expat_h = yes; then
29569 found_expat_h=1
29570 fi
29571
29572
29573 if test "x$found_expat_h" = "x1"; then
29574 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29575 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29576 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29577 echo $ECHO_N "(cached) $ECHO_C" >&6
29578 else
29579
29580 ac_ext=cpp
29581 ac_cpp='$CXXCPP $CPPFLAGS'
29582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29585
29586 cat >conftest.$ac_ext <<_ACEOF
29587 /* confdefs.h. */
29588 _ACEOF
29589 cat confdefs.h >>conftest.$ac_ext
29590 cat >>conftest.$ac_ext <<_ACEOF
29591 /* end confdefs.h. */
29592 #include <expat.h>
29593 int
29594 main ()
29595 {
29596
29597 ;
29598 return 0;
29599 }
29600 _ACEOF
29601 rm -f conftest.$ac_objext
29602 if { (ac_try="$ac_compile"
29603 case "(($ac_try" in
29604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29605 *) ac_try_echo=$ac_try;;
29606 esac
29607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29608 (eval "$ac_compile") 2>conftest.er1
29609 ac_status=$?
29610 grep -v '^ *+' conftest.er1 >conftest.err
29611 rm -f conftest.er1
29612 cat conftest.err >&5
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); } && {
29615 test -z "$ac_cxx_werror_flag" ||
29616 test ! -s conftest.err
29617 } && test -s conftest.$ac_objext; then
29618 wx_cv_expat_is_not_broken=yes
29619 else
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29622
29623 wx_cv_expat_is_not_broken=no
29624
29625 fi
29626
29627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29628 ac_ext=c
29629 ac_cpp='$CPP $CPPFLAGS'
29630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29633
29634
29635
29636 fi
29637 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29638 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29639 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29640 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29641 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29642 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29643 echo $ECHO_N "(cached) $ECHO_C" >&6
29644 else
29645 ac_check_lib_save_LIBS=$LIBS
29646 LIBS="-lexpat $LIBS"
29647 cat >conftest.$ac_ext <<_ACEOF
29648 /* confdefs.h. */
29649 _ACEOF
29650 cat confdefs.h >>conftest.$ac_ext
29651 cat >>conftest.$ac_ext <<_ACEOF
29652 /* end confdefs.h. */
29653
29654 /* Override any GCC internal prototype to avoid an error.
29655 Use char because int might match the return type of a GCC
29656 builtin and then its argument prototype would still apply. */
29657 #ifdef __cplusplus
29658 extern "C"
29659 #endif
29660 char XML_ParserCreate ();
29661 int
29662 main ()
29663 {
29664 return XML_ParserCreate ();
29665 ;
29666 return 0;
29667 }
29668 _ACEOF
29669 rm -f conftest.$ac_objext conftest$ac_exeext
29670 if { (ac_try="$ac_link"
29671 case "(($ac_try" in
29672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29673 *) ac_try_echo=$ac_try;;
29674 esac
29675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29676 (eval "$ac_link") 2>conftest.er1
29677 ac_status=$?
29678 grep -v '^ *+' conftest.er1 >conftest.err
29679 rm -f conftest.er1
29680 cat conftest.err >&5
29681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29682 (exit $ac_status); } && {
29683 test -z "$ac_c_werror_flag" ||
29684 test ! -s conftest.err
29685 } && test -s conftest$ac_exeext &&
29686 $as_test_x conftest$ac_exeext; then
29687 ac_cv_lib_expat_XML_ParserCreate=yes
29688 else
29689 echo "$as_me: failed program was:" >&5
29690 sed 's/^/| /' conftest.$ac_ext >&5
29691
29692 ac_cv_lib_expat_XML_ParserCreate=no
29693 fi
29694
29695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29696 conftest$ac_exeext conftest.$ac_ext
29697 LIBS=$ac_check_lib_save_LIBS
29698 fi
29699 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29700 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29701 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29702 EXPAT_LINK=" -lexpat"
29703 fi
29704
29705 fi
29706 fi
29707 if test "x$EXPAT_LINK" = "x" ; then
29708 if test "$wxUSE_EXPAT" = "sys" ; then
29709 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29710 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29711 { (exit 1); exit 1; }; }
29712 else
29713 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29714 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29715 wxUSE_EXPAT=builtin
29716 fi
29717 else
29718 wxUSE_EXPAT=sys
29719 fi
29720 fi
29721 if test "$wxUSE_EXPAT" = "builtin" ; then
29722 subdirs="$subdirs src/expat"
29723
29724 fi
29725 fi
29726
29727
29728
29729 if test "$wxUSE_LIBMSPACK" != "no"; then
29730 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29731 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29732 if test "${ac_cv_header_mspack_h+set}" = set; then
29733 echo $ECHO_N "(cached) $ECHO_C" >&6
29734 else
29735 cat >conftest.$ac_ext <<_ACEOF
29736 /* confdefs.h. */
29737 _ACEOF
29738 cat confdefs.h >>conftest.$ac_ext
29739 cat >>conftest.$ac_ext <<_ACEOF
29740 /* end confdefs.h. */
29741
29742
29743 #include <mspack.h>
29744 _ACEOF
29745 rm -f conftest.$ac_objext
29746 if { (ac_try="$ac_compile"
29747 case "(($ac_try" in
29748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29749 *) ac_try_echo=$ac_try;;
29750 esac
29751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29752 (eval "$ac_compile") 2>conftest.er1
29753 ac_status=$?
29754 grep -v '^ *+' conftest.er1 >conftest.err
29755 rm -f conftest.er1
29756 cat conftest.err >&5
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); } && {
29759 test -z "$ac_c_werror_flag" ||
29760 test ! -s conftest.err
29761 } && test -s conftest.$ac_objext; then
29762 ac_cv_header_mspack_h=yes
29763 else
29764 echo "$as_me: failed program was:" >&5
29765 sed 's/^/| /' conftest.$ac_ext >&5
29766
29767 ac_cv_header_mspack_h=no
29768 fi
29769
29770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29771 fi
29772 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29773 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29774 if test $ac_cv_header_mspack_h = yes; then
29775 found_mspack_h=1
29776 fi
29777
29778
29779 if test "x$found_mspack_h" = "x1"; then
29780 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29781 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29782 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29783 echo $ECHO_N "(cached) $ECHO_C" >&6
29784 else
29785 ac_check_lib_save_LIBS=$LIBS
29786 LIBS="-lmspack $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 mspack_create_chm_decompressor ();
29801 int
29802 main ()
29803 {
29804 return mspack_create_chm_decompressor ();
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_mspack_mspack_create_chm_decompressor=yes
29828 else
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29831
29832 ac_cv_lib_mspack_mspack_create_chm_decompressor=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_mspack_mspack_create_chm_decompressor" >&5
29840 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29841 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29842 MSPACK_LINK=" -lmspack"
29843 fi
29844
29845 fi
29846 if test "x$MSPACK_LINK" = "x" ; then
29847 wxUSE_LIBMSPACK=no
29848 fi
29849 fi
29850
29851 if test "$wxUSE_LIBMSPACK" != "no"; then
29852 cat >>confdefs.h <<\_ACEOF
29853 #define wxUSE_LIBMSPACK 1
29854 _ACEOF
29855
29856 fi
29857
29858
29859
29860 AFMINSTALL=
29861 WIN32INSTALL=
29862
29863 TOOLKIT=
29864 TOOLKIT_INCLUDE=
29865 WIDGET_SET=
29866
29867 if test "$USE_WIN32" = 1 ; then
29868
29869 for ac_header in w32api.h
29870 do
29871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29872 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29875 echo $ECHO_N "(cached) $ECHO_C" >&6
29876 else
29877 cat >conftest.$ac_ext <<_ACEOF
29878 /* confdefs.h. */
29879 _ACEOF
29880 cat confdefs.h >>conftest.$ac_ext
29881 cat >>conftest.$ac_ext <<_ACEOF
29882 /* end confdefs.h. */
29883
29884
29885 #include <$ac_header>
29886 _ACEOF
29887 rm -f conftest.$ac_objext
29888 if { (ac_try="$ac_compile"
29889 case "(($ac_try" in
29890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29891 *) ac_try_echo=$ac_try;;
29892 esac
29893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29894 (eval "$ac_compile") 2>conftest.er1
29895 ac_status=$?
29896 grep -v '^ *+' conftest.er1 >conftest.err
29897 rm -f conftest.er1
29898 cat conftest.err >&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } && {
29901 test -z "$ac_c_werror_flag" ||
29902 test ! -s conftest.err
29903 } && test -s conftest.$ac_objext; then
29904 eval "$as_ac_Header=yes"
29905 else
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29908
29909 eval "$as_ac_Header=no"
29910 fi
29911
29912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29913 fi
29914 ac_res=`eval echo '${'$as_ac_Header'}'`
29915 { echo "$as_me:$LINENO: result: $ac_res" >&5
29916 echo "${ECHO_T}$ac_res" >&6; }
29917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29918 cat >>confdefs.h <<_ACEOF
29919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29920 _ACEOF
29921
29922 fi
29923
29924 done
29925
29926 { echo "$as_me:$LINENO: checking for windows.h" >&5
29927 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29928 if test "${ac_cv_header_windows_h+set}" = set; then
29929 echo $ECHO_N "(cached) $ECHO_C" >&6
29930 else
29931 cat >conftest.$ac_ext <<_ACEOF
29932 /* confdefs.h. */
29933 _ACEOF
29934 cat confdefs.h >>conftest.$ac_ext
29935 cat >>conftest.$ac_ext <<_ACEOF
29936 /* end confdefs.h. */
29937
29938
29939 #include <windows.h>
29940 _ACEOF
29941 rm -f conftest.$ac_objext
29942 if { (ac_try="$ac_compile"
29943 case "(($ac_try" in
29944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29945 *) ac_try_echo=$ac_try;;
29946 esac
29947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29948 (eval "$ac_compile") 2>conftest.er1
29949 ac_status=$?
29950 grep -v '^ *+' conftest.er1 >conftest.err
29951 rm -f conftest.er1
29952 cat conftest.err >&5
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); } && {
29955 test -z "$ac_c_werror_flag" ||
29956 test ! -s conftest.err
29957 } && test -s conftest.$ac_objext; then
29958 ac_cv_header_windows_h=yes
29959 else
29960 echo "$as_me: failed program was:" >&5
29961 sed 's/^/| /' conftest.$ac_ext >&5
29962
29963 ac_cv_header_windows_h=no
29964 fi
29965
29966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29967 fi
29968 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29969 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29970 if test $ac_cv_header_windows_h = yes; then
29971 :
29972 else
29973
29974 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29975 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29976 { (exit 1); exit 1; }; }
29977
29978 fi
29979
29980
29981
29982 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29983
29984 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29985 LIBS="$LIBS -loleacc"
29986 fi
29987
29988 case "${host}" in
29989 *-*-cygwin* )
29990 LIBS="$LIBS -lkernel32 -luser32"
29991 esac
29992
29993 if test "$wxUSE_ODBC" = "sys" ; then
29994 wxUSE_ODBC = "yes"
29995 fi
29996 if test "$wxUSE_ODBC" = "yes" ; then
29997 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29998 cat >>confdefs.h <<\_ACEOF
29999 #define wxUSE_ODBC 1
30000 _ACEOF
30001
30002 fi
30003
30004 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30005 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30006
30007 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30008
30009 WIN32INSTALL=win32install
30010
30011 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30012 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30013 if test "${ac_cv_header_pbt_h+set}" = set; then
30014 echo $ECHO_N "(cached) $ECHO_C" >&6
30015 else
30016 cat >conftest.$ac_ext <<_ACEOF
30017 /* confdefs.h. */
30018 _ACEOF
30019 cat confdefs.h >>conftest.$ac_ext
30020 cat >>conftest.$ac_ext <<_ACEOF
30021 /* end confdefs.h. */
30022
30023
30024 #include <pbt.h>
30025 _ACEOF
30026 rm -f conftest.$ac_objext
30027 if { (ac_try="$ac_compile"
30028 case "(($ac_try" in
30029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30030 *) ac_try_echo=$ac_try;;
30031 esac
30032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30033 (eval "$ac_compile") 2>conftest.er1
30034 ac_status=$?
30035 grep -v '^ *+' conftest.er1 >conftest.err
30036 rm -f conftest.er1
30037 cat conftest.err >&5
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); } && {
30040 test -z "$ac_c_werror_flag" ||
30041 test ! -s conftest.err
30042 } && test -s conftest.$ac_objext; then
30043 ac_cv_header_pbt_h=yes
30044 else
30045 echo "$as_me: failed program was:" >&5
30046 sed 's/^/| /' conftest.$ac_ext >&5
30047
30048 ac_cv_header_pbt_h=no
30049 fi
30050
30051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30052 fi
30053 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30054 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30055 if test $ac_cv_header_pbt_h = yes; then
30056 :
30057 else
30058 cat >>confdefs.h <<\_ACEOF
30059 #define NEED_PBT_H 1
30060 _ACEOF
30061
30062 fi
30063
30064
30065 fi
30066
30067 if test "$wxUSE_GUI" = "yes"; then
30068 USE_GUI=1
30069
30070 GUI_TK_LIBRARY=
30071
30072 WXGTK12=
30073 WXGTK127=
30074 WXGTK20=
30075 WXGPE=
30076
30077 if test "$wxUSE_COCOA" = 1 ; then
30078 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30079 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30080 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30081 wxUSE_PRINTING_ARCHITECTURE=no
30082 fi
30083 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30084 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30085 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30086 wxUSE_DRAG_AND_DROP=no
30087 fi
30088 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30089 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30090 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30091 wxUSE_DRAGIMAGE=no
30092 fi
30093 fi
30094
30095 if test "$wxUSE_MSW" = 1 ; then
30096 TOOLKIT=MSW
30097 GUIDIST=MSW_DIST
30098
30099 case "${host}" in
30100 *-*-mingw32* )
30101 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30102 esac
30103 fi
30104
30105 if test "$wxUSE_GTK" = 1; then
30106 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30107 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30108
30109 gtk_version_cached=1
30110 if test "${wx_cv_lib_gtk+set}" = set; then
30111 echo $ECHO_N "(cached) $ECHO_C" >&6
30112 else
30113
30114 gtk_version_cached=0
30115 { echo "$as_me:$LINENO: result: " >&5
30116 echo "${ECHO_T}" >&6; }
30117
30118 GTK_MODULES=
30119 if test "$wxUSE_THREADS" = "yes"; then
30120 GTK_MODULES=gthread
30121 fi
30122
30123 wx_cv_lib_gtk=
30124 if test "x$wxGTK_VERSION" != "x1"
30125 then
30126 case "${host}" in
30127 *-*-solaris2* )
30128 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30129 enable_gtktest=no
30130 fi
30131 esac
30132
30133 # Check whether --enable-gtktest was given.
30134 if test "${enable_gtktest+set}" = set; then
30135 enableval=$enable_gtktest;
30136 else
30137 enable_gtktest=yes
30138 fi
30139
30140
30141 pkg_config_args=gtk+-2.0
30142 for module in . $GTK_MODULES
30143 do
30144 case "$module" in
30145 gthread)
30146 pkg_config_args="$pkg_config_args gthread-2.0"
30147 ;;
30148 esac
30149 done
30150
30151 no_gtk=""
30152
30153 # Extract the first word of "pkg-config", so it can be a program name with args.
30154 set dummy pkg-config; ac_word=$2
30155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30157 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30158 echo $ECHO_N "(cached) $ECHO_C" >&6
30159 else
30160 case $PKG_CONFIG in
30161 [\\/]* | ?:[\\/]*)
30162 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30163 ;;
30164 *)
30165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30166 for as_dir in $PATH
30167 do
30168 IFS=$as_save_IFS
30169 test -z "$as_dir" && as_dir=.
30170 for ac_exec_ext in '' $ac_executable_extensions; do
30171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30172 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30174 break 2
30175 fi
30176 done
30177 done
30178 IFS=$as_save_IFS
30179
30180 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30181 ;;
30182 esac
30183 fi
30184 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30185 if test -n "$PKG_CONFIG"; then
30186 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30187 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30188 else
30189 { echo "$as_me:$LINENO: result: no" >&5
30190 echo "${ECHO_T}no" >&6; }
30191 fi
30192
30193
30194
30195 if test x$PKG_CONFIG != xno ; then
30196 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30197 :
30198 else
30199 echo "*** pkg-config too old; version 0.7 or better required."
30200 no_gtk=yes
30201 PKG_CONFIG=no
30202 fi
30203 else
30204 no_gtk=yes
30205 fi
30206
30207 min_gtk_version=2.0.0
30208 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30209 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30210
30211 if test x$PKG_CONFIG != xno ; then
30212 ## don't try to run the test against uninstalled libtool libs
30213 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30214 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30215 enable_gtktest=no
30216 fi
30217
30218 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30219 :
30220 else
30221 no_gtk=yes
30222 fi
30223 fi
30224
30225 if test x"$no_gtk" = x ; then
30226 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30227 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30228 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30229 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30230 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30231 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30232 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30233 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30234 if test "x$enable_gtktest" = "xyes" ; then
30235 ac_save_CFLAGS="$CFLAGS"
30236 ac_save_LIBS="$LIBS"
30237 CFLAGS="$CFLAGS $GTK_CFLAGS"
30238 LIBS="$GTK_LIBS $LIBS"
30239 rm -f conf.gtktest
30240 if test "$cross_compiling" = yes; then
30241 echo $ac_n "cross compiling; assumed OK... $ac_c"
30242 else
30243 cat >conftest.$ac_ext <<_ACEOF
30244 /* confdefs.h. */
30245 _ACEOF
30246 cat confdefs.h >>conftest.$ac_ext
30247 cat >>conftest.$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249
30250 #include <gtk/gtk.h>
30251 #include <stdio.h>
30252 #include <stdlib.h>
30253
30254 int
30255 main ()
30256 {
30257 int major, minor, micro;
30258 char *tmp_version;
30259
30260 system ("touch conf.gtktest");
30261
30262 /* HP/UX 9 (%@#!) writes to sscanf strings */
30263 tmp_version = g_strdup("$min_gtk_version");
30264 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30265 printf("%s, bad version string\n", "$min_gtk_version");
30266 exit(1);
30267 }
30268
30269 if ((gtk_major_version != $gtk_config_major_version) ||
30270 (gtk_minor_version != $gtk_config_minor_version) ||
30271 (gtk_micro_version != $gtk_config_micro_version))
30272 {
30273 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30274 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30275 gtk_major_version, gtk_minor_version, gtk_micro_version);
30276 printf ("*** was found! If pkg-config was correct, then it is best\n");
30277 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30278 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30279 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30280 printf("*** required on your system.\n");
30281 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30282 printf("*** to point to the correct configuration files\n");
30283 }
30284 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30285 (gtk_minor_version != GTK_MINOR_VERSION) ||
30286 (gtk_micro_version != GTK_MICRO_VERSION))
30287 {
30288 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30289 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30290 printf("*** library (version %d.%d.%d)\n",
30291 gtk_major_version, gtk_minor_version, gtk_micro_version);
30292 }
30293 else
30294 {
30295 if ((gtk_major_version > major) ||
30296 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30297 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30298 {
30299 return 0;
30300 }
30301 else
30302 {
30303 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30304 gtk_major_version, gtk_minor_version, gtk_micro_version);
30305 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30306 major, minor, micro);
30307 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30308 printf("***\n");
30309 printf("*** If you have already installed a sufficiently new version, this error\n");
30310 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30311 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30312 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30313 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30314 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30315 printf("*** so that the correct libraries are found at run-time))\n");
30316 }
30317 }
30318 return 1;
30319 }
30320
30321 _ACEOF
30322 rm -f conftest$ac_exeext
30323 if { (ac_try="$ac_link"
30324 case "(($ac_try" in
30325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30326 *) ac_try_echo=$ac_try;;
30327 esac
30328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_link") 2>&5
30330 ac_status=$?
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30333 { (case "(($ac_try" in
30334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30335 *) ac_try_echo=$ac_try;;
30336 esac
30337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30338 (eval "$ac_try") 2>&5
30339 ac_status=$?
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; }; then
30342 :
30343 else
30344 echo "$as_me: program exited with status $ac_status" >&5
30345 echo "$as_me: failed program was:" >&5
30346 sed 's/^/| /' conftest.$ac_ext >&5
30347
30348 ( exit $ac_status )
30349 no_gtk=yes
30350 fi
30351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30352 fi
30353
30354
30355 CFLAGS="$ac_save_CFLAGS"
30356 LIBS="$ac_save_LIBS"
30357 fi
30358 fi
30359 if test "x$no_gtk" = x ; then
30360 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30361 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30362 wx_cv_lib_gtk=2.0
30363 else
30364 { echo "$as_me:$LINENO: result: no" >&5
30365 echo "${ECHO_T}no" >&6; }
30366 if test "$PKG_CONFIG" = "no" ; then
30367 echo "*** A new enough version of pkg-config was not found."
30368 echo "*** See http://pkgconfig.sourceforge.net"
30369 else
30370 if test -f conf.gtktest ; then
30371 :
30372 else
30373 echo "*** Could not run GTK+ test program, checking why..."
30374 ac_save_CFLAGS="$CFLAGS"
30375 ac_save_LIBS="$LIBS"
30376 CFLAGS="$CFLAGS $GTK_CFLAGS"
30377 LIBS="$LIBS $GTK_LIBS"
30378 cat >conftest.$ac_ext <<_ACEOF
30379 /* confdefs.h. */
30380 _ACEOF
30381 cat confdefs.h >>conftest.$ac_ext
30382 cat >>conftest.$ac_ext <<_ACEOF
30383 /* end confdefs.h. */
30384
30385 #include <gtk/gtk.h>
30386 #include <stdio.h>
30387
30388 int
30389 main ()
30390 {
30391 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30392 ;
30393 return 0;
30394 }
30395 _ACEOF
30396 rm -f conftest.$ac_objext conftest$ac_exeext
30397 if { (ac_try="$ac_link"
30398 case "(($ac_try" in
30399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30400 *) ac_try_echo=$ac_try;;
30401 esac
30402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30403 (eval "$ac_link") 2>conftest.er1
30404 ac_status=$?
30405 grep -v '^ *+' conftest.er1 >conftest.err
30406 rm -f conftest.er1
30407 cat conftest.err >&5
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); } && {
30410 test -z "$ac_c_werror_flag" ||
30411 test ! -s conftest.err
30412 } && test -s conftest$ac_exeext &&
30413 $as_test_x conftest$ac_exeext; then
30414 echo "*** The test program compiled, but did not run. This usually means"
30415 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30416 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30417 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30418 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30419 echo "*** is required on your system"
30420 echo "***"
30421 echo "*** If you have an old version installed, it is best to remove it, although"
30422 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30423 else
30424 echo "$as_me: failed program was:" >&5
30425 sed 's/^/| /' conftest.$ac_ext >&5
30426
30427 echo "*** The test program failed to compile or link. See the file config.log for the"
30428 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30429 fi
30430
30431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30432 conftest$ac_exeext conftest.$ac_ext
30433 CFLAGS="$ac_save_CFLAGS"
30434 LIBS="$ac_save_LIBS"
30435 fi
30436 fi
30437 GTK_CFLAGS=""
30438 GTK_LIBS=""
30439 :
30440 fi
30441
30442
30443 rm -f conf.gtktest
30444
30445
30446 case "${host}" in
30447 *-*-solaris2* )
30448 if test "$wxUSE_SHARED" != "yes"; then
30449 GTK_LIBS="$GTK_LIBS -lX11"
30450 fi
30451 esac
30452 fi
30453
30454 if test -z "$wx_cv_lib_gtk"; then
30455 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30456
30457 # Check whether --with-gtk-prefix was given.
30458 if test "${with_gtk_prefix+set}" = set; then
30459 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30460 else
30461 gtk_config_prefix=""
30462 fi
30463
30464
30465 # Check whether --with-gtk-exec-prefix was given.
30466 if test "${with_gtk_exec_prefix+set}" = set; then
30467 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30468 else
30469 gtk_config_exec_prefix=""
30470 fi
30471
30472 # Check whether --enable-gtktest was given.
30473 if test "${enable_gtktest+set}" = set; then
30474 enableval=$enable_gtktest;
30475 else
30476 enable_gtktest=yes
30477 fi
30478
30479
30480 for module in . $GTK_MODULES
30481 do
30482 case "$module" in
30483 gthread)
30484 gtk_config_args="$gtk_config_args gthread"
30485 ;;
30486 esac
30487 done
30488
30489 if test x$gtk_config_exec_prefix != x ; then
30490 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30491 if test x${GTK_CONFIG+set} != xset ; then
30492 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30493 fi
30494 fi
30495 if test x$gtk_config_prefix != x ; then
30496 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30497 if test x${GTK_CONFIG+set} != xset ; then
30498 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30499 fi
30500 fi
30501
30502 # Extract the first word of "gtk-config", so it can be a program name with args.
30503 set dummy gtk-config; ac_word=$2
30504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30506 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30507 echo $ECHO_N "(cached) $ECHO_C" >&6
30508 else
30509 case $GTK_CONFIG in
30510 [\\/]* | ?:[\\/]*)
30511 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30512 ;;
30513 *)
30514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30515 for as_dir in $PATH
30516 do
30517 IFS=$as_save_IFS
30518 test -z "$as_dir" && as_dir=.
30519 for ac_exec_ext in '' $ac_executable_extensions; do
30520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30521 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30523 break 2
30524 fi
30525 done
30526 done
30527 IFS=$as_save_IFS
30528
30529 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30530 ;;
30531 esac
30532 fi
30533 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30534 if test -n "$GTK_CONFIG"; then
30535 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30536 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30537 else
30538 { echo "$as_me:$LINENO: result: no" >&5
30539 echo "${ECHO_T}no" >&6; }
30540 fi
30541
30542
30543 min_gtk_version=1.2.7
30544 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30545 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30546 no_gtk=""
30547 if test "$GTK_CONFIG" = "no" ; then
30548 no_gtk=yes
30549 else
30550 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30551 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30552 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30553 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30554 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30555 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30556 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30557 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30558 if test "x$enable_gtktest" = "xyes" ; then
30559 ac_save_CFLAGS="$CFLAGS"
30560 ac_save_LIBS="$LIBS"
30561 CFLAGS="$CFLAGS $GTK_CFLAGS"
30562 LIBS="$GTK_LIBS $LIBS"
30563 rm -f conf.gtktest
30564 if test "$cross_compiling" = yes; then
30565 echo $ac_n "cross compiling; assumed OK... $ac_c"
30566 else
30567 cat >conftest.$ac_ext <<_ACEOF
30568 /* confdefs.h. */
30569 _ACEOF
30570 cat confdefs.h >>conftest.$ac_ext
30571 cat >>conftest.$ac_ext <<_ACEOF
30572 /* end confdefs.h. */
30573
30574 #include <gtk/gtk.h>
30575 #include <stdio.h>
30576 #include <stdlib.h>
30577
30578 int
30579 main ()
30580 {
30581 int major, minor, micro;
30582 char *tmp_version;
30583
30584 system ("touch conf.gtktest");
30585
30586 /* HP/UX 9 (%@#!) writes to sscanf strings */
30587 tmp_version = g_strdup("$min_gtk_version");
30588 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30589 printf("%s, bad version string\n", "$min_gtk_version");
30590 exit(1);
30591 }
30592
30593 if ((gtk_major_version != $gtk_config_major_version) ||
30594 (gtk_minor_version != $gtk_config_minor_version) ||
30595 (gtk_micro_version != $gtk_config_micro_version))
30596 {
30597 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30598 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30599 gtk_major_version, gtk_minor_version, gtk_micro_version);
30600 printf ("*** was found! If gtk-config was correct, then it is best\n");
30601 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30602 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30603 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30604 printf("*** required on your system.\n");
30605 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30606 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30607 printf("*** before re-running configure\n");
30608 }
30609 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30610 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30611 (gtk_minor_version != GTK_MINOR_VERSION) ||
30612 (gtk_micro_version != GTK_MICRO_VERSION))
30613 {
30614 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30615 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30616 printf("*** library (version %d.%d.%d)\n",
30617 gtk_major_version, gtk_minor_version, gtk_micro_version);
30618 }
30619 #endif /* defined (GTK_MAJOR_VERSION) ... */
30620 else
30621 {
30622 if ((gtk_major_version > major) ||
30623 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30624 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30625 {
30626 return 0;
30627 }
30628 else
30629 {
30630 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30631 gtk_major_version, gtk_minor_version, gtk_micro_version);
30632 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30633 major, minor, micro);
30634 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30635 printf("***\n");
30636 printf("*** If you have already installed a sufficiently new version, this error\n");
30637 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30638 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30639 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30640 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30641 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30642 printf("*** so that the correct libraries are found at run-time))\n");
30643 }
30644 }
30645 return 1;
30646 }
30647
30648 _ACEOF
30649 rm -f conftest$ac_exeext
30650 if { (ac_try="$ac_link"
30651 case "(($ac_try" in
30652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30653 *) ac_try_echo=$ac_try;;
30654 esac
30655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30656 (eval "$ac_link") 2>&5
30657 ac_status=$?
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30660 { (case "(($ac_try" in
30661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30662 *) ac_try_echo=$ac_try;;
30663 esac
30664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30665 (eval "$ac_try") 2>&5
30666 ac_status=$?
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; }; then
30669 :
30670 else
30671 echo "$as_me: program exited with status $ac_status" >&5
30672 echo "$as_me: failed program was:" >&5
30673 sed 's/^/| /' conftest.$ac_ext >&5
30674
30675 ( exit $ac_status )
30676 no_gtk=yes
30677 fi
30678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30679 fi
30680
30681
30682 CFLAGS="$ac_save_CFLAGS"
30683 LIBS="$ac_save_LIBS"
30684 fi
30685 fi
30686 if test "x$no_gtk" = x ; then
30687 { echo "$as_me:$LINENO: result: yes" >&5
30688 echo "${ECHO_T}yes" >&6; }
30689 wx_cv_lib_gtk=1.2.7
30690 else
30691 { echo "$as_me:$LINENO: result: no" >&5
30692 echo "${ECHO_T}no" >&6; }
30693 if test "$GTK_CONFIG" = "no" ; then
30694 echo "*** The gtk-config script installed by GTK could not be found"
30695 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30696 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30697 echo "*** full path to gtk-config."
30698 else
30699 if test -f conf.gtktest ; then
30700 :
30701 else
30702 echo "*** Could not run GTK test program, checking why..."
30703 CFLAGS="$CFLAGS $GTK_CFLAGS"
30704 LIBS="$LIBS $GTK_LIBS"
30705 cat >conftest.$ac_ext <<_ACEOF
30706 /* confdefs.h. */
30707 _ACEOF
30708 cat confdefs.h >>conftest.$ac_ext
30709 cat >>conftest.$ac_ext <<_ACEOF
30710 /* end confdefs.h. */
30711
30712 #include <gtk/gtk.h>
30713 #include <stdio.h>
30714
30715 int
30716 main ()
30717 {
30718 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30719 ;
30720 return 0;
30721 }
30722 _ACEOF
30723 rm -f conftest.$ac_objext conftest$ac_exeext
30724 if { (ac_try="$ac_link"
30725 case "(($ac_try" in
30726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30727 *) ac_try_echo=$ac_try;;
30728 esac
30729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30730 (eval "$ac_link") 2>conftest.er1
30731 ac_status=$?
30732 grep -v '^ *+' conftest.er1 >conftest.err
30733 rm -f conftest.er1
30734 cat conftest.err >&5
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); } && {
30737 test -z "$ac_c_werror_flag" ||
30738 test ! -s conftest.err
30739 } && test -s conftest$ac_exeext &&
30740 $as_test_x conftest$ac_exeext; then
30741 echo "*** The test program compiled, but did not run. This usually means"
30742 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30743 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30744 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30745 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30746 echo "*** is required on your system"
30747 echo "***"
30748 echo "*** If you have an old version installed, it is best to remove it, although"
30749 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30750 echo "***"
30751 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30752 echo "*** came with the system with the command"
30753 echo "***"
30754 echo "*** rpm --erase --nodeps gtk gtk-devel"
30755 else
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.$ac_ext >&5
30758
30759 echo "*** The test program failed to compile or link. See the file config.log for the"
30760 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30761 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30762 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30763 fi
30764
30765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30766 conftest$ac_exeext conftest.$ac_ext
30767 CFLAGS="$ac_save_CFLAGS"
30768 LIBS="$ac_save_LIBS"
30769 fi
30770 fi
30771 GTK_CFLAGS=""
30772 GTK_LIBS=""
30773 :
30774 fi
30775
30776
30777 rm -f conf.gtktest
30778
30779
30780 if test -z "$wx_cv_lib_gtk"; then
30781
30782 # Check whether --with-gtk-prefix was given.
30783 if test "${with_gtk_prefix+set}" = set; then
30784 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30785 else
30786 gtk_config_prefix=""
30787 fi
30788
30789
30790 # Check whether --with-gtk-exec-prefix was given.
30791 if test "${with_gtk_exec_prefix+set}" = set; then
30792 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30793 else
30794 gtk_config_exec_prefix=""
30795 fi
30796
30797 # Check whether --enable-gtktest was given.
30798 if test "${enable_gtktest+set}" = set; then
30799 enableval=$enable_gtktest;
30800 else
30801 enable_gtktest=yes
30802 fi
30803
30804
30805 for module in . $GTK_MODULES
30806 do
30807 case "$module" in
30808 gthread)
30809 gtk_config_args="$gtk_config_args gthread"
30810 ;;
30811 esac
30812 done
30813
30814 if test x$gtk_config_exec_prefix != x ; then
30815 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30816 if test x${GTK_CONFIG+set} != xset ; then
30817 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30818 fi
30819 fi
30820 if test x$gtk_config_prefix != x ; then
30821 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30822 if test x${GTK_CONFIG+set} != xset ; then
30823 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30824 fi
30825 fi
30826
30827 # Extract the first word of "gtk-config", so it can be a program name with args.
30828 set dummy gtk-config; ac_word=$2
30829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30831 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30832 echo $ECHO_N "(cached) $ECHO_C" >&6
30833 else
30834 case $GTK_CONFIG in
30835 [\\/]* | ?:[\\/]*)
30836 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30837 ;;
30838 *)
30839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30840 for as_dir in $PATH
30841 do
30842 IFS=$as_save_IFS
30843 test -z "$as_dir" && as_dir=.
30844 for ac_exec_ext in '' $ac_executable_extensions; do
30845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30846 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30848 break 2
30849 fi
30850 done
30851 done
30852 IFS=$as_save_IFS
30853
30854 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30855 ;;
30856 esac
30857 fi
30858 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30859 if test -n "$GTK_CONFIG"; then
30860 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30861 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30862 else
30863 { echo "$as_me:$LINENO: result: no" >&5
30864 echo "${ECHO_T}no" >&6; }
30865 fi
30866
30867
30868 min_gtk_version=1.2.3
30869 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30870 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30871 no_gtk=""
30872 if test "$GTK_CONFIG" = "no" ; then
30873 no_gtk=yes
30874 else
30875 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30876 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30877 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30879 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30881 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30883 if test "x$enable_gtktest" = "xyes" ; then
30884 ac_save_CFLAGS="$CFLAGS"
30885 ac_save_LIBS="$LIBS"
30886 CFLAGS="$CFLAGS $GTK_CFLAGS"
30887 LIBS="$GTK_LIBS $LIBS"
30888 rm -f conf.gtktest
30889 if test "$cross_compiling" = yes; then
30890 echo $ac_n "cross compiling; assumed OK... $ac_c"
30891 else
30892 cat >conftest.$ac_ext <<_ACEOF
30893 /* confdefs.h. */
30894 _ACEOF
30895 cat confdefs.h >>conftest.$ac_ext
30896 cat >>conftest.$ac_ext <<_ACEOF
30897 /* end confdefs.h. */
30898
30899 #include <gtk/gtk.h>
30900 #include <stdio.h>
30901 #include <stdlib.h>
30902
30903 int
30904 main ()
30905 {
30906 int major, minor, micro;
30907 char *tmp_version;
30908
30909 system ("touch conf.gtktest");
30910
30911 /* HP/UX 9 (%@#!) writes to sscanf strings */
30912 tmp_version = g_strdup("$min_gtk_version");
30913 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30914 printf("%s, bad version string\n", "$min_gtk_version");
30915 exit(1);
30916 }
30917
30918 if ((gtk_major_version != $gtk_config_major_version) ||
30919 (gtk_minor_version != $gtk_config_minor_version) ||
30920 (gtk_micro_version != $gtk_config_micro_version))
30921 {
30922 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30923 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30924 gtk_major_version, gtk_minor_version, gtk_micro_version);
30925 printf ("*** was found! If gtk-config was correct, then it is best\n");
30926 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30927 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30928 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30929 printf("*** required on your system.\n");
30930 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30931 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30932 printf("*** before re-running configure\n");
30933 }
30934 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30935 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30936 (gtk_minor_version != GTK_MINOR_VERSION) ||
30937 (gtk_micro_version != GTK_MICRO_VERSION))
30938 {
30939 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30940 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30941 printf("*** library (version %d.%d.%d)\n",
30942 gtk_major_version, gtk_minor_version, gtk_micro_version);
30943 }
30944 #endif /* defined (GTK_MAJOR_VERSION) ... */
30945 else
30946 {
30947 if ((gtk_major_version > major) ||
30948 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30949 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30950 {
30951 return 0;
30952 }
30953 else
30954 {
30955 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30956 gtk_major_version, gtk_minor_version, gtk_micro_version);
30957 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30958 major, minor, micro);
30959 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30960 printf("***\n");
30961 printf("*** If you have already installed a sufficiently new version, this error\n");
30962 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30963 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30964 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30965 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30966 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30967 printf("*** so that the correct libraries are found at run-time))\n");
30968 }
30969 }
30970 return 1;
30971 }
30972
30973 _ACEOF
30974 rm -f conftest$ac_exeext
30975 if { (ac_try="$ac_link"
30976 case "(($ac_try" in
30977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30978 *) ac_try_echo=$ac_try;;
30979 esac
30980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30981 (eval "$ac_link") 2>&5
30982 ac_status=$?
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30985 { (case "(($ac_try" in
30986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30987 *) ac_try_echo=$ac_try;;
30988 esac
30989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30990 (eval "$ac_try") 2>&5
30991 ac_status=$?
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); }; }; then
30994 :
30995 else
30996 echo "$as_me: program exited with status $ac_status" >&5
30997 echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
30999
31000 ( exit $ac_status )
31001 no_gtk=yes
31002 fi
31003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31004 fi
31005
31006
31007 CFLAGS="$ac_save_CFLAGS"
31008 LIBS="$ac_save_LIBS"
31009 fi
31010 fi
31011 if test "x$no_gtk" = x ; then
31012 { echo "$as_me:$LINENO: result: yes" >&5
31013 echo "${ECHO_T}yes" >&6; }
31014 wx_cv_lib_gtk=1.2.3
31015 else
31016 { echo "$as_me:$LINENO: result: no" >&5
31017 echo "${ECHO_T}no" >&6; }
31018 if test "$GTK_CONFIG" = "no" ; then
31019 echo "*** The gtk-config script installed by GTK could not be found"
31020 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31021 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31022 echo "*** full path to gtk-config."
31023 else
31024 if test -f conf.gtktest ; then
31025 :
31026 else
31027 echo "*** Could not run GTK test program, checking why..."
31028 CFLAGS="$CFLAGS $GTK_CFLAGS"
31029 LIBS="$LIBS $GTK_LIBS"
31030 cat >conftest.$ac_ext <<_ACEOF
31031 /* confdefs.h. */
31032 _ACEOF
31033 cat confdefs.h >>conftest.$ac_ext
31034 cat >>conftest.$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31036
31037 #include <gtk/gtk.h>
31038 #include <stdio.h>
31039
31040 int
31041 main ()
31042 {
31043 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31044 ;
31045 return 0;
31046 }
31047 _ACEOF
31048 rm -f conftest.$ac_objext conftest$ac_exeext
31049 if { (ac_try="$ac_link"
31050 case "(($ac_try" in
31051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31052 *) ac_try_echo=$ac_try;;
31053 esac
31054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31055 (eval "$ac_link") 2>conftest.er1
31056 ac_status=$?
31057 grep -v '^ *+' conftest.er1 >conftest.err
31058 rm -f conftest.er1
31059 cat conftest.err >&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); } && {
31062 test -z "$ac_c_werror_flag" ||
31063 test ! -s conftest.err
31064 } && test -s conftest$ac_exeext &&
31065 $as_test_x conftest$ac_exeext; then
31066 echo "*** The test program compiled, but did not run. This usually means"
31067 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31068 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31069 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31070 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31071 echo "*** is required on your system"
31072 echo "***"
31073 echo "*** If you have an old version installed, it is best to remove it, although"
31074 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31075 echo "***"
31076 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31077 echo "*** came with the system with the command"
31078 echo "***"
31079 echo "*** rpm --erase --nodeps gtk gtk-devel"
31080 else
31081 echo "$as_me: failed program was:" >&5
31082 sed 's/^/| /' conftest.$ac_ext >&5
31083
31084 echo "*** The test program failed to compile or link. See the file config.log for the"
31085 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31086 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31087 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31088 fi
31089
31090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31091 conftest$ac_exeext conftest.$ac_ext
31092 CFLAGS="$ac_save_CFLAGS"
31093 LIBS="$ac_save_LIBS"
31094 fi
31095 fi
31096 GTK_CFLAGS=""
31097 GTK_LIBS=""
31098 :
31099 fi
31100
31101
31102 rm -f conf.gtktest
31103
31104 fi
31105 fi
31106 fi
31107
31108 if test -z "$wx_cv_lib_gtk"; then
31109 wx_cv_lib_gtk=none
31110 else
31111 wx_cv_cflags_gtk=$GTK_CFLAGS
31112 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31113 fi
31114
31115
31116 fi
31117
31118
31119 if test "$gtk_version_cached" = 1; then
31120 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31121 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31122 fi
31123
31124 case "$wx_cv_lib_gtk" in
31125 2.0) WXGTK20=1
31126 TOOLKIT_VERSION=2
31127 ;;
31128 1.2.7) WXGTK127=1
31129 WXGTK12=1
31130 ;;
31131 1.2.3) WXGTK12=1
31132 ;;
31133 *) { { echo "$as_me:$LINENO: error:
31134 The development files for GTK+ were not found. For GTK+ 2, please
31135 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31136 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31137 and that the version is 1.2.3 or above. Also check that the
31138 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31139 --libs' are in the LD_LIBRARY_PATH or equivalent.
31140 " >&5
31141 echo "$as_me: error:
31142 The development files for GTK+ were not found. For GTK+ 2, please
31143 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31144 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31145 and that the version is 1.2.3 or above. Also check that the
31146 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31147 --libs' are in the LD_LIBRARY_PATH or equivalent.
31148 " >&2;}
31149 { (exit 1); exit 1; }; }
31150 ;;
31151 esac
31152
31153 if test "$WXGTK20" = 1; then
31154 save_CFLAGS="$CFLAGS"
31155 save_LIBS="$LIBS"
31156 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31157 LIBS="$LIBS $wx_cv_libs_gtk"
31158
31159 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31160 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31161 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31162 echo $ECHO_N "(cached) $ECHO_C" >&6
31163 else
31164 cat >conftest.$ac_ext <<_ACEOF
31165 /* confdefs.h. */
31166 _ACEOF
31167 cat confdefs.h >>conftest.$ac_ext
31168 cat >>conftest.$ac_ext <<_ACEOF
31169 /* end confdefs.h. */
31170 #include <gtk/gtk.h>
31171
31172 int
31173 main ()
31174 {
31175 #ifndef gtk_icon_size_lookup
31176 (void) gtk_icon_size_lookup;
31177 #endif
31178
31179 ;
31180 return 0;
31181 }
31182 _ACEOF
31183 rm -f conftest.$ac_objext
31184 if { (ac_try="$ac_compile"
31185 case "(($ac_try" in
31186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31187 *) ac_try_echo=$ac_try;;
31188 esac
31189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31190 (eval "$ac_compile") 2>conftest.er1
31191 ac_status=$?
31192 grep -v '^ *+' conftest.er1 >conftest.err
31193 rm -f conftest.er1
31194 cat conftest.err >&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); } && {
31197 test -z "$ac_c_werror_flag" ||
31198 test ! -s conftest.err
31199 } && test -s conftest.$ac_objext; then
31200 ac_cv_have_decl_gtk_icon_size_lookup=yes
31201 else
31202 echo "$as_me: failed program was:" >&5
31203 sed 's/^/| /' conftest.$ac_ext >&5
31204
31205 ac_cv_have_decl_gtk_icon_size_lookup=no
31206 fi
31207
31208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31209 fi
31210 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31211 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31212 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31213
31214 cat >>confdefs.h <<_ACEOF
31215 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31216 _ACEOF
31217
31218
31219 else
31220 cat >>confdefs.h <<_ACEOF
31221 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31222 _ACEOF
31223
31224 cat >>confdefs.h <<\_ACEOF
31225 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31226 _ACEOF
31227
31228 fi
31229
31230
31231
31232
31233 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31234 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31235 cat >conftest.$ac_ext <<_ACEOF
31236 /* confdefs.h. */
31237 _ACEOF
31238 cat confdefs.h >>conftest.$ac_ext
31239 cat >>conftest.$ac_ext <<_ACEOF
31240 /* end confdefs.h. */
31241
31242 #include <gtk/gtk.h>
31243
31244 int
31245 main ()
31246 {
31247
31248 #if !GTK_CHECK_VERSION(2,10,0)
31249 Not GTK+ 2.10
31250 #endif
31251
31252 ;
31253 return 0;
31254 }
31255 _ACEOF
31256 rm -f conftest.$ac_objext
31257 if { (ac_try="$ac_compile"
31258 case "(($ac_try" in
31259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31260 *) ac_try_echo=$ac_try;;
31261 esac
31262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31263 (eval "$ac_compile") 2>conftest.er1
31264 ac_status=$?
31265 grep -v '^ *+' conftest.er1 >conftest.err
31266 rm -f conftest.er1
31267 cat conftest.err >&5
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); } && {
31270 test -z "$ac_c_werror_flag" ||
31271 test ! -s conftest.err
31272 } && test -s conftest.$ac_objext; then
31273
31274 cat >>confdefs.h <<\_ACEOF
31275 #define __WXGTK210__ 1
31276 _ACEOF
31277
31278 cat >>confdefs.h <<\_ACEOF
31279 #define __WXGTK26__ 1
31280 _ACEOF
31281
31282 cat >>confdefs.h <<\_ACEOF
31283 #define __WXGTK24__ 1
31284 _ACEOF
31285
31286 { echo "$as_me:$LINENO: result: yes" >&5
31287 echo "${ECHO_T}yes" >&6; }
31288 ac_wxgtk210=1
31289
31290 else
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.$ac_ext >&5
31293
31294
31295 { echo "$as_me:$LINENO: result: no" >&5
31296 echo "${ECHO_T}no" >&6; }
31297 ac_wxgtk210=0
31298
31299 fi
31300
31301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31302
31303 if test "$ac_wxgtk210" = 0; then
31304 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31305 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31306 cat >conftest.$ac_ext <<_ACEOF
31307 /* confdefs.h. */
31308 _ACEOF
31309 cat confdefs.h >>conftest.$ac_ext
31310 cat >>conftest.$ac_ext <<_ACEOF
31311 /* end confdefs.h. */
31312
31313 #include <gtk/gtk.h>
31314
31315 int
31316 main ()
31317 {
31318
31319 #if !GTK_CHECK_VERSION(2,6,0)
31320 Not GTK+ 2.6
31321 #endif
31322
31323 ;
31324 return 0;
31325 }
31326 _ACEOF
31327 rm -f conftest.$ac_objext
31328 if { (ac_try="$ac_compile"
31329 case "(($ac_try" in
31330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31331 *) ac_try_echo=$ac_try;;
31332 esac
31333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31334 (eval "$ac_compile") 2>conftest.er1
31335 ac_status=$?
31336 grep -v '^ *+' conftest.er1 >conftest.err
31337 rm -f conftest.er1
31338 cat conftest.err >&5
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } && {
31341 test -z "$ac_c_werror_flag" ||
31342 test ! -s conftest.err
31343 } && test -s conftest.$ac_objext; then
31344
31345 cat >>confdefs.h <<\_ACEOF
31346 #define __WXGTK26__ 1
31347 _ACEOF
31348
31349 cat >>confdefs.h <<\_ACEOF
31350 #define __WXGTK24__ 1
31351 _ACEOF
31352
31353 { echo "$as_me:$LINENO: result: yes" >&5
31354 echo "${ECHO_T}yes" >&6; }
31355 ac_wxgtk26=1
31356
31357 else
31358 echo "$as_me: failed program was:" >&5
31359 sed 's/^/| /' conftest.$ac_ext >&5
31360
31361
31362 { echo "$as_me:$LINENO: result: no" >&5
31363 echo "${ECHO_T}no" >&6; }
31364 ac_wxgtk26=0
31365
31366 fi
31367
31368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31369 fi
31370
31371 if test "$ac_wxgtk26" = 0; then
31372 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31373 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31374 cat >conftest.$ac_ext <<_ACEOF
31375 /* confdefs.h. */
31376 _ACEOF
31377 cat confdefs.h >>conftest.$ac_ext
31378 cat >>conftest.$ac_ext <<_ACEOF
31379 /* end confdefs.h. */
31380
31381 #include <gtk/gtk.h>
31382
31383 int
31384 main ()
31385 {
31386
31387 #if !GTK_CHECK_VERSION(2,4,0)
31388 Not GTK+ 2.4
31389 #endif
31390
31391 ;
31392 return 0;
31393 }
31394 _ACEOF
31395 rm -f conftest.$ac_objext
31396 if { (ac_try="$ac_compile"
31397 case "(($ac_try" in
31398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31399 *) ac_try_echo=$ac_try;;
31400 esac
31401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31402 (eval "$ac_compile") 2>conftest.er1
31403 ac_status=$?
31404 grep -v '^ *+' conftest.er1 >conftest.err
31405 rm -f conftest.er1
31406 cat conftest.err >&5
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); } && {
31409 test -z "$ac_c_werror_flag" ||
31410 test ! -s conftest.err
31411 } && test -s conftest.$ac_objext; then
31412
31413 cat >>confdefs.h <<\_ACEOF
31414 #define __WXGTK24__ 1
31415 _ACEOF
31416
31417 { echo "$as_me:$LINENO: result: yes" >&5
31418 echo "${ECHO_T}yes" >&6; }
31419
31420 else
31421 echo "$as_me: failed program was:" >&5
31422 sed 's/^/| /' conftest.$ac_ext >&5
31423
31424
31425 { echo "$as_me:$LINENO: result: no" >&5
31426 echo "${ECHO_T}no" >&6; }
31427
31428 fi
31429
31430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31431 fi
31432
31433 CFLAGS="$save_CFLAGS"
31434 LIBS="$save_LIBS"
31435 else
31436 if test "$wxUSE_UNICODE" = "yes"; then
31437 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31438 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31439 wxUSE_UNICODE=no
31440 fi
31441
31442 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31443 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31444 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31445 echo $ECHO_N "(cached) $ECHO_C" >&6
31446 else
31447 ac_check_lib_save_LIBS=$LIBS
31448 LIBS="-lgdk $LIBS"
31449 cat >conftest.$ac_ext <<_ACEOF
31450 /* confdefs.h. */
31451 _ACEOF
31452 cat confdefs.h >>conftest.$ac_ext
31453 cat >>conftest.$ac_ext <<_ACEOF
31454 /* end confdefs.h. */
31455
31456 /* Override any GCC internal prototype to avoid an error.
31457 Use char because int might match the return type of a GCC
31458 builtin and then its argument prototype would still apply. */
31459 #ifdef __cplusplus
31460 extern "C"
31461 #endif
31462 char gdk_im_open ();
31463 int
31464 main ()
31465 {
31466 return gdk_im_open ();
31467 ;
31468 return 0;
31469 }
31470 _ACEOF
31471 rm -f conftest.$ac_objext conftest$ac_exeext
31472 if { (ac_try="$ac_link"
31473 case "(($ac_try" in
31474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31475 *) ac_try_echo=$ac_try;;
31476 esac
31477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31478 (eval "$ac_link") 2>conftest.er1
31479 ac_status=$?
31480 grep -v '^ *+' conftest.er1 >conftest.err
31481 rm -f conftest.er1
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } && {
31485 test -z "$ac_c_werror_flag" ||
31486 test ! -s conftest.err
31487 } && test -s conftest$ac_exeext &&
31488 $as_test_x conftest$ac_exeext; then
31489 ac_cv_lib_gdk_gdk_im_open=yes
31490 else
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31493
31494 ac_cv_lib_gdk_gdk_im_open=no
31495 fi
31496
31497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31498 conftest$ac_exeext conftest.$ac_ext
31499 LIBS=$ac_check_lib_save_LIBS
31500 fi
31501 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31502 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31503 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31504 cat >>confdefs.h <<\_ACEOF
31505 #define HAVE_XIM 1
31506 _ACEOF
31507
31508 fi
31509
31510
31511 if test "$USE_DARWIN" != 1; then
31512
31513 for ac_func in poll
31514 do
31515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31516 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31518 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31520 else
31521 cat >conftest.$ac_ext <<_ACEOF
31522 /* confdefs.h. */
31523 _ACEOF
31524 cat confdefs.h >>conftest.$ac_ext
31525 cat >>conftest.$ac_ext <<_ACEOF
31526 /* end confdefs.h. */
31527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31529 #define $ac_func innocuous_$ac_func
31530
31531 /* System header to define __stub macros and hopefully few prototypes,
31532 which can conflict with char $ac_func (); below.
31533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31534 <limits.h> exists even on freestanding compilers. */
31535
31536 #ifdef __STDC__
31537 # include <limits.h>
31538 #else
31539 # include <assert.h>
31540 #endif
31541
31542 #undef $ac_func
31543
31544 /* Override any GCC internal prototype to avoid an error.
31545 Use char because int might match the return type of a GCC
31546 builtin and then its argument prototype would still apply. */
31547 #ifdef __cplusplus
31548 extern "C"
31549 #endif
31550 char $ac_func ();
31551 /* The GNU C library defines this for functions which it implements
31552 to always fail with ENOSYS. Some functions are actually named
31553 something starting with __ and the normal name is an alias. */
31554 #if defined __stub_$ac_func || defined __stub___$ac_func
31555 choke me
31556 #endif
31557
31558 int
31559 main ()
31560 {
31561 return $ac_func ();
31562 ;
31563 return 0;
31564 }
31565 _ACEOF
31566 rm -f conftest.$ac_objext conftest$ac_exeext
31567 if { (ac_try="$ac_link"
31568 case "(($ac_try" in
31569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31570 *) ac_try_echo=$ac_try;;
31571 esac
31572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31573 (eval "$ac_link") 2>conftest.er1
31574 ac_status=$?
31575 grep -v '^ *+' conftest.er1 >conftest.err
31576 rm -f conftest.er1
31577 cat conftest.err >&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); } && {
31580 test -z "$ac_c_werror_flag" ||
31581 test ! -s conftest.err
31582 } && test -s conftest$ac_exeext &&
31583 $as_test_x conftest$ac_exeext; then
31584 eval "$as_ac_var=yes"
31585 else
31586 echo "$as_me: failed program was:" >&5
31587 sed 's/^/| /' conftest.$ac_ext >&5
31588
31589 eval "$as_ac_var=no"
31590 fi
31591
31592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31593 conftest$ac_exeext conftest.$ac_ext
31594 fi
31595 ac_res=`eval echo '${'$as_ac_var'}'`
31596 { echo "$as_me:$LINENO: result: $ac_res" >&5
31597 echo "${ECHO_T}$ac_res" >&6; }
31598 if test `eval echo '${'$as_ac_var'}'` = yes; then
31599 cat >>confdefs.h <<_ACEOF
31600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31601 _ACEOF
31602
31603 fi
31604 done
31605
31606 fi
31607 fi
31608
31609 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31610 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31611
31612 AFMINSTALL=afminstall
31613 TOOLKIT=GTK
31614 GUIDIST=GTK_DIST
31615
31616 if test "$wxUSE_GPE" = "yes"; then
31617 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31618 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31619
31620 ac_find_libraries=
31621 for ac_dir in $SEARCH_LIB;
31622 do
31623 for ac_extension in a so sl dylib dll.a; do
31624 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31625 ac_find_libraries=$ac_dir
31626 break 2
31627 fi
31628 done
31629 done
31630
31631 if test "$ac_find_libraries" != "" ; then
31632
31633 if test "$ac_find_libraries" = "default location"; then
31634 ac_path_to_link=""
31635 else
31636 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31637 result=$?
31638 if test $result = 0; then
31639 ac_path_to_link=""
31640 else
31641 ac_path_to_link=" -L$ac_find_libraries"
31642 fi
31643 fi
31644
31645 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31646 WXGPE=1
31647 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31648 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31649 else
31650 { echo "$as_me:$LINENO: result: not found" >&5
31651 echo "${ECHO_T}not found" >&6; }
31652 fi
31653
31654 fi
31655 fi
31656
31657 if test "$wxUSE_MGL" = 1; then
31658 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31659 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31660 if test "x$MGL_ROOT" = x ; then
31661 { echo "$as_me:$LINENO: result: not found" >&5
31662 echo "${ECHO_T}not found" >&6; }
31663 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31664 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31665 { (exit 1); exit 1; }; }
31666 else
31667 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31668 echo "${ECHO_T}$MGL_ROOT" >&6; }
31669 fi
31670
31671 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31672 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31673 case "${host}" in
31674 *-*-linux* )
31675 if test "x$wxUSE_SHARED" = xyes ; then
31676 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31677 else
31678 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31679 fi
31680 ;;
31681 *-pc-msdosdjgpp )
31682 mgl_os_candidates="dos32/dj2"
31683 ;;
31684 *)
31685 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31686 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31687 { (exit 1); exit 1; }; }
31688 esac
31689
31690 mgl_lib_type=""
31691 mgl_os=""
31692
31693 for mgl_os_i in $mgl_os_candidates ; do
31694 if test "x$mgl_os" = x ; then
31695 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31696 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31697 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31698 mgl_lib_type=debug
31699 mgl_os=$mgl_os_i
31700 fi
31701 fi
31702 if test "x$mgl_lib_type" = x ; then
31703 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31704 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31705 mgl_lib_type=release
31706 mgl_os=$mgl_os_i
31707 fi
31708 fi
31709 fi
31710 done
31711
31712 if test "x$mgl_os" = x ; then
31713 { echo "$as_me:$LINENO: result: not found" >&5
31714 echo "${ECHO_T}not found" >&6; }
31715 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31716 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31717 { (exit 1); exit 1; }; }
31718 fi
31719 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31720 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31721
31722 wxUSE_UNIVERSAL="yes"
31723
31724 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31725 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31726
31727 AFMINSTALL=afminstall
31728 TOOLKIT=MGL
31729 GUIDIST=MGL_DIST
31730 fi
31731
31732 if test "$wxUSE_DFB" = 1; then
31733
31734
31735 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31736 if test -n "$ac_tool_prefix"; then
31737 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31738 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31741 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31742 echo $ECHO_N "(cached) $ECHO_C" >&6
31743 else
31744 case $PKG_CONFIG in
31745 [\\/]* | ?:[\\/]*)
31746 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31747 ;;
31748 *)
31749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31750 for as_dir in $PATH
31751 do
31752 IFS=$as_save_IFS
31753 test -z "$as_dir" && as_dir=.
31754 for ac_exec_ext in '' $ac_executable_extensions; do
31755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31756 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31758 break 2
31759 fi
31760 done
31761 done
31762 IFS=$as_save_IFS
31763
31764 ;;
31765 esac
31766 fi
31767 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31768 if test -n "$PKG_CONFIG"; then
31769 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31770 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31771 else
31772 { echo "$as_me:$LINENO: result: no" >&5
31773 echo "${ECHO_T}no" >&6; }
31774 fi
31775
31776
31777 fi
31778 if test -z "$ac_cv_path_PKG_CONFIG"; then
31779 ac_pt_PKG_CONFIG=$PKG_CONFIG
31780 # Extract the first word of "pkg-config", so it can be a program name with args.
31781 set dummy pkg-config; ac_word=$2
31782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31784 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31785 echo $ECHO_N "(cached) $ECHO_C" >&6
31786 else
31787 case $ac_pt_PKG_CONFIG in
31788 [\\/]* | ?:[\\/]*)
31789 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31790 ;;
31791 *)
31792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31793 for as_dir in $PATH
31794 do
31795 IFS=$as_save_IFS
31796 test -z "$as_dir" && as_dir=.
31797 for ac_exec_ext in '' $ac_executable_extensions; do
31798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31799 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31801 break 2
31802 fi
31803 done
31804 done
31805 IFS=$as_save_IFS
31806
31807 ;;
31808 esac
31809 fi
31810 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31811 if test -n "$ac_pt_PKG_CONFIG"; then
31812 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31813 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31814 else
31815 { echo "$as_me:$LINENO: result: no" >&5
31816 echo "${ECHO_T}no" >&6; }
31817 fi
31818
31819 if test "x$ac_pt_PKG_CONFIG" = x; then
31820 PKG_CONFIG=""
31821 else
31822 case $cross_compiling:$ac_tool_warned in
31823 yes:)
31824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31825 whose name does not start with the host triplet. If you think this
31826 configuration is useful to you, please write to autoconf@gnu.org." >&5
31827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31828 whose name does not start with the host triplet. If you think this
31829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31830 ac_tool_warned=yes ;;
31831 esac
31832 PKG_CONFIG=$ac_pt_PKG_CONFIG
31833 fi
31834 else
31835 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31836 fi
31837
31838 fi
31839 if test -n "$PKG_CONFIG"; then
31840 _pkg_min_version=0.9.0
31841 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31842 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31843 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31844 { echo "$as_me:$LINENO: result: yes" >&5
31845 echo "${ECHO_T}yes" >&6; }
31846 else
31847 { echo "$as_me:$LINENO: result: no" >&5
31848 echo "${ECHO_T}no" >&6; }
31849 PKG_CONFIG=""
31850 fi
31851
31852 fi
31853
31854
31855 pkg_failed=no
31856 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31857 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31858
31859 if test -n "$PKG_CONFIG"; then
31860 if test -n "$DIRECTFB_CFLAGS"; then
31861 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31862 else
31863 if test -n "$PKG_CONFIG" && \
31864 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31865 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31866 ac_status=$?
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; then
31869 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31870 else
31871 pkg_failed=yes
31872 fi
31873 fi
31874 else
31875 pkg_failed=untried
31876 fi
31877 if test -n "$PKG_CONFIG"; then
31878 if test -n "$DIRECTFB_LIBS"; then
31879 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31880 else
31881 if test -n "$PKG_CONFIG" && \
31882 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31883 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31884 ac_status=$?
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); }; then
31887 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31888 else
31889 pkg_failed=yes
31890 fi
31891 fi
31892 else
31893 pkg_failed=untried
31894 fi
31895
31896
31897
31898 if test $pkg_failed = yes; then
31899
31900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31901 _pkg_short_errors_supported=yes
31902 else
31903 _pkg_short_errors_supported=no
31904 fi
31905 if test $_pkg_short_errors_supported = yes; then
31906 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31907 else
31908 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31909 fi
31910 # Put the nasty error message in config.log where it belongs
31911 echo "$DIRECTFB_PKG_ERRORS" >&5
31912
31913
31914 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31915 echo "$as_me: error: DirectFB not found." >&2;}
31916 { (exit 1); exit 1; }; }
31917
31918
31919 elif test $pkg_failed = untried; then
31920
31921 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31922 echo "$as_me: error: DirectFB not found." >&2;}
31923 { (exit 1); exit 1; }; }
31924
31925
31926 else
31927 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31928 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31929 { echo "$as_me:$LINENO: result: yes" >&5
31930 echo "${ECHO_T}yes" >&6; }
31931
31932 wxUSE_UNIVERSAL="yes"
31933 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31934 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31935 TOOLKIT=DFB
31936 GUIDIST=DFB_DIST
31937
31938 fi
31939 fi
31940
31941 if test "$wxUSE_MICROWIN" = 1; then
31942 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31943 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31944 if test "x$MICROWINDOWS" = x ; then
31945 { echo "$as_me:$LINENO: result: not found" >&5
31946 echo "${ECHO_T}not found" >&6; }
31947 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31948 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31949 { (exit 1); exit 1; }; }
31950 else
31951 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31952 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31953 fi
31954
31955 if test -f $MICROWINDOWS/lib/libmwin.a; then
31956 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31957 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31958 else
31959 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31960 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31961 { (exit 1); exit 1; }; }
31962 fi
31963
31964 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31965 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31966
31967 wxUSE_UNIVERSAL="yes"
31968
31969 AFMINSTALL=afminstall
31970 TOOLKIT=MICROWIN
31971 GUIDIST=MICROWIN_DIST
31972
31973 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31974 fi
31975
31976 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31977 { echo "$as_me:$LINENO: checking for X" >&5
31978 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31979
31980
31981 # Check whether --with-x was given.
31982 if test "${with_x+set}" = set; then
31983 withval=$with_x;
31984 fi
31985
31986 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31987 if test "x$with_x" = xno; then
31988 # The user explicitly disabled X.
31989 have_x=disabled
31990 else
31991 case $x_includes,$x_libraries in #(
31992 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31993 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31994 { (exit 1); exit 1; }; };; #(
31995 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31996 echo $ECHO_N "(cached) $ECHO_C" >&6
31997 else
31998 # One or both of the vars are not set, and there is no cached value.
31999 ac_x_includes=no ac_x_libraries=no
32000 rm -f -r conftest.dir
32001 if mkdir conftest.dir; then
32002 cd conftest.dir
32003 cat >Imakefile <<'_ACEOF'
32004 incroot:
32005 @echo incroot='${INCROOT}'
32006 usrlibdir:
32007 @echo usrlibdir='${USRLIBDIR}'
32008 libdir:
32009 @echo libdir='${LIBDIR}'
32010 _ACEOF
32011 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32012 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32013 for ac_var in incroot usrlibdir libdir; do
32014 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32015 done
32016 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32017 for ac_extension in a so sl; do
32018 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32019 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32020 ac_im_usrlibdir=$ac_im_libdir; break
32021 fi
32022 done
32023 # Screen out bogus values from the imake configuration. They are
32024 # bogus both because they are the default anyway, and because
32025 # using them would break gcc on systems where it needs fixed includes.
32026 case $ac_im_incroot in
32027 /usr/include) ac_x_includes= ;;
32028 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32029 esac
32030 case $ac_im_usrlibdir in
32031 /usr/lib | /lib) ;;
32032 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32033 esac
32034 fi
32035 cd ..
32036 rm -f -r conftest.dir
32037 fi
32038
32039 # Standard set of common directories for X headers.
32040 # Check X11 before X11Rn because it is often a symlink to the current release.
32041 ac_x_header_dirs='
32042 /usr/X11/include
32043 /usr/X11R6/include
32044 /usr/X11R5/include
32045 /usr/X11R4/include
32046
32047 /usr/include/X11
32048 /usr/include/X11R6
32049 /usr/include/X11R5
32050 /usr/include/X11R4
32051
32052 /usr/local/X11/include
32053 /usr/local/X11R6/include
32054 /usr/local/X11R5/include
32055 /usr/local/X11R4/include
32056
32057 /usr/local/include/X11
32058 /usr/local/include/X11R6
32059 /usr/local/include/X11R5
32060 /usr/local/include/X11R4
32061
32062 /usr/X386/include
32063 /usr/x386/include
32064 /usr/XFree86/include/X11
32065
32066 /usr/include
32067 /usr/local/include
32068 /usr/unsupported/include
32069 /usr/athena/include
32070 /usr/local/x11r5/include
32071 /usr/lpp/Xamples/include
32072
32073 /usr/openwin/include
32074 /usr/openwin/share/include'
32075
32076 if test "$ac_x_includes" = no; then
32077 # Guess where to find include files, by looking for Xlib.h.
32078 # First, try using that file with no special directory specified.
32079 cat >conftest.$ac_ext <<_ACEOF
32080 /* confdefs.h. */
32081 _ACEOF
32082 cat confdefs.h >>conftest.$ac_ext
32083 cat >>conftest.$ac_ext <<_ACEOF
32084 /* end confdefs.h. */
32085 #include <X11/Xlib.h>
32086 _ACEOF
32087 if { (ac_try="$ac_cpp conftest.$ac_ext"
32088 case "(($ac_try" in
32089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32090 *) ac_try_echo=$ac_try;;
32091 esac
32092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32094 ac_status=$?
32095 grep -v '^ *+' conftest.er1 >conftest.err
32096 rm -f conftest.er1
32097 cat conftest.err >&5
32098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32099 (exit $ac_status); } >/dev/null && {
32100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32101 test ! -s conftest.err
32102 }; then
32103 # We can compile using X headers with no special include directory.
32104 ac_x_includes=
32105 else
32106 echo "$as_me: failed program was:" >&5
32107 sed 's/^/| /' conftest.$ac_ext >&5
32108
32109 for ac_dir in $ac_x_header_dirs; do
32110 if test -r "$ac_dir/X11/Xlib.h"; then
32111 ac_x_includes=$ac_dir
32112 break
32113 fi
32114 done
32115 fi
32116
32117 rm -f conftest.err conftest.$ac_ext
32118 fi # $ac_x_includes = no
32119
32120 if test "$ac_x_libraries" = no; then
32121 # Check for the libraries.
32122 # See if we find them without any special options.
32123 # Don't add to $LIBS permanently.
32124 ac_save_LIBS=$LIBS
32125 LIBS="-lX11 $LIBS"
32126 cat >conftest.$ac_ext <<_ACEOF
32127 /* confdefs.h. */
32128 _ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32132 #include <X11/Xlib.h>
32133 int
32134 main ()
32135 {
32136 XrmInitialize ()
32137 ;
32138 return 0;
32139 }
32140 _ACEOF
32141 rm -f conftest.$ac_objext conftest$ac_exeext
32142 if { (ac_try="$ac_link"
32143 case "(($ac_try" in
32144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32145 *) ac_try_echo=$ac_try;;
32146 esac
32147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32148 (eval "$ac_link") 2>conftest.er1
32149 ac_status=$?
32150 grep -v '^ *+' conftest.er1 >conftest.err
32151 rm -f conftest.er1
32152 cat conftest.err >&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } && {
32155 test -z "$ac_c_werror_flag" ||
32156 test ! -s conftest.err
32157 } && test -s conftest$ac_exeext &&
32158 $as_test_x conftest$ac_exeext; then
32159 LIBS=$ac_save_LIBS
32160 # We can link X programs with no special library path.
32161 ac_x_libraries=
32162 else
32163 echo "$as_me: failed program was:" >&5
32164 sed 's/^/| /' conftest.$ac_ext >&5
32165
32166 LIBS=$ac_save_LIBS
32167 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32168 do
32169 # Don't even attempt the hair of trying to link an X program!
32170 for ac_extension in a so sl; do
32171 if test -r "$ac_dir/libX11.$ac_extension"; then
32172 ac_x_libraries=$ac_dir
32173 break 2
32174 fi
32175 done
32176 done
32177 fi
32178
32179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32180 conftest$ac_exeext conftest.$ac_ext
32181 fi # $ac_x_libraries = no
32182
32183 case $ac_x_includes,$ac_x_libraries in #(
32184 no,* | *,no | *\'*)
32185 # Didn't find X, or a directory has "'" in its name.
32186 ac_cv_have_x="have_x=no";; #(
32187 *)
32188 # Record where we found X for the cache.
32189 ac_cv_have_x="have_x=yes\
32190 ac_x_includes='$ac_x_includes'\
32191 ac_x_libraries='$ac_x_libraries'"
32192 esac
32193 fi
32194 ;; #(
32195 *) have_x=yes;;
32196 esac
32197 eval "$ac_cv_have_x"
32198 fi # $with_x != no
32199
32200 if test "$have_x" != yes; then
32201 { echo "$as_me:$LINENO: result: $have_x" >&5
32202 echo "${ECHO_T}$have_x" >&6; }
32203 no_x=yes
32204 else
32205 # If each of the values was on the command line, it overrides each guess.
32206 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32207 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32208 # Update the cache value to reflect the command line values.
32209 ac_cv_have_x="have_x=yes\
32210 ac_x_includes='$x_includes'\
32211 ac_x_libraries='$x_libraries'"
32212 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32213 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32214 fi
32215
32216 if test "$no_x" = yes; then
32217 # Not all programs may use this symbol, but it does not hurt to define it.
32218
32219 cat >>confdefs.h <<\_ACEOF
32220 #define X_DISPLAY_MISSING 1
32221 _ACEOF
32222
32223 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32224 else
32225 if test -n "$x_includes"; then
32226 X_CFLAGS="$X_CFLAGS -I$x_includes"
32227 fi
32228
32229 # It would also be nice to do this for all -L options, not just this one.
32230 if test -n "$x_libraries"; then
32231 X_LIBS="$X_LIBS -L$x_libraries"
32232 # For Solaris; some versions of Sun CC require a space after -R and
32233 # others require no space. Words are not sufficient . . . .
32234 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32235 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32236 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32237 ac_xsave_c_werror_flag=$ac_c_werror_flag
32238 ac_c_werror_flag=yes
32239 cat >conftest.$ac_ext <<_ACEOF
32240 /* confdefs.h. */
32241 _ACEOF
32242 cat confdefs.h >>conftest.$ac_ext
32243 cat >>conftest.$ac_ext <<_ACEOF
32244 /* end confdefs.h. */
32245
32246 int
32247 main ()
32248 {
32249
32250 ;
32251 return 0;
32252 }
32253 _ACEOF
32254 rm -f conftest.$ac_objext conftest$ac_exeext
32255 if { (ac_try="$ac_link"
32256 case "(($ac_try" in
32257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32258 *) ac_try_echo=$ac_try;;
32259 esac
32260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32261 (eval "$ac_link") 2>conftest.er1
32262 ac_status=$?
32263 grep -v '^ *+' conftest.er1 >conftest.err
32264 rm -f conftest.er1
32265 cat conftest.err >&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); } && {
32268 test -z "$ac_c_werror_flag" ||
32269 test ! -s conftest.err
32270 } && test -s conftest$ac_exeext &&
32271 $as_test_x conftest$ac_exeext; then
32272 { echo "$as_me:$LINENO: result: no" >&5
32273 echo "${ECHO_T}no" >&6; }
32274 X_LIBS="$X_LIBS -R$x_libraries"
32275 else
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.$ac_ext >&5
32278
32279 LIBS="$ac_xsave_LIBS -R $x_libraries"
32280 cat >conftest.$ac_ext <<_ACEOF
32281 /* confdefs.h. */
32282 _ACEOF
32283 cat confdefs.h >>conftest.$ac_ext
32284 cat >>conftest.$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32286
32287 int
32288 main ()
32289 {
32290
32291 ;
32292 return 0;
32293 }
32294 _ACEOF
32295 rm -f conftest.$ac_objext conftest$ac_exeext
32296 if { (ac_try="$ac_link"
32297 case "(($ac_try" in
32298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32299 *) ac_try_echo=$ac_try;;
32300 esac
32301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32302 (eval "$ac_link") 2>conftest.er1
32303 ac_status=$?
32304 grep -v '^ *+' conftest.er1 >conftest.err
32305 rm -f conftest.er1
32306 cat conftest.err >&5
32307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308 (exit $ac_status); } && {
32309 test -z "$ac_c_werror_flag" ||
32310 test ! -s conftest.err
32311 } && test -s conftest$ac_exeext &&
32312 $as_test_x conftest$ac_exeext; then
32313 { echo "$as_me:$LINENO: result: yes" >&5
32314 echo "${ECHO_T}yes" >&6; }
32315 X_LIBS="$X_LIBS -R $x_libraries"
32316 else
32317 echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.$ac_ext >&5
32319
32320 { echo "$as_me:$LINENO: result: neither works" >&5
32321 echo "${ECHO_T}neither works" >&6; }
32322 fi
32323
32324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32325 conftest$ac_exeext conftest.$ac_ext
32326 fi
32327
32328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32329 conftest$ac_exeext conftest.$ac_ext
32330 ac_c_werror_flag=$ac_xsave_c_werror_flag
32331 LIBS=$ac_xsave_LIBS
32332 fi
32333
32334 # Check for system-dependent libraries X programs must link with.
32335 # Do this before checking for the system-independent R6 libraries
32336 # (-lICE), since we may need -lsocket or whatever for X linking.
32337
32338 if test "$ISC" = yes; then
32339 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32340 else
32341 # Martyn Johnson says this is needed for Ultrix, if the X
32342 # libraries were built with DECnet support. And Karl Berry says
32343 # the Alpha needs dnet_stub (dnet does not exist).
32344 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32345 cat >conftest.$ac_ext <<_ACEOF
32346 /* confdefs.h. */
32347 _ACEOF
32348 cat confdefs.h >>conftest.$ac_ext
32349 cat >>conftest.$ac_ext <<_ACEOF
32350 /* end confdefs.h. */
32351
32352 /* Override any GCC internal prototype to avoid an error.
32353 Use char because int might match the return type of a GCC
32354 builtin and then its argument prototype would still apply. */
32355 #ifdef __cplusplus
32356 extern "C"
32357 #endif
32358 char XOpenDisplay ();
32359 int
32360 main ()
32361 {
32362 return XOpenDisplay ();
32363 ;
32364 return 0;
32365 }
32366 _ACEOF
32367 rm -f conftest.$ac_objext conftest$ac_exeext
32368 if { (ac_try="$ac_link"
32369 case "(($ac_try" in
32370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32371 *) ac_try_echo=$ac_try;;
32372 esac
32373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32374 (eval "$ac_link") 2>conftest.er1
32375 ac_status=$?
32376 grep -v '^ *+' conftest.er1 >conftest.err
32377 rm -f conftest.er1
32378 cat conftest.err >&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); } && {
32381 test -z "$ac_c_werror_flag" ||
32382 test ! -s conftest.err
32383 } && test -s conftest$ac_exeext &&
32384 $as_test_x conftest$ac_exeext; then
32385 :
32386 else
32387 echo "$as_me: failed program was:" >&5
32388 sed 's/^/| /' conftest.$ac_ext >&5
32389
32390 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32391 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32392 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32393 echo $ECHO_N "(cached) $ECHO_C" >&6
32394 else
32395 ac_check_lib_save_LIBS=$LIBS
32396 LIBS="-ldnet $LIBS"
32397 cat >conftest.$ac_ext <<_ACEOF
32398 /* confdefs.h. */
32399 _ACEOF
32400 cat confdefs.h >>conftest.$ac_ext
32401 cat >>conftest.$ac_ext <<_ACEOF
32402 /* end confdefs.h. */
32403
32404 /* Override any GCC internal prototype to avoid an error.
32405 Use char because int might match the return type of a GCC
32406 builtin and then its argument prototype would still apply. */
32407 #ifdef __cplusplus
32408 extern "C"
32409 #endif
32410 char dnet_ntoa ();
32411 int
32412 main ()
32413 {
32414 return dnet_ntoa ();
32415 ;
32416 return 0;
32417 }
32418 _ACEOF
32419 rm -f conftest.$ac_objext conftest$ac_exeext
32420 if { (ac_try="$ac_link"
32421 case "(($ac_try" in
32422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32423 *) ac_try_echo=$ac_try;;
32424 esac
32425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32426 (eval "$ac_link") 2>conftest.er1
32427 ac_status=$?
32428 grep -v '^ *+' conftest.er1 >conftest.err
32429 rm -f conftest.er1
32430 cat conftest.err >&5
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); } && {
32433 test -z "$ac_c_werror_flag" ||
32434 test ! -s conftest.err
32435 } && test -s conftest$ac_exeext &&
32436 $as_test_x conftest$ac_exeext; then
32437 ac_cv_lib_dnet_dnet_ntoa=yes
32438 else
32439 echo "$as_me: failed program was:" >&5
32440 sed 's/^/| /' conftest.$ac_ext >&5
32441
32442 ac_cv_lib_dnet_dnet_ntoa=no
32443 fi
32444
32445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32446 conftest$ac_exeext conftest.$ac_ext
32447 LIBS=$ac_check_lib_save_LIBS
32448 fi
32449 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32450 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32451 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32452 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32453 fi
32454
32455 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32456 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32457 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32458 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32459 echo $ECHO_N "(cached) $ECHO_C" >&6
32460 else
32461 ac_check_lib_save_LIBS=$LIBS
32462 LIBS="-ldnet_stub $LIBS"
32463 cat >conftest.$ac_ext <<_ACEOF
32464 /* confdefs.h. */
32465 _ACEOF
32466 cat confdefs.h >>conftest.$ac_ext
32467 cat >>conftest.$ac_ext <<_ACEOF
32468 /* end confdefs.h. */
32469
32470 /* Override any GCC internal prototype to avoid an error.
32471 Use char because int might match the return type of a GCC
32472 builtin and then its argument prototype would still apply. */
32473 #ifdef __cplusplus
32474 extern "C"
32475 #endif
32476 char dnet_ntoa ();
32477 int
32478 main ()
32479 {
32480 return dnet_ntoa ();
32481 ;
32482 return 0;
32483 }
32484 _ACEOF
32485 rm -f conftest.$ac_objext conftest$ac_exeext
32486 if { (ac_try="$ac_link"
32487 case "(($ac_try" in
32488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32489 *) ac_try_echo=$ac_try;;
32490 esac
32491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32492 (eval "$ac_link") 2>conftest.er1
32493 ac_status=$?
32494 grep -v '^ *+' conftest.er1 >conftest.err
32495 rm -f conftest.er1
32496 cat conftest.err >&5
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); } && {
32499 test -z "$ac_c_werror_flag" ||
32500 test ! -s conftest.err
32501 } && test -s conftest$ac_exeext &&
32502 $as_test_x conftest$ac_exeext; then
32503 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32504 else
32505 echo "$as_me: failed program was:" >&5
32506 sed 's/^/| /' conftest.$ac_ext >&5
32507
32508 ac_cv_lib_dnet_stub_dnet_ntoa=no
32509 fi
32510
32511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32512 conftest$ac_exeext conftest.$ac_ext
32513 LIBS=$ac_check_lib_save_LIBS
32514 fi
32515 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32516 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32517 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32518 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32519 fi
32520
32521 fi
32522 fi
32523
32524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32525 conftest$ac_exeext conftest.$ac_ext
32526 LIBS="$ac_xsave_LIBS"
32527
32528 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32529 # to get the SysV transport functions.
32530 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32531 # needs -lnsl.
32532 # The nsl library prevents programs from opening the X display
32533 # on Irix 5.2, according to T.E. Dickey.
32534 # The functions gethostbyname, getservbyname, and inet_addr are
32535 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32536 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32537 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32538 if test "${ac_cv_func_gethostbyname+set}" = set; then
32539 echo $ECHO_N "(cached) $ECHO_C" >&6
32540 else
32541 cat >conftest.$ac_ext <<_ACEOF
32542 /* confdefs.h. */
32543 _ACEOF
32544 cat confdefs.h >>conftest.$ac_ext
32545 cat >>conftest.$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32547 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32549 #define gethostbyname innocuous_gethostbyname
32550
32551 /* System header to define __stub macros and hopefully few prototypes,
32552 which can conflict with char gethostbyname (); below.
32553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32554 <limits.h> exists even on freestanding compilers. */
32555
32556 #ifdef __STDC__
32557 # include <limits.h>
32558 #else
32559 # include <assert.h>
32560 #endif
32561
32562 #undef gethostbyname
32563
32564 /* Override any GCC internal prototype to avoid an error.
32565 Use char because int might match the return type of a GCC
32566 builtin and then its argument prototype would still apply. */
32567 #ifdef __cplusplus
32568 extern "C"
32569 #endif
32570 char gethostbyname ();
32571 /* The GNU C library defines this for functions which it implements
32572 to always fail with ENOSYS. Some functions are actually named
32573 something starting with __ and the normal name is an alias. */
32574 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32575 choke me
32576 #endif
32577
32578 int
32579 main ()
32580 {
32581 return gethostbyname ();
32582 ;
32583 return 0;
32584 }
32585 _ACEOF
32586 rm -f conftest.$ac_objext conftest$ac_exeext
32587 if { (ac_try="$ac_link"
32588 case "(($ac_try" in
32589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32590 *) ac_try_echo=$ac_try;;
32591 esac
32592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32593 (eval "$ac_link") 2>conftest.er1
32594 ac_status=$?
32595 grep -v '^ *+' conftest.er1 >conftest.err
32596 rm -f conftest.er1
32597 cat conftest.err >&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); } && {
32600 test -z "$ac_c_werror_flag" ||
32601 test ! -s conftest.err
32602 } && test -s conftest$ac_exeext &&
32603 $as_test_x conftest$ac_exeext; then
32604 ac_cv_func_gethostbyname=yes
32605 else
32606 echo "$as_me: failed program was:" >&5
32607 sed 's/^/| /' conftest.$ac_ext >&5
32608
32609 ac_cv_func_gethostbyname=no
32610 fi
32611
32612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32613 conftest$ac_exeext conftest.$ac_ext
32614 fi
32615 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32616 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32617
32618 if test $ac_cv_func_gethostbyname = no; then
32619 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32620 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32621 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32623 else
32624 ac_check_lib_save_LIBS=$LIBS
32625 LIBS="-lnsl $LIBS"
32626 cat >conftest.$ac_ext <<_ACEOF
32627 /* confdefs.h. */
32628 _ACEOF
32629 cat confdefs.h >>conftest.$ac_ext
32630 cat >>conftest.$ac_ext <<_ACEOF
32631 /* end confdefs.h. */
32632
32633 /* Override any GCC internal prototype to avoid an error.
32634 Use char because int might match the return type of a GCC
32635 builtin and then its argument prototype would still apply. */
32636 #ifdef __cplusplus
32637 extern "C"
32638 #endif
32639 char gethostbyname ();
32640 int
32641 main ()
32642 {
32643 return gethostbyname ();
32644 ;
32645 return 0;
32646 }
32647 _ACEOF
32648 rm -f conftest.$ac_objext conftest$ac_exeext
32649 if { (ac_try="$ac_link"
32650 case "(($ac_try" in
32651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32652 *) ac_try_echo=$ac_try;;
32653 esac
32654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32655 (eval "$ac_link") 2>conftest.er1
32656 ac_status=$?
32657 grep -v '^ *+' conftest.er1 >conftest.err
32658 rm -f conftest.er1
32659 cat conftest.err >&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); } && {
32662 test -z "$ac_c_werror_flag" ||
32663 test ! -s conftest.err
32664 } && test -s conftest$ac_exeext &&
32665 $as_test_x conftest$ac_exeext; then
32666 ac_cv_lib_nsl_gethostbyname=yes
32667 else
32668 echo "$as_me: failed program was:" >&5
32669 sed 's/^/| /' conftest.$ac_ext >&5
32670
32671 ac_cv_lib_nsl_gethostbyname=no
32672 fi
32673
32674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32675 conftest$ac_exeext conftest.$ac_ext
32676 LIBS=$ac_check_lib_save_LIBS
32677 fi
32678 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32679 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32680 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32681 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32682 fi
32683
32684 if test $ac_cv_lib_nsl_gethostbyname = no; then
32685 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32686 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32687 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32688 echo $ECHO_N "(cached) $ECHO_C" >&6
32689 else
32690 ac_check_lib_save_LIBS=$LIBS
32691 LIBS="-lbsd $LIBS"
32692 cat >conftest.$ac_ext <<_ACEOF
32693 /* confdefs.h. */
32694 _ACEOF
32695 cat confdefs.h >>conftest.$ac_ext
32696 cat >>conftest.$ac_ext <<_ACEOF
32697 /* end confdefs.h. */
32698
32699 /* Override any GCC internal prototype to avoid an error.
32700 Use char because int might match the return type of a GCC
32701 builtin and then its argument prototype would still apply. */
32702 #ifdef __cplusplus
32703 extern "C"
32704 #endif
32705 char gethostbyname ();
32706 int
32707 main ()
32708 {
32709 return gethostbyname ();
32710 ;
32711 return 0;
32712 }
32713 _ACEOF
32714 rm -f conftest.$ac_objext conftest$ac_exeext
32715 if { (ac_try="$ac_link"
32716 case "(($ac_try" in
32717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32718 *) ac_try_echo=$ac_try;;
32719 esac
32720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32721 (eval "$ac_link") 2>conftest.er1
32722 ac_status=$?
32723 grep -v '^ *+' conftest.er1 >conftest.err
32724 rm -f conftest.er1
32725 cat conftest.err >&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } && {
32728 test -z "$ac_c_werror_flag" ||
32729 test ! -s conftest.err
32730 } && test -s conftest$ac_exeext &&
32731 $as_test_x conftest$ac_exeext; then
32732 ac_cv_lib_bsd_gethostbyname=yes
32733 else
32734 echo "$as_me: failed program was:" >&5
32735 sed 's/^/| /' conftest.$ac_ext >&5
32736
32737 ac_cv_lib_bsd_gethostbyname=no
32738 fi
32739
32740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32741 conftest$ac_exeext conftest.$ac_ext
32742 LIBS=$ac_check_lib_save_LIBS
32743 fi
32744 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32745 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32746 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32747 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32748 fi
32749
32750 fi
32751 fi
32752
32753 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32754 # socket/setsockopt and other routines are undefined under SCO ODT
32755 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32756 # on later versions), says Simon Leinen: it contains gethostby*
32757 # variants that don't use the name server (or something). -lsocket
32758 # must be given before -lnsl if both are needed. We assume that
32759 # if connect needs -lnsl, so does gethostbyname.
32760 { echo "$as_me:$LINENO: checking for connect" >&5
32761 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32762 if test "${ac_cv_func_connect+set}" = set; then
32763 echo $ECHO_N "(cached) $ECHO_C" >&6
32764 else
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 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32773 #define connect innocuous_connect
32774
32775 /* System header to define __stub macros and hopefully few prototypes,
32776 which can conflict with char connect (); below.
32777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32778 <limits.h> exists even on freestanding compilers. */
32779
32780 #ifdef __STDC__
32781 # include <limits.h>
32782 #else
32783 # include <assert.h>
32784 #endif
32785
32786 #undef connect
32787
32788 /* Override any GCC internal prototype to avoid an error.
32789 Use char because int might match the return type of a GCC
32790 builtin and then its argument prototype would still apply. */
32791 #ifdef __cplusplus
32792 extern "C"
32793 #endif
32794 char connect ();
32795 /* The GNU C library defines this for functions which it implements
32796 to always fail with ENOSYS. Some functions are actually named
32797 something starting with __ and the normal name is an alias. */
32798 #if defined __stub_connect || defined __stub___connect
32799 choke me
32800 #endif
32801
32802 int
32803 main ()
32804 {
32805 return connect ();
32806 ;
32807 return 0;
32808 }
32809 _ACEOF
32810 rm -f conftest.$ac_objext conftest$ac_exeext
32811 if { (ac_try="$ac_link"
32812 case "(($ac_try" in
32813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32814 *) ac_try_echo=$ac_try;;
32815 esac
32816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32817 (eval "$ac_link") 2>conftest.er1
32818 ac_status=$?
32819 grep -v '^ *+' conftest.er1 >conftest.err
32820 rm -f conftest.er1
32821 cat conftest.err >&5
32822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32823 (exit $ac_status); } && {
32824 test -z "$ac_c_werror_flag" ||
32825 test ! -s conftest.err
32826 } && test -s conftest$ac_exeext &&
32827 $as_test_x conftest$ac_exeext; then
32828 ac_cv_func_connect=yes
32829 else
32830 echo "$as_me: failed program was:" >&5
32831 sed 's/^/| /' conftest.$ac_ext >&5
32832
32833 ac_cv_func_connect=no
32834 fi
32835
32836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32837 conftest$ac_exeext conftest.$ac_ext
32838 fi
32839 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32840 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32841
32842 if test $ac_cv_func_connect = no; then
32843 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32844 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32845 if test "${ac_cv_lib_socket_connect+set}" = set; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32847 else
32848 ac_check_lib_save_LIBS=$LIBS
32849 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32850 cat >conftest.$ac_ext <<_ACEOF
32851 /* confdefs.h. */
32852 _ACEOF
32853 cat confdefs.h >>conftest.$ac_ext
32854 cat >>conftest.$ac_ext <<_ACEOF
32855 /* end confdefs.h. */
32856
32857 /* Override any GCC internal prototype to avoid an error.
32858 Use char because int might match the return type of a GCC
32859 builtin and then its argument prototype would still apply. */
32860 #ifdef __cplusplus
32861 extern "C"
32862 #endif
32863 char connect ();
32864 int
32865 main ()
32866 {
32867 return connect ();
32868 ;
32869 return 0;
32870 }
32871 _ACEOF
32872 rm -f conftest.$ac_objext conftest$ac_exeext
32873 if { (ac_try="$ac_link"
32874 case "(($ac_try" in
32875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32876 *) ac_try_echo=$ac_try;;
32877 esac
32878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32879 (eval "$ac_link") 2>conftest.er1
32880 ac_status=$?
32881 grep -v '^ *+' conftest.er1 >conftest.err
32882 rm -f conftest.er1
32883 cat conftest.err >&5
32884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32885 (exit $ac_status); } && {
32886 test -z "$ac_c_werror_flag" ||
32887 test ! -s conftest.err
32888 } && test -s conftest$ac_exeext &&
32889 $as_test_x conftest$ac_exeext; then
32890 ac_cv_lib_socket_connect=yes
32891 else
32892 echo "$as_me: failed program was:" >&5
32893 sed 's/^/| /' conftest.$ac_ext >&5
32894
32895 ac_cv_lib_socket_connect=no
32896 fi
32897
32898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32899 conftest$ac_exeext conftest.$ac_ext
32900 LIBS=$ac_check_lib_save_LIBS
32901 fi
32902 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32903 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32904 if test $ac_cv_lib_socket_connect = yes; then
32905 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32906 fi
32907
32908 fi
32909
32910 # Guillermo Gomez says -lposix is necessary on A/UX.
32911 { echo "$as_me:$LINENO: checking for remove" >&5
32912 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32913 if test "${ac_cv_func_remove+set}" = set; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32915 else
32916 cat >conftest.$ac_ext <<_ACEOF
32917 /* confdefs.h. */
32918 _ACEOF
32919 cat confdefs.h >>conftest.$ac_ext
32920 cat >>conftest.$ac_ext <<_ACEOF
32921 /* end confdefs.h. */
32922 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32924 #define remove innocuous_remove
32925
32926 /* System header to define __stub macros and hopefully few prototypes,
32927 which can conflict with char remove (); below.
32928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32929 <limits.h> exists even on freestanding compilers. */
32930
32931 #ifdef __STDC__
32932 # include <limits.h>
32933 #else
32934 # include <assert.h>
32935 #endif
32936
32937 #undef remove
32938
32939 /* Override any GCC internal prototype to avoid an error.
32940 Use char because int might match the return type of a GCC
32941 builtin and then its argument prototype would still apply. */
32942 #ifdef __cplusplus
32943 extern "C"
32944 #endif
32945 char remove ();
32946 /* The GNU C library defines this for functions which it implements
32947 to always fail with ENOSYS. Some functions are actually named
32948 something starting with __ and the normal name is an alias. */
32949 #if defined __stub_remove || defined __stub___remove
32950 choke me
32951 #endif
32952
32953 int
32954 main ()
32955 {
32956 return remove ();
32957 ;
32958 return 0;
32959 }
32960 _ACEOF
32961 rm -f conftest.$ac_objext conftest$ac_exeext
32962 if { (ac_try="$ac_link"
32963 case "(($ac_try" in
32964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32965 *) ac_try_echo=$ac_try;;
32966 esac
32967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32968 (eval "$ac_link") 2>conftest.er1
32969 ac_status=$?
32970 grep -v '^ *+' conftest.er1 >conftest.err
32971 rm -f conftest.er1
32972 cat conftest.err >&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } && {
32975 test -z "$ac_c_werror_flag" ||
32976 test ! -s conftest.err
32977 } && test -s conftest$ac_exeext &&
32978 $as_test_x conftest$ac_exeext; then
32979 ac_cv_func_remove=yes
32980 else
32981 echo "$as_me: failed program was:" >&5
32982 sed 's/^/| /' conftest.$ac_ext >&5
32983
32984 ac_cv_func_remove=no
32985 fi
32986
32987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32988 conftest$ac_exeext conftest.$ac_ext
32989 fi
32990 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32991 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32992
32993 if test $ac_cv_func_remove = no; then
32994 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32995 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32996 if test "${ac_cv_lib_posix_remove+set}" = set; then
32997 echo $ECHO_N "(cached) $ECHO_C" >&6
32998 else
32999 ac_check_lib_save_LIBS=$LIBS
33000 LIBS="-lposix $LIBS"
33001 cat >conftest.$ac_ext <<_ACEOF
33002 /* confdefs.h. */
33003 _ACEOF
33004 cat confdefs.h >>conftest.$ac_ext
33005 cat >>conftest.$ac_ext <<_ACEOF
33006 /* end confdefs.h. */
33007
33008 /* Override any GCC internal prototype to avoid an error.
33009 Use char because int might match the return type of a GCC
33010 builtin and then its argument prototype would still apply. */
33011 #ifdef __cplusplus
33012 extern "C"
33013 #endif
33014 char remove ();
33015 int
33016 main ()
33017 {
33018 return remove ();
33019 ;
33020 return 0;
33021 }
33022 _ACEOF
33023 rm -f conftest.$ac_objext conftest$ac_exeext
33024 if { (ac_try="$ac_link"
33025 case "(($ac_try" in
33026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33027 *) ac_try_echo=$ac_try;;
33028 esac
33029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33030 (eval "$ac_link") 2>conftest.er1
33031 ac_status=$?
33032 grep -v '^ *+' conftest.er1 >conftest.err
33033 rm -f conftest.er1
33034 cat conftest.err >&5
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); } && {
33037 test -z "$ac_c_werror_flag" ||
33038 test ! -s conftest.err
33039 } && test -s conftest$ac_exeext &&
33040 $as_test_x conftest$ac_exeext; then
33041 ac_cv_lib_posix_remove=yes
33042 else
33043 echo "$as_me: failed program was:" >&5
33044 sed 's/^/| /' conftest.$ac_ext >&5
33045
33046 ac_cv_lib_posix_remove=no
33047 fi
33048
33049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33050 conftest$ac_exeext conftest.$ac_ext
33051 LIBS=$ac_check_lib_save_LIBS
33052 fi
33053 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33054 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33055 if test $ac_cv_lib_posix_remove = yes; then
33056 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33057 fi
33058
33059 fi
33060
33061 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33062 { echo "$as_me:$LINENO: checking for shmat" >&5
33063 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33064 if test "${ac_cv_func_shmat+set}" = set; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33066 else
33067 cat >conftest.$ac_ext <<_ACEOF
33068 /* confdefs.h. */
33069 _ACEOF
33070 cat confdefs.h >>conftest.$ac_ext
33071 cat >>conftest.$ac_ext <<_ACEOF
33072 /* end confdefs.h. */
33073 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33075 #define shmat innocuous_shmat
33076
33077 /* System header to define __stub macros and hopefully few prototypes,
33078 which can conflict with char shmat (); below.
33079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33080 <limits.h> exists even on freestanding compilers. */
33081
33082 #ifdef __STDC__
33083 # include <limits.h>
33084 #else
33085 # include <assert.h>
33086 #endif
33087
33088 #undef shmat
33089
33090 /* Override any GCC internal prototype to avoid an error.
33091 Use char because int might match the return type of a GCC
33092 builtin and then its argument prototype would still apply. */
33093 #ifdef __cplusplus
33094 extern "C"
33095 #endif
33096 char shmat ();
33097 /* The GNU C library defines this for functions which it implements
33098 to always fail with ENOSYS. Some functions are actually named
33099 something starting with __ and the normal name is an alias. */
33100 #if defined __stub_shmat || defined __stub___shmat
33101 choke me
33102 #endif
33103
33104 int
33105 main ()
33106 {
33107 return shmat ();
33108 ;
33109 return 0;
33110 }
33111 _ACEOF
33112 rm -f conftest.$ac_objext conftest$ac_exeext
33113 if { (ac_try="$ac_link"
33114 case "(($ac_try" in
33115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33116 *) ac_try_echo=$ac_try;;
33117 esac
33118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33119 (eval "$ac_link") 2>conftest.er1
33120 ac_status=$?
33121 grep -v '^ *+' conftest.er1 >conftest.err
33122 rm -f conftest.er1
33123 cat conftest.err >&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } && {
33126 test -z "$ac_c_werror_flag" ||
33127 test ! -s conftest.err
33128 } && test -s conftest$ac_exeext &&
33129 $as_test_x conftest$ac_exeext; then
33130 ac_cv_func_shmat=yes
33131 else
33132 echo "$as_me: failed program was:" >&5
33133 sed 's/^/| /' conftest.$ac_ext >&5
33134
33135 ac_cv_func_shmat=no
33136 fi
33137
33138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33139 conftest$ac_exeext conftest.$ac_ext
33140 fi
33141 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33142 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33143
33144 if test $ac_cv_func_shmat = no; then
33145 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33146 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33147 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33148 echo $ECHO_N "(cached) $ECHO_C" >&6
33149 else
33150 ac_check_lib_save_LIBS=$LIBS
33151 LIBS="-lipc $LIBS"
33152 cat >conftest.$ac_ext <<_ACEOF
33153 /* confdefs.h. */
33154 _ACEOF
33155 cat confdefs.h >>conftest.$ac_ext
33156 cat >>conftest.$ac_ext <<_ACEOF
33157 /* end confdefs.h. */
33158
33159 /* Override any GCC internal prototype to avoid an error.
33160 Use char because int might match the return type of a GCC
33161 builtin and then its argument prototype would still apply. */
33162 #ifdef __cplusplus
33163 extern "C"
33164 #endif
33165 char shmat ();
33166 int
33167 main ()
33168 {
33169 return shmat ();
33170 ;
33171 return 0;
33172 }
33173 _ACEOF
33174 rm -f conftest.$ac_objext conftest$ac_exeext
33175 if { (ac_try="$ac_link"
33176 case "(($ac_try" in
33177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33178 *) ac_try_echo=$ac_try;;
33179 esac
33180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33181 (eval "$ac_link") 2>conftest.er1
33182 ac_status=$?
33183 grep -v '^ *+' conftest.er1 >conftest.err
33184 rm -f conftest.er1
33185 cat conftest.err >&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } && {
33188 test -z "$ac_c_werror_flag" ||
33189 test ! -s conftest.err
33190 } && test -s conftest$ac_exeext &&
33191 $as_test_x conftest$ac_exeext; then
33192 ac_cv_lib_ipc_shmat=yes
33193 else
33194 echo "$as_me: failed program was:" >&5
33195 sed 's/^/| /' conftest.$ac_ext >&5
33196
33197 ac_cv_lib_ipc_shmat=no
33198 fi
33199
33200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33201 conftest$ac_exeext conftest.$ac_ext
33202 LIBS=$ac_check_lib_save_LIBS
33203 fi
33204 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33205 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33206 if test $ac_cv_lib_ipc_shmat = yes; then
33207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33208 fi
33209
33210 fi
33211 fi
33212
33213 # Check for libraries that X11R6 Xt/Xaw programs need.
33214 ac_save_LDFLAGS=$LDFLAGS
33215 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33216 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33217 # check for ICE first), but we must link in the order -lSM -lICE or
33218 # we get undefined symbols. So assume we have SM if we have ICE.
33219 # These have to be linked with before -lX11, unlike the other
33220 # libraries we check for below, so use a different variable.
33221 # John Interrante, Karl Berry
33222 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33223 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33224 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33225 echo $ECHO_N "(cached) $ECHO_C" >&6
33226 else
33227 ac_check_lib_save_LIBS=$LIBS
33228 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33229 cat >conftest.$ac_ext <<_ACEOF
33230 /* confdefs.h. */
33231 _ACEOF
33232 cat confdefs.h >>conftest.$ac_ext
33233 cat >>conftest.$ac_ext <<_ACEOF
33234 /* end confdefs.h. */
33235
33236 /* Override any GCC internal prototype to avoid an error.
33237 Use char because int might match the return type of a GCC
33238 builtin and then its argument prototype would still apply. */
33239 #ifdef __cplusplus
33240 extern "C"
33241 #endif
33242 char IceConnectionNumber ();
33243 int
33244 main ()
33245 {
33246 return IceConnectionNumber ();
33247 ;
33248 return 0;
33249 }
33250 _ACEOF
33251 rm -f conftest.$ac_objext conftest$ac_exeext
33252 if { (ac_try="$ac_link"
33253 case "(($ac_try" in
33254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33255 *) ac_try_echo=$ac_try;;
33256 esac
33257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33258 (eval "$ac_link") 2>conftest.er1
33259 ac_status=$?
33260 grep -v '^ *+' conftest.er1 >conftest.err
33261 rm -f conftest.er1
33262 cat conftest.err >&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); } && {
33265 test -z "$ac_c_werror_flag" ||
33266 test ! -s conftest.err
33267 } && test -s conftest$ac_exeext &&
33268 $as_test_x conftest$ac_exeext; then
33269 ac_cv_lib_ICE_IceConnectionNumber=yes
33270 else
33271 echo "$as_me: failed program was:" >&5
33272 sed 's/^/| /' conftest.$ac_ext >&5
33273
33274 ac_cv_lib_ICE_IceConnectionNumber=no
33275 fi
33276
33277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33278 conftest$ac_exeext conftest.$ac_ext
33279 LIBS=$ac_check_lib_save_LIBS
33280 fi
33281 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33282 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33283 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33284 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33285 fi
33286
33287 LDFLAGS=$ac_save_LDFLAGS
33288
33289 fi
33290
33291
33292 if test "$no_x" = "yes"; then
33293 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33294 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33295 { (exit 1); exit 1; }; }
33296 fi
33297
33298 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33299 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33300 AFMINSTALL=afminstall
33301 COMPILED_X_PROGRAM=0
33302
33303 fi
33304
33305 if test "$wxUSE_X11" = 1; then
33306 if test "$wxUSE_NANOX" = "yes"; then
33307 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33308 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33309 if test "x$MICROWIN" = x ; then
33310 { echo "$as_me:$LINENO: result: not found" >&5
33311 echo "${ECHO_T}not found" >&6; }
33312 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33313 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33314 { (exit 1); exit 1; }; }
33315 else
33316 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33317 echo "${ECHO_T}$MICROWIN" >&6; }
33318 cat >>confdefs.h <<\_ACEOF
33319 #define wxUSE_NANOX 1
33320 _ACEOF
33321
33322 fi
33323 fi
33324
33325 if test "$wxUSE_UNICODE" = "yes"; then
33326
33327
33328 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33329 if test -n "$ac_tool_prefix"; then
33330 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33331 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33334 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33335 echo $ECHO_N "(cached) $ECHO_C" >&6
33336 else
33337 case $PKG_CONFIG in
33338 [\\/]* | ?:[\\/]*)
33339 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33340 ;;
33341 *)
33342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33343 for as_dir in $PATH
33344 do
33345 IFS=$as_save_IFS
33346 test -z "$as_dir" && as_dir=.
33347 for ac_exec_ext in '' $ac_executable_extensions; do
33348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33349 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33351 break 2
33352 fi
33353 done
33354 done
33355 IFS=$as_save_IFS
33356
33357 ;;
33358 esac
33359 fi
33360 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33361 if test -n "$PKG_CONFIG"; then
33362 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33363 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33364 else
33365 { echo "$as_me:$LINENO: result: no" >&5
33366 echo "${ECHO_T}no" >&6; }
33367 fi
33368
33369
33370 fi
33371 if test -z "$ac_cv_path_PKG_CONFIG"; then
33372 ac_pt_PKG_CONFIG=$PKG_CONFIG
33373 # Extract the first word of "pkg-config", so it can be a program name with args.
33374 set dummy pkg-config; ac_word=$2
33375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33377 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33378 echo $ECHO_N "(cached) $ECHO_C" >&6
33379 else
33380 case $ac_pt_PKG_CONFIG in
33381 [\\/]* | ?:[\\/]*)
33382 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33383 ;;
33384 *)
33385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33386 for as_dir in $PATH
33387 do
33388 IFS=$as_save_IFS
33389 test -z "$as_dir" && as_dir=.
33390 for ac_exec_ext in '' $ac_executable_extensions; do
33391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33392 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33394 break 2
33395 fi
33396 done
33397 done
33398 IFS=$as_save_IFS
33399
33400 ;;
33401 esac
33402 fi
33403 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33404 if test -n "$ac_pt_PKG_CONFIG"; then
33405 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33406 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33407 else
33408 { echo "$as_me:$LINENO: result: no" >&5
33409 echo "${ECHO_T}no" >&6; }
33410 fi
33411
33412 if test "x$ac_pt_PKG_CONFIG" = x; then
33413 PKG_CONFIG=""
33414 else
33415 case $cross_compiling:$ac_tool_warned in
33416 yes:)
33417 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33418 whose name does not start with the host triplet. If you think this
33419 configuration is useful to you, please write to autoconf@gnu.org." >&5
33420 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33421 whose name does not start with the host triplet. If you think this
33422 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33423 ac_tool_warned=yes ;;
33424 esac
33425 PKG_CONFIG=$ac_pt_PKG_CONFIG
33426 fi
33427 else
33428 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33429 fi
33430
33431 fi
33432 if test -n "$PKG_CONFIG"; then
33433 _pkg_min_version=0.9.0
33434 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33435 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33436 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33437 { echo "$as_me:$LINENO: result: yes" >&5
33438 echo "${ECHO_T}yes" >&6; }
33439 else
33440 { echo "$as_me:$LINENO: result: no" >&5
33441 echo "${ECHO_T}no" >&6; }
33442 PKG_CONFIG=""
33443 fi
33444
33445 fi
33446
33447
33448 pkg_failed=no
33449 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33450 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33451
33452 if test -n "$PKG_CONFIG"; then
33453 if test -n "$PANGOX_CFLAGS"; then
33454 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33455 else
33456 if test -n "$PKG_CONFIG" && \
33457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33458 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33459 ac_status=$?
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; then
33462 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33463 else
33464 pkg_failed=yes
33465 fi
33466 fi
33467 else
33468 pkg_failed=untried
33469 fi
33470 if test -n "$PKG_CONFIG"; then
33471 if test -n "$PANGOX_LIBS"; then
33472 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33473 else
33474 if test -n "$PKG_CONFIG" && \
33475 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33476 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33477 ac_status=$?
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; then
33480 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33481 else
33482 pkg_failed=yes
33483 fi
33484 fi
33485 else
33486 pkg_failed=untried
33487 fi
33488
33489
33490
33491 if test $pkg_failed = yes; then
33492
33493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33494 _pkg_short_errors_supported=yes
33495 else
33496 _pkg_short_errors_supported=no
33497 fi
33498 if test $_pkg_short_errors_supported = yes; then
33499 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33500 else
33501 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33502 fi
33503 # Put the nasty error message in config.log where it belongs
33504 echo "$PANGOX_PKG_ERRORS" >&5
33505
33506
33507 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33508 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33509 { (exit 1); exit 1; }; }
33510
33511
33512 elif test $pkg_failed = untried; then
33513
33514 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33515 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33516 { (exit 1); exit 1; }; }
33517
33518
33519 else
33520 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33521 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33522 { echo "$as_me:$LINENO: result: yes" >&5
33523 echo "${ECHO_T}yes" >&6; }
33524
33525 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33526 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33527 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33528
33529 fi
33530
33531 pkg_failed=no
33532 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33533 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33534
33535 if test -n "$PKG_CONFIG"; then
33536 if test -n "$PANGOFT2_CFLAGS"; then
33537 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33538 else
33539 if test -n "$PKG_CONFIG" && \
33540 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33541 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33542 ac_status=$?
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); }; then
33545 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33546 else
33547 pkg_failed=yes
33548 fi
33549 fi
33550 else
33551 pkg_failed=untried
33552 fi
33553 if test -n "$PKG_CONFIG"; then
33554 if test -n "$PANGOFT2_LIBS"; then
33555 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33556 else
33557 if test -n "$PKG_CONFIG" && \
33558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33559 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33560 ac_status=$?
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); }; then
33563 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33564 else
33565 pkg_failed=yes
33566 fi
33567 fi
33568 else
33569 pkg_failed=untried
33570 fi
33571
33572
33573
33574 if test $pkg_failed = yes; then
33575
33576 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33577 _pkg_short_errors_supported=yes
33578 else
33579 _pkg_short_errors_supported=no
33580 fi
33581 if test $_pkg_short_errors_supported = yes; then
33582 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33583 else
33584 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33585 fi
33586 # Put the nasty error message in config.log where it belongs
33587 echo "$PANGOFT2_PKG_ERRORS" >&5
33588
33589
33590 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33591 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33592 wxUSE_PRINTING_ARCHITECTURE="no"
33593
33594
33595 elif test $pkg_failed = untried; then
33596
33597 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33598 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33599 wxUSE_PRINTING_ARCHITECTURE="no"
33600
33601
33602 else
33603 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33604 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33605 { echo "$as_me:$LINENO: result: yes" >&5
33606 echo "${ECHO_T}yes" >&6; }
33607
33608 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33609 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33610 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33611
33612 fi
33613
33614 pkg_failed=no
33615 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33616 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33617
33618 if test -n "$PKG_CONFIG"; then
33619 if test -n "$PANGOXFT_CFLAGS"; then
33620 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33621 else
33622 if test -n "$PKG_CONFIG" && \
33623 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33624 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33625 ac_status=$?
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); }; then
33628 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33629 else
33630 pkg_failed=yes
33631 fi
33632 fi
33633 else
33634 pkg_failed=untried
33635 fi
33636 if test -n "$PKG_CONFIG"; then
33637 if test -n "$PANGOXFT_LIBS"; then
33638 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33639 else
33640 if test -n "$PKG_CONFIG" && \
33641 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33642 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33643 ac_status=$?
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); }; then
33646 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33647 else
33648 pkg_failed=yes
33649 fi
33650 fi
33651 else
33652 pkg_failed=untried
33653 fi
33654
33655
33656
33657 if test $pkg_failed = yes; then
33658
33659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33660 _pkg_short_errors_supported=yes
33661 else
33662 _pkg_short_errors_supported=no
33663 fi
33664 if test $_pkg_short_errors_supported = yes; then
33665 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33666 else
33667 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33668 fi
33669 # Put the nasty error message in config.log where it belongs
33670 echo "$PANGOXFT_PKG_ERRORS" >&5
33671
33672
33673 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33674 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33675
33676
33677 elif test $pkg_failed = untried; then
33678
33679 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33680 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33681
33682
33683 else
33684 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33685 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33686 { echo "$as_me:$LINENO: result: yes" >&5
33687 echo "${ECHO_T}yes" >&6; }
33688
33689 cat >>confdefs.h <<\_ACEOF
33690 #define HAVE_PANGO_XFT 1
33691 _ACEOF
33692
33693 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33694 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33695 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33696
33697 fi
33698 save_LIBS="$LIBS"
33699 LIBS="$LIBS $PANGOX_LIBS"
33700
33701 for ac_func in pango_font_family_is_monospace
33702 do
33703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33704 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33706 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33707 echo $ECHO_N "(cached) $ECHO_C" >&6
33708 else
33709 cat >conftest.$ac_ext <<_ACEOF
33710 /* confdefs.h. */
33711 _ACEOF
33712 cat confdefs.h >>conftest.$ac_ext
33713 cat >>conftest.$ac_ext <<_ACEOF
33714 /* end confdefs.h. */
33715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33717 #define $ac_func innocuous_$ac_func
33718
33719 /* System header to define __stub macros and hopefully few prototypes,
33720 which can conflict with char $ac_func (); below.
33721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33722 <limits.h> exists even on freestanding compilers. */
33723
33724 #ifdef __STDC__
33725 # include <limits.h>
33726 #else
33727 # include <assert.h>
33728 #endif
33729
33730 #undef $ac_func
33731
33732 /* Override any GCC internal prototype to avoid an error.
33733 Use char because int might match the return type of a GCC
33734 builtin and then its argument prototype would still apply. */
33735 #ifdef __cplusplus
33736 extern "C"
33737 #endif
33738 char $ac_func ();
33739 /* The GNU C library defines this for functions which it implements
33740 to always fail with ENOSYS. Some functions are actually named
33741 something starting with __ and the normal name is an alias. */
33742 #if defined __stub_$ac_func || defined __stub___$ac_func
33743 choke me
33744 #endif
33745
33746 int
33747 main ()
33748 {
33749 return $ac_func ();
33750 ;
33751 return 0;
33752 }
33753 _ACEOF
33754 rm -f conftest.$ac_objext conftest$ac_exeext
33755 if { (ac_try="$ac_link"
33756 case "(($ac_try" in
33757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33758 *) ac_try_echo=$ac_try;;
33759 esac
33760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33761 (eval "$ac_link") 2>conftest.er1
33762 ac_status=$?
33763 grep -v '^ *+' conftest.er1 >conftest.err
33764 rm -f conftest.er1
33765 cat conftest.err >&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); } && {
33768 test -z "$ac_c_werror_flag" ||
33769 test ! -s conftest.err
33770 } && test -s conftest$ac_exeext &&
33771 $as_test_x conftest$ac_exeext; then
33772 eval "$as_ac_var=yes"
33773 else
33774 echo "$as_me: failed program was:" >&5
33775 sed 's/^/| /' conftest.$ac_ext >&5
33776
33777 eval "$as_ac_var=no"
33778 fi
33779
33780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33781 conftest$ac_exeext conftest.$ac_ext
33782 fi
33783 ac_res=`eval echo '${'$as_ac_var'}'`
33784 { echo "$as_me:$LINENO: result: $ac_res" >&5
33785 echo "${ECHO_T}$ac_res" >&6; }
33786 if test `eval echo '${'$as_ac_var'}'` = yes; then
33787 cat >>confdefs.h <<_ACEOF
33788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33789 _ACEOF
33790
33791 fi
33792 done
33793
33794 LIBS="$save_LIBS"
33795 fi
33796
33797 wxUSE_UNIVERSAL="yes"
33798
33799 if test "$wxUSE_NANOX" = "yes"; then
33800 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33801 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"
33802 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33803 else
33804 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33805 fi
33806
33807 TOOLKIT=X11
33808 GUIDIST=X11_DIST
33809 fi
33810
33811 if test "$wxUSE_MOTIF" = 1; then
33812 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33813 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33814
33815 ac_find_includes=
33816 for ac_dir in $SEARCH_INCLUDE /usr/include;
33817 do
33818 if test -f "$ac_dir/Xm/Xm.h"; then
33819 ac_find_includes=$ac_dir
33820 break
33821 fi
33822 done
33823
33824 if test "$ac_find_includes" != "" ; then
33825 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33826 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33827
33828 if test "x$ac_find_includes" = "x/usr/include"; then
33829 ac_path_to_include=""
33830 else
33831 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33832 result=$?
33833 if test $result = 0; then
33834 ac_path_to_include=""
33835 else
33836 ac_path_to_include=" -I$ac_find_includes"
33837 fi
33838 fi
33839
33840 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33841 else
33842 save_CFLAGS=$CFLAGS
33843 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33844
33845 cat >conftest.$ac_ext <<_ACEOF
33846 /* confdefs.h. */
33847 _ACEOF
33848 cat confdefs.h >>conftest.$ac_ext
33849 cat >>conftest.$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33851
33852 #include <Xm/Xm.h>
33853
33854 int
33855 main ()
33856 {
33857
33858 int version;
33859 version = xmUseVersion;
33860
33861 ;
33862 return 0;
33863 }
33864 _ACEOF
33865 rm -f conftest.$ac_objext
33866 if { (ac_try="$ac_compile"
33867 case "(($ac_try" in
33868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33869 *) ac_try_echo=$ac_try;;
33870 esac
33871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33872 (eval "$ac_compile") 2>conftest.er1
33873 ac_status=$?
33874 grep -v '^ *+' conftest.er1 >conftest.err
33875 rm -f conftest.er1
33876 cat conftest.err >&5
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); } && {
33879 test -z "$ac_c_werror_flag" ||
33880 test ! -s conftest.err
33881 } && test -s conftest.$ac_objext; then
33882
33883 { echo "$as_me:$LINENO: result: found in default search path" >&5
33884 echo "${ECHO_T}found in default search path" >&6; }
33885 COMPILED_X_PROGRAM=1
33886
33887 else
33888 echo "$as_me: failed program was:" >&5
33889 sed 's/^/| /' conftest.$ac_ext >&5
33890
33891
33892 { echo "$as_me:$LINENO: result: no" >&5
33893 echo "${ECHO_T}no" >&6; }
33894 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33895 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33896 { (exit 1); exit 1; }; }
33897
33898
33899 fi
33900
33901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33902
33903 CFLAGS=$save_CFLAGS
33904 fi
33905
33906
33907 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33908 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33909
33910 ac_find_libraries=
33911 for ac_dir in $SEARCH_LIB;
33912 do
33913 for ac_extension in a so sl dylib dll.a; do
33914 if test -f "$ac_dir/libXm.$ac_extension"; then
33915 ac_find_libraries=$ac_dir
33916 break 2
33917 fi
33918 done
33919 done
33920
33921
33922 if test "x$ac_find_libraries" != "x" ; then
33923 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33924 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33925
33926
33927 if test "$ac_find_libraries" = "default location"; then
33928 ac_path_to_link=""
33929 else
33930 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33931 result=$?
33932 if test $result = 0; then
33933 ac_path_to_link=""
33934 else
33935 ac_path_to_link=" -L$ac_find_libraries"
33936 fi
33937 fi
33938
33939 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33940 else
33941 save_CFLAGS=$CFLAGS
33942 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33943 save_LIBS="$LIBS"
33944 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33945
33946 cat >conftest.$ac_ext <<_ACEOF
33947 /* confdefs.h. */
33948 _ACEOF
33949 cat confdefs.h >>conftest.$ac_ext
33950 cat >>conftest.$ac_ext <<_ACEOF
33951 /* end confdefs.h. */
33952
33953 #include <Xm/Xm.h>
33954
33955 int
33956 main ()
33957 {
33958
33959 int version;
33960 version = xmUseVersion;
33961
33962 ;
33963 return 0;
33964 }
33965 _ACEOF
33966 rm -f conftest.$ac_objext conftest$ac_exeext
33967 if { (ac_try="$ac_link"
33968 case "(($ac_try" in
33969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33970 *) ac_try_echo=$ac_try;;
33971 esac
33972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33973 (eval "$ac_link") 2>conftest.er1
33974 ac_status=$?
33975 grep -v '^ *+' conftest.er1 >conftest.err
33976 rm -f conftest.er1
33977 cat conftest.err >&5
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); } && {
33980 test -z "$ac_c_werror_flag" ||
33981 test ! -s conftest.err
33982 } && test -s conftest$ac_exeext &&
33983 $as_test_x conftest$ac_exeext; then
33984
33985 { echo "$as_me:$LINENO: result: found in default search path" >&5
33986 echo "${ECHO_T}found in default search path" >&6; }
33987 COMPILED_X_PROGRAM=1
33988
33989 else
33990 echo "$as_me: failed program was:" >&5
33991 sed 's/^/| /' conftest.$ac_ext >&5
33992
33993
33994 { echo "$as_me:$LINENO: result: no" >&5
33995 echo "${ECHO_T}no" >&6; }
33996 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33997 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33998 { (exit 1); exit 1; }; }
33999
34000
34001 fi
34002
34003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34004 conftest$ac_exeext conftest.$ac_ext
34005
34006 CFLAGS=$save_CFLAGS
34007 LIBS="$save_LIBS"
34008 fi
34009
34010 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34011 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34012 libp_link=""
34013 libsm_ice_link=""
34014 libs_found=0
34015 for libp in "" " -lXp"; do
34016 if test "$libs_found" = "0"; then
34017 for libsm_ice in "" " -lSM -lICE"; do
34018 if test "$libs_found" = "0"; then
34019 save_LIBS="$LIBS"
34020 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34021 save_CFLAGS=$CFLAGS
34022 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34023
34024 cat >conftest.$ac_ext <<_ACEOF
34025 /* confdefs.h. */
34026 _ACEOF
34027 cat confdefs.h >>conftest.$ac_ext
34028 cat >>conftest.$ac_ext <<_ACEOF
34029 /* end confdefs.h. */
34030
34031 #include <Xm/Xm.h>
34032 #include <Xm/List.h>
34033
34034 int
34035 main ()
34036 {
34037
34038 XmString string = NULL;
34039 Widget w = NULL;
34040 int position = 0;
34041 XmListAddItem(w, string, position);
34042
34043 ;
34044 return 0;
34045 }
34046 _ACEOF
34047 rm -f conftest.$ac_objext conftest$ac_exeext
34048 if { (ac_try="$ac_link"
34049 case "(($ac_try" in
34050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34051 *) ac_try_echo=$ac_try;;
34052 esac
34053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34054 (eval "$ac_link") 2>conftest.er1
34055 ac_status=$?
34056 grep -v '^ *+' conftest.er1 >conftest.err
34057 rm -f conftest.er1
34058 cat conftest.err >&5
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); } && {
34061 test -z "$ac_c_werror_flag" ||
34062 test ! -s conftest.err
34063 } && test -s conftest$ac_exeext &&
34064 $as_test_x conftest$ac_exeext; then
34065
34066 libp_link="$libp"
34067 libsm_ice_link="$libsm_ice"
34068 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34069 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34070 libs_found=1
34071
34072 else
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.$ac_ext >&5
34075
34076
34077
34078 fi
34079
34080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34081 conftest$ac_exeext conftest.$ac_ext
34082
34083 LIBS="$save_LIBS"
34084 CFLAGS=$save_CFLAGS
34085 fi
34086 done
34087 fi
34088 done
34089
34090 if test "$libs_found" = "0"; then
34091 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34092 echo "${ECHO_T}can't find the right libraries" >&6; }
34093 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34094 echo "$as_me: error: can't link a simple motif program" >&2;}
34095 { (exit 1); exit 1; }; }
34096 fi
34097
34098 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34099 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34100 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34101 echo $ECHO_N "(cached) $ECHO_C" >&6
34102 else
34103 ac_check_lib_save_LIBS=$LIBS
34104 LIBS="-lSgm $LIBS"
34105 cat >conftest.$ac_ext <<_ACEOF
34106 /* confdefs.h. */
34107 _ACEOF
34108 cat confdefs.h >>conftest.$ac_ext
34109 cat >>conftest.$ac_ext <<_ACEOF
34110 /* end confdefs.h. */
34111
34112 /* Override any GCC internal prototype to avoid an error.
34113 Use char because int might match the return type of a GCC
34114 builtin and then its argument prototype would still apply. */
34115 #ifdef __cplusplus
34116 extern "C"
34117 #endif
34118 char SgCreateList ();
34119 int
34120 main ()
34121 {
34122 return SgCreateList ();
34123 ;
34124 return 0;
34125 }
34126 _ACEOF
34127 rm -f conftest.$ac_objext conftest$ac_exeext
34128 if { (ac_try="$ac_link"
34129 case "(($ac_try" in
34130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34131 *) ac_try_echo=$ac_try;;
34132 esac
34133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34134 (eval "$ac_link") 2>conftest.er1
34135 ac_status=$?
34136 grep -v '^ *+' conftest.er1 >conftest.err
34137 rm -f conftest.er1
34138 cat conftest.err >&5
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); } && {
34141 test -z "$ac_c_werror_flag" ||
34142 test ! -s conftest.err
34143 } && test -s conftest$ac_exeext &&
34144 $as_test_x conftest$ac_exeext; then
34145 ac_cv_lib_Sgm_SgCreateList=yes
34146 else
34147 echo "$as_me: failed program was:" >&5
34148 sed 's/^/| /' conftest.$ac_ext >&5
34149
34150 ac_cv_lib_Sgm_SgCreateList=no
34151 fi
34152
34153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34154 conftest$ac_exeext conftest.$ac_ext
34155 LIBS=$ac_check_lib_save_LIBS
34156 fi
34157 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34158 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34159 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34160 libsgm_link=" -lSgm"
34161 fi
34162
34163
34164 save_CFLAGS=$CFLAGS
34165 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34166
34167 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34168 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34169 if test "${wx_cv_lib_motif2+set}" = set; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34171 else
34172 cat >conftest.$ac_ext <<_ACEOF
34173 /* confdefs.h. */
34174 _ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34178
34179 #include <Xm/Xm.h>
34180
34181 int
34182 main ()
34183 {
34184
34185 #if XmVersion < 2000
34186 Not Motif 2
34187 #endif
34188
34189 ;
34190 return 0;
34191 }
34192 _ACEOF
34193 rm -f conftest.$ac_objext
34194 if { (ac_try="$ac_compile"
34195 case "(($ac_try" in
34196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34197 *) ac_try_echo=$ac_try;;
34198 esac
34199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34200 (eval "$ac_compile") 2>conftest.er1
34201 ac_status=$?
34202 grep -v '^ *+' conftest.er1 >conftest.err
34203 rm -f conftest.er1
34204 cat conftest.err >&5
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); } && {
34207 test -z "$ac_c_werror_flag" ||
34208 test ! -s conftest.err
34209 } && test -s conftest.$ac_objext; then
34210 wx_cv_lib_motif2="yes"
34211 else
34212 echo "$as_me: failed program was:" >&5
34213 sed 's/^/| /' conftest.$ac_ext >&5
34214
34215 wx_cv_lib_motif2="no"
34216 fi
34217
34218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34219 fi
34220 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34221 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34222 if test "$wx_cv_lib_motif2" = "yes"; then
34223 cat >>confdefs.h <<\_ACEOF
34224 #define __WXMOTIF20__ 1
34225 _ACEOF
34226
34227 else
34228 cat >>confdefs.h <<\_ACEOF
34229 #define __WXMOTIF20__ 0
34230 _ACEOF
34231
34232 fi
34233
34234 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34235 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34236 if test "${wx_cv_lib_lesstif+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34238 else
34239 cat >conftest.$ac_ext <<_ACEOF
34240 /* confdefs.h. */
34241 _ACEOF
34242 cat confdefs.h >>conftest.$ac_ext
34243 cat >>conftest.$ac_ext <<_ACEOF
34244 /* end confdefs.h. */
34245
34246 #include <Xm/Xm.h>
34247
34248 int
34249 main ()
34250 {
34251
34252 #if !defined(LesstifVersion) || LesstifVersion <= 0
34253 Not Lesstif
34254 #endif
34255
34256 ;
34257 return 0;
34258 }
34259 _ACEOF
34260 rm -f conftest.$ac_objext
34261 if { (ac_try="$ac_compile"
34262 case "(($ac_try" in
34263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34264 *) ac_try_echo=$ac_try;;
34265 esac
34266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34267 (eval "$ac_compile") 2>conftest.er1
34268 ac_status=$?
34269 grep -v '^ *+' conftest.er1 >conftest.err
34270 rm -f conftest.er1
34271 cat conftest.err >&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } && {
34274 test -z "$ac_c_werror_flag" ||
34275 test ! -s conftest.err
34276 } && test -s conftest.$ac_objext; then
34277 wx_cv_lib_lesstif="yes"
34278 else
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34281
34282 wx_cv_lib_lesstif="no"
34283 fi
34284
34285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34286
34287 fi
34288 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34289 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34290 if test "$wx_cv_lib_lesstif" = "yes"; then
34291 cat >>confdefs.h <<\_ACEOF
34292 #define __WXLESSTIF__ 1
34293 _ACEOF
34294
34295 else
34296 cat >>confdefs.h <<\_ACEOF
34297 #define __WXLESSTIF__ 0
34298 _ACEOF
34299
34300 fi
34301
34302 CFLAGS=$save_CFLAGS
34303
34304 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34305 TOOLKIT=MOTIF
34306 GUIDIST=MOTIF_DIST
34307 fi
34308
34309 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34310 if test "$wxUSE_LIBXPM" = "sys"; then
34311 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34312 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34313
34314 ac_find_libraries=
34315 for ac_dir in $SEARCH_LIB;
34316 do
34317 for ac_extension in a so sl dylib dll.a; do
34318 if test -f "$ac_dir/libXpm.$ac_extension"; then
34319 ac_find_libraries=$ac_dir
34320 break 2
34321 fi
34322 done
34323 done
34324
34325 if test "$ac_find_libraries" != "" ; then
34326
34327 if test "$ac_find_libraries" = "default location"; then
34328 ac_path_to_link=""
34329 else
34330 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34331 result=$?
34332 if test $result = 0; then
34333 ac_path_to_link=""
34334 else
34335 ac_path_to_link=" -L$ac_find_libraries"
34336 fi
34337 fi
34338
34339 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34340 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34341 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34342
34343 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34344 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34345 if test "${wx_cv_x11_xpm_h+set}" = set; then
34346 echo $ECHO_N "(cached) $ECHO_C" >&6
34347 else
34348
34349 save_CFLAGS=$CFLAGS
34350 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34351
34352 cat >conftest.$ac_ext <<_ACEOF
34353 /* confdefs.h. */
34354 _ACEOF
34355 cat confdefs.h >>conftest.$ac_ext
34356 cat >>conftest.$ac_ext <<_ACEOF
34357 /* end confdefs.h. */
34358
34359 #include <X11/xpm.h>
34360
34361 int
34362 main ()
34363 {
34364
34365 int version;
34366 version = XpmLibraryVersion();
34367
34368 ;
34369 return 0;
34370 }
34371 _ACEOF
34372 rm -f conftest.$ac_objext
34373 if { (ac_try="$ac_compile"
34374 case "(($ac_try" in
34375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34376 *) ac_try_echo=$ac_try;;
34377 esac
34378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34379 (eval "$ac_compile") 2>conftest.er1
34380 ac_status=$?
34381 grep -v '^ *+' conftest.er1 >conftest.err
34382 rm -f conftest.er1
34383 cat conftest.err >&5
34384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34385 (exit $ac_status); } && {
34386 test -z "$ac_c_werror_flag" ||
34387 test ! -s conftest.err
34388 } && test -s conftest.$ac_objext; then
34389 wx_cv_x11_xpm_h=yes
34390 else
34391 echo "$as_me: failed program was:" >&5
34392 sed 's/^/| /' conftest.$ac_ext >&5
34393
34394 wx_cv_x11_xpm_h=no
34395
34396 fi
34397
34398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34399
34400 CFLAGS=$save_CFLAGS
34401
34402
34403 fi
34404 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34405 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34406
34407 if test $wx_cv_x11_xpm_h = "yes"; then
34408 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34409 cat >>confdefs.h <<\_ACEOF
34410 #define wxHAVE_LIB_XPM 1
34411 _ACEOF
34412
34413 else
34414 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34415 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34416 fi
34417 fi
34418
34419 fi
34420
34421 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34422 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34423 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34424 echo $ECHO_N "(cached) $ECHO_C" >&6
34425 else
34426 ac_check_lib_save_LIBS=$LIBS
34427 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34428 cat >conftest.$ac_ext <<_ACEOF
34429 /* confdefs.h. */
34430 _ACEOF
34431 cat confdefs.h >>conftest.$ac_ext
34432 cat >>conftest.$ac_ext <<_ACEOF
34433 /* end confdefs.h. */
34434
34435 /* Override any GCC internal prototype to avoid an error.
34436 Use char because int might match the return type of a GCC
34437 builtin and then its argument prototype would still apply. */
34438 #ifdef __cplusplus
34439 extern "C"
34440 #endif
34441 char XShapeQueryExtension ();
34442 int
34443 main ()
34444 {
34445 return XShapeQueryExtension ();
34446 ;
34447 return 0;
34448 }
34449 _ACEOF
34450 rm -f conftest.$ac_objext conftest$ac_exeext
34451 if { (ac_try="$ac_link"
34452 case "(($ac_try" in
34453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34454 *) ac_try_echo=$ac_try;;
34455 esac
34456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34457 (eval "$ac_link") 2>conftest.er1
34458 ac_status=$?
34459 grep -v '^ *+' conftest.er1 >conftest.err
34460 rm -f conftest.er1
34461 cat conftest.err >&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } && {
34464 test -z "$ac_c_werror_flag" ||
34465 test ! -s conftest.err
34466 } && test -s conftest$ac_exeext &&
34467 $as_test_x conftest$ac_exeext; then
34468 ac_cv_lib_Xext_XShapeQueryExtension=yes
34469 else
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.$ac_ext >&5
34472
34473 ac_cv_lib_Xext_XShapeQueryExtension=no
34474 fi
34475
34476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34477 conftest$ac_exeext conftest.$ac_ext
34478 LIBS=$ac_check_lib_save_LIBS
34479 fi
34480 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34481 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34482 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34483
34484 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34485 wxHAVE_XEXT_LIB=1
34486
34487 fi
34488
34489
34490 if test "$wxHAVE_XEXT_LIB" = 1; then
34491 save_CFLAGS="$CFLAGS"
34492 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34493
34494 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34495 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34496 cat >conftest.$ac_ext <<_ACEOF
34497 /* confdefs.h. */
34498 _ACEOF
34499 cat confdefs.h >>conftest.$ac_ext
34500 cat >>conftest.$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34502
34503 #include <X11/Xlib.h>
34504 #include <X11/extensions/shape.h>
34505
34506 int
34507 main ()
34508 {
34509
34510 int dummy1, dummy2;
34511 XShapeQueryExtension((Display*)NULL,
34512 (int*)NULL, (int*)NULL);
34513
34514 ;
34515 return 0;
34516 }
34517 _ACEOF
34518 rm -f conftest.$ac_objext
34519 if { (ac_try="$ac_compile"
34520 case "(($ac_try" in
34521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34522 *) ac_try_echo=$ac_try;;
34523 esac
34524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34525 (eval "$ac_compile") 2>conftest.er1
34526 ac_status=$?
34527 grep -v '^ *+' conftest.er1 >conftest.err
34528 rm -f conftest.er1
34529 cat conftest.err >&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } && {
34532 test -z "$ac_c_werror_flag" ||
34533 test ! -s conftest.err
34534 } && test -s conftest.$ac_objext; then
34535
34536 cat >>confdefs.h <<\_ACEOF
34537 #define HAVE_XSHAPE 1
34538 _ACEOF
34539
34540 { echo "$as_me:$LINENO: result: found" >&5
34541 echo "${ECHO_T}found" >&6; }
34542
34543 else
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.$ac_ext >&5
34546
34547
34548 { echo "$as_me:$LINENO: result: not found" >&5
34549 echo "${ECHO_T}not found" >&6; }
34550
34551 fi
34552
34553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34554 CFLAGS="$save_CFLAGS"
34555
34556 fi
34557 fi
34558
34559 if test "$wxUSE_MAC" = 1; then
34560 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34561 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34562 if test "$GCC" = yes; then
34563 { echo "$as_me:$LINENO: result: gcc" >&5
34564 echo "${ECHO_T}gcc" >&6; }
34565 CPPFLAGS_PASCAL="-fpascal-strings"
34566 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34567 { echo "$as_me:$LINENO: result: xlc" >&5
34568 echo "${ECHO_T}xlc" >&6; }
34569 CPPFLAGS_PASCAL="-qmacpstr"
34570 else
34571 { echo "$as_me:$LINENO: result: none" >&5
34572 echo "${ECHO_T}none" >&6; }
34573 fi
34574
34575 if test "x$wxUSE_UNIX" = "xyes"; then
34576 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34577 else
34578 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34579 fi
34580
34581 TOOLKIT=MAC
34582 GUIDIST=MACX_DIST
34583 WXBASEPORT="_carbon"
34584 fi
34585
34586 if test "$wxUSE_COCOA" = 1; then
34587 TOOLKIT=COCOA
34588 GUIDIST=COCOA_DIST
34589 fi
34590
34591 if test "$wxUSE_PM" = 1; then
34592 TOOLKIT=PM
34593 GUIDIST=PM_DIST
34594 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34595 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34596 if test "${wx_cv_spbcdata+set}" = set; then
34597 echo $ECHO_N "(cached) $ECHO_C" >&6
34598 else
34599
34600 cat >conftest.$ac_ext <<_ACEOF
34601 /* confdefs.h. */
34602 _ACEOF
34603 cat confdefs.h >>conftest.$ac_ext
34604 cat >>conftest.$ac_ext <<_ACEOF
34605 /* end confdefs.h. */
34606
34607 #define INCL_PM
34608 #include <os2.h>
34609
34610 int
34611 main ()
34612 {
34613
34614 SPBCDATA test;
34615
34616 ;
34617 return 0;
34618 }
34619 _ACEOF
34620 rm -f conftest.$ac_objext
34621 if { (ac_try="$ac_compile"
34622 case "(($ac_try" in
34623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34624 *) ac_try_echo=$ac_try;;
34625 esac
34626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34627 (eval "$ac_compile") 2>conftest.er1
34628 ac_status=$?
34629 grep -v '^ *+' conftest.er1 >conftest.err
34630 rm -f conftest.er1
34631 cat conftest.err >&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); } && {
34634 test -z "$ac_c_werror_flag" ||
34635 test ! -s conftest.err
34636 } && test -s conftest.$ac_objext; then
34637 wx_cv_spbcdata=yes
34638 else
34639 echo "$as_me: failed program was:" >&5
34640 sed 's/^/| /' conftest.$ac_ext >&5
34641
34642 wx_cv_spbcdata=no
34643
34644 fi
34645
34646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34647
34648
34649 fi
34650 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34651 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34652
34653 if test $wx_cv_spbcdata = "yes"; then
34654 cat >>confdefs.h <<\_ACEOF
34655 #define HAVE_SPBCDATA 1
34656 _ACEOF
34657
34658 fi
34659 fi
34660
34661 if test "$TOOLKIT" = "PM" ; then
34662 TOOLKIT_DIR="os2"
34663 else
34664 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34665 fi
34666
34667 if test "$wxUSE_UNIVERSAL" = "yes"; then
34668 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34669 WIDGET_SET=univ
34670 fi
34671
34672 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34673 DISTDIR="wx\$(TOOLKIT)"
34674 else
34675 USE_GUI=0
34676
34677 TOOLKIT_DIR="base"
34678
34679 if test "$USE_WIN32" = 1 ; then
34680 TOOLKIT="MSW"
34681 fi
34682
34683 GUIDIST="BASE_DIST"
34684 DISTDIR="wxBase"
34685 fi
34686
34687
34688
34689 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34690 if test "$TOOLKIT" = "DFB" ; then
34691 wxUSE_UNICODE_UTF8=yes
34692 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34693 wxUSE_UNICODE_UTF8=yes
34694 elif test "$USE_OS2" = "1" ; then
34695 wxUSE_UNICODE_UTF8=yes
34696 else
34697 wxUSE_UNICODE_UTF8=no
34698 fi
34699 fi
34700
34701
34702 if test "$wxUSE_GUI" = "yes"; then
34703 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34704
34705 for ac_header in X11/Xlib.h
34706 do
34707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34711 echo $ECHO_N "(cached) $ECHO_C" >&6
34712 else
34713 cat >conftest.$ac_ext <<_ACEOF
34714 /* confdefs.h. */
34715 _ACEOF
34716 cat confdefs.h >>conftest.$ac_ext
34717 cat >>conftest.$ac_ext <<_ACEOF
34718 /* end confdefs.h. */
34719
34720
34721 #include <$ac_header>
34722 _ACEOF
34723 rm -f conftest.$ac_objext
34724 if { (ac_try="$ac_compile"
34725 case "(($ac_try" in
34726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34727 *) ac_try_echo=$ac_try;;
34728 esac
34729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34730 (eval "$ac_compile") 2>conftest.er1
34731 ac_status=$?
34732 grep -v '^ *+' conftest.er1 >conftest.err
34733 rm -f conftest.er1
34734 cat conftest.err >&5
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); } && {
34737 test -z "$ac_c_werror_flag" ||
34738 test ! -s conftest.err
34739 } && test -s conftest.$ac_objext; then
34740 eval "$as_ac_Header=yes"
34741 else
34742 echo "$as_me: failed program was:" >&5
34743 sed 's/^/| /' conftest.$ac_ext >&5
34744
34745 eval "$as_ac_Header=no"
34746 fi
34747
34748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34749 fi
34750 ac_res=`eval echo '${'$as_ac_Header'}'`
34751 { echo "$as_me:$LINENO: result: $ac_res" >&5
34752 echo "${ECHO_T}$ac_res" >&6; }
34753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34754 cat >>confdefs.h <<_ACEOF
34755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34756 _ACEOF
34757
34758 fi
34759
34760 done
34761
34762
34763 for ac_header in X11/XKBlib.h
34764 do
34765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34766 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34768 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34769 echo $ECHO_N "(cached) $ECHO_C" >&6
34770 else
34771 cat >conftest.$ac_ext <<_ACEOF
34772 /* confdefs.h. */
34773 _ACEOF
34774 cat confdefs.h >>conftest.$ac_ext
34775 cat >>conftest.$ac_ext <<_ACEOF
34776 /* end confdefs.h. */
34777
34778 #if HAVE_X11_XLIB_H
34779 #include <X11/Xlib.h>
34780 #endif
34781
34782
34783 #include <$ac_header>
34784 _ACEOF
34785 rm -f conftest.$ac_objext
34786 if { (ac_try="$ac_compile"
34787 case "(($ac_try" in
34788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34789 *) ac_try_echo=$ac_try;;
34790 esac
34791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34792 (eval "$ac_compile") 2>conftest.er1
34793 ac_status=$?
34794 grep -v '^ *+' conftest.er1 >conftest.err
34795 rm -f conftest.er1
34796 cat conftest.err >&5
34797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34798 (exit $ac_status); } && {
34799 test -z "$ac_c_werror_flag" ||
34800 test ! -s conftest.err
34801 } && test -s conftest.$ac_objext; then
34802 eval "$as_ac_Header=yes"
34803 else
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34806
34807 eval "$as_ac_Header=no"
34808 fi
34809
34810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34811 fi
34812 ac_res=`eval echo '${'$as_ac_Header'}'`
34813 { echo "$as_me:$LINENO: result: $ac_res" >&5
34814 echo "${ECHO_T}$ac_res" >&6; }
34815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34816 cat >>confdefs.h <<_ACEOF
34817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34818 _ACEOF
34819
34820 fi
34821
34822 done
34823
34824 fi
34825 fi
34826
34827
34828
34829 IODBC_C_SRC=""
34830
34831
34832 if test "$TOOLKIT" != "MSW" ; then
34833
34834 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34835
34836 { echo "$as_me:$LINENO: checking for sql.h" >&5
34837 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34838 if test "${ac_cv_header_sql_h+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 else
34841 cat >conftest.$ac_ext <<_ACEOF
34842 /* confdefs.h. */
34843 _ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847
34848
34849 #include <sql.h>
34850 _ACEOF
34851 rm -f conftest.$ac_objext
34852 if { (ac_try="$ac_compile"
34853 case "(($ac_try" in
34854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34855 *) ac_try_echo=$ac_try;;
34856 esac
34857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34858 (eval "$ac_compile") 2>conftest.er1
34859 ac_status=$?
34860 grep -v '^ *+' conftest.er1 >conftest.err
34861 rm -f conftest.er1
34862 cat conftest.err >&5
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); } && {
34865 test -z "$ac_c_werror_flag" ||
34866 test ! -s conftest.err
34867 } && test -s conftest.$ac_objext; then
34868 ac_cv_header_sql_h=yes
34869 else
34870 echo "$as_me: failed program was:" >&5
34871 sed 's/^/| /' conftest.$ac_ext >&5
34872
34873 ac_cv_header_sql_h=no
34874 fi
34875
34876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34877 fi
34878 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34879 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34880 if test $ac_cv_header_sql_h = yes; then
34881 found_sql_h=1
34882 fi
34883
34884
34885 if test "x$found_sql_h" = "x1" ; then
34886 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34887 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34888 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34890 else
34891 ac_check_lib_save_LIBS=$LIBS
34892 LIBS="-liodbc $LIBS"
34893 cat >conftest.$ac_ext <<_ACEOF
34894 /* confdefs.h. */
34895 _ACEOF
34896 cat confdefs.h >>conftest.$ac_ext
34897 cat >>conftest.$ac_ext <<_ACEOF
34898 /* end confdefs.h. */
34899
34900 /* Override any GCC internal prototype to avoid an error.
34901 Use char because int might match the return type of a GCC
34902 builtin and then its argument prototype would still apply. */
34903 #ifdef __cplusplus
34904 extern "C"
34905 #endif
34906 char SQLAllocEnv ();
34907 int
34908 main ()
34909 {
34910 return SQLAllocEnv ();
34911 ;
34912 return 0;
34913 }
34914 _ACEOF
34915 rm -f conftest.$ac_objext conftest$ac_exeext
34916 if { (ac_try="$ac_link"
34917 case "(($ac_try" in
34918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34919 *) ac_try_echo=$ac_try;;
34920 esac
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_link") 2>conftest.er1
34923 ac_status=$?
34924 grep -v '^ *+' conftest.er1 >conftest.err
34925 rm -f conftest.er1
34926 cat conftest.err >&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_c_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest$ac_exeext &&
34932 $as_test_x conftest$ac_exeext; then
34933 ac_cv_lib_iodbc_SQLAllocEnv=yes
34934 else
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.$ac_ext >&5
34937
34938 ac_cv_lib_iodbc_SQLAllocEnv=no
34939 fi
34940
34941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34942 conftest$ac_exeext conftest.$ac_ext
34943 LIBS=$ac_check_lib_save_LIBS
34944 fi
34945 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34946 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34947 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34948 ODBC_LINK=" -liodbc"
34949 else
34950
34951 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34952 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34953 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34954 echo $ECHO_N "(cached) $ECHO_C" >&6
34955 else
34956 ac_check_lib_save_LIBS=$LIBS
34957 LIBS="-lunixodbc $LIBS"
34958 cat >conftest.$ac_ext <<_ACEOF
34959 /* confdefs.h. */
34960 _ACEOF
34961 cat confdefs.h >>conftest.$ac_ext
34962 cat >>conftest.$ac_ext <<_ACEOF
34963 /* end confdefs.h. */
34964
34965 /* Override any GCC internal prototype to avoid an error.
34966 Use char because int might match the return type of a GCC
34967 builtin and then its argument prototype would still apply. */
34968 #ifdef __cplusplus
34969 extern "C"
34970 #endif
34971 char SQLAllocEnv ();
34972 int
34973 main ()
34974 {
34975 return SQLAllocEnv ();
34976 ;
34977 return 0;
34978 }
34979 _ACEOF
34980 rm -f conftest.$ac_objext conftest$ac_exeext
34981 if { (ac_try="$ac_link"
34982 case "(($ac_try" in
34983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34984 *) ac_try_echo=$ac_try;;
34985 esac
34986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34987 (eval "$ac_link") 2>conftest.er1
34988 ac_status=$?
34989 grep -v '^ *+' conftest.er1 >conftest.err
34990 rm -f conftest.er1
34991 cat conftest.err >&5
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); } && {
34994 test -z "$ac_c_werror_flag" ||
34995 test ! -s conftest.err
34996 } && test -s conftest$ac_exeext &&
34997 $as_test_x conftest$ac_exeext; then
34998 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34999 else
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35002
35003 ac_cv_lib_unixodbc_SQLAllocEnv=no
35004 fi
35005
35006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35007 conftest$ac_exeext conftest.$ac_ext
35008 LIBS=$ac_check_lib_save_LIBS
35009 fi
35010 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35011 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35012 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35013 ODBC_LINK=" -lunixodbc"
35014 else
35015
35016 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35017 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35018 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35020 else
35021 ac_check_lib_save_LIBS=$LIBS
35022 LIBS="-lodbc $LIBS"
35023 cat >conftest.$ac_ext <<_ACEOF
35024 /* confdefs.h. */
35025 _ACEOF
35026 cat confdefs.h >>conftest.$ac_ext
35027 cat >>conftest.$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35029
35030 /* Override any GCC internal prototype to avoid an error.
35031 Use char because int might match the return type of a GCC
35032 builtin and then its argument prototype would still apply. */
35033 #ifdef __cplusplus
35034 extern "C"
35035 #endif
35036 char SQLAllocEnv ();
35037 int
35038 main ()
35039 {
35040 return SQLAllocEnv ();
35041 ;
35042 return 0;
35043 }
35044 _ACEOF
35045 rm -f conftest.$ac_objext conftest$ac_exeext
35046 if { (ac_try="$ac_link"
35047 case "(($ac_try" in
35048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35049 *) ac_try_echo=$ac_try;;
35050 esac
35051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35052 (eval "$ac_link") 2>conftest.er1
35053 ac_status=$?
35054 grep -v '^ *+' conftest.er1 >conftest.err
35055 rm -f conftest.er1
35056 cat conftest.err >&5
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); } && {
35059 test -z "$ac_c_werror_flag" ||
35060 test ! -s conftest.err
35061 } && test -s conftest$ac_exeext &&
35062 $as_test_x conftest$ac_exeext; then
35063 ac_cv_lib_odbc_SQLAllocEnv=yes
35064 else
35065 echo "$as_me: failed program was:" >&5
35066 sed 's/^/| /' conftest.$ac_ext >&5
35067
35068 ac_cv_lib_odbc_SQLAllocEnv=no
35069 fi
35070
35071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35072 conftest$ac_exeext conftest.$ac_ext
35073 LIBS=$ac_check_lib_save_LIBS
35074 fi
35075 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35076 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35077 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35078 ODBC_LINK=" -lodbc"
35079 fi
35080
35081
35082 fi
35083
35084
35085 fi
35086
35087 fi
35088 if test "x$ODBC_LINK" = "x" ; then
35089 if test "$wxUSE_ODBC" = "sys" ; then
35090 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35091 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35092 { (exit 1); exit 1; }; }
35093 else
35094 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35095 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35096 wxUSE_ODBC=builtin
35097 fi
35098 else
35099 wxUSE_ODBC=sys
35100 fi
35101 fi
35102
35103 if test "$wxUSE_ODBC" = "builtin" ; then
35104 cat >>confdefs.h <<\_ACEOF
35105 #define wxUSE_BUILTIN_IODBC 1
35106 _ACEOF
35107
35108 fi
35109 fi
35110
35111 if test "$wxUSE_ODBC" != "no" ; then
35112 cat >>confdefs.h <<\_ACEOF
35113 #define wxUSE_ODBC 1
35114 _ACEOF
35115
35116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35117
35118 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35119 fi
35120
35121
35122 if test "$wxUSE_DISPLAY" = "yes"; then
35123 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35124 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35125 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35126
35127 ac_find_libraries=
35128 for ac_dir in $SEARCH_LIB;
35129 do
35130 for ac_extension in a so sl dylib dll.a; do
35131 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35132 ac_find_libraries=$ac_dir
35133 break 2
35134 fi
35135 done
35136 done
35137
35138 if test "$ac_find_libraries" != "" ; then
35139
35140 if test "$ac_find_libraries" = "default location"; then
35141 ac_path_to_link=""
35142 else
35143 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35144 result=$?
35145 if test $result = 0; then
35146 ac_path_to_link=""
35147 else
35148 ac_path_to_link=" -L$ac_find_libraries"
35149 fi
35150 fi
35151
35152 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35153 LDFLAGS="$LDFLAGS $ac_path_to_link"
35154 fi
35155 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35156 { echo "$as_me:$LINENO: result: yes" >&5
35157 echo "${ECHO_T}yes" >&6; }
35158
35159 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35160 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35161
35162 ac_find_libraries=
35163 for ac_dir in $SEARCH_LIB;
35164 do
35165 for ac_extension in a so sl dylib dll.a; do
35166 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35167 ac_find_libraries=$ac_dir
35168 break 2
35169 fi
35170 done
35171 done
35172
35173 if test "$ac_find_libraries" != "" ; then
35174 { echo "$as_me:$LINENO: result: yes" >&5
35175 echo "${ECHO_T}yes" >&6; }
35176
35177 for ac_header in X11/extensions/xf86vmode.h
35178 do
35179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35184 else
35185 cat >conftest.$ac_ext <<_ACEOF
35186 /* confdefs.h. */
35187 _ACEOF
35188 cat confdefs.h >>conftest.$ac_ext
35189 cat >>conftest.$ac_ext <<_ACEOF
35190 /* end confdefs.h. */
35191
35192 #if HAVE_X11_XLIB_H
35193 #include <X11/Xlib.h>
35194 #endif
35195
35196
35197 #include <$ac_header>
35198 _ACEOF
35199 rm -f conftest.$ac_objext
35200 if { (ac_try="$ac_compile"
35201 case "(($ac_try" in
35202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35203 *) ac_try_echo=$ac_try;;
35204 esac
35205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35206 (eval "$ac_compile") 2>conftest.er1
35207 ac_status=$?
35208 grep -v '^ *+' conftest.er1 >conftest.err
35209 rm -f conftest.er1
35210 cat conftest.err >&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } && {
35213 test -z "$ac_c_werror_flag" ||
35214 test ! -s conftest.err
35215 } && test -s conftest.$ac_objext; then
35216 eval "$as_ac_Header=yes"
35217 else
35218 echo "$as_me: failed program was:" >&5
35219 sed 's/^/| /' conftest.$ac_ext >&5
35220
35221 eval "$as_ac_Header=no"
35222 fi
35223
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225 fi
35226 ac_res=`eval echo '${'$as_ac_Header'}'`
35227 { echo "$as_me:$LINENO: result: $ac_res" >&5
35228 echo "${ECHO_T}$ac_res" >&6; }
35229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35230 cat >>confdefs.h <<_ACEOF
35231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35232 _ACEOF
35233
35234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35235
35236 fi
35237
35238 done
35239
35240 else
35241 { echo "$as_me:$LINENO: result: no" >&5
35242 echo "${ECHO_T}no" >&6; }
35243 fi
35244
35245 else
35246 { echo "$as_me:$LINENO: result: no" >&5
35247 echo "${ECHO_T}no" >&6; }
35248 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35249 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35250 wxUSE_DISPLAY="no"
35251 fi
35252 elif test "$wxUSE_MSW" = 1; then
35253 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35254 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35255 if test "${ac_cv_header_ddraw_h+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 else
35258 cat >conftest.$ac_ext <<_ACEOF
35259 /* confdefs.h. */
35260 _ACEOF
35261 cat confdefs.h >>conftest.$ac_ext
35262 cat >>conftest.$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35264 #include <windows.h>
35265
35266 #include <ddraw.h>
35267 _ACEOF
35268 rm -f conftest.$ac_objext
35269 if { (ac_try="$ac_compile"
35270 case "(($ac_try" in
35271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35272 *) ac_try_echo=$ac_try;;
35273 esac
35274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35275 (eval "$ac_compile") 2>conftest.er1
35276 ac_status=$?
35277 grep -v '^ *+' conftest.er1 >conftest.err
35278 rm -f conftest.er1
35279 cat conftest.err >&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } && {
35282 test -z "$ac_c_werror_flag" ||
35283 test ! -s conftest.err
35284 } && test -s conftest.$ac_objext; then
35285 ac_cv_header_ddraw_h=yes
35286 else
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35289
35290 ac_cv_header_ddraw_h=no
35291 fi
35292
35293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35294 fi
35295 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35296 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35297
35298
35299 fi
35300 fi
35301
35302 if test "$wxUSE_DETECT_SM" = "yes"; then
35303 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35304 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35305 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35306
35307 ac_find_libraries=
35308 for ac_dir in $SEARCH_LIB;
35309 do
35310 for ac_extension in a so sl dylib dll.a; do
35311 if test -f "$ac_dir/libSM.$ac_extension"; then
35312 ac_find_libraries=$ac_dir
35313 break 2
35314 fi
35315 done
35316 done
35317
35318 if test "$ac_find_libraries" != "" ; then
35319
35320 if test "$ac_find_libraries" = "default location"; then
35321 ac_path_to_link=""
35322 else
35323 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35324 result=$?
35325 if test $result = 0; then
35326 ac_path_to_link=""
35327 else
35328 ac_path_to_link=" -L$ac_find_libraries"
35329 fi
35330 fi
35331
35332 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35333 LDFLAGS="$LDFLAGS $ac_path_to_link"
35334 fi
35335 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35336 { echo "$as_me:$LINENO: result: yes" >&5
35337 echo "${ECHO_T}yes" >&6; }
35338 else
35339 { echo "$as_me:$LINENO: result: no" >&5
35340 echo "${ECHO_T}no" >&6; }
35341 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35342 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35343 wxUSE_DETECT_SM="no"
35344 fi
35345 else
35346 wxUSE_DETECT_SM="no"
35347 fi
35348 fi
35349
35350
35351
35352 USE_OPENGL=0
35353 if test "$wxUSE_OPENGL" = "yes"; then
35354 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35355 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35356 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35357 wxUSE_OPENGL="no"
35358 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35359 OPENGL_LIBS="-framework OpenGL -framework AGL"
35360 elif test "$wxUSE_MSW" = 1; then
35361 OPENGL_LIBS="-lopengl32 -lglu32"
35362 else
35363 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35364 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35365
35366 ac_find_includes=
35367 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35368 do
35369 if test -f "$ac_dir/GL/gl.h"; then
35370 ac_find_includes=$ac_dir
35371 break
35372 fi
35373 done
35374
35375 if test "$ac_find_includes" != "" ; then
35376 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35377 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35378
35379 if test "x$ac_find_includes" = "x/usr/include"; then
35380 ac_path_to_include=""
35381 else
35382 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35383 result=$?
35384 if test $result = 0; then
35385 ac_path_to_include=""
35386 else
35387 ac_path_to_include=" -I$ac_find_includes"
35388 fi
35389 fi
35390
35391 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35392 else
35393 { echo "$as_me:$LINENO: result: not found" >&5
35394 echo "${ECHO_T}not found" >&6; }
35395 fi
35396
35397 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35398 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35399 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35401 else
35402 cat >conftest.$ac_ext <<_ACEOF
35403 /* confdefs.h. */
35404 _ACEOF
35405 cat confdefs.h >>conftest.$ac_ext
35406 cat >>conftest.$ac_ext <<_ACEOF
35407 /* end confdefs.h. */
35408
35409
35410 #include <GL/gl.h>
35411 _ACEOF
35412 rm -f conftest.$ac_objext
35413 if { (ac_try="$ac_compile"
35414 case "(($ac_try" in
35415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35416 *) ac_try_echo=$ac_try;;
35417 esac
35418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35419 (eval "$ac_compile") 2>conftest.er1
35420 ac_status=$?
35421 grep -v '^ *+' conftest.er1 >conftest.err
35422 rm -f conftest.er1
35423 cat conftest.err >&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } && {
35426 test -z "$ac_c_werror_flag" ||
35427 test ! -s conftest.err
35428 } && test -s conftest.$ac_objext; then
35429 ac_cv_header_GL_gl_h=yes
35430 else
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35433
35434 ac_cv_header_GL_gl_h=no
35435 fi
35436
35437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35438 fi
35439 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35440 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35441 if test $ac_cv_header_GL_gl_h = yes; then
35442
35443 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35444 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35445 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35446 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35448 fi
35449 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35450 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35451 else
35452 # Is the header compilable?
35453 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35454 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35455 cat >conftest.$ac_ext <<_ACEOF
35456 /* confdefs.h. */
35457 _ACEOF
35458 cat confdefs.h >>conftest.$ac_ext
35459 cat >>conftest.$ac_ext <<_ACEOF
35460 /* end confdefs.h. */
35461 $ac_includes_default
35462 #include <GL/glu.h>
35463 _ACEOF
35464 rm -f conftest.$ac_objext
35465 if { (ac_try="$ac_compile"
35466 case "(($ac_try" in
35467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35468 *) ac_try_echo=$ac_try;;
35469 esac
35470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35471 (eval "$ac_compile") 2>conftest.er1
35472 ac_status=$?
35473 grep -v '^ *+' conftest.er1 >conftest.err
35474 rm -f conftest.er1
35475 cat conftest.err >&5
35476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35477 (exit $ac_status); } && {
35478 test -z "$ac_c_werror_flag" ||
35479 test ! -s conftest.err
35480 } && test -s conftest.$ac_objext; then
35481 ac_header_compiler=yes
35482 else
35483 echo "$as_me: failed program was:" >&5
35484 sed 's/^/| /' conftest.$ac_ext >&5
35485
35486 ac_header_compiler=no
35487 fi
35488
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35491 echo "${ECHO_T}$ac_header_compiler" >&6; }
35492
35493 # Is the header present?
35494 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35495 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35496 cat >conftest.$ac_ext <<_ACEOF
35497 /* confdefs.h. */
35498 _ACEOF
35499 cat confdefs.h >>conftest.$ac_ext
35500 cat >>conftest.$ac_ext <<_ACEOF
35501 /* end confdefs.h. */
35502 #include <GL/glu.h>
35503 _ACEOF
35504 if { (ac_try="$ac_cpp conftest.$ac_ext"
35505 case "(($ac_try" in
35506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35507 *) ac_try_echo=$ac_try;;
35508 esac
35509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35511 ac_status=$?
35512 grep -v '^ *+' conftest.er1 >conftest.err
35513 rm -f conftest.er1
35514 cat conftest.err >&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); } >/dev/null && {
35517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35518 test ! -s conftest.err
35519 }; then
35520 ac_header_preproc=yes
35521 else
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.$ac_ext >&5
35524
35525 ac_header_preproc=no
35526 fi
35527
35528 rm -f conftest.err conftest.$ac_ext
35529 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35530 echo "${ECHO_T}$ac_header_preproc" >&6; }
35531
35532 # So? What about this header?
35533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35534 yes:no: )
35535 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35536 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35537 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35538 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35539 ac_header_preproc=yes
35540 ;;
35541 no:yes:* )
35542 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35543 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35544 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35545 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35546 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35547 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35548 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35549 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35550 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35551 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35552 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35553 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35554 ( cat <<\_ASBOX
35555 ## ----------------------------------------- ##
35556 ## Report this to wx-dev@lists.wxwidgets.org ##
35557 ## ----------------------------------------- ##
35558 _ASBOX
35559 ) | sed "s/^/$as_me: WARNING: /" >&2
35560 ;;
35561 esac
35562 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35563 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35564 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 else
35567 ac_cv_header_GL_glu_h=$ac_header_preproc
35568 fi
35569 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35570 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35571
35572 fi
35573 if test $ac_cv_header_GL_glu_h = yes; then
35574
35575 found_gl=0
35576
35577 { echo "$as_me:$LINENO: checking for -lGL" >&5
35578 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35579
35580 ac_find_libraries=
35581 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35582 do
35583 for ac_extension in a so sl dylib dll.a; do
35584 if test -f "$ac_dir/libGL.$ac_extension"; then
35585 ac_find_libraries=$ac_dir
35586 break 2
35587 fi
35588 done
35589 done
35590
35591 if test "$ac_find_libraries" != "" ; then
35592 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35593 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35594
35595
35596 if test "$ac_find_libraries" = "default location"; then
35597 ac_path_to_link=""
35598 else
35599 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35600 result=$?
35601 if test $result = 0; then
35602 ac_path_to_link=""
35603 else
35604 ac_path_to_link=" -L$ac_find_libraries"
35605 fi
35606 fi
35607
35608 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35609 LDFLAGS_GL="$ac_path_to_link"
35610 fi
35611
35612 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35613 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35614
35615 ac_find_libraries=
35616 for ac_dir in $SEARCH_LIB;
35617 do
35618 for ac_extension in a so sl dylib dll.a; do
35619 if test -f "$ac_dir/libGLU.$ac_extension"; then
35620 ac_find_libraries=$ac_dir
35621 break 2
35622 fi
35623 done
35624 done
35625
35626 if test "$ac_find_libraries" != "" ; then
35627
35628 if test "$ac_find_libraries" = "default location"; then
35629 ac_path_to_link=""
35630 else
35631 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35632 result=$?
35633 if test $result = 0; then
35634 ac_path_to_link=""
35635 else
35636 ac_path_to_link=" -L$ac_find_libraries"
35637 fi
35638 fi
35639
35640 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35641 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35642 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35643 fi
35644
35645 found_gl=1
35646 OPENGL_LIBS="-lGL -lGLU"
35647 { echo "$as_me:$LINENO: result: yes" >&5
35648 echo "${ECHO_T}yes" >&6; }
35649 else
35650 { echo "$as_me:$LINENO: result: no" >&5
35651 echo "${ECHO_T}no" >&6; }
35652 fi
35653 else
35654 { echo "$as_me:$LINENO: result: no" >&5
35655 echo "${ECHO_T}no" >&6; }
35656 fi
35657
35658 if test "$found_gl" != 1; then
35659 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35660 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35661
35662 ac_find_libraries=
35663 for ac_dir in $SEARCH_LIB;
35664 do
35665 for ac_extension in a so sl dylib dll.a; do
35666 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35667 ac_find_libraries=$ac_dir
35668 break 2
35669 fi
35670 done
35671 done
35672
35673 if test "$ac_find_libraries" != "" ; then
35674
35675 if test "$ac_find_libraries" = "default location"; then
35676 ac_path_to_link=""
35677 else
35678 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35679 result=$?
35680 if test $result = 0; then
35681 ac_path_to_link=""
35682 else
35683 ac_path_to_link=" -L$ac_find_libraries"
35684 fi
35685 fi
35686
35687 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35688 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35689 { echo "$as_me:$LINENO: result: yes" >&5
35690 echo "${ECHO_T}yes" >&6; }
35691 else
35692 { echo "$as_me:$LINENO: result: no" >&5
35693 echo "${ECHO_T}no" >&6; }
35694 fi
35695 fi
35696
35697 fi
35698
35699
35700
35701 fi
35702
35703
35704
35705 if test "x$OPENGL_LIBS" = "x"; then
35706 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35707 echo "$as_me: error: OpenGL libraries not available" >&2;}
35708 { (exit 1); exit 1; }; }
35709 fi
35710 fi
35711
35712 if test "$wxUSE_OPENGL" = "yes"; then
35713 USE_OPENGL=1
35714 cat >>confdefs.h <<\_ACEOF
35715 #define wxUSE_OPENGL 1
35716 _ACEOF
35717
35718 cat >>confdefs.h <<\_ACEOF
35719 #define wxUSE_GLCANVAS 1
35720 _ACEOF
35721
35722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35723 fi
35724 fi
35725
35726
35727 if test -n "$TOOLKIT" ; then
35728 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35729 fi
35730
35731
35732
35733 if test "$wxUSE_SHARED" = "yes"; then
35734 case "${host}" in
35735 *-pc-msdosdjgpp )
35736 wxUSE_SHARED=no
35737 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35738 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35739 ;;
35740 esac
35741 fi
35742
35743 if test "$wxUSE_SHARED" = "yes"; then
35744
35745
35746 case "${host}" in
35747 *-*-cygwin* | *-*-mingw* )
35748 wx_cv_version_script=no
35749 ;;
35750
35751 *)
35752 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35753 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35754 if test "${wx_cv_version_script+set}" = set; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35756 else
35757
35758 echo "VER_1 { *; };" >conftest.sym
35759 echo "int main() { return 0; }" >conftest.cpp
35760
35761 if { ac_try='
35762 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35763 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35766 ac_status=$?
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; } ; then
35769 if test -s conftest.stderr ; then
35770 wx_cv_version_script=no
35771 else
35772 wx_cv_version_script=yes
35773 fi
35774 else
35775 wx_cv_version_script=no
35776 fi
35777
35778 if test $wx_cv_version_script = yes
35779 then
35780 echo "struct B { virtual ~B() { } }; \
35781 struct D : public B { }; \
35782 void F() { D d; }" > conftest.cpp
35783
35784 if { ac_try='
35785 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35786 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35788 (eval $ac_try) 2>&5
35789 ac_status=$?
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); }; } &&
35792 { ac_try='
35793 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35794 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }
35800 then
35801 if { ac_try='
35802 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35803 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35805 (eval $ac_try) 2>&5
35806 ac_status=$?
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); }; }
35809 then
35810 wx_cv_version_script=yes
35811 else
35812 wx_cv_version_script=no
35813 fi
35814 fi
35815 fi
35816
35817 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35818 rm -f conftest1.output conftest2.output conftest3.output
35819
35820 fi
35821 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35822 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35823
35824 if test $wx_cv_version_script = yes ; then
35825 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35826 fi
35827 ;;
35828 esac
35829
35830
35831 if test "$wxUSE_VISIBILITY" != "no"; then
35832
35833
35834 if test -n "$GCC"; then
35835 CFLAGS_VISIBILITY="-fvisibility=hidden"
35836 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35837 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35838 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35839 if test "${wx_cv_cc_visibility+set}" = set; then
35840 echo $ECHO_N "(cached) $ECHO_C" >&6
35841 else
35842
35843 wx_save_CXXFLAGS="$CXXFLAGS"
35844 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35845 ac_ext=cpp
35846 ac_cpp='$CXXCPP $CPPFLAGS'
35847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35850
35851 cat >conftest.$ac_ext <<_ACEOF
35852 /* confdefs.h. */
35853 _ACEOF
35854 cat confdefs.h >>conftest.$ac_ext
35855 cat >>conftest.$ac_ext <<_ACEOF
35856 /* end confdefs.h. */
35857
35858 /* we need gcc >= 4.0, older versions with visibility support
35859 didn't have class visibility: */
35860 #if defined(__GNUC__) && __GNUC__ < 4
35861 error this gcc is too old;
35862 #endif
35863
35864 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35865 extern __attribute__((__visibility__("default"))) int exportedvar;
35866 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35867 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35868 class __attribute__((__visibility__("default"))) Foo {
35869 Foo() {}
35870 };
35871
35872 int
35873 main ()
35874 {
35875
35876 ;
35877 return 0;
35878 }
35879 _ACEOF
35880 rm -f conftest.$ac_objext
35881 if { (ac_try="$ac_compile"
35882 case "(($ac_try" in
35883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35884 *) ac_try_echo=$ac_try;;
35885 esac
35886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35887 (eval "$ac_compile") 2>conftest.er1
35888 ac_status=$?
35889 grep -v '^ *+' conftest.er1 >conftest.err
35890 rm -f conftest.er1
35891 cat conftest.err >&5
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); } && {
35894 test -z "$ac_cxx_werror_flag" ||
35895 test ! -s conftest.err
35896 } && test -s conftest.$ac_objext; then
35897 wx_cv_cc_visibility=yes
35898 else
35899 echo "$as_me: failed program was:" >&5
35900 sed 's/^/| /' conftest.$ac_ext >&5
35901
35902 wx_cv_cc_visibility=no
35903 fi
35904
35905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35906 ac_ext=c
35907 ac_cpp='$CPP $CPPFLAGS'
35908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35911
35912 CXXFLAGS="$wx_save_CXXFLAGS"
35913 fi
35914
35915 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35916 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35917 if test $wx_cv_cc_visibility = yes; then
35918 cat >>confdefs.h <<\_ACEOF
35919 #define HAVE_VISIBILITY 1
35920 _ACEOF
35921
35922 else
35923 CFLAGS_VISIBILITY=""
35924 CXXFLAGS_VISIBILITY=""
35925 fi
35926
35927
35928 fi
35929
35930 fi
35931
35932 if test "x$SUNCXX" = xyes; then
35933 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35934 WXCONFIG_RPATH="-R\$libdir"
35935 else
35936 case "${host}" in
35937 *-*-linux* | *-*-gnu* )
35938 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35939 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35940 ;;
35941
35942 *-*-solaris2* )
35943
35944 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35945
35946 saveLdflags="$LDFLAGS"
35947 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35948 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35949 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35950 cat >conftest.$ac_ext <<_ACEOF
35951 /* confdefs.h. */
35952 _ACEOF
35953 cat confdefs.h >>conftest.$ac_ext
35954 cat >>conftest.$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35956
35957 int
35958 main ()
35959 {
35960
35961 ;
35962 return 0;
35963 }
35964 _ACEOF
35965 rm -f conftest.$ac_objext conftest$ac_exeext
35966 if { (ac_try="$ac_link"
35967 case "(($ac_try" in
35968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35969 *) ac_try_echo=$ac_try;;
35970 esac
35971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35972 (eval "$ac_link") 2>conftest.er1
35973 ac_status=$?
35974 grep -v '^ *+' conftest.er1 >conftest.err
35975 rm -f conftest.er1
35976 cat conftest.err >&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); } && {
35979 test -z "$ac_c_werror_flag" ||
35980 test ! -s conftest.err
35981 } && test -s conftest$ac_exeext &&
35982 $as_test_x conftest$ac_exeext; then
35983
35984 { echo "$as_me:$LINENO: result: yes" >&5
35985 echo "${ECHO_T}yes" >&6; }
35986 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35987 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35988
35989 else
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.$ac_ext >&5
35992
35993
35994 { echo "$as_me:$LINENO: result: no" >&5
35995 echo "${ECHO_T}no" >&6; }
35996 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35997 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35998 LDFLAGS="$saveLdflags -Wl,-R,/"
35999 cat >conftest.$ac_ext <<_ACEOF
36000 /* confdefs.h. */
36001 _ACEOF
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36005
36006 int
36007 main ()
36008 {
36009
36010 ;
36011 return 0;
36012 }
36013 _ACEOF
36014 rm -f conftest.$ac_objext conftest$ac_exeext
36015 if { (ac_try="$ac_link"
36016 case "(($ac_try" in
36017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36018 *) ac_try_echo=$ac_try;;
36019 esac
36020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36021 (eval "$ac_link") 2>conftest.er1
36022 ac_status=$?
36023 grep -v '^ *+' conftest.er1 >conftest.err
36024 rm -f conftest.er1
36025 cat conftest.err >&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } && {
36028 test -z "$ac_c_werror_flag" ||
36029 test ! -s conftest.err
36030 } && test -s conftest$ac_exeext &&
36031 $as_test_x conftest$ac_exeext; then
36032
36033 { echo "$as_me:$LINENO: result: yes" >&5
36034 echo "${ECHO_T}yes" >&6; }
36035 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36036 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36037
36038 else
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.$ac_ext >&5
36041
36042
36043 { echo "$as_me:$LINENO: result: no" >&5
36044 echo "${ECHO_T}no" >&6; }
36045
36046 fi
36047
36048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36049 conftest$ac_exeext conftest.$ac_ext
36050
36051 fi
36052
36053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36054 conftest$ac_exeext conftest.$ac_ext
36055 LDFLAGS="$saveLdflags"
36056 ;;
36057
36058 *-*-darwin* )
36059 install_name_tool=`which install_name_tool`
36060 if test "$install_name_tool" -a -x "$install_name_tool"; then
36061 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36062 cat <<EOF >change-install-names
36063 #!/bin/sh
36064 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36065 inst_cmd="install_name_tool "
36066 for i in \${libnames} ; do
36067 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36068 done
36069 \${inst_cmd} \${3}
36070 EOF
36071 chmod +x change-install-names
36072 fi
36073 ;;
36074
36075 *-*-cygwin* | *-*-mingw32* )
36076 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36077 ;;
36078
36079 *-*-hpux* )
36080 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36081 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36082 ;;
36083
36084 esac
36085 fi
36086
36087 if test $wxUSE_RPATH = "no"; then
36088 SAMPLES_RPATH_FLAG=''
36089 SAMPLES_RPATH_POSTLINK=''
36090 WXCONFIG_RPATH=''
36091 fi
36092
36093 SHARED=1
36094
36095 else
36096
36097 config_linkage_component="-static"
36098 SHARED=0
36099
36100 fi
36101
36102
36103 UNICODE=0
36104 lib_unicode_suffix=
36105 WX_CHARTYPE="ansi"
36106 if test "$wxUSE_UNICODE" = "yes"; then
36107 lib_unicode_suffix=u
36108 WX_CHARTYPE="unicode"
36109 UNICODE=1
36110 fi
36111
36112 lib_debug_suffix=
36113 WX_DEBUGTYPE="release"
36114 DEBUG_FLAG=0
36115 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36116 lib_debug_suffix=d
36117 WX_DEBUGTYPE="debug"
36118 DEBUG_FLAG=1
36119 fi
36120
36121 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36122 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36123
36124 DEBUG_INFO=0
36125 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36126 DEBUG_INFO=1
36127 fi
36128
36129 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36130
36131 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36132
36133 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36134
36135 if test "$cross_compiling" = "yes"; then
36136 HOST_SUFFIX="-$host_alias"
36137 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36138 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36139 fi
36140
36141 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36142 if test "${TOOLKIT_DIR}" = "os2"; then
36143 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36144 else
36145 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36146 fi
36147
36148
36149
36150 if test "$wxUSE_COCOA" = 1; then
36151
36152 ac_ext=c
36153 ac_cpp='$CPP $CPPFLAGS'
36154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36157
36158 ac_ext=m
36159
36160 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36161 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36162 cat >conftest.$ac_ext <<_ACEOF
36163 /* confdefs.h. */
36164 _ACEOF
36165 cat confdefs.h >>conftest.$ac_ext
36166 cat >>conftest.$ac_ext <<_ACEOF
36167 /* end confdefs.h. */
36168 #include <AppKit/NSEvent.h>
36169 #include <CoreFoundation/CoreFoundation.h>
36170
36171 int
36172 main ()
36173 {
36174
36175 ;
36176 return 0;
36177 }
36178 _ACEOF
36179 rm -f conftest.$ac_objext
36180 if { (ac_try="$ac_compile"
36181 case "(($ac_try" in
36182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36183 *) ac_try_echo=$ac_try;;
36184 esac
36185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36186 (eval "$ac_compile") 2>conftest.er1
36187 ac_status=$?
36188 grep -v '^ *+' conftest.er1 >conftest.err
36189 rm -f conftest.er1
36190 cat conftest.err >&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); } && {
36193 test -z "$ac_c_werror_flag" ||
36194 test ! -s conftest.err
36195 } && test -s conftest.$ac_objext; then
36196 { echo "$as_me:$LINENO: result: no" >&5
36197 echo "${ECHO_T}no" >&6; }
36198 else
36199 echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.$ac_ext >&5
36201
36202 { echo "$as_me:$LINENO: result: yes" >&5
36203 echo "${ECHO_T}yes" >&6; }
36204 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36205 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36206 cat >conftest.$ac_ext <<_ACEOF
36207 /* confdefs.h. */
36208 _ACEOF
36209 cat confdefs.h >>conftest.$ac_ext
36210 cat >>conftest.$ac_ext <<_ACEOF
36211 /* end confdefs.h. */
36212 #define __Point__ 1
36213 #include <AppKit/NSEvent.h>
36214 #include <CoreFoundation/CoreFoundation.h>
36215
36216 int
36217 main ()
36218 {
36219
36220 ;
36221 return 0;
36222 }
36223 _ACEOF
36224 rm -f conftest.$ac_objext
36225 if { (ac_try="$ac_compile"
36226 case "(($ac_try" in
36227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36228 *) ac_try_echo=$ac_try;;
36229 esac
36230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36231 (eval "$ac_compile") 2>conftest.er1
36232 ac_status=$?
36233 grep -v '^ *+' conftest.er1 >conftest.err
36234 rm -f conftest.er1
36235 cat conftest.err >&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); } && {
36238 test -z "$ac_c_werror_flag" ||
36239 test ! -s conftest.err
36240 } && test -s conftest.$ac_objext; then
36241 { echo "$as_me:$LINENO: result: yes" >&5
36242 echo "${ECHO_T}yes" >&6; }
36243 cat >>confdefs.h <<\_ACEOF
36244 #define __Point__ 1
36245 _ACEOF
36246
36247
36248 else
36249 echo "$as_me: failed program was:" >&5
36250 sed 's/^/| /' conftest.$ac_ext >&5
36251
36252 { { echo "$as_me:$LINENO: error: no
36253 See \`config.log' for more details." >&5
36254 echo "$as_me: error: no
36255 See \`config.log' for more details." >&2;}
36256 { (exit 1); exit 1; }; }
36257
36258 fi
36259
36260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36261
36262 fi
36263
36264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36265 ac_ext=c
36266 ac_cpp='$CPP $CPPFLAGS'
36267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36270
36271 fi
36272
36273 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36274 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36275 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36276
36277 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36278
36279 # Extract the first word of "Rez", so it can be a program name with args.
36280 set dummy Rez; ac_word=$2
36281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36283 if test "${ac_cv_prog_REZ+set}" = set; then
36284 echo $ECHO_N "(cached) $ECHO_C" >&6
36285 else
36286 if test -n "$REZ"; then
36287 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36288 else
36289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36290 for as_dir in $PATH
36291 do
36292 IFS=$as_save_IFS
36293 test -z "$as_dir" && as_dir=.
36294 for ac_exec_ext in '' $ac_executable_extensions; do
36295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36296 ac_cv_prog_REZ="Rez"
36297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36298 break 2
36299 fi
36300 done
36301 done
36302 IFS=$as_save_IFS
36303
36304 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36305 fi
36306 fi
36307 REZ=$ac_cv_prog_REZ
36308 if test -n "$REZ"; then
36309 { echo "$as_me:$LINENO: result: $REZ" >&5
36310 echo "${ECHO_T}$REZ" >&6; }
36311 else
36312 { echo "$as_me:$LINENO: result: no" >&5
36313 echo "${ECHO_T}no" >&6; }
36314 fi
36315
36316
36317 # Extract the first word of "DeRez", so it can be a program name with args.
36318 set dummy DeRez; ac_word=$2
36319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36321 if test "${ac_cv_prog_DEREZ+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36323 else
36324 if test -n "$DEREZ"; then
36325 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36326 else
36327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36328 for as_dir in $PATH
36329 do
36330 IFS=$as_save_IFS
36331 test -z "$as_dir" && as_dir=.
36332 for ac_exec_ext in '' $ac_executable_extensions; do
36333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36334 ac_cv_prog_DEREZ="DeRez"
36335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36336 break 2
36337 fi
36338 done
36339 done
36340 IFS=$as_save_IFS
36341
36342 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36343 fi
36344 fi
36345 DEREZ=$ac_cv_prog_DEREZ
36346 if test -n "$DEREZ"; then
36347 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36348 echo "${ECHO_T}$DEREZ" >&6; }
36349 else
36350 { echo "$as_me:$LINENO: result: no" >&5
36351 echo "${ECHO_T}no" >&6; }
36352 fi
36353
36354
36355 # Extract the first word of "SetFile", so it can be a program name with args.
36356 set dummy SetFile; ac_word=$2
36357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36359 if test "${ac_cv_prog_SETFILE+set}" = set; then
36360 echo $ECHO_N "(cached) $ECHO_C" >&6
36361 else
36362 if test -n "$SETFILE"; then
36363 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36364 else
36365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36366 for as_dir in $PATH
36367 do
36368 IFS=$as_save_IFS
36369 test -z "$as_dir" && as_dir=.
36370 for ac_exec_ext in '' $ac_executable_extensions; do
36371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36372 ac_cv_prog_SETFILE="SetFile"
36373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36374 break 2
36375 fi
36376 done
36377 done
36378 IFS=$as_save_IFS
36379
36380 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36381 fi
36382 fi
36383 SETFILE=$ac_cv_prog_SETFILE
36384 if test -n "$SETFILE"; then
36385 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36386 echo "${ECHO_T}$SETFILE" >&6; }
36387 else
36388 { echo "$as_me:$LINENO: result: no" >&5
36389 echo "${ECHO_T}no" >&6; }
36390 fi
36391
36392
36393
36394 MACSETFILE="\$(SETFILE)"
36395
36396 if test "$wxUSE_MAC" = 1; then
36397 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36398 RESCOMP="$REZ"
36399 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36400 else
36401 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36402 RESCOMP="echo -n \| $REZ"
36403 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36404 fi
36405
36406 else
36407 MACSETFILE="@true"
36408
36409 if test "$wxUSE_PM" = 1; then
36410 RESCOMP="emxbind"
36411 WXCONFIG_RESFLAGS="-ep"
36412
36413 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36414 else
36415 POSTLINK_COMMAND="@true"
36416 fi
36417
36418 fi
36419
36420
36421
36422 { echo "$as_me:$LINENO: checking for mode_t" >&5
36423 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36424 if test "${ac_cv_type_mode_t+set}" = set; then
36425 echo $ECHO_N "(cached) $ECHO_C" >&6
36426 else
36427 cat >conftest.$ac_ext <<_ACEOF
36428 /* confdefs.h. */
36429 _ACEOF
36430 cat confdefs.h >>conftest.$ac_ext
36431 cat >>conftest.$ac_ext <<_ACEOF
36432 /* end confdefs.h. */
36433 $ac_includes_default
36434 typedef mode_t ac__type_new_;
36435 int
36436 main ()
36437 {
36438 if ((ac__type_new_ *) 0)
36439 return 0;
36440 if (sizeof (ac__type_new_))
36441 return 0;
36442 ;
36443 return 0;
36444 }
36445 _ACEOF
36446 rm -f conftest.$ac_objext
36447 if { (ac_try="$ac_compile"
36448 case "(($ac_try" in
36449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36450 *) ac_try_echo=$ac_try;;
36451 esac
36452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36453 (eval "$ac_compile") 2>conftest.er1
36454 ac_status=$?
36455 grep -v '^ *+' conftest.er1 >conftest.err
36456 rm -f conftest.er1
36457 cat conftest.err >&5
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); } && {
36460 test -z "$ac_c_werror_flag" ||
36461 test ! -s conftest.err
36462 } && test -s conftest.$ac_objext; then
36463 ac_cv_type_mode_t=yes
36464 else
36465 echo "$as_me: failed program was:" >&5
36466 sed 's/^/| /' conftest.$ac_ext >&5
36467
36468 ac_cv_type_mode_t=no
36469 fi
36470
36471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36472 fi
36473 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36474 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36475 if test $ac_cv_type_mode_t = yes; then
36476 :
36477 else
36478
36479 cat >>confdefs.h <<_ACEOF
36480 #define mode_t int
36481 _ACEOF
36482
36483 fi
36484
36485 { echo "$as_me:$LINENO: checking for off_t" >&5
36486 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36487 if test "${ac_cv_type_off_t+set}" = set; then
36488 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 else
36490 cat >conftest.$ac_ext <<_ACEOF
36491 /* confdefs.h. */
36492 _ACEOF
36493 cat confdefs.h >>conftest.$ac_ext
36494 cat >>conftest.$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 $ac_includes_default
36497 typedef off_t ac__type_new_;
36498 int
36499 main ()
36500 {
36501 if ((ac__type_new_ *) 0)
36502 return 0;
36503 if (sizeof (ac__type_new_))
36504 return 0;
36505 ;
36506 return 0;
36507 }
36508 _ACEOF
36509 rm -f conftest.$ac_objext
36510 if { (ac_try="$ac_compile"
36511 case "(($ac_try" in
36512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36513 *) ac_try_echo=$ac_try;;
36514 esac
36515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36516 (eval "$ac_compile") 2>conftest.er1
36517 ac_status=$?
36518 grep -v '^ *+' conftest.er1 >conftest.err
36519 rm -f conftest.er1
36520 cat conftest.err >&5
36521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522 (exit $ac_status); } && {
36523 test -z "$ac_c_werror_flag" ||
36524 test ! -s conftest.err
36525 } && test -s conftest.$ac_objext; then
36526 ac_cv_type_off_t=yes
36527 else
36528 echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.$ac_ext >&5
36530
36531 ac_cv_type_off_t=no
36532 fi
36533
36534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36535 fi
36536 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36537 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36538 if test $ac_cv_type_off_t = yes; then
36539 :
36540 else
36541
36542 cat >>confdefs.h <<_ACEOF
36543 #define off_t long int
36544 _ACEOF
36545
36546 fi
36547
36548 { echo "$as_me:$LINENO: checking for pid_t" >&5
36549 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36550 if test "${ac_cv_type_pid_t+set}" = set; then
36551 echo $ECHO_N "(cached) $ECHO_C" >&6
36552 else
36553 cat >conftest.$ac_ext <<_ACEOF
36554 /* confdefs.h. */
36555 _ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559 $ac_includes_default
36560 typedef pid_t ac__type_new_;
36561 int
36562 main ()
36563 {
36564 if ((ac__type_new_ *) 0)
36565 return 0;
36566 if (sizeof (ac__type_new_))
36567 return 0;
36568 ;
36569 return 0;
36570 }
36571 _ACEOF
36572 rm -f conftest.$ac_objext
36573 if { (ac_try="$ac_compile"
36574 case "(($ac_try" in
36575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36576 *) ac_try_echo=$ac_try;;
36577 esac
36578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36579 (eval "$ac_compile") 2>conftest.er1
36580 ac_status=$?
36581 grep -v '^ *+' conftest.er1 >conftest.err
36582 rm -f conftest.er1
36583 cat conftest.err >&5
36584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 (exit $ac_status); } && {
36586 test -z "$ac_c_werror_flag" ||
36587 test ! -s conftest.err
36588 } && test -s conftest.$ac_objext; then
36589 ac_cv_type_pid_t=yes
36590 else
36591 echo "$as_me: failed program was:" >&5
36592 sed 's/^/| /' conftest.$ac_ext >&5
36593
36594 ac_cv_type_pid_t=no
36595 fi
36596
36597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36598 fi
36599 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36600 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36601 if test $ac_cv_type_pid_t = yes; then
36602 :
36603 else
36604
36605 cat >>confdefs.h <<_ACEOF
36606 #define pid_t int
36607 _ACEOF
36608
36609 fi
36610
36611 { echo "$as_me:$LINENO: checking for size_t" >&5
36612 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36613 if test "${ac_cv_type_size_t+set}" = set; then
36614 echo $ECHO_N "(cached) $ECHO_C" >&6
36615 else
36616 cat >conftest.$ac_ext <<_ACEOF
36617 /* confdefs.h. */
36618 _ACEOF
36619 cat confdefs.h >>conftest.$ac_ext
36620 cat >>conftest.$ac_ext <<_ACEOF
36621 /* end confdefs.h. */
36622 $ac_includes_default
36623 typedef size_t ac__type_new_;
36624 int
36625 main ()
36626 {
36627 if ((ac__type_new_ *) 0)
36628 return 0;
36629 if (sizeof (ac__type_new_))
36630 return 0;
36631 ;
36632 return 0;
36633 }
36634 _ACEOF
36635 rm -f conftest.$ac_objext
36636 if { (ac_try="$ac_compile"
36637 case "(($ac_try" in
36638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36639 *) ac_try_echo=$ac_try;;
36640 esac
36641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_compile") 2>conftest.er1
36643 ac_status=$?
36644 grep -v '^ *+' conftest.er1 >conftest.err
36645 rm -f conftest.er1
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_c_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest.$ac_objext; then
36652 ac_cv_type_size_t=yes
36653 else
36654 echo "$as_me: failed program was:" >&5
36655 sed 's/^/| /' conftest.$ac_ext >&5
36656
36657 ac_cv_type_size_t=no
36658 fi
36659
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36661 fi
36662 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36663 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36664 if test $ac_cv_type_size_t = yes; then
36665 :
36666 else
36667
36668 cat >>confdefs.h <<_ACEOF
36669 #define size_t unsigned int
36670 _ACEOF
36671
36672 fi
36673
36674 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36675 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36676 if test "${ac_cv_type_uid_t+set}" = set; then
36677 echo $ECHO_N "(cached) $ECHO_C" >&6
36678 else
36679 cat >conftest.$ac_ext <<_ACEOF
36680 /* confdefs.h. */
36681 _ACEOF
36682 cat confdefs.h >>conftest.$ac_ext
36683 cat >>conftest.$ac_ext <<_ACEOF
36684 /* end confdefs.h. */
36685 #include <sys/types.h>
36686
36687 _ACEOF
36688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36689 $EGREP "uid_t" >/dev/null 2>&1; then
36690 ac_cv_type_uid_t=yes
36691 else
36692 ac_cv_type_uid_t=no
36693 fi
36694 rm -f conftest*
36695
36696 fi
36697 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36698 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36699 if test $ac_cv_type_uid_t = no; then
36700
36701 cat >>confdefs.h <<\_ACEOF
36702 #define uid_t int
36703 _ACEOF
36704
36705
36706 cat >>confdefs.h <<\_ACEOF
36707 #define gid_t int
36708 _ACEOF
36709
36710 fi
36711
36712
36713 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36714 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36715 if test "${ac_cv_type_ssize_t+set}" = set; then
36716 echo $ECHO_N "(cached) $ECHO_C" >&6
36717 else
36718 cat >conftest.$ac_ext <<_ACEOF
36719 /* confdefs.h. */
36720 _ACEOF
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h. */
36724 $ac_includes_default
36725 typedef ssize_t ac__type_new_;
36726 int
36727 main ()
36728 {
36729 if ((ac__type_new_ *) 0)
36730 return 0;
36731 if (sizeof (ac__type_new_))
36732 return 0;
36733 ;
36734 return 0;
36735 }
36736 _ACEOF
36737 rm -f conftest.$ac_objext
36738 if { (ac_try="$ac_compile"
36739 case "(($ac_try" in
36740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36741 *) ac_try_echo=$ac_try;;
36742 esac
36743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36744 (eval "$ac_compile") 2>conftest.er1
36745 ac_status=$?
36746 grep -v '^ *+' conftest.er1 >conftest.err
36747 rm -f conftest.er1
36748 cat conftest.err >&5
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); } && {
36751 test -z "$ac_c_werror_flag" ||
36752 test ! -s conftest.err
36753 } && test -s conftest.$ac_objext; then
36754 ac_cv_type_ssize_t=yes
36755 else
36756 echo "$as_me: failed program was:" >&5
36757 sed 's/^/| /' conftest.$ac_ext >&5
36758
36759 ac_cv_type_ssize_t=no
36760 fi
36761
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36763 fi
36764 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36765 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36766 if test $ac_cv_type_ssize_t = yes; then
36767
36768 cat >>confdefs.h <<_ACEOF
36769 #define HAVE_SSIZE_T 1
36770 _ACEOF
36771
36772
36773 fi
36774
36775
36776 ac_ext=cpp
36777 ac_cpp='$CXXCPP $CPPFLAGS'
36778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36781 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36782 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36783 if test "${wx_cv_size_t_is_uint+set}" = set; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36785 else
36786
36787 cat >conftest.$ac_ext <<_ACEOF
36788 /* confdefs.h. */
36789 _ACEOF
36790 cat confdefs.h >>conftest.$ac_ext
36791 cat >>conftest.$ac_ext <<_ACEOF
36792 /* end confdefs.h. */
36793 #include <stddef.h>
36794 int
36795 main ()
36796 {
36797
36798 return 0; }
36799
36800 struct Foo { void foo(size_t); void foo(unsigned int); };
36801
36802 int bar() {
36803
36804 ;
36805 return 0;
36806 }
36807 _ACEOF
36808 rm -f conftest.$ac_objext
36809 if { (ac_try="$ac_compile"
36810 case "(($ac_try" in
36811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36812 *) ac_try_echo=$ac_try;;
36813 esac
36814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36815 (eval "$ac_compile") 2>conftest.er1
36816 ac_status=$?
36817 grep -v '^ *+' conftest.er1 >conftest.err
36818 rm -f conftest.er1
36819 cat conftest.err >&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); } && {
36822 test -z "$ac_cxx_werror_flag" ||
36823 test ! -s conftest.err
36824 } && test -s conftest.$ac_objext; then
36825 wx_cv_size_t_is_uint=no
36826 else
36827 echo "$as_me: failed program was:" >&5
36828 sed 's/^/| /' conftest.$ac_ext >&5
36829
36830 wx_cv_size_t_is_uint=yes
36831
36832 fi
36833
36834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36835
36836
36837 fi
36838 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36839 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36840
36841 if test "$wx_cv_size_t_is_uint" = "yes"; then
36842 cat >>confdefs.h <<\_ACEOF
36843 #define wxSIZE_T_IS_UINT 1
36844 _ACEOF
36845
36846 else
36847 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36848 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36849 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36850 echo $ECHO_N "(cached) $ECHO_C" >&6
36851 else
36852 cat >conftest.$ac_ext <<_ACEOF
36853 /* confdefs.h. */
36854 _ACEOF
36855 cat confdefs.h >>conftest.$ac_ext
36856 cat >>conftest.$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 #include <stddef.h>
36859 int
36860 main ()
36861 {
36862
36863 return 0; }
36864
36865 struct Foo { void foo(size_t); void foo(unsigned long); };
36866
36867 int bar() {
36868
36869 ;
36870 return 0;
36871 }
36872 _ACEOF
36873 rm -f conftest.$ac_objext
36874 if { (ac_try="$ac_compile"
36875 case "(($ac_try" in
36876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36877 *) ac_try_echo=$ac_try;;
36878 esac
36879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36880 (eval "$ac_compile") 2>conftest.er1
36881 ac_status=$?
36882 grep -v '^ *+' conftest.er1 >conftest.err
36883 rm -f conftest.er1
36884 cat conftest.err >&5
36885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36886 (exit $ac_status); } && {
36887 test -z "$ac_cxx_werror_flag" ||
36888 test ! -s conftest.err
36889 } && test -s conftest.$ac_objext; then
36890 wx_cv_size_t_is_ulong=no
36891 else
36892 echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36894
36895 wx_cv_size_t_is_ulong=yes
36896
36897 fi
36898
36899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36900
36901 fi
36902 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36903 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36904
36905 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define wxSIZE_T_IS_ULONG 1
36908 _ACEOF
36909
36910 fi
36911 fi
36912
36913 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36914 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36915 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36916 echo $ECHO_N "(cached) $ECHO_C" >&6
36917 else
36918 cat >conftest.$ac_ext <<_ACEOF
36919 /* confdefs.h. */
36920 _ACEOF
36921 cat confdefs.h >>conftest.$ac_ext
36922 cat >>conftest.$ac_ext <<_ACEOF
36923 /* end confdefs.h. */
36924 #include <wchar.h>
36925 int
36926 main ()
36927 {
36928
36929 return 0; }
36930
36931 struct Foo { void foo(wchar_t);
36932 void foo(unsigned short);
36933 void foo(unsigned int);
36934 void foo(unsigned long); };
36935
36936 int bar() {
36937
36938 ;
36939 return 0;
36940 }
36941 _ACEOF
36942 rm -f conftest.$ac_objext
36943 if { (ac_try="$ac_compile"
36944 case "(($ac_try" in
36945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36946 *) ac_try_echo=$ac_try;;
36947 esac
36948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36949 (eval "$ac_compile") 2>conftest.er1
36950 ac_status=$?
36951 grep -v '^ *+' conftest.er1 >conftest.err
36952 rm -f conftest.er1
36953 cat conftest.err >&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } && {
36956 test -z "$ac_cxx_werror_flag" ||
36957 test ! -s conftest.err
36958 } && test -s conftest.$ac_objext; then
36959 wx_cv_wchar_t_is_separate_type=yes
36960 else
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964 wx_cv_wchar_t_is_separate_type=no
36965
36966 fi
36967
36968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36969
36970 fi
36971 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36972 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36973
36974 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36975 cat >>confdefs.h <<\_ACEOF
36976 #define wxWCHAR_T_IS_REAL_TYPE 1
36977 _ACEOF
36978
36979 else
36980 cat >>confdefs.h <<\_ACEOF
36981 #define wxWCHAR_T_IS_REAL_TYPE 0
36982 _ACEOF
36983
36984 fi
36985
36986 ac_ext=c
36987 ac_cpp='$CPP $CPPFLAGS'
36988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36991
36992
36993 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36994 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36995 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36996 echo $ECHO_N "(cached) $ECHO_C" >&6
36997 else
36998
36999 cat >conftest.$ac_ext <<_ACEOF
37000 /* confdefs.h. */
37001 _ACEOF
37002 cat confdefs.h >>conftest.$ac_ext
37003 cat >>conftest.$ac_ext <<_ACEOF
37004 /* end confdefs.h. */
37005 #include <pwd.h>
37006 int
37007 main ()
37008 {
37009
37010 char *p;
37011 struct passwd *pw;
37012 p = pw->pw_gecos;
37013
37014 ;
37015 return 0;
37016 }
37017 _ACEOF
37018 rm -f conftest.$ac_objext
37019 if { (ac_try="$ac_compile"
37020 case "(($ac_try" in
37021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37022 *) ac_try_echo=$ac_try;;
37023 esac
37024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37025 (eval "$ac_compile") 2>conftest.er1
37026 ac_status=$?
37027 grep -v '^ *+' conftest.er1 >conftest.err
37028 rm -f conftest.er1
37029 cat conftest.err >&5
37030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37031 (exit $ac_status); } && {
37032 test -z "$ac_c_werror_flag" ||
37033 test ! -s conftest.err
37034 } && test -s conftest.$ac_objext; then
37035
37036 wx_cv_struct_pw_gecos=yes
37037
37038 else
37039 echo "$as_me: failed program was:" >&5
37040 sed 's/^/| /' conftest.$ac_ext >&5
37041
37042
37043 wx_cv_struct_pw_gecos=no
37044
37045
37046 fi
37047
37048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37049
37050
37051 fi
37052 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37053 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37054
37055 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37056 cat >>confdefs.h <<\_ACEOF
37057 #define HAVE_PW_GECOS 1
37058 _ACEOF
37059
37060 fi
37061
37062
37063 if test "$wxUSE_WCHAR_T" = "yes"; then
37064 cat >>confdefs.h <<\_ACEOF
37065 #define wxUSE_WCHAR_T 1
37066 _ACEOF
37067
37068
37069 WCSLEN_FOUND=0
37070 WCHAR_LINK=
37071
37072 for ac_func in wcslen
37073 do
37074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37075 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37077 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37079 else
37080 cat >conftest.$ac_ext <<_ACEOF
37081 /* confdefs.h. */
37082 _ACEOF
37083 cat confdefs.h >>conftest.$ac_ext
37084 cat >>conftest.$ac_ext <<_ACEOF
37085 /* end confdefs.h. */
37086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37088 #define $ac_func innocuous_$ac_func
37089
37090 /* System header to define __stub macros and hopefully few prototypes,
37091 which can conflict with char $ac_func (); below.
37092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37093 <limits.h> exists even on freestanding compilers. */
37094
37095 #ifdef __STDC__
37096 # include <limits.h>
37097 #else
37098 # include <assert.h>
37099 #endif
37100
37101 #undef $ac_func
37102
37103 /* Override any GCC internal prototype to avoid an error.
37104 Use char because int might match the return type of a GCC
37105 builtin and then its argument prototype would still apply. */
37106 #ifdef __cplusplus
37107 extern "C"
37108 #endif
37109 char $ac_func ();
37110 /* The GNU C library defines this for functions which it implements
37111 to always fail with ENOSYS. Some functions are actually named
37112 something starting with __ and the normal name is an alias. */
37113 #if defined __stub_$ac_func || defined __stub___$ac_func
37114 choke me
37115 #endif
37116
37117 int
37118 main ()
37119 {
37120 return $ac_func ();
37121 ;
37122 return 0;
37123 }
37124 _ACEOF
37125 rm -f conftest.$ac_objext conftest$ac_exeext
37126 if { (ac_try="$ac_link"
37127 case "(($ac_try" in
37128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37129 *) ac_try_echo=$ac_try;;
37130 esac
37131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37132 (eval "$ac_link") 2>conftest.er1
37133 ac_status=$?
37134 grep -v '^ *+' conftest.er1 >conftest.err
37135 rm -f conftest.er1
37136 cat conftest.err >&5
37137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37138 (exit $ac_status); } && {
37139 test -z "$ac_c_werror_flag" ||
37140 test ! -s conftest.err
37141 } && test -s conftest$ac_exeext &&
37142 $as_test_x conftest$ac_exeext; then
37143 eval "$as_ac_var=yes"
37144 else
37145 echo "$as_me: failed program was:" >&5
37146 sed 's/^/| /' conftest.$ac_ext >&5
37147
37148 eval "$as_ac_var=no"
37149 fi
37150
37151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37152 conftest$ac_exeext conftest.$ac_ext
37153 fi
37154 ac_res=`eval echo '${'$as_ac_var'}'`
37155 { echo "$as_me:$LINENO: result: $ac_res" >&5
37156 echo "${ECHO_T}$ac_res" >&6; }
37157 if test `eval echo '${'$as_ac_var'}'` = yes; then
37158 cat >>confdefs.h <<_ACEOF
37159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37160 _ACEOF
37161 WCSLEN_FOUND=1
37162 fi
37163 done
37164
37165
37166 if test "$WCSLEN_FOUND" = 0; then
37167 if test "$TOOLKIT" = "MSW"; then
37168 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37169 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37170 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37171 echo $ECHO_N "(cached) $ECHO_C" >&6
37172 else
37173 ac_check_lib_save_LIBS=$LIBS
37174 LIBS="-lmsvcrt $LIBS"
37175 cat >conftest.$ac_ext <<_ACEOF
37176 /* confdefs.h. */
37177 _ACEOF
37178 cat confdefs.h >>conftest.$ac_ext
37179 cat >>conftest.$ac_ext <<_ACEOF
37180 /* end confdefs.h. */
37181
37182 /* Override any GCC internal prototype to avoid an error.
37183 Use char because int might match the return type of a GCC
37184 builtin and then its argument prototype would still apply. */
37185 #ifdef __cplusplus
37186 extern "C"
37187 #endif
37188 char wcslen ();
37189 int
37190 main ()
37191 {
37192 return wcslen ();
37193 ;
37194 return 0;
37195 }
37196 _ACEOF
37197 rm -f conftest.$ac_objext conftest$ac_exeext
37198 if { (ac_try="$ac_link"
37199 case "(($ac_try" in
37200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37201 *) ac_try_echo=$ac_try;;
37202 esac
37203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37204 (eval "$ac_link") 2>conftest.er1
37205 ac_status=$?
37206 grep -v '^ *+' conftest.er1 >conftest.err
37207 rm -f conftest.er1
37208 cat conftest.err >&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); } && {
37211 test -z "$ac_c_werror_flag" ||
37212 test ! -s conftest.err
37213 } && test -s conftest$ac_exeext &&
37214 $as_test_x conftest$ac_exeext; then
37215 ac_cv_lib_msvcrt_wcslen=yes
37216 else
37217 echo "$as_me: failed program was:" >&5
37218 sed 's/^/| /' conftest.$ac_ext >&5
37219
37220 ac_cv_lib_msvcrt_wcslen=no
37221 fi
37222
37223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37224 conftest$ac_exeext conftest.$ac_ext
37225 LIBS=$ac_check_lib_save_LIBS
37226 fi
37227 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37228 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37229 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37230 WCHAR_OK=1
37231 fi
37232
37233 else
37234 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37235 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37236 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37237 echo $ECHO_N "(cached) $ECHO_C" >&6
37238 else
37239 ac_check_lib_save_LIBS=$LIBS
37240 LIBS="-lw $LIBS"
37241 cat >conftest.$ac_ext <<_ACEOF
37242 /* confdefs.h. */
37243 _ACEOF
37244 cat confdefs.h >>conftest.$ac_ext
37245 cat >>conftest.$ac_ext <<_ACEOF
37246 /* end confdefs.h. */
37247
37248 /* Override any GCC internal prototype to avoid an error.
37249 Use char because int might match the return type of a GCC
37250 builtin and then its argument prototype would still apply. */
37251 #ifdef __cplusplus
37252 extern "C"
37253 #endif
37254 char wcslen ();
37255 int
37256 main ()
37257 {
37258 return wcslen ();
37259 ;
37260 return 0;
37261 }
37262 _ACEOF
37263 rm -f conftest.$ac_objext conftest$ac_exeext
37264 if { (ac_try="$ac_link"
37265 case "(($ac_try" in
37266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37267 *) ac_try_echo=$ac_try;;
37268 esac
37269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37270 (eval "$ac_link") 2>conftest.er1
37271 ac_status=$?
37272 grep -v '^ *+' conftest.er1 >conftest.err
37273 rm -f conftest.er1
37274 cat conftest.err >&5
37275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37276 (exit $ac_status); } && {
37277 test -z "$ac_c_werror_flag" ||
37278 test ! -s conftest.err
37279 } && test -s conftest$ac_exeext &&
37280 $as_test_x conftest$ac_exeext; then
37281 ac_cv_lib_w_wcslen=yes
37282 else
37283 echo "$as_me: failed program was:" >&5
37284 sed 's/^/| /' conftest.$ac_ext >&5
37285
37286 ac_cv_lib_w_wcslen=no
37287 fi
37288
37289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37290 conftest$ac_exeext conftest.$ac_ext
37291 LIBS=$ac_check_lib_save_LIBS
37292 fi
37293 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37294 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37295 if test $ac_cv_lib_w_wcslen = yes; then
37296
37297 WCHAR_LINK=" -lw"
37298 WCSLEN_FOUND=1
37299
37300 fi
37301
37302 fi
37303 fi
37304
37305 if test "$WCSLEN_FOUND" = 1; then
37306 cat >>confdefs.h <<\_ACEOF
37307 #define HAVE_WCSLEN 1
37308 _ACEOF
37309
37310 fi
37311
37312
37313 for ac_func in wcsdup
37314 do
37315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37319 echo $ECHO_N "(cached) $ECHO_C" >&6
37320 else
37321 cat >conftest.$ac_ext <<_ACEOF
37322 /* confdefs.h. */
37323 _ACEOF
37324 cat confdefs.h >>conftest.$ac_ext
37325 cat >>conftest.$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37329 #define $ac_func innocuous_$ac_func
37330
37331 /* System header to define __stub macros and hopefully few prototypes,
37332 which can conflict with char $ac_func (); below.
37333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37334 <limits.h> exists even on freestanding compilers. */
37335
37336 #ifdef __STDC__
37337 # include <limits.h>
37338 #else
37339 # include <assert.h>
37340 #endif
37341
37342 #undef $ac_func
37343
37344 /* Override any GCC internal prototype to avoid an error.
37345 Use char because int might match the return type of a GCC
37346 builtin and then its argument prototype would still apply. */
37347 #ifdef __cplusplus
37348 extern "C"
37349 #endif
37350 char $ac_func ();
37351 /* The GNU C library defines this for functions which it implements
37352 to always fail with ENOSYS. Some functions are actually named
37353 something starting with __ and the normal name is an alias. */
37354 #if defined __stub_$ac_func || defined __stub___$ac_func
37355 choke me
37356 #endif
37357
37358 int
37359 main ()
37360 {
37361 return $ac_func ();
37362 ;
37363 return 0;
37364 }
37365 _ACEOF
37366 rm -f conftest.$ac_objext conftest$ac_exeext
37367 if { (ac_try="$ac_link"
37368 case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37371 esac
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_link") 2>conftest.er1
37374 ac_status=$?
37375 grep -v '^ *+' conftest.er1 >conftest.err
37376 rm -f conftest.er1
37377 cat conftest.err >&5
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); } && {
37380 test -z "$ac_c_werror_flag" ||
37381 test ! -s conftest.err
37382 } && test -s conftest$ac_exeext &&
37383 $as_test_x conftest$ac_exeext; then
37384 eval "$as_ac_var=yes"
37385 else
37386 echo "$as_me: failed program was:" >&5
37387 sed 's/^/| /' conftest.$ac_ext >&5
37388
37389 eval "$as_ac_var=no"
37390 fi
37391
37392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37393 conftest$ac_exeext conftest.$ac_ext
37394 fi
37395 ac_res=`eval echo '${'$as_ac_var'}'`
37396 { echo "$as_me:$LINENO: result: $ac_res" >&5
37397 echo "${ECHO_T}$ac_res" >&6; }
37398 if test `eval echo '${'$as_ac_var'}'` = yes; then
37399 cat >>confdefs.h <<_ACEOF
37400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37401 _ACEOF
37402
37403 fi
37404 done
37405
37406
37407 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37408 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37409 fi
37410
37411 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37412 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37413 if test "${ac_cv_type_mbstate_t+set}" = set; then
37414 echo $ECHO_N "(cached) $ECHO_C" >&6
37415 else
37416 cat >conftest.$ac_ext <<_ACEOF
37417 /* confdefs.h. */
37418 _ACEOF
37419 cat confdefs.h >>conftest.$ac_ext
37420 cat >>conftest.$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37422 #include <wchar.h>
37423
37424 typedef mbstate_t ac__type_new_;
37425 int
37426 main ()
37427 {
37428 if ((ac__type_new_ *) 0)
37429 return 0;
37430 if (sizeof (ac__type_new_))
37431 return 0;
37432 ;
37433 return 0;
37434 }
37435 _ACEOF
37436 rm -f conftest.$ac_objext
37437 if { (ac_try="$ac_compile"
37438 case "(($ac_try" in
37439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37440 *) ac_try_echo=$ac_try;;
37441 esac
37442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37443 (eval "$ac_compile") 2>conftest.er1
37444 ac_status=$?
37445 grep -v '^ *+' conftest.er1 >conftest.err
37446 rm -f conftest.er1
37447 cat conftest.err >&5
37448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37449 (exit $ac_status); } && {
37450 test -z "$ac_c_werror_flag" ||
37451 test ! -s conftest.err
37452 } && test -s conftest.$ac_objext; then
37453 ac_cv_type_mbstate_t=yes
37454 else
37455 echo "$as_me: failed program was:" >&5
37456 sed 's/^/| /' conftest.$ac_ext >&5
37457
37458 ac_cv_type_mbstate_t=no
37459 fi
37460
37461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37462 fi
37463 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37464 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37465 if test $ac_cv_type_mbstate_t = yes; then
37466
37467 cat >>confdefs.h <<_ACEOF
37468 #define HAVE_MBSTATE_T 1
37469 _ACEOF
37470
37471
37472 for ac_func in wcsrtombs
37473 do
37474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37478 echo $ECHO_N "(cached) $ECHO_C" >&6
37479 else
37480 cat >conftest.$ac_ext <<_ACEOF
37481 /* confdefs.h. */
37482 _ACEOF
37483 cat confdefs.h >>conftest.$ac_ext
37484 cat >>conftest.$ac_ext <<_ACEOF
37485 /* end confdefs.h. */
37486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37488 #define $ac_func innocuous_$ac_func
37489
37490 /* System header to define __stub macros and hopefully few prototypes,
37491 which can conflict with char $ac_func (); below.
37492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37493 <limits.h> exists even on freestanding compilers. */
37494
37495 #ifdef __STDC__
37496 # include <limits.h>
37497 #else
37498 # include <assert.h>
37499 #endif
37500
37501 #undef $ac_func
37502
37503 /* Override any GCC internal prototype to avoid an error.
37504 Use char because int might match the return type of a GCC
37505 builtin and then its argument prototype would still apply. */
37506 #ifdef __cplusplus
37507 extern "C"
37508 #endif
37509 char $ac_func ();
37510 /* The GNU C library defines this for functions which it implements
37511 to always fail with ENOSYS. Some functions are actually named
37512 something starting with __ and the normal name is an alias. */
37513 #if defined __stub_$ac_func || defined __stub___$ac_func
37514 choke me
37515 #endif
37516
37517 int
37518 main ()
37519 {
37520 return $ac_func ();
37521 ;
37522 return 0;
37523 }
37524 _ACEOF
37525 rm -f conftest.$ac_objext conftest$ac_exeext
37526 if { (ac_try="$ac_link"
37527 case "(($ac_try" in
37528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37529 *) ac_try_echo=$ac_try;;
37530 esac
37531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37532 (eval "$ac_link") 2>conftest.er1
37533 ac_status=$?
37534 grep -v '^ *+' conftest.er1 >conftest.err
37535 rm -f conftest.er1
37536 cat conftest.err >&5
37537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538 (exit $ac_status); } && {
37539 test -z "$ac_c_werror_flag" ||
37540 test ! -s conftest.err
37541 } && test -s conftest$ac_exeext &&
37542 $as_test_x conftest$ac_exeext; then
37543 eval "$as_ac_var=yes"
37544 else
37545 echo "$as_me: failed program was:" >&5
37546 sed 's/^/| /' conftest.$ac_ext >&5
37547
37548 eval "$as_ac_var=no"
37549 fi
37550
37551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37552 conftest$ac_exeext conftest.$ac_ext
37553 fi
37554 ac_res=`eval echo '${'$as_ac_var'}'`
37555 { echo "$as_me:$LINENO: result: $ac_res" >&5
37556 echo "${ECHO_T}$ac_res" >&6; }
37557 if test `eval echo '${'$as_ac_var'}'` = yes; then
37558 cat >>confdefs.h <<_ACEOF
37559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37560 _ACEOF
37561
37562 fi
37563 done
37564
37565 fi
37566
37567 else
37568 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37569 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37570 fi
37571
37572
37573
37574 for ac_func in snprintf vsnprintf
37575 do
37576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37577 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37579 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37580 echo $ECHO_N "(cached) $ECHO_C" >&6
37581 else
37582 cat >conftest.$ac_ext <<_ACEOF
37583 /* confdefs.h. */
37584 _ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37590 #define $ac_func innocuous_$ac_func
37591
37592 /* System header to define __stub macros and hopefully few prototypes,
37593 which can conflict with char $ac_func (); below.
37594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37595 <limits.h> exists even on freestanding compilers. */
37596
37597 #ifdef __STDC__
37598 # include <limits.h>
37599 #else
37600 # include <assert.h>
37601 #endif
37602
37603 #undef $ac_func
37604
37605 /* Override any GCC internal prototype to avoid an error.
37606 Use char because int might match the return type of a GCC
37607 builtin and then its argument prototype would still apply. */
37608 #ifdef __cplusplus
37609 extern "C"
37610 #endif
37611 char $ac_func ();
37612 /* The GNU C library defines this for functions which it implements
37613 to always fail with ENOSYS. Some functions are actually named
37614 something starting with __ and the normal name is an alias. */
37615 #if defined __stub_$ac_func || defined __stub___$ac_func
37616 choke me
37617 #endif
37618
37619 int
37620 main ()
37621 {
37622 return $ac_func ();
37623 ;
37624 return 0;
37625 }
37626 _ACEOF
37627 rm -f conftest.$ac_objext conftest$ac_exeext
37628 if { (ac_try="$ac_link"
37629 case "(($ac_try" in
37630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37631 *) ac_try_echo=$ac_try;;
37632 esac
37633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37634 (eval "$ac_link") 2>conftest.er1
37635 ac_status=$?
37636 grep -v '^ *+' conftest.er1 >conftest.err
37637 rm -f conftest.er1
37638 cat conftest.err >&5
37639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37640 (exit $ac_status); } && {
37641 test -z "$ac_c_werror_flag" ||
37642 test ! -s conftest.err
37643 } && test -s conftest$ac_exeext &&
37644 $as_test_x conftest$ac_exeext; then
37645 eval "$as_ac_var=yes"
37646 else
37647 echo "$as_me: failed program was:" >&5
37648 sed 's/^/| /' conftest.$ac_ext >&5
37649
37650 eval "$as_ac_var=no"
37651 fi
37652
37653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37654 conftest$ac_exeext conftest.$ac_ext
37655 fi
37656 ac_res=`eval echo '${'$as_ac_var'}'`
37657 { echo "$as_me:$LINENO: result: $ac_res" >&5
37658 echo "${ECHO_T}$ac_res" >&6; }
37659 if test `eval echo '${'$as_ac_var'}'` = yes; then
37660 cat >>confdefs.h <<_ACEOF
37661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37662 _ACEOF
37663
37664 fi
37665 done
37666
37667
37668 if test "$ac_cv_func_vsnprintf" = "yes"; then
37669 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37670 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37671 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37672 echo $ECHO_N "(cached) $ECHO_C" >&6
37673 else
37674
37675 cat >conftest.$ac_ext <<_ACEOF
37676 /* confdefs.h. */
37677 _ACEOF
37678 cat confdefs.h >>conftest.$ac_ext
37679 cat >>conftest.$ac_ext <<_ACEOF
37680 /* end confdefs.h. */
37681
37682 #include <stdio.h>
37683 #include <stdarg.h>
37684 #ifdef __MSL__
37685 #if __MSL__ >= 0x6000
37686 namespace std {}
37687 using namespace std;
37688 #endif
37689 #endif
37690
37691 int
37692 main ()
37693 {
37694
37695 char *buf;
37696 va_list ap;
37697 vsnprintf(buf, 10u, "%s", ap);
37698
37699 ;
37700 return 0;
37701 }
37702 _ACEOF
37703 rm -f conftest.$ac_objext
37704 if { (ac_try="$ac_compile"
37705 case "(($ac_try" in
37706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37707 *) ac_try_echo=$ac_try;;
37708 esac
37709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37710 (eval "$ac_compile") 2>conftest.er1
37711 ac_status=$?
37712 grep -v '^ *+' conftest.er1 >conftest.err
37713 rm -f conftest.er1
37714 cat conftest.err >&5
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); } && {
37717 test -z "$ac_c_werror_flag" ||
37718 test ! -s conftest.err
37719 } && test -s conftest.$ac_objext; then
37720 wx_cv_func_vsnprintf_decl=yes
37721 else
37722 echo "$as_me: failed program was:" >&5
37723 sed 's/^/| /' conftest.$ac_ext >&5
37724
37725 wx_cv_func_vsnprintf_decl=no
37726
37727 fi
37728
37729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37730
37731
37732 fi
37733 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37734 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37735
37736 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37737 cat >>confdefs.h <<\_ACEOF
37738 #define HAVE_VSNPRINTF_DECL 1
37739 _ACEOF
37740
37741
37742 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37743 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37744 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37745 echo $ECHO_N "(cached) $ECHO_C" >&6
37746 else
37747
37748 cat >conftest.$ac_ext <<_ACEOF
37749 /* confdefs.h. */
37750 _ACEOF
37751 cat confdefs.h >>conftest.$ac_ext
37752 cat >>conftest.$ac_ext <<_ACEOF
37753 /* end confdefs.h. */
37754
37755 #include <stdio.h>
37756 #include <stdarg.h>
37757 #ifdef __MSL__
37758 #if __MSL__ >= 0x6000
37759 namespace std {}
37760 using namespace std;
37761 #endif
37762 #endif
37763
37764 int
37765 main ()
37766 {
37767
37768 char *buf;
37769 va_list ap;
37770 const char *fmt = "%s";
37771 vsnprintf(buf, 10u, fmt, ap);
37772
37773 ;
37774 return 0;
37775 }
37776 _ACEOF
37777 rm -f conftest.$ac_objext
37778 if { (ac_try="$ac_compile"
37779 case "(($ac_try" in
37780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37781 *) ac_try_echo=$ac_try;;
37782 esac
37783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37784 (eval "$ac_compile") 2>conftest.er1
37785 ac_status=$?
37786 grep -v '^ *+' conftest.er1 >conftest.err
37787 rm -f conftest.er1
37788 cat conftest.err >&5
37789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37790 (exit $ac_status); } && {
37791 test -z "$ac_c_werror_flag" ||
37792 test ! -s conftest.err
37793 } && test -s conftest.$ac_objext; then
37794 wx_cv_func_broken_vsnprintf_decl=no
37795 else
37796 echo "$as_me: failed program was:" >&5
37797 sed 's/^/| /' conftest.$ac_ext >&5
37798
37799 wx_cv_func_broken_vsnprintf_decl=yes
37800
37801 fi
37802
37803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37804
37805
37806 fi
37807 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37808 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37809
37810 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37811 cat >>confdefs.h <<\_ACEOF
37812 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37813 _ACEOF
37814
37815 fi
37816 fi
37817 fi
37818
37819 if test "$ac_cv_func_snprintf" = "yes"; then
37820 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37821 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37822 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37823 echo $ECHO_N "(cached) $ECHO_C" >&6
37824 else
37825
37826 cat >conftest.$ac_ext <<_ACEOF
37827 /* confdefs.h. */
37828 _ACEOF
37829 cat confdefs.h >>conftest.$ac_ext
37830 cat >>conftest.$ac_ext <<_ACEOF
37831 /* end confdefs.h. */
37832
37833 #include <stdio.h>
37834 #include <stdarg.h>
37835 #ifdef __MSL__
37836 #if __MSL__ >= 0x6000
37837 namespace std {}
37838 using namespace std;
37839 #endif
37840 #endif
37841
37842 int
37843 main ()
37844 {
37845
37846 char *buf;
37847 snprintf(buf, 10u, "%s", "wx");
37848
37849 ;
37850 return 0;
37851 }
37852 _ACEOF
37853 rm -f conftest.$ac_objext
37854 if { (ac_try="$ac_compile"
37855 case "(($ac_try" in
37856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37857 *) ac_try_echo=$ac_try;;
37858 esac
37859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37860 (eval "$ac_compile") 2>conftest.er1
37861 ac_status=$?
37862 grep -v '^ *+' conftest.er1 >conftest.err
37863 rm -f conftest.er1
37864 cat conftest.err >&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); } && {
37867 test -z "$ac_c_werror_flag" ||
37868 test ! -s conftest.err
37869 } && test -s conftest.$ac_objext; then
37870 wx_cv_func_snprintf_decl=yes
37871 else
37872 echo "$as_me: failed program was:" >&5
37873 sed 's/^/| /' conftest.$ac_ext >&5
37874
37875 wx_cv_func_snprintf_decl=no
37876
37877 fi
37878
37879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37880
37881
37882 fi
37883 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37884 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37885
37886 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37887 cat >>confdefs.h <<\_ACEOF
37888 #define HAVE_SNPRINTF_DECL 1
37889 _ACEOF
37890
37891
37892 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37893 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37894 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37895 echo $ECHO_N "(cached) $ECHO_C" >&6
37896 else
37897
37898 cat >conftest.$ac_ext <<_ACEOF
37899 /* confdefs.h. */
37900 _ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904
37905 #include <stdio.h>
37906 #include <stdarg.h>
37907 #ifdef __MSL__
37908 #if __MSL__ >= 0x6000
37909 namespace std {}
37910 using namespace std;
37911 #endif
37912 #endif
37913
37914 int
37915 main ()
37916 {
37917
37918 char *buf;
37919 const char *fmt = "%s";
37920 snprintf(buf, 10u, fmt, "wx");
37921
37922 ;
37923 return 0;
37924 }
37925 _ACEOF
37926 rm -f conftest.$ac_objext
37927 if { (ac_try="$ac_compile"
37928 case "(($ac_try" in
37929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37930 *) ac_try_echo=$ac_try;;
37931 esac
37932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37933 (eval "$ac_compile") 2>conftest.er1
37934 ac_status=$?
37935 grep -v '^ *+' conftest.er1 >conftest.err
37936 rm -f conftest.er1
37937 cat conftest.err >&5
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); } && {
37940 test -z "$ac_c_werror_flag" ||
37941 test ! -s conftest.err
37942 } && test -s conftest.$ac_objext; then
37943 wx_cv_func_broken_snprintf_decl=no
37944 else
37945 echo "$as_me: failed program was:" >&5
37946 sed 's/^/| /' conftest.$ac_ext >&5
37947
37948 wx_cv_func_broken_snprintf_decl=yes
37949
37950 fi
37951
37952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37953
37954
37955 fi
37956 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37957 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37958
37959 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37960 cat >>confdefs.h <<\_ACEOF
37961 #define HAVE_BROKEN_SNPRINTF_DECL 1
37962 _ACEOF
37963
37964 fi
37965 fi
37966
37967 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37968
37969 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37970 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37971 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37972 echo $ECHO_N "(cached) $ECHO_C" >&6
37973 else
37974
37975 if test "$cross_compiling" = yes; then
37976
37977 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37978 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37979 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37980 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37981 wx_cv_func_snprintf_pos_params=no
37982
37983
37984 else
37985 cat >conftest.$ac_ext <<_ACEOF
37986 /* confdefs.h. */
37987 _ACEOF
37988 cat confdefs.h >>conftest.$ac_ext
37989 cat >>conftest.$ac_ext <<_ACEOF
37990 /* end confdefs.h. */
37991
37992 #include <stdio.h>
37993
37994 int main (void)
37995 {
37996 char buffer[128];
37997 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37998 if (strcmp ("2 3 1", buffer) == 0)
37999 exit (0);
38000 exit (1);
38001 }
38002
38003 _ACEOF
38004 rm -f conftest$ac_exeext
38005 if { (ac_try="$ac_link"
38006 case "(($ac_try" in
38007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38008 *) ac_try_echo=$ac_try;;
38009 esac
38010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38011 (eval "$ac_link") 2>&5
38012 ac_status=$?
38013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38015 { (case "(($ac_try" in
38016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38017 *) ac_try_echo=$ac_try;;
38018 esac
38019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38020 (eval "$ac_try") 2>&5
38021 ac_status=$?
38022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38023 (exit $ac_status); }; }; then
38024 wx_cv_func_snprintf_pos_params=no
38025 else
38026 echo "$as_me: program exited with status $ac_status" >&5
38027 echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38029
38030 ( exit $ac_status )
38031 wx_cv_func_snprintf_pos_params=yes
38032 fi
38033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38034 fi
38035
38036
38037
38038
38039 fi
38040 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38041 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38042
38043 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38044 cat >>confdefs.h <<\_ACEOF
38045 #define HAVE_UNIX98_PRINTF 1
38046 _ACEOF
38047
38048 fi
38049 fi
38050 fi
38051
38052 if test "$wxUSE_UNICODE" = yes; then
38053
38054
38055 for ac_func in swprintf
38056 do
38057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38058 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38060 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38061 echo $ECHO_N "(cached) $ECHO_C" >&6
38062 else
38063 cat >conftest.$ac_ext <<_ACEOF
38064 /* confdefs.h. */
38065 _ACEOF
38066 cat confdefs.h >>conftest.$ac_ext
38067 cat >>conftest.$ac_ext <<_ACEOF
38068 /* end confdefs.h. */
38069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38071 #define $ac_func innocuous_$ac_func
38072
38073 /* System header to define __stub macros and hopefully few prototypes,
38074 which can conflict with char $ac_func (); below.
38075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38076 <limits.h> exists even on freestanding compilers. */
38077
38078 #ifdef __STDC__
38079 # include <limits.h>
38080 #else
38081 # include <assert.h>
38082 #endif
38083
38084 #undef $ac_func
38085
38086 /* Override any GCC internal prototype to avoid an error.
38087 Use char because int might match the return type of a GCC
38088 builtin and then its argument prototype would still apply. */
38089 #ifdef __cplusplus
38090 extern "C"
38091 #endif
38092 char $ac_func ();
38093 /* The GNU C library defines this for functions which it implements
38094 to always fail with ENOSYS. Some functions are actually named
38095 something starting with __ and the normal name is an alias. */
38096 #if defined __stub_$ac_func || defined __stub___$ac_func
38097 choke me
38098 #endif
38099
38100 int
38101 main ()
38102 {
38103 return $ac_func ();
38104 ;
38105 return 0;
38106 }
38107 _ACEOF
38108 rm -f conftest.$ac_objext conftest$ac_exeext
38109 if { (ac_try="$ac_link"
38110 case "(($ac_try" in
38111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38112 *) ac_try_echo=$ac_try;;
38113 esac
38114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38115 (eval "$ac_link") 2>conftest.er1
38116 ac_status=$?
38117 grep -v '^ *+' conftest.er1 >conftest.err
38118 rm -f conftest.er1
38119 cat conftest.err >&5
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); } && {
38122 test -z "$ac_c_werror_flag" ||
38123 test ! -s conftest.err
38124 } && test -s conftest$ac_exeext &&
38125 $as_test_x conftest$ac_exeext; then
38126 eval "$as_ac_var=yes"
38127 else
38128 echo "$as_me: failed program was:" >&5
38129 sed 's/^/| /' conftest.$ac_ext >&5
38130
38131 eval "$as_ac_var=no"
38132 fi
38133
38134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38135 conftest$ac_exeext conftest.$ac_ext
38136 fi
38137 ac_res=`eval echo '${'$as_ac_var'}'`
38138 { echo "$as_me:$LINENO: result: $ac_res" >&5
38139 echo "${ECHO_T}$ac_res" >&6; }
38140 if test `eval echo '${'$as_ac_var'}'` = yes; then
38141 cat >>confdefs.h <<_ACEOF
38142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38143 _ACEOF
38144
38145 fi
38146 done
38147
38148
38149 if test "$ac_cv_func_swprintf" = "yes"; then
38150 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38151 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38152 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38153 echo $ECHO_N "(cached) $ECHO_C" >&6
38154 else
38155
38156 cat >conftest.$ac_ext <<_ACEOF
38157 /* confdefs.h. */
38158 _ACEOF
38159 cat confdefs.h >>conftest.$ac_ext
38160 cat >>conftest.$ac_ext <<_ACEOF
38161 /* end confdefs.h. */
38162
38163 #include <stdio.h>
38164 #include <stdarg.h>
38165 #include <wchar.h>
38166
38167 int
38168 main ()
38169 {
38170
38171 wchar_t *buf;
38172 const wchar_t *fmt = L"test";
38173 swprintf(buf, 10u, fmt);
38174
38175 ;
38176 return 0;
38177 }
38178 _ACEOF
38179 rm -f conftest.$ac_objext
38180 if { (ac_try="$ac_compile"
38181 case "(($ac_try" in
38182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38183 *) ac_try_echo=$ac_try;;
38184 esac
38185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38186 (eval "$ac_compile") 2>conftest.er1
38187 ac_status=$?
38188 grep -v '^ *+' conftest.er1 >conftest.err
38189 rm -f conftest.er1
38190 cat conftest.err >&5
38191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38192 (exit $ac_status); } && {
38193 test -z "$ac_c_werror_flag" ||
38194 test ! -s conftest.err
38195 } && test -s conftest.$ac_objext; then
38196 wx_cv_func_broken_swprintf_decl=no
38197 else
38198 echo "$as_me: failed program was:" >&5
38199 sed 's/^/| /' conftest.$ac_ext >&5
38200
38201 wx_cv_func_broken_swprintf_decl=yes
38202
38203 fi
38204
38205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38206
38207
38208 fi
38209 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38210 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38211
38212 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38213 cat >>confdefs.h <<\_ACEOF
38214 #define HAVE_BROKEN_SWPRINTF_DECL 1
38215 _ACEOF
38216
38217 fi
38218 fi
38219
38220 wchar_headers="#include <stdio.h>
38221 #include <wchar.h>"
38222 case "${host}" in
38223 *-*-solaris2* )
38224
38225 for ac_header in widec.h
38226 do
38227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38228 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38231 echo $ECHO_N "(cached) $ECHO_C" >&6
38232 else
38233 cat >conftest.$ac_ext <<_ACEOF
38234 /* confdefs.h. */
38235 _ACEOF
38236 cat confdefs.h >>conftest.$ac_ext
38237 cat >>conftest.$ac_ext <<_ACEOF
38238 /* end confdefs.h. */
38239 $ac_includes_default
38240
38241 #include <$ac_header>
38242 _ACEOF
38243 rm -f conftest.$ac_objext
38244 if { (ac_try="$ac_compile"
38245 case "(($ac_try" in
38246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38247 *) ac_try_echo=$ac_try;;
38248 esac
38249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38250 (eval "$ac_compile") 2>conftest.er1
38251 ac_status=$?
38252 grep -v '^ *+' conftest.er1 >conftest.err
38253 rm -f conftest.er1
38254 cat conftest.err >&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); } && {
38257 test -z "$ac_c_werror_flag" ||
38258 test ! -s conftest.err
38259 } && test -s conftest.$ac_objext; then
38260 eval "$as_ac_Header=yes"
38261 else
38262 echo "$as_me: failed program was:" >&5
38263 sed 's/^/| /' conftest.$ac_ext >&5
38264
38265 eval "$as_ac_Header=no"
38266 fi
38267
38268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38269 fi
38270 ac_res=`eval echo '${'$as_ac_Header'}'`
38271 { echo "$as_me:$LINENO: result: $ac_res" >&5
38272 echo "${ECHO_T}$ac_res" >&6; }
38273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38274 cat >>confdefs.h <<_ACEOF
38275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38276 _ACEOF
38277
38278 fi
38279
38280 done
38281
38282 if test "$ac_cv_header_widec_h" = "yes"; then
38283 wchar_headers="$wchar_headers
38284 #include <widec.h>"
38285 fi
38286 esac
38287
38288
38289 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38290 do
38291 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38292 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38293 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38294 echo $ECHO_N "(cached) $ECHO_C" >&6
38295 else
38296
38297 cat >conftest.$ac_ext <<_ACEOF
38298
38299 /* confdefs.h. */
38300 _ACEOF
38301 cat confdefs.h >>conftest.$ac_ext
38302 cat >>conftest.$ac_ext <<_ACEOF
38303 /* end confdefs.h. */
38304
38305 $wchar_headers
38306 $ac_includes_default
38307
38308 int
38309 main ()
38310 {
38311
38312 #ifndef $wx_func
38313 &$wx_func;
38314 #endif
38315
38316
38317 ;
38318 return 0;
38319 }
38320
38321 _ACEOF
38322 rm -f conftest.$ac_objext conftest$ac_exeext
38323 if { (ac_try="$ac_link"
38324 case "(($ac_try" in
38325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38326 *) ac_try_echo=$ac_try;;
38327 esac
38328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38329 (eval "$ac_link") 2>conftest.er1
38330 ac_status=$?
38331 grep -v '^ *+' conftest.er1 >conftest.err
38332 rm -f conftest.er1
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } && {
38336 test -z "$ac_c_werror_flag" ||
38337 test ! -s conftest.err
38338 } && test -s conftest$ac_exeext &&
38339 $as_test_x conftest$ac_exeext; then
38340 eval wx_cv_func_$wx_func=yes
38341 else
38342 echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.$ac_ext >&5
38344
38345 eval wx_cv_func_$wx_func=no
38346 fi
38347
38348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38349 conftest$ac_exeext conftest.$ac_ext
38350
38351 fi
38352 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38353 { echo "$as_me:$LINENO: result: $ac_res" >&5
38354 echo "${ECHO_T}$ac_res" >&6; }
38355
38356 if eval test \$wx_cv_func_$wx_func = yes
38357 then
38358 cat >>confdefs.h <<_ACEOF
38359 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38360 _ACEOF
38361
38362
38363 else
38364 :
38365
38366 fi
38367 done
38368
38369
38370 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38371 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38372 cat >conftest.$ac_ext <<_ACEOF
38373 /* confdefs.h. */
38374 _ACEOF
38375 cat confdefs.h >>conftest.$ac_ext
38376 cat >>conftest.$ac_ext <<_ACEOF
38377 /* end confdefs.h. */
38378 #include <wchar.h>
38379 int
38380 main ()
38381 {
38382 &_vsnwprintf;
38383 ;
38384 return 0;
38385 }
38386 _ACEOF
38387 rm -f conftest.$ac_objext
38388 if { (ac_try="$ac_compile"
38389 case "(($ac_try" in
38390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38391 *) ac_try_echo=$ac_try;;
38392 esac
38393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38394 (eval "$ac_compile") 2>conftest.er1
38395 ac_status=$?
38396 grep -v '^ *+' conftest.er1 >conftest.err
38397 rm -f conftest.er1
38398 cat conftest.err >&5
38399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38400 (exit $ac_status); } && {
38401 test -z "$ac_c_werror_flag" ||
38402 test ! -s conftest.err
38403 } && test -s conftest.$ac_objext; then
38404 { echo "$as_me:$LINENO: result: yes" >&5
38405 echo "${ECHO_T}yes" >&6; }
38406 cat >>confdefs.h <<\_ACEOF
38407 #define HAVE__VSNWPRINTF 1
38408 _ACEOF
38409
38410 else
38411 echo "$as_me: failed program was:" >&5
38412 sed 's/^/| /' conftest.$ac_ext >&5
38413
38414 { echo "$as_me:$LINENO: result: no" >&5
38415 echo "${ECHO_T}no" >&6; }
38416 fi
38417
38418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38419 fi
38420
38421 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38422
38423 for wx_func in fnmatch
38424 do
38425 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38426 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38427 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38428 echo $ECHO_N "(cached) $ECHO_C" >&6
38429 else
38430
38431 cat >conftest.$ac_ext <<_ACEOF
38432
38433 /* confdefs.h. */
38434 _ACEOF
38435 cat confdefs.h >>conftest.$ac_ext
38436 cat >>conftest.$ac_ext <<_ACEOF
38437 /* end confdefs.h. */
38438
38439 #include <fnmatch.h>
38440 $ac_includes_default
38441
38442 int
38443 main ()
38444 {
38445
38446 #ifndef $wx_func
38447 &$wx_func;
38448 #endif
38449
38450
38451 ;
38452 return 0;
38453 }
38454
38455 _ACEOF
38456 rm -f conftest.$ac_objext conftest$ac_exeext
38457 if { (ac_try="$ac_link"
38458 case "(($ac_try" in
38459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38460 *) ac_try_echo=$ac_try;;
38461 esac
38462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38463 (eval "$ac_link") 2>conftest.er1
38464 ac_status=$?
38465 grep -v '^ *+' conftest.er1 >conftest.err
38466 rm -f conftest.er1
38467 cat conftest.err >&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); } && {
38470 test -z "$ac_c_werror_flag" ||
38471 test ! -s conftest.err
38472 } && test -s conftest$ac_exeext &&
38473 $as_test_x conftest$ac_exeext; then
38474 eval wx_cv_func_$wx_func=yes
38475 else
38476 echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.$ac_ext >&5
38478
38479 eval wx_cv_func_$wx_func=no
38480 fi
38481
38482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38483 conftest$ac_exeext conftest.$ac_ext
38484
38485 fi
38486 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38487 { echo "$as_me:$LINENO: result: $ac_res" >&5
38488 echo "${ECHO_T}$ac_res" >&6; }
38489
38490 if eval test \$wx_cv_func_$wx_func = yes
38491 then
38492 cat >>confdefs.h <<_ACEOF
38493 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38494 _ACEOF
38495
38496
38497 else
38498 :
38499
38500 fi
38501 done
38502
38503 fi
38504
38505 if test "$wxUSE_FILE" = "yes"; then
38506
38507 for wx_func in fsync
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
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 fi
38588
38589 ac_ext=cpp
38590 ac_cpp='$CXXCPP $CPPFLAGS'
38591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38594
38595
38596 for wx_func in round
38597 do
38598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38601 echo $ECHO_N "(cached) $ECHO_C" >&6
38602 else
38603
38604 cat >conftest.$ac_ext <<_ACEOF
38605
38606 /* confdefs.h. */
38607 _ACEOF
38608 cat confdefs.h >>conftest.$ac_ext
38609 cat >>conftest.$ac_ext <<_ACEOF
38610 /* end confdefs.h. */
38611
38612 #include <math.h>
38613 $ac_includes_default
38614
38615 int
38616 main ()
38617 {
38618
38619 #ifndef $wx_func
38620 &$wx_func;
38621 #endif
38622
38623
38624 ;
38625 return 0;
38626 }
38627
38628 _ACEOF
38629 rm -f conftest.$ac_objext conftest$ac_exeext
38630 if { (ac_try="$ac_link"
38631 case "(($ac_try" in
38632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38633 *) ac_try_echo=$ac_try;;
38634 esac
38635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38636 (eval "$ac_link") 2>conftest.er1
38637 ac_status=$?
38638 grep -v '^ *+' conftest.er1 >conftest.err
38639 rm -f conftest.er1
38640 cat conftest.err >&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } && {
38643 test -z "$ac_cxx_werror_flag" ||
38644 test ! -s conftest.err
38645 } && test -s conftest$ac_exeext &&
38646 $as_test_x conftest$ac_exeext; then
38647 eval wx_cv_func_$wx_func=yes
38648 else
38649 echo "$as_me: failed program was:" >&5
38650 sed 's/^/| /' conftest.$ac_ext >&5
38651
38652 eval wx_cv_func_$wx_func=no
38653 fi
38654
38655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38656 conftest$ac_exeext conftest.$ac_ext
38657
38658 fi
38659 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38660 { echo "$as_me:$LINENO: result: $ac_res" >&5
38661 echo "${ECHO_T}$ac_res" >&6; }
38662
38663 if eval test \$wx_cv_func_$wx_func = yes
38664 then
38665 cat >>confdefs.h <<_ACEOF
38666 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38667 _ACEOF
38668
38669
38670 else
38671 :
38672
38673 fi
38674 done
38675
38676 ac_ext=c
38677 ac_cpp='$CPP $CPPFLAGS'
38678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38681
38682
38683 if test "$TOOLKIT" != "MSW"; then
38684
38685
38686
38687
38688
38689 # Check whether --with-libiconv-prefix was given.
38690 if test "${with_libiconv_prefix+set}" = set; then
38691 withval=$with_libiconv_prefix;
38692 for dir in `echo "$withval" | tr : ' '`; do
38693 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38694 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38695 done
38696
38697 fi
38698
38699
38700 { echo "$as_me:$LINENO: checking for iconv" >&5
38701 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38702 if test "${am_cv_func_iconv+set}" = set; then
38703 echo $ECHO_N "(cached) $ECHO_C" >&6
38704 else
38705
38706 am_cv_func_iconv="no, consider installing GNU libiconv"
38707 am_cv_lib_iconv=no
38708 cat >conftest.$ac_ext <<_ACEOF
38709 /* confdefs.h. */
38710 _ACEOF
38711 cat confdefs.h >>conftest.$ac_ext
38712 cat >>conftest.$ac_ext <<_ACEOF
38713 /* end confdefs.h. */
38714 #include <stdlib.h>
38715 #include <iconv.h>
38716 int
38717 main ()
38718 {
38719 iconv_t cd = iconv_open("","");
38720 iconv(cd,NULL,NULL,NULL,NULL);
38721 iconv_close(cd);
38722 ;
38723 return 0;
38724 }
38725 _ACEOF
38726 rm -f conftest.$ac_objext conftest$ac_exeext
38727 if { (ac_try="$ac_link"
38728 case "(($ac_try" in
38729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38730 *) ac_try_echo=$ac_try;;
38731 esac
38732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38733 (eval "$ac_link") 2>conftest.er1
38734 ac_status=$?
38735 grep -v '^ *+' conftest.er1 >conftest.err
38736 rm -f conftest.er1
38737 cat conftest.err >&5
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); } && {
38740 test -z "$ac_c_werror_flag" ||
38741 test ! -s conftest.err
38742 } && test -s conftest$ac_exeext &&
38743 $as_test_x conftest$ac_exeext; then
38744 am_cv_func_iconv=yes
38745 else
38746 echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.$ac_ext >&5
38748
38749
38750 fi
38751
38752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38753 conftest$ac_exeext conftest.$ac_ext
38754 if test "$am_cv_func_iconv" != yes; then
38755 am_save_LIBS="$LIBS"
38756 LIBS="$LIBS -liconv"
38757 cat >conftest.$ac_ext <<_ACEOF
38758 /* confdefs.h. */
38759 _ACEOF
38760 cat confdefs.h >>conftest.$ac_ext
38761 cat >>conftest.$ac_ext <<_ACEOF
38762 /* end confdefs.h. */
38763 #include <stdlib.h>
38764 #include <iconv.h>
38765 int
38766 main ()
38767 {
38768 iconv_t cd = iconv_open("","");
38769 iconv(cd,NULL,NULL,NULL,NULL);
38770 iconv_close(cd);
38771 ;
38772 return 0;
38773 }
38774 _ACEOF
38775 rm -f conftest.$ac_objext conftest$ac_exeext
38776 if { (ac_try="$ac_link"
38777 case "(($ac_try" in
38778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38779 *) ac_try_echo=$ac_try;;
38780 esac
38781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38782 (eval "$ac_link") 2>conftest.er1
38783 ac_status=$?
38784 grep -v '^ *+' conftest.er1 >conftest.err
38785 rm -f conftest.er1
38786 cat conftest.err >&5
38787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38788 (exit $ac_status); } && {
38789 test -z "$ac_c_werror_flag" ||
38790 test ! -s conftest.err
38791 } && test -s conftest$ac_exeext &&
38792 $as_test_x conftest$ac_exeext; then
38793 am_cv_lib_iconv=yes
38794 am_cv_func_iconv=yes
38795 else
38796 echo "$as_me: failed program was:" >&5
38797 sed 's/^/| /' conftest.$ac_ext >&5
38798
38799
38800 fi
38801
38802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38803 conftest$ac_exeext conftest.$ac_ext
38804 LIBS="$am_save_LIBS"
38805 fi
38806
38807 fi
38808 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38809 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38810 if test "$am_cv_func_iconv" = yes; then
38811
38812 cat >>confdefs.h <<\_ACEOF
38813 #define HAVE_ICONV 1
38814 _ACEOF
38815
38816 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38817 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38818 if test "${wx_cv_func_iconv_const+set}" = set; then
38819 echo $ECHO_N "(cached) $ECHO_C" >&6
38820 else
38821 cat >conftest.$ac_ext <<_ACEOF
38822 /* confdefs.h. */
38823 _ACEOF
38824 cat confdefs.h >>conftest.$ac_ext
38825 cat >>conftest.$ac_ext <<_ACEOF
38826 /* end confdefs.h. */
38827
38828 #include <stdlib.h>
38829 #include <iconv.h>
38830 extern
38831 #ifdef __cplusplus
38832 "C"
38833 #endif
38834 #if defined(__STDC__) || defined(__cplusplus)
38835 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38836 #else
38837 size_t iconv();
38838 #endif
38839
38840 int
38841 main ()
38842 {
38843
38844 ;
38845 return 0;
38846 }
38847 _ACEOF
38848 rm -f conftest.$ac_objext
38849 if { (ac_try="$ac_compile"
38850 case "(($ac_try" in
38851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38852 *) ac_try_echo=$ac_try;;
38853 esac
38854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38855 (eval "$ac_compile") 2>conftest.er1
38856 ac_status=$?
38857 grep -v '^ *+' conftest.er1 >conftest.err
38858 rm -f conftest.er1
38859 cat conftest.err >&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); } && {
38862 test -z "$ac_c_werror_flag" ||
38863 test ! -s conftest.err
38864 } && test -s conftest.$ac_objext; then
38865 wx_cv_func_iconv_const="no"
38866 else
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.$ac_ext >&5
38869
38870 wx_cv_func_iconv_const="yes"
38871
38872 fi
38873
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38875
38876 fi
38877 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38878 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38879
38880 iconv_const=
38881 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38882 iconv_const="const"
38883 fi
38884
38885
38886 cat >>confdefs.h <<_ACEOF
38887 #define ICONV_CONST $iconv_const
38888 _ACEOF
38889
38890 fi
38891 LIBICONV=
38892 if test "$am_cv_lib_iconv" = yes; then
38893 LIBICONV="-liconv"
38894 fi
38895
38896
38897 LIBS="$LIBICONV $LIBS"
38898
38899 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38900
38901 for ac_func in sigaction
38902 do
38903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38906 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38907 echo $ECHO_N "(cached) $ECHO_C" >&6
38908 else
38909 cat >conftest.$ac_ext <<_ACEOF
38910 /* confdefs.h. */
38911 _ACEOF
38912 cat confdefs.h >>conftest.$ac_ext
38913 cat >>conftest.$ac_ext <<_ACEOF
38914 /* end confdefs.h. */
38915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38917 #define $ac_func innocuous_$ac_func
38918
38919 /* System header to define __stub macros and hopefully few prototypes,
38920 which can conflict with char $ac_func (); below.
38921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38922 <limits.h> exists even on freestanding compilers. */
38923
38924 #ifdef __STDC__
38925 # include <limits.h>
38926 #else
38927 # include <assert.h>
38928 #endif
38929
38930 #undef $ac_func
38931
38932 /* Override any GCC internal prototype to avoid an error.
38933 Use char because int might match the return type of a GCC
38934 builtin and then its argument prototype would still apply. */
38935 #ifdef __cplusplus
38936 extern "C"
38937 #endif
38938 char $ac_func ();
38939 /* The GNU C library defines this for functions which it implements
38940 to always fail with ENOSYS. Some functions are actually named
38941 something starting with __ and the normal name is an alias. */
38942 #if defined __stub_$ac_func || defined __stub___$ac_func
38943 choke me
38944 #endif
38945
38946 int
38947 main ()
38948 {
38949 return $ac_func ();
38950 ;
38951 return 0;
38952 }
38953 _ACEOF
38954 rm -f conftest.$ac_objext conftest$ac_exeext
38955 if { (ac_try="$ac_link"
38956 case "(($ac_try" in
38957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38958 *) ac_try_echo=$ac_try;;
38959 esac
38960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38961 (eval "$ac_link") 2>conftest.er1
38962 ac_status=$?
38963 grep -v '^ *+' conftest.er1 >conftest.err
38964 rm -f conftest.er1
38965 cat conftest.err >&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); } && {
38968 test -z "$ac_c_werror_flag" ||
38969 test ! -s conftest.err
38970 } && test -s conftest$ac_exeext &&
38971 $as_test_x conftest$ac_exeext; then
38972 eval "$as_ac_var=yes"
38973 else
38974 echo "$as_me: failed program was:" >&5
38975 sed 's/^/| /' conftest.$ac_ext >&5
38976
38977 eval "$as_ac_var=no"
38978 fi
38979
38980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38981 conftest$ac_exeext conftest.$ac_ext
38982 fi
38983 ac_res=`eval echo '${'$as_ac_var'}'`
38984 { echo "$as_me:$LINENO: result: $ac_res" >&5
38985 echo "${ECHO_T}$ac_res" >&6; }
38986 if test `eval echo '${'$as_ac_var'}'` = yes; then
38987 cat >>confdefs.h <<_ACEOF
38988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38989 _ACEOF
38990
38991 fi
38992 done
38993
38994
38995 if test "$ac_cv_func_sigaction" = "no"; then
38996 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38997 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38998 wxUSE_ON_FATAL_EXCEPTION=no
38999 fi
39000
39001 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39002 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39003 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39004 if test "${wx_cv_type_sa_handler+set}" = set; then
39005 echo $ECHO_N "(cached) $ECHO_C" >&6
39006 else
39007
39008 ac_ext=cpp
39009 ac_cpp='$CXXCPP $CPPFLAGS'
39010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39013
39014 cat >conftest.$ac_ext <<_ACEOF
39015 /* confdefs.h. */
39016 _ACEOF
39017 cat confdefs.h >>conftest.$ac_ext
39018 cat >>conftest.$ac_ext <<_ACEOF
39019 /* end confdefs.h. */
39020 #include <signal.h>
39021 int
39022 main ()
39023 {
39024
39025 extern void testSigHandler(int);
39026
39027 struct sigaction sa;
39028 sa.sa_handler = testSigHandler;
39029
39030 ;
39031 return 0;
39032 }
39033 _ACEOF
39034 rm -f conftest.$ac_objext
39035 if { (ac_try="$ac_compile"
39036 case "(($ac_try" in
39037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39038 *) ac_try_echo=$ac_try;;
39039 esac
39040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39041 (eval "$ac_compile") 2>conftest.er1
39042 ac_status=$?
39043 grep -v '^ *+' conftest.er1 >conftest.err
39044 rm -f conftest.er1
39045 cat conftest.err >&5
39046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39047 (exit $ac_status); } && {
39048 test -z "$ac_cxx_werror_flag" ||
39049 test ! -s conftest.err
39050 } && test -s conftest.$ac_objext; then
39051
39052 wx_cv_type_sa_handler=int
39053
39054 else
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.$ac_ext >&5
39057
39058
39059 wx_cv_type_sa_handler=void
39060
39061 fi
39062
39063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39064 ac_ext=c
39065 ac_cpp='$CPP $CPPFLAGS'
39066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39069
39070
39071 fi
39072 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39073 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39074
39075 cat >>confdefs.h <<_ACEOF
39076 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39077 _ACEOF
39078
39079 fi
39080 fi
39081
39082 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39083 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39084 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39085 if test "${wx_cv_func_backtrace+set}" = set; then
39086 echo $ECHO_N "(cached) $ECHO_C" >&6
39087 else
39088
39089 ac_ext=cpp
39090 ac_cpp='$CXXCPP $CPPFLAGS'
39091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39094
39095 cat >conftest.$ac_ext <<_ACEOF
39096 /* confdefs.h. */
39097 _ACEOF
39098 cat confdefs.h >>conftest.$ac_ext
39099 cat >>conftest.$ac_ext <<_ACEOF
39100 /* end confdefs.h. */
39101 #include <execinfo.h>
39102 int
39103 main ()
39104 {
39105
39106 void *trace[1];
39107 char **messages;
39108
39109 backtrace(trace, 1);
39110 messages = backtrace_symbols(trace, 1);
39111
39112 ;
39113 return 0;
39114 }
39115 _ACEOF
39116 rm -f conftest.$ac_objext
39117 if { (ac_try="$ac_compile"
39118 case "(($ac_try" in
39119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39120 *) ac_try_echo=$ac_try;;
39121 esac
39122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39123 (eval "$ac_compile") 2>conftest.er1
39124 ac_status=$?
39125 grep -v '^ *+' conftest.er1 >conftest.err
39126 rm -f conftest.er1
39127 cat conftest.err >&5
39128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129 (exit $ac_status); } && {
39130 test -z "$ac_cxx_werror_flag" ||
39131 test ! -s conftest.err
39132 } && test -s conftest.$ac_objext; then
39133 wx_cv_func_backtrace=yes
39134 else
39135 echo "$as_me: failed program was:" >&5
39136 sed 's/^/| /' conftest.$ac_ext >&5
39137
39138 wx_cv_func_backtrace=no
39139
39140 fi
39141
39142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39143 ac_ext=c
39144 ac_cpp='$CPP $CPPFLAGS'
39145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39148
39149
39150
39151 fi
39152 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39153 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39154
39155
39156 if test "$wx_cv_func_backtrace" = "no"; then
39157 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39158 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39159 wxUSE_STACKWALKER=no
39160 else
39161 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39162 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39163 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39164 echo $ECHO_N "(cached) $ECHO_C" >&6
39165 else
39166
39167 ac_ext=cpp
39168 ac_cpp='$CXXCPP $CPPFLAGS'
39169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39172
39173 cat >conftest.$ac_ext <<_ACEOF
39174 /* confdefs.h. */
39175 _ACEOF
39176 cat confdefs.h >>conftest.$ac_ext
39177 cat >>conftest.$ac_ext <<_ACEOF
39178 /* end confdefs.h. */
39179 #include <cxxabi.h>
39180 int
39181 main ()
39182 {
39183
39184 int rc;
39185 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39186
39187 ;
39188 return 0;
39189 }
39190 _ACEOF
39191 rm -f conftest.$ac_objext conftest$ac_exeext
39192 if { (ac_try="$ac_link"
39193 case "(($ac_try" in
39194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39195 *) ac_try_echo=$ac_try;;
39196 esac
39197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39198 (eval "$ac_link") 2>conftest.er1
39199 ac_status=$?
39200 grep -v '^ *+' conftest.er1 >conftest.err
39201 rm -f conftest.er1
39202 cat conftest.err >&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } && {
39205 test -z "$ac_cxx_werror_flag" ||
39206 test ! -s conftest.err
39207 } && test -s conftest$ac_exeext &&
39208 $as_test_x conftest$ac_exeext; then
39209 wx_cv_func_cxa_demangle=yes
39210 else
39211 echo "$as_me: failed program was:" >&5
39212 sed 's/^/| /' conftest.$ac_ext >&5
39213
39214 wx_cv_func_cxa_demangle=no
39215
39216 fi
39217
39218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39219 conftest$ac_exeext conftest.$ac_ext
39220 ac_ext=c
39221 ac_cpp='$CPP $CPPFLAGS'
39222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39225
39226
39227
39228 fi
39229 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39230 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39231
39232 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39233 cat >>confdefs.h <<\_ACEOF
39234 #define HAVE_CXA_DEMANGLE 1
39235 _ACEOF
39236
39237 fi
39238 fi
39239 fi
39240
39241 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39242 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39243 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39244 wxUSE_STACKWALKER=no
39245 fi
39246
39247
39248
39249
39250 for ac_func in mkstemp mktemp
39251 do
39252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39257 else
39258 cat >conftest.$ac_ext <<_ACEOF
39259 /* confdefs.h. */
39260 _ACEOF
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39266 #define $ac_func innocuous_$ac_func
39267
39268 /* System header to define __stub macros and hopefully few prototypes,
39269 which can conflict with char $ac_func (); below.
39270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39271 <limits.h> exists even on freestanding compilers. */
39272
39273 #ifdef __STDC__
39274 # include <limits.h>
39275 #else
39276 # include <assert.h>
39277 #endif
39278
39279 #undef $ac_func
39280
39281 /* Override any GCC internal prototype to avoid an error.
39282 Use char because int might match the return type of a GCC
39283 builtin and then its argument prototype would still apply. */
39284 #ifdef __cplusplus
39285 extern "C"
39286 #endif
39287 char $ac_func ();
39288 /* The GNU C library defines this for functions which it implements
39289 to always fail with ENOSYS. Some functions are actually named
39290 something starting with __ and the normal name is an alias. */
39291 #if defined __stub_$ac_func || defined __stub___$ac_func
39292 choke me
39293 #endif
39294
39295 int
39296 main ()
39297 {
39298 return $ac_func ();
39299 ;
39300 return 0;
39301 }
39302 _ACEOF
39303 rm -f conftest.$ac_objext conftest$ac_exeext
39304 if { (ac_try="$ac_link"
39305 case "(($ac_try" in
39306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39307 *) ac_try_echo=$ac_try;;
39308 esac
39309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39310 (eval "$ac_link") 2>conftest.er1
39311 ac_status=$?
39312 grep -v '^ *+' conftest.er1 >conftest.err
39313 rm -f conftest.er1
39314 cat conftest.err >&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); } && {
39317 test -z "$ac_c_werror_flag" ||
39318 test ! -s conftest.err
39319 } && test -s conftest$ac_exeext &&
39320 $as_test_x conftest$ac_exeext; then
39321 eval "$as_ac_var=yes"
39322 else
39323 echo "$as_me: failed program was:" >&5
39324 sed 's/^/| /' conftest.$ac_ext >&5
39325
39326 eval "$as_ac_var=no"
39327 fi
39328
39329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39330 conftest$ac_exeext conftest.$ac_ext
39331 fi
39332 ac_res=`eval echo '${'$as_ac_var'}'`
39333 { echo "$as_me:$LINENO: result: $ac_res" >&5
39334 echo "${ECHO_T}$ac_res" >&6; }
39335 if test `eval echo '${'$as_ac_var'}'` = yes; then
39336 cat >>confdefs.h <<_ACEOF
39337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39338 _ACEOF
39339 break
39340 fi
39341 done
39342
39343
39344 { echo "$as_me:$LINENO: checking for statfs" >&5
39345 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39346 if test "${wx_cv_func_statfs+set}" = set; then
39347 echo $ECHO_N "(cached) $ECHO_C" >&6
39348 else
39349 cat >conftest.$ac_ext <<_ACEOF
39350 /* confdefs.h. */
39351 _ACEOF
39352 cat confdefs.h >>conftest.$ac_ext
39353 cat >>conftest.$ac_ext <<_ACEOF
39354 /* end confdefs.h. */
39355
39356 #if defined(__BSD__)
39357 #include <sys/param.h>
39358 #include <sys/mount.h>
39359 #else
39360 #include <sys/vfs.h>
39361 #endif
39362
39363 int
39364 main ()
39365 {
39366
39367 long l;
39368 struct statfs fs;
39369 statfs("/", &fs);
39370 l = fs.f_bsize;
39371 l += fs.f_blocks;
39372 l += fs.f_bavail;
39373
39374 ;
39375 return 0;
39376 }
39377 _ACEOF
39378 rm -f conftest.$ac_objext
39379 if { (ac_try="$ac_compile"
39380 case "(($ac_try" in
39381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39382 *) ac_try_echo=$ac_try;;
39383 esac
39384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39385 (eval "$ac_compile") 2>conftest.er1
39386 ac_status=$?
39387 grep -v '^ *+' conftest.er1 >conftest.err
39388 rm -f conftest.er1
39389 cat conftest.err >&5
39390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391 (exit $ac_status); } && {
39392 test -z "$ac_c_werror_flag" ||
39393 test ! -s conftest.err
39394 } && test -s conftest.$ac_objext; then
39395 wx_cv_func_statfs=yes
39396 else
39397 echo "$as_me: failed program was:" >&5
39398 sed 's/^/| /' conftest.$ac_ext >&5
39399
39400 wx_cv_func_statfs=no
39401
39402 fi
39403
39404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39405
39406 fi
39407 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39408 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39409
39410 if test "$wx_cv_func_statfs" = "yes"; then
39411 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39412 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39413 if test "${wx_cv_func_statfs_decl+set}" = set; then
39414 echo $ECHO_N "(cached) $ECHO_C" >&6
39415 else
39416 ac_ext=cpp
39417 ac_cpp='$CXXCPP $CPPFLAGS'
39418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39421
39422 cat >conftest.$ac_ext <<_ACEOF
39423 /* confdefs.h. */
39424 _ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39428
39429 #if defined(__BSD__)
39430 #include <sys/param.h>
39431 #include <sys/mount.h>
39432 #else
39433 #include <sys/vfs.h>
39434 #endif
39435
39436 int
39437 main ()
39438 {
39439
39440 struct statfs fs;
39441 statfs("", &fs);
39442
39443 ;
39444 return 0;
39445 }
39446 _ACEOF
39447 rm -f conftest.$ac_objext
39448 if { (ac_try="$ac_compile"
39449 case "(($ac_try" in
39450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39451 *) ac_try_echo=$ac_try;;
39452 esac
39453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39454 (eval "$ac_compile") 2>conftest.er1
39455 ac_status=$?
39456 grep -v '^ *+' conftest.er1 >conftest.err
39457 rm -f conftest.er1
39458 cat conftest.err >&5
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); } && {
39461 test -z "$ac_cxx_werror_flag" ||
39462 test ! -s conftest.err
39463 } && test -s conftest.$ac_objext; then
39464 wx_cv_func_statfs_decl=yes
39465 else
39466 echo "$as_me: failed program was:" >&5
39467 sed 's/^/| /' conftest.$ac_ext >&5
39468
39469 wx_cv_func_statfs_decl=no
39470
39471 fi
39472
39473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39474 ac_ext=c
39475 ac_cpp='$CPP $CPPFLAGS'
39476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39479
39480
39481 fi
39482 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39483 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39484
39485 if test "$wx_cv_func_statfs_decl" = "yes"; then
39486 cat >>confdefs.h <<\_ACEOF
39487 #define HAVE_STATFS_DECL 1
39488 _ACEOF
39489
39490 fi
39491
39492 wx_cv_type_statvfs_t="struct statfs"
39493 cat >>confdefs.h <<\_ACEOF
39494 #define HAVE_STATFS 1
39495 _ACEOF
39496
39497 else
39498 { echo "$as_me:$LINENO: checking for statvfs" >&5
39499 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39500 if test "${wx_cv_func_statvfs+set}" = set; then
39501 echo $ECHO_N "(cached) $ECHO_C" >&6
39502 else
39503 cat >conftest.$ac_ext <<_ACEOF
39504 /* confdefs.h. */
39505 _ACEOF
39506 cat confdefs.h >>conftest.$ac_ext
39507 cat >>conftest.$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39509
39510 #include <stddef.h>
39511 #include <sys/statvfs.h>
39512
39513 int
39514 main ()
39515 {
39516
39517 statvfs("/", NULL);
39518
39519 ;
39520 return 0;
39521 }
39522 _ACEOF
39523 rm -f conftest.$ac_objext
39524 if { (ac_try="$ac_compile"
39525 case "(($ac_try" in
39526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39527 *) ac_try_echo=$ac_try;;
39528 esac
39529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39530 (eval "$ac_compile") 2>conftest.er1
39531 ac_status=$?
39532 grep -v '^ *+' conftest.er1 >conftest.err
39533 rm -f conftest.er1
39534 cat conftest.err >&5
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); } && {
39537 test -z "$ac_c_werror_flag" ||
39538 test ! -s conftest.err
39539 } && test -s conftest.$ac_objext; then
39540 wx_cv_func_statvfs=yes
39541 else
39542 echo "$as_me: failed program was:" >&5
39543 sed 's/^/| /' conftest.$ac_ext >&5
39544
39545 wx_cv_func_statvfs=no
39546
39547 fi
39548
39549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39550
39551 fi
39552 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39553 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39554
39555 if test "$wx_cv_func_statvfs" = "yes"; then
39556 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39557 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39558 if test "${wx_cv_type_statvfs_t+set}" = set; then
39559 echo $ECHO_N "(cached) $ECHO_C" >&6
39560 else
39561 ac_ext=cpp
39562 ac_cpp='$CXXCPP $CPPFLAGS'
39563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39566
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 #include <sys/statvfs.h>
39575
39576 int
39577 main ()
39578 {
39579
39580 long l;
39581 statvfs_t fs;
39582 statvfs("/", &fs);
39583 l = fs.f_bsize;
39584 l += fs.f_blocks;
39585 l += fs.f_bavail;
39586
39587 ;
39588 return 0;
39589 }
39590 _ACEOF
39591 rm -f conftest.$ac_objext
39592 if { (ac_try="$ac_compile"
39593 case "(($ac_try" in
39594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39595 *) ac_try_echo=$ac_try;;
39596 esac
39597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39598 (eval "$ac_compile") 2>conftest.er1
39599 ac_status=$?
39600 grep -v '^ *+' conftest.er1 >conftest.err
39601 rm -f conftest.er1
39602 cat conftest.err >&5
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); } && {
39605 test -z "$ac_cxx_werror_flag" ||
39606 test ! -s conftest.err
39607 } && test -s conftest.$ac_objext; then
39608 wx_cv_type_statvfs_t=statvfs_t
39609 else
39610 echo "$as_me: failed program was:" >&5
39611 sed 's/^/| /' conftest.$ac_ext >&5
39612
39613
39614 cat >conftest.$ac_ext <<_ACEOF
39615 /* confdefs.h. */
39616 _ACEOF
39617 cat confdefs.h >>conftest.$ac_ext
39618 cat >>conftest.$ac_ext <<_ACEOF
39619 /* end confdefs.h. */
39620
39621 #include <sys/statvfs.h>
39622
39623 int
39624 main ()
39625 {
39626
39627 long l;
39628 struct statvfs fs;
39629 statvfs("/", &fs);
39630 l = fs.f_bsize;
39631 l += fs.f_blocks;
39632 l += fs.f_bavail;
39633
39634 ;
39635 return 0;
39636 }
39637 _ACEOF
39638 rm -f conftest.$ac_objext
39639 if { (ac_try="$ac_compile"
39640 case "(($ac_try" in
39641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39642 *) ac_try_echo=$ac_try;;
39643 esac
39644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39645 (eval "$ac_compile") 2>conftest.er1
39646 ac_status=$?
39647 grep -v '^ *+' conftest.er1 >conftest.err
39648 rm -f conftest.er1
39649 cat conftest.err >&5
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); } && {
39652 test -z "$ac_cxx_werror_flag" ||
39653 test ! -s conftest.err
39654 } && test -s conftest.$ac_objext; then
39655 wx_cv_type_statvfs_t="struct statvfs"
39656 else
39657 echo "$as_me: failed program was:" >&5
39658 sed 's/^/| /' conftest.$ac_ext >&5
39659
39660 wx_cv_type_statvfs_t="unknown"
39661
39662 fi
39663
39664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39665
39666
39667 fi
39668
39669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39670 ac_ext=c
39671 ac_cpp='$CPP $CPPFLAGS'
39672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39675
39676
39677 fi
39678 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39679 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39680
39681 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39682 cat >>confdefs.h <<\_ACEOF
39683 #define HAVE_STATVFS 1
39684 _ACEOF
39685
39686 fi
39687 else
39688 wx_cv_type_statvfs_t="unknown"
39689 fi
39690 fi
39691
39692 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39693 cat >>confdefs.h <<_ACEOF
39694 #define WX_STATFS_T $wx_cv_type_statvfs_t
39695 _ACEOF
39696
39697 else
39698 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39699 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39700 fi
39701
39702 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39703
39704
39705 for ac_func in fcntl flock
39706 do
39707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39708 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39710 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39711 echo $ECHO_N "(cached) $ECHO_C" >&6
39712 else
39713 cat >conftest.$ac_ext <<_ACEOF
39714 /* confdefs.h. */
39715 _ACEOF
39716 cat confdefs.h >>conftest.$ac_ext
39717 cat >>conftest.$ac_ext <<_ACEOF
39718 /* end confdefs.h. */
39719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39721 #define $ac_func innocuous_$ac_func
39722
39723 /* System header to define __stub macros and hopefully few prototypes,
39724 which can conflict with char $ac_func (); below.
39725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39726 <limits.h> exists even on freestanding compilers. */
39727
39728 #ifdef __STDC__
39729 # include <limits.h>
39730 #else
39731 # include <assert.h>
39732 #endif
39733
39734 #undef $ac_func
39735
39736 /* Override any GCC internal prototype to avoid an error.
39737 Use char because int might match the return type of a GCC
39738 builtin and then its argument prototype would still apply. */
39739 #ifdef __cplusplus
39740 extern "C"
39741 #endif
39742 char $ac_func ();
39743 /* The GNU C library defines this for functions which it implements
39744 to always fail with ENOSYS. Some functions are actually named
39745 something starting with __ and the normal name is an alias. */
39746 #if defined __stub_$ac_func || defined __stub___$ac_func
39747 choke me
39748 #endif
39749
39750 int
39751 main ()
39752 {
39753 return $ac_func ();
39754 ;
39755 return 0;
39756 }
39757 _ACEOF
39758 rm -f conftest.$ac_objext conftest$ac_exeext
39759 if { (ac_try="$ac_link"
39760 case "(($ac_try" in
39761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39762 *) ac_try_echo=$ac_try;;
39763 esac
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_link") 2>conftest.er1
39766 ac_status=$?
39767 grep -v '^ *+' conftest.er1 >conftest.err
39768 rm -f conftest.er1
39769 cat conftest.err >&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest$ac_exeext &&
39775 $as_test_x conftest$ac_exeext; then
39776 eval "$as_ac_var=yes"
39777 else
39778 echo "$as_me: failed program was:" >&5
39779 sed 's/^/| /' conftest.$ac_ext >&5
39780
39781 eval "$as_ac_var=no"
39782 fi
39783
39784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39785 conftest$ac_exeext conftest.$ac_ext
39786 fi
39787 ac_res=`eval echo '${'$as_ac_var'}'`
39788 { echo "$as_me:$LINENO: result: $ac_res" >&5
39789 echo "${ECHO_T}$ac_res" >&6; }
39790 if test `eval echo '${'$as_ac_var'}'` = yes; then
39791 cat >>confdefs.h <<_ACEOF
39792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39793 _ACEOF
39794 break
39795 fi
39796 done
39797
39798
39799 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39800 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39801 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39802 wxUSE_SNGLINST_CHECKER=no
39803 fi
39804 fi
39805
39806
39807 for ac_func in timegm
39808 do
39809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39810 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39812 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39814 else
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39823 #define $ac_func innocuous_$ac_func
39824
39825 /* System header to define __stub macros and hopefully few prototypes,
39826 which can conflict with char $ac_func (); below.
39827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39828 <limits.h> exists even on freestanding compilers. */
39829
39830 #ifdef __STDC__
39831 # include <limits.h>
39832 #else
39833 # include <assert.h>
39834 #endif
39835
39836 #undef $ac_func
39837
39838 /* Override any GCC internal prototype to avoid an error.
39839 Use char because int might match the return type of a GCC
39840 builtin and then its argument prototype would still apply. */
39841 #ifdef __cplusplus
39842 extern "C"
39843 #endif
39844 char $ac_func ();
39845 /* The GNU C library defines this for functions which it implements
39846 to always fail with ENOSYS. Some functions are actually named
39847 something starting with __ and the normal name is an alias. */
39848 #if defined __stub_$ac_func || defined __stub___$ac_func
39849 choke me
39850 #endif
39851
39852 int
39853 main ()
39854 {
39855 return $ac_func ();
39856 ;
39857 return 0;
39858 }
39859 _ACEOF
39860 rm -f conftest.$ac_objext conftest$ac_exeext
39861 if { (ac_try="$ac_link"
39862 case "(($ac_try" in
39863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39864 *) ac_try_echo=$ac_try;;
39865 esac
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_link") 2>conftest.er1
39868 ac_status=$?
39869 grep -v '^ *+' conftest.er1 >conftest.err
39870 rm -f conftest.er1
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } && {
39874 test -z "$ac_c_werror_flag" ||
39875 test ! -s conftest.err
39876 } && test -s conftest$ac_exeext &&
39877 $as_test_x conftest$ac_exeext; then
39878 eval "$as_ac_var=yes"
39879 else
39880 echo "$as_me: failed program was:" >&5
39881 sed 's/^/| /' conftest.$ac_ext >&5
39882
39883 eval "$as_ac_var=no"
39884 fi
39885
39886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39887 conftest$ac_exeext conftest.$ac_ext
39888 fi
39889 ac_res=`eval echo '${'$as_ac_var'}'`
39890 { echo "$as_me:$LINENO: result: $ac_res" >&5
39891 echo "${ECHO_T}$ac_res" >&6; }
39892 if test `eval echo '${'$as_ac_var'}'` = yes; then
39893 cat >>confdefs.h <<_ACEOF
39894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39895 _ACEOF
39896
39897 fi
39898 done
39899
39900
39901
39902
39903 for ac_func in setenv putenv
39904 do
39905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39909 echo $ECHO_N "(cached) $ECHO_C" >&6
39910 else
39911 cat >conftest.$ac_ext <<_ACEOF
39912 /* confdefs.h. */
39913 _ACEOF
39914 cat confdefs.h >>conftest.$ac_ext
39915 cat >>conftest.$ac_ext <<_ACEOF
39916 /* end confdefs.h. */
39917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39919 #define $ac_func innocuous_$ac_func
39920
39921 /* System header to define __stub macros and hopefully few prototypes,
39922 which can conflict with char $ac_func (); below.
39923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39924 <limits.h> exists even on freestanding compilers. */
39925
39926 #ifdef __STDC__
39927 # include <limits.h>
39928 #else
39929 # include <assert.h>
39930 #endif
39931
39932 #undef $ac_func
39933
39934 /* Override any GCC internal prototype to avoid an error.
39935 Use char because int might match the return type of a GCC
39936 builtin and then its argument prototype would still apply. */
39937 #ifdef __cplusplus
39938 extern "C"
39939 #endif
39940 char $ac_func ();
39941 /* The GNU C library defines this for functions which it implements
39942 to always fail with ENOSYS. Some functions are actually named
39943 something starting with __ and the normal name is an alias. */
39944 #if defined __stub_$ac_func || defined __stub___$ac_func
39945 choke me
39946 #endif
39947
39948 int
39949 main ()
39950 {
39951 return $ac_func ();
39952 ;
39953 return 0;
39954 }
39955 _ACEOF
39956 rm -f conftest.$ac_objext conftest$ac_exeext
39957 if { (ac_try="$ac_link"
39958 case "(($ac_try" in
39959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39960 *) ac_try_echo=$ac_try;;
39961 esac
39962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39963 (eval "$ac_link") 2>conftest.er1
39964 ac_status=$?
39965 grep -v '^ *+' conftest.er1 >conftest.err
39966 rm -f conftest.er1
39967 cat conftest.err >&5
39968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39969 (exit $ac_status); } && {
39970 test -z "$ac_c_werror_flag" ||
39971 test ! -s conftest.err
39972 } && test -s conftest$ac_exeext &&
39973 $as_test_x conftest$ac_exeext; then
39974 eval "$as_ac_var=yes"
39975 else
39976 echo "$as_me: failed program was:" >&5
39977 sed 's/^/| /' conftest.$ac_ext >&5
39978
39979 eval "$as_ac_var=no"
39980 fi
39981
39982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39983 conftest$ac_exeext conftest.$ac_ext
39984 fi
39985 ac_res=`eval echo '${'$as_ac_var'}'`
39986 { echo "$as_me:$LINENO: result: $ac_res" >&5
39987 echo "${ECHO_T}$ac_res" >&6; }
39988 if test `eval echo '${'$as_ac_var'}'` = yes; then
39989 cat >>confdefs.h <<_ACEOF
39990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39991 _ACEOF
39992 break
39993 fi
39994 done
39995
39996
39997 HAVE_SOME_SLEEP_FUNC=0
39998 if test "$USE_BEOS" = 1; then
39999 cat >>confdefs.h <<\_ACEOF
40000 #define HAVE_SLEEP 1
40001 _ACEOF
40002
40003 HAVE_SOME_SLEEP_FUNC=1
40004 fi
40005
40006 if test "$USE_DARWIN" = 1; then
40007 cat >>confdefs.h <<\_ACEOF
40008 #define HAVE_USLEEP 1
40009 _ACEOF
40010
40011 HAVE_SOME_SLEEP_FUNC=1
40012 fi
40013
40014 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40015 POSIX4_LINK=
40016
40017 for ac_func in nanosleep
40018 do
40019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40020 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40022 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40023 echo $ECHO_N "(cached) $ECHO_C" >&6
40024 else
40025 cat >conftest.$ac_ext <<_ACEOF
40026 /* confdefs.h. */
40027 _ACEOF
40028 cat confdefs.h >>conftest.$ac_ext
40029 cat >>conftest.$ac_ext <<_ACEOF
40030 /* end confdefs.h. */
40031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40033 #define $ac_func innocuous_$ac_func
40034
40035 /* System header to define __stub macros and hopefully few prototypes,
40036 which can conflict with char $ac_func (); below.
40037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40038 <limits.h> exists even on freestanding compilers. */
40039
40040 #ifdef __STDC__
40041 # include <limits.h>
40042 #else
40043 # include <assert.h>
40044 #endif
40045
40046 #undef $ac_func
40047
40048 /* Override any GCC internal prototype to avoid an error.
40049 Use char because int might match the return type of a GCC
40050 builtin and then its argument prototype would still apply. */
40051 #ifdef __cplusplus
40052 extern "C"
40053 #endif
40054 char $ac_func ();
40055 /* The GNU C library defines this for functions which it implements
40056 to always fail with ENOSYS. Some functions are actually named
40057 something starting with __ and the normal name is an alias. */
40058 #if defined __stub_$ac_func || defined __stub___$ac_func
40059 choke me
40060 #endif
40061
40062 int
40063 main ()
40064 {
40065 return $ac_func ();
40066 ;
40067 return 0;
40068 }
40069 _ACEOF
40070 rm -f conftest.$ac_objext conftest$ac_exeext
40071 if { (ac_try="$ac_link"
40072 case "(($ac_try" in
40073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40074 *) ac_try_echo=$ac_try;;
40075 esac
40076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40077 (eval "$ac_link") 2>conftest.er1
40078 ac_status=$?
40079 grep -v '^ *+' conftest.er1 >conftest.err
40080 rm -f conftest.er1
40081 cat conftest.err >&5
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); } && {
40084 test -z "$ac_c_werror_flag" ||
40085 test ! -s conftest.err
40086 } && test -s conftest$ac_exeext &&
40087 $as_test_x conftest$ac_exeext; then
40088 eval "$as_ac_var=yes"
40089 else
40090 echo "$as_me: failed program was:" >&5
40091 sed 's/^/| /' conftest.$ac_ext >&5
40092
40093 eval "$as_ac_var=no"
40094 fi
40095
40096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40097 conftest$ac_exeext conftest.$ac_ext
40098 fi
40099 ac_res=`eval echo '${'$as_ac_var'}'`
40100 { echo "$as_me:$LINENO: result: $ac_res" >&5
40101 echo "${ECHO_T}$ac_res" >&6; }
40102 if test `eval echo '${'$as_ac_var'}'` = yes; then
40103 cat >>confdefs.h <<_ACEOF
40104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40105 _ACEOF
40106 cat >>confdefs.h <<\_ACEOF
40107 #define HAVE_NANOSLEEP 1
40108 _ACEOF
40109
40110 else
40111
40112 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40113 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40114 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40115 echo $ECHO_N "(cached) $ECHO_C" >&6
40116 else
40117 ac_check_lib_save_LIBS=$LIBS
40118 LIBS="-lposix4 $LIBS"
40119 cat >conftest.$ac_ext <<_ACEOF
40120 /* confdefs.h. */
40121 _ACEOF
40122 cat confdefs.h >>conftest.$ac_ext
40123 cat >>conftest.$ac_ext <<_ACEOF
40124 /* end confdefs.h. */
40125
40126 /* Override any GCC internal prototype to avoid an error.
40127 Use char because int might match the return type of a GCC
40128 builtin and then its argument prototype would still apply. */
40129 #ifdef __cplusplus
40130 extern "C"
40131 #endif
40132 char nanosleep ();
40133 int
40134 main ()
40135 {
40136 return nanosleep ();
40137 ;
40138 return 0;
40139 }
40140 _ACEOF
40141 rm -f conftest.$ac_objext conftest$ac_exeext
40142 if { (ac_try="$ac_link"
40143 case "(($ac_try" in
40144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40145 *) ac_try_echo=$ac_try;;
40146 esac
40147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40148 (eval "$ac_link") 2>conftest.er1
40149 ac_status=$?
40150 grep -v '^ *+' conftest.er1 >conftest.err
40151 rm -f conftest.er1
40152 cat conftest.err >&5
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); } && {
40155 test -z "$ac_c_werror_flag" ||
40156 test ! -s conftest.err
40157 } && test -s conftest$ac_exeext &&
40158 $as_test_x conftest$ac_exeext; then
40159 ac_cv_lib_posix4_nanosleep=yes
40160 else
40161 echo "$as_me: failed program was:" >&5
40162 sed 's/^/| /' conftest.$ac_ext >&5
40163
40164 ac_cv_lib_posix4_nanosleep=no
40165 fi
40166
40167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40168 conftest$ac_exeext conftest.$ac_ext
40169 LIBS=$ac_check_lib_save_LIBS
40170 fi
40171 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40172 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40173 if test $ac_cv_lib_posix4_nanosleep = yes; then
40174
40175 cat >>confdefs.h <<\_ACEOF
40176 #define HAVE_NANOSLEEP 1
40177 _ACEOF
40178
40179 POSIX4_LINK=" -lposix4"
40180
40181 else
40182
40183
40184 for wx_func in usleep
40185 do
40186 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40187 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40188 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40189 echo $ECHO_N "(cached) $ECHO_C" >&6
40190 else
40191
40192 cat >conftest.$ac_ext <<_ACEOF
40193
40194 /* confdefs.h. */
40195 _ACEOF
40196 cat confdefs.h >>conftest.$ac_ext
40197 cat >>conftest.$ac_ext <<_ACEOF
40198 /* end confdefs.h. */
40199
40200
40201 $ac_includes_default
40202
40203 int
40204 main ()
40205 {
40206
40207 #ifndef $wx_func
40208 &$wx_func;
40209 #endif
40210
40211
40212 ;
40213 return 0;
40214 }
40215
40216 _ACEOF
40217 rm -f conftest.$ac_objext conftest$ac_exeext
40218 if { (ac_try="$ac_link"
40219 case "(($ac_try" in
40220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40221 *) ac_try_echo=$ac_try;;
40222 esac
40223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40224 (eval "$ac_link") 2>conftest.er1
40225 ac_status=$?
40226 grep -v '^ *+' conftest.er1 >conftest.err
40227 rm -f conftest.er1
40228 cat conftest.err >&5
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); } && {
40231 test -z "$ac_c_werror_flag" ||
40232 test ! -s conftest.err
40233 } && test -s conftest$ac_exeext &&
40234 $as_test_x conftest$ac_exeext; then
40235 eval wx_cv_func_$wx_func=yes
40236 else
40237 echo "$as_me: failed program was:" >&5
40238 sed 's/^/| /' conftest.$ac_ext >&5
40239
40240 eval wx_cv_func_$wx_func=no
40241 fi
40242
40243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40244 conftest$ac_exeext conftest.$ac_ext
40245
40246 fi
40247 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40248 { echo "$as_me:$LINENO: result: $ac_res" >&5
40249 echo "${ECHO_T}$ac_res" >&6; }
40250
40251 if eval test \$wx_cv_func_$wx_func = yes
40252 then
40253 cat >>confdefs.h <<_ACEOF
40254 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40255 _ACEOF
40256
40257
40258 else
40259 :
40260 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40261 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40262
40263 fi
40264 done
40265
40266
40267
40268 fi
40269
40270
40271
40272 fi
40273 done
40274
40275 fi
40276
40277
40278 for wx_func in uname
40279 do
40280 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40281 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40282 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40283 echo $ECHO_N "(cached) $ECHO_C" >&6
40284 else
40285
40286 cat >conftest.$ac_ext <<_ACEOF
40287
40288 /* confdefs.h. */
40289 _ACEOF
40290 cat confdefs.h >>conftest.$ac_ext
40291 cat >>conftest.$ac_ext <<_ACEOF
40292 /* end confdefs.h. */
40293
40294 #include <sys/utsname.h>
40295 $ac_includes_default
40296
40297 int
40298 main ()
40299 {
40300
40301 #ifndef $wx_func
40302 &$wx_func;
40303 #endif
40304
40305
40306 ;
40307 return 0;
40308 }
40309
40310 _ACEOF
40311 rm -f conftest.$ac_objext conftest$ac_exeext
40312 if { (ac_try="$ac_link"
40313 case "(($ac_try" in
40314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40315 *) ac_try_echo=$ac_try;;
40316 esac
40317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40318 (eval "$ac_link") 2>conftest.er1
40319 ac_status=$?
40320 grep -v '^ *+' conftest.er1 >conftest.err
40321 rm -f conftest.er1
40322 cat conftest.err >&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } && {
40325 test -z "$ac_c_werror_flag" ||
40326 test ! -s conftest.err
40327 } && test -s conftest$ac_exeext &&
40328 $as_test_x conftest$ac_exeext; then
40329 eval wx_cv_func_$wx_func=yes
40330 else
40331 echo "$as_me: failed program was:" >&5
40332 sed 's/^/| /' conftest.$ac_ext >&5
40333
40334 eval wx_cv_func_$wx_func=no
40335 fi
40336
40337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40338 conftest$ac_exeext conftest.$ac_ext
40339
40340 fi
40341 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40342 { echo "$as_me:$LINENO: result: $ac_res" >&5
40343 echo "${ECHO_T}$ac_res" >&6; }
40344
40345 if eval test \$wx_cv_func_$wx_func = yes
40346 then
40347 cat >>confdefs.h <<_ACEOF
40348 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40349 _ACEOF
40350
40351
40352 else
40353 :
40354
40355 fi
40356 done
40357
40358 if test "$wx_cv_func_uname" != yes; then
40359
40360 for wx_func in gethostname
40361 do
40362 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40363 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40364 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40365 echo $ECHO_N "(cached) $ECHO_C" >&6
40366 else
40367
40368 cat >conftest.$ac_ext <<_ACEOF
40369
40370 /* confdefs.h. */
40371 _ACEOF
40372 cat confdefs.h >>conftest.$ac_ext
40373 cat >>conftest.$ac_ext <<_ACEOF
40374 /* end confdefs.h. */
40375
40376
40377 $ac_includes_default
40378
40379 int
40380 main ()
40381 {
40382
40383 #ifndef $wx_func
40384 &$wx_func;
40385 #endif
40386
40387
40388 ;
40389 return 0;
40390 }
40391
40392 _ACEOF
40393 rm -f conftest.$ac_objext conftest$ac_exeext
40394 if { (ac_try="$ac_link"
40395 case "(($ac_try" in
40396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40397 *) ac_try_echo=$ac_try;;
40398 esac
40399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40400 (eval "$ac_link") 2>conftest.er1
40401 ac_status=$?
40402 grep -v '^ *+' conftest.er1 >conftest.err
40403 rm -f conftest.er1
40404 cat conftest.err >&5
40405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40406 (exit $ac_status); } && {
40407 test -z "$ac_c_werror_flag" ||
40408 test ! -s conftest.err
40409 } && test -s conftest$ac_exeext &&
40410 $as_test_x conftest$ac_exeext; then
40411 eval wx_cv_func_$wx_func=yes
40412 else
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.$ac_ext >&5
40415
40416 eval wx_cv_func_$wx_func=no
40417 fi
40418
40419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40420 conftest$ac_exeext conftest.$ac_ext
40421
40422 fi
40423 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40424 { echo "$as_me:$LINENO: result: $ac_res" >&5
40425 echo "${ECHO_T}$ac_res" >&6; }
40426
40427 if eval test \$wx_cv_func_$wx_func = yes
40428 then
40429 cat >>confdefs.h <<_ACEOF
40430 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40431 _ACEOF
40432
40433
40434 else
40435 :
40436
40437 fi
40438 done
40439
40440 fi
40441
40442
40443 for wx_func in strtok_r
40444 do
40445 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40446 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40447 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40448 echo $ECHO_N "(cached) $ECHO_C" >&6
40449 else
40450
40451 cat >conftest.$ac_ext <<_ACEOF
40452
40453 /* confdefs.h. */
40454 _ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40458
40459 #define _REENTRANT
40460 $ac_includes_default
40461
40462 int
40463 main ()
40464 {
40465
40466 #ifndef $wx_func
40467 &$wx_func;
40468 #endif
40469
40470
40471 ;
40472 return 0;
40473 }
40474
40475 _ACEOF
40476 rm -f conftest.$ac_objext conftest$ac_exeext
40477 if { (ac_try="$ac_link"
40478 case "(($ac_try" in
40479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40480 *) ac_try_echo=$ac_try;;
40481 esac
40482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40483 (eval "$ac_link") 2>conftest.er1
40484 ac_status=$?
40485 grep -v '^ *+' conftest.er1 >conftest.err
40486 rm -f conftest.er1
40487 cat conftest.err >&5
40488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40489 (exit $ac_status); } && {
40490 test -z "$ac_c_werror_flag" ||
40491 test ! -s conftest.err
40492 } && test -s conftest$ac_exeext &&
40493 $as_test_x conftest$ac_exeext; then
40494 eval wx_cv_func_$wx_func=yes
40495 else
40496 echo "$as_me: failed program was:" >&5
40497 sed 's/^/| /' conftest.$ac_ext >&5
40498
40499 eval wx_cv_func_$wx_func=no
40500 fi
40501
40502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40503 conftest$ac_exeext conftest.$ac_ext
40504
40505 fi
40506 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40507 { echo "$as_me:$LINENO: result: $ac_res" >&5
40508 echo "${ECHO_T}$ac_res" >&6; }
40509
40510 if eval test \$wx_cv_func_$wx_func = yes
40511 then
40512 cat >>confdefs.h <<_ACEOF
40513 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40514 _ACEOF
40515
40516
40517 else
40518 :
40519
40520 fi
40521 done
40522
40523
40524 INET_LINK=
40525
40526 for ac_func in inet_addr
40527 do
40528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40529 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40531 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40532 echo $ECHO_N "(cached) $ECHO_C" >&6
40533 else
40534 cat >conftest.$ac_ext <<_ACEOF
40535 /* confdefs.h. */
40536 _ACEOF
40537 cat confdefs.h >>conftest.$ac_ext
40538 cat >>conftest.$ac_ext <<_ACEOF
40539 /* end confdefs.h. */
40540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40542 #define $ac_func innocuous_$ac_func
40543
40544 /* System header to define __stub macros and hopefully few prototypes,
40545 which can conflict with char $ac_func (); below.
40546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40547 <limits.h> exists even on freestanding compilers. */
40548
40549 #ifdef __STDC__
40550 # include <limits.h>
40551 #else
40552 # include <assert.h>
40553 #endif
40554
40555 #undef $ac_func
40556
40557 /* Override any GCC internal prototype to avoid an error.
40558 Use char because int might match the return type of a GCC
40559 builtin and then its argument prototype would still apply. */
40560 #ifdef __cplusplus
40561 extern "C"
40562 #endif
40563 char $ac_func ();
40564 /* The GNU C library defines this for functions which it implements
40565 to always fail with ENOSYS. Some functions are actually named
40566 something starting with __ and the normal name is an alias. */
40567 #if defined __stub_$ac_func || defined __stub___$ac_func
40568 choke me
40569 #endif
40570
40571 int
40572 main ()
40573 {
40574 return $ac_func ();
40575 ;
40576 return 0;
40577 }
40578 _ACEOF
40579 rm -f conftest.$ac_objext conftest$ac_exeext
40580 if { (ac_try="$ac_link"
40581 case "(($ac_try" in
40582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40583 *) ac_try_echo=$ac_try;;
40584 esac
40585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40586 (eval "$ac_link") 2>conftest.er1
40587 ac_status=$?
40588 grep -v '^ *+' conftest.er1 >conftest.err
40589 rm -f conftest.er1
40590 cat conftest.err >&5
40591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40592 (exit $ac_status); } && {
40593 test -z "$ac_c_werror_flag" ||
40594 test ! -s conftest.err
40595 } && test -s conftest$ac_exeext &&
40596 $as_test_x conftest$ac_exeext; then
40597 eval "$as_ac_var=yes"
40598 else
40599 echo "$as_me: failed program was:" >&5
40600 sed 's/^/| /' conftest.$ac_ext >&5
40601
40602 eval "$as_ac_var=no"
40603 fi
40604
40605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40606 conftest$ac_exeext conftest.$ac_ext
40607 fi
40608 ac_res=`eval echo '${'$as_ac_var'}'`
40609 { echo "$as_me:$LINENO: result: $ac_res" >&5
40610 echo "${ECHO_T}$ac_res" >&6; }
40611 if test `eval echo '${'$as_ac_var'}'` = yes; then
40612 cat >>confdefs.h <<_ACEOF
40613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40614 _ACEOF
40615 cat >>confdefs.h <<\_ACEOF
40616 #define HAVE_INET_ADDR 1
40617 _ACEOF
40618
40619 else
40620
40621 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40622 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40623 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40624 echo $ECHO_N "(cached) $ECHO_C" >&6
40625 else
40626 ac_check_lib_save_LIBS=$LIBS
40627 LIBS="-lnsl $LIBS"
40628 cat >conftest.$ac_ext <<_ACEOF
40629 /* confdefs.h. */
40630 _ACEOF
40631 cat confdefs.h >>conftest.$ac_ext
40632 cat >>conftest.$ac_ext <<_ACEOF
40633 /* end confdefs.h. */
40634
40635 /* Override any GCC internal prototype to avoid an error.
40636 Use char because int might match the return type of a GCC
40637 builtin and then its argument prototype would still apply. */
40638 #ifdef __cplusplus
40639 extern "C"
40640 #endif
40641 char inet_addr ();
40642 int
40643 main ()
40644 {
40645 return inet_addr ();
40646 ;
40647 return 0;
40648 }
40649 _ACEOF
40650 rm -f conftest.$ac_objext conftest$ac_exeext
40651 if { (ac_try="$ac_link"
40652 case "(($ac_try" in
40653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40654 *) ac_try_echo=$ac_try;;
40655 esac
40656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40657 (eval "$ac_link") 2>conftest.er1
40658 ac_status=$?
40659 grep -v '^ *+' conftest.er1 >conftest.err
40660 rm -f conftest.er1
40661 cat conftest.err >&5
40662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663 (exit $ac_status); } && {
40664 test -z "$ac_c_werror_flag" ||
40665 test ! -s conftest.err
40666 } && test -s conftest$ac_exeext &&
40667 $as_test_x conftest$ac_exeext; then
40668 ac_cv_lib_nsl_inet_addr=yes
40669 else
40670 echo "$as_me: failed program was:" >&5
40671 sed 's/^/| /' conftest.$ac_ext >&5
40672
40673 ac_cv_lib_nsl_inet_addr=no
40674 fi
40675
40676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40677 conftest$ac_exeext conftest.$ac_ext
40678 LIBS=$ac_check_lib_save_LIBS
40679 fi
40680 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40681 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40682 if test $ac_cv_lib_nsl_inet_addr = yes; then
40683 INET_LINK="nsl"
40684 else
40685
40686 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40687 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40688 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40689 echo $ECHO_N "(cached) $ECHO_C" >&6
40690 else
40691 ac_check_lib_save_LIBS=$LIBS
40692 LIBS="-lresolv $LIBS"
40693 cat >conftest.$ac_ext <<_ACEOF
40694 /* confdefs.h. */
40695 _ACEOF
40696 cat confdefs.h >>conftest.$ac_ext
40697 cat >>conftest.$ac_ext <<_ACEOF
40698 /* end confdefs.h. */
40699
40700 /* Override any GCC internal prototype to avoid an error.
40701 Use char because int might match the return type of a GCC
40702 builtin and then its argument prototype would still apply. */
40703 #ifdef __cplusplus
40704 extern "C"
40705 #endif
40706 char inet_addr ();
40707 int
40708 main ()
40709 {
40710 return inet_addr ();
40711 ;
40712 return 0;
40713 }
40714 _ACEOF
40715 rm -f conftest.$ac_objext conftest$ac_exeext
40716 if { (ac_try="$ac_link"
40717 case "(($ac_try" in
40718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40719 *) ac_try_echo=$ac_try;;
40720 esac
40721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40722 (eval "$ac_link") 2>conftest.er1
40723 ac_status=$?
40724 grep -v '^ *+' conftest.er1 >conftest.err
40725 rm -f conftest.er1
40726 cat conftest.err >&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); } && {
40729 test -z "$ac_c_werror_flag" ||
40730 test ! -s conftest.err
40731 } && test -s conftest$ac_exeext &&
40732 $as_test_x conftest$ac_exeext; then
40733 ac_cv_lib_resolv_inet_addr=yes
40734 else
40735 echo "$as_me: failed program was:" >&5
40736 sed 's/^/| /' conftest.$ac_ext >&5
40737
40738 ac_cv_lib_resolv_inet_addr=no
40739 fi
40740
40741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40742 conftest$ac_exeext conftest.$ac_ext
40743 LIBS=$ac_check_lib_save_LIBS
40744 fi
40745 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40746 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40747 if test $ac_cv_lib_resolv_inet_addr = yes; then
40748 INET_LINK="resolv"
40749 else
40750
40751 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40752 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40753 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40754 echo $ECHO_N "(cached) $ECHO_C" >&6
40755 else
40756 ac_check_lib_save_LIBS=$LIBS
40757 LIBS="-lsocket $LIBS"
40758 cat >conftest.$ac_ext <<_ACEOF
40759 /* confdefs.h. */
40760 _ACEOF
40761 cat confdefs.h >>conftest.$ac_ext
40762 cat >>conftest.$ac_ext <<_ACEOF
40763 /* end confdefs.h. */
40764
40765 /* Override any GCC internal prototype to avoid an error.
40766 Use char because int might match the return type of a GCC
40767 builtin and then its argument prototype would still apply. */
40768 #ifdef __cplusplus
40769 extern "C"
40770 #endif
40771 char inet_addr ();
40772 int
40773 main ()
40774 {
40775 return inet_addr ();
40776 ;
40777 return 0;
40778 }
40779 _ACEOF
40780 rm -f conftest.$ac_objext conftest$ac_exeext
40781 if { (ac_try="$ac_link"
40782 case "(($ac_try" in
40783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40784 *) ac_try_echo=$ac_try;;
40785 esac
40786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40787 (eval "$ac_link") 2>conftest.er1
40788 ac_status=$?
40789 grep -v '^ *+' conftest.er1 >conftest.err
40790 rm -f conftest.er1
40791 cat conftest.err >&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); } && {
40794 test -z "$ac_c_werror_flag" ||
40795 test ! -s conftest.err
40796 } && test -s conftest$ac_exeext &&
40797 $as_test_x conftest$ac_exeext; then
40798 ac_cv_lib_socket_inet_addr=yes
40799 else
40800 echo "$as_me: failed program was:" >&5
40801 sed 's/^/| /' conftest.$ac_ext >&5
40802
40803 ac_cv_lib_socket_inet_addr=no
40804 fi
40805
40806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40807 conftest$ac_exeext conftest.$ac_ext
40808 LIBS=$ac_check_lib_save_LIBS
40809 fi
40810 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40811 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40812 if test $ac_cv_lib_socket_inet_addr = yes; then
40813 INET_LINK="socket"
40814
40815 fi
40816
40817
40818
40819 fi
40820
40821
40822
40823 fi
40824
40825
40826
40827 fi
40828 done
40829
40830
40831
40832 for ac_func in inet_aton
40833 do
40834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40837 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40838 echo $ECHO_N "(cached) $ECHO_C" >&6
40839 else
40840 cat >conftest.$ac_ext <<_ACEOF
40841 /* confdefs.h. */
40842 _ACEOF
40843 cat confdefs.h >>conftest.$ac_ext
40844 cat >>conftest.$ac_ext <<_ACEOF
40845 /* end confdefs.h. */
40846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40848 #define $ac_func innocuous_$ac_func
40849
40850 /* System header to define __stub macros and hopefully few prototypes,
40851 which can conflict with char $ac_func (); below.
40852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40853 <limits.h> exists even on freestanding compilers. */
40854
40855 #ifdef __STDC__
40856 # include <limits.h>
40857 #else
40858 # include <assert.h>
40859 #endif
40860
40861 #undef $ac_func
40862
40863 /* Override any GCC internal prototype to avoid an error.
40864 Use char because int might match the return type of a GCC
40865 builtin and then its argument prototype would still apply. */
40866 #ifdef __cplusplus
40867 extern "C"
40868 #endif
40869 char $ac_func ();
40870 /* The GNU C library defines this for functions which it implements
40871 to always fail with ENOSYS. Some functions are actually named
40872 something starting with __ and the normal name is an alias. */
40873 #if defined __stub_$ac_func || defined __stub___$ac_func
40874 choke me
40875 #endif
40876
40877 int
40878 main ()
40879 {
40880 return $ac_func ();
40881 ;
40882 return 0;
40883 }
40884 _ACEOF
40885 rm -f conftest.$ac_objext conftest$ac_exeext
40886 if { (ac_try="$ac_link"
40887 case "(($ac_try" in
40888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40889 *) ac_try_echo=$ac_try;;
40890 esac
40891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40892 (eval "$ac_link") 2>conftest.er1
40893 ac_status=$?
40894 grep -v '^ *+' conftest.er1 >conftest.err
40895 rm -f conftest.er1
40896 cat conftest.err >&5
40897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40898 (exit $ac_status); } && {
40899 test -z "$ac_c_werror_flag" ||
40900 test ! -s conftest.err
40901 } && test -s conftest$ac_exeext &&
40902 $as_test_x conftest$ac_exeext; then
40903 eval "$as_ac_var=yes"
40904 else
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.$ac_ext >&5
40907
40908 eval "$as_ac_var=no"
40909 fi
40910
40911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40912 conftest$ac_exeext conftest.$ac_ext
40913 fi
40914 ac_res=`eval echo '${'$as_ac_var'}'`
40915 { echo "$as_me:$LINENO: result: $ac_res" >&5
40916 echo "${ECHO_T}$ac_res" >&6; }
40917 if test `eval echo '${'$as_ac_var'}'` = yes; then
40918 cat >>confdefs.h <<_ACEOF
40919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40920 _ACEOF
40921 cat >>confdefs.h <<\_ACEOF
40922 #define HAVE_INET_ATON 1
40923 _ACEOF
40924
40925 else
40926
40927 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40928 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40929 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40930 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40931 echo $ECHO_N "(cached) $ECHO_C" >&6
40932 else
40933 ac_check_lib_save_LIBS=$LIBS
40934 LIBS="-l$INET_LINK $LIBS"
40935 cat >conftest.$ac_ext <<_ACEOF
40936 /* confdefs.h. */
40937 _ACEOF
40938 cat confdefs.h >>conftest.$ac_ext
40939 cat >>conftest.$ac_ext <<_ACEOF
40940 /* end confdefs.h. */
40941
40942 /* Override any GCC internal prototype to avoid an error.
40943 Use char because int might match the return type of a GCC
40944 builtin and then its argument prototype would still apply. */
40945 #ifdef __cplusplus
40946 extern "C"
40947 #endif
40948 char inet_aton ();
40949 int
40950 main ()
40951 {
40952 return inet_aton ();
40953 ;
40954 return 0;
40955 }
40956 _ACEOF
40957 rm -f conftest.$ac_objext conftest$ac_exeext
40958 if { (ac_try="$ac_link"
40959 case "(($ac_try" in
40960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40961 *) ac_try_echo=$ac_try;;
40962 esac
40963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40964 (eval "$ac_link") 2>conftest.er1
40965 ac_status=$?
40966 grep -v '^ *+' conftest.er1 >conftest.err
40967 rm -f conftest.er1
40968 cat conftest.err >&5
40969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40970 (exit $ac_status); } && {
40971 test -z "$ac_c_werror_flag" ||
40972 test ! -s conftest.err
40973 } && test -s conftest$ac_exeext &&
40974 $as_test_x conftest$ac_exeext; then
40975 eval "$as_ac_Lib=yes"
40976 else
40977 echo "$as_me: failed program was:" >&5
40978 sed 's/^/| /' conftest.$ac_ext >&5
40979
40980 eval "$as_ac_Lib=no"
40981 fi
40982
40983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40984 conftest$ac_exeext conftest.$ac_ext
40985 LIBS=$ac_check_lib_save_LIBS
40986 fi
40987 ac_res=`eval echo '${'$as_ac_Lib'}'`
40988 { echo "$as_me:$LINENO: result: $ac_res" >&5
40989 echo "${ECHO_T}$ac_res" >&6; }
40990 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40991 cat >>confdefs.h <<\_ACEOF
40992 #define HAVE_INET_ATON 1
40993 _ACEOF
40994
40995 fi
40996
40997
40998 fi
40999 done
41000
41001
41002 if test "x$INET_LINK" != "x"; then
41003 cat >>confdefs.h <<\_ACEOF
41004 #define HAVE_INET_ADDR 1
41005 _ACEOF
41006
41007 INET_LINK=" -l$INET_LINK"
41008 fi
41009
41010
41011 for wx_func in fdopen
41012 do
41013 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41014 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41015 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41017 else
41018
41019 cat >conftest.$ac_ext <<_ACEOF
41020
41021 /* confdefs.h. */
41022 _ACEOF
41023 cat confdefs.h >>conftest.$ac_ext
41024 cat >>conftest.$ac_ext <<_ACEOF
41025 /* end confdefs.h. */
41026
41027
41028 $ac_includes_default
41029
41030 int
41031 main ()
41032 {
41033
41034 #ifndef $wx_func
41035 &$wx_func;
41036 #endif
41037
41038
41039 ;
41040 return 0;
41041 }
41042
41043 _ACEOF
41044 rm -f conftest.$ac_objext conftest$ac_exeext
41045 if { (ac_try="$ac_link"
41046 case "(($ac_try" in
41047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41048 *) ac_try_echo=$ac_try;;
41049 esac
41050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41051 (eval "$ac_link") 2>conftest.er1
41052 ac_status=$?
41053 grep -v '^ *+' conftest.er1 >conftest.err
41054 rm -f conftest.er1
41055 cat conftest.err >&5
41056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41057 (exit $ac_status); } && {
41058 test -z "$ac_c_werror_flag" ||
41059 test ! -s conftest.err
41060 } && test -s conftest$ac_exeext &&
41061 $as_test_x conftest$ac_exeext; then
41062 eval wx_cv_func_$wx_func=yes
41063 else
41064 echo "$as_me: failed program was:" >&5
41065 sed 's/^/| /' conftest.$ac_ext >&5
41066
41067 eval wx_cv_func_$wx_func=no
41068 fi
41069
41070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41071 conftest$ac_exeext conftest.$ac_ext
41072
41073 fi
41074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41075 { echo "$as_me:$LINENO: result: $ac_res" >&5
41076 echo "${ECHO_T}$ac_res" >&6; }
41077
41078 if eval test \$wx_cv_func_$wx_func = yes
41079 then
41080 cat >>confdefs.h <<_ACEOF
41081 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41082 _ACEOF
41083
41084
41085 else
41086 :
41087
41088 fi
41089 done
41090
41091
41092 fi
41093
41094
41095
41096 cat >confcache <<\_ACEOF
41097 # This file is a shell script that caches the results of configure
41098 # tests run on this system so they can be shared between configure
41099 # scripts and configure runs, see configure's option --config-cache.
41100 # It is not useful on other systems. If it contains results you don't
41101 # want to keep, you may remove or edit it.
41102 #
41103 # config.status only pays attention to the cache file if you give it
41104 # the --recheck option to rerun configure.
41105 #
41106 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41107 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41108 # following values.
41109
41110 _ACEOF
41111
41112 # The following way of writing the cache mishandles newlines in values,
41113 # but we know of no workaround that is simple, portable, and efficient.
41114 # So, we kill variables containing newlines.
41115 # Ultrix sh set writes to stderr and can't be redirected directly,
41116 # and sets the high bit in the cache file unless we assign to the vars.
41117 (
41118 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41119 eval ac_val=\$$ac_var
41120 case $ac_val in #(
41121 *${as_nl}*)
41122 case $ac_var in #(
41123 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41124 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41125 esac
41126 case $ac_var in #(
41127 _ | IFS | as_nl) ;; #(
41128 *) $as_unset $ac_var ;;
41129 esac ;;
41130 esac
41131 done
41132
41133 (set) 2>&1 |
41134 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41135 *${as_nl}ac_space=\ *)
41136 # `set' does not quote correctly, so add quotes (double-quote
41137 # substitution turns \\\\ into \\, and sed turns \\ into \).
41138 sed -n \
41139 "s/'/'\\\\''/g;
41140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41141 ;; #(
41142 *)
41143 # `set' quotes correctly as required by POSIX, so do not add quotes.
41144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41145 ;;
41146 esac |
41147 sort
41148 ) |
41149 sed '
41150 /^ac_cv_env_/b end
41151 t clear
41152 :clear
41153 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41154 t end
41155 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41156 :end' >>confcache
41157 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41158 if test -w "$cache_file"; then
41159 test "x$cache_file" != "x/dev/null" &&
41160 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41161 echo "$as_me: updating cache $cache_file" >&6;}
41162 cat confcache >$cache_file
41163 else
41164 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41165 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41166 fi
41167 fi
41168 rm -f confcache
41169
41170
41171 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41172
41173
41174 THREADS_LINK=
41175 THREADS_CFLAGS=
41176
41177 if test "$wxUSE_THREADS" = "yes" ; then
41178 if test "$USE_BEOS" = 1; then
41179 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41180 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41181 wxUSE_THREADS="no"
41182 fi
41183 fi
41184
41185 if test "$wxUSE_THREADS" = "yes" ; then
41186
41187
41188 THREAD_OPTS="-pthread"
41189 if test "x$SUNCXX" = xyes; then
41190 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41191 fi
41192
41193 case "${host}" in
41194 *-*-solaris2* | *-*-sunos4* )
41195 if test "x$GCC" = "xyes"; then
41196 THREAD_OPTS="-pthreads $THREAD_OPTS"
41197 fi
41198 ;;
41199 *-*-freebsd*)
41200 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41201 ;;
41202 *-*-darwin* | *-*-cygwin* )
41203 THREAD_OPTS=""
41204 ;;
41205 *-*-aix*)
41206 THREAD_OPTS="pthreads"
41207 ;;
41208 *-hp-hpux* )
41209 if test "x$GCC" = "xyes"; then
41210 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41211 THREAD_OPTS=""
41212 else
41213 THREAD_OPTS="-mt"
41214 fi
41215 ;;
41216
41217 *-*-irix* )
41218 if test "x$GCC" = "xyes"; then
41219 THREAD_OPTS=""
41220 fi
41221 ;;
41222
41223 *-*-*UnixWare*)
41224 if test "x$GCC" != "xyes"; then
41225 THREAD_OPTS="-Ethread"
41226 fi
41227 ;;
41228 esac
41229
41230 THREAD_OPTS="$THREAD_OPTS pthread none"
41231
41232 THREADS_OK=no
41233 for flag in $THREAD_OPTS; do
41234 case $flag in
41235 none)
41236 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41237 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41238 ;;
41239
41240 -*)
41241 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41242 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41243 THREADS_CFLAGS="$flag"
41244 ;;
41245
41246 *)
41247 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41248 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41249 THREADS_LINK="-l$flag"
41250 ;;
41251 esac
41252
41253 save_LIBS="$LIBS"
41254 save_CFLAGS="$CFLAGS"
41255 LIBS="$THREADS_LINK $LIBS"
41256 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41257
41258 cat >conftest.$ac_ext <<_ACEOF
41259 /* confdefs.h. */
41260 _ACEOF
41261 cat confdefs.h >>conftest.$ac_ext
41262 cat >>conftest.$ac_ext <<_ACEOF
41263 /* end confdefs.h. */
41264 #include <pthread.h>
41265 int
41266 main ()
41267 {
41268 pthread_create(0,0,0,0);
41269 ;
41270 return 0;
41271 }
41272 _ACEOF
41273 rm -f conftest.$ac_objext conftest$ac_exeext
41274 if { (ac_try="$ac_link"
41275 case "(($ac_try" in
41276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41277 *) ac_try_echo=$ac_try;;
41278 esac
41279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41280 (eval "$ac_link") 2>conftest.er1
41281 ac_status=$?
41282 grep -v '^ *+' conftest.er1 >conftest.err
41283 rm -f conftest.er1
41284 cat conftest.err >&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); } && {
41287 test -z "$ac_c_werror_flag" ||
41288 test ! -s conftest.err
41289 } && test -s conftest$ac_exeext &&
41290 $as_test_x conftest$ac_exeext; then
41291 THREADS_OK=yes
41292 else
41293 echo "$as_me: failed program was:" >&5
41294 sed 's/^/| /' conftest.$ac_ext >&5
41295
41296
41297 fi
41298
41299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41300 conftest$ac_exeext conftest.$ac_ext
41301
41302 LIBS="$save_LIBS"
41303 CFLAGS="$save_CFLAGS"
41304
41305 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41306 echo "${ECHO_T}$THREADS_OK" >&6; }
41307 if test "x$THREADS_OK" = "xyes"; then
41308 break;
41309 fi
41310
41311 THREADS_LINK=""
41312 THREADS_CFLAGS=""
41313 done
41314
41315 if test "x$THREADS_OK" != "xyes"; then
41316 wxUSE_THREADS=no
41317 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41318 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41319 else
41320 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41321 LIBS="$THREADS_LINK $LIBS"
41322
41323 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41324 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41325 flag=no
41326 case "${host}" in
41327 *-aix*)
41328 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41329 flag="-D_THREAD_SAFE"
41330 ;;
41331 *-freebsd*)
41332 flag="-D_THREAD_SAFE"
41333 ;;
41334 *-hp-hpux* )
41335 flag="-D_REENTRANT"
41336 if test "x$GCC" != "xyes"; then
41337 flag="$flag -D_RWSTD_MULTI_THREAD"
41338 fi
41339 ;;
41340 *solaris* | alpha*-osf*)
41341 flag="-D_REENTRANT"
41342 ;;
41343 esac
41344 { echo "$as_me:$LINENO: result: ${flag}" >&5
41345 echo "${ECHO_T}${flag}" >&6; }
41346 if test "x$flag" != xno; then
41347 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41348 fi
41349
41350 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41351 fi
41352 fi
41353
41354 if test "$wxUSE_THREADS" = "yes" ; then
41355
41356 for ac_func in thr_setconcurrency
41357 do
41358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41361 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41362 echo $ECHO_N "(cached) $ECHO_C" >&6
41363 else
41364 cat >conftest.$ac_ext <<_ACEOF
41365 /* confdefs.h. */
41366 _ACEOF
41367 cat confdefs.h >>conftest.$ac_ext
41368 cat >>conftest.$ac_ext <<_ACEOF
41369 /* end confdefs.h. */
41370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41372 #define $ac_func innocuous_$ac_func
41373
41374 /* System header to define __stub macros and hopefully few prototypes,
41375 which can conflict with char $ac_func (); below.
41376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41377 <limits.h> exists even on freestanding compilers. */
41378
41379 #ifdef __STDC__
41380 # include <limits.h>
41381 #else
41382 # include <assert.h>
41383 #endif
41384
41385 #undef $ac_func
41386
41387 /* Override any GCC internal prototype to avoid an error.
41388 Use char because int might match the return type of a GCC
41389 builtin and then its argument prototype would still apply. */
41390 #ifdef __cplusplus
41391 extern "C"
41392 #endif
41393 char $ac_func ();
41394 /* The GNU C library defines this for functions which it implements
41395 to always fail with ENOSYS. Some functions are actually named
41396 something starting with __ and the normal name is an alias. */
41397 #if defined __stub_$ac_func || defined __stub___$ac_func
41398 choke me
41399 #endif
41400
41401 int
41402 main ()
41403 {
41404 return $ac_func ();
41405 ;
41406 return 0;
41407 }
41408 _ACEOF
41409 rm -f conftest.$ac_objext conftest$ac_exeext
41410 if { (ac_try="$ac_link"
41411 case "(($ac_try" in
41412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41413 *) ac_try_echo=$ac_try;;
41414 esac
41415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41416 (eval "$ac_link") 2>conftest.er1
41417 ac_status=$?
41418 grep -v '^ *+' conftest.er1 >conftest.err
41419 rm -f conftest.er1
41420 cat conftest.err >&5
41421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422 (exit $ac_status); } && {
41423 test -z "$ac_c_werror_flag" ||
41424 test ! -s conftest.err
41425 } && test -s conftest$ac_exeext &&
41426 $as_test_x conftest$ac_exeext; then
41427 eval "$as_ac_var=yes"
41428 else
41429 echo "$as_me: failed program was:" >&5
41430 sed 's/^/| /' conftest.$ac_ext >&5
41431
41432 eval "$as_ac_var=no"
41433 fi
41434
41435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41436 conftest$ac_exeext conftest.$ac_ext
41437 fi
41438 ac_res=`eval echo '${'$as_ac_var'}'`
41439 { echo "$as_me:$LINENO: result: $ac_res" >&5
41440 echo "${ECHO_T}$ac_res" >&6; }
41441 if test `eval echo '${'$as_ac_var'}'` = yes; then
41442 cat >>confdefs.h <<_ACEOF
41443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41444 _ACEOF
41445
41446 fi
41447 done
41448
41449
41450 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41451 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41452 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41453 echo $ECHO_N "(cached) $ECHO_C" >&6
41454 else
41455
41456 ac_ext=cpp
41457 ac_cpp='$CXXCPP $CPPFLAGS'
41458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41461
41462 cat >conftest.$ac_ext <<_ACEOF
41463 /* confdefs.h. */
41464 _ACEOF
41465 cat confdefs.h >>conftest.$ac_ext
41466 cat >>conftest.$ac_ext <<_ACEOF
41467 /* end confdefs.h. */
41468 #include <pthread.h>
41469 void ThreadCleanupFunc(void *p);
41470
41471 int
41472 main ()
41473 {
41474
41475 void *p;
41476 pthread_cleanup_push(ThreadCleanupFunc, p);
41477 pthread_cleanup_pop(0);
41478
41479 ;
41480 return 0;
41481 }
41482 _ACEOF
41483 rm -f conftest.$ac_objext
41484 if { (ac_try="$ac_compile"
41485 case "(($ac_try" in
41486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41487 *) ac_try_echo=$ac_try;;
41488 esac
41489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41490 (eval "$ac_compile") 2>conftest.er1
41491 ac_status=$?
41492 grep -v '^ *+' conftest.er1 >conftest.err
41493 rm -f conftest.er1
41494 cat conftest.err >&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } && {
41497 test -z "$ac_cxx_werror_flag" ||
41498 test ! -s conftest.err
41499 } && test -s conftest.$ac_objext; then
41500
41501 wx_cv_func_pthread_cleanup=yes
41502
41503 else
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.$ac_ext >&5
41506
41507
41508 wx_cv_func_pthread_cleanup=no
41509
41510
41511 fi
41512
41513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41514 ac_ext=c
41515 ac_cpp='$CPP $CPPFLAGS'
41516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41519
41520
41521 fi
41522 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41523 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41524 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41525 cat >>confdefs.h <<\_ACEOF
41526 #define wxHAVE_PTHREAD_CLEANUP 1
41527 _ACEOF
41528
41529 fi
41530
41531
41532 for ac_header in sched.h
41533 do
41534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41535 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41538 echo $ECHO_N "(cached) $ECHO_C" >&6
41539 else
41540 cat >conftest.$ac_ext <<_ACEOF
41541 /* confdefs.h. */
41542 _ACEOF
41543 cat confdefs.h >>conftest.$ac_ext
41544 cat >>conftest.$ac_ext <<_ACEOF
41545 /* end confdefs.h. */
41546 $ac_includes_default
41547
41548 #include <$ac_header>
41549 _ACEOF
41550 rm -f conftest.$ac_objext
41551 if { (ac_try="$ac_compile"
41552 case "(($ac_try" in
41553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41554 *) ac_try_echo=$ac_try;;
41555 esac
41556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41557 (eval "$ac_compile") 2>conftest.er1
41558 ac_status=$?
41559 grep -v '^ *+' conftest.er1 >conftest.err
41560 rm -f conftest.er1
41561 cat conftest.err >&5
41562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41563 (exit $ac_status); } && {
41564 test -z "$ac_c_werror_flag" ||
41565 test ! -s conftest.err
41566 } && test -s conftest.$ac_objext; then
41567 eval "$as_ac_Header=yes"
41568 else
41569 echo "$as_me: failed program was:" >&5
41570 sed 's/^/| /' conftest.$ac_ext >&5
41571
41572 eval "$as_ac_Header=no"
41573 fi
41574
41575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41576 fi
41577 ac_res=`eval echo '${'$as_ac_Header'}'`
41578 { echo "$as_me:$LINENO: result: $ac_res" >&5
41579 echo "${ECHO_T}$ac_res" >&6; }
41580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41581 cat >>confdefs.h <<_ACEOF
41582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41583 _ACEOF
41584
41585 fi
41586
41587 done
41588
41589 if test "$ac_cv_header_sched_h" = "yes"; then
41590 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41591 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41592 if test "${ac_cv_func_sched_yield+set}" = set; then
41593 echo $ECHO_N "(cached) $ECHO_C" >&6
41594 else
41595 cat >conftest.$ac_ext <<_ACEOF
41596 /* confdefs.h. */
41597 _ACEOF
41598 cat confdefs.h >>conftest.$ac_ext
41599 cat >>conftest.$ac_ext <<_ACEOF
41600 /* end confdefs.h. */
41601 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41603 #define sched_yield innocuous_sched_yield
41604
41605 /* System header to define __stub macros and hopefully few prototypes,
41606 which can conflict with char sched_yield (); below.
41607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41608 <limits.h> exists even on freestanding compilers. */
41609
41610 #ifdef __STDC__
41611 # include <limits.h>
41612 #else
41613 # include <assert.h>
41614 #endif
41615
41616 #undef sched_yield
41617
41618 /* Override any GCC internal prototype to avoid an error.
41619 Use char because int might match the return type of a GCC
41620 builtin and then its argument prototype would still apply. */
41621 #ifdef __cplusplus
41622 extern "C"
41623 #endif
41624 char sched_yield ();
41625 /* The GNU C library defines this for functions which it implements
41626 to always fail with ENOSYS. Some functions are actually named
41627 something starting with __ and the normal name is an alias. */
41628 #if defined __stub_sched_yield || defined __stub___sched_yield
41629 choke me
41630 #endif
41631
41632 int
41633 main ()
41634 {
41635 return sched_yield ();
41636 ;
41637 return 0;
41638 }
41639 _ACEOF
41640 rm -f conftest.$ac_objext conftest$ac_exeext
41641 if { (ac_try="$ac_link"
41642 case "(($ac_try" in
41643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41644 *) ac_try_echo=$ac_try;;
41645 esac
41646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41647 (eval "$ac_link") 2>conftest.er1
41648 ac_status=$?
41649 grep -v '^ *+' conftest.er1 >conftest.err
41650 rm -f conftest.er1
41651 cat conftest.err >&5
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); } && {
41654 test -z "$ac_c_werror_flag" ||
41655 test ! -s conftest.err
41656 } && test -s conftest$ac_exeext &&
41657 $as_test_x conftest$ac_exeext; then
41658 ac_cv_func_sched_yield=yes
41659 else
41660 echo "$as_me: failed program was:" >&5
41661 sed 's/^/| /' conftest.$ac_ext >&5
41662
41663 ac_cv_func_sched_yield=no
41664 fi
41665
41666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41667 conftest$ac_exeext conftest.$ac_ext
41668 fi
41669 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41670 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41671 if test $ac_cv_func_sched_yield = yes; then
41672 cat >>confdefs.h <<\_ACEOF
41673 #define HAVE_SCHED_YIELD 1
41674 _ACEOF
41675
41676 else
41677
41678 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41679 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41680 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41681 echo $ECHO_N "(cached) $ECHO_C" >&6
41682 else
41683 ac_check_lib_save_LIBS=$LIBS
41684 LIBS="-lposix4 $LIBS"
41685 cat >conftest.$ac_ext <<_ACEOF
41686 /* confdefs.h. */
41687 _ACEOF
41688 cat confdefs.h >>conftest.$ac_ext
41689 cat >>conftest.$ac_ext <<_ACEOF
41690 /* end confdefs.h. */
41691
41692 /* Override any GCC internal prototype to avoid an error.
41693 Use char because int might match the return type of a GCC
41694 builtin and then its argument prototype would still apply. */
41695 #ifdef __cplusplus
41696 extern "C"
41697 #endif
41698 char sched_yield ();
41699 int
41700 main ()
41701 {
41702 return sched_yield ();
41703 ;
41704 return 0;
41705 }
41706 _ACEOF
41707 rm -f conftest.$ac_objext conftest$ac_exeext
41708 if { (ac_try="$ac_link"
41709 case "(($ac_try" in
41710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41711 *) ac_try_echo=$ac_try;;
41712 esac
41713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41714 (eval "$ac_link") 2>conftest.er1
41715 ac_status=$?
41716 grep -v '^ *+' conftest.er1 >conftest.err
41717 rm -f conftest.er1
41718 cat conftest.err >&5
41719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720 (exit $ac_status); } && {
41721 test -z "$ac_c_werror_flag" ||
41722 test ! -s conftest.err
41723 } && test -s conftest$ac_exeext &&
41724 $as_test_x conftest$ac_exeext; then
41725 ac_cv_lib_posix4_sched_yield=yes
41726 else
41727 echo "$as_me: failed program was:" >&5
41728 sed 's/^/| /' conftest.$ac_ext >&5
41729
41730 ac_cv_lib_posix4_sched_yield=no
41731 fi
41732
41733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41734 conftest$ac_exeext conftest.$ac_ext
41735 LIBS=$ac_check_lib_save_LIBS
41736 fi
41737 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41738 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41739 if test $ac_cv_lib_posix4_sched_yield = yes; then
41740 cat >>confdefs.h <<\_ACEOF
41741 #define HAVE_SCHED_YIELD 1
41742 _ACEOF
41743 POSIX4_LINK=" -lposix4"
41744 else
41745 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41746 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41747
41748 fi
41749
41750
41751
41752 fi
41753
41754 fi
41755
41756 HAVE_PRIOR_FUNCS=0
41757 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41758 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41759 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41760 echo $ECHO_N "(cached) $ECHO_C" >&6
41761 else
41762 cat >conftest.$ac_ext <<_ACEOF
41763 /* confdefs.h. */
41764 _ACEOF
41765 cat confdefs.h >>conftest.$ac_ext
41766 cat >>conftest.$ac_ext <<_ACEOF
41767 /* end confdefs.h. */
41768 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41770 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41771
41772 /* System header to define __stub macros and hopefully few prototypes,
41773 which can conflict with char pthread_attr_getschedpolicy (); below.
41774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41775 <limits.h> exists even on freestanding compilers. */
41776
41777 #ifdef __STDC__
41778 # include <limits.h>
41779 #else
41780 # include <assert.h>
41781 #endif
41782
41783 #undef pthread_attr_getschedpolicy
41784
41785 /* Override any GCC internal prototype to avoid an error.
41786 Use char because int might match the return type of a GCC
41787 builtin and then its argument prototype would still apply. */
41788 #ifdef __cplusplus
41789 extern "C"
41790 #endif
41791 char pthread_attr_getschedpolicy ();
41792 /* The GNU C library defines this for functions which it implements
41793 to always fail with ENOSYS. Some functions are actually named
41794 something starting with __ and the normal name is an alias. */
41795 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41796 choke me
41797 #endif
41798
41799 int
41800 main ()
41801 {
41802 return pthread_attr_getschedpolicy ();
41803 ;
41804 return 0;
41805 }
41806 _ACEOF
41807 rm -f conftest.$ac_objext conftest$ac_exeext
41808 if { (ac_try="$ac_link"
41809 case "(($ac_try" in
41810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41811 *) ac_try_echo=$ac_try;;
41812 esac
41813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41814 (eval "$ac_link") 2>conftest.er1
41815 ac_status=$?
41816 grep -v '^ *+' conftest.er1 >conftest.err
41817 rm -f conftest.er1
41818 cat conftest.err >&5
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); } && {
41821 test -z "$ac_c_werror_flag" ||
41822 test ! -s conftest.err
41823 } && test -s conftest$ac_exeext &&
41824 $as_test_x conftest$ac_exeext; then
41825 ac_cv_func_pthread_attr_getschedpolicy=yes
41826 else
41827 echo "$as_me: failed program was:" >&5
41828 sed 's/^/| /' conftest.$ac_ext >&5
41829
41830 ac_cv_func_pthread_attr_getschedpolicy=no
41831 fi
41832
41833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41834 conftest$ac_exeext conftest.$ac_ext
41835 fi
41836 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41837 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41838 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41839 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41840 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41841 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41842 echo $ECHO_N "(cached) $ECHO_C" >&6
41843 else
41844 cat >conftest.$ac_ext <<_ACEOF
41845 /* confdefs.h. */
41846 _ACEOF
41847 cat confdefs.h >>conftest.$ac_ext
41848 cat >>conftest.$ac_ext <<_ACEOF
41849 /* end confdefs.h. */
41850 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41852 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41853
41854 /* System header to define __stub macros and hopefully few prototypes,
41855 which can conflict with char pthread_attr_setschedparam (); below.
41856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41857 <limits.h> exists even on freestanding compilers. */
41858
41859 #ifdef __STDC__
41860 # include <limits.h>
41861 #else
41862 # include <assert.h>
41863 #endif
41864
41865 #undef pthread_attr_setschedparam
41866
41867 /* Override any GCC internal prototype to avoid an error.
41868 Use char because int might match the return type of a GCC
41869 builtin and then its argument prototype would still apply. */
41870 #ifdef __cplusplus
41871 extern "C"
41872 #endif
41873 char pthread_attr_setschedparam ();
41874 /* The GNU C library defines this for functions which it implements
41875 to always fail with ENOSYS. Some functions are actually named
41876 something starting with __ and the normal name is an alias. */
41877 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41878 choke me
41879 #endif
41880
41881 int
41882 main ()
41883 {
41884 return pthread_attr_setschedparam ();
41885 ;
41886 return 0;
41887 }
41888 _ACEOF
41889 rm -f conftest.$ac_objext conftest$ac_exeext
41890 if { (ac_try="$ac_link"
41891 case "(($ac_try" in
41892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41893 *) ac_try_echo=$ac_try;;
41894 esac
41895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41896 (eval "$ac_link") 2>conftest.er1
41897 ac_status=$?
41898 grep -v '^ *+' conftest.er1 >conftest.err
41899 rm -f conftest.er1
41900 cat conftest.err >&5
41901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41902 (exit $ac_status); } && {
41903 test -z "$ac_c_werror_flag" ||
41904 test ! -s conftest.err
41905 } && test -s conftest$ac_exeext &&
41906 $as_test_x conftest$ac_exeext; then
41907 ac_cv_func_pthread_attr_setschedparam=yes
41908 else
41909 echo "$as_me: failed program was:" >&5
41910 sed 's/^/| /' conftest.$ac_ext >&5
41911
41912 ac_cv_func_pthread_attr_setschedparam=no
41913 fi
41914
41915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41916 conftest$ac_exeext conftest.$ac_ext
41917 fi
41918 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41919 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41920 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41921 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41922 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41923 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
41925 else
41926 cat >conftest.$ac_ext <<_ACEOF
41927 /* confdefs.h. */
41928 _ACEOF
41929 cat confdefs.h >>conftest.$ac_ext
41930 cat >>conftest.$ac_ext <<_ACEOF
41931 /* end confdefs.h. */
41932 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41934 #define sched_get_priority_max innocuous_sched_get_priority_max
41935
41936 /* System header to define __stub macros and hopefully few prototypes,
41937 which can conflict with char sched_get_priority_max (); below.
41938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41939 <limits.h> exists even on freestanding compilers. */
41940
41941 #ifdef __STDC__
41942 # include <limits.h>
41943 #else
41944 # include <assert.h>
41945 #endif
41946
41947 #undef sched_get_priority_max
41948
41949 /* Override any GCC internal prototype to avoid an error.
41950 Use char because int might match the return type of a GCC
41951 builtin and then its argument prototype would still apply. */
41952 #ifdef __cplusplus
41953 extern "C"
41954 #endif
41955 char sched_get_priority_max ();
41956 /* The GNU C library defines this for functions which it implements
41957 to always fail with ENOSYS. Some functions are actually named
41958 something starting with __ and the normal name is an alias. */
41959 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41960 choke me
41961 #endif
41962
41963 int
41964 main ()
41965 {
41966 return sched_get_priority_max ();
41967 ;
41968 return 0;
41969 }
41970 _ACEOF
41971 rm -f conftest.$ac_objext conftest$ac_exeext
41972 if { (ac_try="$ac_link"
41973 case "(($ac_try" in
41974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41975 *) ac_try_echo=$ac_try;;
41976 esac
41977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41978 (eval "$ac_link") 2>conftest.er1
41979 ac_status=$?
41980 grep -v '^ *+' conftest.er1 >conftest.err
41981 rm -f conftest.er1
41982 cat conftest.err >&5
41983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41984 (exit $ac_status); } && {
41985 test -z "$ac_c_werror_flag" ||
41986 test ! -s conftest.err
41987 } && test -s conftest$ac_exeext &&
41988 $as_test_x conftest$ac_exeext; then
41989 ac_cv_func_sched_get_priority_max=yes
41990 else
41991 echo "$as_me: failed program was:" >&5
41992 sed 's/^/| /' conftest.$ac_ext >&5
41993
41994 ac_cv_func_sched_get_priority_max=no
41995 fi
41996
41997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41998 conftest$ac_exeext conftest.$ac_ext
41999 fi
42000 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42001 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42002 if test $ac_cv_func_sched_get_priority_max = yes; then
42003 HAVE_PRIOR_FUNCS=1
42004 else
42005 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42006 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42007 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42008 echo $ECHO_N "(cached) $ECHO_C" >&6
42009 else
42010 ac_check_lib_save_LIBS=$LIBS
42011 LIBS="-lposix4 $LIBS"
42012 cat >conftest.$ac_ext <<_ACEOF
42013 /* confdefs.h. */
42014 _ACEOF
42015 cat confdefs.h >>conftest.$ac_ext
42016 cat >>conftest.$ac_ext <<_ACEOF
42017 /* end confdefs.h. */
42018
42019 /* Override any GCC internal prototype to avoid an error.
42020 Use char because int might match the return type of a GCC
42021 builtin and then its argument prototype would still apply. */
42022 #ifdef __cplusplus
42023 extern "C"
42024 #endif
42025 char sched_get_priority_max ();
42026 int
42027 main ()
42028 {
42029 return sched_get_priority_max ();
42030 ;
42031 return 0;
42032 }
42033 _ACEOF
42034 rm -f conftest.$ac_objext conftest$ac_exeext
42035 if { (ac_try="$ac_link"
42036 case "(($ac_try" in
42037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42038 *) ac_try_echo=$ac_try;;
42039 esac
42040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42041 (eval "$ac_link") 2>conftest.er1
42042 ac_status=$?
42043 grep -v '^ *+' conftest.er1 >conftest.err
42044 rm -f conftest.er1
42045 cat conftest.err >&5
42046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42047 (exit $ac_status); } && {
42048 test -z "$ac_c_werror_flag" ||
42049 test ! -s conftest.err
42050 } && test -s conftest$ac_exeext &&
42051 $as_test_x conftest$ac_exeext; then
42052 ac_cv_lib_posix4_sched_get_priority_max=yes
42053 else
42054 echo "$as_me: failed program was:" >&5
42055 sed 's/^/| /' conftest.$ac_ext >&5
42056
42057 ac_cv_lib_posix4_sched_get_priority_max=no
42058 fi
42059
42060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42061 conftest$ac_exeext conftest.$ac_ext
42062 LIBS=$ac_check_lib_save_LIBS
42063 fi
42064 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42065 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42066 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42067
42068 HAVE_PRIOR_FUNCS=1
42069 POSIX4_LINK=" -lposix4"
42070
42071 fi
42072
42073
42074 fi
42075
42076
42077 fi
42078
42079
42080 fi
42081
42082
42083 if test "$HAVE_PRIOR_FUNCS" = 1; then
42084 cat >>confdefs.h <<\_ACEOF
42085 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42086 _ACEOF
42087
42088 else
42089 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42090 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42091 fi
42092
42093 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42094 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42095 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42096 echo $ECHO_N "(cached) $ECHO_C" >&6
42097 else
42098 cat >conftest.$ac_ext <<_ACEOF
42099 /* confdefs.h. */
42100 _ACEOF
42101 cat confdefs.h >>conftest.$ac_ext
42102 cat >>conftest.$ac_ext <<_ACEOF
42103 /* end confdefs.h. */
42104 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42106 #define pthread_cancel innocuous_pthread_cancel
42107
42108 /* System header to define __stub macros and hopefully few prototypes,
42109 which can conflict with char pthread_cancel (); below.
42110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42111 <limits.h> exists even on freestanding compilers. */
42112
42113 #ifdef __STDC__
42114 # include <limits.h>
42115 #else
42116 # include <assert.h>
42117 #endif
42118
42119 #undef pthread_cancel
42120
42121 /* Override any GCC internal prototype to avoid an error.
42122 Use char because int might match the return type of a GCC
42123 builtin and then its argument prototype would still apply. */
42124 #ifdef __cplusplus
42125 extern "C"
42126 #endif
42127 char pthread_cancel ();
42128 /* The GNU C library defines this for functions which it implements
42129 to always fail with ENOSYS. Some functions are actually named
42130 something starting with __ and the normal name is an alias. */
42131 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42132 choke me
42133 #endif
42134
42135 int
42136 main ()
42137 {
42138 return pthread_cancel ();
42139 ;
42140 return 0;
42141 }
42142 _ACEOF
42143 rm -f conftest.$ac_objext conftest$ac_exeext
42144 if { (ac_try="$ac_link"
42145 case "(($ac_try" in
42146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42147 *) ac_try_echo=$ac_try;;
42148 esac
42149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42150 (eval "$ac_link") 2>conftest.er1
42151 ac_status=$?
42152 grep -v '^ *+' conftest.er1 >conftest.err
42153 rm -f conftest.er1
42154 cat conftest.err >&5
42155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156 (exit $ac_status); } && {
42157 test -z "$ac_c_werror_flag" ||
42158 test ! -s conftest.err
42159 } && test -s conftest$ac_exeext &&
42160 $as_test_x conftest$ac_exeext; then
42161 ac_cv_func_pthread_cancel=yes
42162 else
42163 echo "$as_me: failed program was:" >&5
42164 sed 's/^/| /' conftest.$ac_ext >&5
42165
42166 ac_cv_func_pthread_cancel=no
42167 fi
42168
42169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42170 conftest$ac_exeext conftest.$ac_ext
42171 fi
42172 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42173 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42174 if test $ac_cv_func_pthread_cancel = yes; then
42175 cat >>confdefs.h <<\_ACEOF
42176 #define HAVE_PTHREAD_CANCEL 1
42177 _ACEOF
42178
42179 else
42180 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42181 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42182 fi
42183
42184
42185 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42186 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42187 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42188 echo $ECHO_N "(cached) $ECHO_C" >&6
42189 else
42190 cat >conftest.$ac_ext <<_ACEOF
42191 /* confdefs.h. */
42192 _ACEOF
42193 cat confdefs.h >>conftest.$ac_ext
42194 cat >>conftest.$ac_ext <<_ACEOF
42195 /* end confdefs.h. */
42196 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42198 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42199
42200 /* System header to define __stub macros and hopefully few prototypes,
42201 which can conflict with char pthread_mutex_timedlock (); below.
42202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42203 <limits.h> exists even on freestanding compilers. */
42204
42205 #ifdef __STDC__
42206 # include <limits.h>
42207 #else
42208 # include <assert.h>
42209 #endif
42210
42211 #undef pthread_mutex_timedlock
42212
42213 /* Override any GCC internal prototype to avoid an error.
42214 Use char because int might match the return type of a GCC
42215 builtin and then its argument prototype would still apply. */
42216 #ifdef __cplusplus
42217 extern "C"
42218 #endif
42219 char pthread_mutex_timedlock ();
42220 /* The GNU C library defines this for functions which it implements
42221 to always fail with ENOSYS. Some functions are actually named
42222 something starting with __ and the normal name is an alias. */
42223 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42224 choke me
42225 #endif
42226
42227 int
42228 main ()
42229 {
42230 return pthread_mutex_timedlock ();
42231 ;
42232 return 0;
42233 }
42234 _ACEOF
42235 rm -f conftest.$ac_objext conftest$ac_exeext
42236 if { (ac_try="$ac_link"
42237 case "(($ac_try" in
42238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42239 *) ac_try_echo=$ac_try;;
42240 esac
42241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42242 (eval "$ac_link") 2>conftest.er1
42243 ac_status=$?
42244 grep -v '^ *+' conftest.er1 >conftest.err
42245 rm -f conftest.er1
42246 cat conftest.err >&5
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); } && {
42249 test -z "$ac_c_werror_flag" ||
42250 test ! -s conftest.err
42251 } && test -s conftest$ac_exeext &&
42252 $as_test_x conftest$ac_exeext; then
42253 ac_cv_func_pthread_mutex_timedlock=yes
42254 else
42255 echo "$as_me: failed program was:" >&5
42256 sed 's/^/| /' conftest.$ac_ext >&5
42257
42258 ac_cv_func_pthread_mutex_timedlock=no
42259 fi
42260
42261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42262 conftest$ac_exeext conftest.$ac_ext
42263 fi
42264 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42265 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42266 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42267 cat >>confdefs.h <<\_ACEOF
42268 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42269 _ACEOF
42270
42271 else
42272 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42273 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42274 fi
42275
42276
42277 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42278 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42279 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42280 echo $ECHO_N "(cached) $ECHO_C" >&6
42281 else
42282 cat >conftest.$ac_ext <<_ACEOF
42283 /* confdefs.h. */
42284 _ACEOF
42285 cat confdefs.h >>conftest.$ac_ext
42286 cat >>conftest.$ac_ext <<_ACEOF
42287 /* end confdefs.h. */
42288 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42290 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42291
42292 /* System header to define __stub macros and hopefully few prototypes,
42293 which can conflict with char pthread_attr_setstacksize (); below.
42294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42295 <limits.h> exists even on freestanding compilers. */
42296
42297 #ifdef __STDC__
42298 # include <limits.h>
42299 #else
42300 # include <assert.h>
42301 #endif
42302
42303 #undef pthread_attr_setstacksize
42304
42305 /* Override any GCC internal prototype to avoid an error.
42306 Use char because int might match the return type of a GCC
42307 builtin and then its argument prototype would still apply. */
42308 #ifdef __cplusplus
42309 extern "C"
42310 #endif
42311 char pthread_attr_setstacksize ();
42312 /* The GNU C library defines this for functions which it implements
42313 to always fail with ENOSYS. Some functions are actually named
42314 something starting with __ and the normal name is an alias. */
42315 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42316 choke me
42317 #endif
42318
42319 int
42320 main ()
42321 {
42322 return pthread_attr_setstacksize ();
42323 ;
42324 return 0;
42325 }
42326 _ACEOF
42327 rm -f conftest.$ac_objext conftest$ac_exeext
42328 if { (ac_try="$ac_link"
42329 case "(($ac_try" in
42330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42331 *) ac_try_echo=$ac_try;;
42332 esac
42333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42334 (eval "$ac_link") 2>conftest.er1
42335 ac_status=$?
42336 grep -v '^ *+' conftest.er1 >conftest.err
42337 rm -f conftest.er1
42338 cat conftest.err >&5
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); } && {
42341 test -z "$ac_c_werror_flag" ||
42342 test ! -s conftest.err
42343 } && test -s conftest$ac_exeext &&
42344 $as_test_x conftest$ac_exeext; then
42345 ac_cv_func_pthread_attr_setstacksize=yes
42346 else
42347 echo "$as_me: failed program was:" >&5
42348 sed 's/^/| /' conftest.$ac_ext >&5
42349
42350 ac_cv_func_pthread_attr_setstacksize=no
42351 fi
42352
42353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42354 conftest$ac_exeext conftest.$ac_ext
42355 fi
42356 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42357 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42358 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42359 cat >>confdefs.h <<\_ACEOF
42360 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42361 _ACEOF
42362
42363 fi
42364
42365
42366
42367 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42368 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42369 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42370 echo $ECHO_N "(cached) $ECHO_C" >&6
42371 else
42372
42373 cat >conftest.$ac_ext <<_ACEOF
42374 /* confdefs.h. */
42375 _ACEOF
42376 cat confdefs.h >>conftest.$ac_ext
42377 cat >>conftest.$ac_ext <<_ACEOF
42378 /* end confdefs.h. */
42379 #include <pthread.h>
42380 int
42381 main ()
42382 {
42383
42384 pthread_mutexattr_t attr;
42385 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42386
42387 ;
42388 return 0;
42389 }
42390 _ACEOF
42391 rm -f conftest.$ac_objext
42392 if { (ac_try="$ac_compile"
42393 case "(($ac_try" in
42394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42395 *) ac_try_echo=$ac_try;;
42396 esac
42397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42398 (eval "$ac_compile") 2>conftest.er1
42399 ac_status=$?
42400 grep -v '^ *+' conftest.er1 >conftest.err
42401 rm -f conftest.er1
42402 cat conftest.err >&5
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); } && {
42405 test -z "$ac_c_werror_flag" ||
42406 test ! -s conftest.err
42407 } && test -s conftest.$ac_objext; then
42408 wx_cv_type_pthread_mutexattr_t=yes
42409 else
42410 echo "$as_me: failed program was:" >&5
42411 sed 's/^/| /' conftest.$ac_ext >&5
42412
42413 wx_cv_type_pthread_mutexattr_t=no
42414
42415 fi
42416
42417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42418
42419 fi
42420 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42421 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42422
42423 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42424 cat >>confdefs.h <<\_ACEOF
42425 #define HAVE_PTHREAD_MUTEXATTR_T 1
42426 _ACEOF
42427
42428
42429 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42430 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42431 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42432 echo $ECHO_N "(cached) $ECHO_C" >&6
42433 else
42434
42435 cat >conftest.$ac_ext <<_ACEOF
42436 /* confdefs.h. */
42437 _ACEOF
42438 cat confdefs.h >>conftest.$ac_ext
42439 cat >>conftest.$ac_ext <<_ACEOF
42440 /* end confdefs.h. */
42441 #include <pthread.h>
42442 int
42443 main ()
42444 {
42445
42446 pthread_mutexattr_t attr;
42447 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42448
42449 ;
42450 return 0;
42451 }
42452 _ACEOF
42453 rm -f conftest.$ac_objext
42454 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
42470 wx_cv_func_pthread_mutexattr_settype_decl=yes
42471 else
42472 echo "$as_me: failed program was:" >&5
42473 sed 's/^/| /' conftest.$ac_ext >&5
42474
42475 wx_cv_func_pthread_mutexattr_settype_decl=no
42476
42477 fi
42478
42479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42480
42481 fi
42482 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42483 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42484 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42485 cat >>confdefs.h <<\_ACEOF
42486 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42487 _ACEOF
42488
42489 fi
42490 else
42491 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42492 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42493 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42494 echo $ECHO_N "(cached) $ECHO_C" >&6
42495 else
42496
42497 cat >conftest.$ac_ext <<_ACEOF
42498 /* confdefs.h. */
42499 _ACEOF
42500 cat confdefs.h >>conftest.$ac_ext
42501 cat >>conftest.$ac_ext <<_ACEOF
42502 /* end confdefs.h. */
42503 #include <pthread.h>
42504 int
42505 main ()
42506 {
42507
42508 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42509
42510 ;
42511 return 0;
42512 }
42513 _ACEOF
42514 rm -f conftest.$ac_objext
42515 if { (ac_try="$ac_compile"
42516 case "(($ac_try" in
42517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42518 *) ac_try_echo=$ac_try;;
42519 esac
42520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42521 (eval "$ac_compile") 2>conftest.er1
42522 ac_status=$?
42523 grep -v '^ *+' conftest.er1 >conftest.err
42524 rm -f conftest.er1
42525 cat conftest.err >&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); } && {
42528 test -z "$ac_c_werror_flag" ||
42529 test ! -s conftest.err
42530 } && test -s conftest.$ac_objext; then
42531
42532 wx_cv_type_pthread_rec_mutex_init=yes
42533
42534 else
42535 echo "$as_me: failed program was:" >&5
42536 sed 's/^/| /' conftest.$ac_ext >&5
42537
42538
42539 wx_cv_type_pthread_rec_mutex_init=no
42540
42541
42542 fi
42543
42544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42545
42546 fi
42547 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42548 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42549 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42550 cat >>confdefs.h <<\_ACEOF
42551 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42552 _ACEOF
42553
42554 else
42555 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42556 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42557 fi
42558 fi
42559 fi
42560
42561 else
42562 if test "$wxUSE_THREADS" = "yes" ; then
42563 case "${host}" in
42564 *-*-mingw32* )
42565 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42566 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42567 if test "${wx_cv_cflags_mthread+set}" = set; then
42568 echo $ECHO_N "(cached) $ECHO_C" >&6
42569 else
42570
42571 CFLAGS_OLD="$CFLAGS"
42572 CFLAGS="-mthreads $CFLAGS"
42573 cat >conftest.$ac_ext <<_ACEOF
42574 /* confdefs.h. */
42575 _ACEOF
42576 cat confdefs.h >>conftest.$ac_ext
42577 cat >>conftest.$ac_ext <<_ACEOF
42578 /* end confdefs.h. */
42579
42580 int
42581 main ()
42582 {
42583
42584 ;
42585 return 0;
42586 }
42587 _ACEOF
42588 rm -f conftest.$ac_objext
42589 if { (ac_try="$ac_compile"
42590 case "(($ac_try" in
42591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42592 *) ac_try_echo=$ac_try;;
42593 esac
42594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42595 (eval "$ac_compile") 2>conftest.er1
42596 ac_status=$?
42597 grep -v '^ *+' conftest.er1 >conftest.err
42598 rm -f conftest.er1
42599 cat conftest.err >&5
42600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42601 (exit $ac_status); } && {
42602 test -z "$ac_c_werror_flag" ||
42603 test ! -s conftest.err
42604 } && test -s conftest.$ac_objext; then
42605 wx_cv_cflags_mthread=yes
42606 else
42607 echo "$as_me: failed program was:" >&5
42608 sed 's/^/| /' conftest.$ac_ext >&5
42609
42610 wx_cv_cflags_mthread=no
42611
42612 fi
42613
42614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42615
42616
42617 fi
42618 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42619 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42620
42621 if test "$wx_cv_cflags_mthread" = "yes"; then
42622 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42623 LDFLAGS="$LDFLAGS -mthreads"
42624 else
42625 CFLAGS="$CFLAGS_OLD"
42626 fi
42627 ;;
42628 *-pc-os2*emx )
42629 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42630 LDFLAGS="$LDFLAGS -Zmt"
42631 ;;
42632 esac
42633 fi
42634 fi
42635
42636 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42637 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42638 if test "${ac_cv_func_localtime_r+set}" = set; then
42639 echo $ECHO_N "(cached) $ECHO_C" >&6
42640 else
42641 cat >conftest.$ac_ext <<_ACEOF
42642 /* confdefs.h. */
42643 _ACEOF
42644 cat confdefs.h >>conftest.$ac_ext
42645 cat >>conftest.$ac_ext <<_ACEOF
42646 /* end confdefs.h. */
42647 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42649 #define localtime_r innocuous_localtime_r
42650
42651 /* System header to define __stub macros and hopefully few prototypes,
42652 which can conflict with char localtime_r (); below.
42653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42654 <limits.h> exists even on freestanding compilers. */
42655
42656 #ifdef __STDC__
42657 # include <limits.h>
42658 #else
42659 # include <assert.h>
42660 #endif
42661
42662 #undef localtime_r
42663
42664 /* Override any GCC internal prototype to avoid an error.
42665 Use char because int might match the return type of a GCC
42666 builtin and then its argument prototype would still apply. */
42667 #ifdef __cplusplus
42668 extern "C"
42669 #endif
42670 char localtime_r ();
42671 /* The GNU C library defines this for functions which it implements
42672 to always fail with ENOSYS. Some functions are actually named
42673 something starting with __ and the normal name is an alias. */
42674 #if defined __stub_localtime_r || defined __stub___localtime_r
42675 choke me
42676 #endif
42677
42678 int
42679 main ()
42680 {
42681 return localtime_r ();
42682 ;
42683 return 0;
42684 }
42685 _ACEOF
42686 rm -f conftest.$ac_objext conftest$ac_exeext
42687 if { (ac_try="$ac_link"
42688 case "(($ac_try" in
42689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42690 *) ac_try_echo=$ac_try;;
42691 esac
42692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693 (eval "$ac_link") 2>conftest.er1
42694 ac_status=$?
42695 grep -v '^ *+' conftest.er1 >conftest.err
42696 rm -f conftest.er1
42697 cat conftest.err >&5
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); } && {
42700 test -z "$ac_c_werror_flag" ||
42701 test ! -s conftest.err
42702 } && test -s conftest$ac_exeext &&
42703 $as_test_x conftest$ac_exeext; then
42704 ac_cv_func_localtime_r=yes
42705 else
42706 echo "$as_me: failed program was:" >&5
42707 sed 's/^/| /' conftest.$ac_ext >&5
42708
42709 ac_cv_func_localtime_r=no
42710 fi
42711
42712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42713 conftest$ac_exeext conftest.$ac_ext
42714 fi
42715 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42716 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42717 if test $ac_cv_func_localtime_r = yes; then
42718 cat >>confdefs.h <<\_ACEOF
42719 #define HAVE_LOCALTIME_R 1
42720 _ACEOF
42721
42722 fi
42723
42724 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42725 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42726 if test "${ac_cv_func_gmtime_r+set}" = set; then
42727 echo $ECHO_N "(cached) $ECHO_C" >&6
42728 else
42729 cat >conftest.$ac_ext <<_ACEOF
42730 /* confdefs.h. */
42731 _ACEOF
42732 cat confdefs.h >>conftest.$ac_ext
42733 cat >>conftest.$ac_ext <<_ACEOF
42734 /* end confdefs.h. */
42735 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42737 #define gmtime_r innocuous_gmtime_r
42738
42739 /* System header to define __stub macros and hopefully few prototypes,
42740 which can conflict with char gmtime_r (); below.
42741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42742 <limits.h> exists even on freestanding compilers. */
42743
42744 #ifdef __STDC__
42745 # include <limits.h>
42746 #else
42747 # include <assert.h>
42748 #endif
42749
42750 #undef gmtime_r
42751
42752 /* Override any GCC internal prototype to avoid an error.
42753 Use char because int might match the return type of a GCC
42754 builtin and then its argument prototype would still apply. */
42755 #ifdef __cplusplus
42756 extern "C"
42757 #endif
42758 char gmtime_r ();
42759 /* The GNU C library defines this for functions which it implements
42760 to always fail with ENOSYS. Some functions are actually named
42761 something starting with __ and the normal name is an alias. */
42762 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42763 choke me
42764 #endif
42765
42766 int
42767 main ()
42768 {
42769 return gmtime_r ();
42770 ;
42771 return 0;
42772 }
42773 _ACEOF
42774 rm -f conftest.$ac_objext conftest$ac_exeext
42775 if { (ac_try="$ac_link"
42776 case "(($ac_try" in
42777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42778 *) ac_try_echo=$ac_try;;
42779 esac
42780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42781 (eval "$ac_link") 2>conftest.er1
42782 ac_status=$?
42783 grep -v '^ *+' conftest.er1 >conftest.err
42784 rm -f conftest.er1
42785 cat conftest.err >&5
42786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42787 (exit $ac_status); } && {
42788 test -z "$ac_c_werror_flag" ||
42789 test ! -s conftest.err
42790 } && test -s conftest$ac_exeext &&
42791 $as_test_x conftest$ac_exeext; then
42792 ac_cv_func_gmtime_r=yes
42793 else
42794 echo "$as_me: failed program was:" >&5
42795 sed 's/^/| /' conftest.$ac_ext >&5
42796
42797 ac_cv_func_gmtime_r=no
42798 fi
42799
42800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42801 conftest$ac_exeext conftest.$ac_ext
42802 fi
42803 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42804 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42805 if test $ac_cv_func_gmtime_r = yes; then
42806 cat >>confdefs.h <<\_ACEOF
42807 #define HAVE_GMTIME_R 1
42808 _ACEOF
42809
42810 fi
42811
42812 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42813 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42814 if test "${ac_cv_func_readdir_r+set}" = set; then
42815 echo $ECHO_N "(cached) $ECHO_C" >&6
42816 else
42817 cat >conftest.$ac_ext <<_ACEOF
42818 /* confdefs.h. */
42819 _ACEOF
42820 cat confdefs.h >>conftest.$ac_ext
42821 cat >>conftest.$ac_ext <<_ACEOF
42822 /* end confdefs.h. */
42823 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42825 #define readdir_r innocuous_readdir_r
42826
42827 /* System header to define __stub macros and hopefully few prototypes,
42828 which can conflict with char readdir_r (); below.
42829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42830 <limits.h> exists even on freestanding compilers. */
42831
42832 #ifdef __STDC__
42833 # include <limits.h>
42834 #else
42835 # include <assert.h>
42836 #endif
42837
42838 #undef readdir_r
42839
42840 /* Override any GCC internal prototype to avoid an error.
42841 Use char because int might match the return type of a GCC
42842 builtin and then its argument prototype would still apply. */
42843 #ifdef __cplusplus
42844 extern "C"
42845 #endif
42846 char readdir_r ();
42847 /* The GNU C library defines this for functions which it implements
42848 to always fail with ENOSYS. Some functions are actually named
42849 something starting with __ and the normal name is an alias. */
42850 #if defined __stub_readdir_r || defined __stub___readdir_r
42851 choke me
42852 #endif
42853
42854 int
42855 main ()
42856 {
42857 return readdir_r ();
42858 ;
42859 return 0;
42860 }
42861 _ACEOF
42862 rm -f conftest.$ac_objext conftest$ac_exeext
42863 if { (ac_try="$ac_link"
42864 case "(($ac_try" in
42865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42866 *) ac_try_echo=$ac_try;;
42867 esac
42868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42869 (eval "$ac_link") 2>conftest.er1
42870 ac_status=$?
42871 grep -v '^ *+' conftest.er1 >conftest.err
42872 rm -f conftest.er1
42873 cat conftest.err >&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); } && {
42876 test -z "$ac_c_werror_flag" ||
42877 test ! -s conftest.err
42878 } && test -s conftest$ac_exeext &&
42879 $as_test_x conftest$ac_exeext; then
42880 ac_cv_func_readdir_r=yes
42881 else
42882 echo "$as_me: failed program was:" >&5
42883 sed 's/^/| /' conftest.$ac_ext >&5
42884
42885 ac_cv_func_readdir_r=no
42886 fi
42887
42888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42889 conftest$ac_exeext conftest.$ac_ext
42890 fi
42891 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42892 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42893 if test $ac_cv_func_readdir_r = yes; then
42894 cat >>confdefs.h <<\_ACEOF
42895 #define HAVE_READDIR_R 1
42896 _ACEOF
42897
42898 fi
42899
42900
42901
42902
42903 ac_ext=c
42904 ac_cpp='$CPP $CPPFLAGS'
42905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42908
42909 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42910 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42911
42912 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42913 echo $ECHO_N "(cached) $ECHO_C" >&6
42914 else
42915
42916
42917 ################################################################
42918
42919 ac_cv_func_which_gethostbyname_r=unknown
42920
42921 #
42922 # ONE ARGUMENT (sanity check)
42923 #
42924
42925 # This should fail, as there is no variant of gethostbyname_r() that takes
42926 # a single argument. If it actually compiles, then we can assume that
42927 # netdb.h is not declaring the function, and the compiler is thereby
42928 # assuming an implicit prototype. In which case, we're out of luck.
42929 #
42930 cat >conftest.$ac_ext <<_ACEOF
42931 /* confdefs.h. */
42932 _ACEOF
42933 cat confdefs.h >>conftest.$ac_ext
42934 cat >>conftest.$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42936 #include <netdb.h>
42937 int
42938 main ()
42939 {
42940
42941 char *name = "www.gnu.org";
42942 (void)gethostbyname_r(name) /* ; */
42943
42944 ;
42945 return 0;
42946 }
42947 _ACEOF
42948 rm -f conftest.$ac_objext
42949 if { (ac_try="$ac_compile"
42950 case "(($ac_try" in
42951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42952 *) ac_try_echo=$ac_try;;
42953 esac
42954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42955 (eval "$ac_compile") 2>conftest.er1
42956 ac_status=$?
42957 grep -v '^ *+' conftest.er1 >conftest.err
42958 rm -f conftest.er1
42959 cat conftest.err >&5
42960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42961 (exit $ac_status); } && {
42962 test -z "$ac_c_werror_flag" ||
42963 test ! -s conftest.err
42964 } && test -s conftest.$ac_objext; then
42965 ac_cv_func_which_gethostbyname_r=no
42966 else
42967 echo "$as_me: failed program was:" >&5
42968 sed 's/^/| /' conftest.$ac_ext >&5
42969
42970
42971 fi
42972
42973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42974
42975 #
42976 # SIX ARGUMENTS
42977 # (e.g. Linux)
42978 #
42979
42980 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42981
42982 cat >conftest.$ac_ext <<_ACEOF
42983 /* confdefs.h. */
42984 _ACEOF
42985 cat confdefs.h >>conftest.$ac_ext
42986 cat >>conftest.$ac_ext <<_ACEOF
42987 /* end confdefs.h. */
42988 #include <netdb.h>
42989 int
42990 main ()
42991 {
42992
42993 char *name = "www.gnu.org";
42994 struct hostent ret, *retp;
42995 char buf[1024];
42996 int buflen = 1024;
42997 int my_h_errno;
42998 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42999
43000 ;
43001 return 0;
43002 }
43003 _ACEOF
43004 rm -f conftest.$ac_objext
43005 if { (ac_try="$ac_compile"
43006 case "(($ac_try" in
43007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43008 *) ac_try_echo=$ac_try;;
43009 esac
43010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43011 (eval "$ac_compile") 2>conftest.er1
43012 ac_status=$?
43013 grep -v '^ *+' conftest.er1 >conftest.err
43014 rm -f conftest.er1
43015 cat conftest.err >&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); } && {
43018 test -z "$ac_c_werror_flag" ||
43019 test ! -s conftest.err
43020 } && test -s conftest.$ac_objext; then
43021 ac_cv_func_which_gethostbyname_r=six
43022 else
43023 echo "$as_me: failed program was:" >&5
43024 sed 's/^/| /' conftest.$ac_ext >&5
43025
43026
43027 fi
43028
43029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43030
43031 fi
43032
43033 #
43034 # FIVE ARGUMENTS
43035 # (e.g. Solaris)
43036 #
43037
43038 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43039
43040 cat >conftest.$ac_ext <<_ACEOF
43041 /* confdefs.h. */
43042 _ACEOF
43043 cat confdefs.h >>conftest.$ac_ext
43044 cat >>conftest.$ac_ext <<_ACEOF
43045 /* end confdefs.h. */
43046 #include <netdb.h>
43047 int
43048 main ()
43049 {
43050
43051 char *name = "www.gnu.org";
43052 struct hostent ret;
43053 char buf[1024];
43054 int buflen = 1024;
43055 int my_h_errno;
43056 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43057
43058 ;
43059 return 0;
43060 }
43061 _ACEOF
43062 rm -f conftest.$ac_objext
43063 if { (ac_try="$ac_compile"
43064 case "(($ac_try" in
43065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43066 *) ac_try_echo=$ac_try;;
43067 esac
43068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43069 (eval "$ac_compile") 2>conftest.er1
43070 ac_status=$?
43071 grep -v '^ *+' conftest.er1 >conftest.err
43072 rm -f conftest.er1
43073 cat conftest.err >&5
43074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43075 (exit $ac_status); } && {
43076 test -z "$ac_c_werror_flag" ||
43077 test ! -s conftest.err
43078 } && test -s conftest.$ac_objext; then
43079 ac_cv_func_which_gethostbyname_r=five
43080 else
43081 echo "$as_me: failed program was:" >&5
43082 sed 's/^/| /' conftest.$ac_ext >&5
43083
43084
43085 fi
43086
43087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43088
43089 fi
43090
43091 #
43092 # THREE ARGUMENTS
43093 # (e.g. AIX, HP-UX, Tru64)
43094 #
43095
43096 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43097
43098 cat >conftest.$ac_ext <<_ACEOF
43099 /* confdefs.h. */
43100 _ACEOF
43101 cat confdefs.h >>conftest.$ac_ext
43102 cat >>conftest.$ac_ext <<_ACEOF
43103 /* end confdefs.h. */
43104 #include <netdb.h>
43105 int
43106 main ()
43107 {
43108
43109 char *name = "www.gnu.org";
43110 struct hostent ret;
43111 struct hostent_data data;
43112 (void)gethostbyname_r(name, &ret, &data) /* ; */
43113
43114 ;
43115 return 0;
43116 }
43117 _ACEOF
43118 rm -f conftest.$ac_objext
43119 if { (ac_try="$ac_compile"
43120 case "(($ac_try" in
43121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43122 *) ac_try_echo=$ac_try;;
43123 esac
43124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43125 (eval "$ac_compile") 2>conftest.er1
43126 ac_status=$?
43127 grep -v '^ *+' conftest.er1 >conftest.err
43128 rm -f conftest.er1
43129 cat conftest.err >&5
43130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43131 (exit $ac_status); } && {
43132 test -z "$ac_c_werror_flag" ||
43133 test ! -s conftest.err
43134 } && test -s conftest.$ac_objext; then
43135 ac_cv_func_which_gethostbyname_r=three
43136 else
43137 echo "$as_me: failed program was:" >&5
43138 sed 's/^/| /' conftest.$ac_ext >&5
43139
43140
43141 fi
43142
43143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43144
43145 fi
43146
43147 ################################################################
43148
43149
43150 fi
43151
43152 case "$ac_cv_func_which_gethostbyname_r" in
43153 three)
43154 { echo "$as_me:$LINENO: result: three" >&5
43155 echo "${ECHO_T}three" >&6; }
43156 cat >>confdefs.h <<\_ACEOF
43157 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43158 _ACEOF
43159
43160 ;;
43161
43162 five)
43163 { echo "$as_me:$LINENO: result: five" >&5
43164 echo "${ECHO_T}five" >&6; }
43165 cat >>confdefs.h <<\_ACEOF
43166 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43167 _ACEOF
43168
43169 ;;
43170
43171 six)
43172 { echo "$as_me:$LINENO: result: six" >&5
43173 echo "${ECHO_T}six" >&6; }
43174 cat >>confdefs.h <<\_ACEOF
43175 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43176 _ACEOF
43177
43178 ;;
43179
43180 no)
43181 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43182 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43183 ;;
43184
43185 unknown)
43186 { echo "$as_me:$LINENO: result: can't tell" >&5
43187 echo "${ECHO_T}can't tell" >&6; }
43188 ;;
43189
43190 *)
43191 { { echo "$as_me:$LINENO: error: internal error" >&5
43192 echo "$as_me: error: internal error" >&2;}
43193 { (exit 1); exit 1; }; }
43194 ;;
43195 esac
43196
43197 ac_ext=c
43198 ac_cpp='$CPP $CPPFLAGS'
43199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43202
43203
43204
43205 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43206 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43207 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43208 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43209 if test "${ac_cv_func_gethostbyname+set}" = set; then
43210 echo $ECHO_N "(cached) $ECHO_C" >&6
43211 else
43212 cat >conftest.$ac_ext <<_ACEOF
43213 /* confdefs.h. */
43214 _ACEOF
43215 cat confdefs.h >>conftest.$ac_ext
43216 cat >>conftest.$ac_ext <<_ACEOF
43217 /* end confdefs.h. */
43218 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43220 #define gethostbyname innocuous_gethostbyname
43221
43222 /* System header to define __stub macros and hopefully few prototypes,
43223 which can conflict with char gethostbyname (); below.
43224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43225 <limits.h> exists even on freestanding compilers. */
43226
43227 #ifdef __STDC__
43228 # include <limits.h>
43229 #else
43230 # include <assert.h>
43231 #endif
43232
43233 #undef gethostbyname
43234
43235 /* Override any GCC internal prototype to avoid an error.
43236 Use char because int might match the return type of a GCC
43237 builtin and then its argument prototype would still apply. */
43238 #ifdef __cplusplus
43239 extern "C"
43240 #endif
43241 char gethostbyname ();
43242 /* The GNU C library defines this for functions which it implements
43243 to always fail with ENOSYS. Some functions are actually named
43244 something starting with __ and the normal name is an alias. */
43245 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43246 choke me
43247 #endif
43248
43249 int
43250 main ()
43251 {
43252 return gethostbyname ();
43253 ;
43254 return 0;
43255 }
43256 _ACEOF
43257 rm -f conftest.$ac_objext conftest$ac_exeext
43258 if { (ac_try="$ac_link"
43259 case "(($ac_try" in
43260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43261 *) ac_try_echo=$ac_try;;
43262 esac
43263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43264 (eval "$ac_link") 2>conftest.er1
43265 ac_status=$?
43266 grep -v '^ *+' conftest.er1 >conftest.err
43267 rm -f conftest.er1
43268 cat conftest.err >&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); } && {
43271 test -z "$ac_c_werror_flag" ||
43272 test ! -s conftest.err
43273 } && test -s conftest$ac_exeext &&
43274 $as_test_x conftest$ac_exeext; then
43275 ac_cv_func_gethostbyname=yes
43276 else
43277 echo "$as_me: failed program was:" >&5
43278 sed 's/^/| /' conftest.$ac_ext >&5
43279
43280 ac_cv_func_gethostbyname=no
43281 fi
43282
43283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43284 conftest$ac_exeext conftest.$ac_ext
43285 fi
43286 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43287 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43288 if test $ac_cv_func_gethostbyname = yes; then
43289 cat >>confdefs.h <<\_ACEOF
43290 #define HAVE_GETHOSTBYNAME 1
43291 _ACEOF
43292
43293 fi
43294
43295 fi
43296
43297 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43298 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43299 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43300 echo $ECHO_N "(cached) $ECHO_C" >&6
43301 else
43302
43303 ac_ext=cpp
43304 ac_cpp='$CXXCPP $CPPFLAGS'
43305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43308
43309
43310 cat >conftest.$ac_ext <<_ACEOF
43311 /* confdefs.h. */
43312 _ACEOF
43313 cat confdefs.h >>conftest.$ac_ext
43314 cat >>conftest.$ac_ext <<_ACEOF
43315 /* end confdefs.h. */
43316 #include <netdb.h>
43317 int
43318 main ()
43319 {
43320
43321 char *name;
43322 char *proto;
43323 struct servent *se, *res;
43324 char buffer[2048];
43325 int buflen = 2048;
43326 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43327
43328 ;
43329 return 0;
43330 }
43331 _ACEOF
43332 rm -f conftest.$ac_objext
43333 if { (ac_try="$ac_compile"
43334 case "(($ac_try" in
43335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43336 *) ac_try_echo=$ac_try;;
43337 esac
43338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43339 (eval "$ac_compile") 2>conftest.er1
43340 ac_status=$?
43341 grep -v '^ *+' conftest.er1 >conftest.err
43342 rm -f conftest.er1
43343 cat conftest.err >&5
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); } && {
43346 test -z "$ac_cxx_werror_flag" ||
43347 test ! -s conftest.err
43348 } && test -s conftest.$ac_objext; then
43349 ac_cv_func_which_getservbyname_r=six
43350 else
43351 echo "$as_me: failed program was:" >&5
43352 sed 's/^/| /' conftest.$ac_ext >&5
43353
43354
43355 cat >conftest.$ac_ext <<_ACEOF
43356 /* confdefs.h. */
43357 _ACEOF
43358 cat confdefs.h >>conftest.$ac_ext
43359 cat >>conftest.$ac_ext <<_ACEOF
43360 /* end confdefs.h. */
43361 #include <netdb.h>
43362 int
43363 main ()
43364 {
43365
43366 char *name;
43367 char *proto;
43368 struct servent *se;
43369 char buffer[2048];
43370 int buflen = 2048;
43371 (void) getservbyname_r(name, proto, se, buffer, buflen)
43372
43373 ;
43374 return 0;
43375 }
43376 _ACEOF
43377 rm -f conftest.$ac_objext
43378 if { (ac_try="$ac_compile"
43379 case "(($ac_try" in
43380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43381 *) ac_try_echo=$ac_try;;
43382 esac
43383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43384 (eval "$ac_compile") 2>conftest.er1
43385 ac_status=$?
43386 grep -v '^ *+' conftest.er1 >conftest.err
43387 rm -f conftest.er1
43388 cat conftest.err >&5
43389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390 (exit $ac_status); } && {
43391 test -z "$ac_cxx_werror_flag" ||
43392 test ! -s conftest.err
43393 } && test -s conftest.$ac_objext; then
43394 ac_cv_func_which_getservbyname_r=five
43395 else
43396 echo "$as_me: failed program was:" >&5
43397 sed 's/^/| /' conftest.$ac_ext >&5
43398
43399
43400 cat >conftest.$ac_ext <<_ACEOF
43401 /* confdefs.h. */
43402 _ACEOF
43403 cat confdefs.h >>conftest.$ac_ext
43404 cat >>conftest.$ac_ext <<_ACEOF
43405 /* end confdefs.h. */
43406 #include <netdb.h>
43407 int
43408 main ()
43409 {
43410
43411 char *name;
43412 char *proto;
43413 struct servent *se;
43414 struct servent_data data;
43415 (void) getservbyname_r(name, proto, se, &data);
43416
43417 ;
43418 return 0;
43419 }
43420 _ACEOF
43421 rm -f conftest.$ac_objext
43422 if { (ac_try="$ac_compile"
43423 case "(($ac_try" in
43424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43425 *) ac_try_echo=$ac_try;;
43426 esac
43427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43428 (eval "$ac_compile") 2>conftest.er1
43429 ac_status=$?
43430 grep -v '^ *+' conftest.er1 >conftest.err
43431 rm -f conftest.er1
43432 cat conftest.err >&5
43433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43434 (exit $ac_status); } && {
43435 test -z "$ac_cxx_werror_flag" ||
43436 test ! -s conftest.err
43437 } && test -s conftest.$ac_objext; then
43438 ac_cv_func_which_getservbyname_r=four
43439 else
43440 echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.$ac_ext >&5
43442
43443 ac_cv_func_which_getservbyname_r=no
43444
43445 fi
43446
43447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43448
43449
43450 fi
43451
43452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43453
43454
43455 fi
43456
43457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43458 ac_ext=c
43459 ac_cpp='$CPP $CPPFLAGS'
43460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43463
43464
43465
43466 fi
43467 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43468 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43469
43470 if test $ac_cv_func_which_getservbyname_r = six; then
43471 cat >>confdefs.h <<\_ACEOF
43472 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43473 _ACEOF
43474
43475 elif test $ac_cv_func_which_getservbyname_r = five; then
43476 cat >>confdefs.h <<\_ACEOF
43477 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43478 _ACEOF
43479
43480 elif test $ac_cv_func_which_getservbyname_r = four; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43483 _ACEOF
43484
43485 fi
43486
43487
43488 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43489 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43490
43491 for ac_func in getservbyname
43492 do
43493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43497 echo $ECHO_N "(cached) $ECHO_C" >&6
43498 else
43499 cat >conftest.$ac_ext <<_ACEOF
43500 /* confdefs.h. */
43501 _ACEOF
43502 cat confdefs.h >>conftest.$ac_ext
43503 cat >>conftest.$ac_ext <<_ACEOF
43504 /* end confdefs.h. */
43505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43507 #define $ac_func innocuous_$ac_func
43508
43509 /* System header to define __stub macros and hopefully few prototypes,
43510 which can conflict with char $ac_func (); below.
43511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43512 <limits.h> exists even on freestanding compilers. */
43513
43514 #ifdef __STDC__
43515 # include <limits.h>
43516 #else
43517 # include <assert.h>
43518 #endif
43519
43520 #undef $ac_func
43521
43522 /* Override any GCC internal prototype to avoid an error.
43523 Use char because int might match the return type of a GCC
43524 builtin and then its argument prototype would still apply. */
43525 #ifdef __cplusplus
43526 extern "C"
43527 #endif
43528 char $ac_func ();
43529 /* The GNU C library defines this for functions which it implements
43530 to always fail with ENOSYS. Some functions are actually named
43531 something starting with __ and the normal name is an alias. */
43532 #if defined __stub_$ac_func || defined __stub___$ac_func
43533 choke me
43534 #endif
43535
43536 int
43537 main ()
43538 {
43539 return $ac_func ();
43540 ;
43541 return 0;
43542 }
43543 _ACEOF
43544 rm -f conftest.$ac_objext conftest$ac_exeext
43545 if { (ac_try="$ac_link"
43546 case "(($ac_try" in
43547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43548 *) ac_try_echo=$ac_try;;
43549 esac
43550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43551 (eval "$ac_link") 2>conftest.er1
43552 ac_status=$?
43553 grep -v '^ *+' conftest.er1 >conftest.err
43554 rm -f conftest.er1
43555 cat conftest.err >&5
43556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43557 (exit $ac_status); } && {
43558 test -z "$ac_c_werror_flag" ||
43559 test ! -s conftest.err
43560 } && test -s conftest$ac_exeext &&
43561 $as_test_x conftest$ac_exeext; then
43562 eval "$as_ac_var=yes"
43563 else
43564 echo "$as_me: failed program was:" >&5
43565 sed 's/^/| /' conftest.$ac_ext >&5
43566
43567 eval "$as_ac_var=no"
43568 fi
43569
43570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43571 conftest$ac_exeext conftest.$ac_ext
43572 fi
43573 ac_res=`eval echo '${'$as_ac_var'}'`
43574 { echo "$as_me:$LINENO: result: $ac_res" >&5
43575 echo "${ECHO_T}$ac_res" >&6; }
43576 if test `eval echo '${'$as_ac_var'}'` = yes; then
43577 cat >>confdefs.h <<_ACEOF
43578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43579 _ACEOF
43580 cat >>confdefs.h <<\_ACEOF
43581 #define HAVE_GETSERVBYNAME 1
43582 _ACEOF
43583
43584 fi
43585 done
43586
43587 fi
43588
43589 if test "$wxUSE_THREADS" = "yes"; then
43590 cat >>confdefs.h <<\_ACEOF
43591 #define wxUSE_THREADS 1
43592 _ACEOF
43593
43594
43595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43596 else
43597 if test "$wx_cv_func_strtok_r" = "yes"; then
43598 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43599 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43600 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43601 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43602 { echo "$as_me:$LINENO: result: yes" >&5
43603 echo "${ECHO_T}yes" >&6; }
43604 else
43605 { echo "$as_me:$LINENO: result: no" >&5
43606 echo "${ECHO_T}no" >&6; }
43607 fi
43608 fi
43609 fi
43610
43611 if test "$WXGTK20" = 1 ; then
43612 cat >>confdefs.h <<_ACEOF
43613 #define __WXGTK20__ $WXGTK20
43614 _ACEOF
43615
43616 WXGTK12=1
43617 fi
43618
43619 if test "$WXGTK12" = 1 ; then
43620 cat >>confdefs.h <<_ACEOF
43621 #define __WXGTK12__ $WXGTK12
43622 _ACEOF
43623
43624 fi
43625
43626 if test "$WXGTK127" = 1 ; then
43627 cat >>confdefs.h <<_ACEOF
43628 #define __WXGTK127__ $WXGTK127
43629 _ACEOF
43630
43631 fi
43632
43633 if test "$WXGPE" = 1 ; then
43634 cat >>confdefs.h <<_ACEOF
43635 #define __WXGPE__ $WXGPE
43636 _ACEOF
43637
43638 fi
43639
43640 DEBUG_CFLAGS=
43641 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43642 DEBUG_CFLAGS="-g"
43643 wxUSE_OPTIMISE=no
43644 fi
43645
43646 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43647 wxUSE_DEBUG_INFO=yes
43648 if test "$GCC" = yes; then
43649 DEBUG_CFLAGS="-ggdb"
43650 fi
43651 fi
43652
43653 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43654 cat >>confdefs.h <<\_ACEOF
43655 #define WXDEBUG 1
43656 _ACEOF
43657
43658 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43659 else
43660 if test "$wxUSE_GTK" = 1 ; then
43661 if test "x$wxGTK_VERSION" = "x1" ; then
43662 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43663 fi
43664 fi
43665 fi
43666
43667 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43668 cat >>confdefs.h <<\_ACEOF
43669 #define wxUSE_MEMORY_TRACING 1
43670 _ACEOF
43671
43672 cat >>confdefs.h <<\_ACEOF
43673 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43674 _ACEOF
43675
43676 cat >>confdefs.h <<\_ACEOF
43677 #define wxUSE_DEBUG_NEW_ALWAYS 1
43678 _ACEOF
43679
43680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43681 fi
43682
43683 if test "$wxUSE_DMALLOC" = "yes" ; then
43684 DMALLOC_LIBS="-ldmallocthcxx"
43685 fi
43686
43687 PROFILE_FLAGS=
43688 if test "$wxUSE_PROFILE" = "yes" ; then
43689 PROFILE_FLAGS=" -pg"
43690 fi
43691
43692 if test "$GCC" = "yes" ; then
43693 if test "$wxUSE_NO_RTTI" = "yes" ; then
43694 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43695 fi
43696 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43697 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43698 fi
43699 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43700 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43701 fi
43702
43703 case "${host}" in
43704 powerpc*-*-aix* )
43705 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43706 ;;
43707 *-hppa* )
43708 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43709 ;;
43710 esac
43711 fi
43712
43713 OPTIMISE_CFLAGS=
43714 if test "$wxUSE_OPTIMISE" = "no" ; then
43715 if test "$GCC" = yes ; then
43716 OPTIMISE_CFLAGS="-O0"
43717 fi
43718 else
43719 if test "$GCC" = yes ; then
43720 case "${host}" in
43721 *-pc-os2_emx | *-pc-os2-emx )
43722 OPTIMISE_CFLAGS="-O2"
43723 ;;
43724 *)
43725 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43726 ;;
43727 esac
43728 else
43729 OPTIMISE_CFLAGS="-O"
43730 fi
43731 fi
43732
43733
43734 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43735 cat >>confdefs.h <<\_ACEOF
43736 #define WXWIN_COMPATIBILITY_2_6 1
43737 _ACEOF
43738
43739
43740 WXWIN_COMPATIBILITY_2_8="yes"
43741 fi
43742
43743 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43744 cat >>confdefs.h <<\_ACEOF
43745 #define WXWIN_COMPATIBILITY_2_8 1
43746 _ACEOF
43747
43748 fi
43749
43750
43751 if test "$wxUSE_GUI" = "yes"; then
43752 cat >>confdefs.h <<\_ACEOF
43753 #define wxUSE_GUI 1
43754 _ACEOF
43755
43756
43757 fi
43758
43759
43760 if test "$wxUSE_UNIX" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_UNIX 1
43763 _ACEOF
43764
43765 fi
43766
43767
43768 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43769
43770 HAVE_DL_FUNCS=0
43771 HAVE_SHL_FUNCS=0
43772 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43773 if test "$USE_DARWIN" = 1; then
43774 HAVE_DL_FUNCS=1
43775 elif test "$USE_DOS" = 1; then
43776 HAVE_DL_FUNCS=0
43777 else
43778
43779 for ac_func in dlopen
43780 do
43781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43782 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43784 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43785 echo $ECHO_N "(cached) $ECHO_C" >&6
43786 else
43787 cat >conftest.$ac_ext <<_ACEOF
43788 /* confdefs.h. */
43789 _ACEOF
43790 cat confdefs.h >>conftest.$ac_ext
43791 cat >>conftest.$ac_ext <<_ACEOF
43792 /* end confdefs.h. */
43793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43795 #define $ac_func innocuous_$ac_func
43796
43797 /* System header to define __stub macros and hopefully few prototypes,
43798 which can conflict with char $ac_func (); below.
43799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43800 <limits.h> exists even on freestanding compilers. */
43801
43802 #ifdef __STDC__
43803 # include <limits.h>
43804 #else
43805 # include <assert.h>
43806 #endif
43807
43808 #undef $ac_func
43809
43810 /* Override any GCC internal prototype to avoid an error.
43811 Use char because int might match the return type of a GCC
43812 builtin and then its argument prototype would still apply. */
43813 #ifdef __cplusplus
43814 extern "C"
43815 #endif
43816 char $ac_func ();
43817 /* The GNU C library defines this for functions which it implements
43818 to always fail with ENOSYS. Some functions are actually named
43819 something starting with __ and the normal name is an alias. */
43820 #if defined __stub_$ac_func || defined __stub___$ac_func
43821 choke me
43822 #endif
43823
43824 int
43825 main ()
43826 {
43827 return $ac_func ();
43828 ;
43829 return 0;
43830 }
43831 _ACEOF
43832 rm -f conftest.$ac_objext conftest$ac_exeext
43833 if { (ac_try="$ac_link"
43834 case "(($ac_try" in
43835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43836 *) ac_try_echo=$ac_try;;
43837 esac
43838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43839 (eval "$ac_link") 2>conftest.er1
43840 ac_status=$?
43841 grep -v '^ *+' conftest.er1 >conftest.err
43842 rm -f conftest.er1
43843 cat conftest.err >&5
43844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845 (exit $ac_status); } && {
43846 test -z "$ac_c_werror_flag" ||
43847 test ! -s conftest.err
43848 } && test -s conftest$ac_exeext &&
43849 $as_test_x conftest$ac_exeext; then
43850 eval "$as_ac_var=yes"
43851 else
43852 echo "$as_me: failed program was:" >&5
43853 sed 's/^/| /' conftest.$ac_ext >&5
43854
43855 eval "$as_ac_var=no"
43856 fi
43857
43858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43859 conftest$ac_exeext conftest.$ac_ext
43860 fi
43861 ac_res=`eval echo '${'$as_ac_var'}'`
43862 { echo "$as_me:$LINENO: result: $ac_res" >&5
43863 echo "${ECHO_T}$ac_res" >&6; }
43864 if test `eval echo '${'$as_ac_var'}'` = yes; then
43865 cat >>confdefs.h <<_ACEOF
43866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43867 _ACEOF
43868
43869 cat >>confdefs.h <<\_ACEOF
43870 #define HAVE_DLOPEN 1
43871 _ACEOF
43872
43873 HAVE_DL_FUNCS=1
43874
43875 else
43876
43877 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43878 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43879 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43880 echo $ECHO_N "(cached) $ECHO_C" >&6
43881 else
43882 ac_check_lib_save_LIBS=$LIBS
43883 LIBS="-ldl $LIBS"
43884 cat >conftest.$ac_ext <<_ACEOF
43885 /* confdefs.h. */
43886 _ACEOF
43887 cat confdefs.h >>conftest.$ac_ext
43888 cat >>conftest.$ac_ext <<_ACEOF
43889 /* end confdefs.h. */
43890
43891 /* Override any GCC internal prototype to avoid an error.
43892 Use char because int might match the return type of a GCC
43893 builtin and then its argument prototype would still apply. */
43894 #ifdef __cplusplus
43895 extern "C"
43896 #endif
43897 char dlopen ();
43898 int
43899 main ()
43900 {
43901 return dlopen ();
43902 ;
43903 return 0;
43904 }
43905 _ACEOF
43906 rm -f conftest.$ac_objext conftest$ac_exeext
43907 if { (ac_try="$ac_link"
43908 case "(($ac_try" in
43909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43910 *) ac_try_echo=$ac_try;;
43911 esac
43912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43913 (eval "$ac_link") 2>conftest.er1
43914 ac_status=$?
43915 grep -v '^ *+' conftest.er1 >conftest.err
43916 rm -f conftest.er1
43917 cat conftest.err >&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); } && {
43920 test -z "$ac_c_werror_flag" ||
43921 test ! -s conftest.err
43922 } && test -s conftest$ac_exeext &&
43923 $as_test_x conftest$ac_exeext; then
43924 ac_cv_lib_dl_dlopen=yes
43925 else
43926 echo "$as_me: failed program was:" >&5
43927 sed 's/^/| /' conftest.$ac_ext >&5
43928
43929 ac_cv_lib_dl_dlopen=no
43930 fi
43931
43932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43933 conftest$ac_exeext conftest.$ac_ext
43934 LIBS=$ac_check_lib_save_LIBS
43935 fi
43936 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43937 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43938 if test $ac_cv_lib_dl_dlopen = yes; then
43939
43940 cat >>confdefs.h <<\_ACEOF
43941 #define HAVE_DLOPEN 1
43942 _ACEOF
43943
43944 HAVE_DL_FUNCS=1
43945 DL_LINK=" -ldl$DL_LINK"
43946
43947 else
43948
43949
43950 for ac_func in shl_load
43951 do
43952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43953 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43955 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43956 echo $ECHO_N "(cached) $ECHO_C" >&6
43957 else
43958 cat >conftest.$ac_ext <<_ACEOF
43959 /* confdefs.h. */
43960 _ACEOF
43961 cat confdefs.h >>conftest.$ac_ext
43962 cat >>conftest.$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43966 #define $ac_func innocuous_$ac_func
43967
43968 /* System header to define __stub macros and hopefully few prototypes,
43969 which can conflict with char $ac_func (); below.
43970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43971 <limits.h> exists even on freestanding compilers. */
43972
43973 #ifdef __STDC__
43974 # include <limits.h>
43975 #else
43976 # include <assert.h>
43977 #endif
43978
43979 #undef $ac_func
43980
43981 /* Override any GCC internal prototype to avoid an error.
43982 Use char because int might match the return type of a GCC
43983 builtin and then its argument prototype would still apply. */
43984 #ifdef __cplusplus
43985 extern "C"
43986 #endif
43987 char $ac_func ();
43988 /* The GNU C library defines this for functions which it implements
43989 to always fail with ENOSYS. Some functions are actually named
43990 something starting with __ and the normal name is an alias. */
43991 #if defined __stub_$ac_func || defined __stub___$ac_func
43992 choke me
43993 #endif
43994
43995 int
43996 main ()
43997 {
43998 return $ac_func ();
43999 ;
44000 return 0;
44001 }
44002 _ACEOF
44003 rm -f conftest.$ac_objext conftest$ac_exeext
44004 if { (ac_try="$ac_link"
44005 case "(($ac_try" in
44006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44007 *) ac_try_echo=$ac_try;;
44008 esac
44009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44010 (eval "$ac_link") 2>conftest.er1
44011 ac_status=$?
44012 grep -v '^ *+' conftest.er1 >conftest.err
44013 rm -f conftest.er1
44014 cat conftest.err >&5
44015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44016 (exit $ac_status); } && {
44017 test -z "$ac_c_werror_flag" ||
44018 test ! -s conftest.err
44019 } && test -s conftest$ac_exeext &&
44020 $as_test_x conftest$ac_exeext; then
44021 eval "$as_ac_var=yes"
44022 else
44023 echo "$as_me: failed program was:" >&5
44024 sed 's/^/| /' conftest.$ac_ext >&5
44025
44026 eval "$as_ac_var=no"
44027 fi
44028
44029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44030 conftest$ac_exeext conftest.$ac_ext
44031 fi
44032 ac_res=`eval echo '${'$as_ac_var'}'`
44033 { echo "$as_me:$LINENO: result: $ac_res" >&5
44034 echo "${ECHO_T}$ac_res" >&6; }
44035 if test `eval echo '${'$as_ac_var'}'` = yes; then
44036 cat >>confdefs.h <<_ACEOF
44037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44038 _ACEOF
44039
44040 cat >>confdefs.h <<\_ACEOF
44041 #define HAVE_SHL_LOAD 1
44042 _ACEOF
44043
44044 HAVE_SHL_FUNCS=1
44045
44046 else
44047
44048 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44049 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44050 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44051 echo $ECHO_N "(cached) $ECHO_C" >&6
44052 else
44053 ac_check_lib_save_LIBS=$LIBS
44054 LIBS="-lshl_load $LIBS"
44055 cat >conftest.$ac_ext <<_ACEOF
44056 /* confdefs.h. */
44057 _ACEOF
44058 cat confdefs.h >>conftest.$ac_ext
44059 cat >>conftest.$ac_ext <<_ACEOF
44060 /* end confdefs.h. */
44061
44062 /* Override any GCC internal prototype to avoid an error.
44063 Use char because int might match the return type of a GCC
44064 builtin and then its argument prototype would still apply. */
44065 #ifdef __cplusplus
44066 extern "C"
44067 #endif
44068 char dld ();
44069 int
44070 main ()
44071 {
44072 return dld ();
44073 ;
44074 return 0;
44075 }
44076 _ACEOF
44077 rm -f conftest.$ac_objext conftest$ac_exeext
44078 if { (ac_try="$ac_link"
44079 case "(($ac_try" in
44080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44081 *) ac_try_echo=$ac_try;;
44082 esac
44083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44084 (eval "$ac_link") 2>conftest.er1
44085 ac_status=$?
44086 grep -v '^ *+' conftest.er1 >conftest.err
44087 rm -f conftest.er1
44088 cat conftest.err >&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } && {
44091 test -z "$ac_c_werror_flag" ||
44092 test ! -s conftest.err
44093 } && test -s conftest$ac_exeext &&
44094 $as_test_x conftest$ac_exeext; then
44095 ac_cv_lib_shl_load_dld=yes
44096 else
44097 echo "$as_me: failed program was:" >&5
44098 sed 's/^/| /' conftest.$ac_ext >&5
44099
44100 ac_cv_lib_shl_load_dld=no
44101 fi
44102
44103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44104 conftest$ac_exeext conftest.$ac_ext
44105 LIBS=$ac_check_lib_save_LIBS
44106 fi
44107 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44108 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44109 if test $ac_cv_lib_shl_load_dld = yes; then
44110
44111 HAVE_SHL_FUNCS=1
44112 DL_LINK=" -ldld$DL_LINK"
44113
44114 fi
44115
44116
44117 fi
44118 done
44119
44120
44121 fi
44122
44123
44124 fi
44125 done
44126
44127
44128 if test "$HAVE_DL_FUNCS" = 1; then
44129
44130 for ac_func in dlerror
44131 do
44132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44136 echo $ECHO_N "(cached) $ECHO_C" >&6
44137 else
44138 cat >conftest.$ac_ext <<_ACEOF
44139 /* confdefs.h. */
44140 _ACEOF
44141 cat confdefs.h >>conftest.$ac_ext
44142 cat >>conftest.$ac_ext <<_ACEOF
44143 /* end confdefs.h. */
44144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44146 #define $ac_func innocuous_$ac_func
44147
44148 /* System header to define __stub macros and hopefully few prototypes,
44149 which can conflict with char $ac_func (); below.
44150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44151 <limits.h> exists even on freestanding compilers. */
44152
44153 #ifdef __STDC__
44154 # include <limits.h>
44155 #else
44156 # include <assert.h>
44157 #endif
44158
44159 #undef $ac_func
44160
44161 /* Override any GCC internal prototype to avoid an error.
44162 Use char because int might match the return type of a GCC
44163 builtin and then its argument prototype would still apply. */
44164 #ifdef __cplusplus
44165 extern "C"
44166 #endif
44167 char $ac_func ();
44168 /* The GNU C library defines this for functions which it implements
44169 to always fail with ENOSYS. Some functions are actually named
44170 something starting with __ and the normal name is an alias. */
44171 #if defined __stub_$ac_func || defined __stub___$ac_func
44172 choke me
44173 #endif
44174
44175 int
44176 main ()
44177 {
44178 return $ac_func ();
44179 ;
44180 return 0;
44181 }
44182 _ACEOF
44183 rm -f conftest.$ac_objext conftest$ac_exeext
44184 if { (ac_try="$ac_link"
44185 case "(($ac_try" in
44186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44187 *) ac_try_echo=$ac_try;;
44188 esac
44189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44190 (eval "$ac_link") 2>conftest.er1
44191 ac_status=$?
44192 grep -v '^ *+' conftest.er1 >conftest.err
44193 rm -f conftest.er1
44194 cat conftest.err >&5
44195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44196 (exit $ac_status); } && {
44197 test -z "$ac_c_werror_flag" ||
44198 test ! -s conftest.err
44199 } && test -s conftest$ac_exeext &&
44200 $as_test_x conftest$ac_exeext; then
44201 eval "$as_ac_var=yes"
44202 else
44203 echo "$as_me: failed program was:" >&5
44204 sed 's/^/| /' conftest.$ac_ext >&5
44205
44206 eval "$as_ac_var=no"
44207 fi
44208
44209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44210 conftest$ac_exeext conftest.$ac_ext
44211 fi
44212 ac_res=`eval echo '${'$as_ac_var'}'`
44213 { echo "$as_me:$LINENO: result: $ac_res" >&5
44214 echo "${ECHO_T}$ac_res" >&6; }
44215 if test `eval echo '${'$as_ac_var'}'` = yes; then
44216 cat >>confdefs.h <<_ACEOF
44217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44218 _ACEOF
44219 cat >>confdefs.h <<\_ACEOF
44220 #define HAVE_DLERROR 1
44221 _ACEOF
44222
44223 else
44224
44225 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44226 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44227 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44228 echo $ECHO_N "(cached) $ECHO_C" >&6
44229 else
44230 ac_check_lib_save_LIBS=$LIBS
44231 LIBS="-ldl $LIBS"
44232 cat >conftest.$ac_ext <<_ACEOF
44233 /* confdefs.h. */
44234 _ACEOF
44235 cat confdefs.h >>conftest.$ac_ext
44236 cat >>conftest.$ac_ext <<_ACEOF
44237 /* end confdefs.h. */
44238
44239 /* Override any GCC internal prototype to avoid an error.
44240 Use char because int might match the return type of a GCC
44241 builtin and then its argument prototype would still apply. */
44242 #ifdef __cplusplus
44243 extern "C"
44244 #endif
44245 char dlerror ();
44246 int
44247 main ()
44248 {
44249 return dlerror ();
44250 ;
44251 return 0;
44252 }
44253 _ACEOF
44254 rm -f conftest.$ac_objext conftest$ac_exeext
44255 if { (ac_try="$ac_link"
44256 case "(($ac_try" in
44257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44258 *) ac_try_echo=$ac_try;;
44259 esac
44260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44261 (eval "$ac_link") 2>conftest.er1
44262 ac_status=$?
44263 grep -v '^ *+' conftest.er1 >conftest.err
44264 rm -f conftest.er1
44265 cat conftest.err >&5
44266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44267 (exit $ac_status); } && {
44268 test -z "$ac_c_werror_flag" ||
44269 test ! -s conftest.err
44270 } && test -s conftest$ac_exeext &&
44271 $as_test_x conftest$ac_exeext; then
44272 ac_cv_lib_dl_dlerror=yes
44273 else
44274 echo "$as_me: failed program was:" >&5
44275 sed 's/^/| /' conftest.$ac_ext >&5
44276
44277 ac_cv_lib_dl_dlerror=no
44278 fi
44279
44280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44281 conftest$ac_exeext conftest.$ac_ext
44282 LIBS=$ac_check_lib_save_LIBS
44283 fi
44284 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44285 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44286 if test $ac_cv_lib_dl_dlerror = yes; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define HAVE_DLERROR 1
44289 _ACEOF
44290
44291 fi
44292
44293
44294
44295 fi
44296 done
44297
44298 fi
44299 fi
44300
44301 if test "$HAVE_DL_FUNCS" = 0; then
44302 if test "$HAVE_SHL_FUNCS" = 0; then
44303 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44304 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44305 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44306 wxUSE_DYNAMIC_LOADER=no
44307 wxUSE_DYNLIB_CLASS=no
44308 else
44309 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44310 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44311 fi
44312 fi
44313 fi
44314 fi
44315 fi
44316
44317 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44318 cat >>confdefs.h <<\_ACEOF
44319 #define wxUSE_DYNAMIC_LOADER 1
44320 _ACEOF
44321
44322 fi
44323 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44324 cat >>confdefs.h <<\_ACEOF
44325 #define wxUSE_DYNLIB_CLASS 1
44326 _ACEOF
44327
44328 fi
44329
44330
44331
44332 if test "$wxUSE_PLUGINS" = "yes" ; then
44333 if test "$wxUSE_SHARED" = "no" ; then
44334 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44335 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44336 wxUSE_PLUGINS=no
44337 fi
44338 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44339 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44340 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44341 wxUSE_PLUGINS=no
44342 fi
44343 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44344 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44345 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44346 wxUSE_PLUGINS=no
44347 fi
44348 if test "$wxUSE_PLUGINS" = "yes" ; then
44349 cat >>confdefs.h <<\_ACEOF
44350 #define wxUSE_PLUGINS 1
44351 _ACEOF
44352
44353 fi
44354 fi
44355
44356
44357 if test "$wxUSE_STL" = "yes"; then
44358 cat >>confdefs.h <<\_ACEOF
44359 #define wxUSE_STL 1
44360 _ACEOF
44361
44362 fi
44363
44364 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_EXTENDED_RTTI 1
44367 _ACEOF
44368
44369 fi
44370
44371 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44372 cat >>confdefs.h <<\_ACEOF
44373 #define wxUSE_APPLE_IEEE 1
44374 _ACEOF
44375
44376 fi
44377
44378 if test "$wxUSE_TIMER" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_TIMER 1
44381 _ACEOF
44382
44383 fi
44384
44385 if test "$USE_UNIX" = "1" ; then
44386 if test "$wxUSE_MGL" != 1; then
44387 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44388 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44389 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44390 echo $ECHO_N "(cached) $ECHO_C" >&6
44391 else
44392
44393 cat >conftest.$ac_ext <<_ACEOF
44394 /* confdefs.h. */
44395 _ACEOF
44396 cat confdefs.h >>conftest.$ac_ext
44397 cat >>conftest.$ac_ext <<_ACEOF
44398 /* end confdefs.h. */
44399
44400 #include <sys/ioctl.h>
44401 #include <sys/soundcard.h>
44402
44403 int
44404 main ()
44405 {
44406
44407 ioctl(0, SNDCTL_DSP_SPEED, 0);
44408
44409 ;
44410 return 0;
44411 }
44412 _ACEOF
44413 rm -f conftest.$ac_objext conftest$ac_exeext
44414 if { (ac_try="$ac_link"
44415 case "(($ac_try" in
44416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44417 *) ac_try_echo=$ac_try;;
44418 esac
44419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44420 (eval "$ac_link") 2>conftest.er1
44421 ac_status=$?
44422 grep -v '^ *+' conftest.er1 >conftest.err
44423 rm -f conftest.er1
44424 cat conftest.err >&5
44425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426 (exit $ac_status); } && {
44427 test -z "$ac_c_werror_flag" ||
44428 test ! -s conftest.err
44429 } && test -s conftest$ac_exeext &&
44430 $as_test_x conftest$ac_exeext; then
44431 ac_cv_header_sys_soundcard=yes
44432 else
44433 echo "$as_me: failed program was:" >&5
44434 sed 's/^/| /' conftest.$ac_ext >&5
44435
44436
44437 saveLibs="$LIBS"
44438 LIBS="$saveLibs -lossaudio"
44439 cat >conftest.$ac_ext <<_ACEOF
44440 /* confdefs.h. */
44441 _ACEOF
44442 cat confdefs.h >>conftest.$ac_ext
44443 cat >>conftest.$ac_ext <<_ACEOF
44444 /* end confdefs.h. */
44445
44446 #include <sys/ioctl.h>
44447 #include <sys/soundcard.h>
44448
44449 int
44450 main ()
44451 {
44452
44453 ioctl(0, SNDCTL_DSP_SPEED, 0);
44454
44455 ;
44456 return 0;
44457 }
44458 _ACEOF
44459 rm -f conftest.$ac_objext conftest$ac_exeext
44460 if { (ac_try="$ac_link"
44461 case "(($ac_try" in
44462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44463 *) ac_try_echo=$ac_try;;
44464 esac
44465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44466 (eval "$ac_link") 2>conftest.er1
44467 ac_status=$?
44468 grep -v '^ *+' conftest.er1 >conftest.err
44469 rm -f conftest.er1
44470 cat conftest.err >&5
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); } && {
44473 test -z "$ac_c_werror_flag" ||
44474 test ! -s conftest.err
44475 } && test -s conftest$ac_exeext &&
44476 $as_test_x conftest$ac_exeext; then
44477 ac_cv_header_sys_soundcard=yes
44478 else
44479 echo "$as_me: failed program was:" >&5
44480 sed 's/^/| /' conftest.$ac_ext >&5
44481
44482
44483 LIBS="$saveLibs"
44484 ac_cv_header_sys_soundcard=no
44485
44486
44487 fi
44488
44489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44490 conftest$ac_exeext conftest.$ac_ext
44491
44492
44493 fi
44494
44495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44496 conftest$ac_exeext conftest.$ac_ext
44497
44498 fi
44499 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44500 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44501 fi
44502
44503 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44504 cat >>confdefs.h <<\_ACEOF
44505 #define HAVE_SYS_SOUNDCARD_H 1
44506 _ACEOF
44507
44508 fi
44509 fi
44510
44511 WITH_PLUGIN_SDL=0
44512 if test "$wxUSE_SOUND" = "yes"; then
44513 if test "$USE_UNIX" = "1" ; then
44514 if test "$wxUSE_LIBSDL" != "no"; then
44515
44516 # Check whether --with-sdl-prefix was given.
44517 if test "${with_sdl_prefix+set}" = set; then
44518 withval=$with_sdl_prefix; sdl_prefix="$withval"
44519 else
44520 sdl_prefix=""
44521 fi
44522
44523
44524 # Check whether --with-sdl-exec-prefix was given.
44525 if test "${with_sdl_exec_prefix+set}" = set; then
44526 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44527 else
44528 sdl_exec_prefix=""
44529 fi
44530
44531 # Check whether --enable-sdltest was given.
44532 if test "${enable_sdltest+set}" = set; then
44533 enableval=$enable_sdltest;
44534 else
44535 enable_sdltest=yes
44536 fi
44537
44538
44539 if test x$sdl_exec_prefix != x ; then
44540 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44541 if test x${SDL_CONFIG+set} != xset ; then
44542 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44543 fi
44544 fi
44545 if test x$sdl_prefix != x ; then
44546 sdl_args="$sdl_args --prefix=$sdl_prefix"
44547 if test x${SDL_CONFIG+set} != xset ; then
44548 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44549 fi
44550 fi
44551
44552 if test "x$prefix" != xNONE; then
44553 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44554 fi
44555 # Extract the first word of "sdl-config", so it can be a program name with args.
44556 set dummy sdl-config; ac_word=$2
44557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44559 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44560 echo $ECHO_N "(cached) $ECHO_C" >&6
44561 else
44562 case $SDL_CONFIG in
44563 [\\/]* | ?:[\\/]*)
44564 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44565 ;;
44566 *)
44567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44568 for as_dir in $PATH
44569 do
44570 IFS=$as_save_IFS
44571 test -z "$as_dir" && as_dir=.
44572 for ac_exec_ext in '' $ac_executable_extensions; do
44573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44574 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44576 break 2
44577 fi
44578 done
44579 done
44580 IFS=$as_save_IFS
44581
44582 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44583 ;;
44584 esac
44585 fi
44586 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44587 if test -n "$SDL_CONFIG"; then
44588 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44589 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44590 else
44591 { echo "$as_me:$LINENO: result: no" >&5
44592 echo "${ECHO_T}no" >&6; }
44593 fi
44594
44595
44596 min_sdl_version=1.2.0
44597 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44598 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44599 no_sdl=""
44600 if test "$SDL_CONFIG" = "no" ; then
44601 no_sdl=yes
44602 else
44603 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44604 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44605
44606 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44608 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44610 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44611 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44612 if test "x$enable_sdltest" = "xyes" ; then
44613 ac_save_CFLAGS="$CFLAGS"
44614 ac_save_CXXFLAGS="$CXXFLAGS"
44615 ac_save_LIBS="$LIBS"
44616 CFLAGS="$CFLAGS $SDL_CFLAGS"
44617 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44618 LIBS="$LIBS $SDL_LIBS"
44619 rm -f conf.sdltest
44620 if test "$cross_compiling" = yes; then
44621 echo $ac_n "cross compiling; assumed OK... $ac_c"
44622 else
44623 cat >conftest.$ac_ext <<_ACEOF
44624 /* confdefs.h. */
44625 _ACEOF
44626 cat confdefs.h >>conftest.$ac_ext
44627 cat >>conftest.$ac_ext <<_ACEOF
44628 /* end confdefs.h. */
44629
44630 #include <stdio.h>
44631 #include <stdlib.h>
44632 #include <string.h>
44633 #include "SDL.h"
44634
44635 char*
44636 my_strdup (char *str)
44637 {
44638 char *new_str;
44639
44640 if (str)
44641 {
44642 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44643 strcpy (new_str, str);
44644 }
44645 else
44646 new_str = NULL;
44647
44648 return new_str;
44649 }
44650
44651 int main (int argc, char *argv[])
44652 {
44653 int major, minor, micro;
44654 char *tmp_version;
44655
44656 /* This hangs on some systems (?)
44657 system ("touch conf.sdltest");
44658 */
44659 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44660
44661 /* HP/UX 9 (%@#!) writes to sscanf strings */
44662 tmp_version = my_strdup("$min_sdl_version");
44663 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44664 printf("%s, bad version string\n", "$min_sdl_version");
44665 exit(1);
44666 }
44667
44668 if (($sdl_major_version > major) ||
44669 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44670 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44671 {
44672 return 0;
44673 }
44674 else
44675 {
44676 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44677 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44678 printf("*** best to upgrade to the required version.\n");
44679 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44680 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44681 printf("*** config.cache before re-running configure\n");
44682 return 1;
44683 }
44684 }
44685
44686
44687 _ACEOF
44688 rm -f conftest$ac_exeext
44689 if { (ac_try="$ac_link"
44690 case "(($ac_try" in
44691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44692 *) ac_try_echo=$ac_try;;
44693 esac
44694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44695 (eval "$ac_link") 2>&5
44696 ac_status=$?
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44699 { (case "(($ac_try" in
44700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44701 *) ac_try_echo=$ac_try;;
44702 esac
44703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44704 (eval "$ac_try") 2>&5
44705 ac_status=$?
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); }; }; then
44708 :
44709 else
44710 echo "$as_me: program exited with status $ac_status" >&5
44711 echo "$as_me: failed program was:" >&5
44712 sed 's/^/| /' conftest.$ac_ext >&5
44713
44714 ( exit $ac_status )
44715 no_sdl=yes
44716 fi
44717 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44718 fi
44719
44720
44721 CFLAGS="$ac_save_CFLAGS"
44722 CXXFLAGS="$ac_save_CXXFLAGS"
44723 LIBS="$ac_save_LIBS"
44724 fi
44725 fi
44726 if test "x$no_sdl" = x ; then
44727 { echo "$as_me:$LINENO: result: yes" >&5
44728 echo "${ECHO_T}yes" >&6; }
44729
44730 EXTRALIBS_SDL="$SDL_LIBS"
44731 CFLAGS="$SDL_CFLAGS $CFLAGS"
44732 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44733 cat >>confdefs.h <<\_ACEOF
44734 #define wxUSE_LIBSDL 1
44735 _ACEOF
44736
44737
44738 else
44739 { echo "$as_me:$LINENO: result: no" >&5
44740 echo "${ECHO_T}no" >&6; }
44741 if test "$SDL_CONFIG" = "no" ; then
44742 echo "*** The sdl-config script installed by SDL could not be found"
44743 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44744 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44745 echo "*** full path to sdl-config."
44746 else
44747 if test -f conf.sdltest ; then
44748 :
44749 else
44750 echo "*** Could not run SDL test program, checking why..."
44751 CFLAGS="$CFLAGS $SDL_CFLAGS"
44752 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44753 LIBS="$LIBS $SDL_LIBS"
44754 cat >conftest.$ac_ext <<_ACEOF
44755 /* confdefs.h. */
44756 _ACEOF
44757 cat confdefs.h >>conftest.$ac_ext
44758 cat >>conftest.$ac_ext <<_ACEOF
44759 /* end confdefs.h. */
44760
44761 #include <stdio.h>
44762 #include "SDL.h"
44763
44764 int main(int argc, char *argv[])
44765 { return 0; }
44766 #undef main
44767 #define main K_and_R_C_main
44768
44769 int
44770 main ()
44771 {
44772 return 0;
44773 ;
44774 return 0;
44775 }
44776 _ACEOF
44777 rm -f conftest.$ac_objext conftest$ac_exeext
44778 if { (ac_try="$ac_link"
44779 case "(($ac_try" in
44780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44781 *) ac_try_echo=$ac_try;;
44782 esac
44783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44784 (eval "$ac_link") 2>conftest.er1
44785 ac_status=$?
44786 grep -v '^ *+' conftest.er1 >conftest.err
44787 rm -f conftest.er1
44788 cat conftest.err >&5
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); } && {
44791 test -z "$ac_c_werror_flag" ||
44792 test ! -s conftest.err
44793 } && test -s conftest$ac_exeext &&
44794 $as_test_x conftest$ac_exeext; then
44795 echo "*** The test program compiled, but did not run. This usually means"
44796 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44797 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44798 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44799 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44800 echo "*** is required on your system"
44801 echo "***"
44802 echo "*** If you have an old version installed, it is best to remove it, although"
44803 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44804 else
44805 echo "$as_me: failed program was:" >&5
44806 sed 's/^/| /' conftest.$ac_ext >&5
44807
44808 echo "*** The test program failed to compile or link. See the file config.log for the"
44809 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44810 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44811 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44812 fi
44813
44814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44815 conftest$ac_exeext conftest.$ac_ext
44816 CFLAGS="$ac_save_CFLAGS"
44817 CXXFLAGS="$ac_save_CXXFLAGS"
44818 LIBS="$ac_save_LIBS"
44819 fi
44820 fi
44821 SDL_CFLAGS=""
44822 SDL_LIBS=""
44823 wxUSE_LIBSDL="no"
44824 fi
44825
44826
44827 rm -f conf.sdltest
44828
44829 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44830 WITH_PLUGIN_SDL=1
44831 fi
44832 fi
44833 else
44834 if test "$wxUSE_MGL" = 1; then
44835 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44836 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44837 wxUSE_SOUND="no"
44838 fi
44839 fi
44840 fi
44841
44842 if test "$wxUSE_SOUND" = "yes"; then
44843 cat >>confdefs.h <<\_ACEOF
44844 #define wxUSE_SOUND 1
44845 _ACEOF
44846
44847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44848 fi
44849
44850 if test "$WXGTK20" = 1; then
44851
44852
44853 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44854 if test -n "$ac_tool_prefix"; then
44855 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44856 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44859 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44860 echo $ECHO_N "(cached) $ECHO_C" >&6
44861 else
44862 case $PKG_CONFIG in
44863 [\\/]* | ?:[\\/]*)
44864 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44865 ;;
44866 *)
44867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44868 for as_dir in $PATH
44869 do
44870 IFS=$as_save_IFS
44871 test -z "$as_dir" && as_dir=.
44872 for ac_exec_ext in '' $ac_executable_extensions; do
44873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44874 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44876 break 2
44877 fi
44878 done
44879 done
44880 IFS=$as_save_IFS
44881
44882 ;;
44883 esac
44884 fi
44885 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44886 if test -n "$PKG_CONFIG"; then
44887 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44888 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44889 else
44890 { echo "$as_me:$LINENO: result: no" >&5
44891 echo "${ECHO_T}no" >&6; }
44892 fi
44893
44894
44895 fi
44896 if test -z "$ac_cv_path_PKG_CONFIG"; then
44897 ac_pt_PKG_CONFIG=$PKG_CONFIG
44898 # Extract the first word of "pkg-config", so it can be a program name with args.
44899 set dummy pkg-config; ac_word=$2
44900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44902 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44903 echo $ECHO_N "(cached) $ECHO_C" >&6
44904 else
44905 case $ac_pt_PKG_CONFIG in
44906 [\\/]* | ?:[\\/]*)
44907 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44908 ;;
44909 *)
44910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44911 for as_dir in $PATH
44912 do
44913 IFS=$as_save_IFS
44914 test -z "$as_dir" && as_dir=.
44915 for ac_exec_ext in '' $ac_executable_extensions; do
44916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44917 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44919 break 2
44920 fi
44921 done
44922 done
44923 IFS=$as_save_IFS
44924
44925 ;;
44926 esac
44927 fi
44928 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44929 if test -n "$ac_pt_PKG_CONFIG"; then
44930 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44931 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44932 else
44933 { echo "$as_me:$LINENO: result: no" >&5
44934 echo "${ECHO_T}no" >&6; }
44935 fi
44936
44937 if test "x$ac_pt_PKG_CONFIG" = x; then
44938 PKG_CONFIG=""
44939 else
44940 case $cross_compiling:$ac_tool_warned in
44941 yes:)
44942 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44943 whose name does not start with the host triplet. If you think this
44944 configuration is useful to you, please write to autoconf@gnu.org." >&5
44945 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44946 whose name does not start with the host triplet. If you think this
44947 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44948 ac_tool_warned=yes ;;
44949 esac
44950 PKG_CONFIG=$ac_pt_PKG_CONFIG
44951 fi
44952 else
44953 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44954 fi
44955
44956 fi
44957 if test -n "$PKG_CONFIG"; then
44958 _pkg_min_version=0.9.0
44959 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44960 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44961 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44962 { echo "$as_me:$LINENO: result: yes" >&5
44963 echo "${ECHO_T}yes" >&6; }
44964 else
44965 { echo "$as_me:$LINENO: result: no" >&5
44966 echo "${ECHO_T}no" >&6; }
44967 PKG_CONFIG=""
44968 fi
44969
44970 fi
44971
44972 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44973 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44974
44975
44976 pkg_failed=no
44977 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44978 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44979
44980 if test -n "$PKG_CONFIG"; then
44981 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44982 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44983 else
44984 if test -n "$PKG_CONFIG" && \
44985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44986 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44987 ac_status=$?
44988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44989 (exit $ac_status); }; then
44990 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44991 else
44992 pkg_failed=yes
44993 fi
44994 fi
44995 else
44996 pkg_failed=untried
44997 fi
44998 if test -n "$PKG_CONFIG"; then
44999 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45000 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45001 else
45002 if test -n "$PKG_CONFIG" && \
45003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45004 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45005 ac_status=$?
45006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45007 (exit $ac_status); }; then
45008 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45009 else
45010 pkg_failed=yes
45011 fi
45012 fi
45013 else
45014 pkg_failed=untried
45015 fi
45016
45017
45018
45019 if test $pkg_failed = yes; then
45020
45021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45022 _pkg_short_errors_supported=yes
45023 else
45024 _pkg_short_errors_supported=no
45025 fi
45026 if test $_pkg_short_errors_supported = yes; then
45027 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45028 else
45029 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45030 fi
45031 # Put the nasty error message in config.log where it belongs
45032 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45033
45034
45035 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45036 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45037 wxUSE_LIBGNOMEPRINT="no"
45038
45039
45040 elif test $pkg_failed = untried; then
45041
45042 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45043 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45044 wxUSE_LIBGNOMEPRINT="no"
45045
45046
45047 else
45048 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45049 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45050 { echo "$as_me:$LINENO: result: yes" >&5
45051 echo "${ECHO_T}yes" >&6; }
45052
45053 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45054 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_LIBGNOMEPRINT 1
45057 _ACEOF
45058
45059
45060 fi
45061 fi
45062 fi
45063
45064 if test "$wxUSE_MIMETYPE" = "yes" ; then
45065 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45066
45067
45068 pkg_failed=no
45069 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45070 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45071
45072 if test -n "$PKG_CONFIG"; then
45073 if test -n "$GNOMEVFS_CFLAGS"; then
45074 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45075 else
45076 if test -n "$PKG_CONFIG" && \
45077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45078 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45079 ac_status=$?
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; then
45082 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45083 else
45084 pkg_failed=yes
45085 fi
45086 fi
45087 else
45088 pkg_failed=untried
45089 fi
45090 if test -n "$PKG_CONFIG"; then
45091 if test -n "$GNOMEVFS_LIBS"; then
45092 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45093 else
45094 if test -n "$PKG_CONFIG" && \
45095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45096 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45097 ac_status=$?
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); }; then
45100 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45101 else
45102 pkg_failed=yes
45103 fi
45104 fi
45105 else
45106 pkg_failed=untried
45107 fi
45108
45109
45110
45111 if test $pkg_failed = yes; then
45112
45113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45114 _pkg_short_errors_supported=yes
45115 else
45116 _pkg_short_errors_supported=no
45117 fi
45118 if test $_pkg_short_errors_supported = yes; then
45119 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45120 else
45121 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45122 fi
45123 # Put the nasty error message in config.log where it belongs
45124 echo "$GNOMEVFS_PKG_ERRORS" >&5
45125
45126
45127 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45128 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45129 wxUSE_LIBGNOMEVFS="no"
45130
45131
45132 elif test $pkg_failed = untried; then
45133
45134 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45135 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45136 wxUSE_LIBGNOMEVFS="no"
45137
45138
45139 else
45140 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45141 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45142 { echo "$as_me:$LINENO: result: yes" >&5
45143 echo "${ECHO_T}yes" >&6; }
45144
45145 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45146 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_LIBGNOMEVFS 1
45149 _ACEOF
45150
45151
45152 fi
45153 fi
45154 fi
45155
45156 if test "$wxUSE_LIBHILDON" = "yes" ; then
45157
45158 pkg_failed=no
45159 { echo "$as_me:$LINENO: checking for HILDON" >&5
45160 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45161
45162 if test -n "$PKG_CONFIG"; then
45163 if test -n "$HILDON_CFLAGS"; then
45164 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45165 else
45166 if test -n "$PKG_CONFIG" && \
45167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45168 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45169 ac_status=$?
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); }; then
45172 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45173 else
45174 pkg_failed=yes
45175 fi
45176 fi
45177 else
45178 pkg_failed=untried
45179 fi
45180 if test -n "$PKG_CONFIG"; then
45181 if test -n "$HILDON_LIBS"; then
45182 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45183 else
45184 if test -n "$PKG_CONFIG" && \
45185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45186 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45187 ac_status=$?
45188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45189 (exit $ac_status); }; then
45190 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45191 else
45192 pkg_failed=yes
45193 fi
45194 fi
45195 else
45196 pkg_failed=untried
45197 fi
45198
45199
45200
45201 if test $pkg_failed = yes; then
45202
45203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45204 _pkg_short_errors_supported=yes
45205 else
45206 _pkg_short_errors_supported=no
45207 fi
45208 if test $_pkg_short_errors_supported = yes; then
45209 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45210 else
45211 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45212 fi
45213 # Put the nasty error message in config.log where it belongs
45214 echo "$HILDON_PKG_ERRORS" >&5
45215
45216
45217 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45218 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45219 wxUSE_LIBHILDON="no"
45220
45221
45222 elif test $pkg_failed = untried; then
45223
45224 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45225 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45226 wxUSE_LIBHILDON="no"
45227
45228
45229 else
45230 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45231 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45232 { echo "$as_me:$LINENO: result: yes" >&5
45233 echo "${ECHO_T}yes" >&6; }
45234
45235 EXTRALIBS_HILDON="$HILDON_LIBS"
45236 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45237 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_LIBHILDON 1
45240 _ACEOF
45241
45242
45243 fi
45244 fi
45245 fi
45246
45247 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_CMDLINE_PARSER 1
45250 _ACEOF
45251
45252 fi
45253
45254 if test "$wxUSE_STOPWATCH" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_STOPWATCH 1
45257 _ACEOF
45258
45259 fi
45260
45261 if test "$wxUSE_DATETIME" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_DATETIME 1
45264 _ACEOF
45265
45266 fi
45267
45268 if test "$wxUSE_FILE" = "yes"; then
45269 cat >>confdefs.h <<\_ACEOF
45270 #define wxUSE_FILE 1
45271 _ACEOF
45272
45273 fi
45274
45275 if test "$wxUSE_FFILE" = "yes"; then
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_FFILE 1
45278 _ACEOF
45279
45280 fi
45281
45282 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45283 if test "$wxUSE_STREAMS" != yes; then
45284 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45285 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45286 wxUSE_ARCHIVE_STREAMS=no
45287 else
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_ARCHIVE_STREAMS 1
45290 _ACEOF
45291
45292 fi
45293 fi
45294
45295 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45296 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45297 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45298 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45299 elif test "$wxUSE_ZLIB" = "no"; then
45300 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45301 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45302 else
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_ZIPSTREAM 1
45305 _ACEOF
45306
45307 fi
45308 fi
45309
45310 if test "$wxUSE_TARSTREAM" = "yes"; then
45311 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45312 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45313 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45314 else
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_TARSTREAM 1
45317 _ACEOF
45318
45319 fi
45320 fi
45321
45322 if test "$wxUSE_FILESYSTEM" = "yes"; then
45323 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45324 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45325 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45326 wxUSE_FILESYSTEM=no
45327 else
45328 cat >>confdefs.h <<\_ACEOF
45329 #define wxUSE_FILESYSTEM 1
45330 _ACEOF
45331
45332 fi
45333 fi
45334
45335 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45336 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45337 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45338 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45339 else
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_FS_ARCHIVE 1
45342 _ACEOF
45343
45344 fi
45345 fi
45346
45347 if test "$wxUSE_FS_ZIP" = "yes"; then
45348 if test "$wxUSE_FS_ARCHIVE" != yes; then
45349 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45350 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45351 else
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_FS_ZIP 1
45354 _ACEOF
45355
45356 fi
45357 fi
45358
45359 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45360 if test "$USE_UNIX" != 1; then
45361 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45362 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45363 wxUSE_ON_FATAL_EXCEPTION=no
45364 else
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_ON_FATAL_EXCEPTION 1
45367 _ACEOF
45368
45369 fi
45370 fi
45371
45372 if test "$wxUSE_STACKWALKER" = "yes"; then
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_STACKWALKER 1
45375 _ACEOF
45376
45377 fi
45378
45379 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45380 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45381 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45382 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45383 wxUSE_DEBUGREPORT=no
45384 else
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_DEBUGREPORT 1
45387 _ACEOF
45388
45389 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45391 fi
45392 fi
45393 fi
45394
45395 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_SNGLINST_CHECKER 1
45398 _ACEOF
45399
45400 fi
45401
45402 if test "$wxUSE_BUSYINFO" = "yes"; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_BUSYINFO 1
45405 _ACEOF
45406
45407 fi
45408
45409 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_STD_IOSTREAM 1
45412 _ACEOF
45413
45414 fi
45415
45416 if test "$wxUSE_STD_STRING" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_STD_STRING 1
45419 _ACEOF
45420
45421 fi
45422
45423 if test "$wxUSE_STDPATHS" = "yes"; then
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_STDPATHS 1
45426 _ACEOF
45427
45428 fi
45429
45430 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45431 cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_TEXTBUFFER 1
45433 _ACEOF
45434
45435 fi
45436
45437 if test "$wxUSE_TEXTFILE" = "yes"; then
45438 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45439 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45440 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45441 else
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_TEXTFILE 1
45444 _ACEOF
45445
45446 fi
45447 fi
45448
45449 if test "$wxUSE_CONFIG" = "yes" ; then
45450 if test "$wxUSE_TEXTFILE" != "yes"; then
45451 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45452 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45453 else
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_CONFIG 1
45456 _ACEOF
45457
45458 cat >>confdefs.h <<\_ACEOF
45459 #define wxUSE_CONFIG_NATIVE 1
45460 _ACEOF
45461
45462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45463 fi
45464 fi
45465
45466 if test "$wxUSE_INTL" = "yes" ; then
45467 if test "$wxUSE_FILE" != "yes"; then
45468 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45469 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45470 else
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_INTL 1
45473 _ACEOF
45474
45475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45476 GUIDIST="$GUIDIST INTL_DIST"
45477 fi
45478 fi
45479
45480 if test "$wxUSE_LOG" = "yes"; then
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_LOG 1
45483 _ACEOF
45484
45485
45486 if test "$wxUSE_LOGGUI" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_LOGGUI 1
45489 _ACEOF
45490
45491 fi
45492
45493 if test "$wxUSE_LOGWINDOW" = "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_LOGWINDOW 1
45496 _ACEOF
45497
45498 fi
45499
45500 if test "$wxUSE_LOGDIALOG" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_LOG_DIALOG 1
45503 _ACEOF
45504
45505 fi
45506
45507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45508 fi
45509
45510 if test "$wxUSE_LONGLONG" = "yes"; then
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_LONGLONG 1
45513 _ACEOF
45514
45515 fi
45516
45517 if test "$wxUSE_GEOMETRY" = "yes"; then
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_GEOMETRY 1
45520 _ACEOF
45521
45522 fi
45523
45524 if test "$wxUSE_BASE64" = "yes"; then
45525 cat >>confdefs.h <<\_ACEOF
45526 #define wxUSE_BASE64 1
45527 _ACEOF
45528
45529 fi
45530
45531 if test "$wxUSE_STREAMS" = "yes" ; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_STREAMS 1
45534 _ACEOF
45535
45536 fi
45537
45538 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_PRINTF_POS_PARAMS 1
45541 _ACEOF
45542
45543 fi
45544
45545 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_OBJC_UNIQUIFYING 1
45548 _ACEOF
45549
45550 fi
45551
45552
45553 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45554 cat >>confdefs.h <<\_ACEOF
45555 #define wxUSE_CONSOLE_EVENTLOOP 1
45556 _ACEOF
45557
45558
45559 if test "$wxUSE_UNIX" = "yes"; then
45560 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_SELECT_DISPATCHER 1
45563 _ACEOF
45564
45565 fi
45566
45567 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45568
45569 for ac_header in sys/epoll.h
45570 do
45571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45576 echo $ECHO_N "(cached) $ECHO_C" >&6
45577 fi
45578 ac_res=`eval echo '${'$as_ac_Header'}'`
45579 { echo "$as_me:$LINENO: result: $ac_res" >&5
45580 echo "${ECHO_T}$ac_res" >&6; }
45581 else
45582 # Is the header compilable?
45583 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45585 cat >conftest.$ac_ext <<_ACEOF
45586 /* confdefs.h. */
45587 _ACEOF
45588 cat confdefs.h >>conftest.$ac_ext
45589 cat >>conftest.$ac_ext <<_ACEOF
45590 /* end confdefs.h. */
45591 $ac_includes_default
45592 #include <$ac_header>
45593 _ACEOF
45594 rm -f conftest.$ac_objext
45595 if { (ac_try="$ac_compile"
45596 case "(($ac_try" in
45597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45598 *) ac_try_echo=$ac_try;;
45599 esac
45600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45601 (eval "$ac_compile") 2>conftest.er1
45602 ac_status=$?
45603 grep -v '^ *+' conftest.er1 >conftest.err
45604 rm -f conftest.er1
45605 cat conftest.err >&5
45606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607 (exit $ac_status); } && {
45608 test -z "$ac_c_werror_flag" ||
45609 test ! -s conftest.err
45610 } && test -s conftest.$ac_objext; then
45611 ac_header_compiler=yes
45612 else
45613 echo "$as_me: failed program was:" >&5
45614 sed 's/^/| /' conftest.$ac_ext >&5
45615
45616 ac_header_compiler=no
45617 fi
45618
45619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45620 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45621 echo "${ECHO_T}$ac_header_compiler" >&6; }
45622
45623 # Is the header present?
45624 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45625 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45626 cat >conftest.$ac_ext <<_ACEOF
45627 /* confdefs.h. */
45628 _ACEOF
45629 cat confdefs.h >>conftest.$ac_ext
45630 cat >>conftest.$ac_ext <<_ACEOF
45631 /* end confdefs.h. */
45632 #include <$ac_header>
45633 _ACEOF
45634 if { (ac_try="$ac_cpp conftest.$ac_ext"
45635 case "(($ac_try" in
45636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45637 *) ac_try_echo=$ac_try;;
45638 esac
45639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45641 ac_status=$?
45642 grep -v '^ *+' conftest.er1 >conftest.err
45643 rm -f conftest.er1
45644 cat conftest.err >&5
45645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45646 (exit $ac_status); } >/dev/null && {
45647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45648 test ! -s conftest.err
45649 }; then
45650 ac_header_preproc=yes
45651 else
45652 echo "$as_me: failed program was:" >&5
45653 sed 's/^/| /' conftest.$ac_ext >&5
45654
45655 ac_header_preproc=no
45656 fi
45657
45658 rm -f conftest.err conftest.$ac_ext
45659 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45660 echo "${ECHO_T}$ac_header_preproc" >&6; }
45661
45662 # So? What about this header?
45663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45664 yes:no: )
45665 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45666 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45668 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45669 ac_header_preproc=yes
45670 ;;
45671 no:yes:* )
45672 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45673 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45674 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45675 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45676 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45677 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45678 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45679 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45682 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45683 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45684 ( cat <<\_ASBOX
45685 ## ----------------------------------------- ##
45686 ## Report this to wx-dev@lists.wxwidgets.org ##
45687 ## ----------------------------------------- ##
45688 _ASBOX
45689 ) | sed "s/^/$as_me: WARNING: /" >&2
45690 ;;
45691 esac
45692 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45695 echo $ECHO_N "(cached) $ECHO_C" >&6
45696 else
45697 eval "$as_ac_Header=\$ac_header_preproc"
45698 fi
45699 ac_res=`eval echo '${'$as_ac_Header'}'`
45700 { echo "$as_me:$LINENO: result: $ac_res" >&5
45701 echo "${ECHO_T}$ac_res" >&6; }
45702
45703 fi
45704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45705 cat >>confdefs.h <<_ACEOF
45706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45707 _ACEOF
45708
45709 fi
45710
45711 done
45712
45713 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_EPOLL_DISPATCHER 1
45716 _ACEOF
45717
45718 else
45719 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45720 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45721 fi
45722 fi
45723 fi
45724 fi
45725
45726
45727
45728
45729 for ac_func in gettimeofday ftime
45730 do
45731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45735 echo $ECHO_N "(cached) $ECHO_C" >&6
45736 else
45737 cat >conftest.$ac_ext <<_ACEOF
45738 /* confdefs.h. */
45739 _ACEOF
45740 cat confdefs.h >>conftest.$ac_ext
45741 cat >>conftest.$ac_ext <<_ACEOF
45742 /* end confdefs.h. */
45743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45745 #define $ac_func innocuous_$ac_func
45746
45747 /* System header to define __stub macros and hopefully few prototypes,
45748 which can conflict with char $ac_func (); below.
45749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45750 <limits.h> exists even on freestanding compilers. */
45751
45752 #ifdef __STDC__
45753 # include <limits.h>
45754 #else
45755 # include <assert.h>
45756 #endif
45757
45758 #undef $ac_func
45759
45760 /* Override any GCC internal prototype to avoid an error.
45761 Use char because int might match the return type of a GCC
45762 builtin and then its argument prototype would still apply. */
45763 #ifdef __cplusplus
45764 extern "C"
45765 #endif
45766 char $ac_func ();
45767 /* The GNU C library defines this for functions which it implements
45768 to always fail with ENOSYS. Some functions are actually named
45769 something starting with __ and the normal name is an alias. */
45770 #if defined __stub_$ac_func || defined __stub___$ac_func
45771 choke me
45772 #endif
45773
45774 int
45775 main ()
45776 {
45777 return $ac_func ();
45778 ;
45779 return 0;
45780 }
45781 _ACEOF
45782 rm -f conftest.$ac_objext conftest$ac_exeext
45783 if { (ac_try="$ac_link"
45784 case "(($ac_try" in
45785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45786 *) ac_try_echo=$ac_try;;
45787 esac
45788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45789 (eval "$ac_link") 2>conftest.er1
45790 ac_status=$?
45791 grep -v '^ *+' conftest.er1 >conftest.err
45792 rm -f conftest.er1
45793 cat conftest.err >&5
45794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45795 (exit $ac_status); } && {
45796 test -z "$ac_c_werror_flag" ||
45797 test ! -s conftest.err
45798 } && test -s conftest$ac_exeext &&
45799 $as_test_x conftest$ac_exeext; then
45800 eval "$as_ac_var=yes"
45801 else
45802 echo "$as_me: failed program was:" >&5
45803 sed 's/^/| /' conftest.$ac_ext >&5
45804
45805 eval "$as_ac_var=no"
45806 fi
45807
45808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45809 conftest$ac_exeext conftest.$ac_ext
45810 fi
45811 ac_res=`eval echo '${'$as_ac_var'}'`
45812 { echo "$as_me:$LINENO: result: $ac_res" >&5
45813 echo "${ECHO_T}$ac_res" >&6; }
45814 if test `eval echo '${'$as_ac_var'}'` = yes; then
45815 cat >>confdefs.h <<_ACEOF
45816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45817 _ACEOF
45818 break
45819 fi
45820 done
45821
45822
45823 if test "$ac_cv_func_gettimeofday" = "yes"; then
45824 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45825 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45826 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45827 echo $ECHO_N "(cached) $ECHO_C" >&6
45828 else
45829
45830 cat >conftest.$ac_ext <<_ACEOF
45831 /* confdefs.h. */
45832 _ACEOF
45833 cat confdefs.h >>conftest.$ac_ext
45834 cat >>conftest.$ac_ext <<_ACEOF
45835 /* end confdefs.h. */
45836
45837 #include <sys/time.h>
45838 #include <unistd.h>
45839
45840 int
45841 main ()
45842 {
45843
45844 struct timeval tv;
45845 gettimeofday(&tv, NULL);
45846
45847 ;
45848 return 0;
45849 }
45850 _ACEOF
45851 rm -f conftest.$ac_objext
45852 if { (ac_try="$ac_compile"
45853 case "(($ac_try" in
45854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45855 *) ac_try_echo=$ac_try;;
45856 esac
45857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45858 (eval "$ac_compile") 2>conftest.er1
45859 ac_status=$?
45860 grep -v '^ *+' conftest.er1 >conftest.err
45861 rm -f conftest.er1
45862 cat conftest.err >&5
45863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45864 (exit $ac_status); } && {
45865 test -z "$ac_c_werror_flag" ||
45866 test ! -s conftest.err
45867 } && test -s conftest.$ac_objext; then
45868 wx_cv_func_gettimeofday_has_2_args=yes
45869 else
45870 echo "$as_me: failed program was:" >&5
45871 sed 's/^/| /' conftest.$ac_ext >&5
45872
45873 cat >conftest.$ac_ext <<_ACEOF
45874 /* confdefs.h. */
45875 _ACEOF
45876 cat confdefs.h >>conftest.$ac_ext
45877 cat >>conftest.$ac_ext <<_ACEOF
45878 /* end confdefs.h. */
45879
45880 #include <sys/time.h>
45881 #include <unistd.h>
45882
45883 int
45884 main ()
45885 {
45886
45887 struct timeval tv;
45888 gettimeofday(&tv);
45889
45890 ;
45891 return 0;
45892 }
45893 _ACEOF
45894 rm -f conftest.$ac_objext
45895 if { (ac_try="$ac_compile"
45896 case "(($ac_try" in
45897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45898 *) ac_try_echo=$ac_try;;
45899 esac
45900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45901 (eval "$ac_compile") 2>conftest.er1
45902 ac_status=$?
45903 grep -v '^ *+' conftest.er1 >conftest.err
45904 rm -f conftest.er1
45905 cat conftest.err >&5
45906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45907 (exit $ac_status); } && {
45908 test -z "$ac_c_werror_flag" ||
45909 test ! -s conftest.err
45910 } && test -s conftest.$ac_objext; then
45911 wx_cv_func_gettimeofday_has_2_args=no
45912 else
45913 echo "$as_me: failed program was:" >&5
45914 sed 's/^/| /' conftest.$ac_ext >&5
45915
45916
45917 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45918 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45919 wx_cv_func_gettimeofday_has_2_args=unknown
45920
45921
45922 fi
45923
45924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45925
45926 fi
45927
45928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45929
45930 fi
45931 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45932 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45933
45934 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45935 cat >>confdefs.h <<\_ACEOF
45936 #define WX_GETTIMEOFDAY_NO_TZ 1
45937 _ACEOF
45938
45939 fi
45940 fi
45941
45942 if test "$wxUSE_DATETIME" = "yes"; then
45943 { echo "$as_me:$LINENO: checking for strptime" >&5
45944 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45945 if test "${ac_cv_func_strptime+set}" = set; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45947 else
45948 cat >conftest.$ac_ext <<_ACEOF
45949 /* confdefs.h. */
45950 _ACEOF
45951 cat confdefs.h >>conftest.$ac_ext
45952 cat >>conftest.$ac_ext <<_ACEOF
45953 /* end confdefs.h. */
45954 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45956 #define strptime innocuous_strptime
45957
45958 /* System header to define __stub macros and hopefully few prototypes,
45959 which can conflict with char strptime (); below.
45960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45961 <limits.h> exists even on freestanding compilers. */
45962
45963 #ifdef __STDC__
45964 # include <limits.h>
45965 #else
45966 # include <assert.h>
45967 #endif
45968
45969 #undef strptime
45970
45971 /* Override any GCC internal prototype to avoid an error.
45972 Use char because int might match the return type of a GCC
45973 builtin and then its argument prototype would still apply. */
45974 #ifdef __cplusplus
45975 extern "C"
45976 #endif
45977 char strptime ();
45978 /* The GNU C library defines this for functions which it implements
45979 to always fail with ENOSYS. Some functions are actually named
45980 something starting with __ and the normal name is an alias. */
45981 #if defined __stub_strptime || defined __stub___strptime
45982 choke me
45983 #endif
45984
45985 int
45986 main ()
45987 {
45988 return strptime ();
45989 ;
45990 return 0;
45991 }
45992 _ACEOF
45993 rm -f conftest.$ac_objext conftest$ac_exeext
45994 if { (ac_try="$ac_link"
45995 case "(($ac_try" in
45996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45997 *) ac_try_echo=$ac_try;;
45998 esac
45999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46000 (eval "$ac_link") 2>conftest.er1
46001 ac_status=$?
46002 grep -v '^ *+' conftest.er1 >conftest.err
46003 rm -f conftest.er1
46004 cat conftest.err >&5
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); } && {
46007 test -z "$ac_c_werror_flag" ||
46008 test ! -s conftest.err
46009 } && test -s conftest$ac_exeext &&
46010 $as_test_x conftest$ac_exeext; then
46011 ac_cv_func_strptime=yes
46012 else
46013 echo "$as_me: failed program was:" >&5
46014 sed 's/^/| /' conftest.$ac_ext >&5
46015
46016 ac_cv_func_strptime=no
46017 fi
46018
46019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46020 conftest$ac_exeext conftest.$ac_ext
46021 fi
46022 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46023 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46024
46025 if test "$ac_cv_func_strptime" = "yes"; then
46026 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46027 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46028 if test "${wx_cv_func_strptime_decl+set}" = set; then
46029 echo $ECHO_N "(cached) $ECHO_C" >&6
46030 else
46031
46032 ac_ext=cpp
46033 ac_cpp='$CXXCPP $CPPFLAGS'
46034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46037
46038 cat >conftest.$ac_ext <<_ACEOF
46039 /* confdefs.h. */
46040 _ACEOF
46041 cat confdefs.h >>conftest.$ac_ext
46042 cat >>conftest.$ac_ext <<_ACEOF
46043 /* end confdefs.h. */
46044
46045 #include <time.h>
46046
46047 int
46048 main ()
46049 {
46050
46051 struct tm t;
46052 strptime("foo", "bar", &t);
46053
46054 ;
46055 return 0;
46056 }
46057 _ACEOF
46058 rm -f conftest.$ac_objext
46059 if { (ac_try="$ac_compile"
46060 case "(($ac_try" in
46061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46062 *) ac_try_echo=$ac_try;;
46063 esac
46064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46065 (eval "$ac_compile") 2>conftest.er1
46066 ac_status=$?
46067 grep -v '^ *+' conftest.er1 >conftest.err
46068 rm -f conftest.er1
46069 cat conftest.err >&5
46070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46071 (exit $ac_status); } && {
46072 test -z "$ac_cxx_werror_flag" ||
46073 test ! -s conftest.err
46074 } && test -s conftest.$ac_objext; then
46075 wx_cv_func_strptime_decl=yes
46076 else
46077 echo "$as_me: failed program was:" >&5
46078 sed 's/^/| /' conftest.$ac_ext >&5
46079
46080 wx_cv_func_strptime_decl=no
46081
46082 fi
46083
46084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46085 ac_ext=c
46086 ac_cpp='$CPP $CPPFLAGS'
46087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46090
46091
46092
46093 fi
46094 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46095 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46096 fi
46097 if test "$wx_cv_func_strptime_decl" = "yes"; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define HAVE_STRPTIME_DECL 1
46100 _ACEOF
46101
46102 else
46103 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46104 fi
46105 if test "$ac_cv_func_strptime" = "yes"; then
46106 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46107 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46108 if test "${wx_cv_func_strptime_ok+set}" = set; then
46109 echo $ECHO_N "(cached) $ECHO_C" >&6
46110 else
46111 if test "$cross_compiling" = yes; then
46112 wx_cv_func_strptime_ok=no
46113
46114 else
46115 cat >conftest.$ac_ext <<_ACEOF
46116
46117 #include <stdlib.h>
46118 #include <time.h>
46119 #include "confdefs.h"
46120
46121 $wx_strptime_decl
46122
46123 int main()
46124 {
46125 struct tm t;
46126 return !!strptime("", "%x", &t);
46127 }
46128
46129 _ACEOF
46130 rm -f conftest$ac_exeext
46131 if { (ac_try="$ac_link"
46132 case "(($ac_try" in
46133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46134 *) ac_try_echo=$ac_try;;
46135 esac
46136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46137 (eval "$ac_link") 2>&5
46138 ac_status=$?
46139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46141 { (case "(($ac_try" in
46142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46143 *) ac_try_echo=$ac_try;;
46144 esac
46145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46146 (eval "$ac_try") 2>&5
46147 ac_status=$?
46148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46149 (exit $ac_status); }; }; then
46150 wx_cv_func_strptime_ok=yes
46151 else
46152 echo "$as_me: program exited with status $ac_status" >&5
46153 echo "$as_me: failed program was:" >&5
46154 sed 's/^/| /' conftest.$ac_ext >&5
46155
46156 ( exit $ac_status )
46157 wx_cv_func_strptime_ok=no
46158 fi
46159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46160 fi
46161
46162
46163
46164 fi
46165 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46166 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46167
46168 if test "$wx_cv_func_strptime_ok" = "yes"; then
46169 cat >>confdefs.h <<\_ACEOF
46170 #define HAVE_STRPTIME 1
46171 _ACEOF
46172
46173 fi
46174 fi
46175
46176 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46177 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46178 if test "${wx_cv_var_timezone+set}" = set; then
46179 echo $ECHO_N "(cached) $ECHO_C" >&6
46180 else
46181
46182 ac_ext=cpp
46183 ac_cpp='$CXXCPP $CPPFLAGS'
46184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46187
46188 cat >conftest.$ac_ext <<_ACEOF
46189 /* confdefs.h. */
46190 _ACEOF
46191 cat confdefs.h >>conftest.$ac_ext
46192 cat >>conftest.$ac_ext <<_ACEOF
46193 /* end confdefs.h. */
46194
46195 #include <time.h>
46196
46197 int
46198 main ()
46199 {
46200
46201 int tz;
46202 tz = timezone;
46203
46204 ;
46205 return 0;
46206 }
46207 _ACEOF
46208 rm -f conftest.$ac_objext
46209 if { (ac_try="$ac_compile"
46210 case "(($ac_try" in
46211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46212 *) ac_try_echo=$ac_try;;
46213 esac
46214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46215 (eval "$ac_compile") 2>conftest.er1
46216 ac_status=$?
46217 grep -v '^ *+' conftest.er1 >conftest.err
46218 rm -f conftest.er1
46219 cat conftest.err >&5
46220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46221 (exit $ac_status); } && {
46222 test -z "$ac_cxx_werror_flag" ||
46223 test ! -s conftest.err
46224 } && test -s conftest.$ac_objext; then
46225
46226 wx_cv_var_timezone=timezone
46227
46228 else
46229 echo "$as_me: failed program was:" >&5
46230 sed 's/^/| /' conftest.$ac_ext >&5
46231
46232
46233 cat >conftest.$ac_ext <<_ACEOF
46234 /* confdefs.h. */
46235 _ACEOF
46236 cat confdefs.h >>conftest.$ac_ext
46237 cat >>conftest.$ac_ext <<_ACEOF
46238 /* end confdefs.h. */
46239
46240 #include <time.h>
46241
46242 int
46243 main ()
46244 {
46245
46246 int tz;
46247 tz = _timezone;
46248
46249 ;
46250 return 0;
46251 }
46252 _ACEOF
46253 rm -f conftest.$ac_objext
46254 if { (ac_try="$ac_compile"
46255 case "(($ac_try" in
46256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46257 *) ac_try_echo=$ac_try;;
46258 esac
46259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46260 (eval "$ac_compile") 2>conftest.er1
46261 ac_status=$?
46262 grep -v '^ *+' conftest.er1 >conftest.err
46263 rm -f conftest.er1
46264 cat conftest.err >&5
46265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266 (exit $ac_status); } && {
46267 test -z "$ac_cxx_werror_flag" ||
46268 test ! -s conftest.err
46269 } && test -s conftest.$ac_objext; then
46270
46271 wx_cv_var_timezone=_timezone
46272
46273 else
46274 echo "$as_me: failed program was:" >&5
46275 sed 's/^/| /' conftest.$ac_ext >&5
46276
46277
46278 cat >conftest.$ac_ext <<_ACEOF
46279 /* confdefs.h. */
46280 _ACEOF
46281 cat confdefs.h >>conftest.$ac_ext
46282 cat >>conftest.$ac_ext <<_ACEOF
46283 /* end confdefs.h. */
46284
46285 #include <time.h>
46286
46287 int
46288 main ()
46289 {
46290
46291 int tz;
46292 tz = __timezone;
46293
46294 ;
46295 return 0;
46296 }
46297 _ACEOF
46298 rm -f conftest.$ac_objext
46299 if { (ac_try="$ac_compile"
46300 case "(($ac_try" in
46301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46302 *) ac_try_echo=$ac_try;;
46303 esac
46304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46305 (eval "$ac_compile") 2>conftest.er1
46306 ac_status=$?
46307 grep -v '^ *+' conftest.er1 >conftest.err
46308 rm -f conftest.er1
46309 cat conftest.err >&5
46310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46311 (exit $ac_status); } && {
46312 test -z "$ac_cxx_werror_flag" ||
46313 test ! -s conftest.err
46314 } && test -s conftest.$ac_objext; then
46315
46316 wx_cv_var_timezone=__timezone
46317
46318 else
46319 echo "$as_me: failed program was:" >&5
46320 sed 's/^/| /' conftest.$ac_ext >&5
46321
46322
46323 if test "$USE_DOS" = 0 ; then
46324 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46325 echo "$as_me: WARNING: no timezone variable" >&2;}
46326 fi
46327
46328
46329 fi
46330
46331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46332
46333
46334 fi
46335
46336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46337
46338
46339 fi
46340
46341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46342 ac_ext=c
46343 ac_cpp='$CPP $CPPFLAGS'
46344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46347
46348
46349
46350 fi
46351 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46352 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46353
46354 if test "x$wx_cv_var_timezone" != x ; then
46355 cat >>confdefs.h <<_ACEOF
46356 #define WX_TIMEZONE $wx_cv_var_timezone
46357 _ACEOF
46358
46359 fi
46360
46361
46362 for ac_func in localtime
46363 do
46364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46368 echo $ECHO_N "(cached) $ECHO_C" >&6
46369 else
46370 cat >conftest.$ac_ext <<_ACEOF
46371 /* confdefs.h. */
46372 _ACEOF
46373 cat confdefs.h >>conftest.$ac_ext
46374 cat >>conftest.$ac_ext <<_ACEOF
46375 /* end confdefs.h. */
46376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46378 #define $ac_func innocuous_$ac_func
46379
46380 /* System header to define __stub macros and hopefully few prototypes,
46381 which can conflict with char $ac_func (); below.
46382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46383 <limits.h> exists even on freestanding compilers. */
46384
46385 #ifdef __STDC__
46386 # include <limits.h>
46387 #else
46388 # include <assert.h>
46389 #endif
46390
46391 #undef $ac_func
46392
46393 /* Override any GCC internal prototype to avoid an error.
46394 Use char because int might match the return type of a GCC
46395 builtin and then its argument prototype would still apply. */
46396 #ifdef __cplusplus
46397 extern "C"
46398 #endif
46399 char $ac_func ();
46400 /* The GNU C library defines this for functions which it implements
46401 to always fail with ENOSYS. Some functions are actually named
46402 something starting with __ and the normal name is an alias. */
46403 #if defined __stub_$ac_func || defined __stub___$ac_func
46404 choke me
46405 #endif
46406
46407 int
46408 main ()
46409 {
46410 return $ac_func ();
46411 ;
46412 return 0;
46413 }
46414 _ACEOF
46415 rm -f conftest.$ac_objext conftest$ac_exeext
46416 if { (ac_try="$ac_link"
46417 case "(($ac_try" in
46418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46419 *) ac_try_echo=$ac_try;;
46420 esac
46421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46422 (eval "$ac_link") 2>conftest.er1
46423 ac_status=$?
46424 grep -v '^ *+' conftest.er1 >conftest.err
46425 rm -f conftest.er1
46426 cat conftest.err >&5
46427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46428 (exit $ac_status); } && {
46429 test -z "$ac_c_werror_flag" ||
46430 test ! -s conftest.err
46431 } && test -s conftest$ac_exeext &&
46432 $as_test_x conftest$ac_exeext; then
46433 eval "$as_ac_var=yes"
46434 else
46435 echo "$as_me: failed program was:" >&5
46436 sed 's/^/| /' conftest.$ac_ext >&5
46437
46438 eval "$as_ac_var=no"
46439 fi
46440
46441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46442 conftest$ac_exeext conftest.$ac_ext
46443 fi
46444 ac_res=`eval echo '${'$as_ac_var'}'`
46445 { echo "$as_me:$LINENO: result: $ac_res" >&5
46446 echo "${ECHO_T}$ac_res" >&6; }
46447 if test `eval echo '${'$as_ac_var'}'` = yes; then
46448 cat >>confdefs.h <<_ACEOF
46449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46450 _ACEOF
46451
46452 fi
46453 done
46454
46455
46456 if test "$ac_cv_func_localtime" = "yes"; then
46457 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46458 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46459 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46460 echo $ECHO_N "(cached) $ECHO_C" >&6
46461 else
46462
46463 cat >conftest.$ac_ext <<_ACEOF
46464 /* confdefs.h. */
46465 _ACEOF
46466 cat confdefs.h >>conftest.$ac_ext
46467 cat >>conftest.$ac_ext <<_ACEOF
46468 /* end confdefs.h. */
46469
46470 #include <time.h>
46471
46472 int
46473 main ()
46474 {
46475
46476 struct tm tm;
46477 tm.tm_gmtoff++;
46478
46479 ;
46480 return 0;
46481 }
46482 _ACEOF
46483 rm -f conftest.$ac_objext
46484 if { (ac_try="$ac_compile"
46485 case "(($ac_try" in
46486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46487 *) ac_try_echo=$ac_try;;
46488 esac
46489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46490 (eval "$ac_compile") 2>conftest.er1
46491 ac_status=$?
46492 grep -v '^ *+' conftest.er1 >conftest.err
46493 rm -f conftest.er1
46494 cat conftest.err >&5
46495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46496 (exit $ac_status); } && {
46497 test -z "$ac_c_werror_flag" ||
46498 test ! -s conftest.err
46499 } && test -s conftest.$ac_objext; then
46500
46501 wx_cv_struct_tm_has_gmtoff=yes
46502
46503 else
46504 echo "$as_me: failed program was:" >&5
46505 sed 's/^/| /' conftest.$ac_ext >&5
46506
46507 wx_cv_struct_tm_has_gmtoff=no
46508
46509 fi
46510
46511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46512
46513 fi
46514 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46515 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46516 fi
46517
46518 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define WX_GMTOFF_IN_TM 1
46521 _ACEOF
46522
46523 fi
46524
46525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46526 fi
46527
46528
46529 if test "$wxUSE_SOCKETS" = "yes"; then
46530 if test "$wxUSE_MGL" = "1"; then
46531 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46532 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46533 wxUSE_SOCKETS="no"
46534 fi
46535 fi
46536
46537 if test "$wxUSE_SOCKETS" = "yes"; then
46538 if test "$TOOLKIT" != "MSW"; then
46539 { echo "$as_me:$LINENO: checking for socket" >&5
46540 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46541 if test "${ac_cv_func_socket+set}" = set; then
46542 echo $ECHO_N "(cached) $ECHO_C" >&6
46543 else
46544 cat >conftest.$ac_ext <<_ACEOF
46545 /* confdefs.h. */
46546 _ACEOF
46547 cat confdefs.h >>conftest.$ac_ext
46548 cat >>conftest.$ac_ext <<_ACEOF
46549 /* end confdefs.h. */
46550 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46552 #define socket innocuous_socket
46553
46554 /* System header to define __stub macros and hopefully few prototypes,
46555 which can conflict with char socket (); below.
46556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46557 <limits.h> exists even on freestanding compilers. */
46558
46559 #ifdef __STDC__
46560 # include <limits.h>
46561 #else
46562 # include <assert.h>
46563 #endif
46564
46565 #undef socket
46566
46567 /* Override any GCC internal prototype to avoid an error.
46568 Use char because int might match the return type of a GCC
46569 builtin and then its argument prototype would still apply. */
46570 #ifdef __cplusplus
46571 extern "C"
46572 #endif
46573 char socket ();
46574 /* The GNU C library defines this for functions which it implements
46575 to always fail with ENOSYS. Some functions are actually named
46576 something starting with __ and the normal name is an alias. */
46577 #if defined __stub_socket || defined __stub___socket
46578 choke me
46579 #endif
46580
46581 int
46582 main ()
46583 {
46584 return socket ();
46585 ;
46586 return 0;
46587 }
46588 _ACEOF
46589 rm -f conftest.$ac_objext conftest$ac_exeext
46590 if { (ac_try="$ac_link"
46591 case "(($ac_try" in
46592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46593 *) ac_try_echo=$ac_try;;
46594 esac
46595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46596 (eval "$ac_link") 2>conftest.er1
46597 ac_status=$?
46598 grep -v '^ *+' conftest.er1 >conftest.err
46599 rm -f conftest.er1
46600 cat conftest.err >&5
46601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46602 (exit $ac_status); } && {
46603 test -z "$ac_c_werror_flag" ||
46604 test ! -s conftest.err
46605 } && test -s conftest$ac_exeext &&
46606 $as_test_x conftest$ac_exeext; then
46607 ac_cv_func_socket=yes
46608 else
46609 echo "$as_me: failed program was:" >&5
46610 sed 's/^/| /' conftest.$ac_ext >&5
46611
46612 ac_cv_func_socket=no
46613 fi
46614
46615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46616 conftest$ac_exeext conftest.$ac_ext
46617 fi
46618 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46619 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46620 if test $ac_cv_func_socket = yes; then
46621 :
46622 else
46623
46624 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46625 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46626 if test "${ac_cv_lib_socket_socket+set}" = set; then
46627 echo $ECHO_N "(cached) $ECHO_C" >&6
46628 else
46629 ac_check_lib_save_LIBS=$LIBS
46630 LIBS="-lsocket $LIBS"
46631 cat >conftest.$ac_ext <<_ACEOF
46632 /* confdefs.h. */
46633 _ACEOF
46634 cat confdefs.h >>conftest.$ac_ext
46635 cat >>conftest.$ac_ext <<_ACEOF
46636 /* end confdefs.h. */
46637
46638 /* Override any GCC internal prototype to avoid an error.
46639 Use char because int might match the return type of a GCC
46640 builtin and then its argument prototype would still apply. */
46641 #ifdef __cplusplus
46642 extern "C"
46643 #endif
46644 char socket ();
46645 int
46646 main ()
46647 {
46648 return socket ();
46649 ;
46650 return 0;
46651 }
46652 _ACEOF
46653 rm -f conftest.$ac_objext conftest$ac_exeext
46654 if { (ac_try="$ac_link"
46655 case "(($ac_try" in
46656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46657 *) ac_try_echo=$ac_try;;
46658 esac
46659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46660 (eval "$ac_link") 2>conftest.er1
46661 ac_status=$?
46662 grep -v '^ *+' conftest.er1 >conftest.err
46663 rm -f conftest.er1
46664 cat conftest.err >&5
46665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46666 (exit $ac_status); } && {
46667 test -z "$ac_c_werror_flag" ||
46668 test ! -s conftest.err
46669 } && test -s conftest$ac_exeext &&
46670 $as_test_x conftest$ac_exeext; then
46671 ac_cv_lib_socket_socket=yes
46672 else
46673 echo "$as_me: failed program was:" >&5
46674 sed 's/^/| /' conftest.$ac_ext >&5
46675
46676 ac_cv_lib_socket_socket=no
46677 fi
46678
46679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46680 conftest$ac_exeext conftest.$ac_ext
46681 LIBS=$ac_check_lib_save_LIBS
46682 fi
46683 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46684 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46685 if test $ac_cv_lib_socket_socket = yes; then
46686 if test "$INET_LINK" != " -lsocket"; then
46687 INET_LINK="$INET_LINK -lsocket"
46688 fi
46689 else
46690
46691 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46692 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46693 wxUSE_SOCKETS=no
46694
46695
46696 fi
46697
46698
46699
46700 fi
46701
46702 fi
46703 fi
46704
46705 if test "$wxUSE_SOCKETS" = "yes" ; then
46706 if test "$TOOLKIT" != "MSW"; then
46707 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46708 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46709 if test "${wx_cv_type_getsockname3+set}" = set; then
46710 echo $ECHO_N "(cached) $ECHO_C" >&6
46711 else
46712
46713 ac_ext=cpp
46714 ac_cpp='$CXXCPP $CPPFLAGS'
46715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46718
46719 cat >conftest.$ac_ext <<_ACEOF
46720 /* confdefs.h. */
46721 _ACEOF
46722 cat confdefs.h >>conftest.$ac_ext
46723 cat >>conftest.$ac_ext <<_ACEOF
46724 /* end confdefs.h. */
46725
46726 #include <sys/types.h>
46727 #include <sys/socket.h>
46728
46729 int
46730 main ()
46731 {
46732
46733 socklen_t len;
46734 getsockname(0, 0, &len);
46735
46736 ;
46737 return 0;
46738 }
46739 _ACEOF
46740 rm -f conftest.$ac_objext
46741 if { (ac_try="$ac_compile"
46742 case "(($ac_try" in
46743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46744 *) ac_try_echo=$ac_try;;
46745 esac
46746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46747 (eval "$ac_compile") 2>conftest.er1
46748 ac_status=$?
46749 grep -v '^ *+' conftest.er1 >conftest.err
46750 rm -f conftest.er1
46751 cat conftest.err >&5
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); } && {
46754 test -z "$ac_cxx_werror_flag" ||
46755 test ! -s conftest.err
46756 } && test -s conftest.$ac_objext; then
46757 wx_cv_type_getsockname3=socklen_t
46758 else
46759 echo "$as_me: failed program was:" >&5
46760 sed 's/^/| /' conftest.$ac_ext >&5
46761
46762
46763 CFLAGS_OLD="$CFLAGS"
46764 if test "$GCC" = yes ; then
46765 CFLAGS="-Werror $CFLAGS"
46766 fi
46767
46768 cat >conftest.$ac_ext <<_ACEOF
46769 /* confdefs.h. */
46770 _ACEOF
46771 cat confdefs.h >>conftest.$ac_ext
46772 cat >>conftest.$ac_ext <<_ACEOF
46773 /* end confdefs.h. */
46774
46775 #include <sys/types.h>
46776 #include <sys/socket.h>
46777
46778 int
46779 main ()
46780 {
46781
46782 size_t len;
46783 getsockname(0, 0, &len);
46784
46785 ;
46786 return 0;
46787 }
46788 _ACEOF
46789 rm -f conftest.$ac_objext
46790 if { (ac_try="$ac_compile"
46791 case "(($ac_try" in
46792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46793 *) ac_try_echo=$ac_try;;
46794 esac
46795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46796 (eval "$ac_compile") 2>conftest.er1
46797 ac_status=$?
46798 grep -v '^ *+' conftest.er1 >conftest.err
46799 rm -f conftest.er1
46800 cat conftest.err >&5
46801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46802 (exit $ac_status); } && {
46803 test -z "$ac_cxx_werror_flag" ||
46804 test ! -s conftest.err
46805 } && test -s conftest.$ac_objext; then
46806 wx_cv_type_getsockname3=size_t
46807 else
46808 echo "$as_me: failed program was:" >&5
46809 sed 's/^/| /' conftest.$ac_ext >&5
46810
46811 cat >conftest.$ac_ext <<_ACEOF
46812 /* confdefs.h. */
46813 _ACEOF
46814 cat confdefs.h >>conftest.$ac_ext
46815 cat >>conftest.$ac_ext <<_ACEOF
46816 /* end confdefs.h. */
46817
46818 #include <sys/types.h>
46819 #include <sys/socket.h>
46820
46821 int
46822 main ()
46823 {
46824
46825 int len;
46826 getsockname(0, 0, &len);
46827
46828 ;
46829 return 0;
46830 }
46831 _ACEOF
46832 rm -f conftest.$ac_objext
46833 if { (ac_try="$ac_compile"
46834 case "(($ac_try" in
46835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46836 *) ac_try_echo=$ac_try;;
46837 esac
46838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46839 (eval "$ac_compile") 2>conftest.er1
46840 ac_status=$?
46841 grep -v '^ *+' conftest.er1 >conftest.err
46842 rm -f conftest.er1
46843 cat conftest.err >&5
46844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46845 (exit $ac_status); } && {
46846 test -z "$ac_cxx_werror_flag" ||
46847 test ! -s conftest.err
46848 } && test -s conftest.$ac_objext; then
46849 wx_cv_type_getsockname3=int
46850 else
46851 echo "$as_me: failed program was:" >&5
46852 sed 's/^/| /' conftest.$ac_ext >&5
46853
46854 wx_cv_type_getsockname3=unknown
46855
46856 fi
46857
46858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46859
46860 fi
46861
46862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46863
46864 CFLAGS="$CFLAGS_OLD"
46865
46866
46867 fi
46868
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46870 ac_ext=c
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46875
46876
46877 fi
46878 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46879 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46880
46881 if test "$wx_cv_type_getsockname3" = "unknown"; then
46882 wxUSE_SOCKETS=no
46883 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46884 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46885 else
46886 cat >>confdefs.h <<_ACEOF
46887 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46888 _ACEOF
46889
46890 fi
46891 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46892 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46893 if test "${wx_cv_type_getsockopt5+set}" = set; then
46894 echo $ECHO_N "(cached) $ECHO_C" >&6
46895 else
46896
46897 ac_ext=cpp
46898 ac_cpp='$CXXCPP $CPPFLAGS'
46899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46902
46903 cat >conftest.$ac_ext <<_ACEOF
46904 /* confdefs.h. */
46905 _ACEOF
46906 cat confdefs.h >>conftest.$ac_ext
46907 cat >>conftest.$ac_ext <<_ACEOF
46908 /* end confdefs.h. */
46909
46910 #include <sys/types.h>
46911 #include <sys/socket.h>
46912
46913 int
46914 main ()
46915 {
46916
46917 socklen_t len;
46918 getsockopt(0, 0, 0, 0, &len);
46919
46920 ;
46921 return 0;
46922 }
46923 _ACEOF
46924 rm -f conftest.$ac_objext
46925 if { (ac_try="$ac_compile"
46926 case "(($ac_try" in
46927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46928 *) ac_try_echo=$ac_try;;
46929 esac
46930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46931 (eval "$ac_compile") 2>conftest.er1
46932 ac_status=$?
46933 grep -v '^ *+' conftest.er1 >conftest.err
46934 rm -f conftest.er1
46935 cat conftest.err >&5
46936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46937 (exit $ac_status); } && {
46938 test -z "$ac_cxx_werror_flag" ||
46939 test ! -s conftest.err
46940 } && test -s conftest.$ac_objext; then
46941 wx_cv_type_getsockopt5=socklen_t
46942 else
46943 echo "$as_me: failed program was:" >&5
46944 sed 's/^/| /' conftest.$ac_ext >&5
46945
46946
46947 cat >conftest.$ac_ext <<_ACEOF
46948 /* confdefs.h. */
46949 _ACEOF
46950 cat confdefs.h >>conftest.$ac_ext
46951 cat >>conftest.$ac_ext <<_ACEOF
46952 /* end confdefs.h. */
46953
46954 #include <sys/types.h>
46955 #include <sys/socket.h>
46956
46957 int
46958 main ()
46959 {
46960
46961 size_t len;
46962 getsockopt(0, 0, 0, 0, &len);
46963
46964 ;
46965 return 0;
46966 }
46967 _ACEOF
46968 rm -f conftest.$ac_objext
46969 if { (ac_try="$ac_compile"
46970 case "(($ac_try" in
46971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46972 *) ac_try_echo=$ac_try;;
46973 esac
46974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46975 (eval "$ac_compile") 2>conftest.er1
46976 ac_status=$?
46977 grep -v '^ *+' conftest.er1 >conftest.err
46978 rm -f conftest.er1
46979 cat conftest.err >&5
46980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46981 (exit $ac_status); } && {
46982 test -z "$ac_cxx_werror_flag" ||
46983 test ! -s conftest.err
46984 } && test -s conftest.$ac_objext; then
46985 wx_cv_type_getsockopt5=size_t
46986 else
46987 echo "$as_me: failed program was:" >&5
46988 sed 's/^/| /' conftest.$ac_ext >&5
46989
46990 cat >conftest.$ac_ext <<_ACEOF
46991 /* confdefs.h. */
46992 _ACEOF
46993 cat confdefs.h >>conftest.$ac_ext
46994 cat >>conftest.$ac_ext <<_ACEOF
46995 /* end confdefs.h. */
46996
46997 #include <sys/types.h>
46998 #include <sys/socket.h>
46999
47000 int
47001 main ()
47002 {
47003
47004 int len;
47005 getsockopt(0, 0, 0, 0, &len);
47006
47007 ;
47008 return 0;
47009 }
47010 _ACEOF
47011 rm -f conftest.$ac_objext
47012 if { (ac_try="$ac_compile"
47013 case "(($ac_try" in
47014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47015 *) ac_try_echo=$ac_try;;
47016 esac
47017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47018 (eval "$ac_compile") 2>conftest.er1
47019 ac_status=$?
47020 grep -v '^ *+' conftest.er1 >conftest.err
47021 rm -f conftest.er1
47022 cat conftest.err >&5
47023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47024 (exit $ac_status); } && {
47025 test -z "$ac_cxx_werror_flag" ||
47026 test ! -s conftest.err
47027 } && test -s conftest.$ac_objext; then
47028 wx_cv_type_getsockopt5=int
47029 else
47030 echo "$as_me: failed program was:" >&5
47031 sed 's/^/| /' conftest.$ac_ext >&5
47032
47033 wx_cv_type_getsockopt5=unknown
47034
47035 fi
47036
47037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47038
47039 fi
47040
47041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47042
47043
47044 fi
47045
47046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47047 ac_ext=c
47048 ac_cpp='$CPP $CPPFLAGS'
47049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47052
47053
47054 fi
47055 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47056 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47057
47058 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47059 wxUSE_SOCKETS=no
47060 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47061 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47062 else
47063 cat >>confdefs.h <<_ACEOF
47064 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47065 _ACEOF
47066
47067 fi
47068 fi
47069 fi
47070
47071 if test "$wxUSE_SOCKETS" = "yes" ; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_SOCKETS 1
47074 _ACEOF
47075
47076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47077 fi
47078
47079 if test "$wxUSE_PROTOCOL" = "yes"; then
47080 if test "$wxUSE_SOCKETS" != "yes"; then
47081 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47082 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47083 wxUSE_PROTOCOL=no
47084 fi
47085 fi
47086
47087 if test "$wxUSE_PROTOCOL" = "yes"; then
47088 cat >>confdefs.h <<\_ACEOF
47089 #define wxUSE_PROTOCOL 1
47090 _ACEOF
47091
47092
47093 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47094 cat >>confdefs.h <<\_ACEOF
47095 #define wxUSE_PROTOCOL_HTTP 1
47096 _ACEOF
47097
47098 fi
47099 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_PROTOCOL_FTP 1
47102 _ACEOF
47103
47104 fi
47105 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47106 cat >>confdefs.h <<\_ACEOF
47107 #define wxUSE_PROTOCOL_FILE 1
47108 _ACEOF
47109
47110 fi
47111 else
47112 if test "$wxUSE_FS_INET" = "yes"; then
47113 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47114 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47115 wxUSE_FS_INET="no"
47116 fi
47117 fi
47118
47119 if test "$wxUSE_URL" = "yes"; then
47120 if test "$wxUSE_PROTOCOL" != "yes"; then
47121 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47122 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47123 wxUSE_URL=no
47124 fi
47125 if test "$wxUSE_URL" = "yes"; then
47126 cat >>confdefs.h <<\_ACEOF
47127 #define wxUSE_URL 1
47128 _ACEOF
47129
47130 fi
47131 fi
47132
47133 if test "$wxUSE_VARIANT" = "yes"; then
47134 cat >>confdefs.h <<\_ACEOF
47135 #define wxUSE_VARIANT 1
47136 _ACEOF
47137
47138 fi
47139
47140 if test "$wxUSE_FS_INET" = "yes"; then
47141 cat >>confdefs.h <<\_ACEOF
47142 #define wxUSE_FS_INET 1
47143 _ACEOF
47144
47145 fi
47146
47147
47148 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47149 wxUSE_JOYSTICK=no
47150
47151 if test "$TOOLKIT" = "MSW"; then
47152 wxUSE_JOYSTICK=yes
47153
47154 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47155 if test "$USE_DARWIN" = 1; then
47156 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47157 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47158 ac_ext=cpp
47159 ac_cpp='$CXXCPP $CPPFLAGS'
47160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47163
47164 cat >conftest.$ac_ext <<_ACEOF
47165 /* confdefs.h. */
47166 _ACEOF
47167 cat confdefs.h >>conftest.$ac_ext
47168 cat >>conftest.$ac_ext <<_ACEOF
47169 /* end confdefs.h. */
47170 #include <IOKit/hid/IOHIDLib.h>
47171 int
47172 main ()
47173 {
47174 IOHIDQueueInterface *qi = NULL;
47175 IOHIDCallbackFunction cb = NULL;
47176 qi->setEventCallout(NULL, cb, NULL, NULL);
47177 ;
47178 return 0;
47179 }
47180 _ACEOF
47181 rm -f conftest.$ac_objext
47182 if { (ac_try="$ac_compile"
47183 case "(($ac_try" in
47184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47185 *) ac_try_echo=$ac_try;;
47186 esac
47187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47188 (eval "$ac_compile") 2>conftest.er1
47189 ac_status=$?
47190 grep -v '^ *+' conftest.er1 >conftest.err
47191 rm -f conftest.er1
47192 cat conftest.err >&5
47193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47194 (exit $ac_status); } && {
47195 test -z "$ac_cxx_werror_flag" ||
47196 test ! -s conftest.err
47197 } && test -s conftest.$ac_objext; then
47198 wxUSE_JOYSTICK=yes
47199
47200 else
47201 echo "$as_me: failed program was:" >&5
47202 sed 's/^/| /' conftest.$ac_ext >&5
47203
47204
47205 fi
47206
47207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47208 ac_ext=c
47209 ac_cpp='$CPP $CPPFLAGS'
47210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47213
47214 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47215 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47216 fi
47217
47218 else
47219 if test "$wxUSE_MGL" != "1"; then
47220
47221 for ac_header in linux/joystick.h
47222 do
47223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47227 echo $ECHO_N "(cached) $ECHO_C" >&6
47228 else
47229 cat >conftest.$ac_ext <<_ACEOF
47230 /* confdefs.h. */
47231 _ACEOF
47232 cat confdefs.h >>conftest.$ac_ext
47233 cat >>conftest.$ac_ext <<_ACEOF
47234 /* end confdefs.h. */
47235 $ac_includes_default
47236
47237 #include <$ac_header>
47238 _ACEOF
47239 rm -f conftest.$ac_objext
47240 if { (ac_try="$ac_compile"
47241 case "(($ac_try" in
47242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47243 *) ac_try_echo=$ac_try;;
47244 esac
47245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47246 (eval "$ac_compile") 2>conftest.er1
47247 ac_status=$?
47248 grep -v '^ *+' conftest.er1 >conftest.err
47249 rm -f conftest.er1
47250 cat conftest.err >&5
47251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47252 (exit $ac_status); } && {
47253 test -z "$ac_c_werror_flag" ||
47254 test ! -s conftest.err
47255 } && test -s conftest.$ac_objext; then
47256 eval "$as_ac_Header=yes"
47257 else
47258 echo "$as_me: failed program was:" >&5
47259 sed 's/^/| /' conftest.$ac_ext >&5
47260
47261 eval "$as_ac_Header=no"
47262 fi
47263
47264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47265 fi
47266 ac_res=`eval echo '${'$as_ac_Header'}'`
47267 { echo "$as_me:$LINENO: result: $ac_res" >&5
47268 echo "${ECHO_T}$ac_res" >&6; }
47269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47270 cat >>confdefs.h <<_ACEOF
47271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47272 _ACEOF
47273 wxUSE_JOYSTICK=yes
47274 fi
47275
47276 done
47277
47278 fi
47279 fi
47280
47281 if test "$wxUSE_JOYSTICK" = "yes"; then
47282 cat >>confdefs.h <<\_ACEOF
47283 #define wxUSE_JOYSTICK 1
47284 _ACEOF
47285
47286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47287 else
47288 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47289 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47290 fi
47291 fi
47292
47293
47294
47295 if test "$wxUSE_FONTENUM" = "yes" ; then
47296 cat >>confdefs.h <<\_ACEOF
47297 #define wxUSE_FONTENUM 1
47298 _ACEOF
47299
47300 fi
47301
47302 if test "$wxUSE_FONTMAP" = "yes" ; then
47303 cat >>confdefs.h <<\_ACEOF
47304 #define wxUSE_FONTMAP 1
47305 _ACEOF
47306
47307 fi
47308
47309 if test "$wxUSE_UNICODE" = "yes" ; then
47310 cat >>confdefs.h <<\_ACEOF
47311 #define wxUSE_UNICODE 1
47312 _ACEOF
47313
47314
47315 if test "$USE_WIN32" != 1; then
47316 wxUSE_UNICODE_MSLU=no
47317 fi
47318
47319 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47320 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47321 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47322 if test "${ac_cv_lib_unicows_main+set}" = set; then
47323 echo $ECHO_N "(cached) $ECHO_C" >&6
47324 else
47325 ac_check_lib_save_LIBS=$LIBS
47326 LIBS="-lunicows $LIBS"
47327 cat >conftest.$ac_ext <<_ACEOF
47328 /* confdefs.h. */
47329 _ACEOF
47330 cat confdefs.h >>conftest.$ac_ext
47331 cat >>conftest.$ac_ext <<_ACEOF
47332 /* end confdefs.h. */
47333
47334
47335 int
47336 main ()
47337 {
47338 return main ();
47339 ;
47340 return 0;
47341 }
47342 _ACEOF
47343 rm -f conftest.$ac_objext conftest$ac_exeext
47344 if { (ac_try="$ac_link"
47345 case "(($ac_try" in
47346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47347 *) ac_try_echo=$ac_try;;
47348 esac
47349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47350 (eval "$ac_link") 2>conftest.er1
47351 ac_status=$?
47352 grep -v '^ *+' conftest.er1 >conftest.err
47353 rm -f conftest.er1
47354 cat conftest.err >&5
47355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47356 (exit $ac_status); } && {
47357 test -z "$ac_c_werror_flag" ||
47358 test ! -s conftest.err
47359 } && test -s conftest$ac_exeext &&
47360 $as_test_x conftest$ac_exeext; then
47361 ac_cv_lib_unicows_main=yes
47362 else
47363 echo "$as_me: failed program was:" >&5
47364 sed 's/^/| /' conftest.$ac_ext >&5
47365
47366 ac_cv_lib_unicows_main=no
47367 fi
47368
47369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47370 conftest$ac_exeext conftest.$ac_ext
47371 LIBS=$ac_check_lib_save_LIBS
47372 fi
47373 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47374 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47375 if test $ac_cv_lib_unicows_main = yes; then
47376
47377 cat >>confdefs.h <<\_ACEOF
47378 #define wxUSE_UNICODE_MSLU 1
47379 _ACEOF
47380
47381
47382 else
47383
47384 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47385 Applications will only run on Windows NT/2000/XP!" >&5
47386 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47387 Applications will only run on Windows NT/2000/XP!" >&2;}
47388 wxUSE_UNICODE_MSLU=no
47389
47390 fi
47391
47392 fi
47393 fi
47394
47395 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_UNICODE_UTF8 1
47398 _ACEOF
47399
47400
47401 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_UTF8_LOCALE_ONLY 1
47404 _ACEOF
47405
47406 fi
47407 fi
47408
47409 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_EXPERIMENTAL_PRINTF 1
47412 _ACEOF
47413
47414 fi
47415
47416
47417 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_CONSTRAINTS 1
47420 _ACEOF
47421
47422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47423 fi
47424
47425 if test "$wxUSE_MDI" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_MDI 1
47428 _ACEOF
47429
47430
47431 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47432 cat >>confdefs.h <<\_ACEOF
47433 #define wxUSE_MDI_ARCHITECTURE 1
47434 _ACEOF
47435
47436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47437 fi
47438 fi
47439
47440 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47443 _ACEOF
47444
47445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47446 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47448 fi
47449 fi
47450
47451 if test "$wxUSE_HELP" = "yes"; then
47452 cat >>confdefs.h <<\_ACEOF
47453 #define wxUSE_HELP 1
47454 _ACEOF
47455
47456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47457
47458 if test "$wxUSE_MSW" = 1; then
47459 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47460 cat >>confdefs.h <<\_ACEOF
47461 #define wxUSE_MS_HTML_HELP 1
47462 _ACEOF
47463
47464 fi
47465 fi
47466
47467 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47468 if test "$wxUSE_HTML" = "yes"; then
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_WXHTML_HELP 1
47471 _ACEOF
47472
47473 else
47474 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47475 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47476 wxUSE_WXHTML_HELP=no
47477 fi
47478 fi
47479 fi
47480
47481 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47482 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47483 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47484 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47485 else
47486 cat >>confdefs.h <<\_ACEOF
47487 #define wxUSE_PRINTING_ARCHITECTURE 1
47488 _ACEOF
47489
47490 fi
47491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47492 fi
47493
47494 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47495 cat >>confdefs.h <<\_ACEOF
47496 #define wxUSE_POSTSCRIPT 1
47497 _ACEOF
47498
47499 fi
47500
47501 cat >>confdefs.h <<\_ACEOF
47502 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47503 _ACEOF
47504
47505
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_NORMALIZED_PS_FONTS 1
47508 _ACEOF
47509
47510
47511 if test "$wxUSE_SVG" = "yes"; then
47512 cat >>confdefs.h <<\_ACEOF
47513 #define wxUSE_SVG 1
47514 _ACEOF
47515
47516 fi
47517
47518
47519 if test "$wxUSE_METAFILE" = "yes"; then
47520 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47521 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47522 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47523 wxUSE_METAFILE=no
47524 fi
47525 fi
47526
47527
47528 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47529 -o "$wxUSE_CLIPBOARD" = "yes" \
47530 -o "$wxUSE_OLE" = "yes" \
47531 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47532 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47533 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47534 if test "${ac_cv_header_ole2_h+set}" = set; then
47535 echo $ECHO_N "(cached) $ECHO_C" >&6
47536 else
47537 cat >conftest.$ac_ext <<_ACEOF
47538 /* confdefs.h. */
47539 _ACEOF
47540 cat confdefs.h >>conftest.$ac_ext
47541 cat >>conftest.$ac_ext <<_ACEOF
47542 /* end confdefs.h. */
47543
47544
47545 #include <ole2.h>
47546 _ACEOF
47547 rm -f conftest.$ac_objext
47548 if { (ac_try="$ac_compile"
47549 case "(($ac_try" in
47550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47551 *) ac_try_echo=$ac_try;;
47552 esac
47553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47554 (eval "$ac_compile") 2>conftest.er1
47555 ac_status=$?
47556 grep -v '^ *+' conftest.er1 >conftest.err
47557 rm -f conftest.er1
47558 cat conftest.err >&5
47559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47560 (exit $ac_status); } && {
47561 test -z "$ac_c_werror_flag" ||
47562 test ! -s conftest.err
47563 } && test -s conftest.$ac_objext; then
47564 ac_cv_header_ole2_h=yes
47565 else
47566 echo "$as_me: failed program was:" >&5
47567 sed 's/^/| /' conftest.$ac_ext >&5
47568
47569 ac_cv_header_ole2_h=no
47570 fi
47571
47572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47573 fi
47574 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47575 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47576
47577
47578
47579 if test "$ac_cv_header_ole2_h" = "yes" ; then
47580 if test "$GCC" = yes ; then
47581 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47582 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47583 cat >conftest.$ac_ext <<_ACEOF
47584 /* confdefs.h. */
47585 _ACEOF
47586 cat confdefs.h >>conftest.$ac_ext
47587 cat >>conftest.$ac_ext <<_ACEOF
47588 /* end confdefs.h. */
47589 #include <windows.h>
47590 #include <ole2.h>
47591 int
47592 main ()
47593 {
47594
47595 ;
47596 return 0;
47597 }
47598 _ACEOF
47599 rm -f conftest.$ac_objext
47600 if { (ac_try="$ac_compile"
47601 case "(($ac_try" in
47602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47603 *) ac_try_echo=$ac_try;;
47604 esac
47605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47606 (eval "$ac_compile") 2>conftest.er1
47607 ac_status=$?
47608 grep -v '^ *+' conftest.er1 >conftest.err
47609 rm -f conftest.er1
47610 cat conftest.err >&5
47611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47612 (exit $ac_status); } && {
47613 test -z "$ac_c_werror_flag" ||
47614 test ! -s conftest.err
47615 } && test -s conftest.$ac_objext; then
47616 { echo "$as_me:$LINENO: result: no" >&5
47617 echo "${ECHO_T}no" >&6; }
47618 else
47619 echo "$as_me: failed program was:" >&5
47620 sed 's/^/| /' conftest.$ac_ext >&5
47621
47622 { echo "$as_me:$LINENO: result: yes" >&5
47623 echo "${ECHO_T}yes" >&6; }
47624 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47625 fi
47626
47627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47628 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47629 if test "$wxUSE_OLE" = "yes" ; then
47630 cat >>confdefs.h <<\_ACEOF
47631 #define wxUSE_OLE 1
47632 _ACEOF
47633
47634 cat >>confdefs.h <<\_ACEOF
47635 #define wxUSE_OLE_AUTOMATION 1
47636 _ACEOF
47637
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_ACTIVEX 1
47640 _ACEOF
47641
47642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47643 fi
47644 fi
47645
47646 if test "$wxUSE_DATAOBJ" = "yes" ; then
47647 cat >>confdefs.h <<\_ACEOF
47648 #define wxUSE_DATAOBJ 1
47649 _ACEOF
47650
47651 fi
47652 else
47653 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47654 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47655
47656 wxUSE_CLIPBOARD=no
47657 wxUSE_DRAG_AND_DROP=no
47658 wxUSE_DATAOBJ=no
47659 wxUSE_OLE=no
47660 fi
47661
47662 if test "$wxUSE_METAFILE" = "yes"; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_METAFILE 1
47665 _ACEOF
47666
47667
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_ENH_METAFILE 1
47670 _ACEOF
47671
47672 fi
47673 fi
47674
47675 if test "$wxUSE_IPC" = "yes"; then
47676 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47677 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47678 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47679 wxUSE_IPC=no
47680 fi
47681
47682 if test "$wxUSE_IPC" = "yes"; then
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_IPC 1
47685 _ACEOF
47686
47687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47688 fi
47689 fi
47690
47691 if test "$wxUSE_DATAOBJ" = "yes"; then
47692 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47693 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47694 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47695 wxUSE_DATAOBJ=no
47696 else
47697 cat >>confdefs.h <<\_ACEOF
47698 #define wxUSE_DATAOBJ 1
47699 _ACEOF
47700
47701 fi
47702 else
47703 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47704 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47705 wxUSE_CLIPBOARD=no
47706 wxUSE_DRAG_AND_DROP=no
47707 fi
47708
47709 if test "$wxUSE_CLIPBOARD" = "yes"; then
47710 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47711 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47712 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47713 wxUSE_CLIPBOARD=no
47714 fi
47715
47716 if test "$wxUSE_CLIPBOARD" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_CLIPBOARD 1
47719 _ACEOF
47720
47721 fi
47722 fi
47723
47724 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47725 if test "$wxUSE_GTK" = 1; then
47726 if test "$WXGTK12" != 1; then
47727 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47728 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47729 wxUSE_DRAG_AND_DROP=no
47730 fi
47731 fi
47732
47733 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47734 "$wxUSE_DFB" = 1; then
47735 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47736 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47737 wxUSE_DRAG_AND_DROP=no
47738 fi
47739
47740 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_DRAG_AND_DROP 1
47743 _ACEOF
47744
47745 fi
47746
47747 fi
47748
47749 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47751 fi
47752
47753 if test "$wxUSE_SPLINES" = "yes" ; then
47754 cat >>confdefs.h <<\_ACEOF
47755 #define wxUSE_SPLINES 1
47756 _ACEOF
47757
47758 fi
47759
47760 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_MOUSEWHEEL 1
47763 _ACEOF
47764
47765 fi
47766
47767
47768 USES_CONTROLS=0
47769 if test "$wxUSE_CONTROLS" = "yes"; then
47770 USES_CONTROLS=1
47771 fi
47772
47773 if test "$wxUSE_ACCEL" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_ACCEL 1
47776 _ACEOF
47777
47778 USES_CONTROLS=1
47779 fi
47780
47781 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_ANIMATIONCTRL 1
47784 _ACEOF
47785
47786 USES_CONTROLS=1
47787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47788 fi
47789
47790 if test "$wxUSE_BUTTON" = "yes"; then
47791 cat >>confdefs.h <<\_ACEOF
47792 #define wxUSE_BUTTON 1
47793 _ACEOF
47794
47795 USES_CONTROLS=1
47796 fi
47797
47798 if test "$wxUSE_BMPBUTTON" = "yes"; then
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_BMPBUTTON 1
47801 _ACEOF
47802
47803 USES_CONTROLS=1
47804 fi
47805
47806 if test "$wxUSE_CALCTRL" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_CALENDARCTRL 1
47809 _ACEOF
47810
47811 USES_CONTROLS=1
47812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47813 fi
47814
47815 if test "$wxUSE_CARET" = "yes"; then
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_CARET 1
47818 _ACEOF
47819
47820 USES_CONTROLS=1
47821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47822 fi
47823
47824 if test "$wxUSE_COLLPANE" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_COLLPANE 1
47827 _ACEOF
47828
47829 USES_CONTROLS=1
47830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47831 fi
47832
47833 if test "$wxUSE_COMBOBOX" = "yes"; then
47834 cat >>confdefs.h <<\_ACEOF
47835 #define wxUSE_COMBOBOX 1
47836 _ACEOF
47837
47838 USES_CONTROLS=1
47839 fi
47840
47841 if test "$wxUSE_COMBOCTRL" = "yes"; then
47842 cat >>confdefs.h <<\_ACEOF
47843 #define wxUSE_COMBOCTRL 1
47844 _ACEOF
47845
47846 USES_CONTROLS=1
47847 fi
47848
47849 if test "$wxUSE_CHOICE" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_CHOICE 1
47852 _ACEOF
47853
47854 USES_CONTROLS=1
47855 fi
47856
47857 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_CHOICEBOOK 1
47860 _ACEOF
47861
47862 USES_CONTROLS=1
47863 fi
47864
47865 if test "$wxUSE_CHECKBOX" = "yes"; then
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_CHECKBOX 1
47868 _ACEOF
47869
47870 USES_CONTROLS=1
47871 fi
47872
47873 if test "$wxUSE_CHECKLST" = "yes"; then
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_CHECKLISTBOX 1
47876 _ACEOF
47877
47878 USES_CONTROLS=1
47879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47880 fi
47881
47882 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_COLOURPICKERCTRL 1
47885 _ACEOF
47886
47887 USES_CONTROLS=1
47888 fi
47889
47890 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_DATEPICKCTRL 1
47893 _ACEOF
47894
47895 USES_CONTROLS=1
47896 fi
47897
47898 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_DIRPICKERCTRL 1
47901 _ACEOF
47902
47903 USES_CONTROLS=1
47904 fi
47905
47906 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_FILEPICKERCTRL 1
47909 _ACEOF
47910
47911 USES_CONTROLS=1
47912 fi
47913
47914 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_FONTPICKERCTRL 1
47917 _ACEOF
47918
47919 USES_CONTROLS=1
47920 fi
47921
47922 if test "$wxUSE_DISPLAY" = "yes"; then
47923 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47924 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47925 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47926 wxUSE_DISPLAY=no
47927 else
47928 cat >>confdefs.h <<\_ACEOF
47929 #define wxUSE_DISPLAY 1
47930 _ACEOF
47931
47932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47933 fi
47934 fi
47935
47936 if test "$wxUSE_DETECT_SM" = "yes"; then
47937 cat >>confdefs.h <<\_ACEOF
47938 #define wxUSE_DETECT_SM 1
47939 _ACEOF
47940
47941 fi
47942
47943 if test "$wxUSE_GAUGE" = "yes"; then
47944 cat >>confdefs.h <<\_ACEOF
47945 #define wxUSE_GAUGE 1
47946 _ACEOF
47947
47948 USES_CONTROLS=1
47949 fi
47950
47951 if test "$wxUSE_GRID" = "yes"; then
47952 cat >>confdefs.h <<\_ACEOF
47953 #define wxUSE_GRID 1
47954 _ACEOF
47955
47956 USES_CONTROLS=1
47957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47958 fi
47959
47960 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_HYPERLINKCTRL 1
47963 _ACEOF
47964
47965 USES_CONTROLS=1
47966 fi
47967
47968 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47969 cat >>confdefs.h <<\_ACEOF
47970 #define wxUSE_BITMAPCOMBOBOX 1
47971 _ACEOF
47972
47973 USES_CONTROLS=1
47974 fi
47975
47976 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47977 cat >>confdefs.h <<\_ACEOF
47978 #define wxUSE_DATAVIEWCTRL 1
47979 _ACEOF
47980
47981 USES_CONTROLS=1
47982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47983 fi
47984
47985 if test "$wxUSE_IMAGLIST" = "yes"; then
47986 cat >>confdefs.h <<\_ACEOF
47987 #define wxUSE_IMAGLIST 1
47988 _ACEOF
47989
47990 fi
47991
47992 if test "$wxUSE_LISTBOOK" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_LISTBOOK 1
47995 _ACEOF
47996
47997 USES_CONTROLS=1
47998 fi
47999
48000 if test "$wxUSE_LISTBOX" = "yes"; then
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_LISTBOX 1
48003 _ACEOF
48004
48005 USES_CONTROLS=1
48006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48007 fi
48008
48009 if test "$wxUSE_LISTCTRL" = "yes"; then
48010 if test "$wxUSE_IMAGLIST" = "yes"; then
48011 cat >>confdefs.h <<\_ACEOF
48012 #define wxUSE_LISTCTRL 1
48013 _ACEOF
48014
48015 USES_CONTROLS=1
48016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48017 else
48018 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48019 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48020 fi
48021 fi
48022
48023 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48024 cat >>confdefs.h <<\_ACEOF
48025 #define wxUSE_EDITABLELISTBOX 1
48026 _ACEOF
48027
48028 USES_CONTROLS=1
48029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48030 fi
48031
48032 if test "$wxUSE_NOTEBOOK" = "yes"; then
48033 cat >>confdefs.h <<\_ACEOF
48034 #define wxUSE_NOTEBOOK 1
48035 _ACEOF
48036
48037 USES_CONTROLS=1
48038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48039 fi
48040
48041 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48042 cat >>confdefs.h <<\_ACEOF
48043 #define wxUSE_ODCOMBOBOX 1
48044 _ACEOF
48045
48046 USES_CONTROLS=1
48047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48048 fi
48049
48050
48051 if test "$wxUSE_RADIOBOX" = "yes"; then
48052 cat >>confdefs.h <<\_ACEOF
48053 #define wxUSE_RADIOBOX 1
48054 _ACEOF
48055
48056 USES_CONTROLS=1
48057 fi
48058
48059 if test "$wxUSE_RADIOBTN" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_RADIOBTN 1
48062 _ACEOF
48063
48064 USES_CONTROLS=1
48065 fi
48066
48067 if test "$wxUSE_SASH" = "yes"; then
48068 cat >>confdefs.h <<\_ACEOF
48069 #define wxUSE_SASH 1
48070 _ACEOF
48071
48072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48073 fi
48074
48075 if test "$wxUSE_SCROLLBAR" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_SCROLLBAR 1
48078 _ACEOF
48079
48080 USES_CONTROLS=1
48081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48082 fi
48083
48084 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_SEARCHCTRL 1
48087 _ACEOF
48088
48089 USES_CONTROLS=1
48090 fi
48091
48092 if test "$wxUSE_SLIDER" = "yes"; then
48093 cat >>confdefs.h <<\_ACEOF
48094 #define wxUSE_SLIDER 1
48095 _ACEOF
48096
48097 USES_CONTROLS=1
48098 fi
48099
48100 if test "$wxUSE_SPINBTN" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_SPINBTN 1
48103 _ACEOF
48104
48105 USES_CONTROLS=1
48106 fi
48107
48108 if test "$wxUSE_SPINCTRL" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_SPINCTRL 1
48111 _ACEOF
48112
48113 USES_CONTROLS=1
48114 fi
48115
48116 if test "$wxUSE_SPLITTER" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_SPLITTER 1
48119 _ACEOF
48120
48121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48122 fi
48123
48124 if test "$wxUSE_STATBMP" = "yes"; then
48125 cat >>confdefs.h <<\_ACEOF
48126 #define wxUSE_STATBMP 1
48127 _ACEOF
48128
48129 USES_CONTROLS=1
48130 fi
48131
48132 if test "$wxUSE_STATBOX" = "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_STATBOX 1
48135 _ACEOF
48136
48137 USES_CONTROLS=1
48138 fi
48139
48140 if test "$wxUSE_STATTEXT" = "yes"; then
48141 cat >>confdefs.h <<\_ACEOF
48142 #define wxUSE_STATTEXT 1
48143 _ACEOF
48144
48145 USES_CONTROLS=1
48146 fi
48147
48148 if test "$wxUSE_STATLINE" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_STATLINE 1
48151 _ACEOF
48152
48153 USES_CONTROLS=1
48154 fi
48155
48156 if test "$wxUSE_STATUSBAR" = "yes"; then
48157 cat >>confdefs.h <<\_ACEOF
48158 #define wxUSE_NATIVE_STATUSBAR 1
48159 _ACEOF
48160
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_STATUSBAR 1
48163 _ACEOF
48164
48165 USES_CONTROLS=1
48166
48167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48168 fi
48169
48170 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48171 cat >>confdefs.h <<\_ACEOF
48172 #define wxUSE_TAB_DIALOG 1
48173 _ACEOF
48174
48175 fi
48176
48177 if test "$wxUSE_TEXTCTRL" = "yes"; then
48178 cat >>confdefs.h <<\_ACEOF
48179 #define wxUSE_TEXTCTRL 1
48180 _ACEOF
48181
48182 USES_CONTROLS=1
48183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48184 fi
48185
48186 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48187 if test "$wxUSE_COCOA" = 1 ; then
48188 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48189 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48190 wxUSE_TOGGLEBTN=no
48191 fi
48192
48193 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_TOGGLEBTN 1
48196 _ACEOF
48197
48198 USES_CONTROLS=1
48199 fi
48200 fi
48201
48202 if test "$wxUSE_TOOLBAR" = "yes"; then
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_TOOLBAR 1
48205 _ACEOF
48206
48207 USES_CONTROLS=1
48208
48209 if test "$wxUSE_UNIVERSAL" = "yes"; then
48210 wxUSE_TOOLBAR_NATIVE="no"
48211 else
48212 wxUSE_TOOLBAR_NATIVE="yes"
48213 cat >>confdefs.h <<\_ACEOF
48214 #define wxUSE_TOOLBAR_NATIVE 1
48215 _ACEOF
48216
48217 fi
48218
48219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48220 fi
48221
48222 if test "$wxUSE_TOOLTIPS" = "yes"; then
48223 if test "$wxUSE_MOTIF" = 1; then
48224 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48225 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48226 else
48227 if test "$wxUSE_UNIVERSAL" = "yes"; then
48228 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48229 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48230 else
48231 cat >>confdefs.h <<\_ACEOF
48232 #define wxUSE_TOOLTIPS 1
48233 _ACEOF
48234
48235 fi
48236 fi
48237 fi
48238
48239 if test "$wxUSE_TREEBOOK" = "yes"; then
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_TREEBOOK 1
48242 _ACEOF
48243
48244 USES_CONTROLS=1
48245 fi
48246
48247 if test "$wxUSE_TOOLBOOK" = "yes"; then
48248 cat >>confdefs.h <<\_ACEOF
48249 #define wxUSE_TOOLBOOK 1
48250 _ACEOF
48251
48252 USES_CONTROLS=1
48253 fi
48254
48255 if test "$wxUSE_TREECTRL" = "yes"; then
48256 if test "$wxUSE_IMAGLIST" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_TREECTRL 1
48259 _ACEOF
48260
48261 USES_CONTROLS=1
48262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48263 else
48264 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48265 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48266 fi
48267 fi
48268
48269 if test "$wxUSE_POPUPWIN" = "yes"; then
48270 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48271 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48272 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48273 else
48274 if test "$wxUSE_PM" = 1; then
48275 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48276 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48277 else
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_POPUPWIN 1
48280 _ACEOF
48281
48282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48283
48284 USES_CONTROLS=1
48285 fi
48286 fi
48287 fi
48288
48289 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48290 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48291 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48292 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48293 else
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_DIALUP_MANAGER 1
48296 _ACEOF
48297
48298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48299 fi
48300 fi
48301
48302 if test "$wxUSE_TIPWINDOW" = "yes"; then
48303 if test "$wxUSE_PM" = 1; then
48304 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48305 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48306 else
48307 cat >>confdefs.h <<\_ACEOF
48308 #define wxUSE_TIPWINDOW 1
48309 _ACEOF
48310
48311 fi
48312 fi
48313
48314 if test "$USES_CONTROLS" = 1; then
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_CONTROLS 1
48317 _ACEOF
48318
48319 fi
48320
48321
48322 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48323 cat >>confdefs.h <<\_ACEOF
48324 #define wxUSE_ACCESSIBILITY 1
48325 _ACEOF
48326
48327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48328 fi
48329
48330 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_DRAGIMAGE 1
48333 _ACEOF
48334
48335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48336 fi
48337
48338 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48339 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48340 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48341 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48342 else
48343 cat >>confdefs.h <<\_ACEOF
48344 #define wxUSE_EXCEPTIONS 1
48345 _ACEOF
48346
48347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48348 fi
48349 fi
48350
48351 USE_HTML=0
48352 if test "$wxUSE_HTML" = "yes"; then
48353 cat >>confdefs.h <<\_ACEOF
48354 #define wxUSE_HTML 1
48355 _ACEOF
48356
48357 USE_HTML=1
48358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48359 if test "$wxUSE_MAC" = 1; then
48360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48361 fi
48362 fi
48363 if test "$wxUSE_WEBKIT" = "yes"; then
48364 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48365 old_CPPFLAGS="$CPPFLAGS"
48366 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48367 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48368 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48369 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48370 echo $ECHO_N "(cached) $ECHO_C" >&6
48371 else
48372 cat >conftest.$ac_ext <<_ACEOF
48373 /* confdefs.h. */
48374 _ACEOF
48375 cat confdefs.h >>conftest.$ac_ext
48376 cat >>conftest.$ac_ext <<_ACEOF
48377 /* end confdefs.h. */
48378
48379 #include <Carbon/Carbon.h>
48380 #include <WebKit/WebKit.h>
48381
48382
48383 #include <WebKit/HIWebView.h>
48384 _ACEOF
48385 rm -f conftest.$ac_objext
48386 if { (ac_try="$ac_compile"
48387 case "(($ac_try" in
48388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48389 *) ac_try_echo=$ac_try;;
48390 esac
48391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48392 (eval "$ac_compile") 2>conftest.er1
48393 ac_status=$?
48394 grep -v '^ *+' conftest.er1 >conftest.err
48395 rm -f conftest.er1
48396 cat conftest.err >&5
48397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48398 (exit $ac_status); } && {
48399 test -z "$ac_c_werror_flag" ||
48400 test ! -s conftest.err
48401 } && test -s conftest.$ac_objext; then
48402 ac_cv_header_WebKit_HIWebView_h=yes
48403 else
48404 echo "$as_me: failed program was:" >&5
48405 sed 's/^/| /' conftest.$ac_ext >&5
48406
48407 ac_cv_header_WebKit_HIWebView_h=no
48408 fi
48409
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411 fi
48412 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48413 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48414 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48415
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_WEBKIT 1
48418 _ACEOF
48419
48420 WEBKIT_LINK="-framework WebKit"
48421
48422 else
48423
48424 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48425 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48426 wxUSE_WEBKIT=no
48427
48428 fi
48429
48430
48431 CPPFLAGS="$old_CPPFLAGS"
48432 elif test "$wxUSE_COCOA" = 1; then
48433 cat >>confdefs.h <<\_ACEOF
48434 #define wxUSE_WEBKIT 1
48435 _ACEOF
48436
48437 else
48438 wxUSE_WEBKIT=no
48439 fi
48440 fi
48441
48442 USE_XRC=0
48443 if test "$wxUSE_XRC" = "yes"; then
48444 if test "$wxUSE_XML" != "yes"; then
48445 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48446 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48447 wxUSE_XRC=no
48448 else
48449 cat >>confdefs.h <<\_ACEOF
48450 #define wxUSE_XRC 1
48451 _ACEOF
48452
48453 USE_XRC=1
48454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48455 fi
48456 fi
48457
48458 USE_AUI=0
48459 if test "$wxUSE_AUI" = "yes"; then
48460 cat >>confdefs.h <<\_ACEOF
48461 #define wxUSE_AUI 1
48462 _ACEOF
48463
48464 USE_AUI=1
48465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48466 fi
48467
48468 USE_STC=0
48469 if test "$wxUSE_STC" = "yes"; then
48470 cat >>confdefs.h <<\_ACEOF
48471 #define wxUSE_STC 1
48472 _ACEOF
48473
48474 USE_STC=1
48475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48476 fi
48477
48478 if test "$wxUSE_MENUS" = "yes"; then
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_MENUS 1
48481 _ACEOF
48482
48483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48484 fi
48485
48486 if test "$wxUSE_METAFILE" = "yes"; then
48487 cat >>confdefs.h <<\_ACEOF
48488 #define wxUSE_METAFILE 1
48489 _ACEOF
48490
48491 fi
48492
48493 if test "$wxUSE_MIMETYPE" = "yes"; then
48494 cat >>confdefs.h <<\_ACEOF
48495 #define wxUSE_MIMETYPE 1
48496 _ACEOF
48497
48498 fi
48499
48500 if test "$wxUSE_MINIFRAME" = "yes"; then
48501 cat >>confdefs.h <<\_ACEOF
48502 #define wxUSE_MINIFRAME 1
48503 _ACEOF
48504
48505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48506 fi
48507
48508 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48509 cat >>confdefs.h <<\_ACEOF
48510 #define wxUSE_SYSTEM_OPTIONS 1
48511 _ACEOF
48512
48513 fi
48514
48515 if test "$wxUSE_TASKBARICON" = "yes"; then
48516 cat >>confdefs.h <<\_ACEOF
48517 #define wxUSE_TASKBARICON 1
48518 _ACEOF
48519
48520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48521 fi
48522
48523
48524 if test "$wxUSE_VALIDATORS" = "yes"; then
48525 cat >>confdefs.h <<\_ACEOF
48526 #define wxUSE_VALIDATORS 1
48527 _ACEOF
48528
48529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48530 fi
48531
48532 if test "$wxUSE_PALETTE" = "yes" ; then
48533 if test "$wxUSE_DFB" = 1; then
48534 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48535 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48536 wxUSE_PALETTE=no
48537 else
48538 cat >>confdefs.h <<\_ACEOF
48539 #define wxUSE_PALETTE 1
48540 _ACEOF
48541
48542 fi
48543 fi
48544
48545 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48546 LIBS=" -lunicows $LIBS"
48547 fi
48548
48549 USE_RICHTEXT=0
48550 if test "$wxUSE_RICHTEXT" = "yes"; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_RICHTEXT 1
48553 _ACEOF
48554
48555 USE_RICHTEXT=1
48556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48557 fi
48558
48559
48560 if test "$wxUSE_IMAGE" = "yes" ; then
48561 cat >>confdefs.h <<\_ACEOF
48562 #define wxUSE_IMAGE 1
48563 _ACEOF
48564
48565
48566 if test "$wxUSE_GIF" = "yes" ; then
48567 cat >>confdefs.h <<\_ACEOF
48568 #define wxUSE_GIF 1
48569 _ACEOF
48570
48571 fi
48572
48573 if test "$wxUSE_PCX" = "yes" ; then
48574 cat >>confdefs.h <<\_ACEOF
48575 #define wxUSE_PCX 1
48576 _ACEOF
48577
48578 fi
48579
48580 if test "$wxUSE_TGA" = "yes" ; then
48581 cat >>confdefs.h <<\_ACEOF
48582 #define wxUSE_TGA 1
48583 _ACEOF
48584
48585 fi
48586
48587 if test "$wxUSE_IFF" = "yes" ; then
48588 cat >>confdefs.h <<\_ACEOF
48589 #define wxUSE_IFF 1
48590 _ACEOF
48591
48592 fi
48593
48594 if test "$wxUSE_PNM" = "yes" ; then
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_PNM 1
48597 _ACEOF
48598
48599 fi
48600
48601 if test "$wxUSE_XPM" = "yes" ; then
48602 cat >>confdefs.h <<\_ACEOF
48603 #define wxUSE_XPM 1
48604 _ACEOF
48605
48606 fi
48607
48608 if test "$wxUSE_ICO_CUR" = "yes" ; then
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_ICO_CUR 1
48611 _ACEOF
48612
48613 fi
48614 fi
48615
48616
48617 if test "$wxUSE_ABOUTDLG" = "yes"; then
48618 cat >>confdefs.h <<\_ACEOF
48619 #define wxUSE_ABOUTDLG 1
48620 _ACEOF
48621
48622 fi
48623
48624 if test "$wxUSE_CHOICEDLG" = "yes"; then
48625 cat >>confdefs.h <<\_ACEOF
48626 #define wxUSE_CHOICEDLG 1
48627 _ACEOF
48628
48629 fi
48630
48631 if test "$wxUSE_COLOURDLG" = "yes"; then
48632 cat >>confdefs.h <<\_ACEOF
48633 #define wxUSE_COLOURDLG 1
48634 _ACEOF
48635
48636 fi
48637
48638 if test "$wxUSE_FILEDLG" = "yes"; then
48639 cat >>confdefs.h <<\_ACEOF
48640 #define wxUSE_FILEDLG 1
48641 _ACEOF
48642
48643 fi
48644
48645 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48646 cat >>confdefs.h <<\_ACEOF
48647 #define wxUSE_FINDREPLDLG 1
48648 _ACEOF
48649
48650 fi
48651
48652 if test "$wxUSE_FONTDLG" = "yes"; then
48653 cat >>confdefs.h <<\_ACEOF
48654 #define wxUSE_FONTDLG 1
48655 _ACEOF
48656
48657 fi
48658
48659 if test "$wxUSE_DIRDLG" = "yes"; then
48660 if test "$wxUSE_TREECTRL" != "yes"; then
48661 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48662 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48663 else
48664 cat >>confdefs.h <<\_ACEOF
48665 #define wxUSE_DIRDLG 1
48666 _ACEOF
48667
48668 fi
48669 fi
48670
48671 if test "$wxUSE_MSGDLG" = "yes"; then
48672 cat >>confdefs.h <<\_ACEOF
48673 #define wxUSE_MSGDLG 1
48674 _ACEOF
48675
48676 fi
48677
48678 if test "$wxUSE_NUMBERDLG" = "yes"; then
48679 cat >>confdefs.h <<\_ACEOF
48680 #define wxUSE_NUMBERDLG 1
48681 _ACEOF
48682
48683 fi
48684
48685 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48686 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48687 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48688 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48689 else
48690 cat >>confdefs.h <<\_ACEOF
48691 #define wxUSE_PROGRESSDLG 1
48692 _ACEOF
48693
48694 fi
48695 fi
48696
48697 if test "$wxUSE_SPLASH" = "yes"; then
48698 cat >>confdefs.h <<\_ACEOF
48699 #define wxUSE_SPLASH 1
48700 _ACEOF
48701
48702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48703 fi
48704
48705 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48706 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48707 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48708 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48709 else
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_STARTUP_TIPS 1
48712 _ACEOF
48713
48714 fi
48715 fi
48716
48717 if test "$wxUSE_TEXTDLG" = "yes"; then
48718 cat >>confdefs.h <<\_ACEOF
48719 #define wxUSE_TEXTDLG 1
48720 _ACEOF
48721
48722 fi
48723
48724 if test "$wxUSE_WIZARDDLG" = "yes"; then
48725 cat >>confdefs.h <<\_ACEOF
48726 #define wxUSE_WIZARDDLG 1
48727 _ACEOF
48728
48729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48730 fi
48731
48732
48733 if test "$wxUSE_MSW" = 1 ; then
48734
48735 if test "$wxUSE_DC_CACHEING" = "yes"; then
48736 cat >>confdefs.h <<\_ACEOF
48737 #define wxUSE_DC_CACHEING 1
48738 _ACEOF
48739
48740 fi
48741
48742 if test "$wxUSE_DIB" = "yes"; then
48743 cat >>confdefs.h <<\_ACEOF
48744 #define wxUSE_WXDIB 1
48745 _ACEOF
48746
48747 fi
48748
48749 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48750 cat >>confdefs.h <<\_ACEOF
48751 #define wxUSE_OWNER_DRAWN 1
48752 _ACEOF
48753
48754 fi
48755
48756 if test "$wxUSE_REGKEY" = "yes"; then
48757 cat >>confdefs.h <<\_ACEOF
48758 #define wxUSE_REGKEY 1
48759 _ACEOF
48760
48761 fi
48762
48763 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48764 cat >>confdefs.h <<\_ACEOF
48765 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48766 _ACEOF
48767
48768 fi
48769
48770 if test "$wxUSE_UXTHEME" = "yes"; then
48771 cat >>confdefs.h <<\_ACEOF
48772 #define wxUSE_UXTHEME 1
48773 _ACEOF
48774
48775 fi
48776
48777 fi
48778
48779
48780 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48781 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48782 cat >>confdefs.h <<\_ACEOF
48783 #define wxUSE_GRAPHICS_CONTEXT 1
48784 _ACEOF
48785
48786 elif test "$wxUSE_GTK" != 1; then
48787 cat >>confdefs.h <<\_ACEOF
48788 #define wxUSE_GRAPHICS_CONTEXT 1
48789 _ACEOF
48790
48791 else
48792
48793 pkg_failed=no
48794 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48795 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48796
48797 if test -n "$PKG_CONFIG"; then
48798 if test -n "$CAIRO_CFLAGS"; then
48799 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48800 else
48801 if test -n "$PKG_CONFIG" && \
48802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48803 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48804 ac_status=$?
48805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48806 (exit $ac_status); }; then
48807 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48808 else
48809 pkg_failed=yes
48810 fi
48811 fi
48812 else
48813 pkg_failed=untried
48814 fi
48815 if test -n "$PKG_CONFIG"; then
48816 if test -n "$CAIRO_LIBS"; then
48817 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48818 else
48819 if test -n "$PKG_CONFIG" && \
48820 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48821 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48822 ac_status=$?
48823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48824 (exit $ac_status); }; then
48825 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48826 else
48827 pkg_failed=yes
48828 fi
48829 fi
48830 else
48831 pkg_failed=untried
48832 fi
48833
48834
48835
48836 if test $pkg_failed = yes; then
48837
48838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48839 _pkg_short_errors_supported=yes
48840 else
48841 _pkg_short_errors_supported=no
48842 fi
48843 if test $_pkg_short_errors_supported = yes; then
48844 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48845 else
48846 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48847 fi
48848 # Put the nasty error message in config.log where it belongs
48849 echo "$CAIRO_PKG_ERRORS" >&5
48850
48851 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48852 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48853
48854 elif test $pkg_failed = untried; then
48855 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48856 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48857
48858 else
48859 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48860 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48861 { echo "$as_me:$LINENO: result: yes" >&5
48862 echo "${ECHO_T}yes" >&6; }
48863 cat >>confdefs.h <<\_ACEOF
48864 #define wxUSE_GRAPHICS_CONTEXT 1
48865 _ACEOF
48866
48867 fi
48868 fi
48869 fi
48870
48871
48872 USE_MEDIA=0
48873
48874 if test "$wxUSE_MEDIACTRL" = "yes"; then
48875 USE_MEDIA=1
48876
48877 if test "$wxUSE_GTK" = 1; then
48878 wxUSE_GSTREAMER="no"
48879
48880 GST_VERSION_MAJOR=0
48881 GST_VERSION_MINOR=10
48882 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48883
48884 if test "$wxUSE_GSTREAMER8" = "no"; then
48885
48886 pkg_failed=no
48887 { echo "$as_me:$LINENO: checking for GST" >&5
48888 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48889
48890 if test -n "$PKG_CONFIG"; then
48891 if test -n "$GST_CFLAGS"; then
48892 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48893 else
48894 if test -n "$PKG_CONFIG" && \
48895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48896 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48897 ac_status=$?
48898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48899 (exit $ac_status); }; then
48900 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48901 else
48902 pkg_failed=yes
48903 fi
48904 fi
48905 else
48906 pkg_failed=untried
48907 fi
48908 if test -n "$PKG_CONFIG"; then
48909 if test -n "$GST_LIBS"; then
48910 pkg_cv_GST_LIBS="$GST_LIBS"
48911 else
48912 if test -n "$PKG_CONFIG" && \
48913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48914 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48915 ac_status=$?
48916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917 (exit $ac_status); }; then
48918 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48919 else
48920 pkg_failed=yes
48921 fi
48922 fi
48923 else
48924 pkg_failed=untried
48925 fi
48926
48927
48928
48929 if test $pkg_failed = yes; then
48930
48931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48932 _pkg_short_errors_supported=yes
48933 else
48934 _pkg_short_errors_supported=no
48935 fi
48936 if test $_pkg_short_errors_supported = yes; then
48937 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48938 else
48939 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48940 fi
48941 # Put the nasty error message in config.log where it belongs
48942 echo "$GST_PKG_ERRORS" >&5
48943
48944
48945 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48946 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48947 GST_VERSION_MINOR=8
48948
48949
48950 elif test $pkg_failed = untried; then
48951
48952 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48953 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48954 GST_VERSION_MINOR=8
48955
48956
48957 else
48958 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48959 GST_LIBS=$pkg_cv_GST_LIBS
48960 { echo "$as_me:$LINENO: result: yes" >&5
48961 echo "${ECHO_T}yes" >&6; }
48962
48963 wxUSE_GSTREAMER="yes"
48964 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48965
48966 fi
48967 else
48968 GST_VERSION_MINOR=8
48969 fi
48970
48971 if test $GST_VERSION_MINOR = "8"; then
48972 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48973
48974 pkg_failed=no
48975 { echo "$as_me:$LINENO: checking for GST" >&5
48976 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48977
48978 if test -n "$PKG_CONFIG"; then
48979 if test -n "$GST_CFLAGS"; then
48980 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48981 else
48982 if test -n "$PKG_CONFIG" && \
48983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48984 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48985 ac_status=$?
48986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48987 (exit $ac_status); }; then
48988 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48989 else
48990 pkg_failed=yes
48991 fi
48992 fi
48993 else
48994 pkg_failed=untried
48995 fi
48996 if test -n "$PKG_CONFIG"; then
48997 if test -n "$GST_LIBS"; then
48998 pkg_cv_GST_LIBS="$GST_LIBS"
48999 else
49000 if test -n "$PKG_CONFIG" && \
49001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49002 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49003 ac_status=$?
49004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49005 (exit $ac_status); }; then
49006 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49007 else
49008 pkg_failed=yes
49009 fi
49010 fi
49011 else
49012 pkg_failed=untried
49013 fi
49014
49015
49016
49017 if test $pkg_failed = yes; then
49018
49019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49020 _pkg_short_errors_supported=yes
49021 else
49022 _pkg_short_errors_supported=no
49023 fi
49024 if test $_pkg_short_errors_supported = yes; then
49025 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49026 else
49027 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49028 fi
49029 # Put the nasty error message in config.log where it belongs
49030 echo "$GST_PKG_ERRORS" >&5
49031
49032
49033 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49034 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49035
49036 elif test $pkg_failed = untried; then
49037
49038 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49039 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49040
49041 else
49042 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49043 GST_LIBS=$pkg_cv_GST_LIBS
49044 { echo "$as_me:$LINENO: result: yes" >&5
49045 echo "${ECHO_T}yes" >&6; }
49046 wxUSE_GSTREAMER="yes"
49047 fi
49048 fi
49049
49050
49051 if test "$wxUSE_GSTREAMER" = "yes"; then
49052 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49053 LIBS="$GST_LIBS $LIBS"
49054
49055 cat >>confdefs.h <<\_ACEOF
49056 #define wxUSE_GSTREAMER 1
49057 _ACEOF
49058
49059 else
49060 USE_MEDIA=0
49061 fi
49062 fi
49063
49064 if test $USE_MEDIA = 1; then
49065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49066 cat >>confdefs.h <<\_ACEOF
49067 #define wxUSE_MEDIACTRL 1
49068 _ACEOF
49069
49070 fi
49071 fi
49072
49073
49074 if test "$cross_compiling" = "yes"; then
49075 OSINFO="\"$host\""
49076 else
49077 OSINFO=`uname -s -r -m`
49078 OSINFO="\"$OSINFO\""
49079 fi
49080
49081 cat >>confdefs.h <<_ACEOF
49082 #define WXWIN_OS_DESCRIPTION $OSINFO
49083 _ACEOF
49084
49085
49086
49087 if test "x$prefix" != "xNONE"; then
49088 wxPREFIX=$prefix
49089 else
49090 wxPREFIX=$ac_default_prefix
49091 fi
49092
49093 cat >>confdefs.h <<_ACEOF
49094 #define wxINSTALL_PREFIX "$wxPREFIX"
49095 _ACEOF
49096
49097
49098
49099
49100 STD_BASE_LIBS="base"
49101 STD_GUI_LIBS=""
49102 BUILT_WX_LIBS="base"
49103 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49104
49105 if test "$wxUSE_SOCKETS" = "yes" ; then
49106 STD_BASE_LIBS="net $STD_BASE_LIBS"
49107 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49108 fi
49109 if test "$wxUSE_ODBC" != "no" ; then
49110 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49111 fi
49112 if test "$wxUSE_XML" = "yes" ; then
49113 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49114 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49115 fi
49116
49117 if test "$wxUSE_GUI" = "yes"; then
49118 STD_GUI_LIBS="adv core"
49119 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49120
49121 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49122 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49123 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49124 fi
49125 if test "$wxUSE_ODBC" != "no" ; then
49126 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49127 fi
49128 if test "$wxUSE_HTML" = "yes" ; then
49129 STD_GUI_LIBS="html $STD_GUI_LIBS"
49130 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49131 fi
49132 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49133 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49134 fi
49135 if test "$wxUSE_OPENGL" = "yes" ; then
49136 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49137 fi
49138 if test "$wxUSE_AUI" = "yes" ; then
49139 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49140 fi
49141 if test "$wxUSE_STC" = "yes" ; then
49142 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49143 fi
49144 if test "$wxUSE_XRC" = "yes" ; then
49145 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49146 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49147 fi
49148 fi
49149
49150
49151
49152
49153
49154
49155
49156
49157 if test "$wxUSE_MAC" = 1 ; then
49158 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49159 if test "$USE_DARWIN" = 1; then
49160 LDFLAGS="$LDFLAGS -framework QuickTime"
49161 else
49162 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49163 fi
49164 fi
49165 if test "$USE_DARWIN" = 1; then
49166 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49167 else
49168 LDFLAGS="$LDFLAGS -lCarbonLib"
49169 fi
49170 fi
49171 if test "$wxUSE_COCOA" = 1 ; then
49172 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49173 if test "$wxUSE_MEDIACTRL" = "yes"; then
49174 LDFLAGS="$LDFLAGS -framework QuickTime"
49175 fi
49176 fi
49177 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49178 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49179 fi
49180
49181 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49182
49183 if test "$wxUSE_GUI" = "yes"; then
49184
49185
49186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49187 dynamic erase event exec font image minimal mobile \
49188 mobile/wxedit mobile/styles propsize render \
49189 rotate shaped svg taborder vscroll widgets"
49190
49191 if test "$wxUSE_MONOLITHIC" != "yes"; then
49192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49193 fi
49194 if test "$TOOLKIT" = "MSW"; then
49195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49196 if test "$wxUSE_UNIVERSAL" != "yes"; then
49197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49198 fi
49199 fi
49200 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49202 fi
49203 else
49204 SAMPLES_SUBDIRS="console"
49205 fi
49206
49207
49208 if test "x$INTELCC" = "xyes" ; then
49209 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49210 elif test "$GCC" = yes ; then
49211 CWARNINGS="-Wall -Wundef"
49212 fi
49213
49214 if test "x$INTELCXX" = "xyes" ; then
49215 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49216 elif test "$GXX" = yes ; then
49217 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49218 fi
49219
49220
49221 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49222 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49223
49224
49225 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49226 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49227 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49228 $CPPFLAGS `
49229
49230 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49231 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49232 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49233
49234 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49235
49236
49237 if test "x$MWCC" = "xyes"; then
49238
49239 CC="$CC -cwd source -I-"
49240 CXX="$CXX -cwd source -I-"
49241 fi
49242
49243
49244 LIBS=`echo $LIBS`
49245 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49246 EXTRALIBS_XML="$EXPAT_LINK"
49247 EXTRALIBS_HTML="$MSPACK_LINK"
49248 EXTRALIBS_ODBC="$ODBC_LINK"
49249 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49250 if test "$wxUSE_GUI" = "yes"; then
49251 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49252 fi
49253 if test "$wxUSE_OPENGL" = "yes"; then
49254 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49255 fi
49256
49257 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49258
49259 WXCONFIG_LIBS="$LIBS"
49260
49261 if test "$wxUSE_REGEX" = "builtin" ; then
49262 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49263 fi
49264 if test "$wxUSE_EXPAT" = "builtin" ; then
49265 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49266 fi
49267 if test "$wxUSE_ODBC" = "builtin" ; then
49268 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49269 fi
49270 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49271 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49272 fi
49273 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49274 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49275 fi
49276 if test "$wxUSE_LIBPNG" = "builtin" ; then
49277 wxconfig_3rdparty="png $wxconfig_3rdparty"
49278 fi
49279 if test "$wxUSE_ZLIB" = "builtin" ; then
49280 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49281 fi
49282
49283 for i in $wxconfig_3rdparty ; do
49284 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49285 done
49286
49287
49288 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49289 WXUNIV=1
49290
49291 case "$wxUNIV_THEMES" in
49292 ''|all)
49293 cat >>confdefs.h <<\_ACEOF
49294 #define wxUSE_ALL_THEMES 1
49295 _ACEOF
49296
49297 ;;
49298
49299 *)
49300 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49301 cat >>confdefs.h <<_ACEOF
49302 #define wxUSE_THEME_$t 1
49303 _ACEOF
49304
49305 done
49306 esac
49307 else
49308 WXUNIV=0
49309 fi
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319 if test $wxUSE_MONOLITHIC = "yes" ; then
49320 MONOLITHIC=1
49321 else
49322 MONOLITHIC=0
49323 fi
49324
49325 if test $wxUSE_PLUGINS = "yes" ; then
49326 USE_PLUGINS=1
49327 else
49328 USE_PLUGINS=0
49329 fi
49330
49331 if test $wxUSE_ODBC != "no" ; then
49332 USE_ODBC=1
49333 else
49334 USE_ODBC=0
49335 fi
49336
49337 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49338 USE_QA=1
49339 else
49340 USE_QA=0
49341 fi
49342
49343 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49344 OFFICIAL_BUILD=1
49345 else
49346 OFFICIAL_BUILD=0
49347 fi
49348
49349
49350
49351
49352
49353
49354
49355
49356
49357
49358
49359
49360
49361
49362
49363
49364
49365
49366
49367
49368
49369
49370
49371
49372
49373
49374 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49375
49376
49377
49378
49379
49380
49381
49382
49383 case "$TOOLKIT" in
49384 GTK)
49385 TOOLKIT_DESC="GTK+"
49386 if test "$WXGTK20" = 1; then
49387 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49388 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49389 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49390 fi
49391 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49392 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49393 fi
49394 if test "$wxUSE_LIBHILDON" = "yes"; then
49395 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49396 fi
49397
49398 if test "$TOOLKIT_EXTRA" != ""; then
49399 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49400 fi
49401 fi
49402 ;;
49403
49404 ?*)
49405 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49406 ;;
49407
49408 *)
49409 TOOLKIT_DESC="base only"
49410 ;;
49411 esac
49412
49413 if test "$wxUSE_WINE" = "yes"; then
49414 BAKEFILE_FORCE_PLATFORM=win32
49415 fi
49416
49417 if test "$wxUSE_MAC" = 1 ; then
49418 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49419 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49420 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49421 else
49422 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49423 fi
49424 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49425 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49426 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49427 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49428 bk_use_pch=no
49429 fi
49430 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49431 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49432 fi
49433
49434 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49435 then
49436 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49437 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49438 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49439 echo $ECHO_N "(cached) $ECHO_C" >&6
49440 else
49441
49442 echo '#include <stdio.h>
49443 const wchar_t test_var[] = L"awidetest";' > conftest.h
49444
49445 echo '#include "conftest.h"
49446 int main()
49447 {
49448 printf("%ls", test_var);
49449 return 0;
49450 }' > conftest.cpp
49451
49452 wx_cv_gcc_pch_bug="pch not supported"
49453
49454 if $CXX conftest.h >/dev/null 2>&1
49455 then
49456 wx_cv_gcc_pch_bug=
49457
49458 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49459 then
49460 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49461 grep awidetest >/dev/null
49462 then
49463 wx_cv_gcc_pch_bug=no
49464 else
49465 wx_cv_gcc_pch_bug=yes
49466 fi
49467 fi
49468 fi
49469
49470 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49471
49472 fi
49473 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49474 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49475
49476 if test "$wx_cv_gcc_pch_bug" = yes; then
49477 bk_use_pch=no
49478 fi
49479 fi
49480
49481
49482
49483
49484 if test "x$BAKEFILE_HOST" = "x"; then
49485 if test "x${host}" = "x" ; then
49486 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49487 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49488 { (exit 1); exit 1; }; }
49489 fi
49490
49491 BAKEFILE_HOST="${host}"
49492 fi
49493
49494 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49495
49496 if test -n "$ac_tool_prefix"; then
49497 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49498 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49501 if test "${ac_cv_prog_RANLIB+set}" = set; then
49502 echo $ECHO_N "(cached) $ECHO_C" >&6
49503 else
49504 if test -n "$RANLIB"; then
49505 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49506 else
49507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49508 for as_dir in $PATH
49509 do
49510 IFS=$as_save_IFS
49511 test -z "$as_dir" && as_dir=.
49512 for ac_exec_ext in '' $ac_executable_extensions; do
49513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49514 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49516 break 2
49517 fi
49518 done
49519 done
49520 IFS=$as_save_IFS
49521
49522 fi
49523 fi
49524 RANLIB=$ac_cv_prog_RANLIB
49525 if test -n "$RANLIB"; then
49526 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49527 echo "${ECHO_T}$RANLIB" >&6; }
49528 else
49529 { echo "$as_me:$LINENO: result: no" >&5
49530 echo "${ECHO_T}no" >&6; }
49531 fi
49532
49533
49534 fi
49535 if test -z "$ac_cv_prog_RANLIB"; then
49536 ac_ct_RANLIB=$RANLIB
49537 # Extract the first word of "ranlib", so it can be a program name with args.
49538 set dummy ranlib; ac_word=$2
49539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49541 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49542 echo $ECHO_N "(cached) $ECHO_C" >&6
49543 else
49544 if test -n "$ac_ct_RANLIB"; then
49545 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49546 else
49547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49548 for as_dir in $PATH
49549 do
49550 IFS=$as_save_IFS
49551 test -z "$as_dir" && as_dir=.
49552 for ac_exec_ext in '' $ac_executable_extensions; do
49553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49554 ac_cv_prog_ac_ct_RANLIB="ranlib"
49555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49556 break 2
49557 fi
49558 done
49559 done
49560 IFS=$as_save_IFS
49561
49562 fi
49563 fi
49564 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49565 if test -n "$ac_ct_RANLIB"; then
49566 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49567 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49568 else
49569 { echo "$as_me:$LINENO: result: no" >&5
49570 echo "${ECHO_T}no" >&6; }
49571 fi
49572
49573 if test "x$ac_ct_RANLIB" = x; then
49574 RANLIB=":"
49575 else
49576 case $cross_compiling:$ac_tool_warned in
49577 yes:)
49578 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49579 whose name does not start with the host triplet. If you think this
49580 configuration is useful to you, please write to autoconf@gnu.org." >&5
49581 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49582 whose name does not start with the host triplet. If you think this
49583 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49584 ac_tool_warned=yes ;;
49585 esac
49586 RANLIB=$ac_ct_RANLIB
49587 fi
49588 else
49589 RANLIB="$ac_cv_prog_RANLIB"
49590 fi
49591
49592 # Find a good install program. We prefer a C program (faster),
49593 # so one script is as good as another. But avoid the broken or
49594 # incompatible versions:
49595 # SysV /etc/install, /usr/sbin/install
49596 # SunOS /usr/etc/install
49597 # IRIX /sbin/install
49598 # AIX /bin/install
49599 # AmigaOS /C/install, which installs bootblocks on floppy discs
49600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49603 # OS/2's system install, which has a completely different semantic
49604 # ./install, which can be erroneously created by make from ./install.sh.
49605 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49606 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49607 if test -z "$INSTALL"; then
49608 if test "${ac_cv_path_install+set}" = set; then
49609 echo $ECHO_N "(cached) $ECHO_C" >&6
49610 else
49611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49612 for as_dir in $PATH
49613 do
49614 IFS=$as_save_IFS
49615 test -z "$as_dir" && as_dir=.
49616 # Account for people who put trailing slashes in PATH elements.
49617 case $as_dir/ in
49618 ./ | .// | /cC/* | \
49619 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49620 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49621 /usr/ucb/* ) ;;
49622 *)
49623 # OSF1 and SCO ODT 3.0 have their own names for install.
49624 # Don't use installbsd from OSF since it installs stuff as root
49625 # by default.
49626 for ac_prog in ginstall scoinst install; do
49627 for ac_exec_ext in '' $ac_executable_extensions; do
49628 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49629 if test $ac_prog = install &&
49630 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49631 # AIX install. It has an incompatible calling convention.
49632 :
49633 elif test $ac_prog = install &&
49634 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49635 # program-specific install script used by HP pwplus--don't use.
49636 :
49637 else
49638 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49639 break 3
49640 fi
49641 fi
49642 done
49643 done
49644 ;;
49645 esac
49646 done
49647 IFS=$as_save_IFS
49648
49649
49650 fi
49651 if test "${ac_cv_path_install+set}" = set; then
49652 INSTALL=$ac_cv_path_install
49653 else
49654 # As a last resort, use the slow shell script. Don't cache a
49655 # value for INSTALL within a source directory, because that will
49656 # break other packages using the cache if that directory is
49657 # removed, or if the value is a relative name.
49658 INSTALL=$ac_install_sh
49659 fi
49660 fi
49661 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49662 echo "${ECHO_T}$INSTALL" >&6; }
49663
49664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49665 # It thinks the first close brace ends the variable substitution.
49666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49667
49668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49669
49670 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49671
49672 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49673 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49674 LN_S=$as_ln_s
49675 if test "$LN_S" = "ln -s"; then
49676 { echo "$as_me:$LINENO: result: yes" >&5
49677 echo "${ECHO_T}yes" >&6; }
49678 else
49679 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49680 echo "${ECHO_T}no, using $LN_S" >&6; }
49681 fi
49682
49683
49684 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49685 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49686 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49687 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49688 echo $ECHO_N "(cached) $ECHO_C" >&6
49689 else
49690 cat >conftest.make <<\_ACEOF
49691 SHELL = /bin/sh
49692 all:
49693 @echo '@@@%%%=$(MAKE)=@@@%%%'
49694 _ACEOF
49695 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49696 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49697 *@@@%%%=?*=@@@%%%*)
49698 eval ac_cv_prog_make_${ac_make}_set=yes;;
49699 *)
49700 eval ac_cv_prog_make_${ac_make}_set=no;;
49701 esac
49702 rm -f conftest.make
49703 fi
49704 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49705 { echo "$as_me:$LINENO: result: yes" >&5
49706 echo "${ECHO_T}yes" >&6; }
49707 SET_MAKE=
49708 else
49709 { echo "$as_me:$LINENO: result: no" >&5
49710 echo "${ECHO_T}no" >&6; }
49711 SET_MAKE="MAKE=${MAKE-make}"
49712 fi
49713
49714
49715
49716 if test "x$SUNCXX" = "xyes"; then
49717 AR=$CXX
49718 AROPTIONS="-xar -o"
49719
49720 elif test "x$SGICC" = "xyes"; then
49721 AR=$CXX
49722 AROPTIONS="-ar -o"
49723
49724 else
49725 if test -n "$ac_tool_prefix"; then
49726 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49727 set dummy ${ac_tool_prefix}ar; ac_word=$2
49728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49730 if test "${ac_cv_prog_AR+set}" = set; then
49731 echo $ECHO_N "(cached) $ECHO_C" >&6
49732 else
49733 if test -n "$AR"; then
49734 ac_cv_prog_AR="$AR" # Let the user override the test.
49735 else
49736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49737 for as_dir in $PATH
49738 do
49739 IFS=$as_save_IFS
49740 test -z "$as_dir" && as_dir=.
49741 for ac_exec_ext in '' $ac_executable_extensions; do
49742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49743 ac_cv_prog_AR="${ac_tool_prefix}ar"
49744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49745 break 2
49746 fi
49747 done
49748 done
49749 IFS=$as_save_IFS
49750
49751 fi
49752 fi
49753 AR=$ac_cv_prog_AR
49754 if test -n "$AR"; then
49755 { echo "$as_me:$LINENO: result: $AR" >&5
49756 echo "${ECHO_T}$AR" >&6; }
49757 else
49758 { echo "$as_me:$LINENO: result: no" >&5
49759 echo "${ECHO_T}no" >&6; }
49760 fi
49761
49762
49763 fi
49764 if test -z "$ac_cv_prog_AR"; then
49765 ac_ct_AR=$AR
49766 # Extract the first word of "ar", so it can be a program name with args.
49767 set dummy ar; ac_word=$2
49768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49770 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49771 echo $ECHO_N "(cached) $ECHO_C" >&6
49772 else
49773 if test -n "$ac_ct_AR"; then
49774 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49775 else
49776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49777 for as_dir in $PATH
49778 do
49779 IFS=$as_save_IFS
49780 test -z "$as_dir" && as_dir=.
49781 for ac_exec_ext in '' $ac_executable_extensions; do
49782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49783 ac_cv_prog_ac_ct_AR="ar"
49784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49785 break 2
49786 fi
49787 done
49788 done
49789 IFS=$as_save_IFS
49790
49791 fi
49792 fi
49793 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49794 if test -n "$ac_ct_AR"; then
49795 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49796 echo "${ECHO_T}$ac_ct_AR" >&6; }
49797 else
49798 { echo "$as_me:$LINENO: result: no" >&5
49799 echo "${ECHO_T}no" >&6; }
49800 fi
49801
49802 if test "x$ac_ct_AR" = x; then
49803 AR="ar"
49804 else
49805 case $cross_compiling:$ac_tool_warned in
49806 yes:)
49807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49808 whose name does not start with the host triplet. If you think this
49809 configuration is useful to you, please write to autoconf@gnu.org." >&5
49810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49811 whose name does not start with the host triplet. If you think this
49812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49813 ac_tool_warned=yes ;;
49814 esac
49815 AR=$ac_ct_AR
49816 fi
49817 else
49818 AR="$ac_cv_prog_AR"
49819 fi
49820
49821 AROPTIONS=rcu
49822 fi
49823
49824
49825 if test -n "$ac_tool_prefix"; then
49826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49827 set dummy ${ac_tool_prefix}strip; ac_word=$2
49828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49830 if test "${ac_cv_prog_STRIP+set}" = set; then
49831 echo $ECHO_N "(cached) $ECHO_C" >&6
49832 else
49833 if test -n "$STRIP"; then
49834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49835 else
49836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49837 for as_dir in $PATH
49838 do
49839 IFS=$as_save_IFS
49840 test -z "$as_dir" && as_dir=.
49841 for ac_exec_ext in '' $ac_executable_extensions; do
49842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49843 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49845 break 2
49846 fi
49847 done
49848 done
49849 IFS=$as_save_IFS
49850
49851 fi
49852 fi
49853 STRIP=$ac_cv_prog_STRIP
49854 if test -n "$STRIP"; then
49855 { echo "$as_me:$LINENO: result: $STRIP" >&5
49856 echo "${ECHO_T}$STRIP" >&6; }
49857 else
49858 { echo "$as_me:$LINENO: result: no" >&5
49859 echo "${ECHO_T}no" >&6; }
49860 fi
49861
49862
49863 fi
49864 if test -z "$ac_cv_prog_STRIP"; then
49865 ac_ct_STRIP=$STRIP
49866 # Extract the first word of "strip", so it can be a program name with args.
49867 set dummy strip; ac_word=$2
49868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49870 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49871 echo $ECHO_N "(cached) $ECHO_C" >&6
49872 else
49873 if test -n "$ac_ct_STRIP"; then
49874 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49875 else
49876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49877 for as_dir in $PATH
49878 do
49879 IFS=$as_save_IFS
49880 test -z "$as_dir" && as_dir=.
49881 for ac_exec_ext in '' $ac_executable_extensions; do
49882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49883 ac_cv_prog_ac_ct_STRIP="strip"
49884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49885 break 2
49886 fi
49887 done
49888 done
49889 IFS=$as_save_IFS
49890
49891 fi
49892 fi
49893 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49894 if test -n "$ac_ct_STRIP"; then
49895 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49896 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49897 else
49898 { echo "$as_me:$LINENO: result: no" >&5
49899 echo "${ECHO_T}no" >&6; }
49900 fi
49901
49902 if test "x$ac_ct_STRIP" = x; then
49903 STRIP=":"
49904 else
49905 case $cross_compiling:$ac_tool_warned in
49906 yes:)
49907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49908 whose name does not start with the host triplet. If you think this
49909 configuration is useful to you, please write to autoconf@gnu.org." >&5
49910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49911 whose name does not start with the host triplet. If you think this
49912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49913 ac_tool_warned=yes ;;
49914 esac
49915 STRIP=$ac_ct_STRIP
49916 fi
49917 else
49918 STRIP="$ac_cv_prog_STRIP"
49919 fi
49920
49921 if test -n "$ac_tool_prefix"; then
49922 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49923 set dummy ${ac_tool_prefix}nm; ac_word=$2
49924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49926 if test "${ac_cv_prog_NM+set}" = set; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49928 else
49929 if test -n "$NM"; then
49930 ac_cv_prog_NM="$NM" # Let the user override the test.
49931 else
49932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49933 for as_dir in $PATH
49934 do
49935 IFS=$as_save_IFS
49936 test -z "$as_dir" && as_dir=.
49937 for ac_exec_ext in '' $ac_executable_extensions; do
49938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49939 ac_cv_prog_NM="${ac_tool_prefix}nm"
49940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49941 break 2
49942 fi
49943 done
49944 done
49945 IFS=$as_save_IFS
49946
49947 fi
49948 fi
49949 NM=$ac_cv_prog_NM
49950 if test -n "$NM"; then
49951 { echo "$as_me:$LINENO: result: $NM" >&5
49952 echo "${ECHO_T}$NM" >&6; }
49953 else
49954 { echo "$as_me:$LINENO: result: no" >&5
49955 echo "${ECHO_T}no" >&6; }
49956 fi
49957
49958
49959 fi
49960 if test -z "$ac_cv_prog_NM"; then
49961 ac_ct_NM=$NM
49962 # Extract the first word of "nm", so it can be a program name with args.
49963 set dummy nm; ac_word=$2
49964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49966 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49967 echo $ECHO_N "(cached) $ECHO_C" >&6
49968 else
49969 if test -n "$ac_ct_NM"; then
49970 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49971 else
49972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49973 for as_dir in $PATH
49974 do
49975 IFS=$as_save_IFS
49976 test -z "$as_dir" && as_dir=.
49977 for ac_exec_ext in '' $ac_executable_extensions; do
49978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49979 ac_cv_prog_ac_ct_NM="nm"
49980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49981 break 2
49982 fi
49983 done
49984 done
49985 IFS=$as_save_IFS
49986
49987 fi
49988 fi
49989 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49990 if test -n "$ac_ct_NM"; then
49991 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49992 echo "${ECHO_T}$ac_ct_NM" >&6; }
49993 else
49994 { echo "$as_me:$LINENO: result: no" >&5
49995 echo "${ECHO_T}no" >&6; }
49996 fi
49997
49998 if test "x$ac_ct_NM" = x; then
49999 NM=":"
50000 else
50001 case $cross_compiling:$ac_tool_warned in
50002 yes:)
50003 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50004 whose name does not start with the host triplet. If you think this
50005 configuration is useful to you, please write to autoconf@gnu.org." >&5
50006 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50007 whose name does not start with the host triplet. If you think this
50008 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50009 ac_tool_warned=yes ;;
50010 esac
50011 NM=$ac_ct_NM
50012 fi
50013 else
50014 NM="$ac_cv_prog_NM"
50015 fi
50016
50017
50018 case ${BAKEFILE_HOST} in
50019 *-hp-hpux* )
50020 INSTALL_DIR="mkdir -p"
50021 ;;
50022 * )
50023 INSTALL_DIR='$(INSTALL) -d'
50024 ;;
50025 esac
50026
50027
50028 LDFLAGS_GUI=
50029 case ${BAKEFILE_HOST} in
50030 *-*-cygwin* | *-*-mingw32* )
50031 LDFLAGS_GUI="-mwindows"
50032 esac
50033
50034
50035 fi
50036
50037 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50038 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50039 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50040 echo $ECHO_N "(cached) $ECHO_C" >&6
50041 else
50042
50043 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50044 egrep -s GNU > /dev/null); then
50045 bakefile_cv_prog_makeisgnu="yes"
50046 else
50047 bakefile_cv_prog_makeisgnu="no"
50048 fi
50049
50050 fi
50051 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50052 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50053
50054 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50055 IF_GNU_MAKE=""
50056 else
50057 IF_GNU_MAKE="#"
50058 fi
50059
50060
50061
50062 PLATFORM_UNIX=0
50063 PLATFORM_WIN32=0
50064 PLATFORM_MSDOS=0
50065 PLATFORM_MAC=0
50066 PLATFORM_MACOS=0
50067 PLATFORM_MACOSX=0
50068 PLATFORM_OS2=0
50069 PLATFORM_BEOS=0
50070
50071 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50072 case "${BAKEFILE_HOST}" in
50073 *-*-mingw32* )
50074 PLATFORM_WIN32=1
50075 ;;
50076 *-pc-msdosdjgpp )
50077 PLATFORM_MSDOS=1
50078 ;;
50079 *-pc-os2_emx | *-pc-os2-emx )
50080 PLATFORM_OS2=1
50081 ;;
50082 *-*-darwin* )
50083 PLATFORM_MAC=1
50084 PLATFORM_MACOSX=1
50085 ;;
50086 *-*-beos* )
50087 PLATFORM_BEOS=1
50088 ;;
50089 powerpc-apple-macos* )
50090 PLATFORM_MAC=1
50091 PLATFORM_MACOS=1
50092 ;;
50093 * )
50094 PLATFORM_UNIX=1
50095 ;;
50096 esac
50097 else
50098 case "$BAKEFILE_FORCE_PLATFORM" in
50099 win32 )
50100 PLATFORM_WIN32=1
50101 ;;
50102 msdos )
50103 PLATFORM_MSDOS=1
50104 ;;
50105 os2 )
50106 PLATFORM_OS2=1
50107 ;;
50108 darwin )
50109 PLATFORM_MAC=1
50110 PLATFORM_MACOSX=1
50111 ;;
50112 unix )
50113 PLATFORM_UNIX=1
50114 ;;
50115 beos )
50116 PLATFORM_BEOS=1
50117 ;;
50118 * )
50119 ;;
50120 esac
50121 fi
50122
50123
50124
50125
50126
50127
50128
50129
50130
50131
50132
50133 # Check whether --enable-omf was given.
50134 if test "${enable_omf+set}" = set; then
50135 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50136 fi
50137
50138
50139 case "${BAKEFILE_HOST}" in
50140 *-*-darwin* )
50141 if test "x$GCC" = "xyes"; then
50142 CFLAGS="$CFLAGS -fno-common"
50143 CXXFLAGS="$CXXFLAGS -fno-common"
50144 fi
50145 if test "x$XLCC" = "xyes"; then
50146 CFLAGS="$CFLAGS -qnocommon"
50147 CXXFLAGS="$CXXFLAGS -qnocommon"
50148 fi
50149 ;;
50150
50151 *-pc-os2_emx | *-pc-os2-emx )
50152 if test "x$bk_os2_use_omf" = "xyes" ; then
50153 AR=emxomfar
50154 RANLIB=:
50155 LDFLAGS="-Zomf $LDFLAGS"
50156 CFLAGS="-Zomf $CFLAGS"
50157 CXXFLAGS="-Zomf $CXXFLAGS"
50158 OS2_LIBEXT="lib"
50159 else
50160 OS2_LIBEXT="a"
50161 fi
50162 ;;
50163
50164 i*86-*-beos* )
50165 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50166 ;;
50167 esac
50168
50169
50170 SO_SUFFIX="so"
50171 SO_SUFFIX_MODULE="so"
50172 EXEEXT=""
50173 LIBPREFIX="lib"
50174 LIBEXT=".a"
50175 DLLPREFIX="lib"
50176 DLLPREFIX_MODULE=""
50177 DLLIMP_SUFFIX=""
50178 dlldir="$libdir"
50179
50180 case "${BAKEFILE_HOST}" in
50181 *-hp-hpux* )
50182 SO_SUFFIX="sl"
50183 SO_SUFFIX_MODULE="sl"
50184 ;;
50185 *-*-aix* )
50186 SO_SUFFIX="a"
50187 SO_SUFFIX_MODULE="a"
50188 ;;
50189 *-*-cygwin* )
50190 SO_SUFFIX="dll"
50191 SO_SUFFIX_MODULE="dll"
50192 DLLIMP_SUFFIX="dll.a"
50193 EXEEXT=".exe"
50194 DLLPREFIX="cyg"
50195 dlldir="$bindir"
50196 ;;
50197 *-*-mingw32* )
50198 SO_SUFFIX="dll"
50199 SO_SUFFIX_MODULE="dll"
50200 DLLIMP_SUFFIX="dll.a"
50201 EXEEXT=".exe"
50202 DLLPREFIX=""
50203 dlldir="$bindir"
50204 ;;
50205 *-pc-msdosdjgpp )
50206 EXEEXT=".exe"
50207 DLLPREFIX=""
50208 dlldir="$bindir"
50209 ;;
50210 *-pc-os2_emx | *-pc-os2-emx )
50211 SO_SUFFIX="dll"
50212 SO_SUFFIX_MODULE="dll"
50213 DLLIMP_SUFFIX=$OS2_LIBEXT
50214 EXEEXT=".exe"
50215 DLLPREFIX=""
50216 LIBPREFIX=""
50217 LIBEXT=".$OS2_LIBEXT"
50218 dlldir="$bindir"
50219 ;;
50220 *-*-darwin* )
50221 SO_SUFFIX="dylib"
50222 SO_SUFFIX_MODULE="bundle"
50223 ;;
50224 esac
50225
50226 if test "x$DLLIMP_SUFFIX" = "x" ; then
50227 DLLIMP_SUFFIX="$SO_SUFFIX"
50228 fi
50229
50230
50231
50232
50233
50234
50235
50236
50237
50238
50239
50240
50241 PIC_FLAG=""
50242 if test "x$GCC" = "xyes"; then
50243 PIC_FLAG="-fPIC"
50244 fi
50245
50246 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50247 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50248 WINDOWS_IMPLIB=0
50249
50250 case "${BAKEFILE_HOST}" in
50251 *-hp-hpux* )
50252 if test "x$GCC" != "xyes"; then
50253 LDFLAGS="$LDFLAGS -L/usr/lib"
50254
50255 SHARED_LD_CC="${CC} -b -o"
50256 SHARED_LD_CXX="${CXX} -b -o"
50257 PIC_FLAG="+Z"
50258 fi
50259 ;;
50260
50261 *-*-linux* )
50262 if test "$INTELCC" = "yes"; then
50263 PIC_FLAG="-KPIC"
50264 elif test "x$SUNCXX" = "xyes"; then
50265 SHARED_LD_CC="${CC} -G -o"
50266 SHARED_LD_CXX="${CXX} -G -o"
50267 PIC_FLAG="-KPIC"
50268 fi
50269 ;;
50270
50271 *-*-solaris2* )
50272 if test "x$SUNCXX" = xyes ; then
50273 SHARED_LD_CC="${CC} -G -o"
50274 SHARED_LD_CXX="${CXX} -G -o"
50275 PIC_FLAG="-KPIC"
50276 fi
50277 ;;
50278
50279 *-*-darwin* )
50280
50281 D='$'
50282 cat <<EOF >shared-ld-sh
50283 #!/bin/sh
50284 #-----------------------------------------------------------------------------
50285 #-- Name: distrib/mac/shared-ld-sh
50286 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50287 #-- Author: Gilles Depeyrot
50288 #-- Copyright: (c) 2002 Gilles Depeyrot
50289 #-- Licence: any use permitted
50290 #-----------------------------------------------------------------------------
50291
50292 verbose=0
50293 args=""
50294 objects=""
50295 linking_flag="-dynamiclib"
50296 ldargs="-r -keep_private_externs -nostdlib"
50297
50298 while test ${D}# -gt 0; do
50299 case ${D}1 in
50300
50301 -v)
50302 verbose=1
50303 ;;
50304
50305 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50306 # collect these options and values
50307 args="${D}{args} ${D}1 ${D}2"
50308 shift
50309 ;;
50310
50311 -s|-Wl,*)
50312 # collect these load args
50313 ldargs="${D}{ldargs} ${D}1"
50314 ;;
50315
50316 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50317 # collect these options
50318 args="${D}{args} ${D}1"
50319 ;;
50320
50321 -dynamiclib|-bundle)
50322 linking_flag="${D}1"
50323 ;;
50324
50325 -*)
50326 echo "shared-ld: unhandled option '${D}1'"
50327 exit 1
50328 ;;
50329
50330 *.o | *.a | *.dylib)
50331 # collect object files
50332 objects="${D}{objects} ${D}1"
50333 ;;
50334
50335 *)
50336 echo "shared-ld: unhandled argument '${D}1'"
50337 exit 1
50338 ;;
50339
50340 esac
50341 shift
50342 done
50343
50344 status=0
50345
50346 #
50347 # Link one module containing all the others
50348 #
50349 if test ${D}{verbose} = 1; then
50350 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50351 fi
50352 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50353 status=${D}?
50354
50355 #
50356 # Link the shared library from the single module created, but only if the
50357 # previous command didn't fail:
50358 #
50359 if test ${D}{status} = 0; then
50360 if test ${D}{verbose} = 1; then
50361 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50362 fi
50363 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50364 status=${D}?
50365 fi
50366
50367 #
50368 # Remove intermediate module
50369 #
50370 rm -f master.${D}${D}.o
50371
50372 exit ${D}status
50373 EOF
50374
50375 chmod +x shared-ld-sh
50376
50377 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50378 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50379
50380
50381 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50382 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50383 if test "${bakefile_cv_gcc31+set}" = set; then
50384 echo $ECHO_N "(cached) $ECHO_C" >&6
50385 else
50386
50387 cat >conftest.$ac_ext <<_ACEOF
50388 /* confdefs.h. */
50389 _ACEOF
50390 cat confdefs.h >>conftest.$ac_ext
50391 cat >>conftest.$ac_ext <<_ACEOF
50392 /* end confdefs.h. */
50393
50394 int
50395 main ()
50396 {
50397
50398 #if (__GNUC__ < 3) || \
50399 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50400 This is old gcc
50401 #endif
50402
50403 ;
50404 return 0;
50405 }
50406 _ACEOF
50407 rm -f conftest.$ac_objext
50408 if { (ac_try="$ac_compile"
50409 case "(($ac_try" in
50410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50411 *) ac_try_echo=$ac_try;;
50412 esac
50413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50414 (eval "$ac_compile") 2>conftest.er1
50415 ac_status=$?
50416 grep -v '^ *+' conftest.er1 >conftest.err
50417 rm -f conftest.er1
50418 cat conftest.err >&5
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); } && {
50421 test -z "$ac_c_werror_flag" ||
50422 test ! -s conftest.err
50423 } && test -s conftest.$ac_objext; then
50424
50425 bakefile_cv_gcc31=yes
50426
50427 else
50428 echo "$as_me: failed program was:" >&5
50429 sed 's/^/| /' conftest.$ac_ext >&5
50430
50431
50432 bakefile_cv_gcc31=no
50433
50434
50435 fi
50436
50437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50438
50439 fi
50440 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50441 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50442 if test "$bakefile_cv_gcc31" = "no"; then
50443 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50444 SHARED_LD_CXX="$SHARED_LD_CC"
50445 else
50446 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50447 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50448 fi
50449
50450 if test "x$GCC" == "xyes"; then
50451 PIC_FLAG="-dynamic -fPIC"
50452 fi
50453 if test "x$XLCC" = "xyes"; then
50454 PIC_FLAG="-dynamic -DPIC"
50455 fi
50456 ;;
50457
50458 *-*-aix* )
50459 if test "x$GCC" = "xyes"; then
50460 PIC_FLAG=""
50461
50462 case "${BAKEFILE_HOST}" in
50463 *-*-aix5* )
50464 LD_EXPFULL="-Wl,-bexpfull"
50465 ;;
50466 esac
50467
50468 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50469 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50470 else
50471 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50472 set dummy makeC++SharedLib; ac_word=$2
50473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50475 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50476 echo $ECHO_N "(cached) $ECHO_C" >&6
50477 else
50478 if test -n "$AIX_CXX_LD"; then
50479 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50480 else
50481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50482 for as_dir in $PATH
50483 do
50484 IFS=$as_save_IFS
50485 test -z "$as_dir" && as_dir=.
50486 for ac_exec_ext in '' $ac_executable_extensions; do
50487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50488 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50490 break 2
50491 fi
50492 done
50493 done
50494 IFS=$as_save_IFS
50495
50496 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50497 fi
50498 fi
50499 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50500 if test -n "$AIX_CXX_LD"; then
50501 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50502 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50503 else
50504 { echo "$as_me:$LINENO: result: no" >&5
50505 echo "${ECHO_T}no" >&6; }
50506 fi
50507
50508
50509 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50510 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50511 fi
50512 ;;
50513
50514 *-*-beos* )
50515 SHARED_LD_CC="${LD} -nostart -o"
50516 SHARED_LD_CXX="${LD} -nostart -o"
50517 ;;
50518
50519 *-*-irix* )
50520 if test "x$GCC" != "xyes"; then
50521 PIC_FLAG="-KPIC"
50522 fi
50523 ;;
50524
50525 *-*-cygwin* | *-*-mingw32* )
50526 PIC_FLAG=""
50527 SHARED_LD_CC="\$(CC) -shared -o"
50528 SHARED_LD_CXX="\$(CXX) -shared -o"
50529 WINDOWS_IMPLIB=1
50530 ;;
50531
50532 *-pc-os2_emx | *-pc-os2-emx )
50533 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50534 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50535 PIC_FLAG=""
50536
50537 D='$'
50538 cat <<EOF >dllar.sh
50539 #!/bin/sh
50540 #
50541 # dllar - a tool to build both a .dll and an .a file
50542 # from a set of object (.o) files for EMX/OS2.
50543 #
50544 # Written by Andrew Zabolotny, bit@freya.etu.ru
50545 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50546 #
50547 # This script will accept a set of files on the command line.
50548 # All the public symbols from the .o files will be exported into
50549 # a .DEF file, then linker will be run (through gcc) against them to
50550 # build a shared library consisting of all given .o files. All libraries
50551 # (.a) will be first decompressed into component .o files then act as
50552 # described above. You can optionally give a description (-d "description")
50553 # which will be put into .DLL. To see the list of accepted options (as well
50554 # as command-line format) simply run this program without options. The .DLL
50555 # is built to be imported by name (there is no guarantee that new versions
50556 # of the library you build will have same ordinals for same symbols).
50557 #
50558 # dllar is free software; you can redistribute it and/or modify
50559 # it under the terms of the GNU General Public License as published by
50560 # the Free Software Foundation; either version 2, or (at your option)
50561 # any later version.
50562 #
50563 # dllar is distributed in the hope that it will be useful,
50564 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50565 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50566 # GNU General Public License for more details.
50567 #
50568 # You should have received a copy of the GNU General Public License
50569 # along with dllar; see the file COPYING. If not, write to the Free
50570 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50571 # 02111-1307, USA.
50572
50573 # To successfuly run this program you will need:
50574 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50575 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50576 # - gcc
50577 # (used to build the .dll)
50578 # - emxexp
50579 # (used to create .def file from .o files)
50580 # - emximp
50581 # (used to create .a file from .def file)
50582 # - GNU text utilites (cat, sort, uniq)
50583 # used to process emxexp output
50584 # - GNU file utilities (mv, rm)
50585 # - GNU sed
50586 # - lxlite (optional, see flag below)
50587 # (used for general .dll cleanup)
50588 #
50589
50590 flag_USE_LXLITE=1;
50591
50592 #
50593 # helper functions
50594 # basnam, variant of basename, which does _not_ remove the path, _iff_
50595 # second argument (suffix to remove) is given
50596 basnam(){
50597 case ${D}# in
50598 1)
50599 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50600 ;;
50601 2)
50602 echo ${D}1 | sed 's/'${D}2'${D}//'
50603 ;;
50604 *)
50605 echo "error in basnam ${D}*"
50606 exit 8
50607 ;;
50608 esac
50609 }
50610
50611 # Cleanup temporary files and output
50612 CleanUp() {
50613 cd ${D}curDir
50614 for i in ${D}inputFiles ; do
50615 case ${D}i in
50616 *!)
50617 rm -rf \`basnam ${D}i !\`
50618 ;;
50619 *)
50620 ;;
50621 esac
50622 done
50623
50624 # Kill result in case of failure as there is just to many stupid make/nmake
50625 # things out there which doesn't do this.
50626 if [ ${D}# -eq 0 ]; then
50627 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50628 fi
50629 }
50630
50631 # Print usage and exit script with rc=1.
50632 PrintHelp() {
50633 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50634 echo ' [-name-mangler-script script.sh]'
50635 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50636 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50637 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50638 echo ' [*.o] [*.a]'
50639 echo '*> "output_file" should have no extension.'
50640 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50641 echo ' The import library name is derived from this and is set to "name".a,'
50642 echo ' unless overridden by -import'
50643 echo '*> "importlib_name" should have no extension.'
50644 echo ' If it has the .o, or .a extension, it is automatically removed.'
50645 echo ' This name is used as the import library name and may be longer and'
50646 echo ' more descriptive than the DLL name which has to follow the old '
50647 echo ' 8.3 convention of FAT.'
50648 echo '*> "script.sh may be given to override the output_file name by a'
50649 echo ' different name. It is mainly useful if the regular make process'
50650 echo ' of some package does not take into account OS/2 restriction of'
50651 echo ' DLL name lengths. It takes the importlib name as input and is'
50652 echo ' supposed to procude a shorter name as output. The script should'
50653 echo ' expect to get importlib_name without extension and should produce'
50654 echo ' a (max.) 8 letter name without extension.'
50655 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50656 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50657 echo ' These flags will be put at the start of GCC command line.'
50658 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50659 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50660 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50661 echo ' If the last character of a symbol is "*", all symbols beginning'
50662 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50663 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50664 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50665 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50666 echo ' C runtime DLLs.'
50667 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50668 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50669 echo ' unchanged to GCC at the end of command line.'
50670 echo '*> If you create a DLL from a library and you do not specify -o,'
50671 echo ' the basename for DLL and import library will be set to library name,'
50672 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50673 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50674 echo ' library will be renamed into gcc_s.a.'
50675 echo '--------'
50676 echo 'Example:'
50677 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50678 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50679 CleanUp
50680 exit 1
50681 }
50682
50683 # Execute a command.
50684 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50685 # @Uses Whatever CleanUp() uses.
50686 doCommand() {
50687 echo "${D}*"
50688 eval ${D}*
50689 rcCmd=${D}?
50690
50691 if [ ${D}rcCmd -ne 0 ]; then
50692 echo "command failed, exit code="${D}rcCmd
50693 CleanUp
50694 exit ${D}rcCmd
50695 fi
50696 }
50697
50698 # main routine
50699 # setup globals
50700 cmdLine=${D}*
50701 outFile=""
50702 outimpFile=""
50703 inputFiles=""
50704 renameScript=""
50705 description=""
50706 CC=gcc.exe
50707 CFLAGS="-s -Zcrtdll"
50708 EXTRA_CFLAGS=""
50709 EXPORT_BY_ORDINALS=0
50710 exclude_symbols=""
50711 library_flags=""
50712 curDir=\`pwd\`
50713 curDirS=curDir
50714 case ${D}curDirS in
50715 */)
50716 ;;
50717 *)
50718 curDirS=${D}{curDirS}"/"
50719 ;;
50720 esac
50721 # Parse commandline
50722 libsToLink=0
50723 omfLinking=0
50724 while [ ${D}1 ]; do
50725 case ${D}1 in
50726 -ord*)
50727 EXPORT_BY_ORDINALS=1;
50728 ;;
50729 -o*)
50730 shift
50731 outFile=${D}1
50732 ;;
50733 -i*)
50734 shift
50735 outimpFile=${D}1
50736 ;;
50737 -name-mangler-script)
50738 shift
50739 renameScript=${D}1
50740 ;;
50741 -d*)
50742 shift
50743 description=${D}1
50744 ;;
50745 -f*)
50746 shift
50747 CFLAGS=${D}1
50748 ;;
50749 -c*)
50750 shift
50751 CC=${D}1
50752 ;;
50753 -h*)
50754 PrintHelp
50755 ;;
50756 -ex*)
50757 shift
50758 exclude_symbols=${D}{exclude_symbols}${D}1" "
50759 ;;
50760 -libf*)
50761 shift
50762 library_flags=${D}{library_flags}${D}1" "
50763 ;;
50764 -nocrt*)
50765 CFLAGS="-s"
50766 ;;
50767 -nolxl*)
50768 flag_USE_LXLITE=0
50769 ;;
50770 -* | /*)
50771 case ${D}1 in
50772 -L* | -l*)
50773 libsToLink=1
50774 ;;
50775 -Zomf)
50776 omfLinking=1
50777 ;;
50778 *)
50779 ;;
50780 esac
50781 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50782 ;;
50783 *.dll)
50784 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50785 if [ ${D}omfLinking -eq 1 ]; then
50786 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50787 else
50788 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50789 fi
50790 ;;
50791 *)
50792 found=0;
50793 if [ ${D}libsToLink -ne 0 ]; then
50794 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50795 else
50796 for file in ${D}1 ; do
50797 if [ -f ${D}file ]; then
50798 inputFiles="${D}{inputFiles} ${D}file"
50799 found=1
50800 fi
50801 done
50802 if [ ${D}found -eq 0 ]; then
50803 echo "ERROR: No file(s) found: "${D}1
50804 exit 8
50805 fi
50806 fi
50807 ;;
50808 esac
50809 shift
50810 done # iterate cmdline words
50811
50812 #
50813 if [ -z "${D}inputFiles" ]; then
50814 echo "dllar: no input files"
50815 PrintHelp
50816 fi
50817
50818 # Now extract all .o files from .a files
50819 newInputFiles=""
50820 for file in ${D}inputFiles ; do
50821 case ${D}file in
50822 *.a | *.lib)
50823 case ${D}file in
50824 *.a)
50825 suffix=".a"
50826 AR="ar"
50827 ;;
50828 *.lib)
50829 suffix=".lib"
50830 AR="emxomfar"
50831 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50832 ;;
50833 *)
50834 ;;
50835 esac
50836 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50837 mkdir ${D}dirname
50838 if [ ${D}? -ne 0 ]; then
50839 echo "Failed to create subdirectory ./${D}dirname"
50840 CleanUp
50841 exit 8;
50842 fi
50843 # Append '!' to indicate archive
50844 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50845 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50846 cd ${D}curDir
50847 found=0;
50848 for subfile in ${D}dirname/*.o* ; do
50849 if [ -f ${D}subfile ]; then
50850 found=1
50851 if [ -s ${D}subfile ]; then
50852 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50853 newInputFiles="${D}newInputFiles ${D}subfile"
50854 fi
50855 fi
50856 done
50857 if [ ${D}found -eq 0 ]; then
50858 echo "WARNING: there are no files in archive \\'${D}file\\'"
50859 fi
50860 ;;
50861 *)
50862 newInputFiles="${D}{newInputFiles} ${D}file"
50863 ;;
50864 esac
50865 done
50866 inputFiles="${D}newInputFiles"
50867
50868 # Output filename(s).
50869 do_backup=0;
50870 if [ -z ${D}outFile ]; then
50871 do_backup=1;
50872 set outFile ${D}inputFiles; outFile=${D}2
50873 fi
50874
50875 # If it is an archive, remove the '!' and the '_%' suffixes
50876 case ${D}outFile in
50877 *_%!)
50878 outFile=\`basnam ${D}outFile _%!\`
50879 ;;
50880 *)
50881 ;;
50882 esac
50883 case ${D}outFile in
50884 *.dll)
50885 outFile=\`basnam ${D}outFile .dll\`
50886 ;;
50887 *.DLL)
50888 outFile=\`basnam ${D}outFile .DLL\`
50889 ;;
50890 *.o)
50891 outFile=\`basnam ${D}outFile .o\`
50892 ;;
50893 *.obj)
50894 outFile=\`basnam ${D}outFile .obj\`
50895 ;;
50896 *.a)
50897 outFile=\`basnam ${D}outFile .a\`
50898 ;;
50899 *.lib)
50900 outFile=\`basnam ${D}outFile .lib\`
50901 ;;
50902 *)
50903 ;;
50904 esac
50905 case ${D}outimpFile in
50906 *.a)
50907 outimpFile=\`basnam ${D}outimpFile .a\`
50908 ;;
50909 *.lib)
50910 outimpFile=\`basnam ${D}outimpFile .lib\`
50911 ;;
50912 *)
50913 ;;
50914 esac
50915 if [ -z ${D}outimpFile ]; then
50916 outimpFile=${D}outFile
50917 fi
50918 defFile="${D}{outFile}.def"
50919 arcFile="${D}{outimpFile}.a"
50920 arcFile2="${D}{outimpFile}.lib"
50921
50922 #create ${D}dllFile as something matching 8.3 restrictions,
50923 if [ -z ${D}renameScript ] ; then
50924 dllFile="${D}outFile"
50925 else
50926 dllFile=\`${D}renameScript ${D}outimpFile\`
50927 fi
50928
50929 if [ ${D}do_backup -ne 0 ] ; then
50930 if [ -f ${D}arcFile ] ; then
50931 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50932 fi
50933 if [ -f ${D}arcFile2 ] ; then
50934 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50935 fi
50936 fi
50937
50938 # Extract public symbols from all the object files.
50939 tmpdefFile=${D}{defFile}_%
50940 rm -f ${D}tmpdefFile
50941 for file in ${D}inputFiles ; do
50942 case ${D}file in
50943 *!)
50944 ;;
50945 *)
50946 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50947 ;;
50948 esac
50949 done
50950
50951 # Create the def file.
50952 rm -f ${D}defFile
50953 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50954 dllFile="${D}{dllFile}.dll"
50955 if [ ! -z ${D}description ]; then
50956 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50957 fi
50958 echo "EXPORTS" >> ${D}defFile
50959
50960 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50961 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50962
50963 # Checks if the export is ok or not.
50964 for word in ${D}exclude_symbols; do
50965 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50966 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50967 done
50968
50969
50970 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50971 sed "=" < ${D}tmpdefFile | \\
50972 sed '
50973 N
50974 : loop
50975 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50976 t loop
50977 ' > ${D}{tmpdefFile}%
50978 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50979 else
50980 rm -f ${D}{tmpdefFile}%
50981 fi
50982 cat ${D}tmpdefFile >> ${D}defFile
50983 rm -f ${D}tmpdefFile
50984
50985 # Do linking, create implib, and apply lxlite.
50986 gccCmdl="";
50987 for file in ${D}inputFiles ; do
50988 case ${D}file in
50989 *!)
50990 ;;
50991 *)
50992 gccCmdl="${D}gccCmdl ${D}file"
50993 ;;
50994 esac
50995 done
50996 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50997 touch "${D}{outFile}.dll"
50998
50999 doCommand "emximp -o ${D}arcFile ${D}defFile"
51000 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51001 add_flags="";
51002 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51003 add_flags="-ynd"
51004 fi
51005 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51006 fi
51007 doCommand "emxomf -s -l ${D}arcFile"
51008
51009 # Successful exit.
51010 CleanUp 1
51011 exit 0
51012 EOF
51013
51014 chmod +x dllar.sh
51015 ;;
51016
51017 powerpc-apple-macos* | \
51018 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51019 *-*-mirbsd* | \
51020 *-*-sunos4* | \
51021 *-*-osf* | \
51022 *-*-dgux5* | \
51023 *-*-sysv5* | \
51024 *-pc-msdosdjgpp )
51025 ;;
51026
51027 *)
51028 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51029 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51030 { (exit 1); exit 1; }; }
51031 esac
51032
51033 if test "x$PIC_FLAG" != "x" ; then
51034 PIC_FLAG="$PIC_FLAG -DPIC"
51035 fi
51036
51037 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51038 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51039 fi
51040 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51041 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51042 fi
51043
51044
51045
51046
51047
51048
51049
51050
51051
51052 USE_SOVERSION=0
51053 USE_SOVERLINUX=0
51054 USE_SOVERSOLARIS=0
51055 USE_SOVERCYGWIN=0
51056 USE_SOSYMLINKS=0
51057 USE_MACVERSION=0
51058 SONAME_FLAG=
51059
51060 case "${BAKEFILE_HOST}" in
51061 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51062 if test "x$SUNCXX" = "xyes"; then
51063 SONAME_FLAG="-h "
51064 else
51065 SONAME_FLAG="-Wl,-soname,"
51066 fi
51067 USE_SOVERSION=1
51068 USE_SOVERLINUX=1
51069 USE_SOSYMLINKS=1
51070 ;;
51071
51072 *-*-solaris2* )
51073 SONAME_FLAG="-h "
51074 USE_SOVERSION=1
51075 USE_SOVERSOLARIS=1
51076 USE_SOSYMLINKS=1
51077 ;;
51078
51079 *-*-darwin* )
51080 USE_MACVERSION=1
51081 USE_SOVERSION=1
51082 USE_SOSYMLINKS=1
51083 ;;
51084
51085 *-*-cygwin* )
51086 USE_SOVERSION=1
51087 USE_SOVERCYGWIN=1
51088 ;;
51089 esac
51090
51091
51092
51093
51094
51095
51096
51097
51098
51099
51100 # Check whether --enable-dependency-tracking was given.
51101 if test "${enable_dependency_tracking+set}" = set; then
51102 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51103 fi
51104
51105
51106 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51107 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51108
51109 BK_DEPS=""
51110 if test "x$bk_use_trackdeps" = "xno" ; then
51111 DEPS_TRACKING=0
51112 { echo "$as_me:$LINENO: result: disabled" >&5
51113 echo "${ECHO_T}disabled" >&6; }
51114 else
51115 DEPS_TRACKING=1
51116
51117 if test "x$GCC" = "xyes"; then
51118 DEPSMODE=gcc
51119 case "${BAKEFILE_HOST}" in
51120 *-*-darwin* )
51121 DEPSFLAG="-no-cpp-precomp -MMD"
51122 ;;
51123 * )
51124 DEPSFLAG="-MMD"
51125 ;;
51126 esac
51127 { echo "$as_me:$LINENO: result: gcc" >&5
51128 echo "${ECHO_T}gcc" >&6; }
51129 elif test "x$MWCC" = "xyes"; then
51130 DEPSMODE=mwcc
51131 DEPSFLAG="-MM"
51132 { echo "$as_me:$LINENO: result: mwcc" >&5
51133 echo "${ECHO_T}mwcc" >&6; }
51134 elif test "x$SUNCC" = "xyes"; then
51135 DEPSMODE=unixcc
51136 DEPSFLAG="-xM1"
51137 { echo "$as_me:$LINENO: result: Sun cc" >&5
51138 echo "${ECHO_T}Sun cc" >&6; }
51139 elif test "x$SGICC" = "xyes"; then
51140 DEPSMODE=unixcc
51141 DEPSFLAG="-M"
51142 { echo "$as_me:$LINENO: result: SGI cc" >&5
51143 echo "${ECHO_T}SGI cc" >&6; }
51144 elif test "x$HPCC" = "xyes"; then
51145 DEPSMODE=unixcc
51146 DEPSFLAG="+make"
51147 { echo "$as_me:$LINENO: result: HP cc" >&5
51148 echo "${ECHO_T}HP cc" >&6; }
51149 elif test "x$COMPAQCC" = "xyes"; then
51150 DEPSMODE=gcc
51151 DEPSFLAG="-MD"
51152 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51153 echo "${ECHO_T}Compaq cc" >&6; }
51154 else
51155 DEPS_TRACKING=0
51156 { echo "$as_me:$LINENO: result: none" >&5
51157 echo "${ECHO_T}none" >&6; }
51158 fi
51159
51160 if test $DEPS_TRACKING = 1 ; then
51161
51162 D='$'
51163 cat <<EOF >bk-deps
51164 #!/bin/sh
51165
51166 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51167 # script. It is used to track C/C++ files dependencies in portable way.
51168 #
51169 # Permission is given to use this file in any way.
51170
51171 DEPSMODE=${DEPSMODE}
51172 DEPSDIR=.deps
51173 DEPSFLAG="${DEPSFLAG}"
51174
51175 mkdir -p ${D}DEPSDIR
51176
51177 if test ${D}DEPSMODE = gcc ; then
51178 ${D}* ${D}{DEPSFLAG}
51179 status=${D}?
51180 if test ${D}{status} != 0 ; then
51181 exit ${D}{status}
51182 fi
51183 # move created file to the location we want it in:
51184 while test ${D}# -gt 0; do
51185 case "${D}1" in
51186 -o )
51187 shift
51188 objfile=${D}1
51189 ;;
51190 -* )
51191 ;;
51192 * )
51193 srcfile=${D}1
51194 ;;
51195 esac
51196 shift
51197 done
51198 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51199 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51200 if test -f ${D}depfile ; then
51201 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51202 rm -f ${D}depfile
51203 else
51204 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51205 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51206 if test ! -f ${D}depfile ; then
51207 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51208 depfile="${D}objfile.d"
51209 fi
51210 if test -f ${D}depfile ; then
51211 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51212 rm -f ${D}depfile
51213 fi
51214 fi
51215 exit 0
51216 elif test ${D}DEPSMODE = mwcc ; then
51217 ${D}* || exit ${D}?
51218 # Run mwcc again with -MM and redirect into the dep file we want
51219 # NOTE: We can't use shift here because we need ${D}* to be valid
51220 prevarg=
51221 for arg in ${D}* ; do
51222 if test "${D}prevarg" = "-o"; then
51223 objfile=${D}arg
51224 else
51225 case "${D}arg" in
51226 -* )
51227 ;;
51228 * )
51229 srcfile=${D}arg
51230 ;;
51231 esac
51232 fi
51233 prevarg="${D}arg"
51234 done
51235 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51236 exit 0
51237 elif test ${D}DEPSMODE = unixcc; then
51238 ${D}* || exit ${D}?
51239 # Run compiler again with deps flag and redirect into the dep file.
51240 # It doesn't work if the '-o FILE' option is used, but without it the
51241 # dependency file will contain the wrong name for the object. So it is
51242 # removed from the command line, and the dep file is fixed with sed.
51243 cmd=""
51244 while test ${D}# -gt 0; do
51245 case "${D}1" in
51246 -o )
51247 shift
51248 objfile=${D}1
51249 ;;
51250 * )
51251 eval arg${D}#=\\${D}1
51252 cmd="${D}cmd \\${D}arg${D}#"
51253 ;;
51254 esac
51255 shift
51256 done
51257 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51258 exit 0
51259 else
51260 ${D}*
51261 exit ${D}?
51262 fi
51263 EOF
51264
51265 chmod +x bk-deps
51266 BK_DEPS="`pwd`/bk-deps"
51267 fi
51268 fi
51269
51270
51271
51272
51273
51274 case ${BAKEFILE_HOST} in
51275 *-*-cygwin* | *-*-mingw32* )
51276 if test -n "$ac_tool_prefix"; then
51277 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51278 set dummy ${ac_tool_prefix}windres; ac_word=$2
51279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51281 if test "${ac_cv_prog_WINDRES+set}" = set; then
51282 echo $ECHO_N "(cached) $ECHO_C" >&6
51283 else
51284 if test -n "$WINDRES"; then
51285 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51286 else
51287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51288 for as_dir in $PATH
51289 do
51290 IFS=$as_save_IFS
51291 test -z "$as_dir" && as_dir=.
51292 for ac_exec_ext in '' $ac_executable_extensions; do
51293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51294 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51296 break 2
51297 fi
51298 done
51299 done
51300 IFS=$as_save_IFS
51301
51302 fi
51303 fi
51304 WINDRES=$ac_cv_prog_WINDRES
51305 if test -n "$WINDRES"; then
51306 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51307 echo "${ECHO_T}$WINDRES" >&6; }
51308 else
51309 { echo "$as_me:$LINENO: result: no" >&5
51310 echo "${ECHO_T}no" >&6; }
51311 fi
51312
51313
51314 fi
51315 if test -z "$ac_cv_prog_WINDRES"; then
51316 ac_ct_WINDRES=$WINDRES
51317 # Extract the first word of "windres", so it can be a program name with args.
51318 set dummy windres; ac_word=$2
51319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51321 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51322 echo $ECHO_N "(cached) $ECHO_C" >&6
51323 else
51324 if test -n "$ac_ct_WINDRES"; then
51325 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51326 else
51327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51328 for as_dir in $PATH
51329 do
51330 IFS=$as_save_IFS
51331 test -z "$as_dir" && as_dir=.
51332 for ac_exec_ext in '' $ac_executable_extensions; do
51333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51334 ac_cv_prog_ac_ct_WINDRES="windres"
51335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51336 break 2
51337 fi
51338 done
51339 done
51340 IFS=$as_save_IFS
51341
51342 fi
51343 fi
51344 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51345 if test -n "$ac_ct_WINDRES"; then
51346 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51347 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51348 else
51349 { echo "$as_me:$LINENO: result: no" >&5
51350 echo "${ECHO_T}no" >&6; }
51351 fi
51352
51353 if test "x$ac_ct_WINDRES" = x; then
51354 WINDRES=""
51355 else
51356 case $cross_compiling:$ac_tool_warned in
51357 yes:)
51358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51359 whose name does not start with the host triplet. If you think this
51360 configuration is useful to you, please write to autoconf@gnu.org." >&5
51361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51362 whose name does not start with the host triplet. If you think this
51363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51364 ac_tool_warned=yes ;;
51365 esac
51366 WINDRES=$ac_ct_WINDRES
51367 fi
51368 else
51369 WINDRES="$ac_cv_prog_WINDRES"
51370 fi
51371
51372 ;;
51373
51374 *-*-darwin* | powerpc-apple-macos* )
51375 # Extract the first word of "Rez", so it can be a program name with args.
51376 set dummy Rez; ac_word=$2
51377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51379 if test "${ac_cv_prog_REZ+set}" = set; then
51380 echo $ECHO_N "(cached) $ECHO_C" >&6
51381 else
51382 if test -n "$REZ"; then
51383 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51384 else
51385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51386 for as_dir in $PATH
51387 do
51388 IFS=$as_save_IFS
51389 test -z "$as_dir" && as_dir=.
51390 for ac_exec_ext in '' $ac_executable_extensions; do
51391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51392 ac_cv_prog_REZ="Rez"
51393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51394 break 2
51395 fi
51396 done
51397 done
51398 IFS=$as_save_IFS
51399
51400 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51401 fi
51402 fi
51403 REZ=$ac_cv_prog_REZ
51404 if test -n "$REZ"; then
51405 { echo "$as_me:$LINENO: result: $REZ" >&5
51406 echo "${ECHO_T}$REZ" >&6; }
51407 else
51408 { echo "$as_me:$LINENO: result: no" >&5
51409 echo "${ECHO_T}no" >&6; }
51410 fi
51411
51412
51413 # Extract the first word of "SetFile", so it can be a program name with args.
51414 set dummy SetFile; ac_word=$2
51415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51417 if test "${ac_cv_prog_SETFILE+set}" = set; then
51418 echo $ECHO_N "(cached) $ECHO_C" >&6
51419 else
51420 if test -n "$SETFILE"; then
51421 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51422 else
51423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51424 for as_dir in $PATH
51425 do
51426 IFS=$as_save_IFS
51427 test -z "$as_dir" && as_dir=.
51428 for ac_exec_ext in '' $ac_executable_extensions; do
51429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51430 ac_cv_prog_SETFILE="SetFile"
51431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51432 break 2
51433 fi
51434 done
51435 done
51436 IFS=$as_save_IFS
51437
51438 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51439 fi
51440 fi
51441 SETFILE=$ac_cv_prog_SETFILE
51442 if test -n "$SETFILE"; then
51443 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51444 echo "${ECHO_T}$SETFILE" >&6; }
51445 else
51446 { echo "$as_me:$LINENO: result: no" >&5
51447 echo "${ECHO_T}no" >&6; }
51448 fi
51449
51450
51451 ;;
51452 esac
51453
51454
51455
51456
51457
51458
51459 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51460
51461
51462 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51463
51464
51465
51466 # Check whether --enable-precomp-headers was given.
51467 if test "${enable_precomp_headers+set}" = set; then
51468 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51469 fi
51470
51471
51472 GCC_PCH=0
51473 ICC_PCH=0
51474 USE_PCH=0
51475 BK_MAKE_PCH=""
51476
51477 case ${BAKEFILE_HOST} in
51478 *-*-cygwin* )
51479 bk_use_pch="no"
51480 ;;
51481 esac
51482
51483 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51484 if test "x$GCC" = "xyes"; then
51485 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51486 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51487 cat >conftest.$ac_ext <<_ACEOF
51488 /* confdefs.h. */
51489 _ACEOF
51490 cat confdefs.h >>conftest.$ac_ext
51491 cat >>conftest.$ac_ext <<_ACEOF
51492 /* end confdefs.h. */
51493
51494 int
51495 main ()
51496 {
51497
51498 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51499 There is no PCH support
51500 #endif
51501 #if (__GNUC__ < 3)
51502 There is no PCH support
51503 #endif
51504 #if (__GNUC__ == 3) && \
51505 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51506 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51507 ( defined(__INTEL_COMPILER) )
51508 There is no PCH support
51509 #endif
51510
51511 ;
51512 return 0;
51513 }
51514 _ACEOF
51515 rm -f conftest.$ac_objext
51516 if { (ac_try="$ac_compile"
51517 case "(($ac_try" in
51518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51519 *) ac_try_echo=$ac_try;;
51520 esac
51521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51522 (eval "$ac_compile") 2>conftest.er1
51523 ac_status=$?
51524 grep -v '^ *+' conftest.er1 >conftest.err
51525 rm -f conftest.er1
51526 cat conftest.err >&5
51527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51528 (exit $ac_status); } && {
51529 test -z "$ac_c_werror_flag" ||
51530 test ! -s conftest.err
51531 } && test -s conftest.$ac_objext; then
51532
51533 { echo "$as_me:$LINENO: result: yes" >&5
51534 echo "${ECHO_T}yes" >&6; }
51535 GCC_PCH=1
51536
51537 else
51538 echo "$as_me: failed program was:" >&5
51539 sed 's/^/| /' conftest.$ac_ext >&5
51540
51541
51542 cat >conftest.$ac_ext <<_ACEOF
51543 /* confdefs.h. */
51544 _ACEOF
51545 cat confdefs.h >>conftest.$ac_ext
51546 cat >>conftest.$ac_ext <<_ACEOF
51547 /* end confdefs.h. */
51548
51549 int
51550 main ()
51551 {
51552
51553 #if !defined(__INTEL_COMPILER) || \
51554 (__INTEL_COMPILER < 800)
51555 There is no PCH support
51556 #endif
51557
51558 ;
51559 return 0;
51560 }
51561 _ACEOF
51562 rm -f conftest.$ac_objext
51563 if { (ac_try="$ac_compile"
51564 case "(($ac_try" in
51565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51566 *) ac_try_echo=$ac_try;;
51567 esac
51568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51569 (eval "$ac_compile") 2>conftest.er1
51570 ac_status=$?
51571 grep -v '^ *+' conftest.er1 >conftest.err
51572 rm -f conftest.er1
51573 cat conftest.err >&5
51574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51575 (exit $ac_status); } && {
51576 test -z "$ac_c_werror_flag" ||
51577 test ! -s conftest.err
51578 } && test -s conftest.$ac_objext; then
51579
51580 { echo "$as_me:$LINENO: result: yes" >&5
51581 echo "${ECHO_T}yes" >&6; }
51582 ICC_PCH=1
51583
51584 else
51585 echo "$as_me: failed program was:" >&5
51586 sed 's/^/| /' conftest.$ac_ext >&5
51587
51588
51589 { echo "$as_me:$LINENO: result: no" >&5
51590 echo "${ECHO_T}no" >&6; }
51591
51592 fi
51593
51594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51595
51596 fi
51597
51598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51599 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51600 USE_PCH=1
51601
51602 D='$'
51603 cat <<EOF >bk-make-pch
51604 #!/bin/sh
51605
51606 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51607 # script. It is used to generated precompiled headers.
51608 #
51609 # Permission is given to use this file in any way.
51610
51611 outfile="${D}{1}"
51612 header="${D}{2}"
51613 shift
51614 shift
51615
51616 compiler=""
51617 headerfile=""
51618
51619 while test ${D}{#} -gt 0; do
51620 add_to_cmdline=1
51621 case "${D}{1}" in
51622 -I* )
51623 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51624 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51625 headerfile="${D}{incdir}/${D}{header}"
51626 fi
51627 ;;
51628 -use-pch|-use_pch )
51629 shift
51630 add_to_cmdline=0
51631 ;;
51632 esac
51633 if test ${D}add_to_cmdline = 1 ; then
51634 compiler="${D}{compiler} ${D}{1}"
51635 fi
51636 shift
51637 done
51638
51639 if test "x${D}{headerfile}" = "x" ; then
51640 echo "error: can't find header ${D}{header} in include paths" >&2
51641 else
51642 if test -f ${D}{outfile} ; then
51643 rm -f ${D}{outfile}
51644 else
51645 mkdir -p \`dirname ${D}{outfile}\`
51646 fi
51647 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51648 mkdir -p .deps
51649 if test "x${GCC_PCH}" = "x1" ; then
51650 # can do this because gcc is >= 3.4:
51651 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51652 elif test "x${ICC_PCH}" = "x1" ; then
51653 filename=pch_gen-${D}${D}
51654 file=${D}{filename}.c
51655 dfile=${D}{filename}.d
51656 cat > ${D}file <<EOT
51657 #include "${D}header"
51658 EOT
51659 # using -MF icc complains about differing command lines in creation/use
51660 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51661 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51662 rm -f ${D}file ${D}dfile ${D}{filename}.o
51663 fi
51664 exit ${D}{?}
51665 fi
51666 EOF
51667
51668 chmod +x bk-make-pch
51669 BK_MAKE_PCH="`pwd`/bk-make-pch"
51670 fi
51671 fi
51672 fi
51673
51674
51675
51676
51677
51678 COND_BUILD_DEBUG="#"
51679 if test "x$BUILD" = "xdebug" ; then
51680 COND_BUILD_DEBUG=""
51681 fi
51682
51683 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51684 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51685 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51686 fi
51687
51688 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51689 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51690 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51691 fi
51692
51693 COND_BUILD_DEBUG_UNICODE_0="#"
51694 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51695 COND_BUILD_DEBUG_UNICODE_0=""
51696 fi
51697
51698 COND_BUILD_DEBUG_UNICODE_1="#"
51699 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51700 COND_BUILD_DEBUG_UNICODE_1=""
51701 fi
51702
51703 COND_BUILD_RELEASE="#"
51704 if test "x$BUILD" = "xrelease" ; then
51705 COND_BUILD_RELEASE=""
51706 fi
51707
51708 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51709 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51710 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51711 fi
51712
51713 COND_BUILD_RELEASE_UNICODE_0="#"
51714 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51715 COND_BUILD_RELEASE_UNICODE_0=""
51716 fi
51717
51718 COND_BUILD_RELEASE_UNICODE_1="#"
51719 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51720 COND_BUILD_RELEASE_UNICODE_1=""
51721 fi
51722
51723 COND_DEBUG_FLAG_1="#"
51724 if test "x$DEBUG_FLAG" = "x1" ; then
51725 COND_DEBUG_FLAG_1=""
51726 fi
51727
51728 COND_DEBUG_INFO_0="#"
51729 if test "x$DEBUG_INFO" = "x0" ; then
51730 COND_DEBUG_INFO_0=""
51731 fi
51732
51733 COND_DEBUG_INFO_1="#"
51734 if test "x$DEBUG_INFO" = "x1" ; then
51735 COND_DEBUG_INFO_1=""
51736 fi
51737
51738 COND_DEPS_TRACKING_0="#"
51739 if test "x$DEPS_TRACKING" = "x0" ; then
51740 COND_DEPS_TRACKING_0=""
51741 fi
51742
51743 COND_DEPS_TRACKING_1="#"
51744 if test "x$DEPS_TRACKING" = "x1" ; then
51745 COND_DEPS_TRACKING_1=""
51746 fi
51747
51748 COND_GCC_PCH_1="#"
51749 if test "x$GCC_PCH" = "x1" ; then
51750 COND_GCC_PCH_1=""
51751 fi
51752
51753 COND_ICC_PCH_1="#"
51754 if test "x$ICC_PCH" = "x1" ; then
51755 COND_ICC_PCH_1=""
51756 fi
51757
51758 COND_MONOLITHIC_0="#"
51759 if test "x$MONOLITHIC" = "x0" ; then
51760 COND_MONOLITHIC_0=""
51761 fi
51762
51763 COND_MONOLITHIC_0_SHARED_0="#"
51764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51765 COND_MONOLITHIC_0_SHARED_0=""
51766 fi
51767
51768 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51770 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51771 fi
51772
51773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51775 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51776 fi
51777
51778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51780 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51781 fi
51782
51783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51786 fi
51787
51788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51791 fi
51792
51793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51796 fi
51797
51798 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51800 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51801 fi
51802
51803 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51805 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51806 fi
51807
51808 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51810 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51811 fi
51812
51813 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51815 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51816 fi
51817
51818 COND_MONOLITHIC_0_SHARED_1="#"
51819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51820 COND_MONOLITHIC_0_SHARED_1=""
51821 fi
51822
51823 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51825 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51826 fi
51827
51828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51831 fi
51832
51833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51836 fi
51837
51838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51841 fi
51842
51843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51846 fi
51847
51848 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51851 fi
51852
51853 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51855 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51856 fi
51857
51858 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51860 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51861 fi
51862
51863 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51866 fi
51867
51868 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51870 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51871 fi
51872
51873 COND_MONOLITHIC_0_USE_AUI_1="#"
51874 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51875 COND_MONOLITHIC_0_USE_AUI_1=""
51876 fi
51877
51878 COND_MONOLITHIC_0_USE_GUI_1="#"
51879 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51880 COND_MONOLITHIC_0_USE_GUI_1=""
51881 fi
51882
51883 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51884 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51885 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51886 fi
51887
51888 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51889 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51890 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51891 fi
51892
51893 COND_MONOLITHIC_0_USE_HTML_1="#"
51894 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51895 COND_MONOLITHIC_0_USE_HTML_1=""
51896 fi
51897
51898 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51899 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51900 COND_MONOLITHIC_0_USE_MEDIA_1=""
51901 fi
51902
51903 COND_MONOLITHIC_0_USE_ODBC_1="#"
51904 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51905 COND_MONOLITHIC_0_USE_ODBC_1=""
51906 fi
51907
51908 COND_MONOLITHIC_0_USE_QA_1="#"
51909 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51910 COND_MONOLITHIC_0_USE_QA_1=""
51911 fi
51912
51913 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51914 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51915 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51916 fi
51917
51918 COND_MONOLITHIC_0_USE_STC_1="#"
51919 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51920 COND_MONOLITHIC_0_USE_STC_1=""
51921 fi
51922
51923 COND_MONOLITHIC_0_USE_XRC_1="#"
51924 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51925 COND_MONOLITHIC_0_USE_XRC_1=""
51926 fi
51927
51928 COND_MONOLITHIC_1="#"
51929 if test "x$MONOLITHIC" = "x1" ; then
51930 COND_MONOLITHIC_1=""
51931 fi
51932
51933 COND_MONOLITHIC_1_SHARED_0="#"
51934 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51935 COND_MONOLITHIC_1_SHARED_0=""
51936 fi
51937
51938 COND_MONOLITHIC_1_SHARED_1="#"
51939 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51940 COND_MONOLITHIC_1_SHARED_1=""
51941 fi
51942
51943 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51944 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51945 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51946 fi
51947
51948 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51949 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51950 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51951 fi
51952
51953 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51954 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51955 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51956 fi
51957
51958 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51959 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51960 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51961 fi
51962
51963 COND_PLATFORM_MACOSX_1="#"
51964 if test "x$PLATFORM_MACOSX" = "x1" ; then
51965 COND_PLATFORM_MACOSX_1=""
51966 fi
51967
51968 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51970 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51971 fi
51972
51973 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51975 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51976 fi
51977
51978 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51980 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51981 fi
51982
51983 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51984 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51985 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51986 fi
51987
51988 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51989 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51990 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51991 fi
51992
51993 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51995 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51996 fi
51997
51998 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52000 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52001 fi
52002
52003 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52005 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52006 fi
52007
52008 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52010 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52011 fi
52012
52013 COND_PLATFORM_MACOS_1="#"
52014 if test "x$PLATFORM_MACOS" = "x1" ; then
52015 COND_PLATFORM_MACOS_1=""
52016 fi
52017
52018 COND_PLATFORM_MAC_1="#"
52019 if test "x$PLATFORM_MAC" = "x1" ; then
52020 COND_PLATFORM_MAC_1=""
52021 fi
52022
52023 COND_PLATFORM_MSDOS_0="#"
52024 if test "x$PLATFORM_MSDOS" = "x0" ; then
52025 COND_PLATFORM_MSDOS_0=""
52026 fi
52027
52028 COND_PLATFORM_MSDOS_1="#"
52029 if test "x$PLATFORM_MSDOS" = "x1" ; then
52030 COND_PLATFORM_MSDOS_1=""
52031 fi
52032
52033 COND_PLATFORM_OS2_1="#"
52034 if test "x$PLATFORM_OS2" = "x1" ; then
52035 COND_PLATFORM_OS2_1=""
52036 fi
52037
52038 COND_PLATFORM_UNIX_0="#"
52039 if test "x$PLATFORM_UNIX" = "x0" ; then
52040 COND_PLATFORM_UNIX_0=""
52041 fi
52042
52043 COND_PLATFORM_UNIX_1="#"
52044 if test "x$PLATFORM_UNIX" = "x1" ; then
52045 COND_PLATFORM_UNIX_1=""
52046 fi
52047
52048 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52049 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52050 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52051 fi
52052
52053 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52054 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52055 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52056 fi
52057
52058 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52059 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52060 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52061 fi
52062
52063 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52065 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52066 fi
52067
52068 COND_PLATFORM_WIN32_0="#"
52069 if test "x$PLATFORM_WIN32" = "x0" ; then
52070 COND_PLATFORM_WIN32_0=""
52071 fi
52072
52073 COND_PLATFORM_WIN32_1="#"
52074 if test "x$PLATFORM_WIN32" = "x1" ; then
52075 COND_PLATFORM_WIN32_1=""
52076 fi
52077
52078 COND_SHARED_0="#"
52079 if test "x$SHARED" = "x0" ; then
52080 COND_SHARED_0=""
52081 fi
52082
52083 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52084 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52085 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52086 fi
52087
52088 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52089 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52090 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52091 fi
52092
52093 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52094 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52095 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52096 fi
52097
52098 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52099 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52100 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52101 fi
52102
52103 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52105 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52106 fi
52107
52108 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52109 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52110 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52111 fi
52112
52113 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52114 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52115 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52116 fi
52117
52118 COND_SHARED_0_USE_STC_1="#"
52119 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52120 COND_SHARED_0_USE_STC_1=""
52121 fi
52122
52123 COND_SHARED_0_USE_XRC_1="#"
52124 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52125 COND_SHARED_0_USE_XRC_1=""
52126 fi
52127
52128 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52129 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52130 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52131 fi
52132
52133 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52134 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52135 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52136 fi
52137
52138 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52139 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52140 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52141 fi
52142
52143 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52144 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52145 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52146 fi
52147
52148 COND_SHARED_1="#"
52149 if test "x$SHARED" = "x1" ; then
52150 COND_SHARED_1=""
52151 fi
52152
52153 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52154 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52155 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52156 fi
52157
52158 COND_SHARED_1_USE_XRC_1="#"
52159 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52160 COND_SHARED_1_USE_XRC_1=""
52161 fi
52162
52163 COND_TOOLKIT_="#"
52164 if test "x$TOOLKIT" = "x" ; then
52165 COND_TOOLKIT_=""
52166 fi
52167
52168 COND_TOOLKIT_COCOA="#"
52169 if test "x$TOOLKIT" = "xCOCOA" ; then
52170 COND_TOOLKIT_COCOA=""
52171 fi
52172
52173 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52174 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52175 COND_TOOLKIT_COCOA_USE_GUI_1=""
52176 fi
52177
52178 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52179 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52180 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52181 fi
52182
52183 COND_TOOLKIT_DFB="#"
52184 if test "x$TOOLKIT" = "xDFB" ; then
52185 COND_TOOLKIT_DFB=""
52186 fi
52187
52188 COND_TOOLKIT_DFB_USE_GUI_1="#"
52189 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52190 COND_TOOLKIT_DFB_USE_GUI_1=""
52191 fi
52192
52193 COND_TOOLKIT_GTK="#"
52194 if test "x$TOOLKIT" = "xGTK" ; then
52195 COND_TOOLKIT_GTK=""
52196 fi
52197
52198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52199 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52201 fi
52202
52203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52206 fi
52207
52208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52211 fi
52212
52213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52216 fi
52217
52218 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52220 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52221 fi
52222
52223 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52226 fi
52227
52228 COND_TOOLKIT_GTK_USE_GUI_1="#"
52229 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52230 COND_TOOLKIT_GTK_USE_GUI_1=""
52231 fi
52232
52233 COND_TOOLKIT_MAC="#"
52234 if test "x$TOOLKIT" = "xMAC" ; then
52235 COND_TOOLKIT_MAC=""
52236 fi
52237
52238 COND_TOOLKIT_MAC_USE_GUI_1="#"
52239 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52240 COND_TOOLKIT_MAC_USE_GUI_1=""
52241 fi
52242
52243 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52244 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52245 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52246 fi
52247
52248 COND_TOOLKIT_MGL="#"
52249 if test "x$TOOLKIT" = "xMGL" ; then
52250 COND_TOOLKIT_MGL=""
52251 fi
52252
52253 COND_TOOLKIT_MGL_USE_GUI_1="#"
52254 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52255 COND_TOOLKIT_MGL_USE_GUI_1=""
52256 fi
52257
52258 COND_TOOLKIT_MOTIF="#"
52259 if test "x$TOOLKIT" = "xMOTIF" ; then
52260 COND_TOOLKIT_MOTIF=""
52261 fi
52262
52263 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52264 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52265 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52266 fi
52267
52268 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52269 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52270 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52271 fi
52272
52273 COND_TOOLKIT_MSW="#"
52274 if test "x$TOOLKIT" = "xMSW" ; then
52275 COND_TOOLKIT_MSW=""
52276 fi
52277
52278 COND_TOOLKIT_MSW_USE_GUI_1="#"
52279 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52280 COND_TOOLKIT_MSW_USE_GUI_1=""
52281 fi
52282
52283 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52284 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52285 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52286 fi
52287
52288 COND_TOOLKIT_MSW_WXUNIV_0="#"
52289 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52290 COND_TOOLKIT_MSW_WXUNIV_0=""
52291 fi
52292
52293 COND_TOOLKIT_PM="#"
52294 if test "x$TOOLKIT" = "xPM" ; then
52295 COND_TOOLKIT_PM=""
52296 fi
52297
52298 COND_TOOLKIT_PM_USE_GUI_1="#"
52299 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52300 COND_TOOLKIT_PM_USE_GUI_1=""
52301 fi
52302
52303 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52304 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52305 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52306 fi
52307
52308 COND_TOOLKIT_WINCE="#"
52309 if test "x$TOOLKIT" = "xWINCE" ; then
52310 COND_TOOLKIT_WINCE=""
52311 fi
52312
52313 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52314 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52315 COND_TOOLKIT_WINCE_USE_GUI_1=""
52316 fi
52317
52318 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52319 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52320 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52321 fi
52322
52323 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52324 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52325 COND_TOOLKIT_WINCE_WXUNIV_0=""
52326 fi
52327
52328 COND_TOOLKIT_X11="#"
52329 if test "x$TOOLKIT" = "xX11" ; then
52330 COND_TOOLKIT_X11=""
52331 fi
52332
52333 COND_TOOLKIT_X11_USE_GUI_1="#"
52334 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52335 COND_TOOLKIT_X11_USE_GUI_1=""
52336 fi
52337
52338 COND_UNICODE_1="#"
52339 if test "x$UNICODE" = "x1" ; then
52340 COND_UNICODE_1=""
52341 fi
52342
52343 COND_USE_EXCEPTIONS_0="#"
52344 if test "x$USE_EXCEPTIONS" = "x0" ; then
52345 COND_USE_EXCEPTIONS_0=""
52346 fi
52347
52348 COND_USE_EXCEPTIONS_1="#"
52349 if test "x$USE_EXCEPTIONS" = "x1" ; then
52350 COND_USE_EXCEPTIONS_1=""
52351 fi
52352
52353 COND_USE_GUI_0="#"
52354 if test "x$USE_GUI" = "x0" ; then
52355 COND_USE_GUI_0=""
52356 fi
52357
52358 COND_USE_GUI_1="#"
52359 if test "x$USE_GUI" = "x1" ; then
52360 COND_USE_GUI_1=""
52361 fi
52362
52363 COND_USE_GUI_1_USE_OPENGL_1="#"
52364 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52365 COND_USE_GUI_1_USE_OPENGL_1=""
52366 fi
52367
52368 COND_USE_GUI_1_WXUNIV_0="#"
52369 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52370 COND_USE_GUI_1_WXUNIV_0=""
52371 fi
52372
52373 COND_USE_GUI_1_WXUNIV_1="#"
52374 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52375 COND_USE_GUI_1_WXUNIV_1=""
52376 fi
52377
52378 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52379 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52380 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52381 fi
52382
52383 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52384 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52385 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52386 fi
52387
52388 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52389 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52390 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52391 fi
52392
52393 COND_USE_ODBC_1="#"
52394 if test "x$USE_ODBC" = "x1" ; then
52395 COND_USE_ODBC_1=""
52396 fi
52397
52398 COND_USE_OPENGL_1="#"
52399 if test "x$USE_OPENGL" = "x1" ; then
52400 COND_USE_OPENGL_1=""
52401 fi
52402
52403 COND_USE_PCH_1="#"
52404 if test "x$USE_PCH" = "x1" ; then
52405 COND_USE_PCH_1=""
52406 fi
52407
52408 COND_USE_PLUGINS_0="#"
52409 if test "x$USE_PLUGINS" = "x0" ; then
52410 COND_USE_PLUGINS_0=""
52411 fi
52412
52413 COND_USE_RTTI_0="#"
52414 if test "x$USE_RTTI" = "x0" ; then
52415 COND_USE_RTTI_0=""
52416 fi
52417
52418 COND_USE_RTTI_1="#"
52419 if test "x$USE_RTTI" = "x1" ; then
52420 COND_USE_RTTI_1=""
52421 fi
52422
52423 COND_USE_SOSYMLINKS_1="#"
52424 if test "x$USE_SOSYMLINKS" = "x1" ; then
52425 COND_USE_SOSYMLINKS_1=""
52426 fi
52427
52428 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52429 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52430 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52431 fi
52432
52433 COND_USE_SOVERLINUX_1="#"
52434 if test "x$USE_SOVERLINUX" = "x1" ; then
52435 COND_USE_SOVERLINUX_1=""
52436 fi
52437
52438 COND_USE_SOVERSION_0="#"
52439 if test "x$USE_SOVERSION" = "x0" ; then
52440 COND_USE_SOVERSION_0=""
52441 fi
52442
52443 COND_USE_SOVERSOLARIS_1="#"
52444 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52445 COND_USE_SOVERSOLARIS_1=""
52446 fi
52447
52448 COND_USE_STC_1="#"
52449 if test "x$USE_STC" = "x1" ; then
52450 COND_USE_STC_1=""
52451 fi
52452
52453 COND_USE_THREADS_0="#"
52454 if test "x$USE_THREADS" = "x0" ; then
52455 COND_USE_THREADS_0=""
52456 fi
52457
52458 COND_USE_THREADS_1="#"
52459 if test "x$USE_THREADS" = "x1" ; then
52460 COND_USE_THREADS_1=""
52461 fi
52462
52463 COND_USE_XRC_1="#"
52464 if test "x$USE_XRC" = "x1" ; then
52465 COND_USE_XRC_1=""
52466 fi
52467
52468 COND_WINDOWS_IMPLIB_1="#"
52469 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52470 COND_WINDOWS_IMPLIB_1=""
52471 fi
52472
52473 COND_WITH_PLUGIN_SDL_1="#"
52474 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52475 COND_WITH_PLUGIN_SDL_1=""
52476 fi
52477
52478 COND_WXUNIV_0="#"
52479 if test "x$WXUNIV" = "x0" ; then
52480 COND_WXUNIV_0=""
52481 fi
52482
52483 COND_WXUNIV_1="#"
52484 if test "x$WXUNIV" = "x1" ; then
52485 COND_WXUNIV_1=""
52486 fi
52487
52488 COND_WXUSE_EXPAT_BUILTIN="#"
52489 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52490 COND_WXUSE_EXPAT_BUILTIN=""
52491 fi
52492
52493 COND_WXUSE_LIBJPEG_BUILTIN="#"
52494 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52495 COND_WXUSE_LIBJPEG_BUILTIN=""
52496 fi
52497
52498 COND_WXUSE_LIBPNG_BUILTIN="#"
52499 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52500 COND_WXUSE_LIBPNG_BUILTIN=""
52501 fi
52502
52503 COND_WXUSE_LIBTIFF_BUILTIN="#"
52504 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52505 COND_WXUSE_LIBTIFF_BUILTIN=""
52506 fi
52507
52508 COND_WXUSE_ODBC_BUILTIN="#"
52509 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52510 COND_WXUSE_ODBC_BUILTIN=""
52511 fi
52512
52513 COND_WXUSE_REGEX_BUILTIN="#"
52514 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52515 COND_WXUSE_REGEX_BUILTIN=""
52516 fi
52517
52518 COND_WXUSE_ZLIB_BUILTIN="#"
52519 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52520 COND_WXUSE_ZLIB_BUILTIN=""
52521 fi
52522
52523
52524
52525 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52526 { { 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
52527 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;}
52528 { (exit 1); exit 1; }; }
52529 fi
52530
52531 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52532 { { 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
52533 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;}
52534 { (exit 1); exit 1; }; }
52535 fi
52536
52537
52538 if test $GCC_PCH = 1
52539 then
52540 if test "$wx_cv_gcc_pch_bug" = yes; then
52541 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52542 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52543 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52544 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52545 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52546 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52547 fi
52548
52549 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52550 fi
52551
52552
52553 if test "$wxUSE_MAC" = 1 ; then
52554 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52555 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52556 mv temp bk-deps
52557 chmod +x bk-deps
52558 fi
52559 fi
52560
52561 if test "$wxUSE_SHARED" = "yes"; then
52562
52563 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52564 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52565
52566 case "${host}" in
52567 *-pc-os2_emx | *-pc-os2-emx )
52568 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52569 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52570 cp -p ${srcdir}/src/os2/dllnames.sh .
52571 cp -p ${srcdir}/src/os2/dllar.sh .
52572 ;;
52573 esac
52574 else
52575
52576 EXE_LINKER="$CXX -o"
52577
52578 fi
52579 if test "$wxUSE_OMF" = "yes"; then
52580 case "${host}" in
52581 *-pc-os2_emx | *-pc-os2-emx )
52582 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52583 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52584 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52585 ;;
52586 esac
52587 fi
52588
52589 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52590
52591
52592 case "${host}" in
52593 *-*-solaris2* )
52594 if "$GCC" = yes; then
52595 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52596 LIBS=`echo $LIBS | sed 's/-mt//'`
52597 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52598 fi
52599 ;;
52600
52601 *-*-linux* )
52602 if test "x$SUNCXX" = xyes; then
52603 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52604 LIBS=`echo $LIBS | sed 's/-pthread//'`
52605 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52606 fi
52607 ;;
52608 esac
52609
52610 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52611 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52612
52613 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52614
52615
52616
52617
52618
52619
52620
52621
52622
52623
52624
52625
52626
52627
52628
52629
52630
52631
52632
52633
52634
52635
52636
52637
52638
52639
52640
52641
52642
52643
52644
52645
52646
52647
52648
52649
52650
52651
52652
52653
52654
52655
52656
52657
52658
52659
52660
52661
52662
52663
52664
52665
52666
52667
52668
52669
52670
52671
52672
52673
52674
52675 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52676 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52677 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52678 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52679 echo $ECHO_N "(cached) $ECHO_C" >&6
52680 else
52681 cat >conftest.make <<\_ACEOF
52682 SHELL = /bin/sh
52683 all:
52684 @echo '@@@%%%=$(MAKE)=@@@%%%'
52685 _ACEOF
52686 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52687 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52688 *@@@%%%=?*=@@@%%%*)
52689 eval ac_cv_prog_make_${ac_make}_set=yes;;
52690 *)
52691 eval ac_cv_prog_make_${ac_make}_set=no;;
52692 esac
52693 rm -f conftest.make
52694 fi
52695 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52696 { echo "$as_me:$LINENO: result: yes" >&5
52697 echo "${ECHO_T}yes" >&6; }
52698 SET_MAKE=
52699 else
52700 { echo "$as_me:$LINENO: result: no" >&5
52701 echo "${ECHO_T}no" >&6; }
52702 SET_MAKE="MAKE=${MAKE-make}"
52703 fi
52704
52705
52706
52707 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52708
52709
52710 if test "$USE_WIN32" = 1; then
52711 ac_config_commands="$ac_config_commands
52712 rcdefs.h
52713 "
52714
52715 fi
52716
52717 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52718
52719
52720 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52721
52722
52723 if test "$wx_cv_version_script" = "yes"; then
52724 ac_config_files="$ac_config_files version-script"
52725
52726 fi
52727 ac_config_files="$ac_config_files Makefile"
52728
52729
52730 ac_config_commands="$ac_config_commands wx-config"
52731
52732
52733
52734 if test "$wxWITH_SUBDIRS" != "no"; then
52735 if test "$wxUSE_GUI" = "yes"; then
52736 SUBDIRS="samples demos utils"
52737 else SUBDIRS="samples utils"
52738 fi
52739
52740
52741
52742 # Check whether --with-cppunit-prefix was given.
52743 if test "${with_cppunit_prefix+set}" = set; then
52744 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52745 else
52746 cppunit_config_prefix=""
52747 fi
52748
52749
52750 # Check whether --with-cppunit-exec-prefix was given.
52751 if test "${with_cppunit_exec_prefix+set}" = set; then
52752 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52753 else
52754 cppunit_config_exec_prefix=""
52755 fi
52756
52757
52758 if test x$cppunit_config_exec_prefix != x ; then
52759 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52760 if test x${CPPUNIT_CONFIG+set} != xset ; then
52761 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52762 fi
52763 fi
52764 if test x$cppunit_config_prefix != x ; then
52765 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52766 if test x${CPPUNIT_CONFIG+set} != xset ; then
52767 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52768 fi
52769 fi
52770
52771 # Extract the first word of "cppunit-config", so it can be a program name with args.
52772 set dummy cppunit-config; ac_word=$2
52773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52775 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52776 echo $ECHO_N "(cached) $ECHO_C" >&6
52777 else
52778 case $CPPUNIT_CONFIG in
52779 [\\/]* | ?:[\\/]*)
52780 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52781 ;;
52782 *)
52783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52784 for as_dir in $PATH
52785 do
52786 IFS=$as_save_IFS
52787 test -z "$as_dir" && as_dir=.
52788 for ac_exec_ext in '' $ac_executable_extensions; do
52789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52790 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52792 break 2
52793 fi
52794 done
52795 done
52796 IFS=$as_save_IFS
52797
52798 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52799 ;;
52800 esac
52801 fi
52802 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52803 if test -n "$CPPUNIT_CONFIG"; then
52804 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52805 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52806 else
52807 { echo "$as_me:$LINENO: result: no" >&5
52808 echo "${ECHO_T}no" >&6; }
52809 fi
52810
52811
52812 cppunit_version_min=1.8.0
52813
52814 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52815 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52816 no_cppunit=""
52817 if test "$CPPUNIT_CONFIG" = "no" ; then
52818 { echo "$as_me:$LINENO: result: no" >&5
52819 echo "${ECHO_T}no" >&6; }
52820 no_cppunit=yes
52821 else
52822 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52823 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52824 cppunit_version=`$CPPUNIT_CONFIG --version`
52825
52826 cppunit_major_version=`echo $cppunit_version | \
52827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52828 cppunit_minor_version=`echo $cppunit_version | \
52829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52830 cppunit_micro_version=`echo $cppunit_version | \
52831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52832
52833 cppunit_major_min=`echo $cppunit_version_min | \
52834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52835 cppunit_minor_min=`echo $cppunit_version_min | \
52836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52837 cppunit_micro_min=`echo $cppunit_version_min | \
52838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52839
52840 cppunit_version_proper=`expr \
52841 $cppunit_major_version \> $cppunit_major_min \| \
52842 $cppunit_major_version \= $cppunit_major_min \& \
52843 $cppunit_minor_version \> $cppunit_minor_min \| \
52844 $cppunit_major_version \= $cppunit_major_min \& \
52845 $cppunit_minor_version \= $cppunit_minor_min \& \
52846 $cppunit_micro_version \>= $cppunit_micro_min `
52847
52848 if test "$cppunit_version_proper" = "1" ; then
52849 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52850 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52851 else
52852 { echo "$as_me:$LINENO: result: no" >&5
52853 echo "${ECHO_T}no" >&6; }
52854 no_cppunit=yes
52855 fi
52856 fi
52857
52858 if test "x$no_cppunit" = x ; then
52859 SUBDIRS="$SUBDIRS tests"
52860 else
52861 CPPUNIT_CFLAGS=""
52862 CPPUNIT_LIBS=""
52863 :
52864 fi
52865
52866
52867
52868
52869
52870 for subdir in `echo $SUBDIRS`; do
52871 if test -d ${srcdir}/${subdir} ; then
52872 if test "$wxUSE_GUI" = "yes"; then
52873 if test ${subdir} = "samples"; then
52874 makefiles="samples/Makefile.in $makefiles"
52875 for sample in `echo $SAMPLES_SUBDIRS`; do
52876 if test -d $srcdir/samples/$sample; then
52877 makefiles="samples/$sample/Makefile.in $makefiles"
52878 fi
52879 done
52880 else
52881 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52882 eval "disabled=\$$disabled_var"
52883 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52884 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52885 fi
52886 else if test ${subdir} = "samples"; then
52887 makefiles="samples/Makefile.in samples/console/Makefile.in"
52888 elif test ${subdir} = "utils"; then
52889 makefiles=""
52890 for util in HelpGen tex2rtf ; do
52891 if test -d $srcdir/utils/$util ; then
52892 makefiles="utils/$util/Makefile.in \
52893 utils/$util/src/Makefile.in \
52894 $makefiles"
52895 fi
52896 done
52897 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52898 fi
52899 fi
52900
52901 for mkin in $makefiles ; do
52902 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52903 ac_config_files="$ac_config_files $mk"
52904
52905 done
52906 fi
52907 done
52908 fi
52909 cat >confcache <<\_ACEOF
52910 # This file is a shell script that caches the results of configure
52911 # tests run on this system so they can be shared between configure
52912 # scripts and configure runs, see configure's option --config-cache.
52913 # It is not useful on other systems. If it contains results you don't
52914 # want to keep, you may remove or edit it.
52915 #
52916 # config.status only pays attention to the cache file if you give it
52917 # the --recheck option to rerun configure.
52918 #
52919 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52920 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52921 # following values.
52922
52923 _ACEOF
52924
52925 # The following way of writing the cache mishandles newlines in values,
52926 # but we know of no workaround that is simple, portable, and efficient.
52927 # So, we kill variables containing newlines.
52928 # Ultrix sh set writes to stderr and can't be redirected directly,
52929 # and sets the high bit in the cache file unless we assign to the vars.
52930 (
52931 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52932 eval ac_val=\$$ac_var
52933 case $ac_val in #(
52934 *${as_nl}*)
52935 case $ac_var in #(
52936 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52937 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52938 esac
52939 case $ac_var in #(
52940 _ | IFS | as_nl) ;; #(
52941 *) $as_unset $ac_var ;;
52942 esac ;;
52943 esac
52944 done
52945
52946 (set) 2>&1 |
52947 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52948 *${as_nl}ac_space=\ *)
52949 # `set' does not quote correctly, so add quotes (double-quote
52950 # substitution turns \\\\ into \\, and sed turns \\ into \).
52951 sed -n \
52952 "s/'/'\\\\''/g;
52953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52954 ;; #(
52955 *)
52956 # `set' quotes correctly as required by POSIX, so do not add quotes.
52957 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52958 ;;
52959 esac |
52960 sort
52961 ) |
52962 sed '
52963 /^ac_cv_env_/b end
52964 t clear
52965 :clear
52966 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52967 t end
52968 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52969 :end' >>confcache
52970 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52971 if test -w "$cache_file"; then
52972 test "x$cache_file" != "x/dev/null" &&
52973 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52974 echo "$as_me: updating cache $cache_file" >&6;}
52975 cat confcache >$cache_file
52976 else
52977 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52978 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52979 fi
52980 fi
52981 rm -f confcache
52982
52983 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52984 # Let make expand exec_prefix.
52985 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52986
52987 DEFS=-DHAVE_CONFIG_H
52988
52989 ac_libobjs=
52990 ac_ltlibobjs=
52991 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52992 # 1. Remove the extension, and $U if already installed.
52993 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52994 ac_i=`echo "$ac_i" | sed "$ac_script"`
52995 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52996 # will be set to the directory where LIBOBJS objects are built.
52997 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52998 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52999 done
53000 LIBOBJS=$ac_libobjs
53001
53002 LTLIBOBJS=$ac_ltlibobjs
53003
53004
53005
53006 : ${CONFIG_STATUS=./config.status}
53007 ac_clean_files_save=$ac_clean_files
53008 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53009 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53010 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53011 cat >$CONFIG_STATUS <<_ACEOF
53012 #! $SHELL
53013 # Generated by $as_me.
53014 # Run this file to recreate the current configuration.
53015 # Compiler output produced by configure, useful for debugging
53016 # configure, is in config.log if it exists.
53017
53018 debug=false
53019 ac_cs_recheck=false
53020 ac_cs_silent=false
53021 SHELL=\${CONFIG_SHELL-$SHELL}
53022 _ACEOF
53023
53024 cat >>$CONFIG_STATUS <<\_ACEOF
53025 ## --------------------- ##
53026 ## M4sh Initialization. ##
53027 ## --------------------- ##
53028
53029 # Be more Bourne compatible
53030 DUALCASE=1; export DUALCASE # for MKS sh
53031 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53032 emulate sh
53033 NULLCMD=:
53034 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53035 # is contrary to our usage. Disable this feature.
53036 alias -g '${1+"$@"}'='"$@"'
53037 setopt NO_GLOB_SUBST
53038 else
53039 case `(set -o) 2>/dev/null` in
53040 *posix*) set -o posix ;;
53041 esac
53042
53043 fi
53044
53045
53046
53047
53048 # PATH needs CR
53049 # Avoid depending upon Character Ranges.
53050 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53051 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53052 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53053 as_cr_digits='0123456789'
53054 as_cr_alnum=$as_cr_Letters$as_cr_digits
53055
53056 # The user is always right.
53057 if test "${PATH_SEPARATOR+set}" != set; then
53058 echo "#! /bin/sh" >conf$$.sh
53059 echo "exit 0" >>conf$$.sh
53060 chmod +x conf$$.sh
53061 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53062 PATH_SEPARATOR=';'
53063 else
53064 PATH_SEPARATOR=:
53065 fi
53066 rm -f conf$$.sh
53067 fi
53068
53069 # Support unset when possible.
53070 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53071 as_unset=unset
53072 else
53073 as_unset=false
53074 fi
53075
53076
53077 # IFS
53078 # We need space, tab and new line, in precisely that order. Quoting is
53079 # there to prevent editors from complaining about space-tab.
53080 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53081 # splitting by setting IFS to empty value.)
53082 as_nl='
53083 '
53084 IFS=" "" $as_nl"
53085
53086 # Find who we are. Look in the path if we contain no directory separator.
53087 case $0 in
53088 *[\\/]* ) as_myself=$0 ;;
53089 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53090 for as_dir in $PATH
53091 do
53092 IFS=$as_save_IFS
53093 test -z "$as_dir" && as_dir=.
53094 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53095 done
53096 IFS=$as_save_IFS
53097
53098 ;;
53099 esac
53100 # We did not find ourselves, most probably we were run as `sh COMMAND'
53101 # in which case we are not to be found in the path.
53102 if test "x$as_myself" = x; then
53103 as_myself=$0
53104 fi
53105 if test ! -f "$as_myself"; then
53106 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53107 { (exit 1); exit 1; }
53108 fi
53109
53110 # Work around bugs in pre-3.0 UWIN ksh.
53111 for as_var in ENV MAIL MAILPATH
53112 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53113 done
53114 PS1='$ '
53115 PS2='> '
53116 PS4='+ '
53117
53118 # NLS nuisances.
53119 for as_var in \
53120 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53121 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53122 LC_TELEPHONE LC_TIME
53123 do
53124 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53125 eval $as_var=C; export $as_var
53126 else
53127 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53128 fi
53129 done
53130
53131 # Required to use basename.
53132 if expr a : '\(a\)' >/dev/null 2>&1 &&
53133 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53134 as_expr=expr
53135 else
53136 as_expr=false
53137 fi
53138
53139 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53140 as_basename=basename
53141 else
53142 as_basename=false
53143 fi
53144
53145
53146 # Name of the executable.
53147 as_me=`$as_basename -- "$0" ||
53148 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53149 X"$0" : 'X\(//\)$' \| \
53150 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53151 echo X/"$0" |
53152 sed '/^.*\/\([^/][^/]*\)\/*$/{
53153 s//\1/
53154 q
53155 }
53156 /^X\/\(\/\/\)$/{
53157 s//\1/
53158 q
53159 }
53160 /^X\/\(\/\).*/{
53161 s//\1/
53162 q
53163 }
53164 s/.*/./; q'`
53165
53166 # CDPATH.
53167 $as_unset CDPATH
53168
53169
53170
53171 as_lineno_1=$LINENO
53172 as_lineno_2=$LINENO
53173 test "x$as_lineno_1" != "x$as_lineno_2" &&
53174 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53175
53176 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53177 # uniformly replaced by the line number. The first 'sed' inserts a
53178 # line-number line after each line using $LINENO; the second 'sed'
53179 # does the real work. The second script uses 'N' to pair each
53180 # line-number line with the line containing $LINENO, and appends
53181 # trailing '-' during substitution so that $LINENO is not a special
53182 # case at line end.
53183 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53184 # scripts with optimization help from Paolo Bonzini. Blame Lee
53185 # E. McMahon (1931-1989) for sed's syntax. :-)
53186 sed -n '
53187 p
53188 /[$]LINENO/=
53189 ' <$as_myself |
53190 sed '
53191 s/[$]LINENO.*/&-/
53192 t lineno
53193 b
53194 :lineno
53195 N
53196 :loop
53197 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53198 t loop
53199 s/-\n.*//
53200 ' >$as_me.lineno &&
53201 chmod +x "$as_me.lineno" ||
53202 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53203 { (exit 1); exit 1; }; }
53204
53205 # Don't try to exec as it changes $[0], causing all sort of problems
53206 # (the dirname of $[0] is not the place where we might find the
53207 # original and so on. Autoconf is especially sensitive to this).
53208 . "./$as_me.lineno"
53209 # Exit status is that of the last command.
53210 exit
53211 }
53212
53213
53214 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53215 as_dirname=dirname
53216 else
53217 as_dirname=false
53218 fi
53219
53220 ECHO_C= ECHO_N= ECHO_T=
53221 case `echo -n x` in
53222 -n*)
53223 case `echo 'x\c'` in
53224 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53225 *) ECHO_C='\c';;
53226 esac;;
53227 *)
53228 ECHO_N='-n';;
53229 esac
53230
53231 if expr a : '\(a\)' >/dev/null 2>&1 &&
53232 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53233 as_expr=expr
53234 else
53235 as_expr=false
53236 fi
53237
53238 rm -f conf$$ conf$$.exe conf$$.file
53239 if test -d conf$$.dir; then
53240 rm -f conf$$.dir/conf$$.file
53241 else
53242 rm -f conf$$.dir
53243 mkdir conf$$.dir
53244 fi
53245 echo >conf$$.file
53246 if ln -s conf$$.file conf$$ 2>/dev/null; then
53247 as_ln_s='ln -s'
53248 # ... but there are two gotchas:
53249 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53250 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53251 # In both cases, we have to default to `cp -p'.
53252 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53253 as_ln_s='cp -p'
53254 elif ln conf$$.file conf$$ 2>/dev/null; then
53255 as_ln_s=ln
53256 else
53257 as_ln_s='cp -p'
53258 fi
53259 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53260 rmdir conf$$.dir 2>/dev/null
53261
53262 if mkdir -p . 2>/dev/null; then
53263 as_mkdir_p=:
53264 else
53265 test -d ./-p && rmdir ./-p
53266 as_mkdir_p=false
53267 fi
53268
53269 if test -x / >/dev/null 2>&1; then
53270 as_test_x='test -x'
53271 else
53272 if ls -dL / >/dev/null 2>&1; then
53273 as_ls_L_option=L
53274 else
53275 as_ls_L_option=
53276 fi
53277 as_test_x='
53278 eval sh -c '\''
53279 if test -d "$1"; then
53280 test -d "$1/.";
53281 else
53282 case $1 in
53283 -*)set "./$1";;
53284 esac;
53285 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53286 ???[sx]*):;;*)false;;esac;fi
53287 '\'' sh
53288 '
53289 fi
53290 as_executable_p=$as_test_x
53291
53292 # Sed expression to map a string onto a valid CPP name.
53293 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53294
53295 # Sed expression to map a string onto a valid variable name.
53296 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53297
53298
53299 exec 6>&1
53300
53301 # Save the log message, to keep $[0] and so on meaningful, and to
53302 # report actual input values of CONFIG_FILES etc. instead of their
53303 # values after options handling.
53304 ac_log="
53305 This file was extended by wxWidgets $as_me 2.9.0, which was
53306 generated by GNU Autoconf 2.61. Invocation command line was
53307
53308 CONFIG_FILES = $CONFIG_FILES
53309 CONFIG_HEADERS = $CONFIG_HEADERS
53310 CONFIG_LINKS = $CONFIG_LINKS
53311 CONFIG_COMMANDS = $CONFIG_COMMANDS
53312 $ $0 $@
53313
53314 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53315 "
53316
53317 _ACEOF
53318
53319 cat >>$CONFIG_STATUS <<_ACEOF
53320 # Files that config.status was made for.
53321 config_files="$ac_config_files"
53322 config_headers="$ac_config_headers"
53323 config_commands="$ac_config_commands"
53324
53325 _ACEOF
53326
53327 cat >>$CONFIG_STATUS <<\_ACEOF
53328 ac_cs_usage="\
53329 \`$as_me' instantiates files from templates according to the
53330 current configuration.
53331
53332 Usage: $0 [OPTIONS] [FILE]...
53333
53334 -h, --help print this help, then exit
53335 -V, --version print version number and configuration settings, then exit
53336 -q, --quiet do not print progress messages
53337 -d, --debug don't remove temporary files
53338 --recheck update $as_me by reconfiguring in the same conditions
53339 --file=FILE[:TEMPLATE]
53340 instantiate the configuration file FILE
53341 --header=FILE[:TEMPLATE]
53342 instantiate the configuration header FILE
53343
53344 Configuration files:
53345 $config_files
53346
53347 Configuration headers:
53348 $config_headers
53349
53350 Configuration commands:
53351 $config_commands
53352
53353 Report bugs to <bug-autoconf@gnu.org>."
53354
53355 _ACEOF
53356 cat >>$CONFIG_STATUS <<_ACEOF
53357 ac_cs_version="\\
53358 wxWidgets config.status 2.9.0
53359 configured by $0, generated by GNU Autoconf 2.61,
53360 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53361
53362 Copyright (C) 2006 Free Software Foundation, Inc.
53363 This config.status script is free software; the Free Software Foundation
53364 gives unlimited permission to copy, distribute and modify it."
53365
53366 ac_pwd='$ac_pwd'
53367 srcdir='$srcdir'
53368 INSTALL='$INSTALL'
53369 _ACEOF
53370
53371 cat >>$CONFIG_STATUS <<\_ACEOF
53372 # If no file are specified by the user, then we need to provide default
53373 # value. By we need to know if files were specified by the user.
53374 ac_need_defaults=:
53375 while test $# != 0
53376 do
53377 case $1 in
53378 --*=*)
53379 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53380 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53381 ac_shift=:
53382 ;;
53383 *)
53384 ac_option=$1
53385 ac_optarg=$2
53386 ac_shift=shift
53387 ;;
53388 esac
53389
53390 case $ac_option in
53391 # Handling of the options.
53392 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53393 ac_cs_recheck=: ;;
53394 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53395 echo "$ac_cs_version"; exit ;;
53396 --debug | --debu | --deb | --de | --d | -d )
53397 debug=: ;;
53398 --file | --fil | --fi | --f )
53399 $ac_shift
53400 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53401 ac_need_defaults=false;;
53402 --header | --heade | --head | --hea )
53403 $ac_shift
53404 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53405 ac_need_defaults=false;;
53406 --he | --h)
53407 # Conflict between --help and --header
53408 { echo "$as_me: error: ambiguous option: $1
53409 Try \`$0 --help' for more information." >&2
53410 { (exit 1); exit 1; }; };;
53411 --help | --hel | -h )
53412 echo "$ac_cs_usage"; exit ;;
53413 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53414 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53415 ac_cs_silent=: ;;
53416
53417 # This is an error.
53418 -*) { echo "$as_me: error: unrecognized option: $1
53419 Try \`$0 --help' for more information." >&2
53420 { (exit 1); exit 1; }; } ;;
53421
53422 *) ac_config_targets="$ac_config_targets $1"
53423 ac_need_defaults=false ;;
53424
53425 esac
53426 shift
53427 done
53428
53429 ac_configure_extra_args=
53430
53431 if $ac_cs_silent; then
53432 exec 6>/dev/null
53433 ac_configure_extra_args="$ac_configure_extra_args --silent"
53434 fi
53435
53436 _ACEOF
53437 cat >>$CONFIG_STATUS <<_ACEOF
53438 if \$ac_cs_recheck; then
53439 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53440 CONFIG_SHELL=$SHELL
53441 export CONFIG_SHELL
53442 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53443 fi
53444
53445 _ACEOF
53446 cat >>$CONFIG_STATUS <<\_ACEOF
53447 exec 5>>config.log
53448 {
53449 echo
53450 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53451 ## Running $as_me. ##
53452 _ASBOX
53453 echo "$ac_log"
53454 } >&5
53455
53456 _ACEOF
53457 cat >>$CONFIG_STATUS <<_ACEOF
53458 #
53459 # INIT-COMMANDS
53460 #
53461
53462 CPP="$CPP"
53463 infile="$srcdir/include/wx/msw/genrcdefs.h"
53464 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53465
53466
53467 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53468 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53469 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53470 LN_S="${LN_S}"
53471
53472
53473 _ACEOF
53474
53475 cat >>$CONFIG_STATUS <<\_ACEOF
53476
53477 # Handling of arguments.
53478 for ac_config_target in $ac_config_targets
53479 do
53480 case $ac_config_target in
53481 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53482 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53483 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53484 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53485 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53486 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53487 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53488 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53489
53490 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53491 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53492 { (exit 1); exit 1; }; };;
53493 esac
53494 done
53495
53496
53497 # If the user did not use the arguments to specify the items to instantiate,
53498 # then the envvar interface is used. Set only those that are not.
53499 # We use the long form for the default assignment because of an extremely
53500 # bizarre bug on SunOS 4.1.3.
53501 if $ac_need_defaults; then
53502 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53503 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53504 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53505 fi
53506
53507 # Have a temporary directory for convenience. Make it in the build tree
53508 # simply because there is no reason against having it here, and in addition,
53509 # creating and moving files from /tmp can sometimes cause problems.
53510 # Hook for its removal unless debugging.
53511 # Note that there is a small window in which the directory will not be cleaned:
53512 # after its creation but before its name has been assigned to `$tmp'.
53513 $debug ||
53514 {
53515 tmp=
53516 trap 'exit_status=$?
53517 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53518 ' 0
53519 trap '{ (exit 1); exit 1; }' 1 2 13 15
53520 }
53521 # Create a (secure) tmp directory for tmp files.
53522
53523 {
53524 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53525 test -n "$tmp" && test -d "$tmp"
53526 } ||
53527 {
53528 tmp=./conf$$-$RANDOM
53529 (umask 077 && mkdir "$tmp")
53530 } ||
53531 {
53532 echo "$me: cannot create a temporary directory in ." >&2
53533 { (exit 1); exit 1; }
53534 }
53535
53536 #
53537 # Set up the sed scripts for CONFIG_FILES section.
53538 #
53539
53540 # No need to generate the scripts if there are no CONFIG_FILES.
53541 # This happens for instance when ./config.status config.h
53542 if test -n "$CONFIG_FILES"; then
53543
53544 _ACEOF
53545
53546
53547
53548 ac_delim='%!_!# '
53549 for ac_last_try in false false false false false :; do
53550 cat >conf$$subs.sed <<_ACEOF
53551 SHELL!$SHELL$ac_delim
53552 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53553 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53554 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53555 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53556 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53557 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53558 exec_prefix!$exec_prefix$ac_delim
53559 prefix!$prefix$ac_delim
53560 program_transform_name!$program_transform_name$ac_delim
53561 bindir!$bindir$ac_delim
53562 sbindir!$sbindir$ac_delim
53563 libexecdir!$libexecdir$ac_delim
53564 datarootdir!$datarootdir$ac_delim
53565 datadir!$datadir$ac_delim
53566 sysconfdir!$sysconfdir$ac_delim
53567 sharedstatedir!$sharedstatedir$ac_delim
53568 localstatedir!$localstatedir$ac_delim
53569 includedir!$includedir$ac_delim
53570 oldincludedir!$oldincludedir$ac_delim
53571 docdir!$docdir$ac_delim
53572 infodir!$infodir$ac_delim
53573 htmldir!$htmldir$ac_delim
53574 dvidir!$dvidir$ac_delim
53575 pdfdir!$pdfdir$ac_delim
53576 psdir!$psdir$ac_delim
53577 libdir!$libdir$ac_delim
53578 localedir!$localedir$ac_delim
53579 mandir!$mandir$ac_delim
53580 DEFS!$DEFS$ac_delim
53581 ECHO_C!$ECHO_C$ac_delim
53582 ECHO_N!$ECHO_N$ac_delim
53583 ECHO_T!$ECHO_T$ac_delim
53584 LIBS!$LIBS$ac_delim
53585 build_alias!$build_alias$ac_delim
53586 host_alias!$host_alias$ac_delim
53587 target_alias!$target_alias$ac_delim
53588 build!$build$ac_delim
53589 build_cpu!$build_cpu$ac_delim
53590 build_vendor!$build_vendor$ac_delim
53591 build_os!$build_os$ac_delim
53592 host!$host$ac_delim
53593 host_cpu!$host_cpu$ac_delim
53594 host_vendor!$host_vendor$ac_delim
53595 host_os!$host_os$ac_delim
53596 target!$target$ac_delim
53597 target_cpu!$target_cpu$ac_delim
53598 target_vendor!$target_vendor$ac_delim
53599 target_os!$target_os$ac_delim
53600 wx_top_builddir!$wx_top_builddir$ac_delim
53601 CC!$CC$ac_delim
53602 CFLAGS!$CFLAGS$ac_delim
53603 LDFLAGS!$LDFLAGS$ac_delim
53604 CPPFLAGS!$CPPFLAGS$ac_delim
53605 ac_ct_CC!$ac_ct_CC$ac_delim
53606 EXEEXT!$EXEEXT$ac_delim
53607 OBJEXT!$OBJEXT$ac_delim
53608 CPP!$CPP$ac_delim
53609 GREP!$GREP$ac_delim
53610 EGREP!$EGREP$ac_delim
53611 CXX!$CXX$ac_delim
53612 CXXFLAGS!$CXXFLAGS$ac_delim
53613 ac_ct_CXX!$ac_ct_CXX$ac_delim
53614 RANLIB!$RANLIB$ac_delim
53615 AR!$AR$ac_delim
53616 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53617 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53618 INSTALL_DATA!$INSTALL_DATA$ac_delim
53619 STRIP!$STRIP$ac_delim
53620 WINDRES!$WINDRES$ac_delim
53621 DLLTOOL!$DLLTOOL$ac_delim
53622 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53623 LN_S!$LN_S$ac_delim
53624 subdirs!$subdirs$ac_delim
53625 PKG_CONFIG!$PKG_CONFIG$ac_delim
53626 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53627 GTK_LIBS!$GTK_LIBS$ac_delim
53628 GTK_CONFIG!$GTK_CONFIG$ac_delim
53629 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53630 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53631 XMKMF!$XMKMF$ac_delim
53632 X_CFLAGS!$X_CFLAGS$ac_delim
53633 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53634 X_LIBS!$X_LIBS$ac_delim
53635 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53636 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53637 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53638 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53639 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53640 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53641 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53642 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53643 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53644 REZ!$REZ$ac_delim
53645 DEREZ!$DEREZ$ac_delim
53646 SETFILE!$SETFILE$ac_delim
53647 LIBICONV!$LIBICONV$ac_delim
53648 _ACEOF
53649
53650 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53651 break
53652 elif $ac_last_try; then
53653 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53654 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53655 { (exit 1); exit 1; }; }
53656 else
53657 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53658 fi
53659 done
53660
53661 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53662 if test -n "$ac_eof"; then
53663 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53664 ac_eof=`expr $ac_eof + 1`
53665 fi
53666
53667 cat >>$CONFIG_STATUS <<_ACEOF
53668 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53670 _ACEOF
53671 sed '
53672 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53673 s/^/s,@/; s/!/@,|#_!!_#|/
53674 :n
53675 t n
53676 s/'"$ac_delim"'$/,g/; t
53677 s/$/\\/; p
53678 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53679 ' >>$CONFIG_STATUS <conf$$subs.sed
53680 rm -f conf$$subs.sed
53681 cat >>$CONFIG_STATUS <<_ACEOF
53682 CEOF$ac_eof
53683 _ACEOF
53684
53685
53686 ac_delim='%!_!# '
53687 for ac_last_try in false false false false false :; do
53688 cat >conf$$subs.sed <<_ACEOF
53689 SDL_CONFIG!$SDL_CONFIG$ac_delim
53690 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53691 SDL_LIBS!$SDL_LIBS$ac_delim
53692 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53693 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53694 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53695 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53696 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53697 HILDON_LIBS!$HILDON_LIBS$ac_delim
53698 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53699 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53700 GST_CFLAGS!$GST_CFLAGS$ac_delim
53701 GST_LIBS!$GST_LIBS$ac_delim
53702 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53703 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53704 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53705 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53706 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53707 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53708 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53709 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53710 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53711 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53712 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53713 VENDOR!$VENDOR$ac_delim
53714 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53715 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53716 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53717 WXUNIV!$WXUNIV$ac_delim
53718 MONOLITHIC!$MONOLITHIC$ac_delim
53719 USE_PLUGINS!$USE_PLUGINS$ac_delim
53720 CXXWARNINGS!$CXXWARNINGS$ac_delim
53721 EXTRALIBS!$EXTRALIBS$ac_delim
53722 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53723 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53724 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53725 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53726 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53727 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53728 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53729 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53730 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53731 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53732 UNICODE!$UNICODE$ac_delim
53733 BUILD!$BUILD$ac_delim
53734 DEBUG_INFO!$DEBUG_INFO$ac_delim
53735 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53736 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53737 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53738 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53739 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53740 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53741 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53742 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53743 SET_MAKE!$SET_MAKE$ac_delim
53744 MAKE_SET!$MAKE_SET$ac_delim
53745 AROPTIONS!$AROPTIONS$ac_delim
53746 NM!$NM$ac_delim
53747 INSTALL_DIR!$INSTALL_DIR$ac_delim
53748 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53749 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53750 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53751 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53752 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53753 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53754 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53755 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53756 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53757 SO_SUFFIX!$SO_SUFFIX$ac_delim
53758 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53759 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53760 LIBPREFIX!$LIBPREFIX$ac_delim
53761 LIBEXT!$LIBEXT$ac_delim
53762 DLLPREFIX!$DLLPREFIX$ac_delim
53763 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53764 dlldir!$dlldir$ac_delim
53765 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53766 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53767 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53768 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53769 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53770 PIC_FLAG!$PIC_FLAG$ac_delim
53771 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53772 USE_SOVERSION!$USE_SOVERSION$ac_delim
53773 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53774 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53775 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53776 USE_MACVERSION!$USE_MACVERSION$ac_delim
53777 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53778 SONAME_FLAG!$SONAME_FLAG$ac_delim
53779 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53780 BK_DEPS!$BK_DEPS$ac_delim
53781 GCC_PCH!$GCC_PCH$ac_delim
53782 ICC_PCH!$ICC_PCH$ac_delim
53783 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53784 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53785 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53786 _ACEOF
53787
53788 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53789 break
53790 elif $ac_last_try; then
53791 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53792 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53793 { (exit 1); exit 1; }; }
53794 else
53795 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53796 fi
53797 done
53798
53799 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53800 if test -n "$ac_eof"; then
53801 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53802 ac_eof=`expr $ac_eof + 1`
53803 fi
53804
53805 cat >>$CONFIG_STATUS <<_ACEOF
53806 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53808 _ACEOF
53809 sed '
53810 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53811 s/^/s,@/; s/!/@,|#_!!_#|/
53812 :n
53813 t n
53814 s/'"$ac_delim"'$/,g/; t
53815 s/$/\\/; p
53816 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53817 ' >>$CONFIG_STATUS <conf$$subs.sed
53818 rm -f conf$$subs.sed
53819 cat >>$CONFIG_STATUS <<_ACEOF
53820 CEOF$ac_eof
53821 _ACEOF
53822
53823
53824 ac_delim='%!_!# '
53825 for ac_last_try in false false false false false :; do
53826 cat >conf$$subs.sed <<_ACEOF
53827 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53828 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53829 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53830 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53831 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53832 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53833 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53834 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53835 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53836 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53837 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53838 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53839 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53840 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53841 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53842 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53849 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53851 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53852 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53853 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53854 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53860 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53861 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53863 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53864 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53865 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53866 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53867 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53868 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53869 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53870 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53871 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53872 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53873 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53874 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53875 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53876 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53877 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53878 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53879 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53880 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53881 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53882 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53883 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53884 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53885 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53886 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53887 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53888 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53889 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53890 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53891 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53892 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53893 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53894 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53895 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53896 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53897 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53898 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53899 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53901 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53902 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53903 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53904 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53905 COND_SHARED_0!$COND_SHARED_0$ac_delim
53906 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53907 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53908 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53909 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53910 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53911 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53912 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53913 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53914 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53915 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53916 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53917 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53918 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53919 COND_SHARED_1!$COND_SHARED_1$ac_delim
53920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53921 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53922 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53923 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53924 _ACEOF
53925
53926 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53927 break
53928 elif $ac_last_try; then
53929 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53930 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53931 { (exit 1); exit 1; }; }
53932 else
53933 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53934 fi
53935 done
53936
53937 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53938 if test -n "$ac_eof"; then
53939 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53940 ac_eof=`expr $ac_eof + 1`
53941 fi
53942
53943 cat >>$CONFIG_STATUS <<_ACEOF
53944 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53945 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53946 _ACEOF
53947 sed '
53948 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53949 s/^/s,@/; s/!/@,|#_!!_#|/
53950 :n
53951 t n
53952 s/'"$ac_delim"'$/,g/; t
53953 s/$/\\/; p
53954 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53955 ' >>$CONFIG_STATUS <conf$$subs.sed
53956 rm -f conf$$subs.sed
53957 cat >>$CONFIG_STATUS <<_ACEOF
53958 CEOF$ac_eof
53959 _ACEOF
53960
53961
53962 ac_delim='%!_!# '
53963 for ac_last_try in false false false false false :; do
53964 cat >conf$$subs.sed <<_ACEOF
53965 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53966 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53967 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53968 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53969 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53970 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53971 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53972 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53973 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53974 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53975 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53976 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53977 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53978 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53979 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53980 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53981 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53982 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53983 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53984 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53985 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53986 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53987 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53988 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53989 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53990 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53991 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53992 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53993 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53994 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53995 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53996 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53997 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53998 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53999 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54000 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54001 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54002 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54003 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54004 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54005 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54006 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54007 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54008 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54009 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54010 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54011 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54012 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54013 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54014 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54015 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54016 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54017 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54018 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54019 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54020 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54021 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54022 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54023 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54024 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54025 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54026 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54027 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54028 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54029 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54030 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54031 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54032 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54033 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54034 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54035 SHARED!$SHARED$ac_delim
54036 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54037 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54038 USE_GUI!$USE_GUI$ac_delim
54039 AFMINSTALL!$AFMINSTALL$ac_delim
54040 WIN32INSTALL!$WIN32INSTALL$ac_delim
54041 TOOLKIT!$TOOLKIT$ac_delim
54042 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54043 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54044 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54045 cross_compiling!$cross_compiling$ac_delim
54046 WIDGET_SET!$WIDGET_SET$ac_delim
54047 WX_RELEASE!$WX_RELEASE$ac_delim
54048 WX_VERSION!$WX_VERSION$ac_delim
54049 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54050 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54051 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54052 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54053 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54054 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54055 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54056 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54057 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54058 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54059 EXE_LINKER!$EXE_LINKER$ac_delim
54060 GUIDIST!$GUIDIST$ac_delim
54061 DISTDIR!$DISTDIR$ac_delim
54062 _ACEOF
54063
54064 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54065 break
54066 elif $ac_last_try; then
54067 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54068 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54069 { (exit 1); exit 1; }; }
54070 else
54071 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54072 fi
54073 done
54074
54075 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54076 if test -n "$ac_eof"; then
54077 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54078 ac_eof=`expr $ac_eof + 1`
54079 fi
54080
54081 cat >>$CONFIG_STATUS <<_ACEOF
54082 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54083 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54084 _ACEOF
54085 sed '
54086 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54087 s/^/s,@/; s/!/@,|#_!!_#|/
54088 :n
54089 t n
54090 s/'"$ac_delim"'$/,g/; t
54091 s/$/\\/; p
54092 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54093 ' >>$CONFIG_STATUS <conf$$subs.sed
54094 rm -f conf$$subs.sed
54095 cat >>$CONFIG_STATUS <<_ACEOF
54096 CEOF$ac_eof
54097 _ACEOF
54098
54099
54100 ac_delim='%!_!# '
54101 for ac_last_try in false false false false false :; do
54102 cat >conf$$subs.sed <<_ACEOF
54103 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54104 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54105 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54106 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54107 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54108 RESCOMP!$RESCOMP$ac_delim
54109 RESFLAGS!$RESFLAGS$ac_delim
54110 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54111 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54112 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54113 LIBWXMACRES!$LIBWXMACRES$ac_delim
54114 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54115 MACSETFILE!$MACSETFILE$ac_delim
54116 GCC!$GCC$ac_delim
54117 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54118 LIBOBJS!$LIBOBJS$ac_delim
54119 LTLIBOBJS!$LTLIBOBJS$ac_delim
54120 _ACEOF
54121
54122 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54123 break
54124 elif $ac_last_try; then
54125 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54126 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54127 { (exit 1); exit 1; }; }
54128 else
54129 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54130 fi
54131 done
54132
54133 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54134 if test -n "$ac_eof"; then
54135 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54136 ac_eof=`expr $ac_eof + 1`
54137 fi
54138
54139 cat >>$CONFIG_STATUS <<_ACEOF
54140 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54141 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54142 _ACEOF
54143 sed '
54144 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54145 s/^/s,@/; s/!/@,|#_!!_#|/
54146 :n
54147 t n
54148 s/'"$ac_delim"'$/,g/; t
54149 s/$/\\/; p
54150 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54151 ' >>$CONFIG_STATUS <conf$$subs.sed
54152 rm -f conf$$subs.sed
54153 cat >>$CONFIG_STATUS <<_ACEOF
54154 :end
54155 s/|#_!!_#|//g
54156 CEOF$ac_eof
54157 _ACEOF
54158
54159
54160 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54161 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54162 # trailing colons and then remove the whole line if VPATH becomes empty
54163 # (actually we leave an empty line to preserve line numbers).
54164 if test "x$srcdir" = x.; then
54165 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54166 s/:*\$(srcdir):*/:/
54167 s/:*\${srcdir}:*/:/
54168 s/:*@srcdir@:*/:/
54169 s/^\([^=]*=[ ]*\):*/\1/
54170 s/:*$//
54171 s/^[^=]*=[ ]*$//
54172 }'
54173 fi
54174
54175 cat >>$CONFIG_STATUS <<\_ACEOF
54176 fi # test -n "$CONFIG_FILES"
54177
54178
54179 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54180 do
54181 case $ac_tag in
54182 :[FHLC]) ac_mode=$ac_tag; continue;;
54183 esac
54184 case $ac_mode$ac_tag in
54185 :[FHL]*:*);;
54186 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54187 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54188 { (exit 1); exit 1; }; };;
54189 :[FH]-) ac_tag=-:-;;
54190 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54191 esac
54192 ac_save_IFS=$IFS
54193 IFS=:
54194 set x $ac_tag
54195 IFS=$ac_save_IFS
54196 shift
54197 ac_file=$1
54198 shift
54199
54200 case $ac_mode in
54201 :L) ac_source=$1;;
54202 :[FH])
54203 ac_file_inputs=
54204 for ac_f
54205 do
54206 case $ac_f in
54207 -) ac_f="$tmp/stdin";;
54208 *) # Look for the file first in the build tree, then in the source tree
54209 # (if the path is not absolute). The absolute path cannot be DOS-style,
54210 # because $ac_f cannot contain `:'.
54211 test -f "$ac_f" ||
54212 case $ac_f in
54213 [\\/$]*) false;;
54214 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54215 esac ||
54216 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54217 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54218 { (exit 1); exit 1; }; };;
54219 esac
54220 ac_file_inputs="$ac_file_inputs $ac_f"
54221 done
54222
54223 # Let's still pretend it is `configure' which instantiates (i.e., don't
54224 # use $as_me), people would be surprised to read:
54225 # /* config.h. Generated by config.status. */
54226 configure_input="Generated from "`IFS=:
54227 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54228 if test x"$ac_file" != x-; then
54229 configure_input="$ac_file. $configure_input"
54230 { echo "$as_me:$LINENO: creating $ac_file" >&5
54231 echo "$as_me: creating $ac_file" >&6;}
54232 fi
54233
54234 case $ac_tag in
54235 *:-:* | *:-) cat >"$tmp/stdin";;
54236 esac
54237 ;;
54238 esac
54239
54240 ac_dir=`$as_dirname -- "$ac_file" ||
54241 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54242 X"$ac_file" : 'X\(//\)[^/]' \| \
54243 X"$ac_file" : 'X\(//\)$' \| \
54244 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54245 echo X"$ac_file" |
54246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54247 s//\1/
54248 q
54249 }
54250 /^X\(\/\/\)[^/].*/{
54251 s//\1/
54252 q
54253 }
54254 /^X\(\/\/\)$/{
54255 s//\1/
54256 q
54257 }
54258 /^X\(\/\).*/{
54259 s//\1/
54260 q
54261 }
54262 s/.*/./; q'`
54263 { as_dir="$ac_dir"
54264 case $as_dir in #(
54265 -*) as_dir=./$as_dir;;
54266 esac
54267 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54268 as_dirs=
54269 while :; do
54270 case $as_dir in #(
54271 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54272 *) as_qdir=$as_dir;;
54273 esac
54274 as_dirs="'$as_qdir' $as_dirs"
54275 as_dir=`$as_dirname -- "$as_dir" ||
54276 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54277 X"$as_dir" : 'X\(//\)[^/]' \| \
54278 X"$as_dir" : 'X\(//\)$' \| \
54279 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54280 echo X"$as_dir" |
54281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54282 s//\1/
54283 q
54284 }
54285 /^X\(\/\/\)[^/].*/{
54286 s//\1/
54287 q
54288 }
54289 /^X\(\/\/\)$/{
54290 s//\1/
54291 q
54292 }
54293 /^X\(\/\).*/{
54294 s//\1/
54295 q
54296 }
54297 s/.*/./; q'`
54298 test -d "$as_dir" && break
54299 done
54300 test -z "$as_dirs" || eval "mkdir $as_dirs"
54301 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54302 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54303 { (exit 1); exit 1; }; }; }
54304 ac_builddir=.
54305
54306 case "$ac_dir" in
54307 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54308 *)
54309 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54310 # A ".." for each directory in $ac_dir_suffix.
54311 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54312 case $ac_top_builddir_sub in
54313 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54314 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54315 esac ;;
54316 esac
54317 ac_abs_top_builddir=$ac_pwd
54318 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54319 # for backward compatibility:
54320 ac_top_builddir=$ac_top_build_prefix
54321
54322 case $srcdir in
54323 .) # We are building in place.
54324 ac_srcdir=.
54325 ac_top_srcdir=$ac_top_builddir_sub
54326 ac_abs_top_srcdir=$ac_pwd ;;
54327 [\\/]* | ?:[\\/]* ) # Absolute name.
54328 ac_srcdir=$srcdir$ac_dir_suffix;
54329 ac_top_srcdir=$srcdir
54330 ac_abs_top_srcdir=$srcdir ;;
54331 *) # Relative name.
54332 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54333 ac_top_srcdir=$ac_top_build_prefix$srcdir
54334 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54335 esac
54336 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54337
54338
54339 case $ac_mode in
54340 :F)
54341 #
54342 # CONFIG_FILE
54343 #
54344
54345 case $INSTALL in
54346 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54347 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54348 esac
54349 _ACEOF
54350
54351 cat >>$CONFIG_STATUS <<\_ACEOF
54352 # If the template does not know about datarootdir, expand it.
54353 # FIXME: This hack should be removed a few years after 2.60.
54354 ac_datarootdir_hack=; ac_datarootdir_seen=
54355
54356 case `sed -n '/datarootdir/ {
54357 p
54358 q
54359 }
54360 /@datadir@/p
54361 /@docdir@/p
54362 /@infodir@/p
54363 /@localedir@/p
54364 /@mandir@/p
54365 ' $ac_file_inputs` in
54366 *datarootdir*) ac_datarootdir_seen=yes;;
54367 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54368 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54369 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54370 _ACEOF
54371 cat >>$CONFIG_STATUS <<_ACEOF
54372 ac_datarootdir_hack='
54373 s&@datadir@&$datadir&g
54374 s&@docdir@&$docdir&g
54375 s&@infodir@&$infodir&g
54376 s&@localedir@&$localedir&g
54377 s&@mandir@&$mandir&g
54378 s&\\\${datarootdir}&$datarootdir&g' ;;
54379 esac
54380 _ACEOF
54381
54382 # Neutralize VPATH when `$srcdir' = `.'.
54383 # Shell code in configure.ac might set extrasub.
54384 # FIXME: do we really want to maintain this feature?
54385 cat >>$CONFIG_STATUS <<_ACEOF
54386 sed "$ac_vpsub
54387 $extrasub
54388 _ACEOF
54389 cat >>$CONFIG_STATUS <<\_ACEOF
54390 :t
54391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54392 s&@configure_input@&$configure_input&;t t
54393 s&@top_builddir@&$ac_top_builddir_sub&;t t
54394 s&@srcdir@&$ac_srcdir&;t t
54395 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54396 s&@top_srcdir@&$ac_top_srcdir&;t t
54397 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54398 s&@builddir@&$ac_builddir&;t t
54399 s&@abs_builddir@&$ac_abs_builddir&;t t
54400 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54401 s&@INSTALL@&$ac_INSTALL&;t t
54402 $ac_datarootdir_hack
54403 " $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
54404
54405 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54406 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54407 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54408 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54409 which seems to be undefined. Please make sure it is defined." >&5
54410 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54411 which seems to be undefined. Please make sure it is defined." >&2;}
54412
54413 rm -f "$tmp/stdin"
54414 case $ac_file in
54415 -) cat "$tmp/out"; rm -f "$tmp/out";;
54416 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54417 esac
54418 ;;
54419 :H)
54420 #
54421 # CONFIG_HEADER
54422 #
54423 _ACEOF
54424
54425 # Transform confdefs.h into a sed script `conftest.defines', that
54426 # substitutes the proper values into config.h.in to produce config.h.
54427 rm -f conftest.defines conftest.tail
54428 # First, append a space to every undef/define line, to ease matching.
54429 echo 's/$/ /' >conftest.defines
54430 # Then, protect against being on the right side of a sed subst, or in
54431 # an unquoted here document, in config.status. If some macros were
54432 # called several times there might be several #defines for the same
54433 # symbol, which is useless. But do not sort them, since the last
54434 # AC_DEFINE must be honored.
54435 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54436 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54437 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54438 # PARAMS is the parameter list in the macro definition--in most cases, it's
54439 # just an empty string.
54440 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54441 ac_dB='\\)[ (].*,\\1define\\2'
54442 ac_dC=' '
54443 ac_dD=' ,'
54444
54445 uniq confdefs.h |
54446 sed -n '
54447 t rset
54448 :rset
54449 s/^[ ]*#[ ]*define[ ][ ]*//
54450 t ok
54451 d
54452 :ok
54453 s/[\\&,]/\\&/g
54454 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54455 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54456 ' >>conftest.defines
54457
54458 # Remove the space that was appended to ease matching.
54459 # Then replace #undef with comments. This is necessary, for
54460 # example, in the case of _POSIX_SOURCE, which is predefined and required
54461 # on some systems where configure will not decide to define it.
54462 # (The regexp can be short, since the line contains either #define or #undef.)
54463 echo 's/ $//
54464 s,^[ #]*u.*,/* & */,' >>conftest.defines
54465
54466 # Break up conftest.defines:
54467 ac_max_sed_lines=50
54468
54469 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54470 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54471 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54472 # et cetera.
54473 ac_in='$ac_file_inputs'
54474 ac_out='"$tmp/out1"'
54475 ac_nxt='"$tmp/out2"'
54476
54477 while :
54478 do
54479 # Write a here document:
54480 cat >>$CONFIG_STATUS <<_ACEOF
54481 # First, check the format of the line:
54482 cat >"\$tmp/defines.sed" <<\\CEOF
54483 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54484 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54485 b
54486 :def
54487 _ACEOF
54488 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54489 echo 'CEOF
54490 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54491 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54492 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54493 grep . conftest.tail >/dev/null || break
54494 rm -f conftest.defines
54495 mv conftest.tail conftest.defines
54496 done
54497 rm -f conftest.defines conftest.tail
54498
54499 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54500 cat >>$CONFIG_STATUS <<\_ACEOF
54501 if test x"$ac_file" != x-; then
54502 echo "/* $configure_input */" >"$tmp/config.h"
54503 cat "$ac_result" >>"$tmp/config.h"
54504 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54505 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54506 echo "$as_me: $ac_file is unchanged" >&6;}
54507 else
54508 rm -f $ac_file
54509 mv "$tmp/config.h" $ac_file
54510 fi
54511 else
54512 echo "/* $configure_input */"
54513 cat "$ac_result"
54514 fi
54515 rm -f "$tmp/out12"
54516 ;;
54517
54518 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54519 echo "$as_me: executing $ac_file commands" >&6;}
54520 ;;
54521 esac
54522
54523
54524 case $ac_file$ac_mode in
54525 "rcdefs.h":C)
54526 mkdir -p $outdir &&
54527 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54528 ;;
54529 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54530 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54531 "wx-config":C) rm -f wx-config
54532 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54533 ;;
54534
54535 esac
54536 done # for ac_tag
54537
54538
54539 { (exit 0); exit 0; }
54540 _ACEOF
54541 chmod +x $CONFIG_STATUS
54542 ac_clean_files=$ac_clean_files_save
54543
54544
54545 # configure is writing to config.log, and then calls config.status.
54546 # config.status does its own redirection, appending to config.log.
54547 # Unfortunately, on DOS this fails, as config.log is still kept open
54548 # by configure, so config.status won't be able to write to it; its
54549 # output is simply discarded. So we exec the FD to /dev/null,
54550 # effectively closing config.log, so it can be properly (re)opened and
54551 # appended to by config.status. When coming back to configure, we
54552 # need to make the FD available again.
54553 if test "$no_create" != yes; then
54554 ac_cs_success=:
54555 ac_config_status_args=
54556 test "$silent" = yes &&
54557 ac_config_status_args="$ac_config_status_args --quiet"
54558 exec 5>/dev/null
54559 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54560 exec 5>>config.log
54561 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54562 # would make configure fail if this is the last instruction.
54563 $ac_cs_success || { (exit 1); exit 1; }
54564 fi
54565
54566 #
54567 # CONFIG_SUBDIRS section.
54568 #
54569 if test "$no_recursion" != yes; then
54570
54571 # Remove --cache-file and --srcdir arguments so they do not pile up.
54572 ac_sub_configure_args=
54573 ac_prev=
54574 eval "set x $ac_configure_args"
54575 shift
54576 for ac_arg
54577 do
54578 if test -n "$ac_prev"; then
54579 ac_prev=
54580 continue
54581 fi
54582 case $ac_arg in
54583 -cache-file | --cache-file | --cache-fil | --cache-fi \
54584 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54585 ac_prev=cache_file ;;
54586 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54587 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54588 | --c=*)
54589 ;;
54590 --config-cache | -C)
54591 ;;
54592 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54593 ac_prev=srcdir ;;
54594 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54595 ;;
54596 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54597 ac_prev=prefix ;;
54598 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54599 ;;
54600 *)
54601 case $ac_arg in
54602 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54603 esac
54604 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54605 esac
54606 done
54607
54608 # Always prepend --prefix to ensure using the same prefix
54609 # in subdir configurations.
54610 ac_arg="--prefix=$prefix"
54611 case $ac_arg in
54612 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54613 esac
54614 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54615
54616 # Pass --silent
54617 if test "$silent" = yes; then
54618 ac_sub_configure_args="--silent $ac_sub_configure_args"
54619 fi
54620
54621 ac_popdir=`pwd`
54622 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54623
54624 # Do not complain, so a configure script can configure whichever
54625 # parts of a large source tree are present.
54626 test -d "$srcdir/$ac_dir" || continue
54627
54628 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54629 echo "$as_me:$LINENO: $ac_msg" >&5
54630 echo "$ac_msg" >&6
54631 { as_dir="$ac_dir"
54632 case $as_dir in #(
54633 -*) as_dir=./$as_dir;;
54634 esac
54635 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54636 as_dirs=
54637 while :; do
54638 case $as_dir in #(
54639 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54640 *) as_qdir=$as_dir;;
54641 esac
54642 as_dirs="'$as_qdir' $as_dirs"
54643 as_dir=`$as_dirname -- "$as_dir" ||
54644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54645 X"$as_dir" : 'X\(//\)[^/]' \| \
54646 X"$as_dir" : 'X\(//\)$' \| \
54647 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54648 echo X"$as_dir" |
54649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54650 s//\1/
54651 q
54652 }
54653 /^X\(\/\/\)[^/].*/{
54654 s//\1/
54655 q
54656 }
54657 /^X\(\/\/\)$/{
54658 s//\1/
54659 q
54660 }
54661 /^X\(\/\).*/{
54662 s//\1/
54663 q
54664 }
54665 s/.*/./; q'`
54666 test -d "$as_dir" && break
54667 done
54668 test -z "$as_dirs" || eval "mkdir $as_dirs"
54669 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54670 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54671 { (exit 1); exit 1; }; }; }
54672 ac_builddir=.
54673
54674 case "$ac_dir" in
54675 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54676 *)
54677 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54678 # A ".." for each directory in $ac_dir_suffix.
54679 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54680 case $ac_top_builddir_sub in
54681 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54682 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54683 esac ;;
54684 esac
54685 ac_abs_top_builddir=$ac_pwd
54686 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54687 # for backward compatibility:
54688 ac_top_builddir=$ac_top_build_prefix
54689
54690 case $srcdir in
54691 .) # We are building in place.
54692 ac_srcdir=.
54693 ac_top_srcdir=$ac_top_builddir_sub
54694 ac_abs_top_srcdir=$ac_pwd ;;
54695 [\\/]* | ?:[\\/]* ) # Absolute name.
54696 ac_srcdir=$srcdir$ac_dir_suffix;
54697 ac_top_srcdir=$srcdir
54698 ac_abs_top_srcdir=$srcdir ;;
54699 *) # Relative name.
54700 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54701 ac_top_srcdir=$ac_top_build_prefix$srcdir
54702 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54703 esac
54704 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54705
54706
54707 cd "$ac_dir"
54708
54709 # Check for guested configure; otherwise get Cygnus style configure.
54710 if test -f "$ac_srcdir/configure.gnu"; then
54711 ac_sub_configure=$ac_srcdir/configure.gnu
54712 elif test -f "$ac_srcdir/configure"; then
54713 ac_sub_configure=$ac_srcdir/configure
54714 elif test -f "$ac_srcdir/configure.in"; then
54715 # This should be Cygnus configure.
54716 ac_sub_configure=$ac_aux_dir/configure
54717 else
54718 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54719 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54720 ac_sub_configure=
54721 fi
54722
54723 # The recursion is here.
54724 if test -n "$ac_sub_configure"; then
54725 # Make the cache file name correct relative to the subdirectory.
54726 case $cache_file in
54727 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54728 *) # Relative name.
54729 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54730 esac
54731
54732 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54733 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54734 # The eval makes quoting arguments work.
54735 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54736 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54737 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54738 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54739 { (exit 1); exit 1; }; }
54740 fi
54741
54742 cd "$ac_popdir"
54743 done
54744 fi
54745
54746
54747 echo
54748 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54749 echo ""
54750 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54751 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54752
54753 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54754 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54755 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54756 if test "$wxUSE_UNICODE" = "yes"; then
54757 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54758 echo " (using UTF-8)"
54759 else
54760 echo " (using wchar_t)"
54761 fi
54762 else
54763 echo
54764 fi
54765
54766 echo " What level of wxWidgets compatibility should be enabled?"
54767 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54768 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54769
54770 echo " Which libraries should wxWidgets use?"
54771 echo " jpeg ${wxUSE_LIBJPEG-none}"
54772 echo " png ${wxUSE_LIBPNG-none}"
54773 echo " regex ${wxUSE_REGEX}"
54774 echo " tiff ${wxUSE_LIBTIFF-none}"
54775 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54776 echo " xpm ${wxUSE_LIBXPM-none}"
54777 fi
54778 echo " zlib ${wxUSE_ZLIB}"
54779 echo " odbc ${wxUSE_ODBC}"
54780 echo " expat ${wxUSE_EXPAT}"
54781 echo " libmspack ${wxUSE_LIBMSPACK}"
54782 echo " sdl ${wxUSE_LIBSDL}"
54783
54784 echo ""
54785