]> git.saurik.com Git - wxWidgets.git/blob - configure
use wxString instead of wxChar* in wxColour::Set/FromString
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
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 REZ
711 DEREZ
712 SETFILE
713 LIBICONV
714 SDL_CONFIG
715 SDL_CFLAGS
716 SDL_LIBS
717 LIBGNOMEPRINTUI_CFLAGS
718 LIBGNOMEPRINTUI_LIBS
719 GNOMEVFS_CFLAGS
720 GNOMEVFS_LIBS
721 HILDON_CFLAGS
722 HILDON_LIBS
723 CAIRO_CFLAGS
724 CAIRO_LIBS
725 GST_CFLAGS
726 GST_LIBS
727 CORE_BASE_LIBS
728 CORE_GUI_LIBS
729 wxUSE_ZLIB
730 wxUSE_REGEX
731 wxUSE_EXPAT
732 wxUSE_ODBC
733 wxUSE_LIBJPEG
734 wxUSE_LIBPNG
735 wxUSE_LIBTIFF
736 VENDOR
737 OFFICIAL_BUILD
738 WX_FLAVOUR
739 WX_LIB_FLAVOUR
740 WXUNIV
741 MONOLITHIC
742 USE_PLUGINS
743 CXXWARNINGS
744 EXTRALIBS
745 EXTRALIBS_XML
746 EXTRALIBS_HTML
747 EXTRALIBS_ODBC
748 EXTRALIBS_GUI
749 EXTRALIBS_OPENGL
750 EXTRALIBS_SDL
751 WITH_PLUGIN_SDL
752 EXTRALIBS_GNOMEPRINT
753 EXTRALIBS_GNOMEVFS
754 EXTRALIBS_HILDON
755 UNICODE
756 BUILD
757 DEBUG_INFO
758 DEBUG_FLAG
759 TOOLKIT_LOWERCASE
760 TOOLKIT_VERSION
761 SAMPLES_RPATH_FLAG
762 SAMPLES_RPATH_POSTLINK
763 HOST_SUFFIX
764 CPPUNIT_CFLAGS
765 CPPUNIT_LIBS
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 GCC_PCH
805 ICC_PCH
806 BK_MAKE_PCH
807 COND_BUILD_DEBUG
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
816 COND_DEBUG_FLAG_1
817 COND_DEBUG_INFO_0
818 COND_DEBUG_INFO_1
819 COND_DEPS_TRACKING_0
820 COND_DEPS_TRACKING_1
821 COND_GCC_PCH_1
822 COND_ICC_PCH_1
823 COND_MONOLITHIC_0
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
833 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_QA_1
854 COND_MONOLITHIC_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_USE_STC_1
856 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1
858 COND_MONOLITHIC_1_SHARED_0
859 COND_MONOLITHIC_1_SHARED_1
860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
864 COND_PLATFORM_MACOSX_1
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
874 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MAC_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_OS2_1
879 COND_PLATFORM_UNIX_0
880 COND_PLATFORM_UNIX_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
887 COND_SHARED_0
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_USE_XRC_1
897 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
898 COND_SHARED_0_WXUSE_ODBC_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_SHARED_1_USE_XRC_1
904 COND_TOOLKIT_
905 COND_TOOLKIT_COCOA
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB
909 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL
922 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11
938 COND_TOOLKIT_X11_USE_GUI_1
939 COND_UNICODE_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_0
943 COND_USE_GUI_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
950 COND_USE_ODBC_1
951 COND_USE_OPENGL_1
952 COND_USE_PCH_1
953 COND_USE_PLUGINS_0
954 COND_USE_RTTI_0
955 COND_USE_RTTI_1
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSION_0
960 COND_USE_SOVERSOLARIS_1
961 COND_USE_STC_1
962 COND_USE_THREADS_0
963 COND_USE_THREADS_1
964 COND_USE_XRC_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
967 COND_WXUNIV_0
968 COND_WXUNIV_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_ODBC_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
976 SHARED
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
979 USE_GUI
980 AFMINSTALL
981 WIN32INSTALL
982 TOOLKIT
983 TOOLKIT_DIR
984 TOOLCHAIN_NAME
985 TOOLCHAIN_FULLNAME
986 cross_compiling
987 WIDGET_SET
988 WX_RELEASE
989 WX_VERSION
990 WX_SUBVERSION
991 WX_CHARTYPE
992 WX_DEBUGTYPE
993 WXCONFIG_CPPFLAGS
994 WXCONFIG_CFLAGS
995 WXCONFIG_CXXFLAGS
996 WXCONFIG_LIBS
997 WXCONFIG_RPATH
998 WXCONFIG_LDFLAGS_GUI
999 WXCONFIG_RESFLAGS
1000 EXE_LINKER
1001 GUIDIST
1002 DISTDIR
1003 SAMPLES_SUBDIRS
1004 LDFLAGS_GL
1005 OPENGL_LIBS
1006 DMALLOC_LIBS
1007 WX_VERSION_TAG
1008 RESCOMP
1009 RESFLAGS
1010 RESPROGRAMOBJ
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1013 LIBWXMACRES
1014 POSTLINK_COMMAND
1015 MACSETFILE
1016 GCC
1017 CPPUNIT_CONFIG
1018 LIBOBJS
1019 LTLIBOBJS'
1020 ac_subst_files=''
1021 ac_precious_vars='build_alias
1022 host_alias
1023 target_alias
1024 CC
1025 CFLAGS
1026 LDFLAGS
1027 LIBS
1028 CPPFLAGS
1029 CPP
1030 CXX
1031 CXXFLAGS
1032 CCC
1033 PKG_CONFIG
1034 DIRECTFB_CFLAGS
1035 DIRECTFB_LIBS
1036 XMKMF
1037 PANGOX_CFLAGS
1038 PANGOX_LIBS
1039 PANGOFT2_CFLAGS
1040 PANGOFT2_LIBS
1041 PANGOXFT_CFLAGS
1042 PANGOXFT_LIBS
1043 LIBGNOMEPRINTUI_CFLAGS
1044 LIBGNOMEPRINTUI_LIBS
1045 GNOMEVFS_CFLAGS
1046 GNOMEVFS_LIBS
1047 HILDON_CFLAGS
1048 HILDON_LIBS
1049 CAIRO_CFLAGS
1050 CAIRO_LIBS
1051 GST_CFLAGS
1052 GST_LIBS'
1053 ac_subdirs_all='src/expat'
1054
1055 # Initialize some variables set by options.
1056 ac_init_help=
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1108 ac_prev=
1109 continue
1110 fi
1111
1112 case $ac_option in
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114 *) ac_optarg=yes ;;
1115 esac
1116
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1118
1119 case $ac_dashdash$ac_option in
1120 --)
1121 ac_dashdash=yes ;;
1122
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 ac_prev=bindir ;;
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1127
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1132
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1139
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1142
1143 -datadir | --datadir | --datadi | --datad)
1144 ac_prev=datadir ;;
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1147
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1154
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1163
1164 -docdir | --docdir | --docdi | --doc | --do)
1165 ac_prev=docdir ;;
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1168
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 ac_prev=dvidir ;;
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1173
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1182
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1191
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1194 with_gas=yes ;;
1195
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1202
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1207
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 ac_prev=htmldir ;;
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 | --ht=*)
1212 htmldir=$ac_optarg ;;
1213
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1220
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 ac_prev=infodir ;;
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1225
1226 -libdir | --libdir | --libdi | --libd)
1227 ac_prev=libdir ;;
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1230
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1237
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1242
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1249
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 ac_prev=mandir ;;
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1254
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1257 with_fp=no ;;
1258
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1261 no_create=yes ;;
1262
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 no_recursion=yes ;;
1266
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1275
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 ac_prev=prefix ;;
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1280
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1287
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1294
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1311
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 ac_prev=pdfdir ;;
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1316
1317 -psdir | --psdir | --psdi | --psd | --ps)
1318 ac_prev=psdir ;;
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 psdir=$ac_optarg ;;
1321
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1324 silent=yes ;;
1325
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 ac_prev=sbindir ;;
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 | --sbi=* | --sb=*)
1330 sbindir=$ac_optarg ;;
1331
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1335 | --sha | --sh)
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 | --sha=* | --sh=*)
1341 sharedstatedir=$ac_optarg ;;
1342
1343 -site | --site | --sit)
1344 ac_prev=site ;;
1345 -site=* | --site=* | --sit=*)
1346 site=$ac_optarg ;;
1347
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 ac_prev=srcdir ;;
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1352
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1359
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1364
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 verbose=yes ;;
1367
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1370
1371 -with-* | --with-*)
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1379
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1388
1389 --x)
1390 # Obsolete; use --with-x.
1391 with_x=yes ;;
1392
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1399
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1406
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1410 ;;
1411
1412 *=*)
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1420
1421 *)
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 ;;
1428
1429 esac
1430 done
1431
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1436 fi
1437
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1443 do
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 esac
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1451 done
1452
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1456 build=$build_alias
1457 host=$host_alias
1458 target=$target_alias
1459
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1467 cross_compiling=yes
1468 fi
1469 fi
1470
1471 ac_tool_prefix=
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
1474 test "$silent" = yes && exec 6>/dev/null
1475
1476
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 echo X"$0" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)[^/].*/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)$/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\).*/{
1510 s//\1/
1511 q
1512 }
1513 s/.*/./; q'`
1514 srcdir=$ac_confdir
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 srcdir=..
1517 fi
1518 else
1519 ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1525 fi
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1608 _ACEOF
1609
1610 cat <<\_ACEOF
1611
1612 X features:
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1615
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 esac
1627 cat <<\_ACEOF
1628
1629 Optional Features:
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --enable-gui use GUI classes
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-universal use wxWidgets GUI controls instead of native ones
1636 --enable-nanox use NanoX
1637 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1638 --enable-gpe use GNOME PDA Environment features if possible
1639 --enable-shared create shared library code
1640 --enable-optimise create optimised code
1641 --enable-debug same as debug_flag and debug_info
1642 --enable-stl use STL for containers
1643 --enable-extended_rtti use extended RTTI (XTI)
1644 --enable-omf use OMF object format
1645 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1646 --enable-debug_info create code with debugging information
1647 --enable-debug_gdb create code with extra GDB debugging information
1648 --enable-debug_cntxt use wxDebugContext
1649 --enable-mem_tracing create code with memory tracing
1650 --enable-profile create code with profiling information
1651 --enable-no_rtti create code without RTTI information
1652 --enable-no_exceptions create code without C++ exceptions handling
1653 --enable-permissive compile code disregarding strict ANSI
1654 --enable-no_deps create code without dependency information
1655 --disable-vararg_macros don't use vararg macros, even if they are supported
1656 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1657 --enable-compat26 enable wxWidgets 2.6 compatibility
1658 --disable-compat28 disable wxWidgets 2.8 compatibility
1659 --disable-rpath disable use of rpath for uninstalled builds
1660 --enable-objc_uniquifying enable Objective-C class name uniquifying
1661 --enable-intl use internationalization system
1662 --enable-config use wxConfig (and derived) classes
1663 --enable-protocols use wxProtocol and derived classes
1664 --enable-ftp use wxFTP (requires wxProtocol
1665 --enable-http use wxHTTP (requires wxProtocol
1666 --enable-fileproto use wxFileProto class (requires wxProtocol
1667 --enable-sockets use socket/network classes
1668 --enable-ole use OLE classes (Win32 only)
1669 --enable-dataobj use data object classes
1670 --enable-ipc use interprocess communication (wxSocket etc.)
1671 --enable-apple_ieee use the Apple IEEE codec
1672 --enable-arcstream use wxArchive streams
1673 --enable-backtrace use wxStackWalker class for getting backtraces
1674 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1675 --enable-cmdline use wxCmdLineParser class
1676 --enable-datetime use wxDateTime class
1677 --enable-debugreport use wxDebugReport class
1678 --enable-dialupman use dialup network classes
1679 --enable-dynlib use wxLibrary class for DLL loading
1680 --enable-dynamicloader use (new) wxDynamicLibrary class
1681 --enable-exceptions build exception-safe library
1682 --enable-ffile use wxFFile class
1683 --enable-file use wxFile class
1684 --enable-filesystem use virtual file systems classes
1685 --enable-fontmap use font encodings conversion classes
1686 --enable-fs_archive use virtual archive filesystems
1687 --enable-fs_inet use virtual HTTP/FTP filesystems
1688 --enable-fs_zip now replaced by fs_archive
1689 --enable-geometry use geometry class
1690 --enable-log use logging system
1691 --enable-longlong use wxLongLong class
1692 --enable-mimetype use wxMimeTypesManager
1693 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1694 --enable-utf8 use UTF-8 representation for strings (Unix only)
1695 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1696 --enable-snglinst use wxSingleInstanceChecker class
1697 --enable-std_iostreams use standard C++ stream classes
1698 --enable-std_string use standard C++ string classes
1699 --enable-stdpaths use wxStandardPaths class
1700 --enable-stopwatch use wxStopWatch class
1701 --enable-streams use wxStream etc classes
1702 --enable-sysoptions use wxSystemOptions
1703 --enable-tarstream use wxTar streams
1704 --enable-textbuf use wxTextBuffer class
1705 --enable-textfile use wxTextFile class
1706 --enable-timer use wxTimer class
1707 --enable-unicode compile wxString with Unicode support
1708 --enable-sound use wxSound class
1709 --enable-mediactrl use wxMediaCtrl class
1710 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1711 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1712 --enable-zipstream use wxZip streams
1713 --enable-url use wxURL class
1714 --enable-variant use wxVariant class
1715 --enable-protocol use wxProtocol class
1716 --enable-protocol-http HTTP support in wxProtocol
1717 --enable-protocol-ftp FTP support in wxProtocol
1718 --enable-protocol-file FILE support in wxProtocol
1719 --enable-threads use threads
1720 --enable-docview use document view architecture
1721 --enable-help use help subsystem
1722 --enable-mshtmlhelp use MS HTML Help (win32)
1723 --enable-html use wxHTML sub-library
1724 --enable-htmlhelp use wxHTML-based help
1725 --enable-xrc use XRC resources sub-library
1726 --enable-aui use AUI docking library
1727 --enable-stc use wxStyledTextCtrl library
1728 --enable-constraints use layout-constraints system
1729 --enable-printarch use printing architecture
1730 --enable-mdi use multiple document interface architecture
1731 --enable-mdidoc use docview architecture with MDI
1732 --enable-loggui use standard GUI logger
1733 --enable-logwin use wxLogWindow
1734 --enable-logdialog use wxLogDialog
1735 --enable-webkit use wxWebKitCtrl (Mac)
1736 --enable-richtext use wxRichTextCtrl
1737 --enable-graphics_ctx use graphics context 2D drawing API
1738 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1739 --enable-clipboard use wxClipboard class
1740 --enable-dnd use Drag'n'Drop classes
1741 --enable-metafile use win32 metafiles
1742 --enable-controls use all usual controls
1743 --enable-accel use accelerators
1744 --enable-animatectrl use wxAnimationCtrl class
1745 --enable-button use wxButton class
1746 --enable-bmpbutton use wxBitmapButton class
1747 --enable-bmpcombobox use wxBitmapComboBox class
1748 --enable-calendar use wxCalendarCtrl class
1749 --enable-caret use wxCaret class
1750 --enable-checkbox use wxCheckBox class
1751 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1752 --enable-choice use wxChoice class
1753 --enable-choicebook use wxChoicebook class
1754 --enable-collpane use wxCollapsiblePane class
1755 --enable-colourpicker use wxColourPickerCtrl class
1756 --enable-combobox use wxComboBox class
1757 --enable-comboctrl use wxComboCtrl class
1758 --enable-datepick use wxDatePickerCtrl class
1759 --enable-dirpicker use wxDirPickerCtrl class
1760 --enable-display use wxDisplay class
1761 --enable-detect_sm use code to detect X11 session manager
1762 --enable-editablebox use wxEditableListBox class
1763 --enable-filepicker use wxFilePickerCtrl class
1764 --enable-fontpicker use wxFontPickerCtrl class
1765 --enable-gauge use wxGauge class
1766 --enable-grid use wxGrid class
1767 --enable-dataviewctrl use wxDataViewCtrl class
1768 --enable-hyperlink use wxHyperlinkCtrl class
1769 --enable-imaglist use wxImageList class
1770 --enable-listbook use wxListbook class
1771 --enable-listbox use wxListBox class
1772 --enable-listctrl use wxListCtrl class
1773 --enable-notebook use wxNotebook class
1774 --enable-odcombobox use wxOwnerDrawnComboBox class
1775 --enable-radiobox use wxRadioBox class
1776 --enable-radiobtn use wxRadioButton class
1777 --enable-sash use wxSashWindow class
1778 --enable-scrollbar use wxScrollBar class and scrollable windows
1779 --enable-searchctrl use wxSearchCtrl class
1780 --enable-slider use wxSlider class
1781 --enable-spinbtn use wxSpinButton class
1782 --enable-spinctrl use wxSpinCtrl class
1783 --enable-splitter use wxSplitterWindow class
1784 --enable-statbmp use wxStaticBitmap class
1785 --enable-statbox use wxStaticBox class
1786 --enable-statline use wxStaticLine class
1787 --enable-stattext use wxStaticText class
1788 --enable-statusbar use wxStatusBar class
1789 --enable-tabdialog use wxTabControl class
1790 --enable-textctrl use wxTextCtrl class
1791 --enable-togglebtn use wxToggleButton class
1792 --enable-toolbar use wxToolBar class
1793 --enable-tbarnative use native wxToolBar class
1794 --enable-treebook use wxTreebook class
1795 --enable-toolbook use wxToolbook class
1796 --enable-treectrl use wxTreeCtrl class
1797 --enable-tipwindow use wxTipWindow class
1798 --enable-popupwin use wxPopUpWindow class
1799 --enable-commondlg use all common dialogs
1800 --enable-aboutdlg use wxAboutBox
1801 --enable-choicedlg use wxChoiceDialog
1802 --enable-coldlg use wxColourDialog
1803 --enable-filedlg use wxFileDialog
1804 --enable-finddlg use wxFindReplaceDialog
1805 --enable-fontdlg use wxFontDialog
1806 --enable-dirdlg use wxDirDialog
1807 --enable-msgdlg use wxMessageDialog
1808 --enable-numberdlg use wxNumberEntryDialog
1809 --enable-splash use wxSplashScreen
1810 --enable-textdlg use wxTextDialog
1811 --enable-tipdlg use startup tips
1812 --enable-progressdlg use wxProgressDialog
1813 --enable-wizarddlg use wxWizard
1814 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1815 --enable-miniframe use wxMiniFrame class
1816 --enable-tooltips use wxToolTip class
1817 --enable-splines use spline drawing code
1818 --enable-mousewheel use mousewheel
1819 --enable-validators use wxValidator and derived classes
1820 --enable-busyinfo use wxBusyInfo
1821 --enable-joystick use wxJoystick
1822 --enable-metafiles use wxMetaFile (Win32 only)
1823 --enable-dragimage use wxDragImage
1824 --enable-accessibility enable accessibility support
1825 --enable-dccache cache temporary wxDC objects (Win32 only)
1826 --enable-palette use wxPalette class
1827 --enable-image use wxImage class
1828 --enable-gif use gif images (GIF file format)
1829 --enable-pcx use pcx images (PCX file format)
1830 --enable-tga use tga images (TGA file format)
1831 --enable-iff use iff images (IFF file format)
1832 --enable-pnm use pnm images (PNM file format)
1833 --enable-xpm use xpm images (XPM file format)
1834 --enable-icocur use Windows ICO and CUR formats
1835 --enable-official_build official build of wxWidgets (win32 DLL only)
1836 --enable-vendor=VENDOR vendor name (win32 DLL only)
1837 --disable-largefile omit support for large files
1838 --disable-gtktest do not try to compile and run a test GTK+ program
1839 --disable-gtktest Do not try to compile and run a test GTK program
1840 --disable-sdltest Do not try to compile and run a test SDL program
1841 --enable-omf use OMF object format (OS/2)
1842 --disable-dependency-tracking
1843 don't use dependency tracking even if the compiler
1844 can
1845 --disable-precomp-headers
1846 don't use precompiled headers even if compiler can
1847
1848 Optional Packages:
1849 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1850 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1851 --without-subdirs don't generate makefiles for samples/demos/...
1852 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1853 --with-motif use Motif/Lesstif
1854 --with-mac use Mac OS X
1855 --with-cocoa use Cocoa
1856 --with-wine use Wine
1857 --with-msw use MS-Windows
1858 --with-pm use OS/2 Presentation Manager
1859 --with-mgl use SciTech MGL
1860 --with-directfb use DirectFB
1861 --with-microwin use MicroWindows
1862 --with-x11 use X11
1863 --with-libpng use libpng (PNG image format)
1864 --with-libjpeg use libjpeg (JPEG file format)
1865 --with-libtiff use libtiff (TIFF file format)
1866 --with-libxpm use libxpm (XPM file format)
1867 --with-libmspack use libmspack (CHM help files loading)
1868 --with-sdl use SDL for audio on Unix
1869 --with-gnomeprint use GNOME print for printing under GNOME
1870 --with-gnomevfs use GNOME VFS for associating MIME types
1871 --with-hildon use Hildon framework for Nokia 770
1872 --with-opengl use OpenGL (or Mesa)
1873 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1874 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1875 --with-regex enable support for wxRegEx class
1876 --with-zlib use zlib for LZW compression
1877 --with-odbc use the IODBC and wxODBC classes
1878 --with-expat enable XML support using expat parser
1879 --with-flavour=NAME specify a name to identify this build
1880 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1881 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1882 --with-x use the X Window System
1883 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1884 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1885 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1886 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1887 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1888
1889 Some influential environment variables:
1890 CC C compiler command
1891 CFLAGS C compiler flags
1892 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1893 nonstandard directory <lib dir>
1894 LIBS libraries to pass to the linker, e.g. -l<library>
1895 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1896 you have headers in a nonstandard directory <include dir>
1897 CPP C preprocessor
1898 CXX C++ compiler command
1899 CXXFLAGS C++ compiler flags
1900 PKG_CONFIG path to pkg-config utility
1901 DIRECTFB_CFLAGS
1902 C compiler flags for DIRECTFB, overriding pkg-config
1903 DIRECTFB_LIBS
1904 linker flags for DIRECTFB, overriding pkg-config
1905 XMKMF Path to xmkmf, Makefile generator for X Window System
1906 PANGOX_CFLAGS
1907 C compiler flags for PANGOX, overriding pkg-config
1908 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1909 PANGOFT2_CFLAGS
1910 C compiler flags for PANGOFT2, overriding pkg-config
1911 PANGOFT2_LIBS
1912 linker flags for PANGOFT2, overriding pkg-config
1913 PANGOXFT_CFLAGS
1914 C compiler flags for PANGOXFT, overriding pkg-config
1915 PANGOXFT_LIBS
1916 linker flags for PANGOXFT, overriding pkg-config
1917 LIBGNOMEPRINTUI_CFLAGS
1918 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1919 LIBGNOMEPRINTUI_LIBS
1920 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1921 GNOMEVFS_CFLAGS
1922 C compiler flags for GNOMEVFS, overriding pkg-config
1923 GNOMEVFS_LIBS
1924 linker flags for GNOMEVFS, overriding pkg-config
1925 HILDON_CFLAGS
1926 C compiler flags for HILDON, overriding pkg-config
1927 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1928 CAIRO_CFLAGS
1929 C compiler flags for CAIRO, overriding pkg-config
1930 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1931 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1932 GST_LIBS linker flags for GST, overriding pkg-config
1933
1934 Use these variables to override the choices made by `configure' or to help
1935 it to find libraries and programs with nonstandard names/locations.
1936
1937 Report bugs to <wx-dev@lists.wxwidgets.org>.
1938 _ACEOF
1939 ac_status=$?
1940 fi
1941
1942 if test "$ac_init_help" = "recursive"; then
1943 # If there are subdirs, report their specific --help.
1944 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1945 test -d "$ac_dir" || continue
1946 ac_builddir=.
1947
1948 case "$ac_dir" in
1949 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1950 *)
1951 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1952 # A ".." for each directory in $ac_dir_suffix.
1953 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1954 case $ac_top_builddir_sub in
1955 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1956 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1957 esac ;;
1958 esac
1959 ac_abs_top_builddir=$ac_pwd
1960 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1961 # for backward compatibility:
1962 ac_top_builddir=$ac_top_build_prefix
1963
1964 case $srcdir in
1965 .) # We are building in place.
1966 ac_srcdir=.
1967 ac_top_srcdir=$ac_top_builddir_sub
1968 ac_abs_top_srcdir=$ac_pwd ;;
1969 [\\/]* | ?:[\\/]* ) # Absolute name.
1970 ac_srcdir=$srcdir$ac_dir_suffix;
1971 ac_top_srcdir=$srcdir
1972 ac_abs_top_srcdir=$srcdir ;;
1973 *) # Relative name.
1974 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1975 ac_top_srcdir=$ac_top_build_prefix$srcdir
1976 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1977 esac
1978 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1979
1980 cd "$ac_dir" || { ac_status=$?; continue; }
1981 # Check for guested configure.
1982 if test -f "$ac_srcdir/configure.gnu"; then
1983 echo &&
1984 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1985 elif test -f "$ac_srcdir/configure"; then
1986 echo &&
1987 $SHELL "$ac_srcdir/configure" --help=recursive
1988 else
1989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1990 fi || ac_status=$?
1991 cd "$ac_pwd" || { ac_status=$?; break; }
1992 done
1993 fi
1994
1995 test -n "$ac_init_help" && exit $ac_status
1996 if $ac_init_version; then
1997 cat <<\_ACEOF
1998 wxWidgets configure 2.9.0
1999 generated by GNU Autoconf 2.61
2000
2001 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2003 This configure script is free software; the Free Software Foundation
2004 gives unlimited permission to copy, distribute and modify it.
2005 _ACEOF
2006 exit
2007 fi
2008 cat >config.log <<_ACEOF
2009 This file contains any messages produced by compilers while
2010 running configure, to aid debugging if configure makes a mistake.
2011
2012 It was created by wxWidgets $as_me 2.9.0, which was
2013 generated by GNU Autoconf 2.61. Invocation command line was
2014
2015 $ $0 $@
2016
2017 _ACEOF
2018 exec 5>>config.log
2019 {
2020 cat <<_ASUNAME
2021 ## --------- ##
2022 ## Platform. ##
2023 ## --------- ##
2024
2025 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2026 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2027 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2028 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2029 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2030
2031 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2032 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2033
2034 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2035 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2036 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2037 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2038 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2039 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2040 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2041
2042 _ASUNAME
2043
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 for as_dir in $PATH
2046 do
2047 IFS=$as_save_IFS
2048 test -z "$as_dir" && as_dir=.
2049 echo "PATH: $as_dir"
2050 done
2051 IFS=$as_save_IFS
2052
2053 } >&5
2054
2055 cat >&5 <<_ACEOF
2056
2057
2058 ## ----------- ##
2059 ## Core tests. ##
2060 ## ----------- ##
2061
2062 _ACEOF
2063
2064
2065 # Keep a trace of the command line.
2066 # Strip out --no-create and --no-recursion so they do not pile up.
2067 # Strip out --silent because we don't want to record it for future runs.
2068 # Also quote any args containing shell meta-characters.
2069 # Make two passes to allow for proper duplicate-argument suppression.
2070 ac_configure_args=
2071 ac_configure_args0=
2072 ac_configure_args1=
2073 ac_must_keep_next=false
2074 for ac_pass in 1 2
2075 do
2076 for ac_arg
2077 do
2078 case $ac_arg in
2079 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2081 | -silent | --silent | --silen | --sile | --sil)
2082 continue ;;
2083 *\'*)
2084 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2085 esac
2086 case $ac_pass in
2087 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2088 2)
2089 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2090 if test $ac_must_keep_next = true; then
2091 ac_must_keep_next=false # Got value, back to normal.
2092 else
2093 case $ac_arg in
2094 *=* | --config-cache | -C | -disable-* | --disable-* \
2095 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2096 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2097 | -with-* | --with-* | -without-* | --without-* | --x)
2098 case "$ac_configure_args0 " in
2099 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2100 esac
2101 ;;
2102 -* ) ac_must_keep_next=true ;;
2103 esac
2104 fi
2105 ac_configure_args="$ac_configure_args '$ac_arg'"
2106 ;;
2107 esac
2108 done
2109 done
2110 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2111 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2112
2113 # When interrupted or exit'd, cleanup temporary files, and complete
2114 # config.log. We remove comments because anyway the quotes in there
2115 # would cause problems or look ugly.
2116 # WARNING: Use '\'' to represent an apostrophe within the trap.
2117 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2118 trap 'exit_status=$?
2119 # Save into config.log some information that might help in debugging.
2120 {
2121 echo
2122
2123 cat <<\_ASBOX
2124 ## ---------------- ##
2125 ## Cache variables. ##
2126 ## ---------------- ##
2127 _ASBOX
2128 echo
2129 # The following way of writing the cache mishandles newlines in values,
2130 (
2131 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2132 eval ac_val=\$$ac_var
2133 case $ac_val in #(
2134 *${as_nl}*)
2135 case $ac_var in #(
2136 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2137 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2138 esac
2139 case $ac_var in #(
2140 _ | IFS | as_nl) ;; #(
2141 *) $as_unset $ac_var ;;
2142 esac ;;
2143 esac
2144 done
2145 (set) 2>&1 |
2146 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2147 *${as_nl}ac_space=\ *)
2148 sed -n \
2149 "s/'\''/'\''\\\\'\'''\''/g;
2150 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2151 ;; #(
2152 *)
2153 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2154 ;;
2155 esac |
2156 sort
2157 )
2158 echo
2159
2160 cat <<\_ASBOX
2161 ## ----------------- ##
2162 ## Output variables. ##
2163 ## ----------------- ##
2164 _ASBOX
2165 echo
2166 for ac_var in $ac_subst_vars
2167 do
2168 eval ac_val=\$$ac_var
2169 case $ac_val in
2170 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 esac
2172 echo "$ac_var='\''$ac_val'\''"
2173 done | sort
2174 echo
2175
2176 if test -n "$ac_subst_files"; then
2177 cat <<\_ASBOX
2178 ## ------------------- ##
2179 ## File substitutions. ##
2180 ## ------------------- ##
2181 _ASBOX
2182 echo
2183 for ac_var in $ac_subst_files
2184 do
2185 eval ac_val=\$$ac_var
2186 case $ac_val in
2187 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 esac
2189 echo "$ac_var='\''$ac_val'\''"
2190 done | sort
2191 echo
2192 fi
2193
2194 if test -s confdefs.h; then
2195 cat <<\_ASBOX
2196 ## ----------- ##
2197 ## confdefs.h. ##
2198 ## ----------- ##
2199 _ASBOX
2200 echo
2201 cat confdefs.h
2202 echo
2203 fi
2204 test "$ac_signal" != 0 &&
2205 echo "$as_me: caught signal $ac_signal"
2206 echo "$as_me: exit $exit_status"
2207 } >&5
2208 rm -f core *.core core.conftest.* &&
2209 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2210 exit $exit_status
2211 ' 0
2212 for ac_signal in 1 2 13 15; do
2213 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2214 done
2215 ac_signal=0
2216
2217 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2218 rm -f -r conftest* confdefs.h
2219
2220 # Predefined preprocessor variables.
2221
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_NAME "$PACKAGE_NAME"
2224 _ACEOF
2225
2226
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2229 _ACEOF
2230
2231
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2234 _ACEOF
2235
2236
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_STRING "$PACKAGE_STRING"
2239 _ACEOF
2240
2241
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2244 _ACEOF
2245
2246
2247 # Let the site file select an alternate cache file if it wants to.
2248 # Prefer explicitly selected file to automatically selected ones.
2249 if test -n "$CONFIG_SITE"; then
2250 set x "$CONFIG_SITE"
2251 elif test "x$prefix" != xNONE; then
2252 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2253 else
2254 set x "$ac_default_prefix/share/config.site" \
2255 "$ac_default_prefix/etc/config.site"
2256 fi
2257 shift
2258 for ac_site_file
2259 do
2260 if test -r "$ac_site_file"; then
2261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2262 echo "$as_me: loading site script $ac_site_file" >&6;}
2263 sed 's/^/| /' "$ac_site_file" >&5
2264 . "$ac_site_file"
2265 fi
2266 done
2267
2268 if test -r "$cache_file"; then
2269 # Some versions of bash will fail to source /dev/null (special
2270 # files actually), so we avoid doing that.
2271 if test -f "$cache_file"; then
2272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2273 echo "$as_me: loading cache $cache_file" >&6;}
2274 case $cache_file in
2275 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2276 *) . "./$cache_file";;
2277 esac
2278 fi
2279 else
2280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2281 echo "$as_me: creating cache $cache_file" >&6;}
2282 >$cache_file
2283 fi
2284
2285 # Check that the precious variables saved in the cache have kept the same
2286 # value.
2287 ac_cache_corrupted=false
2288 for ac_var in $ac_precious_vars; do
2289 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2290 eval ac_new_set=\$ac_env_${ac_var}_set
2291 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2292 eval ac_new_val=\$ac_env_${ac_var}_value
2293 case $ac_old_set,$ac_new_set in
2294 set,)
2295 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2296 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2297 ac_cache_corrupted=: ;;
2298 ,set)
2299 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2300 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2301 ac_cache_corrupted=: ;;
2302 ,);;
2303 *)
2304 if test "x$ac_old_val" != "x$ac_new_val"; then
2305 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2306 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2307 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2308 echo "$as_me: former value: $ac_old_val" >&2;}
2309 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2310 echo "$as_me: current value: $ac_new_val" >&2;}
2311 ac_cache_corrupted=:
2312 fi;;
2313 esac
2314 # Pass precious variables to config.status.
2315 if test "$ac_new_set" = set; then
2316 case $ac_new_val in
2317 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2318 *) ac_arg=$ac_var=$ac_new_val ;;
2319 esac
2320 case " $ac_configure_args " in
2321 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2322 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2323 esac
2324 fi
2325 done
2326 if $ac_cache_corrupted; then
2327 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2328 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2329 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2330 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2331 { (exit 1); exit 1; }; }
2332 fi
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358 ac_ext=c
2359 ac_cpp='$CPP $CPPFLAGS'
2360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364
2365
2366
2367
2368 ac_aux_dir=
2369 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2370 if test -f "$ac_dir/install-sh"; then
2371 ac_aux_dir=$ac_dir
2372 ac_install_sh="$ac_aux_dir/install-sh -c"
2373 break
2374 elif test -f "$ac_dir/install.sh"; then
2375 ac_aux_dir=$ac_dir
2376 ac_install_sh="$ac_aux_dir/install.sh -c"
2377 break
2378 elif test -f "$ac_dir/shtool"; then
2379 ac_aux_dir=$ac_dir
2380 ac_install_sh="$ac_aux_dir/shtool install -c"
2381 break
2382 fi
2383 done
2384 if test -z "$ac_aux_dir"; then
2385 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2386 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2387 { (exit 1); exit 1; }; }
2388 fi
2389
2390 # These three variables are undocumented and unsupported,
2391 # and are intended to be withdrawn in a future Autoconf release.
2392 # They can cause serious problems if a builder's source tree is in a directory
2393 # whose full name contains unusual characters.
2394 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2395 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2396 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2397
2398
2399 # Make sure we can run config.sub.
2400 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2401 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2402 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2403 { (exit 1); exit 1; }; }
2404
2405 { echo "$as_me:$LINENO: checking build system type" >&5
2406 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2407 if test "${ac_cv_build+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 else
2410 ac_build_alias=$build_alias
2411 test "x$ac_build_alias" = x &&
2412 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2413 test "x$ac_build_alias" = x &&
2414 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2415 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2416 { (exit 1); exit 1; }; }
2417 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2418 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2419 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2420 { (exit 1); exit 1; }; }
2421
2422 fi
2423 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2424 echo "${ECHO_T}$ac_cv_build" >&6; }
2425 case $ac_cv_build in
2426 *-*-*) ;;
2427 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2428 echo "$as_me: error: invalid value of canonical build" >&2;}
2429 { (exit 1); exit 1; }; };;
2430 esac
2431 build=$ac_cv_build
2432 ac_save_IFS=$IFS; IFS='-'
2433 set x $ac_cv_build
2434 shift
2435 build_cpu=$1
2436 build_vendor=$2
2437 shift; shift
2438 # Remember, the first character of IFS is used to create $*,
2439 # except with old shells:
2440 build_os=$*
2441 IFS=$ac_save_IFS
2442 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2443
2444
2445 { echo "$as_me:$LINENO: checking host system type" >&5
2446 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2447 if test "${ac_cv_host+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 else
2450 if test "x$host_alias" = x; then
2451 ac_cv_host=$ac_cv_build
2452 else
2453 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2454 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2455 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2456 { (exit 1); exit 1; }; }
2457 fi
2458
2459 fi
2460 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2461 echo "${ECHO_T}$ac_cv_host" >&6; }
2462 case $ac_cv_host in
2463 *-*-*) ;;
2464 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2465 echo "$as_me: error: invalid value of canonical host" >&2;}
2466 { (exit 1); exit 1; }; };;
2467 esac
2468 host=$ac_cv_host
2469 ac_save_IFS=$IFS; IFS='-'
2470 set x $ac_cv_host
2471 shift
2472 host_cpu=$1
2473 host_vendor=$2
2474 shift; shift
2475 # Remember, the first character of IFS is used to create $*,
2476 # except with old shells:
2477 host_os=$*
2478 IFS=$ac_save_IFS
2479 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2480
2481
2482 { echo "$as_me:$LINENO: checking target system type" >&5
2483 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2484 if test "${ac_cv_target+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 else
2487 if test "x$target_alias" = x; then
2488 ac_cv_target=$ac_cv_host
2489 else
2490 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2491 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2492 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2493 { (exit 1); exit 1; }; }
2494 fi
2495
2496 fi
2497 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2498 echo "${ECHO_T}$ac_cv_target" >&6; }
2499 case $ac_cv_target in
2500 *-*-*) ;;
2501 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2502 echo "$as_me: error: invalid value of canonical target" >&2;}
2503 { (exit 1); exit 1; }; };;
2504 esac
2505 target=$ac_cv_target
2506 ac_save_IFS=$IFS; IFS='-'
2507 set x $ac_cv_target
2508 shift
2509 target_cpu=$1
2510 target_vendor=$2
2511 shift; shift
2512 # Remember, the first character of IFS is used to create $*,
2513 # except with old shells:
2514 target_os=$*
2515 IFS=$ac_save_IFS
2516 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2517
2518
2519 # The aliases save the names the user supplied, while $host etc.
2520 # will get canonicalized.
2521 test -n "$target_alias" &&
2522 test "$program_prefix$program_suffix$program_transform_name" = \
2523 NONENONEs,x,x, &&
2524 program_prefix=${target_alias}-
2525
2526
2527
2528 wx_major_version_number=2
2529 wx_minor_version_number=9
2530 wx_release_number=0
2531 wx_subrelease_number=0
2532
2533 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2534 WX_VERSION=$WX_RELEASE.$wx_release_number
2535 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2536
2537 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2538
2539
2540 wx_top_builddir="`pwd`"
2541
2542
2543
2544
2545 USE_UNIX=1
2546 USE_OS2=0
2547 USE_WIN32=0
2548 USE_DOS=0
2549 USE_BEOS=0
2550 USE_MAC=0
2551
2552 USE_AIX=
2553 USE_BSD= USE_DARWIN= USE_FREEBSD=
2554 USE_GNU= USE_HPUX=
2555 USE_LINUX=
2556 USE_NETBSD=
2557 USE_OPENBSD=
2558 USE_OSF= USE_SGI=
2559 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2560 USE_ULTRIX=
2561 USE_UNIXWARE=
2562
2563 USE_ALPHA=
2564
2565 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2566
2567 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2568
2569 DEFAULT_wxUSE_COCOA=0
2570 DEFAULT_wxUSE_GTK=0
2571 DEFAULT_wxUSE_MAC=0
2572 DEFAULT_wxUSE_MGL=0
2573 DEFAULT_wxUSE_MICROWIN=0
2574 DEFAULT_wxUSE_MOTIF=0
2575 DEFAULT_wxUSE_MSW=0
2576 DEFAULT_wxUSE_PM=0
2577 DEFAULT_wxUSE_X11=0
2578 DEFAULT_wxUSE_DFB=0
2579
2580 DEFAULT_DEFAULT_wxUSE_COCOA=0
2581 DEFAULT_DEFAULT_wxUSE_GTK=0
2582 DEFAULT_DEFAULT_wxUSE_MAC=0
2583 DEFAULT_DEFAULT_wxUSE_MGL=0
2584 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2585 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2586 DEFAULT_DEFAULT_wxUSE_MSW=0
2587 DEFAULT_DEFAULT_wxUSE_PM=0
2588 DEFAULT_DEFAULT_wxUSE_X11=0
2589 DEFAULT_DEFAULT_wxUSE_DFB=0
2590
2591 PROGRAM_EXT=
2592 SO_SUFFIX=so
2593 SAMPLES_RPATH_FLAG=
2594 SAMPLES_RPATH_POSTLINK=
2595
2596 DEFAULT_STD_FLAG=yes
2597
2598 case "${host}" in
2599 *-hp-hpux* )
2600 USE_HPUX=1
2601 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2602 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2603 SO_SUFFIX=sl
2604 cat >>confdefs.h <<\_ACEOF
2605 #define __HPUX__ 1
2606 _ACEOF
2607
2608
2609 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2610 ;;
2611 *-*-linux* )
2612 USE_LINUX=1
2613 cat >>confdefs.h <<\_ACEOF
2614 #define __LINUX__ 1
2615 _ACEOF
2616
2617 TMP=`uname -m`
2618 if test "x$TMP" = "xalpha"; then
2619 USE_ALPHA=1
2620 cat >>confdefs.h <<\_ACEOF
2621 #define __ALPHA__ 1
2622 _ACEOF
2623
2624 fi
2625 DEFAULT_DEFAULT_wxUSE_GTK=1
2626 ;;
2627 *-*-gnu* | *-*-k*bsd*-gnu )
2628 USE_GNU=1
2629 TMP=`uname -m`
2630 if test "x$TMP" = "xalpha"; then
2631 USE_ALPHA=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __ALPHA__ 1
2634 _ACEOF
2635
2636 fi
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 ;;
2639 *-*-irix5* | *-*-irix6* )
2640 USE_SGI=1
2641 USE_SVR4=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __SGI__ 1
2644 _ACEOF
2645
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __SVR4__ 1
2648 _ACEOF
2649
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2651 ;;
2652 *-*-solaris2* )
2653 USE_SUN=1
2654 USE_SOLARIS=1
2655 USE_SVR4=1
2656 cat >>confdefs.h <<\_ACEOF
2657 #define __SUN__ 1
2658 _ACEOF
2659
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SOLARIS__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SVR4__ 1
2666 _ACEOF
2667
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2670 ;;
2671 *-*-sunos4* )
2672 USE_SUN=1
2673 USE_SUNOS=1
2674 USE_BSD=1
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SUN__ 1
2677 _ACEOF
2678
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SUNOS__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __BSD__ 1
2685 _ACEOF
2686
2687 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2688 ;;
2689 *-*-freebsd*)
2690 USE_BSD=1
2691 USE_FREEBSD=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __FREEBSD__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __BSD__ 1
2698 _ACEOF
2699
2700 DEFAULT_DEFAULT_wxUSE_GTK=1
2701 ;;
2702 *-*-openbsd*|*-*-mirbsd*)
2703 USE_BSD=1
2704 USE_OPENBSD=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __OPENBSD__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __BSD__ 1
2711 _ACEOF
2712
2713 DEFAULT_DEFAULT_wxUSE_GTK=1
2714 ;;
2715 *-*-netbsd*)
2716 USE_BSD=1
2717 USE_NETBSD=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __NETBSD__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __BSD__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_GTK=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2728
2729 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2730 ;;
2731 *-*-osf* )
2732 USE_ALPHA=1
2733 USE_OSF=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __ALPHA__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __OSF__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2744 ;;
2745 *-*-dgux5* )
2746 USE_ALPHA=1
2747 USE_SVR4=1
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __ALPHA__ 1
2750 _ACEOF
2751
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __SVR4__ 1
2754 _ACEOF
2755
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2757 ;;
2758 *-*-sysv5* )
2759 USE_SYSV=1
2760 USE_SVR4=1
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __SYSV__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __SVR4__ 1
2767 _ACEOF
2768
2769 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2770 ;;
2771 *-*-aix* )
2772 USE_AIX=1
2773 USE_SYSV=1
2774 USE_SVR4=1
2775 SO_SUFFIX=a
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __AIX__ 1
2778 _ACEOF
2779
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __SYSV__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SVR4__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 ;;
2790
2791 *-*-*UnixWare*)
2792 USE_SYSV=1
2793 USE_SVR4=1
2794 USE_UNIXWARE=1
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __UNIXWARE__ 1
2797 _ACEOF
2798
2799 ;;
2800
2801 *-*-cygwin* | *-*-mingw32* )
2802 SO_SUFFIX=dll
2803 PROGRAM_EXT=".exe"
2804 DEFAULT_DEFAULT_wxUSE_MSW=1
2805 ;;
2806
2807 *-pc-msdosdjgpp )
2808 USE_UNIX=0
2809 USE_DOS=1
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __DOS__ 1
2812 _ACEOF
2813
2814 PROGRAM_EXT=".exe"
2815 DEFAULT_DEFAULT_wxUSE_MGL=1
2816 ;;
2817
2818 *-pc-os2_emx | *-pc-os2-emx )
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __EMX__ 1
2821 _ACEOF
2822
2823 USE_OS2=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __OS2__ 1
2826 _ACEOF
2827
2828 PROGRAM_EXT=".exe"
2829 DEFAULT_DEFAULT_wxUSE_PM=1
2830 CXX=gcc
2831 LDFLAGS="$LDFLAGS -Zcrtdll"
2832 ac_executable_extensions=".exe"
2833 export ac_executable_extensions
2834 ac_save_IFS="$IFS"
2835 IFS='\\'
2836 ac_TEMP_PATH=
2837 for ac_dir in $PATH; do
2838 IFS=$ac_save_IFS
2839 if test -z "$ac_TEMP_PATH"; then
2840 ac_TEMP_PATH="$ac_dir"
2841 else
2842 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2843 fi
2844 done
2845 export PATH="$ac_TEMP_PATH"
2846 unset ac_TEMP_PATH
2847 DEFAULT_STD_FLAG=no
2848 ;;
2849
2850 *-*-darwin* )
2851 USE_BSD=1
2852 USE_DARWIN=1
2853 SO_SUFFIX=dylib
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __BSD__ 1
2856 _ACEOF
2857
2858 cat >>confdefs.h <<\_ACEOF
2859 #define __DARWIN__ 1
2860 _ACEOF
2861
2862 cat >>confdefs.h <<\_ACEOF
2863 #define TARGET_CARBON 1
2864 _ACEOF
2865
2866 DEFAULT_DEFAULT_wxUSE_MAC=1
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869 powerpc-apple-macos* )
2870 USE_UNIX=0
2871 ac_cv_c_bigendian=yes
2872 SO_SUFFIX=shlib
2873 DEFAULT_DEFAULT_wxUSE_MAC=1
2874 DEFAULT_STD_FLAG=no
2875 ;;
2876
2877 *-*-beos* )
2878 USE_BEOS=1
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __BEOS__ 1
2881 _ACEOF
2882
2883 ;;
2884
2885 *)
2886 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2887 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2888 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2889 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2890
2891 DEFAULT_DEFAULT_wxUSE_X11=1
2892 DEFAULT_wxUSE_SHARED=no
2893 esac
2894
2895
2896
2897
2898 wx_arg_cache_file="configarg.cache"
2899 echo "loading argument cache $wx_arg_cache_file"
2900 rm -f ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}.tmp
2902 touch ${wx_arg_cache_file}
2903
2904
2905 DEBUG_CONFIGURE=0
2906 if test $DEBUG_CONFIGURE = 1; then
2907 DEFAULT_wxUSE_UNIVERSAL=no
2908 DEFAULT_wxUSE_STL=no
2909 DEFAULT_wxUSE_EXTENDED_RTTI=no
2910
2911 DEFAULT_wxUSE_NANOX=no
2912
2913 DEFAULT_wxUSE_THREADS=yes
2914
2915 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2916 DEFAULT_wxUSE_OPTIMISE=no
2917 DEFAULT_wxUSE_PROFILE=no
2918 DEFAULT_wxUSE_NO_DEPS=no
2919 DEFAULT_wxUSE_VARARG_MACROS=no
2920 DEFAULT_wxUSE_NO_RTTI=no
2921 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2922 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2923 DEFAULT_wxUSE_RPATH=yes
2924 DEFAULT_wxUSE_PERMISSIVE=no
2925 DEFAULT_wxUSE_DEBUG_FLAG=yes
2926 DEFAULT_wxUSE_DEBUG_INFO=yes
2927 DEFAULT_wxUSE_DEBUG_GDB=yes
2928 DEFAULT_wxUSE_MEM_TRACING=no
2929 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2930 DEFAULT_wxUSE_DMALLOC=no
2931 DEFAULT_wxUSE_APPLE_IEEE=no
2932
2933 DEFAULT_wxUSE_EXCEPTIONS=no
2934 DEFAULT_wxUSE_LOG=yes
2935 DEFAULT_wxUSE_LOGWINDOW=no
2936 DEFAULT_wxUSE_LOGGUI=no
2937 DEFAULT_wxUSE_LOGDIALOG=no
2938
2939 DEFAULT_wxUSE_GUI=yes
2940 DEFAULT_wxUSE_CONTROLS=no
2941
2942 DEFAULT_wxUSE_REGEX=no
2943 DEFAULT_wxUSE_XML=no
2944 DEFAULT_wxUSE_EXPAT=no
2945 DEFAULT_wxUSE_ZLIB=no
2946 DEFAULT_wxUSE_LIBPNG=no
2947 DEFAULT_wxUSE_LIBJPEG=no
2948 DEFAULT_wxUSE_LIBTIFF=no
2949 DEFAULT_wxUSE_LIBXPM=no
2950 DEFAULT_wxUSE_LIBMSPACK=no
2951 DEFAULT_wxUSE_LIBSDL=no
2952 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2953 DEFAULT_wxUSE_LIBGNOMEVFS=no
2954 DEFAULT_wxUSE_LIBHILDON=no
2955 DEFAULT_wxUSE_ODBC=no
2956 DEFAULT_wxUSE_OPENGL=no
2957
2958 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2959 DEFAULT_wxUSE_STACKWALKER=no
2960 DEFAULT_wxUSE_DEBUGREPORT=no
2961 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2962 DEFAULT_wxUSE_STD_IOSTREAM=no
2963 DEFAULT_wxUSE_STD_STRING=no
2964 DEFAULT_wxUSE_CMDLINE_PARSER=no
2965 DEFAULT_wxUSE_DATETIME=no
2966 DEFAULT_wxUSE_TIMER=no
2967 DEFAULT_wxUSE_STOPWATCH=no
2968 DEFAULT_wxUSE_FILE=no
2969 DEFAULT_wxUSE_FFILE=no
2970 DEFAULT_wxUSE_STDPATHS=no
2971 DEFAULT_wxUSE_TEXTBUFFER=no
2972 DEFAULT_wxUSE_TEXTFILE=no
2973 DEFAULT_wxUSE_SOUND=no
2974 DEFAULT_wxUSE_MEDIACTRL=no
2975 DEFAULT_wxUSE_GSTREAMER8=no
2976 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2977 DEFAULT_wxUSE_INTL=no
2978 DEFAULT_wxUSE_CONFIG=no
2979 DEFAULT_wxUSE_FONTMAP=no
2980 DEFAULT_wxUSE_STREAMS=no
2981 DEFAULT_wxUSE_SOCKETS=no
2982 DEFAULT_wxUSE_OLE=no
2983 DEFAULT_wxUSE_DATAOBJ=no
2984 DEFAULT_wxUSE_DIALUP_MANAGER=no
2985 DEFAULT_wxUSE_JOYSTICK=no
2986 DEFAULT_wxUSE_DYNLIB_CLASS=no
2987 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2988 DEFAULT_wxUSE_LONGLONG=no
2989 DEFAULT_wxUSE_GEOMETRY=no
2990
2991 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2992 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2993 DEFAULT_wxUSE_POSTSCRIPT=no
2994
2995 DEFAULT_wxUSE_CLIPBOARD=no
2996 DEFAULT_wxUSE_TOOLTIPS=no
2997 DEFAULT_wxUSE_DRAG_AND_DROP=no
2998 DEFAULT_wxUSE_DRAGIMAGE=no
2999 DEFAULT_wxUSE_SPLINES=no
3000 DEFAULT_wxUSE_MOUSEWHEEL=no
3001
3002 DEFAULT_wxUSE_MDI=no
3003 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3004 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3005 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3006
3007 DEFAULT_wxUSE_CONSTRAINTS=no
3008 DEFAULT_wxUSE_IPC=no
3009 DEFAULT_wxUSE_HELP=no
3010 DEFAULT_wxUSE_MS_HTML_HELP=no
3011 DEFAULT_wxUSE_WXHTML_HELP=no
3012 DEFAULT_wxUSE_TREELAYOUT=no
3013 DEFAULT_wxUSE_METAFILE=no
3014 DEFAULT_wxUSE_MIMETYPE=no
3015 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3016 DEFAULT_wxUSE_PROTOCOL=no
3017 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FTP=no
3019 DEFAULT_wxUSE_PROTOCOL_FILE=no
3020 DEFAULT_wxUSE_URL=no
3021 DEFAULT_wxUSE_VARIANT=no
3022
3023 DEFAULT_wxUSE_ABOUTDLG=no
3024 DEFAULT_wxUSE_COMMONDLGS=no
3025 DEFAULT_wxUSE_CHOICEDLG=no
3026 DEFAULT_wxUSE_COLOURDLG=no
3027 DEFAULT_wxUSE_DIRDLG=no
3028 DEFAULT_wxUSE_FILEDLG=no
3029 DEFAULT_wxUSE_FINDREPLDLG=no
3030 DEFAULT_wxUSE_FONTDLG=no
3031 DEFAULT_wxUSE_MSGDLG=no
3032 DEFAULT_wxUSE_NUMBERDLG=no
3033 DEFAULT_wxUSE_TEXTDLG=no
3034 DEFAULT_wxUSE_SPLASH=no
3035 DEFAULT_wxUSE_STARTUP_TIPS=no
3036 DEFAULT_wxUSE_PROGRESSDLG=no
3037 DEFAULT_wxUSE_WIZARDDLG=no
3038
3039 DEFAULT_wxUSE_MENUS=no
3040 DEFAULT_wxUSE_MINIFRAME=no
3041 DEFAULT_wxUSE_HTML=no
3042 DEFAULT_wxUSE_RICHTEXT=no
3043 DEFAULT_wxUSE_XRC=no
3044 DEFAULT_wxUSE_AUI=no
3045 DEFAULT_wxUSE_STC=no
3046 DEFAULT_wxUSE_WEBKIT=no
3047 DEFAULT_wxUSE_FILESYSTEM=no
3048 DEFAULT_wxUSE_FS_INET=no
3049 DEFAULT_wxUSE_FS_ZIP=no
3050 DEFAULT_wxUSE_FS_ARCHIVE=no
3051 DEFAULT_wxUSE_BUSYINFO=no
3052 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3053 DEFAULT_wxUSE_ZIPSTREAM=no
3054 DEFAULT_wxUSE_TARSTREAM=no
3055 DEFAULT_wxUSE_VALIDATORS=no
3056
3057 DEFAULT_wxUSE_ACCEL=no
3058 DEFAULT_wxUSE_ANIMATIONCTRL=no
3059 DEFAULT_wxUSE_BUTTON=no
3060 DEFAULT_wxUSE_BMPBUTTON=no
3061 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3062 DEFAULT_wxUSE_CALCTRL=no
3063 DEFAULT_wxUSE_CARET=no
3064 DEFAULT_wxUSE_CHECKBOX=no
3065 DEFAULT_wxUSE_CHECKLST=no
3066 DEFAULT_wxUSE_CHOICE=no
3067 DEFAULT_wxUSE_CHOICEBOOK=no
3068 DEFAULT_wxUSE_COLLPANE=no
3069 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3070 DEFAULT_wxUSE_COMBOBOX=no
3071 DEFAULT_wxUSE_COMBOCTRL=no
3072 DEFAULT_wxUSE_DATEPICKCTRL=no
3073 DEFAULT_wxUSE_DISPLAY=no
3074 DEFAULT_wxUSE_DETECT_SM=no
3075 DEFAULT_wxUSE_DIRPICKERCTRL=no
3076 DEFAULT_wxUSE_EDITABLELISTBOX=no
3077 DEFAULT_wxUSE_FILEPICKERCTRL=no
3078 DEFAULT_wxUSE_FONTPICKERCTRL=no
3079 DEFAULT_wxUSE_GAUGE=no
3080 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3081 DEFAULT_wxUSE_GRID=no
3082 DEFAULT_wxUSE_HYPERLINKCTRL=no
3083 DEFAULT_wxUSE_DATAVIEWCTRL=no
3084 DEFAULT_wxUSE_IMAGLIST=no
3085 DEFAULT_wxUSE_LISTBOOK=no
3086 DEFAULT_wxUSE_LISTBOX=no
3087 DEFAULT_wxUSE_LISTCTRL=no
3088 DEFAULT_wxUSE_NOTEBOOK=no
3089 DEFAULT_wxUSE_ODCOMBOBOX=no
3090 DEFAULT_wxUSE_RADIOBOX=no
3091 DEFAULT_wxUSE_RADIOBTN=no
3092 DEFAULT_wxUSE_SASH=no
3093 DEFAULT_wxUSE_SCROLLBAR=no
3094 DEFAULT_wxUSE_SEARCHCTRL=no
3095 DEFAULT_wxUSE_SLIDER=no
3096 DEFAULT_wxUSE_SPINBTN=no
3097 DEFAULT_wxUSE_SPINCTRL=no
3098 DEFAULT_wxUSE_SPLITTER=no
3099 DEFAULT_wxUSE_STATBMP=no
3100 DEFAULT_wxUSE_STATBOX=no
3101 DEFAULT_wxUSE_STATLINE=no
3102 DEFAULT_wxUSE_STATTEXT=no
3103 DEFAULT_wxUSE_STATUSBAR=yes
3104 DEFAULT_wxUSE_TAB_DIALOG=no
3105 DEFAULT_wxUSE_TEXTCTRL=no
3106 DEFAULT_wxUSE_TOGGLEBTN=no
3107 DEFAULT_wxUSE_TOOLBAR=no
3108 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3109 DEFAULT_wxUSE_TREEBOOK=no
3110 DEFAULT_wxUSE_TOOLBOOK=no
3111 DEFAULT_wxUSE_TREECTRL=no
3112 DEFAULT_wxUSE_POPUPWIN=no
3113 DEFAULT_wxUSE_TIPWINDOW=no
3114
3115 DEFAULT_wxUSE_UNICODE=no
3116 DEFAULT_wxUSE_UNICODE_MSLU=no
3117 DEFAULT_wxUSE_UNICODE_UTF8=auto
3118 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3119 DEFAULT_wxUSE_WCSRTOMBS=no
3120
3121 DEFAULT_wxUSE_PALETTE=no
3122 DEFAULT_wxUSE_IMAGE=no
3123 DEFAULT_wxUSE_GIF=no
3124 DEFAULT_wxUSE_PCX=no
3125 DEFAULT_wxUSE_TGA=no
3126 DEFAULT_wxUSE_PNM=no
3127 DEFAULT_wxUSE_IFF=no
3128 DEFAULT_wxUSE_XPM=no
3129 DEFAULT_wxUSE_ICO_CUR=no
3130 DEFAULT_wxUSE_ACCESSIBILITY=no
3131
3132 DEFAULT_wxUSE_MONOLITHIC=no
3133 DEFAULT_wxUSE_PLUGINS=no
3134 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3135 else
3136 DEFAULT_wxUSE_UNIVERSAL=no
3137 DEFAULT_wxUSE_STL=no
3138 DEFAULT_wxUSE_EXTENDED_RTTI=no
3139
3140 DEFAULT_wxUSE_NANOX=no
3141
3142 DEFAULT_wxUSE_THREADS=yes
3143
3144 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3145 DEFAULT_wxUSE_OPTIMISE=yes
3146 DEFAULT_wxUSE_PROFILE=no
3147 DEFAULT_wxUSE_NO_DEPS=no
3148 DEFAULT_wxUSE_VARARG_MACROS=yes
3149 DEFAULT_wxUSE_NO_RTTI=no
3150 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3151 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3152 DEFAULT_wxUSE_RPATH=yes
3153 DEFAULT_wxUSE_PERMISSIVE=no
3154 DEFAULT_wxUSE_DEBUG_FLAG=no
3155 DEFAULT_wxUSE_DEBUG_INFO=no
3156 DEFAULT_wxUSE_DEBUG_GDB=no
3157 DEFAULT_wxUSE_MEM_TRACING=no
3158 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3159 DEFAULT_wxUSE_DMALLOC=no
3160 DEFAULT_wxUSE_APPLE_IEEE=yes
3161
3162 DEFAULT_wxUSE_EXCEPTIONS=yes
3163 DEFAULT_wxUSE_LOG=yes
3164 DEFAULT_wxUSE_LOGWINDOW=yes
3165 DEFAULT_wxUSE_LOGGUI=yes
3166 DEFAULT_wxUSE_LOGDIALOG=yes
3167
3168 DEFAULT_wxUSE_GUI=yes
3169
3170 DEFAULT_wxUSE_REGEX=yes
3171 DEFAULT_wxUSE_XML=yes
3172 DEFAULT_wxUSE_EXPAT=yes
3173 DEFAULT_wxUSE_ZLIB=yes
3174 DEFAULT_wxUSE_LIBPNG=yes
3175 DEFAULT_wxUSE_LIBJPEG=yes
3176 DEFAULT_wxUSE_LIBTIFF=yes
3177 DEFAULT_wxUSE_LIBXPM=yes
3178 DEFAULT_wxUSE_LIBMSPACK=yes
3179 DEFAULT_wxUSE_LIBSDL=no
3180 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3181 DEFAULT_wxUSE_LIBGNOMEVFS=no
3182 DEFAULT_wxUSE_LIBHILDON=no
3183 DEFAULT_wxUSE_ODBC=no
3184 DEFAULT_wxUSE_OPENGL=no
3185
3186 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3187 DEFAULT_wxUSE_STACKWALKER=yes
3188 DEFAULT_wxUSE_DEBUGREPORT=yes
3189 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3190 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3192 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3193 DEFAULT_wxUSE_DATETIME=yes
3194 DEFAULT_wxUSE_TIMER=yes
3195 DEFAULT_wxUSE_STOPWATCH=yes
3196 DEFAULT_wxUSE_FILE=yes
3197 DEFAULT_wxUSE_FFILE=yes
3198 DEFAULT_wxUSE_STDPATHS=yes
3199 DEFAULT_wxUSE_TEXTBUFFER=yes
3200 DEFAULT_wxUSE_TEXTFILE=yes
3201 DEFAULT_wxUSE_SOUND=yes
3202 DEFAULT_wxUSE_MEDIACTRL=no
3203 DEFAULT_wxUSE_GSTREAMER8=no
3204 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3205 DEFAULT_wxUSE_INTL=yes
3206 DEFAULT_wxUSE_CONFIG=yes
3207 DEFAULT_wxUSE_FONTMAP=yes
3208 DEFAULT_wxUSE_STREAMS=yes
3209 DEFAULT_wxUSE_SOCKETS=yes
3210 DEFAULT_wxUSE_OLE=yes
3211 DEFAULT_wxUSE_DATAOBJ=yes
3212 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3213 DEFAULT_wxUSE_JOYSTICK=yes
3214 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3215 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3216 DEFAULT_wxUSE_LONGLONG=yes
3217 DEFAULT_wxUSE_GEOMETRY=yes
3218
3219 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3220 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3221 DEFAULT_wxUSE_POSTSCRIPT=yes
3222
3223 DEFAULT_wxUSE_CLIPBOARD=yes
3224 DEFAULT_wxUSE_TOOLTIPS=yes
3225 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3226 DEFAULT_wxUSE_DRAGIMAGE=yes
3227 DEFAULT_wxUSE_SPLINES=yes
3228 DEFAULT_wxUSE_MOUSEWHEEL=yes
3229
3230 DEFAULT_wxUSE_MDI=yes
3231 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3233 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3234
3235 DEFAULT_wxUSE_CONSTRAINTS=yes
3236 DEFAULT_wxUSE_IPC=yes
3237 DEFAULT_wxUSE_HELP=yes
3238 DEFAULT_wxUSE_MS_HTML_HELP=yes
3239 DEFAULT_wxUSE_WXHTML_HELP=yes
3240 DEFAULT_wxUSE_TREELAYOUT=yes
3241 DEFAULT_wxUSE_METAFILE=yes
3242 DEFAULT_wxUSE_MIMETYPE=yes
3243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3244 DEFAULT_wxUSE_PROTOCOL=yes
3245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3248 DEFAULT_wxUSE_URL=yes
3249 DEFAULT_wxUSE_VARIANT=yes
3250
3251 DEFAULT_wxUSE_ABOUTDLG=yes
3252 DEFAULT_wxUSE_COMMONDLGS=yes
3253 DEFAULT_wxUSE_CHOICEDLG=yes
3254 DEFAULT_wxUSE_COLOURDLG=yes
3255 DEFAULT_wxUSE_DIRDLG=yes
3256 DEFAULT_wxUSE_FILEDLG=yes
3257 DEFAULT_wxUSE_FINDREPLDLG=yes
3258 DEFAULT_wxUSE_FONTDLG=yes
3259 DEFAULT_wxUSE_MSGDLG=yes
3260 DEFAULT_wxUSE_NUMBERDLG=yes
3261 DEFAULT_wxUSE_TEXTDLG=yes
3262 DEFAULT_wxUSE_SPLASH=yes
3263 DEFAULT_wxUSE_STARTUP_TIPS=yes
3264 DEFAULT_wxUSE_PROGRESSDLG=yes
3265 DEFAULT_wxUSE_WIZARDDLG=yes
3266
3267 DEFAULT_wxUSE_MENUS=yes
3268 DEFAULT_wxUSE_MINIFRAME=yes
3269 DEFAULT_wxUSE_HTML=yes
3270 DEFAULT_wxUSE_RICHTEXT=yes
3271 DEFAULT_wxUSE_XRC=yes
3272 DEFAULT_wxUSE_AUI=yes
3273 DEFAULT_wxUSE_STC=yes
3274 DEFAULT_wxUSE_WEBKIT=yes
3275 DEFAULT_wxUSE_FILESYSTEM=yes
3276 DEFAULT_wxUSE_FS_INET=yes
3277 DEFAULT_wxUSE_FS_ZIP=yes
3278 DEFAULT_wxUSE_FS_ARCHIVE=yes
3279 DEFAULT_wxUSE_BUSYINFO=yes
3280 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3281 DEFAULT_wxUSE_ZIPSTREAM=yes
3282 DEFAULT_wxUSE_TARSTREAM=yes
3283 DEFAULT_wxUSE_VALIDATORS=yes
3284
3285 DEFAULT_wxUSE_ACCEL=yes
3286 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3287 DEFAULT_wxUSE_BUTTON=yes
3288 DEFAULT_wxUSE_BMPBUTTON=yes
3289 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3290 DEFAULT_wxUSE_CALCTRL=yes
3291 DEFAULT_wxUSE_CARET=yes
3292 DEFAULT_wxUSE_CHECKBOX=yes
3293 DEFAULT_wxUSE_CHECKLST=yes
3294 DEFAULT_wxUSE_CHOICE=yes
3295 DEFAULT_wxUSE_CHOICEBOOK=yes
3296 DEFAULT_wxUSE_COLLPANE=yes
3297 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3298 DEFAULT_wxUSE_COMBOBOX=yes
3299 DEFAULT_wxUSE_COMBOCTRL=yes
3300 DEFAULT_wxUSE_DATEPICKCTRL=yes
3301 DEFAULT_wxUSE_DISPLAY=yes
3302 DEFAULT_wxUSE_DETECT_SM=yes
3303 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3304 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3305 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3306 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3307 DEFAULT_wxUSE_GAUGE=yes
3308 DEFAULT_wxUSE_GRID=yes
3309 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3310 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3311 DEFAULT_wxUSE_DATAVIEWCTRL=no
3312 DEFAULT_wxUSE_IMAGLIST=yes
3313 DEFAULT_wxUSE_LISTBOOK=yes
3314 DEFAULT_wxUSE_LISTBOX=yes
3315 DEFAULT_wxUSE_LISTCTRL=yes
3316 DEFAULT_wxUSE_NOTEBOOK=yes
3317 DEFAULT_wxUSE_ODCOMBOBOX=yes
3318 DEFAULT_wxUSE_RADIOBOX=yes
3319 DEFAULT_wxUSE_RADIOBTN=yes
3320 DEFAULT_wxUSE_SASH=yes
3321 DEFAULT_wxUSE_SCROLLBAR=yes
3322 DEFAULT_wxUSE_SEARCHCTRL=yes
3323 DEFAULT_wxUSE_SLIDER=yes
3324 DEFAULT_wxUSE_SPINBTN=yes
3325 DEFAULT_wxUSE_SPINCTRL=yes
3326 DEFAULT_wxUSE_SPLITTER=yes
3327 DEFAULT_wxUSE_STATBMP=yes
3328 DEFAULT_wxUSE_STATBOX=yes
3329 DEFAULT_wxUSE_STATLINE=yes
3330 DEFAULT_wxUSE_STATTEXT=yes
3331 DEFAULT_wxUSE_STATUSBAR=yes
3332 DEFAULT_wxUSE_TAB_DIALOG=no
3333 DEFAULT_wxUSE_TEXTCTRL=yes
3334 DEFAULT_wxUSE_TOGGLEBTN=yes
3335 DEFAULT_wxUSE_TOOLBAR=yes
3336 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3337 DEFAULT_wxUSE_TREEBOOK=yes
3338 DEFAULT_wxUSE_TOOLBOOK=yes
3339 DEFAULT_wxUSE_TREECTRL=yes
3340 DEFAULT_wxUSE_POPUPWIN=yes
3341 DEFAULT_wxUSE_TIPWINDOW=yes
3342
3343 DEFAULT_wxUSE_UNICODE=no
3344 DEFAULT_wxUSE_UNICODE_MSLU=yes
3345 DEFAULT_wxUSE_UNICODE_UTF8=auto
3346 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3347 DEFAULT_wxUSE_WCSRTOMBS=no
3348
3349 DEFAULT_wxUSE_PALETTE=yes
3350 DEFAULT_wxUSE_IMAGE=yes
3351 DEFAULT_wxUSE_GIF=yes
3352 DEFAULT_wxUSE_PCX=yes
3353 DEFAULT_wxUSE_TGA=yes
3354 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3355 DEFAULT_wxUSE_XPM=yes
3356 DEFAULT_wxUSE_ICO_CUR=yes
3357 DEFAULT_wxUSE_ACCESSIBILITY=no
3358
3359 DEFAULT_wxUSE_MONOLITHIC=no
3360 DEFAULT_wxUSE_PLUGINS=no
3361 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3362
3363 DEFAULT_wxUSE_GTK2=yes
3364 fi
3365
3366 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3367
3368
3369
3370
3371 for toolkit in `echo $ALL_TOOLKITS`; do
3372 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3373 if test "x$LINE" != "x" ; then
3374 has_toolkit_in_cache=1
3375 eval "DEFAULT_$LINE"
3376 eval "CACHE_$toolkit=1"
3377
3378 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3379 if test "x$LINE" != "x" ; then
3380 eval "DEFAULT_$LINE"
3381 fi
3382 fi
3383 done
3384
3385
3386
3387 enablestring=
3388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3390 no_cache=0
3391 # Check whether --enable-gui was given.
3392 if test "${enable_gui+set}" = set; then
3393 enableval=$enable_gui;
3394 if test "$enableval" = yes; then
3395 ac_cv_use_gui='wxUSE_GUI=yes'
3396 else
3397 ac_cv_use_gui='wxUSE_GUI=no'
3398 fi
3399
3400 else
3401
3402 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3403 if test "x$LINE" != x ; then
3404 eval "DEFAULT_$LINE"
3405 else
3406 no_cache=1
3407 fi
3408
3409 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3410
3411 fi
3412
3413
3414 eval "$ac_cv_use_gui"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3417 fi
3418
3419 if test "$wxUSE_GUI" = yes; then
3420 { echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6; }
3422 else
3423 { echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6; }
3425 fi
3426
3427
3428 enablestring=
3429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3430 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3431 no_cache=0
3432 # Check whether --enable-monolithic was given.
3433 if test "${enable_monolithic+set}" = set; then
3434 enableval=$enable_monolithic;
3435 if test "$enableval" = yes; then
3436 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3437 else
3438 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3439 fi
3440
3441 else
3442
3443 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3444 if test "x$LINE" != x ; then
3445 eval "DEFAULT_$LINE"
3446 else
3447 no_cache=1
3448 fi
3449
3450 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3451
3452 fi
3453
3454
3455 eval "$ac_cv_use_monolithic"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3458 fi
3459
3460 if test "$wxUSE_MONOLITHIC" = yes; then
3461 { echo "$as_me:$LINENO: result: yes" >&5
3462 echo "${ECHO_T}yes" >&6; }
3463 else
3464 { echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6; }
3466 fi
3467
3468
3469 enablestring=
3470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3471 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3472 no_cache=0
3473 # Check whether --enable-plugins was given.
3474 if test "${enable_plugins+set}" = set; then
3475 enableval=$enable_plugins;
3476 if test "$enableval" = yes; then
3477 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3478 else
3479 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3480 fi
3481
3482 else
3483
3484 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x ; then
3486 eval "DEFAULT_$LINE"
3487 else
3488 no_cache=1
3489 fi
3490
3491 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3492
3493 fi
3494
3495
3496 eval "$ac_cv_use_plugins"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3499 fi
3500
3501 if test "$wxUSE_PLUGINS" = yes; then
3502 { echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6; }
3504 else
3505 { echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6; }
3507 fi
3508
3509
3510 withstring=without
3511 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3512 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3513 no_cache=0
3514
3515 # Check whether --with-subdirs was given.
3516 if test "${with_subdirs+set}" = set; then
3517 withval=$with_subdirs;
3518 if test "$withval" = yes; then
3519 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3520 else
3521 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3522 fi
3523
3524 else
3525
3526 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3529 else
3530 no_cache=1
3531 fi
3532
3533 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3534
3535 fi
3536
3537
3538 eval "$ac_cv_use_subdirs"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3541 fi
3542
3543 if test "$wxWITH_SUBDIRS" = yes; then
3544 { echo "$as_me:$LINENO: result: yes" >&5
3545 echo "${ECHO_T}yes" >&6; }
3546 else
3547 { echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6; }
3549 fi
3550
3551
3552 if test "$wxUSE_GUI" = "yes"; then
3553
3554
3555 enablestring=
3556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3557 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3558 no_cache=0
3559 # Check whether --enable-universal was given.
3560 if test "${enable_universal+set}" = set; then
3561 enableval=$enable_universal;
3562 if test "$enableval" = yes; then
3563 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3564 else
3565 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3566 fi
3567
3568 else
3569
3570 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3578
3579 fi
3580
3581
3582 eval "$ac_cv_use_universal"
3583 if test "$no_cache" != 1; then
3584 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3585 fi
3586
3587 if test "$wxUSE_UNIVERSAL" = yes; then
3588 { echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6; }
3590 else
3591 { echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6; }
3593 fi
3594
3595
3596 # Check whether --with-gtk was given.
3597 if test "${with_gtk+set}" = set; then
3598 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3599 fi
3600
3601
3602 # Check whether --with-motif was given.
3603 if test "${with_motif+set}" = set; then
3604 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3605 fi
3606
3607
3608 # Check whether --with-mac was given.
3609 if test "${with_mac+set}" = set; then
3610 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3611 fi
3612
3613
3614 # Check whether --with-cocoa was given.
3615 if test "${with_cocoa+set}" = set; then
3616 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3617 fi
3618
3619
3620 # Check whether --with-wine was given.
3621 if test "${with_wine+set}" = set; then
3622 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3623 fi
3624
3625
3626 # Check whether --with-msw was given.
3627 if test "${with_msw+set}" = set; then
3628 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3629 fi
3630
3631
3632 # Check whether --with-pm was given.
3633 if test "${with_pm+set}" = set; then
3634 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3635 fi
3636
3637
3638 # Check whether --with-mgl was given.
3639 if test "${with_mgl+set}" = set; then
3640 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3641 fi
3642
3643
3644 # Check whether --with-directfb was given.
3645 if test "${with_directfb+set}" = set; then
3646 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3647 fi
3648
3649
3650 # Check whether --with-microwin was given.
3651 if test "${with_microwin+set}" = set; then
3652 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3653 fi
3654
3655
3656 # Check whether --with-x11 was given.
3657 if test "${with_x11+set}" = set; then
3658 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3659 fi
3660
3661
3662 enablestring=
3663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3665 no_cache=0
3666 # Check whether --enable-nanox was given.
3667 if test "${enable_nanox+set}" = set; then
3668 enableval=$enable_nanox;
3669 if test "$enableval" = yes; then
3670 ac_cv_use_nanox='wxUSE_NANOX=yes'
3671 else
3672 ac_cv_use_nanox='wxUSE_NANOX=no'
3673 fi
3674
3675 else
3676
3677 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3678 if test "x$LINE" != x ; then
3679 eval "DEFAULT_$LINE"
3680 else
3681 no_cache=1
3682 fi
3683
3684 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3685
3686 fi
3687
3688
3689 eval "$ac_cv_use_nanox"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3692 fi
3693
3694 if test "$wxUSE_NANOX" = yes; then
3695 { echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6; }
3697 else
3698 { echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6; }
3700 fi
3701
3702
3703 # Check whether --enable-gtk2 was given.
3704 if test "${enable_gtk2+set}" = set; then
3705 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3706 fi
3707
3708
3709 enablestring=
3710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3712 no_cache=0
3713 # Check whether --enable-gpe was given.
3714 if test "${enable_gpe+set}" = set; then
3715 enableval=$enable_gpe;
3716 if test "$enableval" = yes; then
3717 ac_cv_use_gpe='wxUSE_GPE=yes'
3718 else
3719 ac_cv_use_gpe='wxUSE_GPE=no'
3720 fi
3721
3722 else
3723
3724 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3727 else
3728 no_cache=1
3729 fi
3730
3731 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3732
3733 fi
3734
3735
3736 eval "$ac_cv_use_gpe"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3739 fi
3740
3741 if test "$wxUSE_GPE" = yes; then
3742 { echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6; }
3744 else
3745 { echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6; }
3747 fi
3748
3749
3750
3751 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3752 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3753 no_cache=0
3754
3755 # Check whether --with-libpng was given.
3756 if test "${with_libpng+set}" = set; then
3757 withval=$with_libpng;
3758 if test "$withval" = yes; then
3759 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3760 elif test "$withval" = no; then
3761 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3762 elif test "$withval" = sys; then
3763 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3764 elif test "$withval" = builtin; then
3765 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3766 else
3767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3768 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3769 { (exit 1); exit 1; }; }
3770 fi
3771
3772 else
3773
3774 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x ; then
3776 eval "DEFAULT_$LINE"
3777 else
3778 no_cache=1
3779 fi
3780
3781 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3782
3783 fi
3784
3785
3786 eval "$ac_cv_use_libpng"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3789 fi
3790
3791 if test "$wxUSE_LIBPNG" = yes; then
3792 { echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6; }
3794 elif test "$wxUSE_LIBPNG" = no; then
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3797 elif test "$wxUSE_LIBPNG" = sys; then
3798 { echo "$as_me:$LINENO: result: system version" >&5
3799 echo "${ECHO_T}system version" >&6; }
3800 elif test "$wxUSE_LIBPNG" = builtin; then
3801 { echo "$as_me:$LINENO: result: builtin version" >&5
3802 echo "${ECHO_T}builtin version" >&6; }
3803 else
3804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3805 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3806 { (exit 1); exit 1; }; }
3807 fi
3808
3809
3810 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3811 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3812 no_cache=0
3813
3814 # Check whether --with-libjpeg was given.
3815 if test "${with_libjpeg+set}" = set; then
3816 withval=$with_libjpeg;
3817 if test "$withval" = yes; then
3818 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3819 elif test "$withval" = no; then
3820 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3821 elif test "$withval" = sys; then
3822 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3823 elif test "$withval" = builtin; then
3824 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3825 else
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3829 fi
3830
3831 else
3832
3833 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x ; then
3835 eval "DEFAULT_$LINE"
3836 else
3837 no_cache=1
3838 fi
3839
3840 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3841
3842 fi
3843
3844
3845 eval "$ac_cv_use_libjpeg"
3846 if test "$no_cache" != 1; then
3847 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3848 fi
3849
3850 if test "$wxUSE_LIBJPEG" = yes; then
3851 { echo "$as_me:$LINENO: result: yes" >&5
3852 echo "${ECHO_T}yes" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = no; then
3854 { echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = sys; then
3857 { echo "$as_me:$LINENO: result: system version" >&5
3858 echo "${ECHO_T}system version" >&6; }
3859 elif test "$wxUSE_LIBJPEG" = builtin; then
3860 { echo "$as_me:$LINENO: result: builtin version" >&5
3861 echo "${ECHO_T}builtin version" >&6; }
3862 else
3863 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3864 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3865 { (exit 1); exit 1; }; }
3866 fi
3867
3868
3869 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3870 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3871 no_cache=0
3872
3873 # Check whether --with-libtiff was given.
3874 if test "${with_libtiff+set}" = set; then
3875 withval=$with_libtiff;
3876 if test "$withval" = yes; then
3877 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3878 elif test "$withval" = no; then
3879 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3880 elif test "$withval" = sys; then
3881 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3882 elif test "$withval" = builtin; then
3883 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3884 else
3885 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3886 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3887 { (exit 1); exit 1; }; }
3888 fi
3889
3890 else
3891
3892 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3895 else
3896 no_cache=1
3897 fi
3898
3899 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3900
3901 fi
3902
3903
3904 eval "$ac_cv_use_libtiff"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3907 fi
3908
3909 if test "$wxUSE_LIBTIFF" = yes; then
3910 { echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = no; then
3913 { echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = sys; then
3916 { echo "$as_me:$LINENO: result: system version" >&5
3917 echo "${ECHO_T}system version" >&6; }
3918 elif test "$wxUSE_LIBTIFF" = builtin; then
3919 { echo "$as_me:$LINENO: result: builtin version" >&5
3920 echo "${ECHO_T}builtin version" >&6; }
3921 else
3922 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3923 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3924 { (exit 1); exit 1; }; }
3925 fi
3926
3927
3928 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3929 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3930 no_cache=0
3931
3932 # Check whether --with-libxpm was given.
3933 if test "${with_libxpm+set}" = set; then
3934 withval=$with_libxpm;
3935 if test "$withval" = yes; then
3936 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3937 elif test "$withval" = no; then
3938 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3939 elif test "$withval" = sys; then
3940 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3941 elif test "$withval" = builtin; then
3942 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3943 else
3944 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3945 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3946 { (exit 1); exit 1; }; }
3947 fi
3948
3949 else
3950
3951 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x ; then
3953 eval "DEFAULT_$LINE"
3954 else
3955 no_cache=1
3956 fi
3957
3958 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3959
3960 fi
3961
3962
3963 eval "$ac_cv_use_libxpm"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3966 fi
3967
3968 if test "$wxUSE_LIBXPM" = yes; then
3969 { echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6; }
3971 elif test "$wxUSE_LIBXPM" = no; then
3972 { echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6; }
3974 elif test "$wxUSE_LIBXPM" = sys; then
3975 { echo "$as_me:$LINENO: result: system version" >&5
3976 echo "${ECHO_T}system version" >&6; }
3977 elif test "$wxUSE_LIBXPM" = builtin; then
3978 { echo "$as_me:$LINENO: result: builtin version" >&5
3979 echo "${ECHO_T}builtin version" >&6; }
3980 else
3981 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3982 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3983 { (exit 1); exit 1; }; }
3984 fi
3985
3986
3987 withstring=
3988 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3989 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3990 no_cache=0
3991
3992 # Check whether --with-libmspack was given.
3993 if test "${with_libmspack+set}" = set; then
3994 withval=$with_libmspack;
3995 if test "$withval" = yes; then
3996 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3997 else
3998 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3999 fi
4000
4001 else
4002
4003 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x ; then
4005 eval "DEFAULT_$LINE"
4006 else
4007 no_cache=1
4008 fi
4009
4010 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4011
4012 fi
4013
4014
4015 eval "$ac_cv_use_libmspack"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4018 fi
4019
4020 if test "$wxUSE_LIBMSPACK" = yes; then
4021 { echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6; }
4023 else
4024 { echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6; }
4026 fi
4027
4028
4029 withstring=
4030 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4031 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4032 no_cache=0
4033
4034 # Check whether --with-sdl was given.
4035 if test "${with_sdl+set}" = set; then
4036 withval=$with_sdl;
4037 if test "$withval" = yes; then
4038 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4039 else
4040 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4041 fi
4042
4043 else
4044
4045 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4048 else
4049 no_cache=1
4050 fi
4051
4052 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4053
4054 fi
4055
4056
4057 eval "$ac_cv_use_sdl"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4060 fi
4061
4062 if test "$wxUSE_LIBSDL" = yes; then
4063 { echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6; }
4065 else
4066 { echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6; }
4068 fi
4069
4070
4071 withstring=
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4074 no_cache=0
4075
4076 # Check whether --with-gnomeprint was given.
4077 if test "${with_gnomeprint+set}" = set; then
4078 withval=$with_gnomeprint;
4079 if test "$withval" = yes; then
4080 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4081 else
4082 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4083 fi
4084
4085 else
4086
4087 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x ; then
4089 eval "DEFAULT_$LINE"
4090 else
4091 no_cache=1
4092 fi
4093
4094 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4095
4096 fi
4097
4098
4099 eval "$ac_cv_use_gnomeprint"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4102 fi
4103
4104 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4105 { echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6; }
4107 else
4108 { echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6; }
4110 fi
4111
4112
4113 withstring=
4114 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4115 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4116 no_cache=0
4117
4118 # Check whether --with-gnomevfs was given.
4119 if test "${with_gnomevfs+set}" = set; then
4120 withval=$with_gnomevfs;
4121 if test "$withval" = yes; then
4122 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4123 else
4124 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4125 fi
4126
4127 else
4128
4129 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4132 else
4133 no_cache=1
4134 fi
4135
4136 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4137
4138 fi
4139
4140
4141 eval "$ac_cv_use_gnomevfs"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4147 { echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6; }
4149 else
4150 { echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6; }
4152 fi
4153
4154
4155 withstring=
4156 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4157 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4158 no_cache=0
4159
4160 # Check whether --with-hildon was given.
4161 if test "${with_hildon+set}" = set; then
4162 withval=$with_hildon;
4163 if test "$withval" = yes; then
4164 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4165 else
4166 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4167 fi
4168
4169 else
4170
4171 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4174 else
4175 no_cache=1
4176 fi
4177
4178 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4179
4180 fi
4181
4182
4183 eval "$ac_cv_use_hildon"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4186 fi
4187
4188 if test "$wxUSE_LIBHILDON" = yes; then
4189 { echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6; }
4191 else
4192 { echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6; }
4194 fi
4195
4196
4197 withstring=
4198 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4199 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4200 no_cache=0
4201
4202 # Check whether --with-opengl was given.
4203 if test "${with_opengl+set}" = set; then
4204 withval=$with_opengl;
4205 if test "$withval" = yes; then
4206 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4207 else
4208 ac_cv_use_opengl='wxUSE_OPENGL=no'
4209 fi
4210
4211 else
4212
4213 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x ; then
4215 eval "DEFAULT_$LINE"
4216 else
4217 no_cache=1
4218 fi
4219
4220 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4221
4222 fi
4223
4224
4225 eval "$ac_cv_use_opengl"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4228 fi
4229
4230 if test "$wxUSE_OPENGL" = yes; then
4231 { echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6; }
4233 else
4234 { echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6; }
4236 fi
4237
4238
4239 if test "$wxUSE_UNIVERSAL" = "yes"; then
4240
4241 # Check whether --with-themes was given.
4242 if test "${with_themes+set}" = set; then
4243 withval=$with_themes; wxUNIV_THEMES="$withval"
4244 fi
4245
4246 fi
4247
4248 fi
4249
4250
4251 withstring=
4252 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4253 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4254 no_cache=0
4255
4256 # Check whether --with-dmalloc was given.
4257 if test "${with_dmalloc+set}" = set; then
4258 withval=$with_dmalloc;
4259 if test "$withval" = yes; then
4260 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4261 else
4262 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4263 fi
4264
4265 else
4266
4267 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x ; then
4269 eval "DEFAULT_$LINE"
4270 else
4271 no_cache=1
4272 fi
4273
4274 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4275
4276 fi
4277
4278
4279 eval "$ac_cv_use_dmalloc"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4282 fi
4283
4284 if test "$wxUSE_DMALLOC" = yes; then
4285 { echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6; }
4287 else
4288 { echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6; }
4290 fi
4291
4292
4293 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4294 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4295 no_cache=0
4296
4297 # Check whether --with-regex was given.
4298 if test "${with_regex+set}" = set; then
4299 withval=$with_regex;
4300 if test "$withval" = yes; then
4301 ac_cv_use_regex='wxUSE_REGEX=yes'
4302 elif test "$withval" = no; then
4303 ac_cv_use_regex='wxUSE_REGEX=no'
4304 elif test "$withval" = sys; then
4305 ac_cv_use_regex='wxUSE_REGEX=sys'
4306 elif test "$withval" = builtin; then
4307 ac_cv_use_regex='wxUSE_REGEX=builtin'
4308 else
4309 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4310 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4311 { (exit 1); exit 1; }; }
4312 fi
4313
4314 else
4315
4316 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4319 else
4320 no_cache=1
4321 fi
4322
4323 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4324
4325 fi
4326
4327
4328 eval "$ac_cv_use_regex"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4331 fi
4332
4333 if test "$wxUSE_REGEX" = yes; then
4334 { echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6; }
4336 elif test "$wxUSE_REGEX" = no; then
4337 { echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6; }
4339 elif test "$wxUSE_REGEX" = sys; then
4340 { echo "$as_me:$LINENO: result: system version" >&5
4341 echo "${ECHO_T}system version" >&6; }
4342 elif test "$wxUSE_REGEX" = builtin; then
4343 { echo "$as_me:$LINENO: result: builtin version" >&5
4344 echo "${ECHO_T}builtin version" >&6; }
4345 else
4346 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4347 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4348 { (exit 1); exit 1; }; }
4349 fi
4350
4351
4352 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4353 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4354 no_cache=0
4355
4356 # Check whether --with-zlib was given.
4357 if test "${with_zlib+set}" = set; then
4358 withval=$with_zlib;
4359 if test "$withval" = yes; then
4360 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4361 elif test "$withval" = no; then
4362 ac_cv_use_zlib='wxUSE_ZLIB=no'
4363 elif test "$withval" = sys; then
4364 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4365 elif test "$withval" = builtin; then
4366 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4367 else
4368 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4369 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4370 { (exit 1); exit 1; }; }
4371 fi
4372
4373 else
4374
4375 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x ; then
4377 eval "DEFAULT_$LINE"
4378 else
4379 no_cache=1
4380 fi
4381
4382 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4383
4384 fi
4385
4386
4387 eval "$ac_cv_use_zlib"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4390 fi
4391
4392 if test "$wxUSE_ZLIB" = yes; then
4393 { echo "$as_me:$LINENO: result: yes" >&5
4394 echo "${ECHO_T}yes" >&6; }
4395 elif test "$wxUSE_ZLIB" = no; then
4396 { echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6; }
4398 elif test "$wxUSE_ZLIB" = sys; then
4399 { echo "$as_me:$LINENO: result: system version" >&5
4400 echo "${ECHO_T}system version" >&6; }
4401 elif test "$wxUSE_ZLIB" = builtin; then
4402 { echo "$as_me:$LINENO: result: builtin version" >&5
4403 echo "${ECHO_T}builtin version" >&6; }
4404 else
4405 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4406 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4407 { (exit 1); exit 1; }; }
4408 fi
4409
4410
4411 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4412 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4413 no_cache=0
4414
4415 # Check whether --with-odbc was given.
4416 if test "${with_odbc+set}" = set; then
4417 withval=$with_odbc;
4418 if test "$withval" = yes; then
4419 ac_cv_use_odbc='wxUSE_ODBC=yes'
4420 elif test "$withval" = no; then
4421 ac_cv_use_odbc='wxUSE_ODBC=no'
4422 elif test "$withval" = sys; then
4423 ac_cv_use_odbc='wxUSE_ODBC=sys'
4424 elif test "$withval" = builtin; then
4425 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4426 else
4427 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4428 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4429 { (exit 1); exit 1; }; }
4430 fi
4431
4432 else
4433
4434 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4437 else
4438 no_cache=1
4439 fi
4440
4441 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4442
4443 fi
4444
4445
4446 eval "$ac_cv_use_odbc"
4447 if test "$no_cache" != 1; then
4448 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4449 fi
4450
4451 if test "$wxUSE_ODBC" = yes; then
4452 { echo "$as_me:$LINENO: result: yes" >&5
4453 echo "${ECHO_T}yes" >&6; }
4454 elif test "$wxUSE_ODBC" = no; then
4455 { echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6; }
4457 elif test "$wxUSE_ODBC" = sys; then
4458 { echo "$as_me:$LINENO: result: system version" >&5
4459 echo "${ECHO_T}system version" >&6; }
4460 elif test "$wxUSE_ODBC" = builtin; then
4461 { echo "$as_me:$LINENO: result: builtin version" >&5
4462 echo "${ECHO_T}builtin version" >&6; }
4463 else
4464 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4465 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4466 { (exit 1); exit 1; }; }
4467 fi
4468
4469
4470 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4471 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4472 no_cache=0
4473
4474 # Check whether --with-expat was given.
4475 if test "${with_expat+set}" = set; then
4476 withval=$with_expat;
4477 if test "$withval" = yes; then
4478 ac_cv_use_expat='wxUSE_EXPAT=yes'
4479 elif test "$withval" = no; then
4480 ac_cv_use_expat='wxUSE_EXPAT=no'
4481 elif test "$withval" = sys; then
4482 ac_cv_use_expat='wxUSE_EXPAT=sys'
4483 elif test "$withval" = builtin; then
4484 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4485 else
4486 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4487 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4488 { (exit 1); exit 1; }; }
4489 fi
4490
4491 else
4492
4493 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4494 if test "x$LINE" != x ; then
4495 eval "DEFAULT_$LINE"
4496 else
4497 no_cache=1
4498 fi
4499
4500 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4501
4502 fi
4503
4504
4505 eval "$ac_cv_use_expat"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4508 fi
4509
4510 if test "$wxUSE_EXPAT" = yes; then
4511 { echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6; }
4513 elif test "$wxUSE_EXPAT" = no; then
4514 { echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6; }
4516 elif test "$wxUSE_EXPAT" = sys; then
4517 { echo "$as_me:$LINENO: result: system version" >&5
4518 echo "${ECHO_T}system version" >&6; }
4519 elif test "$wxUSE_EXPAT" = builtin; then
4520 { echo "$as_me:$LINENO: result: builtin version" >&5
4521 echo "${ECHO_T}builtin version" >&6; }
4522 else
4523 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4524 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4525 { (exit 1); exit 1; }; }
4526 fi
4527
4528
4529
4530
4531 enablestring=
4532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4533 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4534 no_cache=0
4535 # Check whether --enable-shared was given.
4536 if test "${enable_shared+set}" = set; then
4537 enableval=$enable_shared;
4538 if test "$enableval" = yes; then
4539 ac_cv_use_shared='wxUSE_SHARED=yes'
4540 else
4541 ac_cv_use_shared='wxUSE_SHARED=no'
4542 fi
4543
4544 else
4545
4546 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x ; then
4548 eval "DEFAULT_$LINE"
4549 else
4550 no_cache=1
4551 fi
4552
4553 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4554
4555 fi
4556
4557
4558 eval "$ac_cv_use_shared"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4561 fi
4562
4563 if test "$wxUSE_SHARED" = yes; then
4564 { echo "$as_me:$LINENO: result: yes" >&5
4565 echo "${ECHO_T}yes" >&6; }
4566 else
4567 { echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6; }
4569 fi
4570
4571
4572 enablestring=
4573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4575 no_cache=0
4576 # Check whether --enable-optimise was given.
4577 if test "${enable_optimise+set}" = set; then
4578 enableval=$enable_optimise;
4579 if test "$enableval" = yes; then
4580 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4581 else
4582 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4583 fi
4584
4585 else
4586
4587 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x ; then
4589 eval "DEFAULT_$LINE"
4590 else
4591 no_cache=1
4592 fi
4593
4594 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4595
4596 fi
4597
4598
4599 eval "$ac_cv_use_optimise"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4602 fi
4603
4604 if test "$wxUSE_OPTIMISE" = yes; then
4605 { echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6; }
4607 else
4608 { echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6; }
4610 fi
4611
4612
4613 enablestring=
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4616 no_cache=0
4617 # Check whether --enable-debug was given.
4618 if test "${enable_debug+set}" = set; then
4619 enableval=$enable_debug;
4620 if test "$enableval" = yes; then
4621 ac_cv_use_debug='wxUSE_DEBUG=yes'
4622 else
4623 ac_cv_use_debug='wxUSE_DEBUG=no'
4624 fi
4625
4626 else
4627
4628 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x ; then
4630 eval "DEFAULT_$LINE"
4631 else
4632 no_cache=1
4633 fi
4634
4635 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4636
4637 fi
4638
4639
4640 eval "$ac_cv_use_debug"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4643 fi
4644
4645 if test "$wxUSE_DEBUG" = yes; then
4646 { echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6; }
4648 else
4649 { echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6; }
4651 fi
4652
4653
4654 enablestring=
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4657 no_cache=0
4658 # Check whether --enable-stl was given.
4659 if test "${enable_stl+set}" = set; then
4660 enableval=$enable_stl;
4661 if test "$enableval" = yes; then
4662 ac_cv_use_stl='wxUSE_STL=yes'
4663 else
4664 ac_cv_use_stl='wxUSE_STL=no'
4665 fi
4666
4667 else
4668
4669 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x ; then
4671 eval "DEFAULT_$LINE"
4672 else
4673 no_cache=1
4674 fi
4675
4676 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4677
4678 fi
4679
4680
4681 eval "$ac_cv_use_stl"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4684 fi
4685
4686 if test "$wxUSE_STL" = yes; then
4687 { echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6; }
4689 else
4690 { echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6; }
4692 fi
4693
4694
4695 enablestring=
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4698 no_cache=0
4699 # Check whether --enable-extended_rtti was given.
4700 if test "${enable_extended_rtti+set}" = set; then
4701 enableval=$enable_extended_rtti;
4702 if test "$enableval" = yes; then
4703 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4704 else
4705 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4706 fi
4707
4708 else
4709
4710 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x ; then
4712 eval "DEFAULT_$LINE"
4713 else
4714 no_cache=1
4715 fi
4716
4717 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4718
4719 fi
4720
4721
4722 eval "$ac_cv_use_extended_rtti"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4725 fi
4726
4727 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4728 { echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6; }
4730 else
4731 { echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6; }
4733 fi
4734
4735 if test "$USE_OS2" = "1"; then
4736 DEFAULT_wxUSE_OMF=no
4737
4738 enablestring=
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4741 no_cache=0
4742 # Check whether --enable-omf was given.
4743 if test "${enable_omf+set}" = set; then
4744 enableval=$enable_omf;
4745 if test "$enableval" = yes; then
4746 ac_cv_use_omf='wxUSE_OMF=yes'
4747 else
4748 ac_cv_use_omf='wxUSE_OMF=no'
4749 fi
4750
4751 else
4752
4753 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4756 else
4757 no_cache=1
4758 fi
4759
4760 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4761
4762 fi
4763
4764
4765 eval "$ac_cv_use_omf"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4768 fi
4769
4770 if test "$wxUSE_OMF" = yes; then
4771 { echo "$as_me:$LINENO: result: yes" >&5
4772 echo "${ECHO_T}yes" >&6; }
4773 else
4774 { echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6; }
4776 fi
4777
4778 fi
4779
4780 if test "$wxUSE_DEBUG" = "yes"; then
4781 DEFAULT_wxUSE_DEBUG_FLAG=yes
4782 DEFAULT_wxUSE_DEBUG_INFO=yes
4783 BUILD=debug
4784 elif test "$wxUSE_DEBUG" = "no"; then
4785 DEFAULT_wxUSE_DEBUG_FLAG=no
4786 DEFAULT_wxUSE_DEBUG_INFO=no
4787 BUILD=release
4788 fi
4789
4790
4791 enablestring=
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4794 no_cache=0
4795 # Check whether --enable-debug_flag was given.
4796 if test "${enable_debug_flag+set}" = set; then
4797 enableval=$enable_debug_flag;
4798 if test "$enableval" = yes; then
4799 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4800 else
4801 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4802 fi
4803
4804 else
4805
4806 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4814
4815 fi
4816
4817
4818 eval "$ac_cv_use_debug_flag"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 if test "$wxUSE_DEBUG_FLAG" = yes; then
4824 { echo "$as_me:$LINENO: result: yes" >&5
4825 echo "${ECHO_T}yes" >&6; }
4826 else
4827 { echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6; }
4829 fi
4830
4831
4832 enablestring=
4833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4834 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4835 no_cache=0
4836 # Check whether --enable-debug_info was given.
4837 if test "${enable_debug_info+set}" = set; then
4838 enableval=$enable_debug_info;
4839 if test "$enableval" = yes; then
4840 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4841 else
4842 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4843 fi
4844
4845 else
4846
4847 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4850 else
4851 no_cache=1
4852 fi
4853
4854 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4855
4856 fi
4857
4858
4859 eval "$ac_cv_use_debug_info"
4860 if test "$no_cache" != 1; then
4861 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4862 fi
4863
4864 if test "$wxUSE_DEBUG_INFO" = yes; then
4865 { echo "$as_me:$LINENO: result: yes" >&5
4866 echo "${ECHO_T}yes" >&6; }
4867 else
4868 { echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6; }
4870 fi
4871
4872
4873 enablestring=
4874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4876 no_cache=0
4877 # Check whether --enable-debug_gdb was given.
4878 if test "${enable_debug_gdb+set}" = set; then
4879 enableval=$enable_debug_gdb;
4880 if test "$enableval" = yes; then
4881 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4882 else
4883 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4884 fi
4885
4886 else
4887
4888 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4891 else
4892 no_cache=1
4893 fi
4894
4895 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4896
4897 fi
4898
4899
4900 eval "$ac_cv_use_debug_gdb"
4901 if test "$no_cache" != 1; then
4902 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4903 fi
4904
4905 if test "$wxUSE_DEBUG_GDB" = yes; then
4906 { echo "$as_me:$LINENO: result: yes" >&5
4907 echo "${ECHO_T}yes" >&6; }
4908 else
4909 { echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6; }
4911 fi
4912
4913
4914 enablestring=
4915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4916 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4917 no_cache=0
4918 # Check whether --enable-debug_cntxt was given.
4919 if test "${enable_debug_cntxt+set}" = set; then
4920 enableval=$enable_debug_cntxt;
4921 if test "$enableval" = yes; then
4922 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4923 else
4924 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4925 fi
4926
4927 else
4928
4929 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4932 else
4933 no_cache=1
4934 fi
4935
4936 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4937
4938 fi
4939
4940
4941 eval "$ac_cv_use_debug_cntxt"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4944 fi
4945
4946 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4947 { echo "$as_me:$LINENO: result: yes" >&5
4948 echo "${ECHO_T}yes" >&6; }
4949 else
4950 { echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6; }
4952 fi
4953
4954
4955 enablestring=
4956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4957 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4958 no_cache=0
4959 # Check whether --enable-mem_tracing was given.
4960 if test "${enable_mem_tracing+set}" = set; then
4961 enableval=$enable_mem_tracing;
4962 if test "$enableval" = yes; then
4963 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4964 else
4965 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4966 fi
4967
4968 else
4969
4970 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4973 else
4974 no_cache=1
4975 fi
4976
4977 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4978
4979 fi
4980
4981
4982 eval "$ac_cv_use_mem_tracing"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4985 fi
4986
4987 if test "$wxUSE_MEM_TRACING" = yes; then
4988 { echo "$as_me:$LINENO: result: yes" >&5
4989 echo "${ECHO_T}yes" >&6; }
4990 else
4991 { echo "$as_me:$LINENO: result: no" >&5
4992 echo "${ECHO_T}no" >&6; }
4993 fi
4994
4995
4996 enablestring=
4997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4999 no_cache=0
5000 # Check whether --enable-profile was given.
5001 if test "${enable_profile+set}" = set; then
5002 enableval=$enable_profile;
5003 if test "$enableval" = yes; then
5004 ac_cv_use_profile='wxUSE_PROFILE=yes'
5005 else
5006 ac_cv_use_profile='wxUSE_PROFILE=no'
5007 fi
5008
5009 else
5010
5011 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x ; then
5013 eval "DEFAULT_$LINE"
5014 else
5015 no_cache=1
5016 fi
5017
5018 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5019
5020 fi
5021
5022
5023 eval "$ac_cv_use_profile"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5026 fi
5027
5028 if test "$wxUSE_PROFILE" = yes; then
5029 { echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6; }
5031 else
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5034 fi
5035
5036
5037 enablestring=
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5040 no_cache=0
5041 # Check whether --enable-no_rtti was given.
5042 if test "${enable_no_rtti+set}" = set; then
5043 enableval=$enable_no_rtti;
5044 if test "$enableval" = yes; then
5045 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5046 else
5047 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5048 fi
5049
5050 else
5051
5052 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5053 if test "x$LINE" != x ; then
5054 eval "DEFAULT_$LINE"
5055 else
5056 no_cache=1
5057 fi
5058
5059 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5060
5061 fi
5062
5063
5064 eval "$ac_cv_use_no_rtti"
5065 if test "$no_cache" != 1; then
5066 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5067 fi
5068
5069 if test "$wxUSE_NO_RTTI" = yes; then
5070 { echo "$as_me:$LINENO: result: yes" >&5
5071 echo "${ECHO_T}yes" >&6; }
5072 else
5073 { echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6; }
5075 fi
5076
5077
5078 enablestring=
5079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5081 no_cache=0
5082 # Check whether --enable-no_exceptions was given.
5083 if test "${enable_no_exceptions+set}" = set; then
5084 enableval=$enable_no_exceptions;
5085 if test "$enableval" = yes; then
5086 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5087 else
5088 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5089 fi
5090
5091 else
5092
5093 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x ; then
5095 eval "DEFAULT_$LINE"
5096 else
5097 no_cache=1
5098 fi
5099
5100 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5101
5102 fi
5103
5104
5105 eval "$ac_cv_use_no_exceptions"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5108 fi
5109
5110 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5111 { echo "$as_me:$LINENO: result: yes" >&5
5112 echo "${ECHO_T}yes" >&6; }
5113 else
5114 { echo "$as_me:$LINENO: result: no" >&5
5115 echo "${ECHO_T}no" >&6; }
5116 fi
5117
5118
5119 enablestring=
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5122 no_cache=0
5123 # Check whether --enable-permissive was given.
5124 if test "${enable_permissive+set}" = set; then
5125 enableval=$enable_permissive;
5126 if test "$enableval" = yes; then
5127 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5128 else
5129 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5130 fi
5131
5132 else
5133
5134 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5135 if test "x$LINE" != x ; then
5136 eval "DEFAULT_$LINE"
5137 else
5138 no_cache=1
5139 fi
5140
5141 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5142
5143 fi
5144
5145
5146 eval "$ac_cv_use_permissive"
5147 if test "$no_cache" != 1; then
5148 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5149 fi
5150
5151 if test "$wxUSE_PERMISSIVE" = yes; then
5152 { echo "$as_me:$LINENO: result: yes" >&5
5153 echo "${ECHO_T}yes" >&6; }
5154 else
5155 { echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6; }
5157 fi
5158
5159
5160 enablestring=
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5163 no_cache=0
5164 # Check whether --enable-no_deps was given.
5165 if test "${enable_no_deps+set}" = set; then
5166 enableval=$enable_no_deps;
5167 if test "$enableval" = yes; then
5168 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5169 else
5170 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5171 fi
5172
5173 else
5174
5175 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5176 if test "x$LINE" != x ; then
5177 eval "DEFAULT_$LINE"
5178 else
5179 no_cache=1
5180 fi
5181
5182 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5183
5184 fi
5185
5186
5187 eval "$ac_cv_use_no_deps"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5190 fi
5191
5192 if test "$wxUSE_NO_DEPS" = yes; then
5193 { echo "$as_me:$LINENO: result: yes" >&5
5194 echo "${ECHO_T}yes" >&6; }
5195 else
5196 { echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6; }
5198 fi
5199
5200
5201 enablestring=
5202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5204 no_cache=0
5205 # Check whether --enable-vararg_macros was given.
5206 if test "${enable_vararg_macros+set}" = set; then
5207 enableval=$enable_vararg_macros;
5208 if test "$enableval" = yes; then
5209 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5210 else
5211 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5212 fi
5213
5214 else
5215
5216 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5217 if test "x$LINE" != x ; then
5218 eval "DEFAULT_$LINE"
5219 else
5220 no_cache=1
5221 fi
5222
5223 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5224
5225 fi
5226
5227
5228 eval "$ac_cv_use_vararg_macros"
5229 if test "$no_cache" != 1; then
5230 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5231 fi
5232
5233 if test "$wxUSE_VARARG_MACROS" = yes; then
5234 { echo "$as_me:$LINENO: result: yes" >&5
5235 echo "${ECHO_T}yes" >&6; }
5236 else
5237 { echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6; }
5239 fi
5240
5241
5242 enablestring=
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5245 no_cache=0
5246 # Check whether --enable-universal_binary was given.
5247 if test "${enable_universal_binary+set}" = set; then
5248 enableval=$enable_universal_binary;
5249 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5250
5251 else
5252
5253 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5256 else
5257 no_cache=1
5258 fi
5259
5260 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5261
5262 fi
5263
5264
5265 eval "$wx_cv_use_universal_binary"
5266 if test "$no_cache" != 1; then
5267 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5268 fi
5269
5270 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5271 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5272
5273
5274
5275 enablestring=enable
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5278 no_cache=0
5279 # Check whether --enable-compat26 was given.
5280 if test "${enable_compat26+set}" = set; then
5281 enableval=$enable_compat26;
5282 if test "$enableval" = yes; then
5283 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5284 else
5285 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5286 fi
5287
5288 else
5289
5290 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5293 else
5294 no_cache=1
5295 fi
5296
5297 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5298
5299 fi
5300
5301
5302 eval "$ac_cv_use_compat26"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5305 fi
5306
5307 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5308 { echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6; }
5310 else
5311 { echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6; }
5313 fi
5314
5315
5316 enablestring=disable
5317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5319 no_cache=0
5320 # Check whether --enable-compat28 was given.
5321 if test "${enable_compat28+set}" = set; then
5322 enableval=$enable_compat28;
5323 if test "$enableval" = yes; then
5324 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5325 else
5326 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5327 fi
5328
5329 else
5330
5331 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5334 else
5335 no_cache=1
5336 fi
5337
5338 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5339
5340 fi
5341
5342
5343 eval "$ac_cv_use_compat28"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5346 fi
5347
5348 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5349 { echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6; }
5351 else
5352 { echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6; }
5354 fi
5355
5356
5357
5358 enablestring=
5359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5361 no_cache=0
5362 # Check whether --enable-rpath was given.
5363 if test "${enable_rpath+set}" = set; then
5364 enableval=$enable_rpath;
5365 if test "$enableval" = yes; then
5366 ac_cv_use_rpath='wxUSE_RPATH=yes'
5367 else
5368 ac_cv_use_rpath='wxUSE_RPATH=no'
5369 fi
5370
5371 else
5372
5373 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5376 else
5377 no_cache=1
5378 fi
5379
5380 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5381
5382 fi
5383
5384
5385 eval "$ac_cv_use_rpath"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_RPATH" = yes; then
5391 { echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6; }
5393 else
5394 { echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6; }
5396 fi
5397
5398
5399
5400 enablestring=
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5403 no_cache=0
5404 # Check whether --enable-objc_uniquifying was given.
5405 if test "${enable_objc_uniquifying+set}" = set; then
5406 enableval=$enable_objc_uniquifying;
5407 if test "$enableval" = yes; then
5408 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5409 else
5410 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING='$DEFAULT_wxUSE_OBJC_UNIQUIFYING
5423
5424 fi
5425
5426
5427 eval "$ac_cv_use_objc_uniquifying"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5430 fi
5431
5432 if test "$wxUSE_OBJC_UNIQUIFYING" = yes; then
5433 { echo "$as_me:$LINENO: result: yes" >&5
5434 echo "${ECHO_T}yes" >&6; }
5435 else
5436 { echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6; }
5438 fi
5439
5440
5441
5442
5443 enablestring=
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5446 no_cache=0
5447 # Check whether --enable-intl was given.
5448 if test "${enable_intl+set}" = set; then
5449 enableval=$enable_intl;
5450 if test "$enableval" = yes; then
5451 ac_cv_use_intl='wxUSE_INTL=yes'
5452 else
5453 ac_cv_use_intl='wxUSE_INTL=no'
5454 fi
5455
5456 else
5457
5458 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5461 else
5462 no_cache=1
5463 fi
5464
5465 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5466
5467 fi
5468
5469
5470 eval "$ac_cv_use_intl"
5471 if test "$no_cache" != 1; then
5472 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5473 fi
5474
5475 if test "$wxUSE_INTL" = yes; then
5476 { echo "$as_me:$LINENO: result: yes" >&5
5477 echo "${ECHO_T}yes" >&6; }
5478 else
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5481 fi
5482
5483
5484 enablestring=
5485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5486 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5487 no_cache=0
5488 # Check whether --enable-config was given.
5489 if test "${enable_config+set}" = set; then
5490 enableval=$enable_config;
5491 if test "$enableval" = yes; then
5492 ac_cv_use_config='wxUSE_CONFIG=yes'
5493 else
5494 ac_cv_use_config='wxUSE_CONFIG=no'
5495 fi
5496
5497 else
5498
5499 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5502 else
5503 no_cache=1
5504 fi
5505
5506 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5507
5508 fi
5509
5510
5511 eval "$ac_cv_use_config"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5514 fi
5515
5516 if test "$wxUSE_CONFIG" = yes; then
5517 { echo "$as_me:$LINENO: result: yes" >&5
5518 echo "${ECHO_T}yes" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5522 fi
5523
5524
5525
5526 enablestring=
5527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5528 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5529 no_cache=0
5530 # Check whether --enable-protocols was given.
5531 if test "${enable_protocols+set}" = set; then
5532 enableval=$enable_protocols;
5533 if test "$enableval" = yes; then
5534 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5535 else
5536 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5537 fi
5538
5539 else
5540
5541 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x ; then
5543 eval "DEFAULT_$LINE"
5544 else
5545 no_cache=1
5546 fi
5547
5548 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5549
5550 fi
5551
5552
5553 eval "$ac_cv_use_protocols"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5556 fi
5557
5558 if test "$wxUSE_PROTOCOL" = yes; then
5559 { echo "$as_me:$LINENO: result: yes" >&5
5560 echo "${ECHO_T}yes" >&6; }
5561 else
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5564 fi
5565
5566
5567 enablestring=
5568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5569 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5570 no_cache=0
5571 # Check whether --enable-ftp was given.
5572 if test "${enable_ftp+set}" = set; then
5573 enableval=$enable_ftp;
5574 if test "$enableval" = yes; then
5575 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5576 else
5577 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5578 fi
5579
5580 else
5581
5582 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5583 if test "x$LINE" != x ; then
5584 eval "DEFAULT_$LINE"
5585 else
5586 no_cache=1
5587 fi
5588
5589 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5590
5591 fi
5592
5593
5594 eval "$ac_cv_use_ftp"
5595 if test "$no_cache" != 1; then
5596 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5597 fi
5598
5599 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5600 { echo "$as_me:$LINENO: result: yes" >&5
5601 echo "${ECHO_T}yes" >&6; }
5602 else
5603 { echo "$as_me:$LINENO: result: no" >&5
5604 echo "${ECHO_T}no" >&6; }
5605 fi
5606
5607
5608 enablestring=
5609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5610 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5611 no_cache=0
5612 # Check whether --enable-http was given.
5613 if test "${enable_http+set}" = set; then
5614 enableval=$enable_http;
5615 if test "$enableval" = yes; then
5616 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5617 else
5618 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5619 fi
5620
5621 else
5622
5623 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5624 if test "x$LINE" != x ; then
5625 eval "DEFAULT_$LINE"
5626 else
5627 no_cache=1
5628 fi
5629
5630 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5631
5632 fi
5633
5634
5635 eval "$ac_cv_use_http"
5636 if test "$no_cache" != 1; then
5637 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5638 fi
5639
5640 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5641 { echo "$as_me:$LINENO: result: yes" >&5
5642 echo "${ECHO_T}yes" >&6; }
5643 else
5644 { echo "$as_me:$LINENO: result: no" >&5
5645 echo "${ECHO_T}no" >&6; }
5646 fi
5647
5648
5649 enablestring=
5650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5651 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5652 no_cache=0
5653 # Check whether --enable-fileproto was given.
5654 if test "${enable_fileproto+set}" = set; then
5655 enableval=$enable_fileproto;
5656 if test "$enableval" = yes; then
5657 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5658 else
5659 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5660 fi
5661
5662 else
5663
5664 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5665 if test "x$LINE" != x ; then
5666 eval "DEFAULT_$LINE"
5667 else
5668 no_cache=1
5669 fi
5670
5671 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5672
5673 fi
5674
5675
5676 eval "$ac_cv_use_fileproto"
5677 if test "$no_cache" != 1; then
5678 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5679 fi
5680
5681 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no" >&5
5686 echo "${ECHO_T}no" >&6; }
5687 fi
5688
5689
5690 enablestring=
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5693 no_cache=0
5694 # Check whether --enable-sockets was given.
5695 if test "${enable_sockets+set}" = set; then
5696 enableval=$enable_sockets;
5697 if test "$enableval" = yes; then
5698 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5699 else
5700 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5701 fi
5702
5703 else
5704
5705 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5708 else
5709 no_cache=1
5710 fi
5711
5712 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5713
5714 fi
5715
5716
5717 eval "$ac_cv_use_sockets"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5720 fi
5721
5722 if test "$wxUSE_SOCKETS" = yes; then
5723 { echo "$as_me:$LINENO: result: yes" >&5
5724 echo "${ECHO_T}yes" >&6; }
5725 else
5726 { echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6; }
5728 fi
5729
5730
5731 enablestring=
5732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5733 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5734 no_cache=0
5735 # Check whether --enable-ole was given.
5736 if test "${enable_ole+set}" = set; then
5737 enableval=$enable_ole;
5738 if test "$enableval" = yes; then
5739 ac_cv_use_ole='wxUSE_OLE=yes'
5740 else
5741 ac_cv_use_ole='wxUSE_OLE=no'
5742 fi
5743
5744 else
5745
5746 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5747 if test "x$LINE" != x ; then
5748 eval "DEFAULT_$LINE"
5749 else
5750 no_cache=1
5751 fi
5752
5753 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5754
5755 fi
5756
5757
5758 eval "$ac_cv_use_ole"
5759 if test "$no_cache" != 1; then
5760 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5761 fi
5762
5763 if test "$wxUSE_OLE" = yes; then
5764 { echo "$as_me:$LINENO: result: yes" >&5
5765 echo "${ECHO_T}yes" >&6; }
5766 else
5767 { echo "$as_me:$LINENO: result: no" >&5
5768 echo "${ECHO_T}no" >&6; }
5769 fi
5770
5771
5772 enablestring=
5773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5774 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5775 no_cache=0
5776 # Check whether --enable-dataobj was given.
5777 if test "${enable_dataobj+set}" = set; then
5778 enableval=$enable_dataobj;
5779 if test "$enableval" = yes; then
5780 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5781 else
5782 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5783 fi
5784
5785 else
5786
5787 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x ; then
5789 eval "DEFAULT_$LINE"
5790 else
5791 no_cache=1
5792 fi
5793
5794 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5795
5796 fi
5797
5798
5799 eval "$ac_cv_use_dataobj"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5802 fi
5803
5804 if test "$wxUSE_DATAOBJ" = yes; then
5805 { echo "$as_me:$LINENO: result: yes" >&5
5806 echo "${ECHO_T}yes" >&6; }
5807 else
5808 { echo "$as_me:$LINENO: result: no" >&5
5809 echo "${ECHO_T}no" >&6; }
5810 fi
5811
5812
5813
5814 enablestring=
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5817 no_cache=0
5818 # Check whether --enable-ipc was given.
5819 if test "${enable_ipc+set}" = set; then
5820 enableval=$enable_ipc;
5821 if test "$enableval" = yes; then
5822 ac_cv_use_ipc='wxUSE_IPC=yes'
5823 else
5824 ac_cv_use_ipc='wxUSE_IPC=no'
5825 fi
5826
5827 else
5828
5829 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5832 else
5833 no_cache=1
5834 fi
5835
5836 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5837
5838 fi
5839
5840
5841 eval "$ac_cv_use_ipc"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_IPC" = yes; then
5847 { echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6; }
5849 else
5850 { echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6; }
5852 fi
5853
5854
5855
5856 enablestring=
5857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5859 no_cache=0
5860 # Check whether --enable-apple_ieee was given.
5861 if test "${enable_apple_ieee+set}" = set; then
5862 enableval=$enable_apple_ieee;
5863 if test "$enableval" = yes; then
5864 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5865 else
5866 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5879
5880 fi
5881
5882
5883 eval "$ac_cv_use_apple_ieee"
5884 if test "$no_cache" != 1; then
5885 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5886 fi
5887
5888 if test "$wxUSE_APPLE_IEEE" = yes; then
5889 { echo "$as_me:$LINENO: result: yes" >&5
5890 echo "${ECHO_T}yes" >&6; }
5891 else
5892 { echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6; }
5894 fi
5895
5896
5897 enablestring=
5898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5900 no_cache=0
5901 # Check whether --enable-arcstream was given.
5902 if test "${enable_arcstream+set}" = set; then
5903 enableval=$enable_arcstream;
5904 if test "$enableval" = yes; then
5905 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5906 else
5907 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5920
5921 fi
5922
5923
5924 eval "$ac_cv_use_arcstream"
5925 if test "$no_cache" != 1; then
5926 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5927 fi
5928
5929 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5930 { echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6; }
5932 else
5933 { echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6; }
5935 fi
5936
5937
5938 enablestring=
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5941 no_cache=0
5942 # Check whether --enable-backtrace was given.
5943 if test "${enable_backtrace+set}" = set; then
5944 enableval=$enable_backtrace;
5945 if test "$enableval" = yes; then
5946 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5947 else
5948 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5949 fi
5950
5951 else
5952
5953 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 else
5957 no_cache=1
5958 fi
5959
5960 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5961
5962 fi
5963
5964
5965 eval "$ac_cv_use_backtrace"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5968 fi
5969
5970 if test "$wxUSE_STACKWALKER" = yes; then
5971 { echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6; }
5973 else
5974 { echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6; }
5976 fi
5977
5978
5979 enablestring=
5980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5982 no_cache=0
5983 # Check whether --enable-catch_segvs was given.
5984 if test "${enable_catch_segvs+set}" = set; then
5985 enableval=$enable_catch_segvs;
5986 if test "$enableval" = yes; then
5987 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5988 else
5989 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5990 fi
5991
5992 else
5993
5994 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
5997 else
5998 no_cache=1
5999 fi
6000
6001 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
6002
6003 fi
6004
6005
6006 eval "$ac_cv_use_catch_segvs"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6009 fi
6010
6011 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
6012 { echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6; }
6014 else
6015 { echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6; }
6017 fi
6018
6019
6020 enablestring=
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6023 no_cache=0
6024 # Check whether --enable-cmdline was given.
6025 if test "${enable_cmdline+set}" = set; then
6026 enableval=$enable_cmdline;
6027 if test "$enableval" = yes; then
6028 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6029 else
6030 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6031 fi
6032
6033 else
6034
6035 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6038 else
6039 no_cache=1
6040 fi
6041
6042 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
6043
6044 fi
6045
6046
6047 eval "$ac_cv_use_cmdline"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6050 fi
6051
6052 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6053 { echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6; }
6055 else
6056 { echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6; }
6058 fi
6059
6060
6061 enablestring=
6062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6064 no_cache=0
6065 # Check whether --enable-datetime was given.
6066 if test "${enable_datetime+set}" = set; then
6067 enableval=$enable_datetime;
6068 if test "$enableval" = yes; then
6069 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6070 else
6071 ac_cv_use_datetime='wxUSE_DATETIME=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6084
6085 fi
6086
6087
6088 eval "$ac_cv_use_datetime"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_DATETIME" = yes; then
6094 { echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6; }
6096 else
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6099 fi
6100
6101
6102 enablestring=
6103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6105 no_cache=0
6106 # Check whether --enable-debugreport was given.
6107 if test "${enable_debugreport+set}" = set; then
6108 enableval=$enable_debugreport;
6109 if test "$enableval" = yes; then
6110 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6111 else
6112 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6125
6126 fi
6127
6128
6129 eval "$ac_cv_use_debugreport"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_DEBUGREPORT" = yes; then
6135 { echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6; }
6137 else
6138 { echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6; }
6140 fi
6141
6142
6143 enablestring=
6144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6146 no_cache=0
6147 # Check whether --enable-dialupman was given.
6148 if test "${enable_dialupman+set}" = set; then
6149 enableval=$enable_dialupman;
6150 if test "$enableval" = yes; then
6151 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6152 else
6153 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6166
6167 fi
6168
6169
6170 eval "$ac_cv_use_dialupman"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6173 fi
6174
6175 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6176 { echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6; }
6178 else
6179 { echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6; }
6181 fi
6182
6183
6184 enablestring=
6185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6187 no_cache=0
6188 # Check whether --enable-dynlib was given.
6189 if test "${enable_dynlib+set}" = set; then
6190 enableval=$enable_dynlib;
6191 if test "$enableval" = yes; then
6192 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6193 else
6194 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6195 fi
6196
6197 else
6198
6199 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 else
6203 no_cache=1
6204 fi
6205
6206 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6207
6208 fi
6209
6210
6211 eval "$ac_cv_use_dynlib"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6214 fi
6215
6216 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6217 { echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6; }
6219 else
6220 { echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6; }
6222 fi
6223
6224
6225 enablestring=
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6228 no_cache=0
6229 # Check whether --enable-dynamicloader was given.
6230 if test "${enable_dynamicloader+set}" = set; then
6231 enableval=$enable_dynamicloader;
6232 if test "$enableval" = yes; then
6233 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6234 else
6235 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6248
6249 fi
6250
6251
6252 eval "$ac_cv_use_dynamicloader"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6255 fi
6256
6257 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6258 { echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6; }
6260 else
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6263 fi
6264
6265
6266 enablestring=
6267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6269 no_cache=0
6270 # Check whether --enable-exceptions was given.
6271 if test "${enable_exceptions+set}" = set; then
6272 enableval=$enable_exceptions;
6273 if test "$enableval" = yes; then
6274 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6275 else
6276 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6277 fi
6278
6279 else
6280
6281 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6284 else
6285 no_cache=1
6286 fi
6287
6288 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6289
6290 fi
6291
6292
6293 eval "$ac_cv_use_exceptions"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6296 fi
6297
6298 if test "$wxUSE_EXCEPTIONS" = yes; then
6299 { echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6; }
6301 else
6302 { echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6; }
6304 fi
6305
6306
6307 enablestring=
6308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6310 no_cache=0
6311 # Check whether --enable-ffile was given.
6312 if test "${enable_ffile+set}" = set; then
6313 enableval=$enable_ffile;
6314 if test "$enableval" = yes; then
6315 ac_cv_use_ffile='wxUSE_FFILE=yes'
6316 else
6317 ac_cv_use_ffile='wxUSE_FFILE=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6330
6331 fi
6332
6333
6334 eval "$ac_cv_use_ffile"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6337 fi
6338
6339 if test "$wxUSE_FFILE" = yes; then
6340 { echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6; }
6342 else
6343 { echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6; }
6345 fi
6346
6347
6348 enablestring=
6349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6351 no_cache=0
6352 # Check whether --enable-file was given.
6353 if test "${enable_file+set}" = set; then
6354 enableval=$enable_file;
6355 if test "$enableval" = yes; then
6356 ac_cv_use_file='wxUSE_FILE=yes'
6357 else
6358 ac_cv_use_file='wxUSE_FILE=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6371
6372 fi
6373
6374
6375 eval "$ac_cv_use_file"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6378 fi
6379
6380 if test "$wxUSE_FILE" = yes; then
6381 { echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6; }
6383 else
6384 { echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6; }
6386 fi
6387
6388
6389 enablestring=
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6392 no_cache=0
6393 # Check whether --enable-filesystem was given.
6394 if test "${enable_filesystem+set}" = set; then
6395 enableval=$enable_filesystem;
6396 if test "$enableval" = yes; then
6397 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6398 else
6399 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6412
6413 fi
6414
6415
6416 eval "$ac_cv_use_filesystem"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6419 fi
6420
6421 if test "$wxUSE_FILESYSTEM" = yes; then
6422 { echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6; }
6424 else
6425 { echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6; }
6427 fi
6428
6429
6430 enablestring=
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6433 no_cache=0
6434 # Check whether --enable-fontmap was given.
6435 if test "${enable_fontmap+set}" = set; then
6436 enableval=$enable_fontmap;
6437 if test "$enableval" = yes; then
6438 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6439 else
6440 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6453
6454 fi
6455
6456
6457 eval "$ac_cv_use_fontmap"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6460 fi
6461
6462 if test "$wxUSE_FONTMAP" = yes; then
6463 { echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6; }
6465 else
6466 { echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6; }
6468 fi
6469
6470
6471 enablestring=
6472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6474 no_cache=0
6475 # Check whether --enable-fs_archive was given.
6476 if test "${enable_fs_archive+set}" = set; then
6477 enableval=$enable_fs_archive;
6478 if test "$enableval" = yes; then
6479 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6480 else
6481 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6494
6495 fi
6496
6497
6498 eval "$ac_cv_use_fs_archive"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6501 fi
6502
6503 if test "$wxUSE_FS_ARCHIVE" = yes; then
6504 { echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6; }
6506 else
6507 { echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6; }
6509 fi
6510
6511
6512 enablestring=
6513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6515 no_cache=0
6516 # Check whether --enable-fs_inet was given.
6517 if test "${enable_fs_inet+set}" = set; then
6518 enableval=$enable_fs_inet;
6519 if test "$enableval" = yes; then
6520 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6521 else
6522 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6523 fi
6524
6525 else
6526
6527 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6530 else
6531 no_cache=1
6532 fi
6533
6534 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6535
6536 fi
6537
6538
6539 eval "$ac_cv_use_fs_inet"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6542 fi
6543
6544 if test "$wxUSE_FS_INET" = yes; then
6545 { echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6; }
6547 else
6548 { echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6; }
6550 fi
6551
6552
6553 enablestring=
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6556 no_cache=0
6557 # Check whether --enable-fs_zip was given.
6558 if test "${enable_fs_zip+set}" = set; then
6559 enableval=$enable_fs_zip;
6560 if test "$enableval" = yes; then
6561 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6562 else
6563 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6576
6577 fi
6578
6579
6580 eval "$ac_cv_use_fs_zip"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6583 fi
6584
6585 if test "$wxUSE_FS_ZIP" = yes; then
6586 { echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6; }
6588 else
6589 { echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6; }
6591 fi
6592
6593
6594 enablestring=
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6597 no_cache=0
6598 # Check whether --enable-geometry was given.
6599 if test "${enable_geometry+set}" = set; then
6600 enableval=$enable_geometry;
6601 if test "$enableval" = yes; then
6602 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6603 else
6604 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6617
6618 fi
6619
6620
6621 eval "$ac_cv_use_geometry"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6624 fi
6625
6626 if test "$wxUSE_GEOMETRY" = yes; then
6627 { echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6; }
6629 else
6630 { echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6; }
6632 fi
6633
6634
6635 enablestring=
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6638 no_cache=0
6639 # Check whether --enable-log was given.
6640 if test "${enable_log+set}" = set; then
6641 enableval=$enable_log;
6642 if test "$enableval" = yes; then
6643 ac_cv_use_log='wxUSE_LOG=yes'
6644 else
6645 ac_cv_use_log='wxUSE_LOG=no'
6646 fi
6647
6648 else
6649
6650 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x ; then
6652 eval "DEFAULT_$LINE"
6653 else
6654 no_cache=1
6655 fi
6656
6657 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6658
6659 fi
6660
6661
6662 eval "$ac_cv_use_log"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_LOG" = yes; then
6668 { echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6; }
6670 else
6671 { echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6; }
6673 fi
6674
6675
6676 enablestring=
6677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6679 no_cache=0
6680 # Check whether --enable-longlong was given.
6681 if test "${enable_longlong+set}" = set; then
6682 enableval=$enable_longlong;
6683 if test "$enableval" = yes; then
6684 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6685 else
6686 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6687 fi
6688
6689 else
6690
6691 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6694 else
6695 no_cache=1
6696 fi
6697
6698 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6699
6700 fi
6701
6702
6703 eval "$ac_cv_use_longlong"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_LONGLONG" = yes; then
6709 { echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6; }
6711 else
6712 { echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6; }
6714 fi
6715
6716
6717 enablestring=
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6720 no_cache=0
6721 # Check whether --enable-mimetype was given.
6722 if test "${enable_mimetype+set}" = set; then
6723 enableval=$enable_mimetype;
6724 if test "$enableval" = yes; then
6725 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6726 else
6727 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6728 fi
6729
6730 else
6731
6732 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6735 else
6736 no_cache=1
6737 fi
6738
6739 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6740
6741 fi
6742
6743
6744 eval "$ac_cv_use_mimetype"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_MIMETYPE" = yes; then
6750 { echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6; }
6752 else
6753 { echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6; }
6755 fi
6756
6757
6758 enablestring=
6759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6761 no_cache=0
6762 # Check whether --enable-mslu was given.
6763 if test "${enable_mslu+set}" = set; then
6764 enableval=$enable_mslu;
6765 if test "$enableval" = yes; then
6766 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6767 else
6768 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6769 fi
6770
6771 else
6772
6773 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x ; then
6775 eval "DEFAULT_$LINE"
6776 else
6777 no_cache=1
6778 fi
6779
6780 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6781
6782 fi
6783
6784
6785 eval "$ac_cv_use_mslu"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_UNICODE_MSLU" = yes; then
6791 { echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6; }
6793 else
6794 { echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6; }
6796 fi
6797
6798
6799 enablestring=
6800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6802 no_cache=0
6803 # Check whether --enable-utf8 was given.
6804 if test "${enable_utf8+set}" = set; then
6805 enableval=$enable_utf8;
6806 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6807
6808 else
6809
6810 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6813 else
6814 no_cache=1
6815 fi
6816
6817 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6818
6819 fi
6820
6821
6822 eval "$wx_cv_use_utf8"
6823 if test "$no_cache" != 1; then
6824 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6825 fi
6826
6827 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6828 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6829
6830
6831 enablestring=
6832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6834 no_cache=0
6835 # Check whether --enable-utf8only was given.
6836 if test "${enable_utf8only+set}" = set; then
6837 enableval=$enable_utf8only;
6838 if test "$enableval" = yes; then
6839 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6840 else
6841 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6842 fi
6843
6844 else
6845
6846 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
6847 if test "x$LINE" != x ; then
6848 eval "DEFAULT_$LINE"
6849 else
6850 no_cache=1
6851 fi
6852
6853 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6854
6855 fi
6856
6857
6858 eval "$ac_cv_use_utf8only"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6861 fi
6862
6863 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6864 { echo "$as_me:$LINENO: result: yes" >&5
6865 echo "${ECHO_T}yes" >&6; }
6866 else
6867 { echo "$as_me:$LINENO: result: no" >&5
6868 echo "${ECHO_T}no" >&6; }
6869 fi
6870
6871
6872 enablestring=
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6875 no_cache=0
6876 # Check whether --enable-snglinst was given.
6877 if test "${enable_snglinst+set}" = set; then
6878 enableval=$enable_snglinst;
6879 if test "$enableval" = yes; then
6880 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6881 else
6882 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6883 fi
6884
6885 else
6886
6887 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6888 if test "x$LINE" != x ; then
6889 eval "DEFAULT_$LINE"
6890 else
6891 no_cache=1
6892 fi
6893
6894 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6895
6896 fi
6897
6898
6899 eval "$ac_cv_use_snglinst"
6900 if test "$no_cache" != 1; then
6901 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6902 fi
6903
6904 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6905 { echo "$as_me:$LINENO: result: yes" >&5
6906 echo "${ECHO_T}yes" >&6; }
6907 else
6908 { echo "$as_me:$LINENO: result: no" >&5
6909 echo "${ECHO_T}no" >&6; }
6910 fi
6911
6912
6913 enablestring=
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6916 no_cache=0
6917 # Check whether --enable-std_iostreams was given.
6918 if test "${enable_std_iostreams+set}" = set; then
6919 enableval=$enable_std_iostreams;
6920 if test "$enableval" = yes; then
6921 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6922 else
6923 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6924 fi
6925
6926 else
6927
6928 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
6929 if test "x$LINE" != x ; then
6930 eval "DEFAULT_$LINE"
6931 else
6932 no_cache=1
6933 fi
6934
6935 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6936
6937 fi
6938
6939
6940 eval "$ac_cv_use_std_iostreams"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6943 fi
6944
6945 if test "$wxUSE_STD_IOSTREAM" = yes; then
6946 { echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6; }
6948 else
6949 { echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6; }
6951 fi
6952
6953
6954 enablestring=
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6957 no_cache=0
6958 # Check whether --enable-std_string was given.
6959 if test "${enable_std_string+set}" = set; then
6960 enableval=$enable_std_string;
6961 if test "$enableval" = yes; then
6962 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6963 else
6964 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6965 fi
6966
6967 else
6968
6969 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x ; then
6971 eval "DEFAULT_$LINE"
6972 else
6973 no_cache=1
6974 fi
6975
6976 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6977
6978 fi
6979
6980
6981 eval "$ac_cv_use_std_string"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6984 fi
6985
6986 if test "$wxUSE_STD_STRING" = yes; then
6987 { echo "$as_me:$LINENO: result: yes" >&5
6988 echo "${ECHO_T}yes" >&6; }
6989 else
6990 { echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6; }
6992 fi
6993
6994
6995 enablestring=
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6998 no_cache=0
6999 # Check whether --enable-stdpaths was given.
7000 if test "${enable_stdpaths+set}" = set; then
7001 enableval=$enable_stdpaths;
7002 if test "$enableval" = yes; then
7003 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7004 else
7005 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7006 fi
7007
7008 else
7009
7010 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x ; then
7012 eval "DEFAULT_$LINE"
7013 else
7014 no_cache=1
7015 fi
7016
7017 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
7018
7019 fi
7020
7021
7022 eval "$ac_cv_use_stdpaths"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7025 fi
7026
7027 if test "$wxUSE_STDPATHS" = yes; then
7028 { echo "$as_me:$LINENO: result: yes" >&5
7029 echo "${ECHO_T}yes" >&6; }
7030 else
7031 { echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6; }
7033 fi
7034
7035
7036 enablestring=
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7039 no_cache=0
7040 # Check whether --enable-stopwatch was given.
7041 if test "${enable_stopwatch+set}" = set; then
7042 enableval=$enable_stopwatch;
7043 if test "$enableval" = yes; then
7044 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7045 else
7046 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7047 fi
7048
7049 else
7050
7051 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7054 else
7055 no_cache=1
7056 fi
7057
7058 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7059
7060 fi
7061
7062
7063 eval "$ac_cv_use_stopwatch"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7066 fi
7067
7068 if test "$wxUSE_STOPWATCH" = yes; then
7069 { echo "$as_me:$LINENO: result: yes" >&5
7070 echo "${ECHO_T}yes" >&6; }
7071 else
7072 { echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6; }
7074 fi
7075
7076
7077 enablestring=
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7080 no_cache=0
7081 # Check whether --enable-streams was given.
7082 if test "${enable_streams+set}" = set; then
7083 enableval=$enable_streams;
7084 if test "$enableval" = yes; then
7085 ac_cv_use_streams='wxUSE_STREAMS=yes'
7086 else
7087 ac_cv_use_streams='wxUSE_STREAMS=no'
7088 fi
7089
7090 else
7091
7092 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x ; then
7094 eval "DEFAULT_$LINE"
7095 else
7096 no_cache=1
7097 fi
7098
7099 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7100
7101 fi
7102
7103
7104 eval "$ac_cv_use_streams"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7107 fi
7108
7109 if test "$wxUSE_STREAMS" = yes; then
7110 { echo "$as_me:$LINENO: result: yes" >&5
7111 echo "${ECHO_T}yes" >&6; }
7112 else
7113 { echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6; }
7115 fi
7116
7117
7118 enablestring=
7119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7120 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7121 no_cache=0
7122 # Check whether --enable-system_options was given.
7123 if test "${enable_system_options+set}" = set; then
7124 enableval=$enable_system_options;
7125 if test "$enableval" = yes; then
7126 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7127 else
7128 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7129 fi
7130
7131 else
7132
7133 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x ; then
7135 eval "DEFAULT_$LINE"
7136 else
7137 no_cache=1
7138 fi
7139
7140 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7141
7142 fi
7143
7144
7145 eval "$ac_cv_use_system_options"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7148 fi
7149
7150 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7151 { echo "$as_me:$LINENO: result: yes" >&5
7152 echo "${ECHO_T}yes" >&6; }
7153 else
7154 { echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6; }
7156 fi
7157
7158
7159 enablestring=
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7162 no_cache=0
7163 # Check whether --enable-tarstream was given.
7164 if test "${enable_tarstream+set}" = set; then
7165 enableval=$enable_tarstream;
7166 if test "$enableval" = yes; then
7167 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7168 else
7169 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7170 fi
7171
7172 else
7173
7174 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x ; then
7176 eval "DEFAULT_$LINE"
7177 else
7178 no_cache=1
7179 fi
7180
7181 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7182
7183 fi
7184
7185
7186 eval "$ac_cv_use_tarstream"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7189 fi
7190
7191 if test "$wxUSE_TARSTREAM" = yes; then
7192 { echo "$as_me:$LINENO: result: yes" >&5
7193 echo "${ECHO_T}yes" >&6; }
7194 else
7195 { echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6; }
7197 fi
7198
7199
7200 enablestring=
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7203 no_cache=0
7204 # Check whether --enable-textbuf was given.
7205 if test "${enable_textbuf+set}" = set; then
7206 enableval=$enable_textbuf;
7207 if test "$enableval" = yes; then
7208 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7209 else
7210 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7211 fi
7212
7213 else
7214
7215 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x ; then
7217 eval "DEFAULT_$LINE"
7218 else
7219 no_cache=1
7220 fi
7221
7222 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7223
7224 fi
7225
7226
7227 eval "$ac_cv_use_textbuf"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7230 fi
7231
7232 if test "$wxUSE_TEXTBUFFER" = yes; then
7233 { echo "$as_me:$LINENO: result: yes" >&5
7234 echo "${ECHO_T}yes" >&6; }
7235 else
7236 { echo "$as_me:$LINENO: result: no" >&5
7237 echo "${ECHO_T}no" >&6; }
7238 fi
7239
7240
7241 enablestring=
7242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7244 no_cache=0
7245 # Check whether --enable-textfile was given.
7246 if test "${enable_textfile+set}" = set; then
7247 enableval=$enable_textfile;
7248 if test "$enableval" = yes; then
7249 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7250 else
7251 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7252 fi
7253
7254 else
7255
7256 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x ; then
7258 eval "DEFAULT_$LINE"
7259 else
7260 no_cache=1
7261 fi
7262
7263 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7264
7265 fi
7266
7267
7268 eval "$ac_cv_use_textfile"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7271 fi
7272
7273 if test "$wxUSE_TEXTFILE" = yes; then
7274 { echo "$as_me:$LINENO: result: yes" >&5
7275 echo "${ECHO_T}yes" >&6; }
7276 else
7277 { echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6; }
7279 fi
7280
7281
7282 enablestring=
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7285 no_cache=0
7286 # Check whether --enable-timer was given.
7287 if test "${enable_timer+set}" = set; then
7288 enableval=$enable_timer;
7289 if test "$enableval" = yes; then
7290 ac_cv_use_timer='wxUSE_TIMER=yes'
7291 else
7292 ac_cv_use_timer='wxUSE_TIMER=no'
7293 fi
7294
7295 else
7296
7297 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7300 else
7301 no_cache=1
7302 fi
7303
7304 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7305
7306 fi
7307
7308
7309 eval "$ac_cv_use_timer"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7312 fi
7313
7314 if test "$wxUSE_TIMER" = yes; then
7315 { echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6; }
7317 else
7318 { echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6; }
7320 fi
7321
7322
7323 enablestring=
7324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7326 no_cache=0
7327 # Check whether --enable-unicode was given.
7328 if test "${enable_unicode+set}" = set; then
7329 enableval=$enable_unicode;
7330 if test "$enableval" = yes; then
7331 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7332 else
7333 ac_cv_use_unicode='wxUSE_UNICODE=no'
7334 fi
7335
7336 else
7337
7338 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
7339 if test "x$LINE" != x ; then
7340 eval "DEFAULT_$LINE"
7341 else
7342 no_cache=1
7343 fi
7344
7345 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7346
7347 fi
7348
7349
7350 eval "$ac_cv_use_unicode"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7353 fi
7354
7355 if test "$wxUSE_UNICODE" = yes; then
7356 { echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6; }
7358 else
7359 { echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6; }
7361 fi
7362
7363
7364 enablestring=
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7367 no_cache=0
7368 # Check whether --enable-sound was given.
7369 if test "${enable_sound+set}" = set; then
7370 enableval=$enable_sound;
7371 if test "$enableval" = yes; then
7372 ac_cv_use_sound='wxUSE_SOUND=yes'
7373 else
7374 ac_cv_use_sound='wxUSE_SOUND=no'
7375 fi
7376
7377 else
7378
7379 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x ; then
7381 eval "DEFAULT_$LINE"
7382 else
7383 no_cache=1
7384 fi
7385
7386 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7387
7388 fi
7389
7390
7391 eval "$ac_cv_use_sound"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7394 fi
7395
7396 if test "$wxUSE_SOUND" = yes; then
7397 { echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6; }
7399 else
7400 { echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6; }
7402 fi
7403
7404
7405 enablestring=
7406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7408 no_cache=0
7409 # Check whether --enable-mediactrl was given.
7410 if test "${enable_mediactrl+set}" = set; then
7411 enableval=$enable_mediactrl;
7412 if test "$enableval" = yes; then
7413 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7414 else
7415 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7416 fi
7417
7418 else
7419
7420 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7421 if test "x$LINE" != x ; then
7422 eval "DEFAULT_$LINE"
7423 else
7424 no_cache=1
7425 fi
7426
7427 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7428
7429 fi
7430
7431
7432 eval "$ac_cv_use_mediactrl"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7435 fi
7436
7437 if test "$wxUSE_MEDIACTRL" = yes; then
7438 { echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6; }
7440 else
7441 { echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6; }
7443 fi
7444
7445
7446 enablestring=
7447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7449 no_cache=0
7450 # Check whether --enable-gstreamer8 was given.
7451 if test "${enable_gstreamer8+set}" = set; then
7452 enableval=$enable_gstreamer8;
7453 if test "$enableval" = yes; then
7454 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7455 else
7456 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7457 fi
7458
7459 else
7460
7461 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7462 if test "x$LINE" != x ; then
7463 eval "DEFAULT_$LINE"
7464 else
7465 no_cache=1
7466 fi
7467
7468 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7469
7470 fi
7471
7472
7473 eval "$ac_cv_use_gstreamer8"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7476 fi
7477
7478 if test "$wxUSE_GSTREAMER8" = yes; then
7479 { echo "$as_me:$LINENO: result: yes" >&5
7480 echo "${ECHO_T}yes" >&6; }
7481 else
7482 { echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6; }
7484 fi
7485
7486
7487 enablestring=
7488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7490 no_cache=0
7491 # Check whether --enable-printfposparam was given.
7492 if test "${enable_printfposparam+set}" = set; then
7493 enableval=$enable_printfposparam;
7494 if test "$enableval" = yes; then
7495 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7496 else
7497 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7498 fi
7499
7500 else
7501
7502 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7503 if test "x$LINE" != x ; then
7504 eval "DEFAULT_$LINE"
7505 else
7506 no_cache=1
7507 fi
7508
7509 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7510
7511 fi
7512
7513
7514 eval "$ac_cv_use_printfposparam"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7517 fi
7518
7519 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7520 { echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6; }
7522 else
7523 { echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6; }
7525 fi
7526
7527
7528 enablestring=
7529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7531 no_cache=0
7532 # Check whether --enable-zipstream was given.
7533 if test "${enable_zipstream+set}" = set; then
7534 enableval=$enable_zipstream;
7535 if test "$enableval" = yes; then
7536 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7537 else
7538 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7539 fi
7540
7541 else
7542
7543 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x ; then
7545 eval "DEFAULT_$LINE"
7546 else
7547 no_cache=1
7548 fi
7549
7550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7551
7552 fi
7553
7554
7555 eval "$ac_cv_use_zipstream"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7558 fi
7559
7560 if test "$wxUSE_ZIPSTREAM" = yes; then
7561 { echo "$as_me:$LINENO: result: yes" >&5
7562 echo "${ECHO_T}yes" >&6; }
7563 else
7564 { echo "$as_me:$LINENO: result: no" >&5
7565 echo "${ECHO_T}no" >&6; }
7566 fi
7567
7568
7569
7570 enablestring=
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7573 no_cache=0
7574 # Check whether --enable-url was given.
7575 if test "${enable_url+set}" = set; then
7576 enableval=$enable_url;
7577 if test "$enableval" = yes; then
7578 ac_cv_use_url='wxUSE_URL=yes'
7579 else
7580 ac_cv_use_url='wxUSE_URL=no'
7581 fi
7582
7583 else
7584
7585 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x ; then
7587 eval "DEFAULT_$LINE"
7588 else
7589 no_cache=1
7590 fi
7591
7592 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7593
7594 fi
7595
7596
7597 eval "$ac_cv_use_url"
7598 if test "$no_cache" != 1; then
7599 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7600 fi
7601
7602 if test "$wxUSE_URL" = yes; then
7603 { echo "$as_me:$LINENO: result: yes" >&5
7604 echo "${ECHO_T}yes" >&6; }
7605 else
7606 { echo "$as_me:$LINENO: result: no" >&5
7607 echo "${ECHO_T}no" >&6; }
7608 fi
7609
7610
7611 enablestring=
7612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7613 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7614 no_cache=0
7615 # Check whether --enable-variant was given.
7616 if test "${enable_variant+set}" = set; then
7617 enableval=$enable_variant;
7618 if test "$enableval" = yes; then
7619 ac_cv_use_variant='wxUSE_VARIANT=yes'
7620 else
7621 ac_cv_use_variant='wxUSE_VARIANT=no'
7622 fi
7623
7624 else
7625
7626 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x ; then
7628 eval "DEFAULT_$LINE"
7629 else
7630 no_cache=1
7631 fi
7632
7633 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7634
7635 fi
7636
7637
7638 eval "$ac_cv_use_variant"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7641 fi
7642
7643 if test "$wxUSE_VARIANT" = yes; then
7644 { echo "$as_me:$LINENO: result: yes" >&5
7645 echo "${ECHO_T}yes" >&6; }
7646 else
7647 { echo "$as_me:$LINENO: result: no" >&5
7648 echo "${ECHO_T}no" >&6; }
7649 fi
7650
7651
7652 enablestring=
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7655 no_cache=0
7656 # Check whether --enable-protocol was given.
7657 if test "${enable_protocol+set}" = set; then
7658 enableval=$enable_protocol;
7659 if test "$enableval" = yes; then
7660 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7661 else
7662 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7663 fi
7664
7665 else
7666
7667 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x ; then
7669 eval "DEFAULT_$LINE"
7670 else
7671 no_cache=1
7672 fi
7673
7674 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7675
7676 fi
7677
7678
7679 eval "$ac_cv_use_protocol"
7680 if test "$no_cache" != 1; then
7681 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7682 fi
7683
7684 if test "$wxUSE_PROTOCOL" = yes; then
7685 { echo "$as_me:$LINENO: result: yes" >&5
7686 echo "${ECHO_T}yes" >&6; }
7687 else
7688 { echo "$as_me:$LINENO: result: no" >&5
7689 echo "${ECHO_T}no" >&6; }
7690 fi
7691
7692
7693 enablestring=
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7696 no_cache=0
7697 # Check whether --enable-protocol_http was given.
7698 if test "${enable_protocol_http+set}" = set; then
7699 enableval=$enable_protocol_http;
7700 if test "$enableval" = yes; then
7701 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7702 else
7703 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7704 fi
7705
7706 else
7707
7708 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7711 else
7712 no_cache=1
7713 fi
7714
7715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7716
7717 fi
7718
7719
7720 eval "$ac_cv_use_protocol_http"
7721 if test "$no_cache" != 1; then
7722 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7723 fi
7724
7725 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7726 { echo "$as_me:$LINENO: result: yes" >&5
7727 echo "${ECHO_T}yes" >&6; }
7728 else
7729 { echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6; }
7731 fi
7732
7733
7734 enablestring=
7735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7736 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7737 no_cache=0
7738 # Check whether --enable-protocol_ftp was given.
7739 if test "${enable_protocol_ftp+set}" = set; then
7740 enableval=$enable_protocol_ftp;
7741 if test "$enableval" = yes; then
7742 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7743 else
7744 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7745 fi
7746
7747 else
7748
7749 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x ; then
7751 eval "DEFAULT_$LINE"
7752 else
7753 no_cache=1
7754 fi
7755
7756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7757
7758 fi
7759
7760
7761 eval "$ac_cv_use_protocol_ftp"
7762 if test "$no_cache" != 1; then
7763 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7764 fi
7765
7766 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7767 { echo "$as_me:$LINENO: result: yes" >&5
7768 echo "${ECHO_T}yes" >&6; }
7769 else
7770 { echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6; }
7772 fi
7773
7774
7775 enablestring=
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7778 no_cache=0
7779 # Check whether --enable-protocol_file was given.
7780 if test "${enable_protocol_file+set}" = set; then
7781 enableval=$enable_protocol_file;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7784 else
7785 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7786 fi
7787
7788 else
7789
7790 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7793 else
7794 no_cache=1
7795 fi
7796
7797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7798
7799 fi
7800
7801
7802 eval "$ac_cv_use_protocol_file"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7805 fi
7806
7807 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7808 { echo "$as_me:$LINENO: result: yes" >&5
7809 echo "${ECHO_T}yes" >&6; }
7810 else
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7813 fi
7814
7815
7816
7817
7818
7819 enablestring=
7820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7821 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7822 no_cache=0
7823 # Check whether --enable-threads was given.
7824 if test "${enable_threads+set}" = set; then
7825 enableval=$enable_threads;
7826 if test "$enableval" = yes; then
7827 ac_cv_use_threads='wxUSE_THREADS=yes'
7828 else
7829 ac_cv_use_threads='wxUSE_THREADS=no'
7830 fi
7831
7832 else
7833
7834 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
7835 if test "x$LINE" != x ; then
7836 eval "DEFAULT_$LINE"
7837 else
7838 no_cache=1
7839 fi
7840
7841 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7842
7843 fi
7844
7845
7846 eval "$ac_cv_use_threads"
7847 if test "$no_cache" != 1; then
7848 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7849 fi
7850
7851 if test "$wxUSE_THREADS" = yes; then
7852 { echo "$as_me:$LINENO: result: yes" >&5
7853 echo "${ECHO_T}yes" >&6; }
7854 else
7855 { echo "$as_me:$LINENO: result: no" >&5
7856 echo "${ECHO_T}no" >&6; }
7857 fi
7858
7859
7860 if test "$wxUSE_GUI" = "yes"; then
7861
7862
7863
7864 enablestring=
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7867 no_cache=0
7868 # Check whether --enable-docview was given.
7869 if test "${enable_docview+set}" = set; then
7870 enableval=$enable_docview;
7871 if test "$enableval" = yes; then
7872 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7873 else
7874 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7875 fi
7876
7877 else
7878
7879 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7882 else
7883 no_cache=1
7884 fi
7885
7886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7887
7888 fi
7889
7890
7891 eval "$ac_cv_use_docview"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7894 fi
7895
7896 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7897 { echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6; }
7899 else
7900 { echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6; }
7902 fi
7903
7904
7905 enablestring=
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7908 no_cache=0
7909 # Check whether --enable-help was given.
7910 if test "${enable_help+set}" = set; then
7911 enableval=$enable_help;
7912 if test "$enableval" = yes; then
7913 ac_cv_use_help='wxUSE_HELP=yes'
7914 else
7915 ac_cv_use_help='wxUSE_HELP=no'
7916 fi
7917
7918 else
7919
7920 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7923 else
7924 no_cache=1
7925 fi
7926
7927 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7928
7929 fi
7930
7931
7932 eval "$ac_cv_use_help"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test "$wxUSE_HELP" = yes; then
7938 { echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6; }
7940 else
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7943 fi
7944
7945
7946 enablestring=
7947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7949 no_cache=0
7950 # Check whether --enable-mshtmlhelp was given.
7951 if test "${enable_mshtmlhelp+set}" = set; then
7952 enableval=$enable_mshtmlhelp;
7953 if test "$enableval" = yes; then
7954 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7955 else
7956 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7957 fi
7958
7959 else
7960
7961 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7964 else
7965 no_cache=1
7966 fi
7967
7968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7969
7970 fi
7971
7972
7973 eval "$ac_cv_use_mshtmlhelp"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7976 fi
7977
7978 if test "$wxUSE_MS_HTML_HELP" = yes; then
7979 { echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6; }
7981 else
7982 { echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6; }
7984 fi
7985
7986
7987 enablestring=
7988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7990 no_cache=0
7991 # Check whether --enable-html was given.
7992 if test "${enable_html+set}" = set; then
7993 enableval=$enable_html;
7994 if test "$enableval" = yes; then
7995 ac_cv_use_html='wxUSE_HTML=yes'
7996 else
7997 ac_cv_use_html='wxUSE_HTML=no'
7998 fi
7999
8000 else
8001
8002 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8005 else
8006 no_cache=1
8007 fi
8008
8009 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
8010
8011 fi
8012
8013
8014 eval "$ac_cv_use_html"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
8017 fi
8018
8019 if test "$wxUSE_HTML" = yes; then
8020 { echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6; }
8022 else
8023 { echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6; }
8025 fi
8026
8027
8028 enablestring=
8029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8031 no_cache=0
8032 # Check whether --enable-htmlhelp was given.
8033 if test "${enable_htmlhelp+set}" = set; then
8034 enableval=$enable_htmlhelp;
8035 if test "$enableval" = yes; then
8036 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8037 else
8038 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8039 fi
8040
8041 else
8042
8043 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8046 else
8047 no_cache=1
8048 fi
8049
8050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8051
8052 fi
8053
8054
8055 eval "$ac_cv_use_htmlhelp"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8058 fi
8059
8060 if test "$wxUSE_WXHTML_HELP" = yes; then
8061 { echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6; }
8063 else
8064 { echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6; }
8066 fi
8067
8068
8069 enablestring=
8070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8072 no_cache=0
8073 # Check whether --enable-xrc was given.
8074 if test "${enable_xrc+set}" = set; then
8075 enableval=$enable_xrc;
8076 if test "$enableval" = yes; then
8077 ac_cv_use_xrc='wxUSE_XRC=yes'
8078 else
8079 ac_cv_use_xrc='wxUSE_XRC=no'
8080 fi
8081
8082 else
8083
8084 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 else
8088 no_cache=1
8089 fi
8090
8091 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8092
8093 fi
8094
8095
8096 eval "$ac_cv_use_xrc"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8099 fi
8100
8101 if test "$wxUSE_XRC" = yes; then
8102 { echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6; }
8104 else
8105 { echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6; }
8107 fi
8108
8109
8110 enablestring=
8111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8113 no_cache=0
8114 # Check whether --enable-aui was given.
8115 if test "${enable_aui+set}" = set; then
8116 enableval=$enable_aui;
8117 if test "$enableval" = yes; then
8118 ac_cv_use_aui='wxUSE_AUI=yes'
8119 else
8120 ac_cv_use_aui='wxUSE_AUI=no'
8121 fi
8122
8123 else
8124
8125 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8128 else
8129 no_cache=1
8130 fi
8131
8132 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8133
8134 fi
8135
8136
8137 eval "$ac_cv_use_aui"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8140 fi
8141
8142 if test "$wxUSE_AUI" = yes; then
8143 { echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6; }
8145 else
8146 { echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6; }
8148 fi
8149
8150
8151 enablestring=
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8154 no_cache=0
8155 # Check whether --enable-stc was given.
8156 if test "${enable_stc+set}" = set; then
8157 enableval=$enable_stc;
8158 if test "$enableval" = yes; then
8159 ac_cv_use_stc='wxUSE_STC=yes'
8160 else
8161 ac_cv_use_stc='wxUSE_STC=no'
8162 fi
8163
8164 else
8165
8166 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8169 else
8170 no_cache=1
8171 fi
8172
8173 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8174
8175 fi
8176
8177
8178 eval "$ac_cv_use_stc"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test "$wxUSE_STC" = yes; then
8184 { echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6; }
8186 else
8187 { echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6; }
8189 fi
8190
8191
8192 enablestring=
8193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8195 no_cache=0
8196 # Check whether --enable-constraints was given.
8197 if test "${enable_constraints+set}" = set; then
8198 enableval=$enable_constraints;
8199 if test "$enableval" = yes; then
8200 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8201 else
8202 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8203 fi
8204
8205 else
8206
8207 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8210 else
8211 no_cache=1
8212 fi
8213
8214 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8215
8216 fi
8217
8218
8219 eval "$ac_cv_use_constraints"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8222 fi
8223
8224 if test "$wxUSE_CONSTRAINTS" = yes; then
8225 { echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6; }
8227 else
8228 { echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6; }
8230 fi
8231
8232
8233 enablestring=
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8236 no_cache=0
8237 # Check whether --enable-printarch was given.
8238 if test "${enable_printarch+set}" = set; then
8239 enableval=$enable_printarch;
8240 if test "$enableval" = yes; then
8241 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8242 else
8243 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8244 fi
8245
8246 else
8247
8248 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8251 else
8252 no_cache=1
8253 fi
8254
8255 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8256
8257 fi
8258
8259
8260 eval "$ac_cv_use_printarch"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8266 { echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6; }
8268 else
8269 { echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6; }
8271 fi
8272
8273
8274 enablestring=
8275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8277 no_cache=0
8278 # Check whether --enable-mdi was given.
8279 if test "${enable_mdi+set}" = set; then
8280 enableval=$enable_mdi;
8281 if test "$enableval" = yes; then
8282 ac_cv_use_mdi='wxUSE_MDI=yes'
8283 else
8284 ac_cv_use_mdi='wxUSE_MDI=no'
8285 fi
8286
8287 else
8288
8289 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8292 else
8293 no_cache=1
8294 fi
8295
8296 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8297
8298 fi
8299
8300
8301 eval "$ac_cv_use_mdi"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8304 fi
8305
8306 if test "$wxUSE_MDI" = yes; then
8307 { echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6; }
8309 else
8310 { echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6; }
8312 fi
8313
8314
8315 enablestring=
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8318 no_cache=0
8319 # Check whether --enable-mdidoc was given.
8320 if test "${enable_mdidoc+set}" = set; then
8321 enableval=$enable_mdidoc;
8322 if test "$enableval" = yes; then
8323 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8324 else
8325 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8326 fi
8327
8328 else
8329
8330 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8333 else
8334 no_cache=1
8335 fi
8336
8337 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8338
8339 fi
8340
8341
8342 eval "$ac_cv_use_mdidoc"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8348 { echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6; }
8350 else
8351 { echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6; }
8353 fi
8354
8355
8356 enablestring=
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8359 no_cache=0
8360 # Check whether --enable-loggui was given.
8361 if test "${enable_loggui+set}" = set; then
8362 enableval=$enable_loggui;
8363 if test "$enableval" = yes; then
8364 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8365 else
8366 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8367 fi
8368
8369 else
8370
8371 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8374 else
8375 no_cache=1
8376 fi
8377
8378 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8379
8380 fi
8381
8382
8383 eval "$ac_cv_use_loggui"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_LOGGUI" = yes; then
8389 { echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6; }
8391 else
8392 { echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6; }
8394 fi
8395
8396
8397 enablestring=
8398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8400 no_cache=0
8401 # Check whether --enable-logwin was given.
8402 if test "${enable_logwin+set}" = set; then
8403 enableval=$enable_logwin;
8404 if test "$enableval" = yes; then
8405 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8406 else
8407 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8408 fi
8409
8410 else
8411
8412 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8413 if test "x$LINE" != x ; then
8414 eval "DEFAULT_$LINE"
8415 else
8416 no_cache=1
8417 fi
8418
8419 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8420
8421 fi
8422
8423
8424 eval "$ac_cv_use_logwin"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_LOGWINDOW" = yes; then
8430 { echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6; }
8432 else
8433 { echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6; }
8435 fi
8436
8437
8438 enablestring=
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8441 no_cache=0
8442 # Check whether --enable-logdialog was given.
8443 if test "${enable_logdialog+set}" = set; then
8444 enableval=$enable_logdialog;
8445 if test "$enableval" = yes; then
8446 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8447 else
8448 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8449 fi
8450
8451 else
8452
8453 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8454 if test "x$LINE" != x ; then
8455 eval "DEFAULT_$LINE"
8456 else
8457 no_cache=1
8458 fi
8459
8460 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8461
8462 fi
8463
8464
8465 eval "$ac_cv_use_logdialog"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8468 fi
8469
8470 if test "$wxUSE_LOGDIALOG" = yes; then
8471 { echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6; }
8473 else
8474 { echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6; }
8476 fi
8477
8478
8479 enablestring=
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8482 no_cache=0
8483 # Check whether --enable-webkit was given.
8484 if test "${enable_webkit+set}" = set; then
8485 enableval=$enable_webkit;
8486 if test "$enableval" = yes; then
8487 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8488 else
8489 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8490 fi
8491
8492 else
8493
8494 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8495 if test "x$LINE" != x ; then
8496 eval "DEFAULT_$LINE"
8497 else
8498 no_cache=1
8499 fi
8500
8501 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8502
8503 fi
8504
8505
8506 eval "$ac_cv_use_webkit"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8509 fi
8510
8511 if test "$wxUSE_WEBKIT" = yes; then
8512 { echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6; }
8514 else
8515 { echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6; }
8517 fi
8518
8519
8520 enablestring=
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8523 no_cache=0
8524 # Check whether --enable-richtext was given.
8525 if test "${enable_richtext+set}" = set; then
8526 enableval=$enable_richtext;
8527 if test "$enableval" = yes; then
8528 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8529 else
8530 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8531 fi
8532
8533 else
8534
8535 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x ; then
8537 eval "DEFAULT_$LINE"
8538 else
8539 no_cache=1
8540 fi
8541
8542 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8543
8544 fi
8545
8546
8547 eval "$ac_cv_use_richtext"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8550 fi
8551
8552 if test "$wxUSE_RICHTEXT" = yes; then
8553 { echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6; }
8555 else
8556 { echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6; }
8558 fi
8559
8560
8561 enablestring=
8562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8564 no_cache=0
8565 # Check whether --enable-graphics_ctx was given.
8566 if test "${enable_graphics_ctx+set}" = set; then
8567 enableval=$enable_graphics_ctx;
8568 if test "$enableval" = yes; then
8569 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8570 else
8571 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8572 fi
8573
8574 else
8575
8576 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
8577 if test "x$LINE" != x ; then
8578 eval "DEFAULT_$LINE"
8579 else
8580 no_cache=1
8581 fi
8582
8583 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8584
8585 fi
8586
8587
8588 eval "$ac_cv_use_graphics_ctx"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8591 fi
8592
8593 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8594 { echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6; }
8596 else
8597 { echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6; }
8599 fi
8600
8601
8602
8603 enablestring=
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8606 no_cache=0
8607 # Check whether --enable-postscript was given.
8608 if test "${enable_postscript+set}" = set; then
8609 enableval=$enable_postscript;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8612 else
8613 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8621 else
8622 no_cache=1
8623 fi
8624
8625 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8626
8627 fi
8628
8629
8630 eval "$ac_cv_use_postscript"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_POSTSCRIPT" = yes; then
8636 { echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6; }
8638 else
8639 { echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6; }
8641 fi
8642
8643
8644
8645
8646
8647 enablestring=
8648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8650 no_cache=0
8651 # Check whether --enable-clipboard was given.
8652 if test "${enable_clipboard+set}" = set; then
8653 enableval=$enable_clipboard;
8654 if test "$enableval" = yes; then
8655 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8656 else
8657 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8658 fi
8659
8660 else
8661
8662 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x ; then
8664 eval "DEFAULT_$LINE"
8665 else
8666 no_cache=1
8667 fi
8668
8669 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8670
8671 fi
8672
8673
8674 eval "$ac_cv_use_clipboard"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8677 fi
8678
8679 if test "$wxUSE_CLIPBOARD" = yes; then
8680 { echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6; }
8682 else
8683 { echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6; }
8685 fi
8686
8687
8688 enablestring=
8689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8691 no_cache=0
8692 # Check whether --enable-dnd was given.
8693 if test "${enable_dnd+set}" = set; then
8694 enableval=$enable_dnd;
8695 if test "$enableval" = yes; then
8696 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8697 else
8698 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8699 fi
8700
8701 else
8702
8703 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x ; then
8705 eval "DEFAULT_$LINE"
8706 else
8707 no_cache=1
8708 fi
8709
8710 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8711
8712 fi
8713
8714
8715 eval "$ac_cv_use_dnd"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8718 fi
8719
8720 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8721 { echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6; }
8723 else
8724 { echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6; }
8726 fi
8727
8728
8729 enablestring=
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8732 no_cache=0
8733 # Check whether --enable-metafile was given.
8734 if test "${enable_metafile+set}" = set; then
8735 enableval=$enable_metafile;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8738 else
8739 ac_cv_use_metafile='wxUSE_METAFILE=no'
8740 fi
8741
8742 else
8743
8744 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x ; then
8746 eval "DEFAULT_$LINE"
8747 else
8748 no_cache=1
8749 fi
8750
8751 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8752
8753 fi
8754
8755
8756 eval "$ac_cv_use_metafile"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_METAFILE" = yes; then
8762 { echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6; }
8764 else
8765 { echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6; }
8767 fi
8768
8769
8770
8771
8772
8773 enablestring=
8774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8776 no_cache=0
8777 # Check whether --enable-controls was given.
8778 if test "${enable_controls+set}" = set; then
8779 enableval=$enable_controls;
8780 if test "$enableval" = yes; then
8781 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8782 else
8783 ac_cv_use_controls='wxUSE_CONTROLS=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8796
8797 fi
8798
8799
8800 eval "$ac_cv_use_controls"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_CONTROLS" = yes; then
8806 { echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6; }
8808 else
8809 { echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6; }
8811 fi
8812
8813
8814 if test "$wxUSE_CONTROLS" = "yes"; then
8815 DEFAULT_wxUSE_ACCEL=yes
8816 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8817 DEFAULT_wxUSE_BMPBUTTON=yes
8818 DEFAULT_wxUSE_BUTTON=yes
8819 DEFAULT_wxUSE_CALCTRL=yes
8820 DEFAULT_wxUSE_CARET=yes
8821 DEFAULT_wxUSE_COMBOBOX=yes
8822 DEFAULT_wxUSE_CHECKBOX=yes
8823 DEFAULT_wxUSE_CHECKLISTBOX=yes
8824 DEFAULT_wxUSE_CHOICE=yes
8825 DEFAULT_wxUSE_CHOICEBOOK=yes
8826 DEFAULT_wxUSE_COLLPANE=yes
8827 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8828 DEFAULT_wxUSE_COMBOBOX=yes
8829 DEFAULT_wxUSE_DATEPICKCTRL=yes
8830 DEFAULT_wxUSE_DISPLAY=yes
8831 DEFAULT_wxUSE_DETECT_SM=yes
8832 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8833 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8834 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8835 DEFAULT_wxUSE_GAUGE=yes
8836 DEFAULT_wxUSE_GRID=yes
8837 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8838 DEFAULT_wxUSE_DATAVIEWCTRL=no
8839 DEFAULT_wxUSE_IMAGLIST=yes
8840 DEFAULT_wxUSE_LISTBOOK=yes
8841 DEFAULT_wxUSE_LISTBOX=yes
8842 DEFAULT_wxUSE_LISTCTRL=yes
8843 DEFAULT_wxUSE_NOTEBOOK=yes
8844 DEFAULT_wxUSE_RADIOBOX=yes
8845 DEFAULT_wxUSE_RADIOBTN=yes
8846 DEFAULT_wxUSE_SASH=yes
8847 DEFAULT_wxUSE_SCROLLBAR=yes
8848 DEFAULT_wxUSE_SEARCHCTRL=yes
8849 DEFAULT_wxUSE_SLIDER=yes
8850 DEFAULT_wxUSE_SPINBTN=yes
8851 DEFAULT_wxUSE_SPINCTRL=yes
8852 DEFAULT_wxUSE_SPLITTER=yes
8853 DEFAULT_wxUSE_STATBMP=yes
8854 DEFAULT_wxUSE_STATBOX=yes
8855 DEFAULT_wxUSE_STATLINE=yes
8856 DEFAULT_wxUSE_STATUSBAR=yes
8857 DEFAULT_wxUSE_TAB_DIALOG=yes
8858 DEFAULT_wxUSE_TOGGLEBTN=yes
8859 DEFAULT_wxUSE_TOOLBAR=yes
8860 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8861 DEFAULT_wxUSE_TOOLTIPS=yes
8862 DEFAULT_wxUSE_TREEBOOK=yes
8863 DEFAULT_wxUSE_TOOLBOOK=yes
8864 DEFAULT_wxUSE_TREECTRL=yes
8865 DEFAULT_wxUSE_POPUPWIN=yes
8866 DEFAULT_wxUSE_TIPWINDOW=yes
8867 elif test "$wxUSE_CONTROLS" = "no"; then
8868 DEFAULT_wxUSE_ACCEL=no
8869 DEFAULT_wxUSE_ANIMATIONCTRL=no
8870 DEFAULT_wxUSE_BMPBUTTON=no
8871 DEFAULT_wxUSE_BUTTON=no
8872 DEFAULT_wxUSE_CALCTRL=no
8873 DEFAULT_wxUSE_CARET=no
8874 DEFAULT_wxUSE_COLLPANE=no
8875 DEFAULT_wxUSE_COMBOBOX=no
8876 DEFAULT_wxUSE_CHECKBOX=no
8877 DEFAULT_wxUSE_CHECKLISTBOX=no
8878 DEFAULT_wxUSE_CHOICE=no
8879 DEFAULT_wxUSE_CHOICEBOOK=no
8880 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8881 DEFAULT_wxUSE_COMBOBOX=no
8882 DEFAULT_wxUSE_DATEPICKCTRL=no
8883 DEFAULT_wxUSE_DISPLAY=no
8884 DEFAULT_wxUSE_DETECT_SM=no
8885 DEFAULT_wxUSE_DIRPICKERCTRL=no
8886 DEFAULT_wxUSE_FILEPICKERCTRL=no
8887 DEFAULT_wxUSE_FONTPICKERCTRL=no
8888 DEFAULT_wxUSE_GAUGE=no
8889 DEFAULT_wxUSE_GRID=no
8890 DEFAULT_wxUSE_HYPERLINKCTRL=no
8891 DEFAULT_wxUSE_DATAVIEWCTRL=no
8892 DEFAULT_wxUSE_IMAGLIST=no
8893 DEFAULT_wxUSE_LISTBOOK=no
8894 DEFAULT_wxUSE_LISTBOX=no
8895 DEFAULT_wxUSE_LISTCTRL=no
8896 DEFAULT_wxUSE_NOTEBOOK=no
8897 DEFAULT_wxUSE_RADIOBOX=no
8898 DEFAULT_wxUSE_RADIOBTN=no
8899 DEFAULT_wxUSE_SASH=no
8900 DEFAULT_wxUSE_SCROLLBAR=no
8901 DEFAULT_wxUSE_SEARCHCTRL=no
8902 DEFAULT_wxUSE_SLIDER=no
8903 DEFAULT_wxUSE_SPINBTN=no
8904 DEFAULT_wxUSE_SPINCTRL=no
8905 DEFAULT_wxUSE_SPLITTER=no
8906 DEFAULT_wxUSE_STATBMP=no
8907 DEFAULT_wxUSE_STATBOX=no
8908 DEFAULT_wxUSE_STATLINE=no
8909 DEFAULT_wxUSE_STATUSBAR=no
8910 DEFAULT_wxUSE_TAB_DIALOG=no
8911 DEFAULT_wxUSE_TOGGLEBTN=no
8912 DEFAULT_wxUSE_TOOLBAR=no
8913 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8914 DEFAULT_wxUSE_TOOLTIPS=no
8915 DEFAULT_wxUSE_TREEBOOK=no
8916 DEFAULT_wxUSE_TOOLBOOK=no
8917 DEFAULT_wxUSE_TREECTRL=no
8918 DEFAULT_wxUSE_POPUPWIN=no
8919 DEFAULT_wxUSE_TIPWINDOW=no
8920 fi
8921
8922
8923 enablestring=
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8926 no_cache=0
8927 # Check whether --enable-accel was given.
8928 if test "${enable_accel+set}" = set; then
8929 enableval=$enable_accel;
8930 if test "$enableval" = yes; then
8931 ac_cv_use_accel='wxUSE_ACCEL=yes'
8932 else
8933 ac_cv_use_accel='wxUSE_ACCEL=no'
8934 fi
8935
8936 else
8937
8938 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8941 else
8942 no_cache=1
8943 fi
8944
8945 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8946
8947 fi
8948
8949
8950 eval "$ac_cv_use_accel"
8951 if test "$no_cache" != 1; then
8952 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8953 fi
8954
8955 if test "$wxUSE_ACCEL" = yes; then
8956 { echo "$as_me:$LINENO: result: yes" >&5
8957 echo "${ECHO_T}yes" >&6; }
8958 else
8959 { echo "$as_me:$LINENO: result: no" >&5
8960 echo "${ECHO_T}no" >&6; }
8961 fi
8962
8963
8964 enablestring=
8965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8967 no_cache=0
8968 # Check whether --enable-animatectrl was given.
8969 if test "${enable_animatectrl+set}" = set; then
8970 enableval=$enable_animatectrl;
8971 if test "$enableval" = yes; then
8972 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8973 else
8974 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8975 fi
8976
8977 else
8978
8979 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8982 else
8983 no_cache=1
8984 fi
8985
8986 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8987
8988 fi
8989
8990
8991 eval "$ac_cv_use_animatectrl"
8992 if test "$no_cache" != 1; then
8993 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8994 fi
8995
8996 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8997 { echo "$as_me:$LINENO: result: yes" >&5
8998 echo "${ECHO_T}yes" >&6; }
8999 else
9000 { echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6; }
9002 fi
9003
9004
9005 enablestring=
9006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9008 no_cache=0
9009 # Check whether --enable-button was given.
9010 if test "${enable_button+set}" = set; then
9011 enableval=$enable_button;
9012 if test "$enableval" = yes; then
9013 ac_cv_use_button='wxUSE_BUTTON=yes'
9014 else
9015 ac_cv_use_button='wxUSE_BUTTON=no'
9016 fi
9017
9018 else
9019
9020 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9023 else
9024 no_cache=1
9025 fi
9026
9027 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
9028
9029 fi
9030
9031
9032 eval "$ac_cv_use_button"
9033 if test "$no_cache" != 1; then
9034 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
9035 fi
9036
9037 if test "$wxUSE_BUTTON" = yes; then
9038 { echo "$as_me:$LINENO: result: yes" >&5
9039 echo "${ECHO_T}yes" >&6; }
9040 else
9041 { echo "$as_me:$LINENO: result: no" >&5
9042 echo "${ECHO_T}no" >&6; }
9043 fi
9044
9045
9046 enablestring=
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9049 no_cache=0
9050 # Check whether --enable-bmpbutton was given.
9051 if test "${enable_bmpbutton+set}" = set; then
9052 enableval=$enable_bmpbutton;
9053 if test "$enableval" = yes; then
9054 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9055 else
9056 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9057 fi
9058
9059 else
9060
9061 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9064 else
9065 no_cache=1
9066 fi
9067
9068 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9069
9070 fi
9071
9072
9073 eval "$ac_cv_use_bmpbutton"
9074 if test "$no_cache" != 1; then
9075 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9076 fi
9077
9078 if test "$wxUSE_BMPBUTTON" = yes; then
9079 { echo "$as_me:$LINENO: result: yes" >&5
9080 echo "${ECHO_T}yes" >&6; }
9081 else
9082 { echo "$as_me:$LINENO: result: no" >&5
9083 echo "${ECHO_T}no" >&6; }
9084 fi
9085
9086
9087 enablestring=
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9090 no_cache=0
9091 # Check whether --enable-bmpcombobox was given.
9092 if test "${enable_bmpcombobox+set}" = set; then
9093 enableval=$enable_bmpcombobox;
9094 if test "$enableval" = yes; then
9095 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9096 else
9097 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9098 fi
9099
9100 else
9101
9102 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9105 else
9106 no_cache=1
9107 fi
9108
9109 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9110
9111 fi
9112
9113
9114 eval "$ac_cv_use_bmpcombobox"
9115 if test "$no_cache" != 1; then
9116 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9117 fi
9118
9119 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9120 { echo "$as_me:$LINENO: result: yes" >&5
9121 echo "${ECHO_T}yes" >&6; }
9122 else
9123 { echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6; }
9125 fi
9126
9127
9128 enablestring=
9129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9131 no_cache=0
9132 # Check whether --enable-calendar was given.
9133 if test "${enable_calendar+set}" = set; then
9134 enableval=$enable_calendar;
9135 if test "$enableval" = yes; then
9136 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9137 else
9138 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9139 fi
9140
9141 else
9142
9143 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9146 else
9147 no_cache=1
9148 fi
9149
9150 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9151
9152 fi
9153
9154
9155 eval "$ac_cv_use_calendar"
9156 if test "$no_cache" != 1; then
9157 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9158 fi
9159
9160 if test "$wxUSE_CALCTRL" = yes; then
9161 { echo "$as_me:$LINENO: result: yes" >&5
9162 echo "${ECHO_T}yes" >&6; }
9163 else
9164 { echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6; }
9166 fi
9167
9168
9169 enablestring=
9170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9172 no_cache=0
9173 # Check whether --enable-caret was given.
9174 if test "${enable_caret+set}" = set; then
9175 enableval=$enable_caret;
9176 if test "$enableval" = yes; then
9177 ac_cv_use_caret='wxUSE_CARET=yes'
9178 else
9179 ac_cv_use_caret='wxUSE_CARET=no'
9180 fi
9181
9182 else
9183
9184 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9187 else
9188 no_cache=1
9189 fi
9190
9191 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9192
9193 fi
9194
9195
9196 eval "$ac_cv_use_caret"
9197 if test "$no_cache" != 1; then
9198 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9199 fi
9200
9201 if test "$wxUSE_CARET" = yes; then
9202 { echo "$as_me:$LINENO: result: yes" >&5
9203 echo "${ECHO_T}yes" >&6; }
9204 else
9205 { echo "$as_me:$LINENO: result: no" >&5
9206 echo "${ECHO_T}no" >&6; }
9207 fi
9208
9209
9210 enablestring=
9211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9213 no_cache=0
9214 # Check whether --enable-checkbox was given.
9215 if test "${enable_checkbox+set}" = set; then
9216 enableval=$enable_checkbox;
9217 if test "$enableval" = yes; then
9218 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9219 else
9220 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9221 fi
9222
9223 else
9224
9225 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9228 else
9229 no_cache=1
9230 fi
9231
9232 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9233
9234 fi
9235
9236
9237 eval "$ac_cv_use_checkbox"
9238 if test "$no_cache" != 1; then
9239 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9240 fi
9241
9242 if test "$wxUSE_CHECKBOX" = yes; then
9243 { echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6; }
9245 else
9246 { echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6; }
9248 fi
9249
9250
9251 enablestring=
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9254 no_cache=0
9255 # Check whether --enable-checklst was given.
9256 if test "${enable_checklst+set}" = set; then
9257 enableval=$enable_checklst;
9258 if test "$enableval" = yes; then
9259 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9260 else
9261 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9262 fi
9263
9264 else
9265
9266 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9269 else
9270 no_cache=1
9271 fi
9272
9273 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9274
9275 fi
9276
9277
9278 eval "$ac_cv_use_checklst"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9281 fi
9282
9283 if test "$wxUSE_CHECKLST" = yes; then
9284 { echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6; }
9286 else
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9289 fi
9290
9291
9292 enablestring=
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9295 no_cache=0
9296 # Check whether --enable-choice was given.
9297 if test "${enable_choice+set}" = set; then
9298 enableval=$enable_choice;
9299 if test "$enableval" = yes; then
9300 ac_cv_use_choice='wxUSE_CHOICE=yes'
9301 else
9302 ac_cv_use_choice='wxUSE_CHOICE=no'
9303 fi
9304
9305 else
9306
9307 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9310 else
9311 no_cache=1
9312 fi
9313
9314 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9315
9316 fi
9317
9318
9319 eval "$ac_cv_use_choice"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9322 fi
9323
9324 if test "$wxUSE_CHOICE" = yes; then
9325 { echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6; }
9327 else
9328 { echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6; }
9330 fi
9331
9332
9333 enablestring=
9334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9336 no_cache=0
9337 # Check whether --enable-choicebook was given.
9338 if test "${enable_choicebook+set}" = set; then
9339 enableval=$enable_choicebook;
9340 if test "$enableval" = yes; then
9341 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9342 else
9343 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9344 fi
9345
9346 else
9347
9348 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
9349 if test "x$LINE" != x ; then
9350 eval "DEFAULT_$LINE"
9351 else
9352 no_cache=1
9353 fi
9354
9355 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9356
9357 fi
9358
9359
9360 eval "$ac_cv_use_choicebook"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9363 fi
9364
9365 if test "$wxUSE_CHOICEBOOK" = yes; then
9366 { echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6; }
9368 else
9369 { echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6; }
9371 fi
9372
9373
9374 enablestring=
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9377 no_cache=0
9378 # Check whether --enable-collpane was given.
9379 if test "${enable_collpane+set}" = set; then
9380 enableval=$enable_collpane;
9381 if test "$enableval" = yes; then
9382 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9383 else
9384 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9385 fi
9386
9387 else
9388
9389 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
9390 if test "x$LINE" != x ; then
9391 eval "DEFAULT_$LINE"
9392 else
9393 no_cache=1
9394 fi
9395
9396 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9397
9398 fi
9399
9400
9401 eval "$ac_cv_use_collpane"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9404 fi
9405
9406 if test "$wxUSE_COLLPANE" = yes; then
9407 { echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6; }
9409 else
9410 { echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6; }
9412 fi
9413
9414
9415 enablestring=
9416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9418 no_cache=0
9419 # Check whether --enable-colourpicker was given.
9420 if test "${enable_colourpicker+set}" = set; then
9421 enableval=$enable_colourpicker;
9422 if test "$enableval" = yes; then
9423 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9424 else
9425 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9426 fi
9427
9428 else
9429
9430 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
9431 if test "x$LINE" != x ; then
9432 eval "DEFAULT_$LINE"
9433 else
9434 no_cache=1
9435 fi
9436
9437 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9438
9439 fi
9440
9441
9442 eval "$ac_cv_use_colourpicker"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9445 fi
9446
9447 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9448 { echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6; }
9450 else
9451 { echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6; }
9453 fi
9454
9455
9456 enablestring=
9457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9459 no_cache=0
9460 # Check whether --enable-combobox was given.
9461 if test "${enable_combobox+set}" = set; then
9462 enableval=$enable_combobox;
9463 if test "$enableval" = yes; then
9464 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9465 else
9466 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9467 fi
9468
9469 else
9470
9471 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
9472 if test "x$LINE" != x ; then
9473 eval "DEFAULT_$LINE"
9474 else
9475 no_cache=1
9476 fi
9477
9478 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9479
9480 fi
9481
9482
9483 eval "$ac_cv_use_combobox"
9484 if test "$no_cache" != 1; then
9485 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9486 fi
9487
9488 if test "$wxUSE_COMBOBOX" = yes; then
9489 { echo "$as_me:$LINENO: result: yes" >&5
9490 echo "${ECHO_T}yes" >&6; }
9491 else
9492 { echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6; }
9494 fi
9495
9496
9497 enablestring=
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9500 no_cache=0
9501 # Check whether --enable-comboctrl was given.
9502 if test "${enable_comboctrl+set}" = set; then
9503 enableval=$enable_comboctrl;
9504 if test "$enableval" = yes; then
9505 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9506 else
9507 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9508 fi
9509
9510 else
9511
9512 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
9513 if test "x$LINE" != x ; then
9514 eval "DEFAULT_$LINE"
9515 else
9516 no_cache=1
9517 fi
9518
9519 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9520
9521 fi
9522
9523
9524 eval "$ac_cv_use_comboctrl"
9525 if test "$no_cache" != 1; then
9526 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9527 fi
9528
9529 if test "$wxUSE_COMBOCTRL" = yes; then
9530 { echo "$as_me:$LINENO: result: yes" >&5
9531 echo "${ECHO_T}yes" >&6; }
9532 else
9533 { echo "$as_me:$LINENO: result: no" >&5
9534 echo "${ECHO_T}no" >&6; }
9535 fi
9536
9537
9538 enablestring=
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9541 no_cache=0
9542 # Check whether --enable-datepick was given.
9543 if test "${enable_datepick+set}" = set; then
9544 enableval=$enable_datepick;
9545 if test "$enableval" = yes; then
9546 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9547 else
9548 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9549 fi
9550
9551 else
9552
9553 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
9554 if test "x$LINE" != x ; then
9555 eval "DEFAULT_$LINE"
9556 else
9557 no_cache=1
9558 fi
9559
9560 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9561
9562 fi
9563
9564
9565 eval "$ac_cv_use_datepick"
9566 if test "$no_cache" != 1; then
9567 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9568 fi
9569
9570 if test "$wxUSE_DATEPICKCTRL" = yes; then
9571 { echo "$as_me:$LINENO: result: yes" >&5
9572 echo "${ECHO_T}yes" >&6; }
9573 else
9574 { echo "$as_me:$LINENO: result: no" >&5
9575 echo "${ECHO_T}no" >&6; }
9576 fi
9577
9578
9579 enablestring=
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9582 no_cache=0
9583 # Check whether --enable-dirpicker was given.
9584 if test "${enable_dirpicker+set}" = set; then
9585 enableval=$enable_dirpicker;
9586 if test "$enableval" = yes; then
9587 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9588 else
9589 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9590 fi
9591
9592 else
9593
9594 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9597 else
9598 no_cache=1
9599 fi
9600
9601 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9602
9603 fi
9604
9605
9606 eval "$ac_cv_use_dirpicker"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9609 fi
9610
9611 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9612 { echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6; }
9614 else
9615 { echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6; }
9617 fi
9618
9619
9620 enablestring=
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9623 no_cache=0
9624 # Check whether --enable-display was given.
9625 if test "${enable_display+set}" = set; then
9626 enableval=$enable_display;
9627 if test "$enableval" = yes; then
9628 ac_cv_use_display='wxUSE_DISPLAY=yes'
9629 else
9630 ac_cv_use_display='wxUSE_DISPLAY=no'
9631 fi
9632
9633 else
9634
9635 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9638 else
9639 no_cache=1
9640 fi
9641
9642 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9643
9644 fi
9645
9646
9647 eval "$ac_cv_use_display"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9650 fi
9651
9652 if test "$wxUSE_DISPLAY" = yes; then
9653 { echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6; }
9655 else
9656 { echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6; }
9658 fi
9659
9660
9661 enablestring=
9662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9664 no_cache=0
9665 # Check whether --enable-detect_sm was given.
9666 if test "${enable_detect_sm+set}" = set; then
9667 enableval=$enable_detect_sm;
9668 if test "$enableval" = yes; then
9669 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9670 else
9671 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9672 fi
9673
9674 else
9675
9676 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9679 else
9680 no_cache=1
9681 fi
9682
9683 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9684
9685 fi
9686
9687
9688 eval "$ac_cv_use_detect_sm"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9691 fi
9692
9693 if test "$wxUSE_DETECT_SM" = yes; then
9694 { echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6; }
9696 else
9697 { echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6; }
9699 fi
9700
9701
9702 enablestring=
9703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9705 no_cache=0
9706 # Check whether --enable-editablebox was given.
9707 if test "${enable_editablebox+set}" = set; then
9708 enableval=$enable_editablebox;
9709 if test "$enableval" = yes; then
9710 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9711 else
9712 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9713 fi
9714
9715 else
9716
9717 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9720 else
9721 no_cache=1
9722 fi
9723
9724 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9725
9726 fi
9727
9728
9729 eval "$ac_cv_use_editablebox"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9732 fi
9733
9734 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9735 { echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6; }
9737 else
9738 { echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6; }
9740 fi
9741
9742
9743 enablestring=
9744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9746 no_cache=0
9747 # Check whether --enable-filepicker was given.
9748 if test "${enable_filepicker+set}" = set; then
9749 enableval=$enable_filepicker;
9750 if test "$enableval" = yes; then
9751 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9752 else
9753 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9754 fi
9755
9756 else
9757
9758 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9761 else
9762 no_cache=1
9763 fi
9764
9765 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9766
9767 fi
9768
9769
9770 eval "$ac_cv_use_filepicker"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9773 fi
9774
9775 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9776 { echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6; }
9778 else
9779 { echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6; }
9781 fi
9782
9783
9784 enablestring=
9785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9787 no_cache=0
9788 # Check whether --enable-fontpicker was given.
9789 if test "${enable_fontpicker+set}" = set; then
9790 enableval=$enable_fontpicker;
9791 if test "$enableval" = yes; then
9792 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9793 else
9794 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9795 fi
9796
9797 else
9798
9799 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9802 else
9803 no_cache=1
9804 fi
9805
9806 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9807
9808 fi
9809
9810
9811 eval "$ac_cv_use_fontpicker"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9814 fi
9815
9816 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9817 { echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6; }
9819 else
9820 { echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6; }
9822 fi
9823
9824
9825 enablestring=
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9828 no_cache=0
9829 # Check whether --enable-gauge was given.
9830 if test "${enable_gauge+set}" = set; then
9831 enableval=$enable_gauge;
9832 if test "$enableval" = yes; then
9833 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9834 else
9835 ac_cv_use_gauge='wxUSE_GAUGE=no'
9836 fi
9837
9838 else
9839
9840 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 else
9844 no_cache=1
9845 fi
9846
9847 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9848
9849 fi
9850
9851
9852 eval "$ac_cv_use_gauge"
9853 if test "$no_cache" != 1; then
9854 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9855 fi
9856
9857 if test "$wxUSE_GAUGE" = yes; then
9858 { echo "$as_me:$LINENO: result: yes" >&5
9859 echo "${ECHO_T}yes" >&6; }
9860 else
9861 { echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6; }
9863 fi
9864
9865
9866 enablestring=
9867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9869 no_cache=0
9870 # Check whether --enable-grid was given.
9871 if test "${enable_grid+set}" = set; then
9872 enableval=$enable_grid;
9873 if test "$enableval" = yes; then
9874 ac_cv_use_grid='wxUSE_GRID=yes'
9875 else
9876 ac_cv_use_grid='wxUSE_GRID=no'
9877 fi
9878
9879 else
9880
9881 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9884 else
9885 no_cache=1
9886 fi
9887
9888 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9889
9890 fi
9891
9892
9893 eval "$ac_cv_use_grid"
9894 if test "$no_cache" != 1; then
9895 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9896 fi
9897
9898 if test "$wxUSE_GRID" = yes; then
9899 { echo "$as_me:$LINENO: result: yes" >&5
9900 echo "${ECHO_T}yes" >&6; }
9901 else
9902 { echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6; }
9904 fi
9905
9906
9907 enablestring=
9908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9909 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9910 no_cache=0
9911 # Check whether --enable-dataviewctrl was given.
9912 if test "${enable_dataviewctrl+set}" = set; then
9913 enableval=$enable_dataviewctrl;
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9916 else
9917 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9918 fi
9919
9920 else
9921
9922 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9925 else
9926 no_cache=1
9927 fi
9928
9929 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9930
9931 fi
9932
9933
9934 eval "$ac_cv_use_dataviewctrl"
9935 if test "$no_cache" != 1; then
9936 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9937 fi
9938
9939 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9940 { echo "$as_me:$LINENO: result: yes" >&5
9941 echo "${ECHO_T}yes" >&6; }
9942 else
9943 { echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6; }
9945 fi
9946
9947
9948 enablestring=
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9951 no_cache=0
9952 # Check whether --enable-hyperlink was given.
9953 if test "${enable_hyperlink+set}" = set; then
9954 enableval=$enable_hyperlink;
9955 if test "$enableval" = yes; then
9956 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9957 else
9958 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 else
9967 no_cache=1
9968 fi
9969
9970 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9971
9972 fi
9973
9974
9975 eval "$ac_cv_use_hyperlink"
9976 if test "$no_cache" != 1; then
9977 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9978 fi
9979
9980 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9981 { echo "$as_me:$LINENO: result: yes" >&5
9982 echo "${ECHO_T}yes" >&6; }
9983 else
9984 { echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6; }
9986 fi
9987
9988
9989 enablestring=
9990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9992 no_cache=0
9993 # Check whether --enable-imaglist was given.
9994 if test "${enable_imaglist+set}" = set; then
9995 enableval=$enable_imaglist;
9996 if test "$enableval" = yes; then
9997 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9998 else
9999 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
10000 fi
10001
10002 else
10003
10004 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10007 else
10008 no_cache=1
10009 fi
10010
10011 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
10012
10013 fi
10014
10015
10016 eval "$ac_cv_use_imaglist"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
10019 fi
10020
10021 if test "$wxUSE_IMAGLIST" = yes; then
10022 { echo "$as_me:$LINENO: result: yes" >&5
10023 echo "${ECHO_T}yes" >&6; }
10024 else
10025 { echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6; }
10027 fi
10028
10029
10030 enablestring=
10031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10032 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10033 no_cache=0
10034 # Check whether --enable-listbook was given.
10035 if test "${enable_listbook+set}" = set; then
10036 enableval=$enable_listbook;
10037 if test "$enableval" = yes; then
10038 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
10039 else
10040 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
10041 fi
10042
10043 else
10044
10045 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x ; then
10047 eval "DEFAULT_$LINE"
10048 else
10049 no_cache=1
10050 fi
10051
10052 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10053
10054 fi
10055
10056
10057 eval "$ac_cv_use_listbook"
10058 if test "$no_cache" != 1; then
10059 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10060 fi
10061
10062 if test "$wxUSE_LISTBOOK" = yes; then
10063 { echo "$as_me:$LINENO: result: yes" >&5
10064 echo "${ECHO_T}yes" >&6; }
10065 else
10066 { echo "$as_me:$LINENO: result: no" >&5
10067 echo "${ECHO_T}no" >&6; }
10068 fi
10069
10070
10071 enablestring=
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10074 no_cache=0
10075 # Check whether --enable-listbox was given.
10076 if test "${enable_listbox+set}" = set; then
10077 enableval=$enable_listbox;
10078 if test "$enableval" = yes; then
10079 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10080 else
10081 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10082 fi
10083
10084 else
10085
10086 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10089 else
10090 no_cache=1
10091 fi
10092
10093 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10094
10095 fi
10096
10097
10098 eval "$ac_cv_use_listbox"
10099 if test "$no_cache" != 1; then
10100 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10101 fi
10102
10103 if test "$wxUSE_LISTBOX" = yes; then
10104 { echo "$as_me:$LINENO: result: yes" >&5
10105 echo "${ECHO_T}yes" >&6; }
10106 else
10107 { echo "$as_me:$LINENO: result: no" >&5
10108 echo "${ECHO_T}no" >&6; }
10109 fi
10110
10111
10112 enablestring=
10113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10115 no_cache=0
10116 # Check whether --enable-listctrl was given.
10117 if test "${enable_listctrl+set}" = set; then
10118 enableval=$enable_listctrl;
10119 if test "$enableval" = yes; then
10120 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10121 else
10122 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10123 fi
10124
10125 else
10126
10127 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x ; then
10129 eval "DEFAULT_$LINE"
10130 else
10131 no_cache=1
10132 fi
10133
10134 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10135
10136 fi
10137
10138
10139 eval "$ac_cv_use_listctrl"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10142 fi
10143
10144 if test "$wxUSE_LISTCTRL" = yes; then
10145 { echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6; }
10147 else
10148 { echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6; }
10150 fi
10151
10152
10153 enablestring=
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10156 no_cache=0
10157 # Check whether --enable-notebook was given.
10158 if test "${enable_notebook+set}" = set; then
10159 enableval=$enable_notebook;
10160 if test "$enableval" = yes; then
10161 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10162 else
10163 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10164 fi
10165
10166 else
10167
10168 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10171 else
10172 no_cache=1
10173 fi
10174
10175 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10176
10177 fi
10178
10179
10180 eval "$ac_cv_use_notebook"
10181 if test "$no_cache" != 1; then
10182 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10183 fi
10184
10185 if test "$wxUSE_NOTEBOOK" = yes; then
10186 { echo "$as_me:$LINENO: result: yes" >&5
10187 echo "${ECHO_T}yes" >&6; }
10188 else
10189 { echo "$as_me:$LINENO: result: no" >&5
10190 echo "${ECHO_T}no" >&6; }
10191 fi
10192
10193
10194 enablestring=
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10197 no_cache=0
10198 # Check whether --enable-odcombobox was given.
10199 if test "${enable_odcombobox+set}" = set; then
10200 enableval=$enable_odcombobox;
10201 if test "$enableval" = yes; then
10202 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10203 else
10204 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10205 fi
10206
10207 else
10208
10209 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x ; then
10211 eval "DEFAULT_$LINE"
10212 else
10213 no_cache=1
10214 fi
10215
10216 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10217
10218 fi
10219
10220
10221 eval "$ac_cv_use_odcombobox"
10222 if test "$no_cache" != 1; then
10223 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10224 fi
10225
10226 if test "$wxUSE_ODCOMBOBOX" = yes; then
10227 { echo "$as_me:$LINENO: result: yes" >&5
10228 echo "${ECHO_T}yes" >&6; }
10229 else
10230 { echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6; }
10232 fi
10233
10234
10235 enablestring=
10236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10238 no_cache=0
10239 # Check whether --enable-radiobox was given.
10240 if test "${enable_radiobox+set}" = set; then
10241 enableval=$enable_radiobox;
10242 if test "$enableval" = yes; then
10243 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10244 else
10245 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10246 fi
10247
10248 else
10249
10250 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x ; then
10252 eval "DEFAULT_$LINE"
10253 else
10254 no_cache=1
10255 fi
10256
10257 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10258
10259 fi
10260
10261
10262 eval "$ac_cv_use_radiobox"
10263 if test "$no_cache" != 1; then
10264 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10265 fi
10266
10267 if test "$wxUSE_RADIOBOX" = yes; then
10268 { echo "$as_me:$LINENO: result: yes" >&5
10269 echo "${ECHO_T}yes" >&6; }
10270 else
10271 { echo "$as_me:$LINENO: result: no" >&5
10272 echo "${ECHO_T}no" >&6; }
10273 fi
10274
10275
10276 enablestring=
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10279 no_cache=0
10280 # Check whether --enable-radiobtn was given.
10281 if test "${enable_radiobtn+set}" = set; then
10282 enableval=$enable_radiobtn;
10283 if test "$enableval" = yes; then
10284 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10285 else
10286 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10287 fi
10288
10289 else
10290
10291 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10294 else
10295 no_cache=1
10296 fi
10297
10298 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10299
10300 fi
10301
10302
10303 eval "$ac_cv_use_radiobtn"
10304 if test "$no_cache" != 1; then
10305 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10306 fi
10307
10308 if test "$wxUSE_RADIOBTN" = yes; then
10309 { echo "$as_me:$LINENO: result: yes" >&5
10310 echo "${ECHO_T}yes" >&6; }
10311 else
10312 { echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6; }
10314 fi
10315
10316
10317 enablestring=
10318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10320 no_cache=0
10321 # Check whether --enable-sash was given.
10322 if test "${enable_sash+set}" = set; then
10323 enableval=$enable_sash;
10324 if test "$enableval" = yes; then
10325 ac_cv_use_sash='wxUSE_SASH=yes'
10326 else
10327 ac_cv_use_sash='wxUSE_SASH=no'
10328 fi
10329
10330 else
10331
10332 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
10333 if test "x$LINE" != x ; then
10334 eval "DEFAULT_$LINE"
10335 else
10336 no_cache=1
10337 fi
10338
10339 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10340
10341 fi
10342
10343
10344 eval "$ac_cv_use_sash"
10345 if test "$no_cache" != 1; then
10346 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10347 fi
10348
10349 if test "$wxUSE_SASH" = yes; then
10350 { echo "$as_me:$LINENO: result: yes" >&5
10351 echo "${ECHO_T}yes" >&6; }
10352 else
10353 { echo "$as_me:$LINENO: result: no" >&5
10354 echo "${ECHO_T}no" >&6; }
10355 fi
10356
10357
10358 enablestring=
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10361 no_cache=0
10362 # Check whether --enable-scrollbar was given.
10363 if test "${enable_scrollbar+set}" = set; then
10364 enableval=$enable_scrollbar;
10365 if test "$enableval" = yes; then
10366 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10367 else
10368 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10369 fi
10370
10371 else
10372
10373 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10376 else
10377 no_cache=1
10378 fi
10379
10380 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10381
10382 fi
10383
10384
10385 eval "$ac_cv_use_scrollbar"
10386 if test "$no_cache" != 1; then
10387 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10388 fi
10389
10390 if test "$wxUSE_SCROLLBAR" = yes; then
10391 { echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6; }
10393 else
10394 { echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6; }
10396 fi
10397
10398
10399 enablestring=
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10402 no_cache=0
10403 # Check whether --enable-searchctrl was given.
10404 if test "${enable_searchctrl+set}" = set; then
10405 enableval=$enable_searchctrl;
10406 if test "$enableval" = yes; then
10407 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10408 else
10409 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10410 fi
10411
10412 else
10413
10414 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
10415 if test "x$LINE" != x ; then
10416 eval "DEFAULT_$LINE"
10417 else
10418 no_cache=1
10419 fi
10420
10421 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10422
10423 fi
10424
10425
10426 eval "$ac_cv_use_searchctrl"
10427 if test "$no_cache" != 1; then
10428 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10429 fi
10430
10431 if test "$wxUSE_SEARCHCTRL" = yes; then
10432 { echo "$as_me:$LINENO: result: yes" >&5
10433 echo "${ECHO_T}yes" >&6; }
10434 else
10435 { echo "$as_me:$LINENO: result: no" >&5
10436 echo "${ECHO_T}no" >&6; }
10437 fi
10438
10439
10440 enablestring=
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10443 no_cache=0
10444 # Check whether --enable-slider was given.
10445 if test "${enable_slider+set}" = set; then
10446 enableval=$enable_slider;
10447 if test "$enableval" = yes; then
10448 ac_cv_use_slider='wxUSE_SLIDER=yes'
10449 else
10450 ac_cv_use_slider='wxUSE_SLIDER=no'
10451 fi
10452
10453 else
10454
10455 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10458 else
10459 no_cache=1
10460 fi
10461
10462 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10463
10464 fi
10465
10466
10467 eval "$ac_cv_use_slider"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10470 fi
10471
10472 if test "$wxUSE_SLIDER" = yes; then
10473 { echo "$as_me:$LINENO: result: yes" >&5
10474 echo "${ECHO_T}yes" >&6; }
10475 else
10476 { echo "$as_me:$LINENO: result: no" >&5
10477 echo "${ECHO_T}no" >&6; }
10478 fi
10479
10480
10481 enablestring=
10482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10484 no_cache=0
10485 # Check whether --enable-spinbtn was given.
10486 if test "${enable_spinbtn+set}" = set; then
10487 enableval=$enable_spinbtn;
10488 if test "$enableval" = yes; then
10489 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10490 else
10491 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10492 fi
10493
10494 else
10495
10496 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
10497 if test "x$LINE" != x ; then
10498 eval "DEFAULT_$LINE"
10499 else
10500 no_cache=1
10501 fi
10502
10503 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10504
10505 fi
10506
10507
10508 eval "$ac_cv_use_spinbtn"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10511 fi
10512
10513 if test "$wxUSE_SPINBTN" = yes; then
10514 { echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6; }
10516 else
10517 { echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6; }
10519 fi
10520
10521
10522 enablestring=
10523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10524 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10525 no_cache=0
10526 # Check whether --enable-spinctrl was given.
10527 if test "${enable_spinctrl+set}" = set; then
10528 enableval=$enable_spinctrl;
10529 if test "$enableval" = yes; then
10530 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10531 else
10532 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10533 fi
10534
10535 else
10536
10537 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
10538 if test "x$LINE" != x ; then
10539 eval "DEFAULT_$LINE"
10540 else
10541 no_cache=1
10542 fi
10543
10544 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10545
10546 fi
10547
10548
10549 eval "$ac_cv_use_spinctrl"
10550 if test "$no_cache" != 1; then
10551 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10552 fi
10553
10554 if test "$wxUSE_SPINCTRL" = yes; then
10555 { echo "$as_me:$LINENO: result: yes" >&5
10556 echo "${ECHO_T}yes" >&6; }
10557 else
10558 { echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6; }
10560 fi
10561
10562
10563 enablestring=
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10566 no_cache=0
10567 # Check whether --enable-splitter was given.
10568 if test "${enable_splitter+set}" = set; then
10569 enableval=$enable_splitter;
10570 if test "$enableval" = yes; then
10571 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10572 else
10573 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10574 fi
10575
10576 else
10577
10578 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10581 else
10582 no_cache=1
10583 fi
10584
10585 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10586
10587 fi
10588
10589
10590 eval "$ac_cv_use_splitter"
10591 if test "$no_cache" != 1; then
10592 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10593 fi
10594
10595 if test "$wxUSE_SPLITTER" = yes; then
10596 { echo "$as_me:$LINENO: result: yes" >&5
10597 echo "${ECHO_T}yes" >&6; }
10598 else
10599 { echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6; }
10601 fi
10602
10603
10604 enablestring=
10605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10606 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10607 no_cache=0
10608 # Check whether --enable-statbmp was given.
10609 if test "${enable_statbmp+set}" = set; then
10610 enableval=$enable_statbmp;
10611 if test "$enableval" = yes; then
10612 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10613 else
10614 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10615 fi
10616
10617 else
10618
10619 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
10620 if test "x$LINE" != x ; then
10621 eval "DEFAULT_$LINE"
10622 else
10623 no_cache=1
10624 fi
10625
10626 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10627
10628 fi
10629
10630
10631 eval "$ac_cv_use_statbmp"
10632 if test "$no_cache" != 1; then
10633 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10634 fi
10635
10636 if test "$wxUSE_STATBMP" = yes; then
10637 { echo "$as_me:$LINENO: result: yes" >&5
10638 echo "${ECHO_T}yes" >&6; }
10639 else
10640 { echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6; }
10642 fi
10643
10644
10645 enablestring=
10646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10647 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10648 no_cache=0
10649 # Check whether --enable-statbox was given.
10650 if test "${enable_statbox+set}" = set; then
10651 enableval=$enable_statbox;
10652 if test "$enableval" = yes; then
10653 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10654 else
10655 ac_cv_use_statbox='wxUSE_STATBOX=no'
10656 fi
10657
10658 else
10659
10660 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
10661 if test "x$LINE" != x ; then
10662 eval "DEFAULT_$LINE"
10663 else
10664 no_cache=1
10665 fi
10666
10667 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10668
10669 fi
10670
10671
10672 eval "$ac_cv_use_statbox"
10673 if test "$no_cache" != 1; then
10674 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10675 fi
10676
10677 if test "$wxUSE_STATBOX" = yes; then
10678 { echo "$as_me:$LINENO: result: yes" >&5
10679 echo "${ECHO_T}yes" >&6; }
10680 else
10681 { echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6; }
10683 fi
10684
10685
10686 enablestring=
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10689 no_cache=0
10690 # Check whether --enable-statline was given.
10691 if test "${enable_statline+set}" = set; then
10692 enableval=$enable_statline;
10693 if test "$enableval" = yes; then
10694 ac_cv_use_statline='wxUSE_STATLINE=yes'
10695 else
10696 ac_cv_use_statline='wxUSE_STATLINE=no'
10697 fi
10698
10699 else
10700
10701 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
10702 if test "x$LINE" != x ; then
10703 eval "DEFAULT_$LINE"
10704 else
10705 no_cache=1
10706 fi
10707
10708 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10709
10710 fi
10711
10712
10713 eval "$ac_cv_use_statline"
10714 if test "$no_cache" != 1; then
10715 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10716 fi
10717
10718 if test "$wxUSE_STATLINE" = yes; then
10719 { echo "$as_me:$LINENO: result: yes" >&5
10720 echo "${ECHO_T}yes" >&6; }
10721 else
10722 { echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6; }
10724 fi
10725
10726
10727 enablestring=
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10730 no_cache=0
10731 # Check whether --enable-stattext was given.
10732 if test "${enable_stattext+set}" = set; then
10733 enableval=$enable_stattext;
10734 if test "$enableval" = yes; then
10735 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10736 else
10737 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10738 fi
10739
10740 else
10741
10742 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
10743 if test "x$LINE" != x ; then
10744 eval "DEFAULT_$LINE"
10745 else
10746 no_cache=1
10747 fi
10748
10749 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10750
10751 fi
10752
10753
10754 eval "$ac_cv_use_stattext"
10755 if test "$no_cache" != 1; then
10756 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10757 fi
10758
10759 if test "$wxUSE_STATTEXT" = yes; then
10760 { echo "$as_me:$LINENO: result: yes" >&5
10761 echo "${ECHO_T}yes" >&6; }
10762 else
10763 { echo "$as_me:$LINENO: result: no" >&5
10764 echo "${ECHO_T}no" >&6; }
10765 fi
10766
10767
10768 enablestring=
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10771 no_cache=0
10772 # Check whether --enable-statusbar was given.
10773 if test "${enable_statusbar+set}" = set; then
10774 enableval=$enable_statusbar;
10775 if test "$enableval" = yes; then
10776 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10777 else
10778 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10779 fi
10780
10781 else
10782
10783 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
10784 if test "x$LINE" != x ; then
10785 eval "DEFAULT_$LINE"
10786 else
10787 no_cache=1
10788 fi
10789
10790 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10791
10792 fi
10793
10794
10795 eval "$ac_cv_use_statusbar"
10796 if test "$no_cache" != 1; then
10797 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10798 fi
10799
10800 if test "$wxUSE_STATUSBAR" = yes; then
10801 { echo "$as_me:$LINENO: result: yes" >&5
10802 echo "${ECHO_T}yes" >&6; }
10803 else
10804 { echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6; }
10806 fi
10807
10808
10809 enablestring=
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10812 no_cache=0
10813 # Check whether --enable-tabdialog was given.
10814 if test "${enable_tabdialog+set}" = set; then
10815 enableval=$enable_tabdialog;
10816 if test "$enableval" = yes; then
10817 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10818 else
10819 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10820 fi
10821
10822 else
10823
10824 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
10825 if test "x$LINE" != x ; then
10826 eval "DEFAULT_$LINE"
10827 else
10828 no_cache=1
10829 fi
10830
10831 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10832
10833 fi
10834
10835
10836 eval "$ac_cv_use_tabdialog"
10837 if test "$no_cache" != 1; then
10838 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10839 fi
10840
10841 if test "$wxUSE_TAB_DIALOG" = yes; then
10842 { echo "$as_me:$LINENO: result: yes" >&5
10843 echo "${ECHO_T}yes" >&6; }
10844 else
10845 { echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6; }
10847 fi
10848
10849
10850 enablestring=
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10853 no_cache=0
10854 # Check whether --enable-textctrl was given.
10855 if test "${enable_textctrl+set}" = set; then
10856 enableval=$enable_textctrl;
10857 if test "$enableval" = yes; then
10858 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10859 else
10860 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10861 fi
10862
10863 else
10864
10865 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10868 else
10869 no_cache=1
10870 fi
10871
10872 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10873
10874 fi
10875
10876
10877 eval "$ac_cv_use_textctrl"
10878 if test "$no_cache" != 1; then
10879 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10880 fi
10881
10882 if test "$wxUSE_TEXTCTRL" = yes; then
10883 { echo "$as_me:$LINENO: result: yes" >&5
10884 echo "${ECHO_T}yes" >&6; }
10885 else
10886 { echo "$as_me:$LINENO: result: no" >&5
10887 echo "${ECHO_T}no" >&6; }
10888 fi
10889
10890
10891 enablestring=
10892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10893 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10894 no_cache=0
10895 # Check whether --enable-togglebtn was given.
10896 if test "${enable_togglebtn+set}" = set; then
10897 enableval=$enable_togglebtn;
10898 if test "$enableval" = yes; then
10899 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10900 else
10901 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10902 fi
10903
10904 else
10905
10906 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
10907 if test "x$LINE" != x ; then
10908 eval "DEFAULT_$LINE"
10909 else
10910 no_cache=1
10911 fi
10912
10913 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10914
10915 fi
10916
10917
10918 eval "$ac_cv_use_togglebtn"
10919 if test "$no_cache" != 1; then
10920 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10921 fi
10922
10923 if test "$wxUSE_TOGGLEBTN" = yes; then
10924 { echo "$as_me:$LINENO: result: yes" >&5
10925 echo "${ECHO_T}yes" >&6; }
10926 else
10927 { echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6; }
10929 fi
10930
10931
10932 enablestring=
10933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10935 no_cache=0
10936 # Check whether --enable-toolbar was given.
10937 if test "${enable_toolbar+set}" = set; then
10938 enableval=$enable_toolbar;
10939 if test "$enableval" = yes; then
10940 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10941 else
10942 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10943 fi
10944
10945 else
10946
10947 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
10948 if test "x$LINE" != x ; then
10949 eval "DEFAULT_$LINE"
10950 else
10951 no_cache=1
10952 fi
10953
10954 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10955
10956 fi
10957
10958
10959 eval "$ac_cv_use_toolbar"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10962 fi
10963
10964 if test "$wxUSE_TOOLBAR" = yes; then
10965 { echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6; }
10967 else
10968 { echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6; }
10970 fi
10971
10972
10973 enablestring=
10974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10976 no_cache=0
10977 # Check whether --enable-tbarnative was given.
10978 if test "${enable_tbarnative+set}" = set; then
10979 enableval=$enable_tbarnative;
10980 if test "$enableval" = yes; then
10981 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10982 else
10983 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10984 fi
10985
10986 else
10987
10988 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
10989 if test "x$LINE" != x ; then
10990 eval "DEFAULT_$LINE"
10991 else
10992 no_cache=1
10993 fi
10994
10995 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10996
10997 fi
10998
10999
11000 eval "$ac_cv_use_tbarnative"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
11003 fi
11004
11005 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
11006 { echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6; }
11008 else
11009 { echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6; }
11011 fi
11012
11013
11014 enablestring=
11015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11017 no_cache=0
11018 # Check whether --enable-treebook was given.
11019 if test "${enable_treebook+set}" = set; then
11020 enableval=$enable_treebook;
11021 if test "$enableval" = yes; then
11022 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
11023 else
11024 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
11025 fi
11026
11027 else
11028
11029 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
11030 if test "x$LINE" != x ; then
11031 eval "DEFAULT_$LINE"
11032 else
11033 no_cache=1
11034 fi
11035
11036 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
11037
11038 fi
11039
11040
11041 eval "$ac_cv_use_treebook"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11044 fi
11045
11046 if test "$wxUSE_TREEBOOK" = yes; then
11047 { echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6; }
11049 else
11050 { echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6; }
11052 fi
11053
11054
11055 enablestring=
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11058 no_cache=0
11059 # Check whether --enable-toolbook was given.
11060 if test "${enable_toolbook+set}" = set; then
11061 enableval=$enable_toolbook;
11062 if test "$enableval" = yes; then
11063 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11064 else
11065 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11066 fi
11067
11068 else
11069
11070 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
11071 if test "x$LINE" != x ; then
11072 eval "DEFAULT_$LINE"
11073 else
11074 no_cache=1
11075 fi
11076
11077 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11078
11079 fi
11080
11081
11082 eval "$ac_cv_use_toolbook"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11085 fi
11086
11087 if test "$wxUSE_TOOLBOOK" = yes; then
11088 { echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6; }
11090 else
11091 { echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6; }
11093 fi
11094
11095
11096 enablestring=
11097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11099 no_cache=0
11100 # Check whether --enable-treectrl was given.
11101 if test "${enable_treectrl+set}" = set; then
11102 enableval=$enable_treectrl;
11103 if test "$enableval" = yes; then
11104 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11105 else
11106 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11107 fi
11108
11109 else
11110
11111 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
11112 if test "x$LINE" != x ; then
11113 eval "DEFAULT_$LINE"
11114 else
11115 no_cache=1
11116 fi
11117
11118 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11119
11120 fi
11121
11122
11123 eval "$ac_cv_use_treectrl"
11124 if test "$no_cache" != 1; then
11125 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11126 fi
11127
11128 if test "$wxUSE_TREECTRL" = yes; then
11129 { echo "$as_me:$LINENO: result: yes" >&5
11130 echo "${ECHO_T}yes" >&6; }
11131 else
11132 { echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6; }
11134 fi
11135
11136
11137 enablestring=
11138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11140 no_cache=0
11141 # Check whether --enable-tipwindow was given.
11142 if test "${enable_tipwindow+set}" = set; then
11143 enableval=$enable_tipwindow;
11144 if test "$enableval" = yes; then
11145 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11146 else
11147 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11148 fi
11149
11150 else
11151
11152 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
11153 if test "x$LINE" != x ; then
11154 eval "DEFAULT_$LINE"
11155 else
11156 no_cache=1
11157 fi
11158
11159 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11160
11161 fi
11162
11163
11164 eval "$ac_cv_use_tipwindow"
11165 if test "$no_cache" != 1; then
11166 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11167 fi
11168
11169 if test "$wxUSE_TIPWINDOW" = yes; then
11170 { echo "$as_me:$LINENO: result: yes" >&5
11171 echo "${ECHO_T}yes" >&6; }
11172 else
11173 { echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6; }
11175 fi
11176
11177
11178 enablestring=
11179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11180 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11181 no_cache=0
11182 # Check whether --enable-popupwin was given.
11183 if test "${enable_popupwin+set}" = set; then
11184 enableval=$enable_popupwin;
11185 if test "$enableval" = yes; then
11186 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11187 else
11188 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11189 fi
11190
11191 else
11192
11193 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
11194 if test "x$LINE" != x ; then
11195 eval "DEFAULT_$LINE"
11196 else
11197 no_cache=1
11198 fi
11199
11200 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11201
11202 fi
11203
11204
11205 eval "$ac_cv_use_popupwin"
11206 if test "$no_cache" != 1; then
11207 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11208 fi
11209
11210 if test "$wxUSE_POPUPWIN" = yes; then
11211 { echo "$as_me:$LINENO: result: yes" >&5
11212 echo "${ECHO_T}yes" >&6; }
11213 else
11214 { echo "$as_me:$LINENO: result: no" >&5
11215 echo "${ECHO_T}no" >&6; }
11216 fi
11217
11218
11219
11220
11221 enablestring=
11222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11224 no_cache=0
11225 # Check whether --enable-commondlg was given.
11226 if test "${enable_commondlg+set}" = set; then
11227 enableval=$enable_commondlg;
11228 if test "$enableval" = yes; then
11229 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11230 else
11231 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11232 fi
11233
11234 else
11235
11236 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x ; then
11238 eval "DEFAULT_$LINE"
11239 else
11240 no_cache=1
11241 fi
11242
11243 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11244
11245 fi
11246
11247
11248 eval "$ac_cv_use_commondlg"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11251 fi
11252
11253 if test "$wxUSE_COMMONDLGS" = yes; then
11254 { echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6; }
11256 else
11257 { echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6; }
11259 fi
11260
11261
11262 enablestring=
11263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11265 no_cache=0
11266 # Check whether --enable-aboutdlg was given.
11267 if test "${enable_aboutdlg+set}" = set; then
11268 enableval=$enable_aboutdlg;
11269 if test "$enableval" = yes; then
11270 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11271 else
11272 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11273 fi
11274
11275 else
11276
11277 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
11278 if test "x$LINE" != x ; then
11279 eval "DEFAULT_$LINE"
11280 else
11281 no_cache=1
11282 fi
11283
11284 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11285
11286 fi
11287
11288
11289 eval "$ac_cv_use_aboutdlg"
11290 if test "$no_cache" != 1; then
11291 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11292 fi
11293
11294 if test "$wxUSE_ABOUTDLG" = yes; then
11295 { echo "$as_me:$LINENO: result: yes" >&5
11296 echo "${ECHO_T}yes" >&6; }
11297 else
11298 { echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6; }
11300 fi
11301
11302
11303 enablestring=
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11306 no_cache=0
11307 # Check whether --enable-choicedlg was given.
11308 if test "${enable_choicedlg+set}" = set; then
11309 enableval=$enable_choicedlg;
11310 if test "$enableval" = yes; then
11311 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11312 else
11313 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11314 fi
11315
11316 else
11317
11318 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
11319 if test "x$LINE" != x ; then
11320 eval "DEFAULT_$LINE"
11321 else
11322 no_cache=1
11323 fi
11324
11325 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11326
11327 fi
11328
11329
11330 eval "$ac_cv_use_choicedlg"
11331 if test "$no_cache" != 1; then
11332 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11333 fi
11334
11335 if test "$wxUSE_CHOICEDLG" = yes; then
11336 { echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6; }
11338 else
11339 { echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6; }
11341 fi
11342
11343
11344 enablestring=
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11347 no_cache=0
11348 # Check whether --enable-coldlg was given.
11349 if test "${enable_coldlg+set}" = set; then
11350 enableval=$enable_coldlg;
11351 if test "$enableval" = yes; then
11352 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11353 else
11354 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11355 fi
11356
11357 else
11358
11359 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11362 else
11363 no_cache=1
11364 fi
11365
11366 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11367
11368 fi
11369
11370
11371 eval "$ac_cv_use_coldlg"
11372 if test "$no_cache" != 1; then
11373 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11374 fi
11375
11376 if test "$wxUSE_COLOURDLG" = yes; then
11377 { echo "$as_me:$LINENO: result: yes" >&5
11378 echo "${ECHO_T}yes" >&6; }
11379 else
11380 { echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6; }
11382 fi
11383
11384
11385 enablestring=
11386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11388 no_cache=0
11389 # Check whether --enable-filedlg was given.
11390 if test "${enable_filedlg+set}" = set; then
11391 enableval=$enable_filedlg;
11392 if test "$enableval" = yes; then
11393 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11394 else
11395 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11396 fi
11397
11398 else
11399
11400 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
11401 if test "x$LINE" != x ; then
11402 eval "DEFAULT_$LINE"
11403 else
11404 no_cache=1
11405 fi
11406
11407 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11408
11409 fi
11410
11411
11412 eval "$ac_cv_use_filedlg"
11413 if test "$no_cache" != 1; then
11414 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11415 fi
11416
11417 if test "$wxUSE_FILEDLG" = yes; then
11418 { echo "$as_me:$LINENO: result: yes" >&5
11419 echo "${ECHO_T}yes" >&6; }
11420 else
11421 { echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6; }
11423 fi
11424
11425
11426 enablestring=
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11429 no_cache=0
11430 # Check whether --enable-finddlg was given.
11431 if test "${enable_finddlg+set}" = set; then
11432 enableval=$enable_finddlg;
11433 if test "$enableval" = yes; then
11434 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11435 else
11436 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11437 fi
11438
11439 else
11440
11441 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
11442 if test "x$LINE" != x ; then
11443 eval "DEFAULT_$LINE"
11444 else
11445 no_cache=1
11446 fi
11447
11448 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11449
11450 fi
11451
11452
11453 eval "$ac_cv_use_finddlg"
11454 if test "$no_cache" != 1; then
11455 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11456 fi
11457
11458 if test "$wxUSE_FINDREPLDLG" = yes; then
11459 { echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6; }
11461 else
11462 { echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6; }
11464 fi
11465
11466
11467 enablestring=
11468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11470 no_cache=0
11471 # Check whether --enable-fontdlg was given.
11472 if test "${enable_fontdlg+set}" = set; then
11473 enableval=$enable_fontdlg;
11474 if test "$enableval" = yes; then
11475 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11476 else
11477 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11478 fi
11479
11480 else
11481
11482 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
11483 if test "x$LINE" != x ; then
11484 eval "DEFAULT_$LINE"
11485 else
11486 no_cache=1
11487 fi
11488
11489 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11490
11491 fi
11492
11493
11494 eval "$ac_cv_use_fontdlg"
11495 if test "$no_cache" != 1; then
11496 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11497 fi
11498
11499 if test "$wxUSE_FONTDLG" = yes; then
11500 { echo "$as_me:$LINENO: result: yes" >&5
11501 echo "${ECHO_T}yes" >&6; }
11502 else
11503 { echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6; }
11505 fi
11506
11507
11508 enablestring=
11509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11511 no_cache=0
11512 # Check whether --enable-dirdlg was given.
11513 if test "${enable_dirdlg+set}" = set; then
11514 enableval=$enable_dirdlg;
11515 if test "$enableval" = yes; then
11516 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11517 else
11518 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11519 fi
11520
11521 else
11522
11523 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
11524 if test "x$LINE" != x ; then
11525 eval "DEFAULT_$LINE"
11526 else
11527 no_cache=1
11528 fi
11529
11530 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11531
11532 fi
11533
11534
11535 eval "$ac_cv_use_dirdlg"
11536 if test "$no_cache" != 1; then
11537 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11538 fi
11539
11540 if test "$wxUSE_DIRDLG" = yes; then
11541 { echo "$as_me:$LINENO: result: yes" >&5
11542 echo "${ECHO_T}yes" >&6; }
11543 else
11544 { echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6; }
11546 fi
11547
11548
11549 enablestring=
11550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11551 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11552 no_cache=0
11553 # Check whether --enable-msgdlg was given.
11554 if test "${enable_msgdlg+set}" = set; then
11555 enableval=$enable_msgdlg;
11556 if test "$enableval" = yes; then
11557 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11558 else
11559 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11560 fi
11561
11562 else
11563
11564 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
11565 if test "x$LINE" != x ; then
11566 eval "DEFAULT_$LINE"
11567 else
11568 no_cache=1
11569 fi
11570
11571 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11572
11573 fi
11574
11575
11576 eval "$ac_cv_use_msgdlg"
11577 if test "$no_cache" != 1; then
11578 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11579 fi
11580
11581 if test "$wxUSE_MSGDLG" = yes; then
11582 { echo "$as_me:$LINENO: result: yes" >&5
11583 echo "${ECHO_T}yes" >&6; }
11584 else
11585 { echo "$as_me:$LINENO: result: no" >&5
11586 echo "${ECHO_T}no" >&6; }
11587 fi
11588
11589
11590 enablestring=
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11593 no_cache=0
11594 # Check whether --enable-numberdlg was given.
11595 if test "${enable_numberdlg+set}" = set; then
11596 enableval=$enable_numberdlg;
11597 if test "$enableval" = yes; then
11598 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11599 else
11600 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11601 fi
11602
11603 else
11604
11605 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
11606 if test "x$LINE" != x ; then
11607 eval "DEFAULT_$LINE"
11608 else
11609 no_cache=1
11610 fi
11611
11612 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11613
11614 fi
11615
11616
11617 eval "$ac_cv_use_numberdlg"
11618 if test "$no_cache" != 1; then
11619 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11620 fi
11621
11622 if test "$wxUSE_NUMBERDLG" = yes; then
11623 { echo "$as_me:$LINENO: result: yes" >&5
11624 echo "${ECHO_T}yes" >&6; }
11625 else
11626 { echo "$as_me:$LINENO: result: no" >&5
11627 echo "${ECHO_T}no" >&6; }
11628 fi
11629
11630
11631 enablestring=
11632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11633 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11634 no_cache=0
11635 # Check whether --enable-splash was given.
11636 if test "${enable_splash+set}" = set; then
11637 enableval=$enable_splash;
11638 if test "$enableval" = yes; then
11639 ac_cv_use_splash='wxUSE_SPLASH=yes'
11640 else
11641 ac_cv_use_splash='wxUSE_SPLASH=no'
11642 fi
11643
11644 else
11645
11646 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
11647 if test "x$LINE" != x ; then
11648 eval "DEFAULT_$LINE"
11649 else
11650 no_cache=1
11651 fi
11652
11653 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11654
11655 fi
11656
11657
11658 eval "$ac_cv_use_splash"
11659 if test "$no_cache" != 1; then
11660 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11661 fi
11662
11663 if test "$wxUSE_SPLASH" = yes; then
11664 { echo "$as_me:$LINENO: result: yes" >&5
11665 echo "${ECHO_T}yes" >&6; }
11666 else
11667 { echo "$as_me:$LINENO: result: no" >&5
11668 echo "${ECHO_T}no" >&6; }
11669 fi
11670
11671
11672 enablestring=
11673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11674 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11675 no_cache=0
11676 # Check whether --enable-textdlg was given.
11677 if test "${enable_textdlg+set}" = set; then
11678 enableval=$enable_textdlg;
11679 if test "$enableval" = yes; then
11680 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11681 else
11682 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11683 fi
11684
11685 else
11686
11687 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
11688 if test "x$LINE" != x ; then
11689 eval "DEFAULT_$LINE"
11690 else
11691 no_cache=1
11692 fi
11693
11694 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11695
11696 fi
11697
11698
11699 eval "$ac_cv_use_textdlg"
11700 if test "$no_cache" != 1; then
11701 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11702 fi
11703
11704 if test "$wxUSE_TEXTDLG" = yes; then
11705 { echo "$as_me:$LINENO: result: yes" >&5
11706 echo "${ECHO_T}yes" >&6; }
11707 else
11708 { echo "$as_me:$LINENO: result: no" >&5
11709 echo "${ECHO_T}no" >&6; }
11710 fi
11711
11712
11713 enablestring=
11714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11715 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11716 no_cache=0
11717 # Check whether --enable-tipdlg was given.
11718 if test "${enable_tipdlg+set}" = set; then
11719 enableval=$enable_tipdlg;
11720 if test "$enableval" = yes; then
11721 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11722 else
11723 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11724 fi
11725
11726 else
11727
11728 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
11729 if test "x$LINE" != x ; then
11730 eval "DEFAULT_$LINE"
11731 else
11732 no_cache=1
11733 fi
11734
11735 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11736
11737 fi
11738
11739
11740 eval "$ac_cv_use_tipdlg"
11741 if test "$no_cache" != 1; then
11742 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11743 fi
11744
11745 if test "$wxUSE_STARTUP_TIPS" = yes; then
11746 { echo "$as_me:$LINENO: result: yes" >&5
11747 echo "${ECHO_T}yes" >&6; }
11748 else
11749 { echo "$as_me:$LINENO: result: no" >&5
11750 echo "${ECHO_T}no" >&6; }
11751 fi
11752
11753
11754 enablestring=
11755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11756 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11757 no_cache=0
11758 # Check whether --enable-progressdlg was given.
11759 if test "${enable_progressdlg+set}" = set; then
11760 enableval=$enable_progressdlg;
11761 if test "$enableval" = yes; then
11762 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11763 else
11764 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11765 fi
11766
11767 else
11768
11769 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
11770 if test "x$LINE" != x ; then
11771 eval "DEFAULT_$LINE"
11772 else
11773 no_cache=1
11774 fi
11775
11776 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11777
11778 fi
11779
11780
11781 eval "$ac_cv_use_progressdlg"
11782 if test "$no_cache" != 1; then
11783 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11784 fi
11785
11786 if test "$wxUSE_PROGRESSDLG" = yes; then
11787 { echo "$as_me:$LINENO: result: yes" >&5
11788 echo "${ECHO_T}yes" >&6; }
11789 else
11790 { echo "$as_me:$LINENO: result: no" >&5
11791 echo "${ECHO_T}no" >&6; }
11792 fi
11793
11794
11795 enablestring=
11796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11797 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11798 no_cache=0
11799 # Check whether --enable-wizarddlg was given.
11800 if test "${enable_wizarddlg+set}" = set; then
11801 enableval=$enable_wizarddlg;
11802 if test "$enableval" = yes; then
11803 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11804 else
11805 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11806 fi
11807
11808 else
11809
11810 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
11811 if test "x$LINE" != x ; then
11812 eval "DEFAULT_$LINE"
11813 else
11814 no_cache=1
11815 fi
11816
11817 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11818
11819 fi
11820
11821
11822 eval "$ac_cv_use_wizarddlg"
11823 if test "$no_cache" != 1; then
11824 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11825 fi
11826
11827 if test "$wxUSE_WIZARDDLG" = yes; then
11828 { echo "$as_me:$LINENO: result: yes" >&5
11829 echo "${ECHO_T}yes" >&6; }
11830 else
11831 { echo "$as_me:$LINENO: result: no" >&5
11832 echo "${ECHO_T}no" >&6; }
11833 fi
11834
11835
11836
11837
11838 enablestring=
11839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11840 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11841 no_cache=0
11842 # Check whether --enable-menus was given.
11843 if test "${enable_menus+set}" = set; then
11844 enableval=$enable_menus;
11845 if test "$enableval" = yes; then
11846 ac_cv_use_menus='wxUSE_MENUS=yes'
11847 else
11848 ac_cv_use_menus='wxUSE_MENUS=no'
11849 fi
11850
11851 else
11852
11853 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
11854 if test "x$LINE" != x ; then
11855 eval "DEFAULT_$LINE"
11856 else
11857 no_cache=1
11858 fi
11859
11860 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11861
11862 fi
11863
11864
11865 eval "$ac_cv_use_menus"
11866 if test "$no_cache" != 1; then
11867 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11868 fi
11869
11870 if test "$wxUSE_MENUS" = yes; then
11871 { echo "$as_me:$LINENO: result: yes" >&5
11872 echo "${ECHO_T}yes" >&6; }
11873 else
11874 { echo "$as_me:$LINENO: result: no" >&5
11875 echo "${ECHO_T}no" >&6; }
11876 fi
11877
11878
11879 enablestring=
11880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11881 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11882 no_cache=0
11883 # Check whether --enable-miniframe was given.
11884 if test "${enable_miniframe+set}" = set; then
11885 enableval=$enable_miniframe;
11886 if test "$enableval" = yes; then
11887 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11888 else
11889 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11890 fi
11891
11892 else
11893
11894 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
11895 if test "x$LINE" != x ; then
11896 eval "DEFAULT_$LINE"
11897 else
11898 no_cache=1
11899 fi
11900
11901 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11902
11903 fi
11904
11905
11906 eval "$ac_cv_use_miniframe"
11907 if test "$no_cache" != 1; then
11908 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11909 fi
11910
11911 if test "$wxUSE_MINIFRAME" = yes; then
11912 { echo "$as_me:$LINENO: result: yes" >&5
11913 echo "${ECHO_T}yes" >&6; }
11914 else
11915 { echo "$as_me:$LINENO: result: no" >&5
11916 echo "${ECHO_T}no" >&6; }
11917 fi
11918
11919
11920 enablestring=
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11923 no_cache=0
11924 # Check whether --enable-tooltips was given.
11925 if test "${enable_tooltips+set}" = set; then
11926 enableval=$enable_tooltips;
11927 if test "$enableval" = yes; then
11928 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11929 else
11930 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11931 fi
11932
11933 else
11934
11935 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
11936 if test "x$LINE" != x ; then
11937 eval "DEFAULT_$LINE"
11938 else
11939 no_cache=1
11940 fi
11941
11942 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11943
11944 fi
11945
11946
11947 eval "$ac_cv_use_tooltips"
11948 if test "$no_cache" != 1; then
11949 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11950 fi
11951
11952 if test "$wxUSE_TOOLTIPS" = yes; then
11953 { echo "$as_me:$LINENO: result: yes" >&5
11954 echo "${ECHO_T}yes" >&6; }
11955 else
11956 { echo "$as_me:$LINENO: result: no" >&5
11957 echo "${ECHO_T}no" >&6; }
11958 fi
11959
11960
11961 enablestring=
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11964 no_cache=0
11965 # Check whether --enable-splines was given.
11966 if test "${enable_splines+set}" = set; then
11967 enableval=$enable_splines;
11968 if test "$enableval" = yes; then
11969 ac_cv_use_splines='wxUSE_SPLINES=yes'
11970 else
11971 ac_cv_use_splines='wxUSE_SPLINES=no'
11972 fi
11973
11974 else
11975
11976 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
11977 if test "x$LINE" != x ; then
11978 eval "DEFAULT_$LINE"
11979 else
11980 no_cache=1
11981 fi
11982
11983 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11984
11985 fi
11986
11987
11988 eval "$ac_cv_use_splines"
11989 if test "$no_cache" != 1; then
11990 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11991 fi
11992
11993 if test "$wxUSE_SPLINES" = yes; then
11994 { echo "$as_me:$LINENO: result: yes" >&5
11995 echo "${ECHO_T}yes" >&6; }
11996 else
11997 { echo "$as_me:$LINENO: result: no" >&5
11998 echo "${ECHO_T}no" >&6; }
11999 fi
12000
12001
12002 enablestring=
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12005 no_cache=0
12006 # Check whether --enable-mousewheel was given.
12007 if test "${enable_mousewheel+set}" = set; then
12008 enableval=$enable_mousewheel;
12009 if test "$enableval" = yes; then
12010 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12011 else
12012 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12013 fi
12014
12015 else
12016
12017 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
12018 if test "x$LINE" != x ; then
12019 eval "DEFAULT_$LINE"
12020 else
12021 no_cache=1
12022 fi
12023
12024 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
12025
12026 fi
12027
12028
12029 eval "$ac_cv_use_mousewheel"
12030 if test "$no_cache" != 1; then
12031 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
12032 fi
12033
12034 if test "$wxUSE_MOUSEWHEEL" = yes; then
12035 { echo "$as_me:$LINENO: result: yes" >&5
12036 echo "${ECHO_T}yes" >&6; }
12037 else
12038 { echo "$as_me:$LINENO: result: no" >&5
12039 echo "${ECHO_T}no" >&6; }
12040 fi
12041
12042
12043 enablestring=
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12046 no_cache=0
12047 # Check whether --enable-validators was given.
12048 if test "${enable_validators+set}" = set; then
12049 enableval=$enable_validators;
12050 if test "$enableval" = yes; then
12051 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12052 else
12053 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12054 fi
12055
12056 else
12057
12058 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
12059 if test "x$LINE" != x ; then
12060 eval "DEFAULT_$LINE"
12061 else
12062 no_cache=1
12063 fi
12064
12065 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12066
12067 fi
12068
12069
12070 eval "$ac_cv_use_validators"
12071 if test "$no_cache" != 1; then
12072 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12073 fi
12074
12075 if test "$wxUSE_VALIDATORS" = yes; then
12076 { echo "$as_me:$LINENO: result: yes" >&5
12077 echo "${ECHO_T}yes" >&6; }
12078 else
12079 { echo "$as_me:$LINENO: result: no" >&5
12080 echo "${ECHO_T}no" >&6; }
12081 fi
12082
12083
12084 enablestring=
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12087 no_cache=0
12088 # Check whether --enable-busyinfo was given.
12089 if test "${enable_busyinfo+set}" = set; then
12090 enableval=$enable_busyinfo;
12091 if test "$enableval" = yes; then
12092 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12093 else
12094 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12095 fi
12096
12097 else
12098
12099 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
12100 if test "x$LINE" != x ; then
12101 eval "DEFAULT_$LINE"
12102 else
12103 no_cache=1
12104 fi
12105
12106 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12107
12108 fi
12109
12110
12111 eval "$ac_cv_use_busyinfo"
12112 if test "$no_cache" != 1; then
12113 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12114 fi
12115
12116 if test "$wxUSE_BUSYINFO" = yes; then
12117 { echo "$as_me:$LINENO: result: yes" >&5
12118 echo "${ECHO_T}yes" >&6; }
12119 else
12120 { echo "$as_me:$LINENO: result: no" >&5
12121 echo "${ECHO_T}no" >&6; }
12122 fi
12123
12124
12125 enablestring=
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12128 no_cache=0
12129 # Check whether --enable-joystick was given.
12130 if test "${enable_joystick+set}" = set; then
12131 enableval=$enable_joystick;
12132 if test "$enableval" = yes; then
12133 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12134 else
12135 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12136 fi
12137
12138 else
12139
12140 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
12141 if test "x$LINE" != x ; then
12142 eval "DEFAULT_$LINE"
12143 else
12144 no_cache=1
12145 fi
12146
12147 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12148
12149 fi
12150
12151
12152 eval "$ac_cv_use_joystick"
12153 if test "$no_cache" != 1; then
12154 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12155 fi
12156
12157 if test "$wxUSE_JOYSTICK" = yes; then
12158 { echo "$as_me:$LINENO: result: yes" >&5
12159 echo "${ECHO_T}yes" >&6; }
12160 else
12161 { echo "$as_me:$LINENO: result: no" >&5
12162 echo "${ECHO_T}no" >&6; }
12163 fi
12164
12165
12166 enablestring=
12167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12168 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12169 no_cache=0
12170 # Check whether --enable-metafile was given.
12171 if test "${enable_metafile+set}" = set; then
12172 enableval=$enable_metafile;
12173 if test "$enableval" = yes; then
12174 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12175 else
12176 ac_cv_use_metafile='wxUSE_METAFILE=no'
12177 fi
12178
12179 else
12180
12181 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
12182 if test "x$LINE" != x ; then
12183 eval "DEFAULT_$LINE"
12184 else
12185 no_cache=1
12186 fi
12187
12188 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12189
12190 fi
12191
12192
12193 eval "$ac_cv_use_metafile"
12194 if test "$no_cache" != 1; then
12195 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12196 fi
12197
12198 if test "$wxUSE_METAFILE" = yes; then
12199 { echo "$as_me:$LINENO: result: yes" >&5
12200 echo "${ECHO_T}yes" >&6; }
12201 else
12202 { echo "$as_me:$LINENO: result: no" >&5
12203 echo "${ECHO_T}no" >&6; }
12204 fi
12205
12206
12207 enablestring=
12208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12209 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12210 no_cache=0
12211 # Check whether --enable-dragimage was given.
12212 if test "${enable_dragimage+set}" = set; then
12213 enableval=$enable_dragimage;
12214 if test "$enableval" = yes; then
12215 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12216 else
12217 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12218 fi
12219
12220 else
12221
12222 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
12223 if test "x$LINE" != x ; then
12224 eval "DEFAULT_$LINE"
12225 else
12226 no_cache=1
12227 fi
12228
12229 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12230
12231 fi
12232
12233
12234 eval "$ac_cv_use_dragimage"
12235 if test "$no_cache" != 1; then
12236 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12237 fi
12238
12239 if test "$wxUSE_DRAGIMAGE" = yes; then
12240 { echo "$as_me:$LINENO: result: yes" >&5
12241 echo "${ECHO_T}yes" >&6; }
12242 else
12243 { echo "$as_me:$LINENO: result: no" >&5
12244 echo "${ECHO_T}no" >&6; }
12245 fi
12246
12247
12248 enablestring=
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12251 no_cache=0
12252 # Check whether --enable-accessibility was given.
12253 if test "${enable_accessibility+set}" = set; then
12254 enableval=$enable_accessibility;
12255 if test "$enableval" = yes; then
12256 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12257 else
12258 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12259 fi
12260
12261 else
12262
12263 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
12264 if test "x$LINE" != x ; then
12265 eval "DEFAULT_$LINE"
12266 else
12267 no_cache=1
12268 fi
12269
12270 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12271
12272 fi
12273
12274
12275 eval "$ac_cv_use_accessibility"
12276 if test "$no_cache" != 1; then
12277 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12278 fi
12279
12280 if test "$wxUSE_ACCESSIBILITY" = yes; then
12281 { echo "$as_me:$LINENO: result: yes" >&5
12282 echo "${ECHO_T}yes" >&6; }
12283 else
12284 { echo "$as_me:$LINENO: result: no" >&5
12285 echo "${ECHO_T}no" >&6; }
12286 fi
12287
12288
12289 if test "$wxUSE_MSW" = "1"; then
12290
12291 enablestring=
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12294 no_cache=0
12295 # Check whether --enable-dccache was given.
12296 if test "${enable_dccache+set}" = set; then
12297 enableval=$enable_dccache;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12300 else
12301 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12302 fi
12303
12304 else
12305
12306 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12309 else
12310 no_cache=1
12311 fi
12312
12313 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12314
12315 fi
12316
12317
12318 eval "$ac_cv_use_dccache"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12321 fi
12322
12323 if test "$wxUSE_DC_CACHEING" = yes; then
12324 { echo "$as_me:$LINENO: result: yes" >&5
12325 echo "${ECHO_T}yes" >&6; }
12326 else
12327 { echo "$as_me:$LINENO: result: no" >&5
12328 echo "${ECHO_T}no" >&6; }
12329 fi
12330
12331 fi
12332
12333
12334
12335 enablestring=
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12338 no_cache=0
12339 # Check whether --enable-palette was given.
12340 if test "${enable_palette+set}" = set; then
12341 enableval=$enable_palette;
12342 if test "$enableval" = yes; then
12343 ac_cv_use_palette='wxUSE_PALETTE=yes'
12344 else
12345 ac_cv_use_palette='wxUSE_PALETTE=no'
12346 fi
12347
12348 else
12349
12350 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
12351 if test "x$LINE" != x ; then
12352 eval "DEFAULT_$LINE"
12353 else
12354 no_cache=1
12355 fi
12356
12357 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12358
12359 fi
12360
12361
12362 eval "$ac_cv_use_palette"
12363 if test "$no_cache" != 1; then
12364 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12365 fi
12366
12367 if test "$wxUSE_PALETTE" = yes; then
12368 { echo "$as_me:$LINENO: result: yes" >&5
12369 echo "${ECHO_T}yes" >&6; }
12370 else
12371 { echo "$as_me:$LINENO: result: no" >&5
12372 echo "${ECHO_T}no" >&6; }
12373 fi
12374
12375
12376 enablestring=
12377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12378 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12379 no_cache=0
12380 # Check whether --enable-image was given.
12381 if test "${enable_image+set}" = set; then
12382 enableval=$enable_image;
12383 if test "$enableval" = yes; then
12384 ac_cv_use_image='wxUSE_IMAGE=yes'
12385 else
12386 ac_cv_use_image='wxUSE_IMAGE=no'
12387 fi
12388
12389 else
12390
12391 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
12392 if test "x$LINE" != x ; then
12393 eval "DEFAULT_$LINE"
12394 else
12395 no_cache=1
12396 fi
12397
12398 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12399
12400 fi
12401
12402
12403 eval "$ac_cv_use_image"
12404 if test "$no_cache" != 1; then
12405 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12406 fi
12407
12408 if test "$wxUSE_IMAGE" = yes; then
12409 { echo "$as_me:$LINENO: result: yes" >&5
12410 echo "${ECHO_T}yes" >&6; }
12411 else
12412 { echo "$as_me:$LINENO: result: no" >&5
12413 echo "${ECHO_T}no" >&6; }
12414 fi
12415
12416
12417 enablestring=
12418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12419 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12420 no_cache=0
12421 # Check whether --enable-gif was given.
12422 if test "${enable_gif+set}" = set; then
12423 enableval=$enable_gif;
12424 if test "$enableval" = yes; then
12425 ac_cv_use_gif='wxUSE_GIF=yes'
12426 else
12427 ac_cv_use_gif='wxUSE_GIF=no'
12428 fi
12429
12430 else
12431
12432 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
12433 if test "x$LINE" != x ; then
12434 eval "DEFAULT_$LINE"
12435 else
12436 no_cache=1
12437 fi
12438
12439 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12440
12441 fi
12442
12443
12444 eval "$ac_cv_use_gif"
12445 if test "$no_cache" != 1; then
12446 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12447 fi
12448
12449 if test "$wxUSE_GIF" = yes; then
12450 { echo "$as_me:$LINENO: result: yes" >&5
12451 echo "${ECHO_T}yes" >&6; }
12452 else
12453 { echo "$as_me:$LINENO: result: no" >&5
12454 echo "${ECHO_T}no" >&6; }
12455 fi
12456
12457
12458 enablestring=
12459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12460 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12461 no_cache=0
12462 # Check whether --enable-pcx was given.
12463 if test "${enable_pcx+set}" = set; then
12464 enableval=$enable_pcx;
12465 if test "$enableval" = yes; then
12466 ac_cv_use_pcx='wxUSE_PCX=yes'
12467 else
12468 ac_cv_use_pcx='wxUSE_PCX=no'
12469 fi
12470
12471 else
12472
12473 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
12474 if test "x$LINE" != x ; then
12475 eval "DEFAULT_$LINE"
12476 else
12477 no_cache=1
12478 fi
12479
12480 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12481
12482 fi
12483
12484
12485 eval "$ac_cv_use_pcx"
12486 if test "$no_cache" != 1; then
12487 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12488 fi
12489
12490 if test "$wxUSE_PCX" = yes; then
12491 { echo "$as_me:$LINENO: result: yes" >&5
12492 echo "${ECHO_T}yes" >&6; }
12493 else
12494 { echo "$as_me:$LINENO: result: no" >&5
12495 echo "${ECHO_T}no" >&6; }
12496 fi
12497
12498
12499 enablestring=
12500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12501 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12502 no_cache=0
12503 # Check whether --enable-tga was given.
12504 if test "${enable_tga+set}" = set; then
12505 enableval=$enable_tga;
12506 if test "$enableval" = yes; then
12507 ac_cv_use_tga='wxUSE_TGA=yes'
12508 else
12509 ac_cv_use_tga='wxUSE_TGA=no'
12510 fi
12511
12512 else
12513
12514 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
12515 if test "x$LINE" != x ; then
12516 eval "DEFAULT_$LINE"
12517 else
12518 no_cache=1
12519 fi
12520
12521 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12522
12523 fi
12524
12525
12526 eval "$ac_cv_use_tga"
12527 if test "$no_cache" != 1; then
12528 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12529 fi
12530
12531 if test "$wxUSE_TGA" = yes; then
12532 { echo "$as_me:$LINENO: result: yes" >&5
12533 echo "${ECHO_T}yes" >&6; }
12534 else
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12537 fi
12538
12539
12540 enablestring=
12541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12542 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12543 no_cache=0
12544 # Check whether --enable-iff was given.
12545 if test "${enable_iff+set}" = set; then
12546 enableval=$enable_iff;
12547 if test "$enableval" = yes; then
12548 ac_cv_use_iff='wxUSE_IFF=yes'
12549 else
12550 ac_cv_use_iff='wxUSE_IFF=no'
12551 fi
12552
12553 else
12554
12555 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
12556 if test "x$LINE" != x ; then
12557 eval "DEFAULT_$LINE"
12558 else
12559 no_cache=1
12560 fi
12561
12562 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12563
12564 fi
12565
12566
12567 eval "$ac_cv_use_iff"
12568 if test "$no_cache" != 1; then
12569 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12570 fi
12571
12572 if test "$wxUSE_IFF" = yes; then
12573 { echo "$as_me:$LINENO: result: yes" >&5
12574 echo "${ECHO_T}yes" >&6; }
12575 else
12576 { echo "$as_me:$LINENO: result: no" >&5
12577 echo "${ECHO_T}no" >&6; }
12578 fi
12579
12580
12581 enablestring=
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12584 no_cache=0
12585 # Check whether --enable-pnm was given.
12586 if test "${enable_pnm+set}" = set; then
12587 enableval=$enable_pnm;
12588 if test "$enableval" = yes; then
12589 ac_cv_use_pnm='wxUSE_PNM=yes'
12590 else
12591 ac_cv_use_pnm='wxUSE_PNM=no'
12592 fi
12593
12594 else
12595
12596 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
12597 if test "x$LINE" != x ; then
12598 eval "DEFAULT_$LINE"
12599 else
12600 no_cache=1
12601 fi
12602
12603 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12604
12605 fi
12606
12607
12608 eval "$ac_cv_use_pnm"
12609 if test "$no_cache" != 1; then
12610 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12611 fi
12612
12613 if test "$wxUSE_PNM" = yes; then
12614 { echo "$as_me:$LINENO: result: yes" >&5
12615 echo "${ECHO_T}yes" >&6; }
12616 else
12617 { echo "$as_me:$LINENO: result: no" >&5
12618 echo "${ECHO_T}no" >&6; }
12619 fi
12620
12621
12622 enablestring=
12623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12624 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12625 no_cache=0
12626 # Check whether --enable-xpm was given.
12627 if test "${enable_xpm+set}" = set; then
12628 enableval=$enable_xpm;
12629 if test "$enableval" = yes; then
12630 ac_cv_use_xpm='wxUSE_XPM=yes'
12631 else
12632 ac_cv_use_xpm='wxUSE_XPM=no'
12633 fi
12634
12635 else
12636
12637 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
12638 if test "x$LINE" != x ; then
12639 eval "DEFAULT_$LINE"
12640 else
12641 no_cache=1
12642 fi
12643
12644 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12645
12646 fi
12647
12648
12649 eval "$ac_cv_use_xpm"
12650 if test "$no_cache" != 1; then
12651 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12652 fi
12653
12654 if test "$wxUSE_XPM" = yes; then
12655 { echo "$as_me:$LINENO: result: yes" >&5
12656 echo "${ECHO_T}yes" >&6; }
12657 else
12658 { echo "$as_me:$LINENO: result: no" >&5
12659 echo "${ECHO_T}no" >&6; }
12660 fi
12661
12662
12663 enablestring=
12664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12665 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12666 no_cache=0
12667 # Check whether --enable-ico_cur was given.
12668 if test "${enable_ico_cur+set}" = set; then
12669 enableval=$enable_ico_cur;
12670 if test "$enableval" = yes; then
12671 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12672 else
12673 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12674 fi
12675
12676 else
12677
12678 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
12679 if test "x$LINE" != x ; then
12680 eval "DEFAULT_$LINE"
12681 else
12682 no_cache=1
12683 fi
12684
12685 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12686
12687 fi
12688
12689
12690 eval "$ac_cv_use_ico_cur"
12691 if test "$no_cache" != 1; then
12692 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12693 fi
12694
12695 if test "$wxUSE_ICO_CUR" = yes; then
12696 { echo "$as_me:$LINENO: result: yes" >&5
12697 echo "${ECHO_T}yes" >&6; }
12698 else
12699 { echo "$as_me:$LINENO: result: no" >&5
12700 echo "${ECHO_T}no" >&6; }
12701 fi
12702
12703
12704 fi
12705
12706
12707
12708 # Check whether --with-flavour was given.
12709 if test "${with_flavour+set}" = set; then
12710 withval=$with_flavour; WX_FLAVOUR="$withval"
12711 fi
12712
12713
12714
12715
12716 enablestring=
12717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12718 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12719 no_cache=0
12720 # Check whether --enable-official_build was given.
12721 if test "${enable_official_build+set}" = set; then
12722 enableval=$enable_official_build;
12723 if test "$enableval" = yes; then
12724 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12725 else
12726 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12727 fi
12728
12729 else
12730
12731 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
12732 if test "x$LINE" != x ; then
12733 eval "DEFAULT_$LINE"
12734 else
12735 no_cache=1
12736 fi
12737
12738 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12739
12740 fi
12741
12742
12743 eval "$ac_cv_use_official_build"
12744 if test "$no_cache" != 1; then
12745 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12746 fi
12747
12748 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12749 { echo "$as_me:$LINENO: result: yes" >&5
12750 echo "${ECHO_T}yes" >&6; }
12751 else
12752 { echo "$as_me:$LINENO: result: no" >&5
12753 echo "${ECHO_T}no" >&6; }
12754 fi
12755
12756 # Check whether --enable-vendor was given.
12757 if test "${enable_vendor+set}" = set; then
12758 enableval=$enable_vendor; VENDOR="$enableval"
12759 fi
12760
12761 if test "x$VENDOR" = "x"; then
12762 VENDOR="custom"
12763 fi
12764
12765
12766
12767
12768 echo "saving argument cache $wx_arg_cache_file"
12769 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12770
12771
12772
12773 { echo "$as_me:$LINENO: checking for toolkit" >&5
12774 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12775
12776 # In Wine, we need to default to MSW, not GTK or MOTIF
12777 if test "$wxUSE_WINE" = "yes"; then
12778 DEFAULT_DEFAULT_wxUSE_GTK=0
12779 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12780 DEFAULT_DEFAULT_wxUSE_MSW=1
12781 wxUSE_SHARED=no
12782 CC=${CC:-winegcc}
12783 CXX=${CXX:-wineg++}
12784 fi
12785
12786
12787 if test "$wxUSE_GUI" = "yes"; then
12788
12789 if test "$USE_BEOS" = 1; then
12790 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12791 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12792 { (exit 1); exit 1; }; }
12793 fi
12794
12795 if test "$TOOLKIT_GIVEN" = 1; then
12796 for toolkit in `echo $ALL_TOOLKITS`; do
12797 var=wxUSE_$toolkit
12798 eval "value=\$${var}"
12799 if test "x$value" = "xno"; then
12800 eval "$var=0"
12801 elif test "x$value" != "x"; then
12802 eval "$var=1"
12803 fi
12804
12805 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12806 eval "wx${toolkit}_VERSION=$value"
12807 fi
12808 done
12809 else
12810 for toolkit in `echo $ALL_TOOLKITS`; do
12811 if test "$has_toolkit_in_cache" != 1; then
12812 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12813 else
12814 var=DEFAULT_wxUSE_$toolkit
12815
12816 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12817 if test "x$version" != "x"; then
12818 eval "wx${toolkit}_VERSION=$version"
12819 fi
12820 fi
12821 eval "wxUSE_$toolkit=\$${var}"
12822 done
12823 fi
12824
12825 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12826 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12827 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12828
12829 case "${host}" in
12830 *-pc-os2_emx | *-pc-os2-emx )
12831 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12832 esac
12833
12834 case "$NUM_TOOLKITS" in
12835 1)
12836 ;;
12837 0)
12838 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12839 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12840 { (exit 1); exit 1; }; }
12841 ;;
12842 *)
12843 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12844 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12845 { (exit 1); exit 1; }; }
12846 esac
12847
12848 # to be removed when --disable-gtk2 isn't needed
12849 if test "x$wxUSE_GTK2" = "xyes"; then
12850 wxGTK_VERSION=2
12851 elif test "x$wxUSE_GTK2" = "xno"; then
12852 wxGTK_VERSION=1
12853 fi
12854
12855 for toolkit in `echo $ALL_TOOLKITS`; do
12856 var=wxUSE_$toolkit
12857 eval "value=\$${var}"
12858 if test "x$value" != x; then
12859 cache_var=CACHE_$toolkit
12860 eval "cache=\$${cache_var}"
12861 if test "$cache" = 1; then
12862 echo "$var=$value" >> ${wx_arg_cache_file}
12863 eval "version=\$wx${toolkit}_VERSION"
12864 if test "x$version" != "x"; then
12865 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12866 fi
12867 fi
12868 if test "$value" = 1; then
12869 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12870 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12871 echo "${ECHO_T}$toolkit_echo" >&6; }
12872 fi
12873 fi
12874 done
12875 else
12876 if test "x$host_alias" != "x"; then
12877 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12878 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12879 else
12880 { echo "$as_me:$LINENO: result: base only" >&5
12881 echo "${ECHO_T}base only" >&6; }
12882 fi
12883 fi
12884
12885
12886 cat >confcache <<\_ACEOF
12887 # This file is a shell script that caches the results of configure
12888 # tests run on this system so they can be shared between configure
12889 # scripts and configure runs, see configure's option --config-cache.
12890 # It is not useful on other systems. If it contains results you don't
12891 # want to keep, you may remove or edit it.
12892 #
12893 # config.status only pays attention to the cache file if you give it
12894 # the --recheck option to rerun configure.
12895 #
12896 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12897 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12898 # following values.
12899
12900 _ACEOF
12901
12902 # The following way of writing the cache mishandles newlines in values,
12903 # but we know of no workaround that is simple, portable, and efficient.
12904 # So, we kill variables containing newlines.
12905 # Ultrix sh set writes to stderr and can't be redirected directly,
12906 # and sets the high bit in the cache file unless we assign to the vars.
12907 (
12908 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12909 eval ac_val=\$$ac_var
12910 case $ac_val in #(
12911 *${as_nl}*)
12912 case $ac_var in #(
12913 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12914 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12915 esac
12916 case $ac_var in #(
12917 _ | IFS | as_nl) ;; #(
12918 *) $as_unset $ac_var ;;
12919 esac ;;
12920 esac
12921 done
12922
12923 (set) 2>&1 |
12924 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12925 *${as_nl}ac_space=\ *)
12926 # `set' does not quote correctly, so add quotes (double-quote
12927 # substitution turns \\\\ into \\, and sed turns \\ into \).
12928 sed -n \
12929 "s/'/'\\\\''/g;
12930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12931 ;; #(
12932 *)
12933 # `set' quotes correctly as required by POSIX, so do not add quotes.
12934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12935 ;;
12936 esac |
12937 sort
12938 ) |
12939 sed '
12940 /^ac_cv_env_/b end
12941 t clear
12942 :clear
12943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12944 t end
12945 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12946 :end' >>confcache
12947 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12948 if test -w "$cache_file"; then
12949 test "x$cache_file" != "x/dev/null" &&
12950 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12951 echo "$as_me: updating cache $cache_file" >&6;}
12952 cat confcache >$cache_file
12953 else
12954 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12955 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12956 fi
12957 fi
12958 rm -f confcache
12959
12960 CFLAGS=${CFLAGS:=}
12961
12962
12963
12964 ac_ext=c
12965 ac_cpp='$CPP $CPPFLAGS'
12966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12969 if test -n "$ac_tool_prefix"; then
12970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12971 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12974 if test "${ac_cv_prog_CC+set}" = set; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 else
12977 if test -n "$CC"; then
12978 ac_cv_prog_CC="$CC" # Let the user override the test.
12979 else
12980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12981 for as_dir in $PATH
12982 do
12983 IFS=$as_save_IFS
12984 test -z "$as_dir" && as_dir=.
12985 for ac_exec_ext in '' $ac_executable_extensions; do
12986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12987 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12989 break 2
12990 fi
12991 done
12992 done
12993 IFS=$as_save_IFS
12994
12995 fi
12996 fi
12997 CC=$ac_cv_prog_CC
12998 if test -n "$CC"; then
12999 { echo "$as_me:$LINENO: result: $CC" >&5
13000 echo "${ECHO_T}$CC" >&6; }
13001 else
13002 { echo "$as_me:$LINENO: result: no" >&5
13003 echo "${ECHO_T}no" >&6; }
13004 fi
13005
13006
13007 fi
13008 if test -z "$ac_cv_prog_CC"; then
13009 ac_ct_CC=$CC
13010 # Extract the first word of "gcc", so it can be a program name with args.
13011 set dummy gcc; ac_word=$2
13012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 else
13017 if test -n "$ac_ct_CC"; then
13018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13019 else
13020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13021 for as_dir in $PATH
13022 do
13023 IFS=$as_save_IFS
13024 test -z "$as_dir" && as_dir=.
13025 for ac_exec_ext in '' $ac_executable_extensions; do
13026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13027 ac_cv_prog_ac_ct_CC="gcc"
13028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13029 break 2
13030 fi
13031 done
13032 done
13033 IFS=$as_save_IFS
13034
13035 fi
13036 fi
13037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13038 if test -n "$ac_ct_CC"; then
13039 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13040 echo "${ECHO_T}$ac_ct_CC" >&6; }
13041 else
13042 { echo "$as_me:$LINENO: result: no" >&5
13043 echo "${ECHO_T}no" >&6; }
13044 fi
13045
13046 if test "x$ac_ct_CC" = x; then
13047 CC=""
13048 else
13049 case $cross_compiling:$ac_tool_warned in
13050 yes:)
13051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13052 whose name does not start with the host triplet. If you think this
13053 configuration is useful to you, please write to autoconf@gnu.org." >&5
13054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13055 whose name does not start with the host triplet. If you think this
13056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13057 ac_tool_warned=yes ;;
13058 esac
13059 CC=$ac_ct_CC
13060 fi
13061 else
13062 CC="$ac_cv_prog_CC"
13063 fi
13064
13065 if test -z "$CC"; then
13066 if test -n "$ac_tool_prefix"; then
13067 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13068 set dummy ${ac_tool_prefix}cc; ac_word=$2
13069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13071 if test "${ac_cv_prog_CC+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 else
13074 if test -n "$CC"; then
13075 ac_cv_prog_CC="$CC" # Let the user override the test.
13076 else
13077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13078 for as_dir in $PATH
13079 do
13080 IFS=$as_save_IFS
13081 test -z "$as_dir" && as_dir=.
13082 for ac_exec_ext in '' $ac_executable_extensions; do
13083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13084 ac_cv_prog_CC="${ac_tool_prefix}cc"
13085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13086 break 2
13087 fi
13088 done
13089 done
13090 IFS=$as_save_IFS
13091
13092 fi
13093 fi
13094 CC=$ac_cv_prog_CC
13095 if test -n "$CC"; then
13096 { echo "$as_me:$LINENO: result: $CC" >&5
13097 echo "${ECHO_T}$CC" >&6; }
13098 else
13099 { echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6; }
13101 fi
13102
13103
13104 fi
13105 fi
13106 if test -z "$CC"; then
13107 # Extract the first word of "cc", so it can be a program name with args.
13108 set dummy cc; ac_word=$2
13109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13111 if test "${ac_cv_prog_CC+set}" = set; then
13112 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 else
13114 if test -n "$CC"; then
13115 ac_cv_prog_CC="$CC" # Let the user override the test.
13116 else
13117 ac_prog_rejected=no
13118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13119 for as_dir in $PATH
13120 do
13121 IFS=$as_save_IFS
13122 test -z "$as_dir" && as_dir=.
13123 for ac_exec_ext in '' $ac_executable_extensions; do
13124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13125 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13126 ac_prog_rejected=yes
13127 continue
13128 fi
13129 ac_cv_prog_CC="cc"
13130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13131 break 2
13132 fi
13133 done
13134 done
13135 IFS=$as_save_IFS
13136
13137 if test $ac_prog_rejected = yes; then
13138 # We found a bogon in the path, so make sure we never use it.
13139 set dummy $ac_cv_prog_CC
13140 shift
13141 if test $# != 0; then
13142 # We chose a different compiler from the bogus one.
13143 # However, it has the same basename, so the bogon will be chosen
13144 # first if we set CC to just the basename; use the full file name.
13145 shift
13146 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13147 fi
13148 fi
13149 fi
13150 fi
13151 CC=$ac_cv_prog_CC
13152 if test -n "$CC"; then
13153 { echo "$as_me:$LINENO: result: $CC" >&5
13154 echo "${ECHO_T}$CC" >&6; }
13155 else
13156 { echo "$as_me:$LINENO: result: no" >&5
13157 echo "${ECHO_T}no" >&6; }
13158 fi
13159
13160
13161 fi
13162 if test -z "$CC"; then
13163 if test -n "$ac_tool_prefix"; then
13164 for ac_prog in cl.exe
13165 do
13166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13167 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13170 if test "${ac_cv_prog_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 else
13173 if test -n "$CC"; then
13174 ac_cv_prog_CC="$CC" # Let the user override the test.
13175 else
13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13177 for as_dir in $PATH
13178 do
13179 IFS=$as_save_IFS
13180 test -z "$as_dir" && as_dir=.
13181 for ac_exec_ext in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13185 break 2
13186 fi
13187 done
13188 done
13189 IFS=$as_save_IFS
13190
13191 fi
13192 fi
13193 CC=$ac_cv_prog_CC
13194 if test -n "$CC"; then
13195 { echo "$as_me:$LINENO: result: $CC" >&5
13196 echo "${ECHO_T}$CC" >&6; }
13197 else
13198 { echo "$as_me:$LINENO: result: no" >&5
13199 echo "${ECHO_T}no" >&6; }
13200 fi
13201
13202
13203 test -n "$CC" && break
13204 done
13205 fi
13206 if test -z "$CC"; then
13207 ac_ct_CC=$CC
13208 for ac_prog in cl.exe
13209 do
13210 # Extract the first word of "$ac_prog", so it can be a program name with args.
13211 set dummy $ac_prog; ac_word=$2
13212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13215 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 else
13217 if test -n "$ac_ct_CC"; then
13218 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13219 else
13220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13221 for as_dir in $PATH
13222 do
13223 IFS=$as_save_IFS
13224 test -z "$as_dir" && as_dir=.
13225 for ac_exec_ext in '' $ac_executable_extensions; do
13226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13227 ac_cv_prog_ac_ct_CC="$ac_prog"
13228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13229 break 2
13230 fi
13231 done
13232 done
13233 IFS=$as_save_IFS
13234
13235 fi
13236 fi
13237 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13238 if test -n "$ac_ct_CC"; then
13239 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13240 echo "${ECHO_T}$ac_ct_CC" >&6; }
13241 else
13242 { echo "$as_me:$LINENO: result: no" >&5
13243 echo "${ECHO_T}no" >&6; }
13244 fi
13245
13246
13247 test -n "$ac_ct_CC" && break
13248 done
13249
13250 if test "x$ac_ct_CC" = x; then
13251 CC=""
13252 else
13253 case $cross_compiling:$ac_tool_warned in
13254 yes:)
13255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13256 whose name does not start with the host triplet. If you think this
13257 configuration is useful to you, please write to autoconf@gnu.org." >&5
13258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13259 whose name does not start with the host triplet. If you think this
13260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13261 ac_tool_warned=yes ;;
13262 esac
13263 CC=$ac_ct_CC
13264 fi
13265 fi
13266
13267 fi
13268
13269
13270 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13271 See \`config.log' for more details." >&5
13272 echo "$as_me: error: no acceptable C compiler found in \$PATH
13273 See \`config.log' for more details." >&2;}
13274 { (exit 1); exit 1; }; }
13275
13276 # Provide some information about the compiler.
13277 echo "$as_me:$LINENO: checking for C compiler version" >&5
13278 ac_compiler=`set X $ac_compile; echo $2`
13279 { (ac_try="$ac_compiler --version >&5"
13280 case "(($ac_try" in
13281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13282 *) ac_try_echo=$ac_try;;
13283 esac
13284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13285 (eval "$ac_compiler --version >&5") 2>&5
13286 ac_status=$?
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }
13289 { (ac_try="$ac_compiler -v >&5"
13290 case "(($ac_try" in
13291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292 *) ac_try_echo=$ac_try;;
13293 esac
13294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13295 (eval "$ac_compiler -v >&5") 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }
13299 { (ac_try="$ac_compiler -V >&5"
13300 case "(($ac_try" in
13301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13302 *) ac_try_echo=$ac_try;;
13303 esac
13304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13305 (eval "$ac_compiler -V >&5") 2>&5
13306 ac_status=$?
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); }
13309
13310 cat >conftest.$ac_ext <<_ACEOF
13311 /* confdefs.h. */
13312 _ACEOF
13313 cat confdefs.h >>conftest.$ac_ext
13314 cat >>conftest.$ac_ext <<_ACEOF
13315 /* end confdefs.h. */
13316
13317 int
13318 main ()
13319 {
13320
13321 ;
13322 return 0;
13323 }
13324 _ACEOF
13325 ac_clean_files_save=$ac_clean_files
13326 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13327 # Try to create an executable without -o first, disregard a.out.
13328 # It will help us diagnose broken compilers, and finding out an intuition
13329 # of exeext.
13330 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13331 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13332 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13333 #
13334 # List of possible output files, starting from the most likely.
13335 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13336 # only as a last resort. b.out is created by i960 compilers.
13337 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13338 #
13339 # The IRIX 6 linker writes into existing files which may not be
13340 # executable, retaining their permissions. Remove them first so a
13341 # subsequent execution test works.
13342 ac_rmfiles=
13343 for ac_file in $ac_files
13344 do
13345 case $ac_file in
13346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13347 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13348 esac
13349 done
13350 rm -f $ac_rmfiles
13351
13352 if { (ac_try="$ac_link_default"
13353 case "(($ac_try" in
13354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13355 *) ac_try_echo=$ac_try;;
13356 esac
13357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13358 (eval "$ac_link_default") 2>&5
13359 ac_status=$?
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; then
13362 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13364 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13365 # so that the user can short-circuit this test for compilers unknown to
13366 # Autoconf.
13367 for ac_file in $ac_files ''
13368 do
13369 test -f "$ac_file" || continue
13370 case $ac_file in
13371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13372 ;;
13373 [ab].out )
13374 # We found the default executable, but exeext='' is most
13375 # certainly right.
13376 break;;
13377 *.* )
13378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13379 then :; else
13380 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13381 fi
13382 # We set ac_cv_exeext here because the later test for it is not
13383 # safe: cross compilers may not add the suffix if given an `-o'
13384 # argument, so we may need to know it at that point already.
13385 # Even if this section looks crufty: it has the advantage of
13386 # actually working.
13387 break;;
13388 * )
13389 break;;
13390 esac
13391 done
13392 test "$ac_cv_exeext" = no && ac_cv_exeext=
13393
13394 else
13395 ac_file=''
13396 fi
13397
13398 { echo "$as_me:$LINENO: result: $ac_file" >&5
13399 echo "${ECHO_T}$ac_file" >&6; }
13400 if test -z "$ac_file"; then
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13403
13404 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13405 See \`config.log' for more details." >&5
13406 echo "$as_me: error: C compiler cannot create executables
13407 See \`config.log' for more details." >&2;}
13408 { (exit 77); exit 77; }; }
13409 fi
13410
13411 ac_exeext=$ac_cv_exeext
13412
13413 # Check that the compiler produces executables we can run. If not, either
13414 # the compiler is broken, or we cross compile.
13415 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13418 # If not cross compiling, check that we can run a simple program.
13419 if test "$cross_compiling" != yes; then
13420 if { ac_try='./$ac_file'
13421 { (case "(($ac_try" in
13422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13423 *) ac_try_echo=$ac_try;;
13424 esac
13425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13426 (eval "$ac_try") 2>&5
13427 ac_status=$?
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13430 cross_compiling=no
13431 else
13432 if test "$cross_compiling" = maybe; then
13433 cross_compiling=yes
13434 else
13435 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13436 If you meant to cross compile, use \`--host'.
13437 See \`config.log' for more details." >&5
13438 echo "$as_me: error: cannot run C compiled programs.
13439 If you meant to cross compile, use \`--host'.
13440 See \`config.log' for more details." >&2;}
13441 { (exit 1); exit 1; }; }
13442 fi
13443 fi
13444 fi
13445 { echo "$as_me:$LINENO: result: yes" >&5
13446 echo "${ECHO_T}yes" >&6; }
13447
13448 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13449 ac_clean_files=$ac_clean_files_save
13450 # Check that the compiler produces executables we can run. If not, either
13451 # the compiler is broken, or we cross compile.
13452 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13453 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13454 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13455 echo "${ECHO_T}$cross_compiling" >&6; }
13456
13457 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13458 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13459 if { (ac_try="$ac_link"
13460 case "(($ac_try" in
13461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13462 *) ac_try_echo=$ac_try;;
13463 esac
13464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13465 (eval "$ac_link") 2>&5
13466 ac_status=$?
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; then
13469 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13470 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13471 # work properly (i.e., refer to `conftest.exe'), while it won't with
13472 # `rm'.
13473 for ac_file in conftest.exe conftest conftest.*; do
13474 test -f "$ac_file" || continue
13475 case $ac_file in
13476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13477 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13478 break;;
13479 * ) break;;
13480 esac
13481 done
13482 else
13483 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13484 See \`config.log' for more details." >&5
13485 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13486 See \`config.log' for more details." >&2;}
13487 { (exit 1); exit 1; }; }
13488 fi
13489
13490 rm -f conftest$ac_cv_exeext
13491 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13492 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13493
13494 rm -f conftest.$ac_ext
13495 EXEEXT=$ac_cv_exeext
13496 ac_exeext=$EXEEXT
13497 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13498 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13499 if test "${ac_cv_objext+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
13502 cat >conftest.$ac_ext <<_ACEOF
13503 /* confdefs.h. */
13504 _ACEOF
13505 cat confdefs.h >>conftest.$ac_ext
13506 cat >>conftest.$ac_ext <<_ACEOF
13507 /* end confdefs.h. */
13508
13509 int
13510 main ()
13511 {
13512
13513 ;
13514 return 0;
13515 }
13516 _ACEOF
13517 rm -f conftest.o conftest.obj
13518 if { (ac_try="$ac_compile"
13519 case "(($ac_try" in
13520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13521 *) ac_try_echo=$ac_try;;
13522 esac
13523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13524 (eval "$ac_compile") 2>&5
13525 ac_status=$?
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; then
13528 for ac_file in conftest.o conftest.obj conftest.*; do
13529 test -f "$ac_file" || continue;
13530 case $ac_file in
13531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13532 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13533 break;;
13534 esac
13535 done
13536 else
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13539
13540 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13541 See \`config.log' for more details." >&5
13542 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13543 See \`config.log' for more details." >&2;}
13544 { (exit 1); exit 1; }; }
13545 fi
13546
13547 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13548 fi
13549 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13550 echo "${ECHO_T}$ac_cv_objext" >&6; }
13551 OBJEXT=$ac_cv_objext
13552 ac_objext=$OBJEXT
13553 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13554 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13555 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13556 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 else
13558 cat >conftest.$ac_ext <<_ACEOF
13559 /* confdefs.h. */
13560 _ACEOF
13561 cat confdefs.h >>conftest.$ac_ext
13562 cat >>conftest.$ac_ext <<_ACEOF
13563 /* end confdefs.h. */
13564
13565 int
13566 main ()
13567 {
13568 #ifndef __GNUC__
13569 choke me
13570 #endif
13571
13572 ;
13573 return 0;
13574 }
13575 _ACEOF
13576 rm -f conftest.$ac_objext
13577 if { (ac_try="$ac_compile"
13578 case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13581 esac
13582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_compile") 2>conftest.er1
13584 ac_status=$?
13585 grep -v '^ *+' conftest.er1 >conftest.err
13586 rm -f conftest.er1
13587 cat conftest.err >&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } && {
13590 test -z "$ac_c_werror_flag" ||
13591 test ! -s conftest.err
13592 } && test -s conftest.$ac_objext; then
13593 ac_compiler_gnu=yes
13594 else
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.$ac_ext >&5
13597
13598 ac_compiler_gnu=no
13599 fi
13600
13601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13603
13604 fi
13605 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13606 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13607 GCC=`test $ac_compiler_gnu = yes && echo yes`
13608 ac_test_CFLAGS=${CFLAGS+set}
13609 ac_save_CFLAGS=$CFLAGS
13610 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13612 if test "${ac_cv_prog_cc_g+set}" = set; then
13613 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 else
13615 ac_save_c_werror_flag=$ac_c_werror_flag
13616 ac_c_werror_flag=yes
13617 ac_cv_prog_cc_g=no
13618 CFLAGS="-g"
13619 cat >conftest.$ac_ext <<_ACEOF
13620 /* confdefs.h. */
13621 _ACEOF
13622 cat confdefs.h >>conftest.$ac_ext
13623 cat >>conftest.$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13625
13626 int
13627 main ()
13628 {
13629
13630 ;
13631 return 0;
13632 }
13633 _ACEOF
13634 rm -f conftest.$ac_objext
13635 if { (ac_try="$ac_compile"
13636 case "(($ac_try" in
13637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13638 *) ac_try_echo=$ac_try;;
13639 esac
13640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13641 (eval "$ac_compile") 2>conftest.er1
13642 ac_status=$?
13643 grep -v '^ *+' conftest.er1 >conftest.err
13644 rm -f conftest.er1
13645 cat conftest.err >&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); } && {
13648 test -z "$ac_c_werror_flag" ||
13649 test ! -s conftest.err
13650 } && test -s conftest.$ac_objext; then
13651 ac_cv_prog_cc_g=yes
13652 else
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13655
13656 CFLAGS=""
13657 cat >conftest.$ac_ext <<_ACEOF
13658 /* confdefs.h. */
13659 _ACEOF
13660 cat confdefs.h >>conftest.$ac_ext
13661 cat >>conftest.$ac_ext <<_ACEOF
13662 /* end confdefs.h. */
13663
13664 int
13665 main ()
13666 {
13667
13668 ;
13669 return 0;
13670 }
13671 _ACEOF
13672 rm -f conftest.$ac_objext
13673 if { (ac_try="$ac_compile"
13674 case "(($ac_try" in
13675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13676 *) ac_try_echo=$ac_try;;
13677 esac
13678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13679 (eval "$ac_compile") 2>conftest.er1
13680 ac_status=$?
13681 grep -v '^ *+' conftest.er1 >conftest.err
13682 rm -f conftest.er1
13683 cat conftest.err >&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); } && {
13686 test -z "$ac_c_werror_flag" ||
13687 test ! -s conftest.err
13688 } && test -s conftest.$ac_objext; then
13689 :
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13693
13694 ac_c_werror_flag=$ac_save_c_werror_flag
13695 CFLAGS="-g"
13696 cat >conftest.$ac_ext <<_ACEOF
13697 /* confdefs.h. */
13698 _ACEOF
13699 cat confdefs.h >>conftest.$ac_ext
13700 cat >>conftest.$ac_ext <<_ACEOF
13701 /* end confdefs.h. */
13702
13703 int
13704 main ()
13705 {
13706
13707 ;
13708 return 0;
13709 }
13710 _ACEOF
13711 rm -f conftest.$ac_objext
13712 if { (ac_try="$ac_compile"
13713 case "(($ac_try" in
13714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13715 *) ac_try_echo=$ac_try;;
13716 esac
13717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13718 (eval "$ac_compile") 2>conftest.er1
13719 ac_status=$?
13720 grep -v '^ *+' conftest.er1 >conftest.err
13721 rm -f conftest.er1
13722 cat conftest.err >&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); } && {
13725 test -z "$ac_c_werror_flag" ||
13726 test ! -s conftest.err
13727 } && test -s conftest.$ac_objext; then
13728 ac_cv_prog_cc_g=yes
13729 else
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13732
13733
13734 fi
13735
13736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13737 fi
13738
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13740 fi
13741
13742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13743 ac_c_werror_flag=$ac_save_c_werror_flag
13744 fi
13745 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13746 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13747 if test "$ac_test_CFLAGS" = set; then
13748 CFLAGS=$ac_save_CFLAGS
13749 elif test $ac_cv_prog_cc_g = yes; then
13750 if test "$GCC" = yes; then
13751 CFLAGS="-g -O2"
13752 else
13753 CFLAGS="-g"
13754 fi
13755 else
13756 if test "$GCC" = yes; then
13757 CFLAGS="-O2"
13758 else
13759 CFLAGS=
13760 fi
13761 fi
13762 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13763 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13764 if test "${ac_cv_prog_cc_c89+set}" = set; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13766 else
13767 ac_cv_prog_cc_c89=no
13768 ac_save_CC=$CC
13769 cat >conftest.$ac_ext <<_ACEOF
13770 /* confdefs.h. */
13771 _ACEOF
13772 cat confdefs.h >>conftest.$ac_ext
13773 cat >>conftest.$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 #include <stdarg.h>
13776 #include <stdio.h>
13777 #include <sys/types.h>
13778 #include <sys/stat.h>
13779 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13780 struct buf { int x; };
13781 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13782 static char *e (p, i)
13783 char **p;
13784 int i;
13785 {
13786 return p[i];
13787 }
13788 static char *f (char * (*g) (char **, int), char **p, ...)
13789 {
13790 char *s;
13791 va_list v;
13792 va_start (v,p);
13793 s = g (p, va_arg (v,int));
13794 va_end (v);
13795 return s;
13796 }
13797
13798 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13799 function prototypes and stuff, but not '\xHH' hex character constants.
13800 These don't provoke an error unfortunately, instead are silently treated
13801 as 'x'. The following induces an error, until -std is added to get
13802 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13803 array size at least. It's necessary to write '\x00'==0 to get something
13804 that's true only with -std. */
13805 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13806
13807 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13808 inside strings and character constants. */
13809 #define FOO(x) 'x'
13810 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13811
13812 int test (int i, double x);
13813 struct s1 {int (*f) (int a);};
13814 struct s2 {int (*f) (double a);};
13815 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13816 int argc;
13817 char **argv;
13818 int
13819 main ()
13820 {
13821 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13822 ;
13823 return 0;
13824 }
13825 _ACEOF
13826 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13827 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13828 do
13829 CC="$ac_save_CC $ac_arg"
13830 rm -f conftest.$ac_objext
13831 if { (ac_try="$ac_compile"
13832 case "(($ac_try" in
13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13834 *) ac_try_echo=$ac_try;;
13835 esac
13836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_compile") 2>conftest.er1
13838 ac_status=$?
13839 grep -v '^ *+' conftest.er1 >conftest.err
13840 rm -f conftest.er1
13841 cat conftest.err >&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } && {
13844 test -z "$ac_c_werror_flag" ||
13845 test ! -s conftest.err
13846 } && test -s conftest.$ac_objext; then
13847 ac_cv_prog_cc_c89=$ac_arg
13848 else
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.$ac_ext >&5
13851
13852
13853 fi
13854
13855 rm -f core conftest.err conftest.$ac_objext
13856 test "x$ac_cv_prog_cc_c89" != "xno" && break
13857 done
13858 rm -f conftest.$ac_ext
13859 CC=$ac_save_CC
13860
13861 fi
13862 # AC_CACHE_VAL
13863 case "x$ac_cv_prog_cc_c89" in
13864 x)
13865 { echo "$as_me:$LINENO: result: none needed" >&5
13866 echo "${ECHO_T}none needed" >&6; } ;;
13867 xno)
13868 { echo "$as_me:$LINENO: result: unsupported" >&5
13869 echo "${ECHO_T}unsupported" >&6; } ;;
13870 *)
13871 CC="$CC $ac_cv_prog_cc_c89"
13872 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13873 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13874 esac
13875
13876
13877 ac_ext=c
13878 ac_cpp='$CPP $CPPFLAGS'
13879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13882
13883
13884
13885 ac_ext=c
13886 ac_cpp='$CPP $CPPFLAGS'
13887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13890
13891 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13892 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13893 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13895 else
13896 cat >conftest.$ac_ext <<_ACEOF
13897 /* confdefs.h. */
13898 _ACEOF
13899 cat confdefs.h >>conftest.$ac_ext
13900 cat >>conftest.$ac_ext <<_ACEOF
13901 /* end confdefs.h. */
13902
13903 int
13904 main ()
13905 {
13906
13907 #ifndef __INTEL_COMPILER
13908 choke me
13909 #endif
13910
13911 ;
13912 return 0;
13913 }
13914 _ACEOF
13915 rm -f conftest.$ac_objext
13916 if { (ac_try="$ac_compile"
13917 case "(($ac_try" in
13918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13919 *) ac_try_echo=$ac_try;;
13920 esac
13921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13922 (eval "$ac_compile") 2>conftest.er1
13923 ac_status=$?
13924 grep -v '^ *+' conftest.er1 >conftest.err
13925 rm -f conftest.er1
13926 cat conftest.err >&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } && {
13929 test -z "$ac_c_werror_flag" ||
13930 test ! -s conftest.err
13931 } && test -s conftest.$ac_objext; then
13932 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13933 else
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13936
13937 bakefile_cv_c_compiler___INTEL_COMPILER=no
13938
13939 fi
13940
13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942
13943
13944 fi
13945 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13946 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13947 ac_ext=c
13948 ac_cpp='$CPP $CPPFLAGS'
13949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13952
13953 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13954 :; INTELCC=yes
13955 else
13956 :;
13957 fi
13958
13959
13960 if test "x$GCC" != "xyes"; then
13961 if test "xCC" = "xC"; then
13962 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13963 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13964 if test "${bakefile_cv_c_exto+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13966 else
13967 cat >conftest.$ac_ext <<_ACEOF
13968 /* confdefs.h. */
13969 _ACEOF
13970 cat confdefs.h >>conftest.$ac_ext
13971 cat >>conftest.$ac_ext <<_ACEOF
13972 /* end confdefs.h. */
13973
13974 int
13975 main ()
13976 {
13977
13978 ;
13979 return 0;
13980 }
13981 _ACEOF
13982 rm -f conftest.$ac_objext conftest.$ac_ext.o
13983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13984 (eval $ac_compile) 2>&5
13985 ac_status=$?
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; then
13988 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13989 case $ac_file in
13990 conftest.$ac_ext.o)
13991 bakefile_cv_c_exto="-ext o"
13992 ;;
13993 *)
13994 ;;
13995 esac
13996 done
13997 else
13998 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13999 See \`config.log' for more details." >&5
14000 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14001 See \`config.log' for more details." >&2;}
14002 { (exit 1); exit 1; }; }
14003
14004 fi
14005
14006 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14007
14008 fi
14009 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14010 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14011 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14012 if test "c" = "c"; then
14013 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14014 fi
14015 if test "c" = "cxx"; then
14016 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14017 fi
14018 fi
14019
14020 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14021 unset ac_cv_prog_cc_g
14022 ac_test_CFLAGS=${CFLAGS+set}
14023 ac_save_CFLAGS=$CFLAGS
14024 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14025 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14026 if test "${ac_cv_prog_cc_g+set}" = set; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14028 else
14029 ac_save_c_werror_flag=$ac_c_werror_flag
14030 ac_c_werror_flag=yes
14031 ac_cv_prog_cc_g=no
14032 CFLAGS="-g"
14033 cat >conftest.$ac_ext <<_ACEOF
14034 /* confdefs.h. */
14035 _ACEOF
14036 cat confdefs.h >>conftest.$ac_ext
14037 cat >>conftest.$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14039
14040 int
14041 main ()
14042 {
14043
14044 ;
14045 return 0;
14046 }
14047 _ACEOF
14048 rm -f conftest.$ac_objext
14049 if { (ac_try="$ac_compile"
14050 case "(($ac_try" in
14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 *) ac_try_echo=$ac_try;;
14053 esac
14054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14055 (eval "$ac_compile") 2>conftest.er1
14056 ac_status=$?
14057 grep -v '^ *+' conftest.er1 >conftest.err
14058 rm -f conftest.er1
14059 cat conftest.err >&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); } && {
14062 test -z "$ac_c_werror_flag" ||
14063 test ! -s conftest.err
14064 } && test -s conftest.$ac_objext; then
14065 ac_cv_prog_cc_g=yes
14066 else
14067 echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.$ac_ext >&5
14069
14070 CFLAGS=""
14071 cat >conftest.$ac_ext <<_ACEOF
14072 /* confdefs.h. */
14073 _ACEOF
14074 cat confdefs.h >>conftest.$ac_ext
14075 cat >>conftest.$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14077
14078 int
14079 main ()
14080 {
14081
14082 ;
14083 return 0;
14084 }
14085 _ACEOF
14086 rm -f conftest.$ac_objext
14087 if { (ac_try="$ac_compile"
14088 case "(($ac_try" in
14089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14090 *) ac_try_echo=$ac_try;;
14091 esac
14092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14093 (eval "$ac_compile") 2>conftest.er1
14094 ac_status=$?
14095 grep -v '^ *+' conftest.er1 >conftest.err
14096 rm -f conftest.er1
14097 cat conftest.err >&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } && {
14100 test -z "$ac_c_werror_flag" ||
14101 test ! -s conftest.err
14102 } && test -s conftest.$ac_objext; then
14103 :
14104 else
14105 echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.$ac_ext >&5
14107
14108 ac_c_werror_flag=$ac_save_c_werror_flag
14109 CFLAGS="-g"
14110 cat >conftest.$ac_ext <<_ACEOF
14111 /* confdefs.h. */
14112 _ACEOF
14113 cat confdefs.h >>conftest.$ac_ext
14114 cat >>conftest.$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14116
14117 int
14118 main ()
14119 {
14120
14121 ;
14122 return 0;
14123 }
14124 _ACEOF
14125 rm -f conftest.$ac_objext
14126 if { (ac_try="$ac_compile"
14127 case "(($ac_try" in
14128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14129 *) ac_try_echo=$ac_try;;
14130 esac
14131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14132 (eval "$ac_compile") 2>conftest.er1
14133 ac_status=$?
14134 grep -v '^ *+' conftest.er1 >conftest.err
14135 rm -f conftest.er1
14136 cat conftest.err >&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); } && {
14139 test -z "$ac_c_werror_flag" ||
14140 test ! -s conftest.err
14141 } && test -s conftest.$ac_objext; then
14142 ac_cv_prog_cc_g=yes
14143 else
14144 echo "$as_me: failed program was:" >&5
14145 sed 's/^/| /' conftest.$ac_ext >&5
14146
14147
14148 fi
14149
14150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14151 fi
14152
14153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14154 fi
14155
14156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14157 ac_c_werror_flag=$ac_save_c_werror_flag
14158 fi
14159 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14160 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14161 if test "$ac_test_CFLAGS" = set; then
14162 CFLAGS=$ac_save_CFLAGS
14163 elif test $ac_cv_prog_cc_g = yes; then
14164 if test "$GCC" = yes; then
14165 CFLAGS="-g -O2"
14166 else
14167 CFLAGS="-g"
14168 fi
14169 else
14170 if test "$GCC" = yes; then
14171 CFLAGS="-O2"
14172 else
14173 CFLAGS=
14174 fi
14175 fi
14176 fi
14177 fi
14178
14179 case `uname -s` in
14180 AIX*)
14181 ac_ext=c
14182 ac_cpp='$CPP $CPPFLAGS'
14183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14186
14187 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14188 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14189 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 else
14192 cat >conftest.$ac_ext <<_ACEOF
14193 /* confdefs.h. */
14194 _ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198
14199 int
14200 main ()
14201 {
14202 #ifndef __xlC__
14203 choke me
14204 #endif
14205
14206 ;
14207 return 0;
14208 }
14209 _ACEOF
14210 rm -f conftest.$ac_objext
14211 if { (ac_try="$ac_compile"
14212 case "(($ac_try" in
14213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14214 *) ac_try_echo=$ac_try;;
14215 esac
14216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14217 (eval "$ac_compile") 2>conftest.er1
14218 ac_status=$?
14219 grep -v '^ *+' conftest.er1 >conftest.err
14220 rm -f conftest.er1
14221 cat conftest.err >&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); } && {
14224 test -z "$ac_c_werror_flag" ||
14225 test ! -s conftest.err
14226 } && test -s conftest.$ac_objext; then
14227 bakefile_compiler_xlc=yes
14228 else
14229 echo "$as_me: failed program was:" >&5
14230 sed 's/^/| /' conftest.$ac_ext >&5
14231
14232 bakefile_compiler_xlc=no
14233 fi
14234
14235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14236 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14237
14238 fi
14239 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14240 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14241
14242 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14243 ac_ext=c
14244 ac_cpp='$CPP $CPPFLAGS'
14245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14248
14249
14250 ;;
14251
14252 Darwin)
14253 ac_ext=c
14254 ac_cpp='$CPP $CPPFLAGS'
14255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14258
14259 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14260 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14261 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 else
14264 cat >conftest.$ac_ext <<_ACEOF
14265 /* confdefs.h. */
14266 _ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270
14271 int
14272 main ()
14273 {
14274 #ifndef __MWERKS__
14275 choke me
14276 #endif
14277
14278 ;
14279 return 0;
14280 }
14281 _ACEOF
14282 rm -f conftest.$ac_objext
14283 if { (ac_try="$ac_compile"
14284 case "(($ac_try" in
14285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14286 *) ac_try_echo=$ac_try;;
14287 esac
14288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14289 (eval "$ac_compile") 2>conftest.er1
14290 ac_status=$?
14291 grep -v '^ *+' conftest.er1 >conftest.err
14292 rm -f conftest.er1
14293 cat conftest.err >&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } && {
14296 test -z "$ac_c_werror_flag" ||
14297 test ! -s conftest.err
14298 } && test -s conftest.$ac_objext; then
14299 bakefile_compiler_mwerks=yes
14300 else
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.$ac_ext >&5
14303
14304 bakefile_compiler_mwerks=no
14305 fi
14306
14307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14308 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14309
14310 fi
14311 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14312 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14313
14314 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14315 ac_ext=c
14316 ac_cpp='$CPP $CPPFLAGS'
14317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14320
14321
14322 ac_ext=c
14323 ac_cpp='$CPP $CPPFLAGS'
14324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14327
14328 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14329 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14330 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14331 echo $ECHO_N "(cached) $ECHO_C" >&6
14332 else
14333 cat >conftest.$ac_ext <<_ACEOF
14334 /* confdefs.h. */
14335 _ACEOF
14336 cat confdefs.h >>conftest.$ac_ext
14337 cat >>conftest.$ac_ext <<_ACEOF
14338 /* end confdefs.h. */
14339
14340 int
14341 main ()
14342 {
14343 #ifndef __xlC__
14344 choke me
14345 #endif
14346
14347 ;
14348 return 0;
14349 }
14350 _ACEOF
14351 rm -f conftest.$ac_objext
14352 if { (ac_try="$ac_compile"
14353 case "(($ac_try" in
14354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14355 *) ac_try_echo=$ac_try;;
14356 esac
14357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14358 (eval "$ac_compile") 2>conftest.er1
14359 ac_status=$?
14360 grep -v '^ *+' conftest.er1 >conftest.err
14361 rm -f conftest.er1
14362 cat conftest.err >&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } && {
14365 test -z "$ac_c_werror_flag" ||
14366 test ! -s conftest.err
14367 } && test -s conftest.$ac_objext; then
14368 bakefile_compiler_xlc=yes
14369 else
14370 echo "$as_me: failed program was:" >&5
14371 sed 's/^/| /' conftest.$ac_ext >&5
14372
14373 bakefile_compiler_xlc=no
14374 fi
14375
14376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14377 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14378
14379 fi
14380 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14381 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14382
14383 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14384 ac_ext=c
14385 ac_cpp='$CPP $CPPFLAGS'
14386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14389
14390
14391 ;;
14392
14393 IRIX*)
14394
14395
14396 ac_ext=c
14397 ac_cpp='$CPP $CPPFLAGS'
14398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14401
14402 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14403 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14404 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 else
14407 cat >conftest.$ac_ext <<_ACEOF
14408 /* confdefs.h. */
14409 _ACEOF
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413
14414 int
14415 main ()
14416 {
14417
14418 #ifndef _SGI_COMPILER_VERSION
14419 choke me
14420 #endif
14421
14422 ;
14423 return 0;
14424 }
14425 _ACEOF
14426 rm -f conftest.$ac_objext
14427 if { (ac_try="$ac_compile"
14428 case "(($ac_try" in
14429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14430 *) ac_try_echo=$ac_try;;
14431 esac
14432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14433 (eval "$ac_compile") 2>conftest.er1
14434 ac_status=$?
14435 grep -v '^ *+' conftest.er1 >conftest.err
14436 rm -f conftest.er1
14437 cat conftest.err >&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); } && {
14440 test -z "$ac_c_werror_flag" ||
14441 test ! -s conftest.err
14442 } && test -s conftest.$ac_objext; then
14443 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14444 else
14445 echo "$as_me: failed program was:" >&5
14446 sed 's/^/| /' conftest.$ac_ext >&5
14447
14448 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14449
14450 fi
14451
14452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14453
14454
14455 fi
14456 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14457 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14458 ac_ext=c
14459 ac_cpp='$CPP $CPPFLAGS'
14460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14463
14464 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14465 :; SGICC=yes
14466 else
14467 :;
14468 fi
14469
14470
14471 ;;
14472
14473 HP-UX*)
14474
14475
14476 ac_ext=c
14477 ac_cpp='$CPP $CPPFLAGS'
14478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14481
14482 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14483 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14484 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14485 echo $ECHO_N "(cached) $ECHO_C" >&6
14486 else
14487 cat >conftest.$ac_ext <<_ACEOF
14488 /* confdefs.h. */
14489 _ACEOF
14490 cat confdefs.h >>conftest.$ac_ext
14491 cat >>conftest.$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493
14494 int
14495 main ()
14496 {
14497
14498 #ifndef __HP_cc
14499 choke me
14500 #endif
14501
14502 ;
14503 return 0;
14504 }
14505 _ACEOF
14506 rm -f conftest.$ac_objext
14507 if { (ac_try="$ac_compile"
14508 case "(($ac_try" in
14509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14510 *) ac_try_echo=$ac_try;;
14511 esac
14512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14513 (eval "$ac_compile") 2>conftest.er1
14514 ac_status=$?
14515 grep -v '^ *+' conftest.er1 >conftest.err
14516 rm -f conftest.er1
14517 cat conftest.err >&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } && {
14520 test -z "$ac_c_werror_flag" ||
14521 test ! -s conftest.err
14522 } && test -s conftest.$ac_objext; then
14523 bakefile_cv_c_compiler___HP_cc=yes
14524 else
14525 echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.$ac_ext >&5
14527
14528 bakefile_cv_c_compiler___HP_cc=no
14529
14530 fi
14531
14532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14533
14534
14535 fi
14536 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14537 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14538 ac_ext=c
14539 ac_cpp='$CPP $CPPFLAGS'
14540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14543
14544 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14545 :; HPCC=yes
14546 else
14547 :;
14548 fi
14549
14550
14551 ;;
14552
14553 OSF1)
14554
14555
14556 ac_ext=c
14557 ac_cpp='$CPP $CPPFLAGS'
14558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14561
14562 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14563 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14564 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 else
14567 cat >conftest.$ac_ext <<_ACEOF
14568 /* confdefs.h. */
14569 _ACEOF
14570 cat confdefs.h >>conftest.$ac_ext
14571 cat >>conftest.$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14573
14574 int
14575 main ()
14576 {
14577
14578 #ifndef __DECC
14579 choke me
14580 #endif
14581
14582 ;
14583 return 0;
14584 }
14585 _ACEOF
14586 rm -f conftest.$ac_objext
14587 if { (ac_try="$ac_compile"
14588 case "(($ac_try" in
14589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14590 *) ac_try_echo=$ac_try;;
14591 esac
14592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14593 (eval "$ac_compile") 2>conftest.er1
14594 ac_status=$?
14595 grep -v '^ *+' conftest.er1 >conftest.err
14596 rm -f conftest.er1
14597 cat conftest.err >&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } && {
14600 test -z "$ac_c_werror_flag" ||
14601 test ! -s conftest.err
14602 } && test -s conftest.$ac_objext; then
14603 bakefile_cv_c_compiler___DECC=yes
14604 else
14605 echo "$as_me: failed program was:" >&5
14606 sed 's/^/| /' conftest.$ac_ext >&5
14607
14608 bakefile_cv_c_compiler___DECC=no
14609
14610 fi
14611
14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14613
14614
14615 fi
14616 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14617 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14618 ac_ext=c
14619 ac_cpp='$CPP $CPPFLAGS'
14620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14623
14624 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14625 :; COMPAQCC=yes
14626 else
14627 :;
14628 fi
14629
14630
14631 ;;
14632
14633 SunOS)
14634
14635
14636 ac_ext=c
14637 ac_cpp='$CPP $CPPFLAGS'
14638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14641
14642 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14643 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14644 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14646 else
14647 cat >conftest.$ac_ext <<_ACEOF
14648 /* confdefs.h. */
14649 _ACEOF
14650 cat confdefs.h >>conftest.$ac_ext
14651 cat >>conftest.$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653
14654 int
14655 main ()
14656 {
14657
14658 #ifndef __SUNPRO_C
14659 choke me
14660 #endif
14661
14662 ;
14663 return 0;
14664 }
14665 _ACEOF
14666 rm -f conftest.$ac_objext
14667 if { (ac_try="$ac_compile"
14668 case "(($ac_try" in
14669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14670 *) ac_try_echo=$ac_try;;
14671 esac
14672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14673 (eval "$ac_compile") 2>conftest.er1
14674 ac_status=$?
14675 grep -v '^ *+' conftest.er1 >conftest.err
14676 rm -f conftest.er1
14677 cat conftest.err >&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } && {
14680 test -z "$ac_c_werror_flag" ||
14681 test ! -s conftest.err
14682 } && test -s conftest.$ac_objext; then
14683 bakefile_cv_c_compiler___SUNPRO_C=yes
14684 else
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.$ac_ext >&5
14687
14688 bakefile_cv_c_compiler___SUNPRO_C=no
14689
14690 fi
14691
14692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14693
14694
14695 fi
14696 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14697 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14698 ac_ext=c
14699 ac_cpp='$CPP $CPPFLAGS'
14700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14703
14704 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14705 :; SUNCC=yes
14706 else
14707 :;
14708 fi
14709
14710
14711 ;;
14712 esac
14713 fi
14714
14715
14716
14717 ac_ext=c
14718 ac_cpp='$CPP $CPPFLAGS'
14719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14722 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14723 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14724 # On Suns, sometimes $CPP names a directory.
14725 if test -n "$CPP" && test -d "$CPP"; then
14726 CPP=
14727 fi
14728 if test -z "$CPP"; then
14729 if test "${ac_cv_prog_CPP+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 else
14732 # Double quotes because CPP needs to be expanded
14733 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14734 do
14735 ac_preproc_ok=false
14736 for ac_c_preproc_warn_flag in '' yes
14737 do
14738 # Use a header file that comes with gcc, so configuring glibc
14739 # with a fresh cross-compiler works.
14740 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14741 # <limits.h> exists even on freestanding compilers.
14742 # On the NeXT, cc -E runs the code through the compiler's parser,
14743 # not just through cpp. "Syntax error" is here to catch this case.
14744 cat >conftest.$ac_ext <<_ACEOF
14745 /* confdefs.h. */
14746 _ACEOF
14747 cat confdefs.h >>conftest.$ac_ext
14748 cat >>conftest.$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14750 #ifdef __STDC__
14751 # include <limits.h>
14752 #else
14753 # include <assert.h>
14754 #endif
14755 Syntax error
14756 _ACEOF
14757 if { (ac_try="$ac_cpp conftest.$ac_ext"
14758 case "(($ac_try" in
14759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14760 *) ac_try_echo=$ac_try;;
14761 esac
14762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14764 ac_status=$?
14765 grep -v '^ *+' conftest.er1 >conftest.err
14766 rm -f conftest.er1
14767 cat conftest.err >&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } >/dev/null && {
14770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14771 test ! -s conftest.err
14772 }; then
14773 :
14774 else
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14777
14778 # Broken: fails on valid input.
14779 continue
14780 fi
14781
14782 rm -f conftest.err conftest.$ac_ext
14783
14784 # OK, works on sane cases. Now check whether nonexistent headers
14785 # can be detected and how.
14786 cat >conftest.$ac_ext <<_ACEOF
14787 /* confdefs.h. */
14788 _ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 #include <ac_nonexistent.h>
14793 _ACEOF
14794 if { (ac_try="$ac_cpp conftest.$ac_ext"
14795 case "(($ac_try" in
14796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14797 *) ac_try_echo=$ac_try;;
14798 esac
14799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } >/dev/null && {
14807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14808 test ! -s conftest.err
14809 }; then
14810 # Broken: success on invalid input.
14811 continue
14812 else
14813 echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.$ac_ext >&5
14815
14816 # Passes both tests.
14817 ac_preproc_ok=:
14818 break
14819 fi
14820
14821 rm -f conftest.err conftest.$ac_ext
14822
14823 done
14824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14825 rm -f conftest.err conftest.$ac_ext
14826 if $ac_preproc_ok; then
14827 break
14828 fi
14829
14830 done
14831 ac_cv_prog_CPP=$CPP
14832
14833 fi
14834 CPP=$ac_cv_prog_CPP
14835 else
14836 ac_cv_prog_CPP=$CPP
14837 fi
14838 { echo "$as_me:$LINENO: result: $CPP" >&5
14839 echo "${ECHO_T}$CPP" >&6; }
14840 ac_preproc_ok=false
14841 for ac_c_preproc_warn_flag in '' yes
14842 do
14843 # Use a header file that comes with gcc, so configuring glibc
14844 # with a fresh cross-compiler works.
14845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14846 # <limits.h> exists even on freestanding compilers.
14847 # On the NeXT, cc -E runs the code through the compiler's parser,
14848 # not just through cpp. "Syntax error" is here to catch this case.
14849 cat >conftest.$ac_ext <<_ACEOF
14850 /* confdefs.h. */
14851 _ACEOF
14852 cat confdefs.h >>conftest.$ac_ext
14853 cat >>conftest.$ac_ext <<_ACEOF
14854 /* end confdefs.h. */
14855 #ifdef __STDC__
14856 # include <limits.h>
14857 #else
14858 # include <assert.h>
14859 #endif
14860 Syntax error
14861 _ACEOF
14862 if { (ac_try="$ac_cpp conftest.$ac_ext"
14863 case "(($ac_try" in
14864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14865 *) ac_try_echo=$ac_try;;
14866 esac
14867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14868 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14869 ac_status=$?
14870 grep -v '^ *+' conftest.er1 >conftest.err
14871 rm -f conftest.er1
14872 cat conftest.err >&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } >/dev/null && {
14875 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14876 test ! -s conftest.err
14877 }; then
14878 :
14879 else
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.$ac_ext >&5
14882
14883 # Broken: fails on valid input.
14884 continue
14885 fi
14886
14887 rm -f conftest.err conftest.$ac_ext
14888
14889 # OK, works on sane cases. Now check whether nonexistent headers
14890 # can be detected and how.
14891 cat >conftest.$ac_ext <<_ACEOF
14892 /* confdefs.h. */
14893 _ACEOF
14894 cat confdefs.h >>conftest.$ac_ext
14895 cat >>conftest.$ac_ext <<_ACEOF
14896 /* end confdefs.h. */
14897 #include <ac_nonexistent.h>
14898 _ACEOF
14899 if { (ac_try="$ac_cpp conftest.$ac_ext"
14900 case "(($ac_try" in
14901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14902 *) ac_try_echo=$ac_try;;
14903 esac
14904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14906 ac_status=$?
14907 grep -v '^ *+' conftest.er1 >conftest.err
14908 rm -f conftest.er1
14909 cat conftest.err >&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } >/dev/null && {
14912 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14913 test ! -s conftest.err
14914 }; then
14915 # Broken: success on invalid input.
14916 continue
14917 else
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14920
14921 # Passes both tests.
14922 ac_preproc_ok=:
14923 break
14924 fi
14925
14926 rm -f conftest.err conftest.$ac_ext
14927
14928 done
14929 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14930 rm -f conftest.err conftest.$ac_ext
14931 if $ac_preproc_ok; then
14932 :
14933 else
14934 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14935 See \`config.log' for more details." >&5
14936 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14937 See \`config.log' for more details." >&2;}
14938 { (exit 1); exit 1; }; }
14939 fi
14940
14941 ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14946
14947
14948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14950 if test "${ac_cv_path_GREP+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 else
14953 # Extract the first word of "grep ggrep" to use in msg output
14954 if test -z "$GREP"; then
14955 set dummy grep ggrep; ac_prog_name=$2
14956 if test "${ac_cv_path_GREP+set}" = set; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14958 else
14959 ac_path_GREP_found=false
14960 # Loop through the user's path and test for each of PROGNAME-LIST
14961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14963 do
14964 IFS=$as_save_IFS
14965 test -z "$as_dir" && as_dir=.
14966 for ac_prog in grep ggrep; do
14967 for ac_exec_ext in '' $ac_executable_extensions; do
14968 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14969 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14970 # Check for GNU ac_path_GREP and select it if it is found.
14971 # Check for GNU $ac_path_GREP
14972 case `"$ac_path_GREP" --version 2>&1` in
14973 *GNU*)
14974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14975 *)
14976 ac_count=0
14977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14978 while :
14979 do
14980 cat "conftest.in" "conftest.in" >"conftest.tmp"
14981 mv "conftest.tmp" "conftest.in"
14982 cp "conftest.in" "conftest.nl"
14983 echo 'GREP' >> "conftest.nl"
14984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14986 ac_count=`expr $ac_count + 1`
14987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14988 # Best one so far, save it but keep looking for a better one
14989 ac_cv_path_GREP="$ac_path_GREP"
14990 ac_path_GREP_max=$ac_count
14991 fi
14992 # 10*(2^10) chars as input seems more than enough
14993 test $ac_count -gt 10 && break
14994 done
14995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14996 esac
14997
14998
14999 $ac_path_GREP_found && break 3
15000 done
15001 done
15002
15003 done
15004 IFS=$as_save_IFS
15005
15006
15007 fi
15008
15009 GREP="$ac_cv_path_GREP"
15010 if test -z "$GREP"; then
15011 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15013 { (exit 1); exit 1; }; }
15014 fi
15015
15016 else
15017 ac_cv_path_GREP=$GREP
15018 fi
15019
15020
15021 fi
15022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15024 GREP="$ac_cv_path_GREP"
15025
15026
15027 { echo "$as_me:$LINENO: checking for egrep" >&5
15028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15029 if test "${ac_cv_path_EGREP+set}" = set; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 else
15032 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15033 then ac_cv_path_EGREP="$GREP -E"
15034 else
15035 # Extract the first word of "egrep" to use in msg output
15036 if test -z "$EGREP"; then
15037 set dummy egrep; ac_prog_name=$2
15038 if test "${ac_cv_path_EGREP+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15040 else
15041 ac_path_EGREP_found=false
15042 # Loop through the user's path and test for each of PROGNAME-LIST
15043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15045 do
15046 IFS=$as_save_IFS
15047 test -z "$as_dir" && as_dir=.
15048 for ac_prog in egrep; do
15049 for ac_exec_ext in '' $ac_executable_extensions; do
15050 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15051 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15052 # Check for GNU ac_path_EGREP and select it if it is found.
15053 # Check for GNU $ac_path_EGREP
15054 case `"$ac_path_EGREP" --version 2>&1` in
15055 *GNU*)
15056 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15057 *)
15058 ac_count=0
15059 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15060 while :
15061 do
15062 cat "conftest.in" "conftest.in" >"conftest.tmp"
15063 mv "conftest.tmp" "conftest.in"
15064 cp "conftest.in" "conftest.nl"
15065 echo 'EGREP' >> "conftest.nl"
15066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15067 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15068 ac_count=`expr $ac_count + 1`
15069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15070 # Best one so far, save it but keep looking for a better one
15071 ac_cv_path_EGREP="$ac_path_EGREP"
15072 ac_path_EGREP_max=$ac_count
15073 fi
15074 # 10*(2^10) chars as input seems more than enough
15075 test $ac_count -gt 10 && break
15076 done
15077 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15078 esac
15079
15080
15081 $ac_path_EGREP_found && break 3
15082 done
15083 done
15084
15085 done
15086 IFS=$as_save_IFS
15087
15088
15089 fi
15090
15091 EGREP="$ac_cv_path_EGREP"
15092 if test -z "$EGREP"; then
15093 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15095 { (exit 1); exit 1; }; }
15096 fi
15097
15098 else
15099 ac_cv_path_EGREP=$EGREP
15100 fi
15101
15102
15103 fi
15104 fi
15105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15107 EGREP="$ac_cv_path_EGREP"
15108
15109
15110 if test $ac_cv_c_compiler_gnu = yes; then
15111 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15112 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15113 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 else
15116 ac_pattern="Autoconf.*'x'"
15117 cat >conftest.$ac_ext <<_ACEOF
15118 /* confdefs.h. */
15119 _ACEOF
15120 cat confdefs.h >>conftest.$ac_ext
15121 cat >>conftest.$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15123 #include <sgtty.h>
15124 Autoconf TIOCGETP
15125 _ACEOF
15126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15127 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15128 ac_cv_prog_gcc_traditional=yes
15129 else
15130 ac_cv_prog_gcc_traditional=no
15131 fi
15132 rm -f conftest*
15133
15134
15135 if test $ac_cv_prog_gcc_traditional = no; then
15136 cat >conftest.$ac_ext <<_ACEOF
15137 /* confdefs.h. */
15138 _ACEOF
15139 cat confdefs.h >>conftest.$ac_ext
15140 cat >>conftest.$ac_ext <<_ACEOF
15141 /* end confdefs.h. */
15142 #include <termio.h>
15143 Autoconf TCGETA
15144 _ACEOF
15145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15146 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15147 ac_cv_prog_gcc_traditional=yes
15148 fi
15149 rm -f conftest*
15150
15151 fi
15152 fi
15153 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15154 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15155 if test $ac_cv_prog_gcc_traditional = yes; then
15156 CC="$CC -traditional"
15157 fi
15158 fi
15159
15160
15161 CXXFLAGS=${CXXFLAGS:=}
15162
15163
15164
15165 ac_ext=cpp
15166 ac_cpp='$CXXCPP $CPPFLAGS'
15167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15170 if test -z "$CXX"; then
15171 if test -n "$CCC"; then
15172 CXX=$CCC
15173 else
15174 if test -n "$ac_tool_prefix"; then
15175 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15176 do
15177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15178 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181 if test "${ac_cv_prog_CXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$CXX"; then
15185 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15186 else
15187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15189 do
15190 IFS=$as_save_IFS
15191 test -z "$as_dir" && as_dir=.
15192 for ac_exec_ext in '' $ac_executable_extensions; do
15193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15194 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 break 2
15197 fi
15198 done
15199 done
15200 IFS=$as_save_IFS
15201
15202 fi
15203 fi
15204 CXX=$ac_cv_prog_CXX
15205 if test -n "$CXX"; then
15206 { echo "$as_me:$LINENO: result: $CXX" >&5
15207 echo "${ECHO_T}$CXX" >&6; }
15208 else
15209 { echo "$as_me:$LINENO: result: no" >&5
15210 echo "${ECHO_T}no" >&6; }
15211 fi
15212
15213
15214 test -n "$CXX" && break
15215 done
15216 fi
15217 if test -z "$CXX"; then
15218 ac_ct_CXX=$CXX
15219 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15220 do
15221 # Extract the first word of "$ac_prog", so it can be a program name with args.
15222 set dummy $ac_prog; ac_word=$2
15223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15225 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15227 else
15228 if test -n "$ac_ct_CXX"; then
15229 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15230 else
15231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15232 for as_dir in $PATH
15233 do
15234 IFS=$as_save_IFS
15235 test -z "$as_dir" && as_dir=.
15236 for ac_exec_ext in '' $ac_executable_extensions; do
15237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15238 ac_cv_prog_ac_ct_CXX="$ac_prog"
15239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15240 break 2
15241 fi
15242 done
15243 done
15244 IFS=$as_save_IFS
15245
15246 fi
15247 fi
15248 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15249 if test -n "$ac_ct_CXX"; then
15250 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15251 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15252 else
15253 { echo "$as_me:$LINENO: result: no" >&5
15254 echo "${ECHO_T}no" >&6; }
15255 fi
15256
15257
15258 test -n "$ac_ct_CXX" && break
15259 done
15260
15261 if test "x$ac_ct_CXX" = x; then
15262 CXX="g++"
15263 else
15264 case $cross_compiling:$ac_tool_warned in
15265 yes:)
15266 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15267 whose name does not start with the host triplet. If you think this
15268 configuration is useful to you, please write to autoconf@gnu.org." >&5
15269 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15270 whose name does not start with the host triplet. If you think this
15271 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15272 ac_tool_warned=yes ;;
15273 esac
15274 CXX=$ac_ct_CXX
15275 fi
15276 fi
15277
15278 fi
15279 fi
15280 # Provide some information about the compiler.
15281 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15282 ac_compiler=`set X $ac_compile; echo $2`
15283 { (ac_try="$ac_compiler --version >&5"
15284 case "(($ac_try" in
15285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15286 *) ac_try_echo=$ac_try;;
15287 esac
15288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15289 (eval "$ac_compiler --version >&5") 2>&5
15290 ac_status=$?
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }
15293 { (ac_try="$ac_compiler -v >&5"
15294 case "(($ac_try" in
15295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15296 *) ac_try_echo=$ac_try;;
15297 esac
15298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15299 (eval "$ac_compiler -v >&5") 2>&5
15300 ac_status=$?
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }
15303 { (ac_try="$ac_compiler -V >&5"
15304 case "(($ac_try" in
15305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15306 *) ac_try_echo=$ac_try;;
15307 esac
15308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15309 (eval "$ac_compiler -V >&5") 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }
15313
15314 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15315 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15316 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 else
15319 cat >conftest.$ac_ext <<_ACEOF
15320 /* confdefs.h. */
15321 _ACEOF
15322 cat confdefs.h >>conftest.$ac_ext
15323 cat >>conftest.$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15325
15326 int
15327 main ()
15328 {
15329 #ifndef __GNUC__
15330 choke me
15331 #endif
15332
15333 ;
15334 return 0;
15335 }
15336 _ACEOF
15337 rm -f conftest.$ac_objext
15338 if { (ac_try="$ac_compile"
15339 case "(($ac_try" in
15340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15341 *) ac_try_echo=$ac_try;;
15342 esac
15343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15344 (eval "$ac_compile") 2>conftest.er1
15345 ac_status=$?
15346 grep -v '^ *+' conftest.er1 >conftest.err
15347 rm -f conftest.er1
15348 cat conftest.err >&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); } && {
15351 test -z "$ac_cxx_werror_flag" ||
15352 test ! -s conftest.err
15353 } && test -s conftest.$ac_objext; then
15354 ac_compiler_gnu=yes
15355 else
15356 echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.$ac_ext >&5
15358
15359 ac_compiler_gnu=no
15360 fi
15361
15362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15363 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15364
15365 fi
15366 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15367 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15368 GXX=`test $ac_compiler_gnu = yes && echo yes`
15369 ac_test_CXXFLAGS=${CXXFLAGS+set}
15370 ac_save_CXXFLAGS=$CXXFLAGS
15371 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15372 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15373 if test "${ac_cv_prog_cxx_g+set}" = set; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 else
15376 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15377 ac_cxx_werror_flag=yes
15378 ac_cv_prog_cxx_g=no
15379 CXXFLAGS="-g"
15380 cat >conftest.$ac_ext <<_ACEOF
15381 /* confdefs.h. */
15382 _ACEOF
15383 cat confdefs.h >>conftest.$ac_ext
15384 cat >>conftest.$ac_ext <<_ACEOF
15385 /* end confdefs.h. */
15386
15387 int
15388 main ()
15389 {
15390
15391 ;
15392 return 0;
15393 }
15394 _ACEOF
15395 rm -f conftest.$ac_objext
15396 if { (ac_try="$ac_compile"
15397 case "(($ac_try" in
15398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15399 *) ac_try_echo=$ac_try;;
15400 esac
15401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15402 (eval "$ac_compile") 2>conftest.er1
15403 ac_status=$?
15404 grep -v '^ *+' conftest.er1 >conftest.err
15405 rm -f conftest.er1
15406 cat conftest.err >&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } && {
15409 test -z "$ac_cxx_werror_flag" ||
15410 test ! -s conftest.err
15411 } && test -s conftest.$ac_objext; then
15412 ac_cv_prog_cxx_g=yes
15413 else
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15416
15417 CXXFLAGS=""
15418 cat >conftest.$ac_ext <<_ACEOF
15419 /* confdefs.h. */
15420 _ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424
15425 int
15426 main ()
15427 {
15428
15429 ;
15430 return 0;
15431 }
15432 _ACEOF
15433 rm -f conftest.$ac_objext
15434 if { (ac_try="$ac_compile"
15435 case "(($ac_try" in
15436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15437 *) ac_try_echo=$ac_try;;
15438 esac
15439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15440 (eval "$ac_compile") 2>conftest.er1
15441 ac_status=$?
15442 grep -v '^ *+' conftest.er1 >conftest.err
15443 rm -f conftest.er1
15444 cat conftest.err >&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } && {
15447 test -z "$ac_cxx_werror_flag" ||
15448 test ! -s conftest.err
15449 } && test -s conftest.$ac_objext; then
15450 :
15451 else
15452 echo "$as_me: failed program was:" >&5
15453 sed 's/^/| /' conftest.$ac_ext >&5
15454
15455 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15456 CXXFLAGS="-g"
15457 cat >conftest.$ac_ext <<_ACEOF
15458 /* confdefs.h. */
15459 _ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15463
15464 int
15465 main ()
15466 {
15467
15468 ;
15469 return 0;
15470 }
15471 _ACEOF
15472 rm -f conftest.$ac_objext
15473 if { (ac_try="$ac_compile"
15474 case "(($ac_try" in
15475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15476 *) ac_try_echo=$ac_try;;
15477 esac
15478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15479 (eval "$ac_compile") 2>conftest.er1
15480 ac_status=$?
15481 grep -v '^ *+' conftest.er1 >conftest.err
15482 rm -f conftest.er1
15483 cat conftest.err >&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_cxx_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest.$ac_objext; then
15489 ac_cv_prog_cxx_g=yes
15490 else
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15493
15494
15495 fi
15496
15497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15498 fi
15499
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15501 fi
15502
15503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15504 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15505 fi
15506 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15507 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15508 if test "$ac_test_CXXFLAGS" = set; then
15509 CXXFLAGS=$ac_save_CXXFLAGS
15510 elif test $ac_cv_prog_cxx_g = yes; then
15511 if test "$GXX" = yes; then
15512 CXXFLAGS="-g -O2"
15513 else
15514 CXXFLAGS="-g"
15515 fi
15516 else
15517 if test "$GXX" = yes; then
15518 CXXFLAGS="-O2"
15519 else
15520 CXXFLAGS=
15521 fi
15522 fi
15523 ac_ext=c
15524 ac_cpp='$CPP $CPPFLAGS'
15525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15528
15529
15530
15531 ac_ext=cpp
15532 ac_cpp='$CXXCPP $CPPFLAGS'
15533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15536
15537 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15538 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15539 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 else
15542 cat >conftest.$ac_ext <<_ACEOF
15543 /* confdefs.h. */
15544 _ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15548
15549 int
15550 main ()
15551 {
15552
15553 #ifndef __INTEL_COMPILER
15554 choke me
15555 #endif
15556
15557 ;
15558 return 0;
15559 }
15560 _ACEOF
15561 rm -f conftest.$ac_objext
15562 if { (ac_try="$ac_compile"
15563 case "(($ac_try" in
15564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15565 *) ac_try_echo=$ac_try;;
15566 esac
15567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15568 (eval "$ac_compile") 2>conftest.er1
15569 ac_status=$?
15570 grep -v '^ *+' conftest.er1 >conftest.err
15571 rm -f conftest.er1
15572 cat conftest.err >&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); } && {
15575 test -z "$ac_cxx_werror_flag" ||
15576 test ! -s conftest.err
15577 } && test -s conftest.$ac_objext; then
15578 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15582
15583 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15584
15585 fi
15586
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588
15589
15590 fi
15591 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15592 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15593 ac_ext=c
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15598
15599 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15600 :; INTELCXX=yes
15601 else
15602 :;
15603 fi
15604
15605
15606 if test "x$GCXX" != "xyes"; then
15607 if test "xCXX" = "xC"; then
15608 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15609 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15610 if test "${bakefile_cv_c_exto+set}" = set; then
15611 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 else
15613 cat >conftest.$ac_ext <<_ACEOF
15614 /* confdefs.h. */
15615 _ACEOF
15616 cat confdefs.h >>conftest.$ac_ext
15617 cat >>conftest.$ac_ext <<_ACEOF
15618 /* end confdefs.h. */
15619
15620 int
15621 main ()
15622 {
15623
15624 ;
15625 return 0;
15626 }
15627 _ACEOF
15628 rm -f conftest.$ac_objext conftest.$ac_ext.o
15629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15630 (eval $ac_compile) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; then
15634 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15635 case $ac_file in
15636 conftest.$ac_ext.o)
15637 bakefile_cv_c_exto="-ext o"
15638 ;;
15639 *)
15640 ;;
15641 esac
15642 done
15643 else
15644 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15645 See \`config.log' for more details." >&5
15646 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15647 See \`config.log' for more details." >&2;}
15648 { (exit 1); exit 1; }; }
15649
15650 fi
15651
15652 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15653
15654 fi
15655 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15656 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15657 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15658 if test "c" = "c"; then
15659 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15660 fi
15661 if test "c" = "cxx"; then
15662 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15663 fi
15664 fi
15665
15666 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15667 unset ac_cv_prog_cc_g
15668 ac_test_CFLAGS=${CFLAGS+set}
15669 ac_save_CFLAGS=$CFLAGS
15670 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15671 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15672 if test "${ac_cv_prog_cc_g+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 else
15675 ac_save_c_werror_flag=$ac_c_werror_flag
15676 ac_c_werror_flag=yes
15677 ac_cv_prog_cc_g=no
15678 CFLAGS="-g"
15679 cat >conftest.$ac_ext <<_ACEOF
15680 /* confdefs.h. */
15681 _ACEOF
15682 cat confdefs.h >>conftest.$ac_ext
15683 cat >>conftest.$ac_ext <<_ACEOF
15684 /* end confdefs.h. */
15685
15686 int
15687 main ()
15688 {
15689
15690 ;
15691 return 0;
15692 }
15693 _ACEOF
15694 rm -f conftest.$ac_objext
15695 if { (ac_try="$ac_compile"
15696 case "(($ac_try" in
15697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15698 *) ac_try_echo=$ac_try;;
15699 esac
15700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15701 (eval "$ac_compile") 2>conftest.er1
15702 ac_status=$?
15703 grep -v '^ *+' conftest.er1 >conftest.err
15704 rm -f conftest.er1
15705 cat conftest.err >&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } && {
15708 test -z "$ac_c_werror_flag" ||
15709 test ! -s conftest.err
15710 } && test -s conftest.$ac_objext; then
15711 ac_cv_prog_cc_g=yes
15712 else
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15715
15716 CFLAGS=""
15717 cat >conftest.$ac_ext <<_ACEOF
15718 /* confdefs.h. */
15719 _ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15723
15724 int
15725 main ()
15726 {
15727
15728 ;
15729 return 0;
15730 }
15731 _ACEOF
15732 rm -f conftest.$ac_objext
15733 if { (ac_try="$ac_compile"
15734 case "(($ac_try" in
15735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15736 *) ac_try_echo=$ac_try;;
15737 esac
15738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15739 (eval "$ac_compile") 2>conftest.er1
15740 ac_status=$?
15741 grep -v '^ *+' conftest.er1 >conftest.err
15742 rm -f conftest.er1
15743 cat conftest.err >&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); } && {
15746 test -z "$ac_c_werror_flag" ||
15747 test ! -s conftest.err
15748 } && test -s conftest.$ac_objext; then
15749 :
15750 else
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15753
15754 ac_c_werror_flag=$ac_save_c_werror_flag
15755 CFLAGS="-g"
15756 cat >conftest.$ac_ext <<_ACEOF
15757 /* confdefs.h. */
15758 _ACEOF
15759 cat confdefs.h >>conftest.$ac_ext
15760 cat >>conftest.$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15762
15763 int
15764 main ()
15765 {
15766
15767 ;
15768 return 0;
15769 }
15770 _ACEOF
15771 rm -f conftest.$ac_objext
15772 if { (ac_try="$ac_compile"
15773 case "(($ac_try" in
15774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15775 *) ac_try_echo=$ac_try;;
15776 esac
15777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15778 (eval "$ac_compile") 2>conftest.er1
15779 ac_status=$?
15780 grep -v '^ *+' conftest.er1 >conftest.err
15781 rm -f conftest.er1
15782 cat conftest.err >&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); } && {
15785 test -z "$ac_c_werror_flag" ||
15786 test ! -s conftest.err
15787 } && test -s conftest.$ac_objext; then
15788 ac_cv_prog_cc_g=yes
15789 else
15790 echo "$as_me: failed program was:" >&5
15791 sed 's/^/| /' conftest.$ac_ext >&5
15792
15793
15794 fi
15795
15796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15797 fi
15798
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800 fi
15801
15802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15803 ac_c_werror_flag=$ac_save_c_werror_flag
15804 fi
15805 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15806 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15807 if test "$ac_test_CFLAGS" = set; then
15808 CFLAGS=$ac_save_CFLAGS
15809 elif test $ac_cv_prog_cc_g = yes; then
15810 if test "$GCC" = yes; then
15811 CFLAGS="-g -O2"
15812 else
15813 CFLAGS="-g"
15814 fi
15815 else
15816 if test "$GCC" = yes; then
15817 CFLAGS="-O2"
15818 else
15819 CFLAGS=
15820 fi
15821 fi
15822 fi
15823 fi
15824
15825 case `uname -s` in
15826 AIX*)
15827 ac_ext=cpp
15828 ac_cpp='$CXXCPP $CPPFLAGS'
15829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15832
15833 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15834 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15835 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15836 echo $ECHO_N "(cached) $ECHO_C" >&6
15837 else
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844
15845 int
15846 main ()
15847 {
15848 #ifndef __xlC__
15849 choke me
15850 #endif
15851
15852 ;
15853 return 0;
15854 }
15855 _ACEOF
15856 rm -f conftest.$ac_objext
15857 if { (ac_try="$ac_compile"
15858 case "(($ac_try" in
15859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15860 *) ac_try_echo=$ac_try;;
15861 esac
15862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15863 (eval "$ac_compile") 2>conftest.er1
15864 ac_status=$?
15865 grep -v '^ *+' conftest.er1 >conftest.err
15866 rm -f conftest.er1
15867 cat conftest.err >&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } && {
15870 test -z "$ac_cxx_werror_flag" ||
15871 test ! -s conftest.err
15872 } && test -s conftest.$ac_objext; then
15873 bakefile_compiler_xlc=yes
15874 else
15875 echo "$as_me: failed program was:" >&5
15876 sed 's/^/| /' conftest.$ac_ext >&5
15877
15878 bakefile_compiler_xlc=no
15879 fi
15880
15881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15882 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15883
15884 fi
15885 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15886 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15887
15888 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15889 ac_ext=c
15890 ac_cpp='$CPP $CPPFLAGS'
15891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15894
15895
15896 ;;
15897
15898 Darwin)
15899 ac_ext=cpp
15900 ac_cpp='$CXXCPP $CPPFLAGS'
15901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15904
15905 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15906 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15907 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15908 echo $ECHO_N "(cached) $ECHO_C" >&6
15909 else
15910 cat >conftest.$ac_ext <<_ACEOF
15911 /* confdefs.h. */
15912 _ACEOF
15913 cat confdefs.h >>conftest.$ac_ext
15914 cat >>conftest.$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916
15917 int
15918 main ()
15919 {
15920 #ifndef __MWERKS__
15921 choke me
15922 #endif
15923
15924 ;
15925 return 0;
15926 }
15927 _ACEOF
15928 rm -f conftest.$ac_objext
15929 if { (ac_try="$ac_compile"
15930 case "(($ac_try" in
15931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15932 *) ac_try_echo=$ac_try;;
15933 esac
15934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15935 (eval "$ac_compile") 2>conftest.er1
15936 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } && {
15942 test -z "$ac_cxx_werror_flag" ||
15943 test ! -s conftest.err
15944 } && test -s conftest.$ac_objext; then
15945 bakefile_compiler_mwerks=yes
15946 else
15947 echo "$as_me: failed program was:" >&5
15948 sed 's/^/| /' conftest.$ac_ext >&5
15949
15950 bakefile_compiler_mwerks=no
15951 fi
15952
15953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15954 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15955
15956 fi
15957 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15958 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15959
15960 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15961 ac_ext=c
15962 ac_cpp='$CPP $CPPFLAGS'
15963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15966
15967
15968 ac_ext=cpp
15969 ac_cpp='$CXXCPP $CPPFLAGS'
15970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15973
15974 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15975 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15976 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 else
15979 cat >conftest.$ac_ext <<_ACEOF
15980 /* confdefs.h. */
15981 _ACEOF
15982 cat confdefs.h >>conftest.$ac_ext
15983 cat >>conftest.$ac_ext <<_ACEOF
15984 /* end confdefs.h. */
15985
15986 int
15987 main ()
15988 {
15989 #ifndef __xlC__
15990 choke me
15991 #endif
15992
15993 ;
15994 return 0;
15995 }
15996 _ACEOF
15997 rm -f conftest.$ac_objext
15998 if { (ac_try="$ac_compile"
15999 case "(($ac_try" in
16000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16001 *) ac_try_echo=$ac_try;;
16002 esac
16003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16004 (eval "$ac_compile") 2>conftest.er1
16005 ac_status=$?
16006 grep -v '^ *+' conftest.er1 >conftest.err
16007 rm -f conftest.er1
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } && {
16011 test -z "$ac_cxx_werror_flag" ||
16012 test ! -s conftest.err
16013 } && test -s conftest.$ac_objext; then
16014 bakefile_compiler_xlc=yes
16015 else
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.$ac_ext >&5
16018
16019 bakefile_compiler_xlc=no
16020 fi
16021
16022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16023 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16024
16025 fi
16026 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16027 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16028
16029 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16030 ac_ext=c
16031 ac_cpp='$CPP $CPPFLAGS'
16032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16035
16036
16037 ;;
16038
16039 IRIX*)
16040
16041
16042 ac_ext=cpp
16043 ac_cpp='$CXXCPP $CPPFLAGS'
16044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16047
16048 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16049 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16050 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16051 echo $ECHO_N "(cached) $ECHO_C" >&6
16052 else
16053 cat >conftest.$ac_ext <<_ACEOF
16054 /* confdefs.h. */
16055 _ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059
16060 int
16061 main ()
16062 {
16063
16064 #ifndef _SGI_COMPILER_VERSION
16065 choke me
16066 #endif
16067
16068 ;
16069 return 0;
16070 }
16071 _ACEOF
16072 rm -f conftest.$ac_objext
16073 if { (ac_try="$ac_compile"
16074 case "(($ac_try" in
16075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16076 *) ac_try_echo=$ac_try;;
16077 esac
16078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16079 (eval "$ac_compile") 2>conftest.er1
16080 ac_status=$?
16081 grep -v '^ *+' conftest.er1 >conftest.err
16082 rm -f conftest.er1
16083 cat conftest.err >&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } && {
16086 test -z "$ac_cxx_werror_flag" ||
16087 test ! -s conftest.err
16088 } && test -s conftest.$ac_objext; then
16089 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16090 else
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.$ac_ext >&5
16093
16094 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16095
16096 fi
16097
16098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16099
16100
16101 fi
16102 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16103 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16104 ac_ext=c
16105 ac_cpp='$CPP $CPPFLAGS'
16106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16109
16110 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16111 :; SGICXX=yes
16112 else
16113 :;
16114 fi
16115
16116
16117 ;;
16118
16119 HP-UX*)
16120
16121
16122 ac_ext=cpp
16123 ac_cpp='$CXXCPP $CPPFLAGS'
16124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16127
16128 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16129 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16130 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16131 echo $ECHO_N "(cached) $ECHO_C" >&6
16132 else
16133 cat >conftest.$ac_ext <<_ACEOF
16134 /* confdefs.h. */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139
16140 int
16141 main ()
16142 {
16143
16144 #ifndef __HP_aCC
16145 choke me
16146 #endif
16147
16148 ;
16149 return 0;
16150 }
16151 _ACEOF
16152 rm -f conftest.$ac_objext
16153 if { (ac_try="$ac_compile"
16154 case "(($ac_try" in
16155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16156 *) ac_try_echo=$ac_try;;
16157 esac
16158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16159 (eval "$ac_compile") 2>conftest.er1
16160 ac_status=$?
16161 grep -v '^ *+' conftest.er1 >conftest.err
16162 rm -f conftest.er1
16163 cat conftest.err >&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); } && {
16166 test -z "$ac_cxx_werror_flag" ||
16167 test ! -s conftest.err
16168 } && test -s conftest.$ac_objext; then
16169 bakefile_cv_cxx_compiler___HP_aCC=yes
16170 else
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.$ac_ext >&5
16173
16174 bakefile_cv_cxx_compiler___HP_aCC=no
16175
16176 fi
16177
16178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16179
16180
16181 fi
16182 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16183 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16184 ac_ext=c
16185 ac_cpp='$CPP $CPPFLAGS'
16186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16189
16190 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16191 :; HPCXX=yes
16192 else
16193 :;
16194 fi
16195
16196
16197 ;;
16198
16199 OSF1)
16200
16201
16202 ac_ext=cpp
16203 ac_cpp='$CXXCPP $CPPFLAGS'
16204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16207
16208 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16209 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16210 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 else
16213 cat >conftest.$ac_ext <<_ACEOF
16214 /* confdefs.h. */
16215 _ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219
16220 int
16221 main ()
16222 {
16223
16224 #ifndef __DECCXX
16225 choke me
16226 #endif
16227
16228 ;
16229 return 0;
16230 }
16231 _ACEOF
16232 rm -f conftest.$ac_objext
16233 if { (ac_try="$ac_compile"
16234 case "(($ac_try" in
16235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16236 *) ac_try_echo=$ac_try;;
16237 esac
16238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16239 (eval "$ac_compile") 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } && {
16246 test -z "$ac_cxx_werror_flag" ||
16247 test ! -s conftest.err
16248 } && test -s conftest.$ac_objext; then
16249 bakefile_cv_cxx_compiler___DECCXX=yes
16250 else
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16253
16254 bakefile_cv_cxx_compiler___DECCXX=no
16255
16256 fi
16257
16258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16259
16260
16261 fi
16262 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16263 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16264 ac_ext=c
16265 ac_cpp='$CPP $CPPFLAGS'
16266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16269
16270 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16271 :; COMPAQCXX=yes
16272 else
16273 :;
16274 fi
16275
16276
16277 ;;
16278
16279 SunOS)
16280
16281
16282 ac_ext=cpp
16283 ac_cpp='$CXXCPP $CPPFLAGS'
16284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16287
16288 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16289 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16290 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16293 cat >conftest.$ac_ext <<_ACEOF
16294 /* confdefs.h. */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299
16300 int
16301 main ()
16302 {
16303
16304 #ifndef __SUNPRO_CC
16305 choke me
16306 #endif
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16317 esac
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16320 ac_status=$?
16321 grep -v '^ *+' conftest.er1 >conftest.err
16322 rm -f conftest.er1
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_cxx_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.$ac_objext; then
16329 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16330 else
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16333
16334 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16335
16336 fi
16337
16338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16339
16340
16341 fi
16342 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16343 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16344 ac_ext=c
16345 ac_cpp='$CPP $CPPFLAGS'
16346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16349
16350 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16351 :; SUNCXX=yes
16352 else
16353 :;
16354 fi
16355
16356
16357 ;;
16358 esac
16359 fi
16360
16361
16362
16363 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16364 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16365 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16366 { (exit 1); exit 1; }; }
16367 fi
16368
16369 if test -n "$ac_tool_prefix"; then
16370 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16371 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16374 if test "${ac_cv_prog_RANLIB+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16376 else
16377 if test -n "$RANLIB"; then
16378 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16379 else
16380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16381 for as_dir in $PATH
16382 do
16383 IFS=$as_save_IFS
16384 test -z "$as_dir" && as_dir=.
16385 for ac_exec_ext in '' $ac_executable_extensions; do
16386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16387 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16389 break 2
16390 fi
16391 done
16392 done
16393 IFS=$as_save_IFS
16394
16395 fi
16396 fi
16397 RANLIB=$ac_cv_prog_RANLIB
16398 if test -n "$RANLIB"; then
16399 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16400 echo "${ECHO_T}$RANLIB" >&6; }
16401 else
16402 { echo "$as_me:$LINENO: result: no" >&5
16403 echo "${ECHO_T}no" >&6; }
16404 fi
16405
16406
16407 fi
16408 if test -z "$ac_cv_prog_RANLIB"; then
16409 ac_ct_RANLIB=$RANLIB
16410 # Extract the first word of "ranlib", so it can be a program name with args.
16411 set dummy ranlib; ac_word=$2
16412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16414 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16415 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 else
16417 if test -n "$ac_ct_RANLIB"; then
16418 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16419 else
16420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16421 for as_dir in $PATH
16422 do
16423 IFS=$as_save_IFS
16424 test -z "$as_dir" && as_dir=.
16425 for ac_exec_ext in '' $ac_executable_extensions; do
16426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16427 ac_cv_prog_ac_ct_RANLIB="ranlib"
16428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16429 break 2
16430 fi
16431 done
16432 done
16433 IFS=$as_save_IFS
16434
16435 fi
16436 fi
16437 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16438 if test -n "$ac_ct_RANLIB"; then
16439 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16440 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16441 else
16442 { echo "$as_me:$LINENO: result: no" >&5
16443 echo "${ECHO_T}no" >&6; }
16444 fi
16445
16446 if test "x$ac_ct_RANLIB" = x; then
16447 RANLIB=":"
16448 else
16449 case $cross_compiling:$ac_tool_warned in
16450 yes:)
16451 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16452 whose name does not start with the host triplet. If you think this
16453 configuration is useful to you, please write to autoconf@gnu.org." >&5
16454 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16455 whose name does not start with the host triplet. If you think this
16456 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16457 ac_tool_warned=yes ;;
16458 esac
16459 RANLIB=$ac_ct_RANLIB
16460 fi
16461 else
16462 RANLIB="$ac_cv_prog_RANLIB"
16463 fi
16464
16465
16466 if test "x$SUNCXX" != xyes; then
16467 if test -n "$ac_tool_prefix"; then
16468 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16469 set dummy ${ac_tool_prefix}ar; ac_word=$2
16470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16472 if test "${ac_cv_prog_AR+set}" = set; then
16473 echo $ECHO_N "(cached) $ECHO_C" >&6
16474 else
16475 if test -n "$AR"; then
16476 ac_cv_prog_AR="$AR" # Let the user override the test.
16477 else
16478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16479 for as_dir in $PATH
16480 do
16481 IFS=$as_save_IFS
16482 test -z "$as_dir" && as_dir=.
16483 for ac_exec_ext in '' $ac_executable_extensions; do
16484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16485 ac_cv_prog_AR="${ac_tool_prefix}ar"
16486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16487 break 2
16488 fi
16489 done
16490 done
16491 IFS=$as_save_IFS
16492
16493 fi
16494 fi
16495 AR=$ac_cv_prog_AR
16496 if test -n "$AR"; then
16497 { echo "$as_me:$LINENO: result: $AR" >&5
16498 echo "${ECHO_T}$AR" >&6; }
16499 else
16500 { echo "$as_me:$LINENO: result: no" >&5
16501 echo "${ECHO_T}no" >&6; }
16502 fi
16503
16504
16505 fi
16506 if test -z "$ac_cv_prog_AR"; then
16507 ac_ct_AR=$AR
16508 # Extract the first word of "ar", so it can be a program name with args.
16509 set dummy ar; ac_word=$2
16510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16512 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 else
16515 if test -n "$ac_ct_AR"; then
16516 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16517 else
16518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16519 for as_dir in $PATH
16520 do
16521 IFS=$as_save_IFS
16522 test -z "$as_dir" && as_dir=.
16523 for ac_exec_ext in '' $ac_executable_extensions; do
16524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16525 ac_cv_prog_ac_ct_AR="ar"
16526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16527 break 2
16528 fi
16529 done
16530 done
16531 IFS=$as_save_IFS
16532
16533 fi
16534 fi
16535 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16536 if test -n "$ac_ct_AR"; then
16537 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16538 echo "${ECHO_T}$ac_ct_AR" >&6; }
16539 else
16540 { echo "$as_me:$LINENO: result: no" >&5
16541 echo "${ECHO_T}no" >&6; }
16542 fi
16543
16544 if test "x$ac_ct_AR" = x; then
16545 AR=""
16546 else
16547 case $cross_compiling:$ac_tool_warned in
16548 yes:)
16549 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16550 whose name does not start with the host triplet. If you think this
16551 configuration is useful to you, please write to autoconf@gnu.org." >&5
16552 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16553 whose name does not start with the host triplet. If you think this
16554 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16555 ac_tool_warned=yes ;;
16556 esac
16557 AR=$ac_ct_AR
16558 fi
16559 else
16560 AR="$ac_cv_prog_AR"
16561 fi
16562
16563 if test "x$AR" = "x" ; then
16564 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16565 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16566 { (exit 1); exit 1; }; }
16567 fi
16568 fi
16569
16570 # Find a good install program. We prefer a C program (faster),
16571 # so one script is as good as another. But avoid the broken or
16572 # incompatible versions:
16573 # SysV /etc/install, /usr/sbin/install
16574 # SunOS /usr/etc/install
16575 # IRIX /sbin/install
16576 # AIX /bin/install
16577 # AmigaOS /C/install, which installs bootblocks on floppy discs
16578 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16579 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16580 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16581 # OS/2's system install, which has a completely different semantic
16582 # ./install, which can be erroneously created by make from ./install.sh.
16583 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16585 if test -z "$INSTALL"; then
16586 if test "${ac_cv_path_install+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 else
16589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16590 for as_dir in $PATH
16591 do
16592 IFS=$as_save_IFS
16593 test -z "$as_dir" && as_dir=.
16594 # Account for people who put trailing slashes in PATH elements.
16595 case $as_dir/ in
16596 ./ | .// | /cC/* | \
16597 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16598 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16599 /usr/ucb/* ) ;;
16600 *)
16601 # OSF1 and SCO ODT 3.0 have their own names for install.
16602 # Don't use installbsd from OSF since it installs stuff as root
16603 # by default.
16604 for ac_prog in ginstall scoinst install; do
16605 for ac_exec_ext in '' $ac_executable_extensions; do
16606 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16607 if test $ac_prog = install &&
16608 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16609 # AIX install. It has an incompatible calling convention.
16610 :
16611 elif test $ac_prog = install &&
16612 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16613 # program-specific install script used by HP pwplus--don't use.
16614 :
16615 else
16616 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16617 break 3
16618 fi
16619 fi
16620 done
16621 done
16622 ;;
16623 esac
16624 done
16625 IFS=$as_save_IFS
16626
16627
16628 fi
16629 if test "${ac_cv_path_install+set}" = set; then
16630 INSTALL=$ac_cv_path_install
16631 else
16632 # As a last resort, use the slow shell script. Don't cache a
16633 # value for INSTALL within a source directory, because that will
16634 # break other packages using the cache if that directory is
16635 # removed, or if the value is a relative name.
16636 INSTALL=$ac_install_sh
16637 fi
16638 fi
16639 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16640 echo "${ECHO_T}$INSTALL" >&6; }
16641
16642 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16643 # It thinks the first close brace ends the variable substitution.
16644 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16645
16646 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16647
16648 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16649
16650
16651 case ${INSTALL} in
16652 /* ) # Absolute
16653 ;;
16654 ?:* ) # Drive letter, considered as absolute.
16655 ;;
16656 *)
16657 INSTALL=`pwd`/${INSTALL} ;;
16658 esac
16659
16660
16661 case "${host}" in
16662
16663 *-*-darwin* )
16664 INSTALL_PROGRAM="cp -fp"
16665 INSTALL_DATA="cp -fp"
16666 ;;
16667 *)
16668 ;;
16669 esac
16670
16671 if test -n "$ac_tool_prefix"; then
16672 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16673 set dummy ${ac_tool_prefix}strip; ac_word=$2
16674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16676 if test "${ac_cv_prog_STRIP+set}" = set; then
16677 echo $ECHO_N "(cached) $ECHO_C" >&6
16678 else
16679 if test -n "$STRIP"; then
16680 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16681 else
16682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16683 for as_dir in $PATH
16684 do
16685 IFS=$as_save_IFS
16686 test -z "$as_dir" && as_dir=.
16687 for ac_exec_ext in '' $ac_executable_extensions; do
16688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16689 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16691 break 2
16692 fi
16693 done
16694 done
16695 IFS=$as_save_IFS
16696
16697 fi
16698 fi
16699 STRIP=$ac_cv_prog_STRIP
16700 if test -n "$STRIP"; then
16701 { echo "$as_me:$LINENO: result: $STRIP" >&5
16702 echo "${ECHO_T}$STRIP" >&6; }
16703 else
16704 { echo "$as_me:$LINENO: result: no" >&5
16705 echo "${ECHO_T}no" >&6; }
16706 fi
16707
16708
16709 fi
16710 if test -z "$ac_cv_prog_STRIP"; then
16711 ac_ct_STRIP=$STRIP
16712 # Extract the first word of "strip", so it can be a program name with args.
16713 set dummy strip; ac_word=$2
16714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16716 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16717 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 else
16719 if test -n "$ac_ct_STRIP"; then
16720 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16721 else
16722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16723 for as_dir in $PATH
16724 do
16725 IFS=$as_save_IFS
16726 test -z "$as_dir" && as_dir=.
16727 for ac_exec_ext in '' $ac_executable_extensions; do
16728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16729 ac_cv_prog_ac_ct_STRIP="strip"
16730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16731 break 2
16732 fi
16733 done
16734 done
16735 IFS=$as_save_IFS
16736
16737 fi
16738 fi
16739 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16740 if test -n "$ac_ct_STRIP"; then
16741 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16742 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16743 else
16744 { echo "$as_me:$LINENO: result: no" >&5
16745 echo "${ECHO_T}no" >&6; }
16746 fi
16747
16748 if test "x$ac_ct_STRIP" = x; then
16749 STRIP="true"
16750 else
16751 case $cross_compiling:$ac_tool_warned in
16752 yes:)
16753 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16754 whose name does not start with the host triplet. If you think this
16755 configuration is useful to you, please write to autoconf@gnu.org." >&5
16756 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16757 whose name does not start with the host triplet. If you think this
16758 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16759 ac_tool_warned=yes ;;
16760 esac
16761 STRIP=$ac_ct_STRIP
16762 fi
16763 else
16764 STRIP="$ac_cv_prog_STRIP"
16765 fi
16766
16767
16768 if test "$wxUSE_WINE" = "yes"; then
16769 if test -n "$ac_tool_prefix"; then
16770 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16771 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16774 if test "${ac_cv_prog_WINDRES+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 else
16777 if test -n "$WINDRES"; then
16778 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16779 else
16780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16781 for as_dir in $PATH
16782 do
16783 IFS=$as_save_IFS
16784 test -z "$as_dir" && as_dir=.
16785 for ac_exec_ext in '' $ac_executable_extensions; do
16786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16787 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16789 break 2
16790 fi
16791 done
16792 done
16793 IFS=$as_save_IFS
16794
16795 fi
16796 fi
16797 WINDRES=$ac_cv_prog_WINDRES
16798 if test -n "$WINDRES"; then
16799 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16800 echo "${ECHO_T}$WINDRES" >&6; }
16801 else
16802 { echo "$as_me:$LINENO: result: no" >&5
16803 echo "${ECHO_T}no" >&6; }
16804 fi
16805
16806
16807 fi
16808 if test -z "$ac_cv_prog_WINDRES"; then
16809 ac_ct_WINDRES=$WINDRES
16810 # Extract the first word of "wrc", so it can be a program name with args.
16811 set dummy wrc; ac_word=$2
16812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16814 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 else
16817 if test -n "$ac_ct_WINDRES"; then
16818 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16819 else
16820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16821 for as_dir in $PATH
16822 do
16823 IFS=$as_save_IFS
16824 test -z "$as_dir" && as_dir=.
16825 for ac_exec_ext in '' $ac_executable_extensions; do
16826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16827 ac_cv_prog_ac_ct_WINDRES="wrc"
16828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16829 break 2
16830 fi
16831 done
16832 done
16833 IFS=$as_save_IFS
16834
16835 fi
16836 fi
16837 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16838 if test -n "$ac_ct_WINDRES"; then
16839 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16840 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16841 else
16842 { echo "$as_me:$LINENO: result: no" >&5
16843 echo "${ECHO_T}no" >&6; }
16844 fi
16845
16846 if test "x$ac_ct_WINDRES" = x; then
16847 WINDRES=""
16848 else
16849 case $cross_compiling:$ac_tool_warned in
16850 yes:)
16851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16852 whose name does not start with the host triplet. If you think this
16853 configuration is useful to you, please write to autoconf@gnu.org." >&5
16854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16855 whose name does not start with the host triplet. If you think this
16856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16857 ac_tool_warned=yes ;;
16858 esac
16859 WINDRES=$ac_ct_WINDRES
16860 fi
16861 else
16862 WINDRES="$ac_cv_prog_WINDRES"
16863 fi
16864
16865 RESCOMP="$WINDRES"
16866 else
16867 case "${host}" in
16868 *-*-cygwin* | *-*-mingw32* )
16869 if test -n "$ac_tool_prefix"; then
16870 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16871 set dummy ${ac_tool_prefix}windres; ac_word=$2
16872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16874 if test "${ac_cv_prog_WINDRES+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 else
16877 if test -n "$WINDRES"; then
16878 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16879 else
16880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16881 for as_dir in $PATH
16882 do
16883 IFS=$as_save_IFS
16884 test -z "$as_dir" && as_dir=.
16885 for ac_exec_ext in '' $ac_executable_extensions; do
16886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16887 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16889 break 2
16890 fi
16891 done
16892 done
16893 IFS=$as_save_IFS
16894
16895 fi
16896 fi
16897 WINDRES=$ac_cv_prog_WINDRES
16898 if test -n "$WINDRES"; then
16899 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16900 echo "${ECHO_T}$WINDRES" >&6; }
16901 else
16902 { echo "$as_me:$LINENO: result: no" >&5
16903 echo "${ECHO_T}no" >&6; }
16904 fi
16905
16906
16907 fi
16908 if test -z "$ac_cv_prog_WINDRES"; then
16909 ac_ct_WINDRES=$WINDRES
16910 # Extract the first word of "windres", so it can be a program name with args.
16911 set dummy windres; ac_word=$2
16912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16914 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 if test -n "$ac_ct_WINDRES"; then
16918 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16919 else
16920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16921 for as_dir in $PATH
16922 do
16923 IFS=$as_save_IFS
16924 test -z "$as_dir" && as_dir=.
16925 for ac_exec_ext in '' $ac_executable_extensions; do
16926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16927 ac_cv_prog_ac_ct_WINDRES="windres"
16928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16929 break 2
16930 fi
16931 done
16932 done
16933 IFS=$as_save_IFS
16934
16935 fi
16936 fi
16937 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16938 if test -n "$ac_ct_WINDRES"; then
16939 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16940 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16941 else
16942 { echo "$as_me:$LINENO: result: no" >&5
16943 echo "${ECHO_T}no" >&6; }
16944 fi
16945
16946 if test "x$ac_ct_WINDRES" = x; then
16947 WINDRES=""
16948 else
16949 case $cross_compiling:$ac_tool_warned in
16950 yes:)
16951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16952 whose name does not start with the host triplet. If you think this
16953 configuration is useful to you, please write to autoconf@gnu.org." >&5
16954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16955 whose name does not start with the host triplet. If you think this
16956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16957 ac_tool_warned=yes ;;
16958 esac
16959 WINDRES=$ac_ct_WINDRES
16960 fi
16961 else
16962 WINDRES="$ac_cv_prog_WINDRES"
16963 fi
16964
16965 RESCOMP="$WINDRES"
16966 if test -n "$ac_tool_prefix"; then
16967 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16968 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16971 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 else
16974 if test -n "$DLLTOOL"; then
16975 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16976 else
16977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16978 for as_dir in $PATH
16979 do
16980 IFS=$as_save_IFS
16981 test -z "$as_dir" && as_dir=.
16982 for ac_exec_ext in '' $ac_executable_extensions; do
16983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16984 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16986 break 2
16987 fi
16988 done
16989 done
16990 IFS=$as_save_IFS
16991
16992 fi
16993 fi
16994 DLLTOOL=$ac_cv_prog_DLLTOOL
16995 if test -n "$DLLTOOL"; then
16996 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16997 echo "${ECHO_T}$DLLTOOL" >&6; }
16998 else
16999 { echo "$as_me:$LINENO: result: no" >&5
17000 echo "${ECHO_T}no" >&6; }
17001 fi
17002
17003
17004 fi
17005 if test -z "$ac_cv_prog_DLLTOOL"; then
17006 ac_ct_DLLTOOL=$DLLTOOL
17007 # Extract the first word of "dlltool", so it can be a program name with args.
17008 set dummy dlltool; ac_word=$2
17009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17011 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17013 else
17014 if test -n "$ac_ct_DLLTOOL"; then
17015 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17016 else
17017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17018 for as_dir in $PATH
17019 do
17020 IFS=$as_save_IFS
17021 test -z "$as_dir" && as_dir=.
17022 for ac_exec_ext in '' $ac_executable_extensions; do
17023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17024 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17026 break 2
17027 fi
17028 done
17029 done
17030 IFS=$as_save_IFS
17031
17032 fi
17033 fi
17034 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17035 if test -n "$ac_ct_DLLTOOL"; then
17036 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17037 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17038 else
17039 { echo "$as_me:$LINENO: result: no" >&5
17040 echo "${ECHO_T}no" >&6; }
17041 fi
17042
17043 if test "x$ac_ct_DLLTOOL" = x; then
17044 DLLTOOL=""
17045 else
17046 case $cross_compiling:$ac_tool_warned in
17047 yes:)
17048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17049 whose name does not start with the host triplet. If you think this
17050 configuration is useful to you, please write to autoconf@gnu.org." >&5
17051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17052 whose name does not start with the host triplet. If you think this
17053 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17054 ac_tool_warned=yes ;;
17055 esac
17056 DLLTOOL=$ac_ct_DLLTOOL
17057 fi
17058 else
17059 DLLTOOL="$ac_cv_prog_DLLTOOL"
17060 fi
17061
17062 ;;
17063 esac
17064 fi
17065
17066 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17067 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17068 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 else
17071
17072 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17073 $EGREP -s GNU > /dev/null); then
17074 wx_cv_prog_makeisgnu="yes"
17075 else
17076 wx_cv_prog_makeisgnu="no"
17077 fi
17078
17079 fi
17080 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17081 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17082
17083 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17084 IF_GNU_MAKE=""
17085 else
17086 IF_GNU_MAKE="#"
17087 fi
17088
17089
17090
17091 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17092 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17093 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17094 if test "${wx_cv_prog_makevpath+set}" = set; then
17095 echo $ECHO_N "(cached) $ECHO_C" >&6
17096 else
17097
17098 cat - << EOF > confMake
17099 check : file
17100 cp \$? \$@
17101 cp \$? final_file
17102 EOF
17103
17104 if test ! -d sub ; then
17105 mkdir sub
17106 fi
17107 echo dummy > sub/file
17108 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17109 RESULT=$?
17110 rm -f sub/file check final_file confMake
17111 rmdir sub
17112 if test "$RESULT" = 0; then
17113 wx_cv_prog_makevpath="yes"
17114 else
17115 wx_cv_prog_makevpath="no"
17116 fi
17117
17118 fi
17119 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17120 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17121
17122 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17123 { { echo "$as_me:$LINENO: error:
17124 You need a make-utility that is able to use the variable
17125 VPATH correctly.
17126 If your version of make does not support VPATH correctly,
17127 please install GNU-make (possibly as gmake), and start
17128 configure with the following command:
17129 export MAKE=gmake; ./configure for sh-type shells
17130 setenv MAKE gmake; ./configure for csh-type shells
17131 Also please do remember to use gmake in this case every time
17132 you are trying to compile.
17133 " >&5
17134 echo "$as_me: error:
17135 You need a make-utility that is able to use the variable
17136 VPATH correctly.
17137 If your version of make does not support VPATH correctly,
17138 please install GNU-make (possibly as gmake), and start
17139 configure with the following command:
17140 export MAKE=gmake; ./configure for sh-type shells
17141 setenv MAKE gmake; ./configure for csh-type shells
17142 Also please do remember to use gmake in this case every time
17143 you are trying to compile.
17144 " >&2;}
17145 { (exit 1); exit 1; }; }
17146 fi fi
17147 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17149 LN_S=$as_ln_s
17150 if test "$LN_S" = "ln -s"; then
17151 { echo "$as_me:$LINENO: result: yes" >&5
17152 echo "${ECHO_T}yes" >&6; }
17153 else
17154 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17155 echo "${ECHO_T}no, using $LN_S" >&6; }
17156 fi
17157
17158
17159
17160
17161 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17162 CXXFLAGS="-qunique $CXXFLAGS"
17163 fi
17164
17165 case "${host}" in
17166 powerpc-*-darwin* )
17167 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17168 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17169 cat >conftest.$ac_ext <<_ACEOF
17170 /* confdefs.h. */
17171 _ACEOF
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175
17176 int
17177 main ()
17178 {
17179 #ifndef __POWERPC__
17180 choke me for lack of PowerPC
17181 #endif
17182
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 rm -f conftest.$ac_objext
17188 if { (ac_try="$ac_compile"
17189 case "(($ac_try" in
17190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17192 esac
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
17195 ac_status=$?
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && {
17201 test -z "$ac_c_werror_flag" ||
17202 test ! -s conftest.err
17203 } && test -s conftest.$ac_objext; then
17204 { echo "$as_me:$LINENO: result: yes" >&5
17205 echo "${ECHO_T}yes" >&6; }
17206 else
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17209
17210 { echo "$as_me:$LINENO: result: no" >&5
17211 echo "${ECHO_T}no" >&6; }
17212 cat >>confdefs.h <<\_ACEOF
17213 #define __POWERPC__ 1
17214 _ACEOF
17215
17216
17217 fi
17218
17219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17220 ;;
17221 esac
17222
17223 case "${host}" in
17224 *-*-darwin* )
17225 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17226 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17227 cat >conftest.$ac_ext <<_ACEOF
17228 /* confdefs.h. */
17229 _ACEOF
17230 cat confdefs.h >>conftest.$ac_ext
17231 cat >>conftest.$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233 #include <CoreFoundation/CFBase.h>
17234
17235 int
17236 main ()
17237 {
17238
17239 ;
17240 return 0;
17241 }
17242 _ACEOF
17243 rm -f conftest.$ac_objext
17244 if { (ac_try="$ac_compile"
17245 case "(($ac_try" in
17246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17248 esac
17249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17250 (eval "$ac_compile") 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && {
17257 test -z "$ac_c_werror_flag" ||
17258 test ! -s conftest.err
17259 } && test -s conftest.$ac_objext; then
17260 { echo "$as_me:$LINENO: result: yes" >&5
17261 echo "${ECHO_T}yes" >&6; }
17262 else
17263 echo "$as_me: failed program was:" >&5
17264 sed 's/^/| /' conftest.$ac_ext >&5
17265
17266 { echo "$as_me:$LINENO: result: no" >&5
17267 echo "${ECHO_T}no" >&6; }
17268 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17269 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #define __CF_USE_FRAMEWORK_INCLUDES__
17277 #include <CoreFoundation/CFBase.h>
17278
17279 int
17280 main ()
17281 {
17282
17283 ;
17284 return 0;
17285 }
17286 _ACEOF
17287 rm -f conftest.$ac_objext
17288 if { (ac_try="$ac_compile"
17289 case "(($ac_try" in
17290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17291 *) ac_try_echo=$ac_try;;
17292 esac
17293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17294 (eval "$ac_compile") 2>conftest.er1
17295 ac_status=$?
17296 grep -v '^ *+' conftest.er1 >conftest.err
17297 rm -f conftest.er1
17298 cat conftest.err >&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); } && {
17301 test -z "$ac_c_werror_flag" ||
17302 test ! -s conftest.err
17303 } && test -s conftest.$ac_objext; then
17304 { echo "$as_me:$LINENO: result: yes" >&5
17305 echo "${ECHO_T}yes" >&6; }
17306 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17307 else
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17310
17311 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17312 See \`config.log' for more details." >&5
17313 echo "$as_me: error: no. CoreFoundation not available.
17314 See \`config.log' for more details." >&2;}
17315 { (exit 1); exit 1; }; }
17316
17317 fi
17318
17319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17320
17321
17322 fi
17323
17324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17325 ;;
17326 esac
17327
17328 wants_win32=0
17329 doesnt_want_win32=0
17330 case "${host}" in
17331 *-*-cygwin*)
17332 if test "$wxUSE_MSW" = 1 ; then
17333 wants_win32=1
17334 else
17335 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17336 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17337 if test "${wx_cv_nocygwin+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 else
17340
17341 cat >conftest.$ac_ext <<_ACEOF
17342 /* confdefs.h. */
17343 _ACEOF
17344 cat confdefs.h >>conftest.$ac_ext
17345 cat >>conftest.$ac_ext <<_ACEOF
17346 /* end confdefs.h. */
17347
17348 int
17349 main ()
17350 {
17351
17352 #ifdef __MINGW32__
17353 choke me
17354 #endif
17355
17356 ;
17357 return 0;
17358 }
17359 _ACEOF
17360 rm -f conftest.$ac_objext
17361 if { (ac_try="$ac_compile"
17362 case "(($ac_try" in
17363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17365 esac
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_compile") 2>conftest.er1
17368 ac_status=$?
17369 grep -v '^ *+' conftest.er1 >conftest.err
17370 rm -f conftest.er1
17371 cat conftest.err >&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } && {
17374 test -z "$ac_c_werror_flag" ||
17375 test ! -s conftest.err
17376 } && test -s conftest.$ac_objext; then
17377 wx_cv_nocygwin=no
17378 else
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17381
17382 wx_cv_nocygwin=yes
17383
17384 fi
17385
17386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17387
17388
17389 fi
17390 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17391 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17392
17393 if test "$wx_cv_nocygwin" = "yes"; then
17394 wants_win32=1
17395 else
17396 doesnt_want_win32=1
17397 fi
17398 fi
17399 if test "$wants_win32" = 1 ; then
17400 BAKEFILE_FORCE_PLATFORM=win32
17401 fi
17402 ;;
17403 *-*-mingw*)
17404 wants_win32=1
17405 ;;
17406 esac
17407
17408 if test "$wxUSE_WINE" = "yes"; then
17409 wants_win32=1
17410 LDFLAGS_GUI="-mwindows"
17411 fi
17412
17413 if test "$wants_win32" = 1 ; then
17414 USE_UNIX=0
17415 USE_WIN32=1
17416 cat >>confdefs.h <<\_ACEOF
17417 #define __WIN32__ 1
17418 _ACEOF
17419
17420 cat >>confdefs.h <<\_ACEOF
17421 #define __WIN95__ 1
17422 _ACEOF
17423
17424 cat >>confdefs.h <<\_ACEOF
17425 #define __WINDOWS__ 1
17426 _ACEOF
17427
17428 cat >>confdefs.h <<\_ACEOF
17429 #define __GNUWIN32__ 1
17430 _ACEOF
17431
17432 cat >>confdefs.h <<\_ACEOF
17433 #define STRICT 1
17434 _ACEOF
17435
17436 fi
17437 if test "$doesnt_want_win32" = 1 ; then
17438 USE_UNIX=1
17439 USE_WIN32=0
17440 fi
17441
17442 if test "$USE_UNIX" = 1 ; then
17443 wxUSE_UNIX=yes
17444 cat >>confdefs.h <<\_ACEOF
17445 #define __UNIX__ 1
17446 _ACEOF
17447
17448 fi
17449
17450 case "${host}" in
17451 *-pc-os2_emx | *-pc-os2-emx )
17452 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17453 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17454 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17455 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17456 echo $ECHO_N "(cached) $ECHO_C" >&6
17457 else
17458 ac_check_lib_save_LIBS=$LIBS
17459 LIBS="-lcExt $LIBS"
17460 cat >conftest.$ac_ext <<_ACEOF
17461 /* confdefs.h. */
17462 _ACEOF
17463 cat confdefs.h >>conftest.$ac_ext
17464 cat >>conftest.$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466
17467 /* Override any GCC internal prototype to avoid an error.
17468 Use char because int might match the return type of a GCC
17469 builtin and then its argument prototype would still apply. */
17470 #ifdef __cplusplus
17471 extern "C"
17472 #endif
17473 char drand48 ();
17474 int
17475 main ()
17476 {
17477 return drand48 ();
17478 ;
17479 return 0;
17480 }
17481 _ACEOF
17482 rm -f conftest.$ac_objext conftest$ac_exeext
17483 if { (ac_try="$ac_link"
17484 case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17487 esac
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_link") 2>conftest.er1
17490 ac_status=$?
17491 grep -v '^ *+' conftest.er1 >conftest.err
17492 rm -f conftest.er1
17493 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } && {
17496 test -z "$ac_c_werror_flag" ||
17497 test ! -s conftest.err
17498 } && test -s conftest$ac_exeext &&
17499 $as_test_x conftest$ac_exeext; then
17500 ac_cv_lib_cExt_drand48=yes
17501 else
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17504
17505 ac_cv_lib_cExt_drand48=no
17506 fi
17507
17508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17509 conftest$ac_exeext conftest.$ac_ext
17510 LIBS=$ac_check_lib_save_LIBS
17511 fi
17512 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17513 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17514 if test $ac_cv_lib_cExt_drand48 = yes; then
17515 LIBS="$LIBS -lcExt"
17516 fi
17517
17518 else
17519 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17520 fi
17521 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17522 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17523 if test "${wx_cv_gccversion+set}" = set; then
17524 echo $ECHO_N "(cached) $ECHO_C" >&6
17525 else
17526
17527 if test "$cross_compiling" = yes; then
17528 wx_cv_gccversion="EMX2"
17529
17530 else
17531 cat >conftest.$ac_ext <<_ACEOF
17532 /* confdefs.h. */
17533 _ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537
17538 #include <stdio.h>
17539
17540 int main()
17541 {
17542 FILE *f=fopen("conftestval", "w");
17543 if (!f) exit(1);
17544 fprintf(f,
17545 #if (__GNUC__ < 3)
17546 "EMX2"
17547 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17548 "EMX3"
17549 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17550 "Innotek5"
17551 #else
17552 "Innotek6"
17553 #endif
17554 );
17555 exit(0);
17556 }
17557
17558 _ACEOF
17559 rm -f conftest$ac_exeext
17560 if { (ac_try="$ac_link"
17561 case "(($ac_try" in
17562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17563 *) ac_try_echo=$ac_try;;
17564 esac
17565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17566 (eval "$ac_link") 2>&5
17567 ac_status=$?
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17570 { (case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17573 esac
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_try") 2>&5
17576 ac_status=$?
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17579 wx_cv_gccversion=`cat conftestval`
17580 else
17581 echo "$as_me: program exited with status $ac_status" >&5
17582 echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.$ac_ext >&5
17584
17585 ( exit $ac_status )
17586 wx_cv_gccversion="EMX2"
17587 fi
17588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17589 fi
17590
17591
17592
17593 fi
17594 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17595 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17596 if test "$wx_cv_gccversion" = "EMX2"; then
17597 LIBS="$LIBS -lstdcpp"
17598 LDFLAGS="$LDFLAGS -Zsysv-signals"
17599 else
17600 if test "$wx_cv_gccversion" = "EMX3"; then
17601 LIBS="$LIBS -lstdcxx -lgcc"
17602 LDFLAGS="$LDFLAGS -Zsysv-signals"
17603 else
17604 LIBS="$LIBS -lstdc++"
17605 fi
17606 fi
17607 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17608 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17609 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17610 wxUSE_OMF=yes
17611 enable_omf=yes
17612 fi
17613 ;;
17614 *)
17615
17616 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17617 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17618 if test "${ac_cv_string_strcasecmp+set}" = set; then
17619 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 else
17621
17622 cat >conftest.$ac_ext <<_ACEOF
17623 /* confdefs.h. */
17624 _ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628
17629 #include <string.h>
17630
17631 int
17632 main ()
17633 {
17634
17635 strcasecmp("foo", "bar");
17636
17637 ;
17638 return 0;
17639 }
17640 _ACEOF
17641 rm -f conftest.$ac_objext conftest$ac_exeext
17642 if { (ac_try="$ac_link"
17643 case "(($ac_try" in
17644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17645 *) ac_try_echo=$ac_try;;
17646 esac
17647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17648 (eval "$ac_link") 2>conftest.er1
17649 ac_status=$?
17650 grep -v '^ *+' conftest.er1 >conftest.err
17651 rm -f conftest.er1
17652 cat conftest.err >&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); } && {
17655 test -z "$ac_c_werror_flag" ||
17656 test ! -s conftest.err
17657 } && test -s conftest$ac_exeext &&
17658 $as_test_x conftest$ac_exeext; then
17659 ac_cv_string_strcasecmp=yes
17660 else
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17663
17664 ac_cv_string_strcasecmp=no
17665
17666 fi
17667
17668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17669 conftest$ac_exeext conftest.$ac_ext
17670
17671 fi
17672 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17673 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17674
17675 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17676 cat >>confdefs.h <<\_ACEOF
17677 #define HAVE_STRCASECMP_IN_STRING_H 1
17678 _ACEOF
17679
17680 else
17681 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17682 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17683 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17684 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 else
17686
17687 cat >conftest.$ac_ext <<_ACEOF
17688 /* confdefs.h. */
17689 _ACEOF
17690 cat confdefs.h >>conftest.$ac_ext
17691 cat >>conftest.$ac_ext <<_ACEOF
17692 /* end confdefs.h. */
17693
17694 #include <strings.h>
17695
17696 int
17697 main ()
17698 {
17699
17700 strcasecmp("foo", "bar");
17701
17702 ;
17703 return 0;
17704 }
17705 _ACEOF
17706 rm -f conftest.$ac_objext conftest$ac_exeext
17707 if { (ac_try="$ac_link"
17708 case "(($ac_try" in
17709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17710 *) ac_try_echo=$ac_try;;
17711 esac
17712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17713 (eval "$ac_link") 2>conftest.er1
17714 ac_status=$?
17715 grep -v '^ *+' conftest.er1 >conftest.err
17716 rm -f conftest.er1
17717 cat conftest.err >&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); } && {
17720 test -z "$ac_c_werror_flag" ||
17721 test ! -s conftest.err
17722 } && test -s conftest$ac_exeext &&
17723 $as_test_x conftest$ac_exeext; then
17724 ac_cv_strings_strcasecmp=yes
17725 else
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17728
17729 ac_cv_strings_strcasecmp=no
17730
17731 fi
17732
17733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17734 conftest$ac_exeext conftest.$ac_ext
17735
17736 fi
17737 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17738 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17739
17740 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17741 cat >>confdefs.h <<\_ACEOF
17742 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17743 _ACEOF
17744
17745 else
17746 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17747 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17748 { (exit 1); exit 1; }; }
17749 fi
17750 fi
17751
17752 ;;
17753 esac
17754
17755
17756 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17757 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17758 if test "${ac_cv_header_stdc+set}" = set; then
17759 echo $ECHO_N "(cached) $ECHO_C" >&6
17760 else
17761 cat >conftest.$ac_ext <<_ACEOF
17762 /* confdefs.h. */
17763 _ACEOF
17764 cat confdefs.h >>conftest.$ac_ext
17765 cat >>conftest.$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 #include <stdlib.h>
17768 #include <stdarg.h>
17769 #include <string.h>
17770 #include <float.h>
17771
17772 int
17773 main ()
17774 {
17775
17776 ;
17777 return 0;
17778 }
17779 _ACEOF
17780 rm -f conftest.$ac_objext
17781 if { (ac_try="$ac_compile"
17782 case "(($ac_try" in
17783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17784 *) ac_try_echo=$ac_try;;
17785 esac
17786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17787 (eval "$ac_compile") 2>conftest.er1
17788 ac_status=$?
17789 grep -v '^ *+' conftest.er1 >conftest.err
17790 rm -f conftest.er1
17791 cat conftest.err >&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } && {
17794 test -z "$ac_c_werror_flag" ||
17795 test ! -s conftest.err
17796 } && test -s conftest.$ac_objext; then
17797 ac_cv_header_stdc=yes
17798 else
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.$ac_ext >&5
17801
17802 ac_cv_header_stdc=no
17803 fi
17804
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806
17807 if test $ac_cv_header_stdc = yes; then
17808 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17809 cat >conftest.$ac_ext <<_ACEOF
17810 /* confdefs.h. */
17811 _ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17815 #include <string.h>
17816
17817 _ACEOF
17818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17819 $EGREP "memchr" >/dev/null 2>&1; then
17820 :
17821 else
17822 ac_cv_header_stdc=no
17823 fi
17824 rm -f conftest*
17825
17826 fi
17827
17828 if test $ac_cv_header_stdc = yes; then
17829 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17830 cat >conftest.$ac_ext <<_ACEOF
17831 /* confdefs.h. */
17832 _ACEOF
17833 cat confdefs.h >>conftest.$ac_ext
17834 cat >>conftest.$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 #include <stdlib.h>
17837
17838 _ACEOF
17839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17840 $EGREP "free" >/dev/null 2>&1; then
17841 :
17842 else
17843 ac_cv_header_stdc=no
17844 fi
17845 rm -f conftest*
17846
17847 fi
17848
17849 if test $ac_cv_header_stdc = yes; then
17850 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17851 if test "$cross_compiling" = yes; then
17852 :
17853 else
17854 cat >conftest.$ac_ext <<_ACEOF
17855 /* confdefs.h. */
17856 _ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860 #include <ctype.h>
17861 #include <stdlib.h>
17862 #if ((' ' & 0x0FF) == 0x020)
17863 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17864 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17865 #else
17866 # define ISLOWER(c) \
17867 (('a' <= (c) && (c) <= 'i') \
17868 || ('j' <= (c) && (c) <= 'r') \
17869 || ('s' <= (c) && (c) <= 'z'))
17870 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17871 #endif
17872
17873 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17874 int
17875 main ()
17876 {
17877 int i;
17878 for (i = 0; i < 256; i++)
17879 if (XOR (islower (i), ISLOWER (i))
17880 || toupper (i) != TOUPPER (i))
17881 return 2;
17882 return 0;
17883 }
17884 _ACEOF
17885 rm -f conftest$ac_exeext
17886 if { (ac_try="$ac_link"
17887 case "(($ac_try" in
17888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17889 *) ac_try_echo=$ac_try;;
17890 esac
17891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17892 (eval "$ac_link") 2>&5
17893 ac_status=$?
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17896 { (case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17899 esac
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_try") 2>&5
17902 ac_status=$?
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17905 :
17906 else
17907 echo "$as_me: program exited with status $ac_status" >&5
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17910
17911 ( exit $ac_status )
17912 ac_cv_header_stdc=no
17913 fi
17914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17915 fi
17916
17917
17918 fi
17919 fi
17920 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17921 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17922 if test $ac_cv_header_stdc = yes; then
17923
17924 cat >>confdefs.h <<\_ACEOF
17925 #define STDC_HEADERS 1
17926 _ACEOF
17927
17928 fi
17929
17930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17941 inttypes.h stdint.h unistd.h
17942 do
17943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17948 else
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 $ac_includes_default
17956
17957 #include <$ac_header>
17958 _ACEOF
17959 rm -f conftest.$ac_objext
17960 if { (ac_try="$ac_compile"
17961 case "(($ac_try" in
17962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17963 *) ac_try_echo=$ac_try;;
17964 esac
17965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17966 (eval "$ac_compile") 2>conftest.er1
17967 ac_status=$?
17968 grep -v '^ *+' conftest.er1 >conftest.err
17969 rm -f conftest.er1
17970 cat conftest.err >&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } && {
17973 test -z "$ac_c_werror_flag" ||
17974 test ! -s conftest.err
17975 } && test -s conftest.$ac_objext; then
17976 eval "$as_ac_Header=yes"
17977 else
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.$ac_ext >&5
17980
17981 eval "$as_ac_Header=no"
17982 fi
17983
17984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17985 fi
17986 ac_res=`eval echo '${'$as_ac_Header'}'`
17987 { echo "$as_me:$LINENO: result: $ac_res" >&5
17988 echo "${ECHO_T}$ac_res" >&6; }
17989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17990 cat >>confdefs.h <<_ACEOF
17991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17992 _ACEOF
17993
17994 fi
17995
17996 done
17997
17998
17999
18000
18001
18002
18003
18004
18005 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18006 do
18007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18011 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 else
18013 cat >conftest.$ac_ext <<_ACEOF
18014 /* confdefs.h. */
18015 _ACEOF
18016 cat confdefs.h >>conftest.$ac_ext
18017 cat >>conftest.$ac_ext <<_ACEOF
18018 /* end confdefs.h. */
18019 $ac_includes_default
18020
18021 #include <$ac_header>
18022 _ACEOF
18023 rm -f conftest.$ac_objext
18024 if { (ac_try="$ac_compile"
18025 case "(($ac_try" in
18026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18027 *) ac_try_echo=$ac_try;;
18028 esac
18029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18030 (eval "$ac_compile") 2>conftest.er1
18031 ac_status=$?
18032 grep -v '^ *+' conftest.er1 >conftest.err
18033 rm -f conftest.er1
18034 cat conftest.err >&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); } && {
18037 test -z "$ac_c_werror_flag" ||
18038 test ! -s conftest.err
18039 } && test -s conftest.$ac_objext; then
18040 eval "$as_ac_Header=yes"
18041 else
18042 echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18044
18045 eval "$as_ac_Header=no"
18046 fi
18047
18048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18049 fi
18050 ac_res=`eval echo '${'$as_ac_Header'}'`
18051 { echo "$as_me:$LINENO: result: $ac_res" >&5
18052 echo "${ECHO_T}$ac_res" >&6; }
18053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18054 cat >>confdefs.h <<_ACEOF
18055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18056 _ACEOF
18057
18058 fi
18059
18060 done
18061
18062
18063 if test "$ac_cv_header_wchar_h" != "yes"; then
18064 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18065 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18066 if test "${ac_cv_header_wcstr_h+set}" = set; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 else
18069 cat >conftest.$ac_ext <<_ACEOF
18070 /* confdefs.h. */
18071 _ACEOF
18072 cat confdefs.h >>conftest.$ac_ext
18073 cat >>conftest.$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18075 $ac_includes_default
18076
18077 #include <wcstr.h>
18078 _ACEOF
18079 rm -f conftest.$ac_objext
18080 if { (ac_try="$ac_compile"
18081 case "(($ac_try" in
18082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18084 esac
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_compile") 2>conftest.er1
18087 ac_status=$?
18088 grep -v '^ *+' conftest.er1 >conftest.err
18089 rm -f conftest.er1
18090 cat conftest.err >&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } && {
18093 test -z "$ac_c_werror_flag" ||
18094 test ! -s conftest.err
18095 } && test -s conftest.$ac_objext; then
18096 ac_cv_header_wcstr_h=yes
18097 else
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18100
18101 ac_cv_header_wcstr_h=no
18102 fi
18103
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105 fi
18106 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18107 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18108
18109
18110 fi
18111
18112 case "${host}" in
18113 *-pc-os2_emx | *-pc-os2-emx )
18114 if test $ac_cv_header_langinfo_h = "yes" \
18115 -a \( "$wx_cv_gccversion" = "EMX2" \
18116 -o "$wx_cv_gccversion" = "EMX3" \
18117 -o "$wx_cv_gccversion" = "Innotek5" \); then
18118 LIBS="$LIBS -lintl"
18119 fi
18120 ;;
18121 esac
18122
18123 if test "$USE_UNIX" = 1 ; then
18124 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18125 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18126 if test "${ac_cv_header_sys_select_h+set}" = set; then
18127 echo $ECHO_N "(cached) $ECHO_C" >&6
18128 else
18129 cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h. */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 $ac_includes_default
18136
18137 #include <sys/select.h>
18138 _ACEOF
18139 rm -f conftest.$ac_objext
18140 if { (ac_try="$ac_compile"
18141 case "(($ac_try" in
18142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18143 *) ac_try_echo=$ac_try;;
18144 esac
18145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18146 (eval "$ac_compile") 2>conftest.er1
18147 ac_status=$?
18148 grep -v '^ *+' conftest.er1 >conftest.err
18149 rm -f conftest.er1
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } && {
18153 test -z "$ac_c_werror_flag" ||
18154 test ! -s conftest.err
18155 } && test -s conftest.$ac_objext; then
18156 ac_cv_header_sys_select_h=yes
18157 else
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18160
18161 ac_cv_header_sys_select_h=no
18162 fi
18163
18164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165 fi
18166 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18167 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18168
18169
18170 fi
18171
18172
18173 for ac_header in sys/epoll.h
18174 do
18175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18177 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 fi
18182 ac_res=`eval echo '${'$as_ac_Header'}'`
18183 { echo "$as_me:$LINENO: result: $ac_res" >&5
18184 echo "${ECHO_T}$ac_res" >&6; }
18185 else
18186 # Is the header compilable?
18187 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18189 cat >conftest.$ac_ext <<_ACEOF
18190 /* confdefs.h. */
18191 _ACEOF
18192 cat confdefs.h >>conftest.$ac_ext
18193 cat >>conftest.$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18195 $ac_includes_default
18196 #include <$ac_header>
18197 _ACEOF
18198 rm -f conftest.$ac_objext
18199 if { (ac_try="$ac_compile"
18200 case "(($ac_try" in
18201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18202 *) ac_try_echo=$ac_try;;
18203 esac
18204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18205 (eval "$ac_compile") 2>conftest.er1
18206 ac_status=$?
18207 grep -v '^ *+' conftest.er1 >conftest.err
18208 rm -f conftest.er1
18209 cat conftest.err >&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } && {
18212 test -z "$ac_c_werror_flag" ||
18213 test ! -s conftest.err
18214 } && test -s conftest.$ac_objext; then
18215 ac_header_compiler=yes
18216 else
18217 echo "$as_me: failed program was:" >&5
18218 sed 's/^/| /' conftest.$ac_ext >&5
18219
18220 ac_header_compiler=no
18221 fi
18222
18223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18224 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18225 echo "${ECHO_T}$ac_header_compiler" >&6; }
18226
18227 # Is the header present?
18228 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18230 cat >conftest.$ac_ext <<_ACEOF
18231 /* confdefs.h. */
18232 _ACEOF
18233 cat confdefs.h >>conftest.$ac_ext
18234 cat >>conftest.$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18236 #include <$ac_header>
18237 _ACEOF
18238 if { (ac_try="$ac_cpp conftest.$ac_ext"
18239 case "(($ac_try" in
18240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18241 *) ac_try_echo=$ac_try;;
18242 esac
18243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18244 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18245 ac_status=$?
18246 grep -v '^ *+' conftest.er1 >conftest.err
18247 rm -f conftest.er1
18248 cat conftest.err >&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } >/dev/null && {
18251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18252 test ! -s conftest.err
18253 }; then
18254 ac_header_preproc=yes
18255 else
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.$ac_ext >&5
18258
18259 ac_header_preproc=no
18260 fi
18261
18262 rm -f conftest.err conftest.$ac_ext
18263 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18264 echo "${ECHO_T}$ac_header_preproc" >&6; }
18265
18266 # So? What about this header?
18267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18268 yes:no: )
18269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18273 ac_header_preproc=yes
18274 ;;
18275 no:yes:* )
18276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18288 ( cat <<\_ASBOX
18289 ## ----------------------------------------- ##
18290 ## Report this to wx-dev@lists.wxwidgets.org ##
18291 ## ----------------------------------------- ##
18292 _ASBOX
18293 ) | sed "s/^/$as_me: WARNING: /" >&2
18294 ;;
18295 esac
18296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18299 echo $ECHO_N "(cached) $ECHO_C" >&6
18300 else
18301 eval "$as_ac_Header=\$ac_header_preproc"
18302 fi
18303 ac_res=`eval echo '${'$as_ac_Header'}'`
18304 { echo "$as_me:$LINENO: result: $ac_res" >&5
18305 echo "${ECHO_T}$ac_res" >&6; }
18306
18307 fi
18308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18309 cat >>confdefs.h <<_ACEOF
18310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18311 _ACEOF
18312
18313 fi
18314
18315 done
18316
18317
18318
18319 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18320 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18321 if test "${ac_cv_c_const+set}" = set; then
18322 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 else
18324 cat >conftest.$ac_ext <<_ACEOF
18325 /* confdefs.h. */
18326 _ACEOF
18327 cat confdefs.h >>conftest.$ac_ext
18328 cat >>conftest.$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18330
18331 int
18332 main ()
18333 {
18334 /* FIXME: Include the comments suggested by Paul. */
18335 #ifndef __cplusplus
18336 /* Ultrix mips cc rejects this. */
18337 typedef int charset[2];
18338 const charset cs;
18339 /* SunOS 4.1.1 cc rejects this. */
18340 char const *const *pcpcc;
18341 char **ppc;
18342 /* NEC SVR4.0.2 mips cc rejects this. */
18343 struct point {int x, y;};
18344 static struct point const zero = {0,0};
18345 /* AIX XL C 1.02.0.0 rejects this.
18346 It does not let you subtract one const X* pointer from another in
18347 an arm of an if-expression whose if-part is not a constant
18348 expression */
18349 const char *g = "string";
18350 pcpcc = &g + (g ? g-g : 0);
18351 /* HPUX 7.0 cc rejects these. */
18352 ++pcpcc;
18353 ppc = (char**) pcpcc;
18354 pcpcc = (char const *const *) ppc;
18355 { /* SCO 3.2v4 cc rejects this. */
18356 char *t;
18357 char const *s = 0 ? (char *) 0 : (char const *) 0;
18358
18359 *t++ = 0;
18360 if (s) return 0;
18361 }
18362 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18363 int x[] = {25, 17};
18364 const int *foo = &x[0];
18365 ++foo;
18366 }
18367 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18368 typedef const int *iptr;
18369 iptr p = 0;
18370 ++p;
18371 }
18372 { /* AIX XL C 1.02.0.0 rejects this saying
18373 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18374 struct s { int j; const int *ap[3]; };
18375 struct s *b; b->j = 5;
18376 }
18377 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18378 const int foo = 10;
18379 if (!foo) return 0;
18380 }
18381 return !cs[0] && !zero.x;
18382 #endif
18383
18384 ;
18385 return 0;
18386 }
18387 _ACEOF
18388 rm -f conftest.$ac_objext
18389 if { (ac_try="$ac_compile"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18393 esac
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_compile") 2>conftest.er1
18396 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_c_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then
18405 ac_cv_c_const=yes
18406 else
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18409
18410 ac_cv_c_const=no
18411 fi
18412
18413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18414 fi
18415 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18416 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18417 if test $ac_cv_c_const = no; then
18418
18419 cat >>confdefs.h <<\_ACEOF
18420 #define const
18421 _ACEOF
18422
18423 fi
18424
18425 { echo "$as_me:$LINENO: checking for inline" >&5
18426 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18427 if test "${ac_cv_c_inline+set}" = set; then
18428 echo $ECHO_N "(cached) $ECHO_C" >&6
18429 else
18430 ac_cv_c_inline=no
18431 for ac_kw in inline __inline__ __inline; do
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 #ifndef __cplusplus
18439 typedef int foo_t;
18440 static $ac_kw foo_t static_foo () {return 0; }
18441 $ac_kw foo_t foo () {return 0; }
18442 #endif
18443
18444 _ACEOF
18445 rm -f conftest.$ac_objext
18446 if { (ac_try="$ac_compile"
18447 case "(($ac_try" in
18448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18449 *) ac_try_echo=$ac_try;;
18450 esac
18451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18452 (eval "$ac_compile") 2>conftest.er1
18453 ac_status=$?
18454 grep -v '^ *+' conftest.er1 >conftest.err
18455 rm -f conftest.er1
18456 cat conftest.err >&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } && {
18459 test -z "$ac_c_werror_flag" ||
18460 test ! -s conftest.err
18461 } && test -s conftest.$ac_objext; then
18462 ac_cv_c_inline=$ac_kw
18463 else
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5
18466
18467
18468 fi
18469
18470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 test "$ac_cv_c_inline" != no && break
18472 done
18473
18474 fi
18475 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18476 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18477
18478
18479 case $ac_cv_c_inline in
18480 inline | yes) ;;
18481 *)
18482 case $ac_cv_c_inline in
18483 no) ac_val=;;
18484 *) ac_val=$ac_cv_c_inline;;
18485 esac
18486 cat >>confdefs.h <<_ACEOF
18487 #ifndef __cplusplus
18488 #define inline $ac_val
18489 #endif
18490 _ACEOF
18491 ;;
18492 esac
18493
18494
18495 { echo "$as_me:$LINENO: checking for short" >&5
18496 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18497 if test "${ac_cv_type_short+set}" = set; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 else
18500 cat >conftest.$ac_ext <<_ACEOF
18501 /* confdefs.h. */
18502 _ACEOF
18503 cat confdefs.h >>conftest.$ac_ext
18504 cat >>conftest.$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 $ac_includes_default
18507 typedef short ac__type_new_;
18508 int
18509 main ()
18510 {
18511 if ((ac__type_new_ *) 0)
18512 return 0;
18513 if (sizeof (ac__type_new_))
18514 return 0;
18515 ;
18516 return 0;
18517 }
18518 _ACEOF
18519 rm -f conftest.$ac_objext
18520 if { (ac_try="$ac_compile"
18521 case "(($ac_try" in
18522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18523 *) ac_try_echo=$ac_try;;
18524 esac
18525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18526 (eval "$ac_compile") 2>conftest.er1
18527 ac_status=$?
18528 grep -v '^ *+' conftest.er1 >conftest.err
18529 rm -f conftest.er1
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } && {
18533 test -z "$ac_c_werror_flag" ||
18534 test ! -s conftest.err
18535 } && test -s conftest.$ac_objext; then
18536 ac_cv_type_short=yes
18537 else
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.$ac_ext >&5
18540
18541 ac_cv_type_short=no
18542 fi
18543
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545 fi
18546 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18547 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18548
18549 # The cast to long int works around a bug in the HP C Compiler
18550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18552 # This bug is HP SR number 8606223364.
18553 { echo "$as_me:$LINENO: checking size of short" >&5
18554 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18555 if test "${ac_cv_sizeof_short+set}" = set; then
18556 echo $ECHO_N "(cached) $ECHO_C" >&6
18557 else
18558 if test "$cross_compiling" = yes; then
18559 # Depending upon the size, compute the lo and hi bounds.
18560 cat >conftest.$ac_ext <<_ACEOF
18561 /* confdefs.h. */
18562 _ACEOF
18563 cat confdefs.h >>conftest.$ac_ext
18564 cat >>conftest.$ac_ext <<_ACEOF
18565 /* end confdefs.h. */
18566 $ac_includes_default
18567 typedef short ac__type_sizeof_;
18568 int
18569 main ()
18570 {
18571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18572 test_array [0] = 0
18573
18574 ;
18575 return 0;
18576 }
18577 _ACEOF
18578 rm -f conftest.$ac_objext
18579 if { (ac_try="$ac_compile"
18580 case "(($ac_try" in
18581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18582 *) ac_try_echo=$ac_try;;
18583 esac
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_compile") 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } && {
18592 test -z "$ac_c_werror_flag" ||
18593 test ! -s conftest.err
18594 } && test -s conftest.$ac_objext; then
18595 ac_lo=0 ac_mid=0
18596 while :; do
18597 cat >conftest.$ac_ext <<_ACEOF
18598 /* confdefs.h. */
18599 _ACEOF
18600 cat confdefs.h >>conftest.$ac_ext
18601 cat >>conftest.$ac_ext <<_ACEOF
18602 /* end confdefs.h. */
18603 $ac_includes_default
18604 typedef short ac__type_sizeof_;
18605 int
18606 main ()
18607 {
18608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18609 test_array [0] = 0
18610
18611 ;
18612 return 0;
18613 }
18614 _ACEOF
18615 rm -f conftest.$ac_objext
18616 if { (ac_try="$ac_compile"
18617 case "(($ac_try" in
18618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18619 *) ac_try_echo=$ac_try;;
18620 esac
18621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18622 (eval "$ac_compile") 2>conftest.er1
18623 ac_status=$?
18624 grep -v '^ *+' conftest.er1 >conftest.err
18625 rm -f conftest.er1
18626 cat conftest.err >&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } && {
18629 test -z "$ac_c_werror_flag" ||
18630 test ! -s conftest.err
18631 } && test -s conftest.$ac_objext; then
18632 ac_hi=$ac_mid; break
18633 else
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18636
18637 ac_lo=`expr $ac_mid + 1`
18638 if test $ac_lo -le $ac_mid; then
18639 ac_lo= ac_hi=
18640 break
18641 fi
18642 ac_mid=`expr 2 '*' $ac_mid + 1`
18643 fi
18644
18645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18646 done
18647 else
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.$ac_ext >&5
18650
18651 cat >conftest.$ac_ext <<_ACEOF
18652 /* confdefs.h. */
18653 _ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 $ac_includes_default
18658 typedef short ac__type_sizeof_;
18659 int
18660 main ()
18661 {
18662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18663 test_array [0] = 0
18664
18665 ;
18666 return 0;
18667 }
18668 _ACEOF
18669 rm -f conftest.$ac_objext
18670 if { (ac_try="$ac_compile"
18671 case "(($ac_try" in
18672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18673 *) ac_try_echo=$ac_try;;
18674 esac
18675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18676 (eval "$ac_compile") 2>conftest.er1
18677 ac_status=$?
18678 grep -v '^ *+' conftest.er1 >conftest.err
18679 rm -f conftest.er1
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } && {
18683 test -z "$ac_c_werror_flag" ||
18684 test ! -s conftest.err
18685 } && test -s conftest.$ac_objext; then
18686 ac_hi=-1 ac_mid=-1
18687 while :; do
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 $ac_includes_default
18695 typedef short ac__type_sizeof_;
18696 int
18697 main ()
18698 {
18699 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18700 test_array [0] = 0
18701
18702 ;
18703 return 0;
18704 }
18705 _ACEOF
18706 rm -f conftest.$ac_objext
18707 if { (ac_try="$ac_compile"
18708 case "(($ac_try" in
18709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18710 *) ac_try_echo=$ac_try;;
18711 esac
18712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18713 (eval "$ac_compile") 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } && {
18720 test -z "$ac_c_werror_flag" ||
18721 test ! -s conftest.err
18722 } && test -s conftest.$ac_objext; then
18723 ac_lo=$ac_mid; break
18724 else
18725 echo "$as_me: failed program was:" >&5
18726 sed 's/^/| /' conftest.$ac_ext >&5
18727
18728 ac_hi=`expr '(' $ac_mid ')' - 1`
18729 if test $ac_mid -le $ac_hi; then
18730 ac_lo= ac_hi=
18731 break
18732 fi
18733 ac_mid=`expr 2 '*' $ac_mid`
18734 fi
18735
18736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18737 done
18738 else
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18741
18742 ac_lo= ac_hi=
18743 fi
18744
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746 fi
18747
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18749 # Binary search between lo and hi bounds.
18750 while test "x$ac_lo" != "x$ac_hi"; do
18751 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18752 cat >conftest.$ac_ext <<_ACEOF
18753 /* confdefs.h. */
18754 _ACEOF
18755 cat confdefs.h >>conftest.$ac_ext
18756 cat >>conftest.$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 $ac_includes_default
18759 typedef short ac__type_sizeof_;
18760 int
18761 main ()
18762 {
18763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18764 test_array [0] = 0
18765
18766 ;
18767 return 0;
18768 }
18769 _ACEOF
18770 rm -f conftest.$ac_objext
18771 if { (ac_try="$ac_compile"
18772 case "(($ac_try" in
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18774 *) ac_try_echo=$ac_try;;
18775 esac
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_compile") 2>conftest.er1
18778 ac_status=$?
18779 grep -v '^ *+' conftest.er1 >conftest.err
18780 rm -f conftest.er1
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } && {
18784 test -z "$ac_c_werror_flag" ||
18785 test ! -s conftest.err
18786 } && test -s conftest.$ac_objext; then
18787 ac_hi=$ac_mid
18788 else
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18791
18792 ac_lo=`expr '(' $ac_mid ')' + 1`
18793 fi
18794
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 done
18797 case $ac_lo in
18798 ?*) ac_cv_sizeof_short=$ac_lo;;
18799 '') if test "$ac_cv_type_short" = yes; then
18800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18801 See \`config.log' for more details." >&5
18802 echo "$as_me: error: cannot compute sizeof (short)
18803 See \`config.log' for more details." >&2;}
18804 { (exit 77); exit 77; }; }
18805 else
18806 ac_cv_sizeof_short=0
18807 fi ;;
18808 esac
18809 else
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h. */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 $ac_includes_default
18817 typedef short ac__type_sizeof_;
18818 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18819 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18820 #include <stdio.h>
18821 #include <stdlib.h>
18822 int
18823 main ()
18824 {
18825
18826 FILE *f = fopen ("conftest.val", "w");
18827 if (! f)
18828 return 1;
18829 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18830 {
18831 long int i = longval ();
18832 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18833 return 1;
18834 fprintf (f, "%ld\n", i);
18835 }
18836 else
18837 {
18838 unsigned long int i = ulongval ();
18839 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18840 return 1;
18841 fprintf (f, "%lu\n", i);
18842 }
18843 return ferror (f) || fclose (f) != 0;
18844
18845 ;
18846 return 0;
18847 }
18848 _ACEOF
18849 rm -f conftest$ac_exeext
18850 if { (ac_try="$ac_link"
18851 case "(($ac_try" in
18852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18854 esac
18855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_link") 2>&5
18857 ac_status=$?
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18860 { (case "(($ac_try" in
18861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18862 *) ac_try_echo=$ac_try;;
18863 esac
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_try") 2>&5
18866 ac_status=$?
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; }; then
18869 ac_cv_sizeof_short=`cat conftest.val`
18870 else
18871 echo "$as_me: program exited with status $ac_status" >&5
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18874
18875 ( exit $ac_status )
18876 if test "$ac_cv_type_short" = yes; then
18877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18878 See \`config.log' for more details." >&5
18879 echo "$as_me: error: cannot compute sizeof (short)
18880 See \`config.log' for more details." >&2;}
18881 { (exit 77); exit 77; }; }
18882 else
18883 ac_cv_sizeof_short=0
18884 fi
18885 fi
18886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18887 fi
18888 rm -f conftest.val
18889 fi
18890 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18891 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18892
18893
18894
18895 cat >>confdefs.h <<_ACEOF
18896 #define SIZEOF_SHORT $ac_cv_sizeof_short
18897 _ACEOF
18898
18899
18900 { echo "$as_me:$LINENO: checking for void *" >&5
18901 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18902 if test "${ac_cv_type_void_p+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 else
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 $ac_includes_default
18912 typedef void * ac__type_new_;
18913 int
18914 main ()
18915 {
18916 if ((ac__type_new_ *) 0)
18917 return 0;
18918 if (sizeof (ac__type_new_))
18919 return 0;
18920 ;
18921 return 0;
18922 }
18923 _ACEOF
18924 rm -f conftest.$ac_objext
18925 if { (ac_try="$ac_compile"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18929 esac
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_compile") 2>conftest.er1
18932 ac_status=$?
18933 grep -v '^ *+' conftest.er1 >conftest.err
18934 rm -f conftest.er1
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } && {
18938 test -z "$ac_c_werror_flag" ||
18939 test ! -s conftest.err
18940 } && test -s conftest.$ac_objext; then
18941 ac_cv_type_void_p=yes
18942 else
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18945
18946 ac_cv_type_void_p=no
18947 fi
18948
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950 fi
18951 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18952 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18953
18954 # The cast to long int works around a bug in the HP C Compiler
18955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18957 # This bug is HP SR number 8606223364.
18958 { echo "$as_me:$LINENO: checking size of void *" >&5
18959 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18960 if test "${ac_cv_sizeof_void_p+set}" = set; then
18961 echo $ECHO_N "(cached) $ECHO_C" >&6
18962 else
18963 if test "$cross_compiling" = yes; then
18964 # Depending upon the size, compute the lo and hi bounds.
18965 cat >conftest.$ac_ext <<_ACEOF
18966 /* confdefs.h. */
18967 _ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18971 $ac_includes_default
18972 typedef void * ac__type_sizeof_;
18973 int
18974 main ()
18975 {
18976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18977 test_array [0] = 0
18978
18979 ;
18980 return 0;
18981 }
18982 _ACEOF
18983 rm -f conftest.$ac_objext
18984 if { (ac_try="$ac_compile"
18985 case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987 *) ac_try_echo=$ac_try;;
18988 esac
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_compile") 2>conftest.er1
18991 ac_status=$?
18992 grep -v '^ *+' conftest.er1 >conftest.err
18993 rm -f conftest.er1
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } && {
18997 test -z "$ac_c_werror_flag" ||
18998 test ! -s conftest.err
18999 } && test -s conftest.$ac_objext; then
19000 ac_lo=0 ac_mid=0
19001 while :; do
19002 cat >conftest.$ac_ext <<_ACEOF
19003 /* confdefs.h. */
19004 _ACEOF
19005 cat confdefs.h >>conftest.$ac_ext
19006 cat >>conftest.$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19008 $ac_includes_default
19009 typedef void * ac__type_sizeof_;
19010 int
19011 main ()
19012 {
19013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19014 test_array [0] = 0
19015
19016 ;
19017 return 0;
19018 }
19019 _ACEOF
19020 rm -f conftest.$ac_objext
19021 if { (ac_try="$ac_compile"
19022 case "(($ac_try" in
19023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19024 *) ac_try_echo=$ac_try;;
19025 esac
19026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19027 (eval "$ac_compile") 2>conftest.er1
19028 ac_status=$?
19029 grep -v '^ *+' conftest.er1 >conftest.err
19030 rm -f conftest.er1
19031 cat conftest.err >&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } && {
19034 test -z "$ac_c_werror_flag" ||
19035 test ! -s conftest.err
19036 } && test -s conftest.$ac_objext; then
19037 ac_hi=$ac_mid; break
19038 else
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.$ac_ext >&5
19041
19042 ac_lo=`expr $ac_mid + 1`
19043 if test $ac_lo -le $ac_mid; then
19044 ac_lo= ac_hi=
19045 break
19046 fi
19047 ac_mid=`expr 2 '*' $ac_mid + 1`
19048 fi
19049
19050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19051 done
19052 else
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19055
19056 cat >conftest.$ac_ext <<_ACEOF
19057 /* confdefs.h. */
19058 _ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 $ac_includes_default
19063 typedef void * ac__type_sizeof_;
19064 int
19065 main ()
19066 {
19067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19068 test_array [0] = 0
19069
19070 ;
19071 return 0;
19072 }
19073 _ACEOF
19074 rm -f conftest.$ac_objext
19075 if { (ac_try="$ac_compile"
19076 case "(($ac_try" in
19077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19078 *) ac_try_echo=$ac_try;;
19079 esac
19080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19081 (eval "$ac_compile") 2>conftest.er1
19082 ac_status=$?
19083 grep -v '^ *+' conftest.er1 >conftest.err
19084 rm -f conftest.er1
19085 cat conftest.err >&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } && {
19088 test -z "$ac_c_werror_flag" ||
19089 test ! -s conftest.err
19090 } && test -s conftest.$ac_objext; then
19091 ac_hi=-1 ac_mid=-1
19092 while :; do
19093 cat >conftest.$ac_ext <<_ACEOF
19094 /* confdefs.h. */
19095 _ACEOF
19096 cat confdefs.h >>conftest.$ac_ext
19097 cat >>conftest.$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19099 $ac_includes_default
19100 typedef void * ac__type_sizeof_;
19101 int
19102 main ()
19103 {
19104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19105 test_array [0] = 0
19106
19107 ;
19108 return 0;
19109 }
19110 _ACEOF
19111 rm -f conftest.$ac_objext
19112 if { (ac_try="$ac_compile"
19113 case "(($ac_try" in
19114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19115 *) ac_try_echo=$ac_try;;
19116 esac
19117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19118 (eval "$ac_compile") 2>conftest.er1
19119 ac_status=$?
19120 grep -v '^ *+' conftest.er1 >conftest.err
19121 rm -f conftest.er1
19122 cat conftest.err >&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } && {
19125 test -z "$ac_c_werror_flag" ||
19126 test ! -s conftest.err
19127 } && test -s conftest.$ac_objext; then
19128 ac_lo=$ac_mid; break
19129 else
19130 echo "$as_me: failed program was:" >&5
19131 sed 's/^/| /' conftest.$ac_ext >&5
19132
19133 ac_hi=`expr '(' $ac_mid ')' - 1`
19134 if test $ac_mid -le $ac_hi; then
19135 ac_lo= ac_hi=
19136 break
19137 fi
19138 ac_mid=`expr 2 '*' $ac_mid`
19139 fi
19140
19141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142 done
19143 else
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19146
19147 ac_lo= ac_hi=
19148 fi
19149
19150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19151 fi
19152
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19154 # Binary search between lo and hi bounds.
19155 while test "x$ac_lo" != "x$ac_hi"; do
19156 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19157 cat >conftest.$ac_ext <<_ACEOF
19158 /* confdefs.h. */
19159 _ACEOF
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19163 $ac_includes_default
19164 typedef void * ac__type_sizeof_;
19165 int
19166 main ()
19167 {
19168 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19169 test_array [0] = 0
19170
19171 ;
19172 return 0;
19173 }
19174 _ACEOF
19175 rm -f conftest.$ac_objext
19176 if { (ac_try="$ac_compile"
19177 case "(($ac_try" in
19178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19179 *) ac_try_echo=$ac_try;;
19180 esac
19181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19182 (eval "$ac_compile") 2>conftest.er1
19183 ac_status=$?
19184 grep -v '^ *+' conftest.er1 >conftest.err
19185 rm -f conftest.er1
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } && {
19189 test -z "$ac_c_werror_flag" ||
19190 test ! -s conftest.err
19191 } && test -s conftest.$ac_objext; then
19192 ac_hi=$ac_mid
19193 else
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.$ac_ext >&5
19196
19197 ac_lo=`expr '(' $ac_mid ')' + 1`
19198 fi
19199
19200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19201 done
19202 case $ac_lo in
19203 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19204 '') if test "$ac_cv_type_void_p" = yes; then
19205 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19206 See \`config.log' for more details." >&5
19207 echo "$as_me: error: cannot compute sizeof (void *)
19208 See \`config.log' for more details." >&2;}
19209 { (exit 77); exit 77; }; }
19210 else
19211 ac_cv_sizeof_void_p=0
19212 fi ;;
19213 esac
19214 else
19215 cat >conftest.$ac_ext <<_ACEOF
19216 /* confdefs.h. */
19217 _ACEOF
19218 cat confdefs.h >>conftest.$ac_ext
19219 cat >>conftest.$ac_ext <<_ACEOF
19220 /* end confdefs.h. */
19221 $ac_includes_default
19222 typedef void * ac__type_sizeof_;
19223 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19224 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19225 #include <stdio.h>
19226 #include <stdlib.h>
19227 int
19228 main ()
19229 {
19230
19231 FILE *f = fopen ("conftest.val", "w");
19232 if (! f)
19233 return 1;
19234 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19235 {
19236 long int i = longval ();
19237 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19238 return 1;
19239 fprintf (f, "%ld\n", i);
19240 }
19241 else
19242 {
19243 unsigned long int i = ulongval ();
19244 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19245 return 1;
19246 fprintf (f, "%lu\n", i);
19247 }
19248 return ferror (f) || fclose (f) != 0;
19249
19250 ;
19251 return 0;
19252 }
19253 _ACEOF
19254 rm -f conftest$ac_exeext
19255 if { (ac_try="$ac_link"
19256 case "(($ac_try" in
19257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19258 *) ac_try_echo=$ac_try;;
19259 esac
19260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19261 (eval "$ac_link") 2>&5
19262 ac_status=$?
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19265 { (case "(($ac_try" in
19266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19267 *) ac_try_echo=$ac_try;;
19268 esac
19269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19270 (eval "$ac_try") 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_sizeof_void_p=`cat conftest.val`
19275 else
19276 echo "$as_me: program exited with status $ac_status" >&5
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19279
19280 ( exit $ac_status )
19281 if test "$ac_cv_type_void_p" = yes; then
19282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19283 See \`config.log' for more details." >&5
19284 echo "$as_me: error: cannot compute sizeof (void *)
19285 See \`config.log' for more details." >&2;}
19286 { (exit 77); exit 77; }; }
19287 else
19288 ac_cv_sizeof_void_p=0
19289 fi
19290 fi
19291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19292 fi
19293 rm -f conftest.val
19294 fi
19295 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19296 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19297
19298
19299
19300 cat >>confdefs.h <<_ACEOF
19301 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19302 _ACEOF
19303
19304
19305 { echo "$as_me:$LINENO: checking for int" >&5
19306 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19307 if test "${ac_cv_type_int+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 else
19310 cat >conftest.$ac_ext <<_ACEOF
19311 /* confdefs.h. */
19312 _ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 $ac_includes_default
19317 typedef int ac__type_new_;
19318 int
19319 main ()
19320 {
19321 if ((ac__type_new_ *) 0)
19322 return 0;
19323 if (sizeof (ac__type_new_))
19324 return 0;
19325 ;
19326 return 0;
19327 }
19328 _ACEOF
19329 rm -f conftest.$ac_objext
19330 if { (ac_try="$ac_compile"
19331 case "(($ac_try" in
19332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19333 *) ac_try_echo=$ac_try;;
19334 esac
19335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19336 (eval "$ac_compile") 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } && {
19343 test -z "$ac_c_werror_flag" ||
19344 test ! -s conftest.err
19345 } && test -s conftest.$ac_objext; then
19346 ac_cv_type_int=yes
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19350
19351 ac_cv_type_int=no
19352 fi
19353
19354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19355 fi
19356 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19357 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19358
19359 # The cast to long int works around a bug in the HP C Compiler
19360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19362 # This bug is HP SR number 8606223364.
19363 { echo "$as_me:$LINENO: checking size of int" >&5
19364 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19365 if test "${ac_cv_sizeof_int+set}" = set; then
19366 echo $ECHO_N "(cached) $ECHO_C" >&6
19367 else
19368 if test "$cross_compiling" = yes; then
19369 # Depending upon the size, compute the lo and hi bounds.
19370 cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h. */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 $ac_includes_default
19377 typedef int ac__type_sizeof_;
19378 int
19379 main ()
19380 {
19381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19382 test_array [0] = 0
19383
19384 ;
19385 return 0;
19386 }
19387 _ACEOF
19388 rm -f conftest.$ac_objext
19389 if { (ac_try="$ac_compile"
19390 case "(($ac_try" in
19391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19392 *) ac_try_echo=$ac_try;;
19393 esac
19394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19395 (eval "$ac_compile") 2>conftest.er1
19396 ac_status=$?
19397 grep -v '^ *+' conftest.er1 >conftest.err
19398 rm -f conftest.er1
19399 cat conftest.err >&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } && {
19402 test -z "$ac_c_werror_flag" ||
19403 test ! -s conftest.err
19404 } && test -s conftest.$ac_objext; then
19405 ac_lo=0 ac_mid=0
19406 while :; do
19407 cat >conftest.$ac_ext <<_ACEOF
19408 /* confdefs.h. */
19409 _ACEOF
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413 $ac_includes_default
19414 typedef int ac__type_sizeof_;
19415 int
19416 main ()
19417 {
19418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19419 test_array [0] = 0
19420
19421 ;
19422 return 0;
19423 }
19424 _ACEOF
19425 rm -f conftest.$ac_objext
19426 if { (ac_try="$ac_compile"
19427 case "(($ac_try" in
19428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19429 *) ac_try_echo=$ac_try;;
19430 esac
19431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19432 (eval "$ac_compile") 2>conftest.er1
19433 ac_status=$?
19434 grep -v '^ *+' conftest.er1 >conftest.err
19435 rm -f conftest.er1
19436 cat conftest.err >&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } && {
19439 test -z "$ac_c_werror_flag" ||
19440 test ! -s conftest.err
19441 } && test -s conftest.$ac_objext; then
19442 ac_hi=$ac_mid; break
19443 else
19444 echo "$as_me: failed program was:" >&5
19445 sed 's/^/| /' conftest.$ac_ext >&5
19446
19447 ac_lo=`expr $ac_mid + 1`
19448 if test $ac_lo -le $ac_mid; then
19449 ac_lo= ac_hi=
19450 break
19451 fi
19452 ac_mid=`expr 2 '*' $ac_mid + 1`
19453 fi
19454
19455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19456 done
19457 else
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.$ac_ext >&5
19460
19461 cat >conftest.$ac_ext <<_ACEOF
19462 /* confdefs.h. */
19463 _ACEOF
19464 cat confdefs.h >>conftest.$ac_ext
19465 cat >>conftest.$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19467 $ac_includes_default
19468 typedef int ac__type_sizeof_;
19469 int
19470 main ()
19471 {
19472 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19473 test_array [0] = 0
19474
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 rm -f conftest.$ac_objext
19480 if { (ac_try="$ac_compile"
19481 case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19484 esac
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_compile") 2>conftest.er1
19487 ac_status=$?
19488 grep -v '^ *+' conftest.er1 >conftest.err
19489 rm -f conftest.er1
19490 cat conftest.err >&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); } && {
19493 test -z "$ac_c_werror_flag" ||
19494 test ! -s conftest.err
19495 } && test -s conftest.$ac_objext; then
19496 ac_hi=-1 ac_mid=-1
19497 while :; do
19498 cat >conftest.$ac_ext <<_ACEOF
19499 /* confdefs.h. */
19500 _ACEOF
19501 cat confdefs.h >>conftest.$ac_ext
19502 cat >>conftest.$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19505 typedef int ac__type_sizeof_;
19506 int
19507 main ()
19508 {
19509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19510 test_array [0] = 0
19511
19512 ;
19513 return 0;
19514 }
19515 _ACEOF
19516 rm -f conftest.$ac_objext
19517 if { (ac_try="$ac_compile"
19518 case "(($ac_try" in
19519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19520 *) ac_try_echo=$ac_try;;
19521 esac
19522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19523 (eval "$ac_compile") 2>conftest.er1
19524 ac_status=$?
19525 grep -v '^ *+' conftest.er1 >conftest.err
19526 rm -f conftest.er1
19527 cat conftest.err >&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && {
19530 test -z "$ac_c_werror_flag" ||
19531 test ! -s conftest.err
19532 } && test -s conftest.$ac_objext; then
19533 ac_lo=$ac_mid; break
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19537
19538 ac_hi=`expr '(' $ac_mid ')' - 1`
19539 if test $ac_mid -le $ac_hi; then
19540 ac_lo= ac_hi=
19541 break
19542 fi
19543 ac_mid=`expr 2 '*' $ac_mid`
19544 fi
19545
19546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 done
19548 else
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19551
19552 ac_lo= ac_hi=
19553 fi
19554
19555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19556 fi
19557
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19559 # Binary search between lo and hi bounds.
19560 while test "x$ac_lo" != "x$ac_hi"; do
19561 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19569 typedef int ac__type_sizeof_;
19570 int
19571 main ()
19572 {
19573 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19574 test_array [0] = 0
19575
19576 ;
19577 return 0;
19578 }
19579 _ACEOF
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19585 esac
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19588 ac_status=$?
19589 grep -v '^ *+' conftest.er1 >conftest.err
19590 rm -f conftest.er1
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } && {
19594 test -z "$ac_c_werror_flag" ||
19595 test ! -s conftest.err
19596 } && test -s conftest.$ac_objext; then
19597 ac_hi=$ac_mid
19598 else
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19601
19602 ac_lo=`expr '(' $ac_mid ')' + 1`
19603 fi
19604
19605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19606 done
19607 case $ac_lo in
19608 ?*) ac_cv_sizeof_int=$ac_lo;;
19609 '') if test "$ac_cv_type_int" = yes; then
19610 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19611 See \`config.log' for more details." >&5
19612 echo "$as_me: error: cannot compute sizeof (int)
19613 See \`config.log' for more details." >&2;}
19614 { (exit 77); exit 77; }; }
19615 else
19616 ac_cv_sizeof_int=0
19617 fi ;;
19618 esac
19619 else
19620 cat >conftest.$ac_ext <<_ACEOF
19621 /* confdefs.h. */
19622 _ACEOF
19623 cat confdefs.h >>conftest.$ac_ext
19624 cat >>conftest.$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19626 $ac_includes_default
19627 typedef int ac__type_sizeof_;
19628 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19629 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19630 #include <stdio.h>
19631 #include <stdlib.h>
19632 int
19633 main ()
19634 {
19635
19636 FILE *f = fopen ("conftest.val", "w");
19637 if (! f)
19638 return 1;
19639 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19640 {
19641 long int i = longval ();
19642 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19643 return 1;
19644 fprintf (f, "%ld\n", i);
19645 }
19646 else
19647 {
19648 unsigned long int i = ulongval ();
19649 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19650 return 1;
19651 fprintf (f, "%lu\n", i);
19652 }
19653 return ferror (f) || fclose (f) != 0;
19654
19655 ;
19656 return 0;
19657 }
19658 _ACEOF
19659 rm -f conftest$ac_exeext
19660 if { (ac_try="$ac_link"
19661 case "(($ac_try" in
19662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19663 *) ac_try_echo=$ac_try;;
19664 esac
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_link") 2>&5
19667 ac_status=$?
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19670 { (case "(($ac_try" in
19671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672 *) ac_try_echo=$ac_try;;
19673 esac
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_try") 2>&5
19676 ac_status=$?
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; }; then
19679 ac_cv_sizeof_int=`cat conftest.val`
19680 else
19681 echo "$as_me: program exited with status $ac_status" >&5
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19684
19685 ( exit $ac_status )
19686 if test "$ac_cv_type_int" = yes; then
19687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19688 See \`config.log' for more details." >&5
19689 echo "$as_me: error: cannot compute sizeof (int)
19690 See \`config.log' for more details." >&2;}
19691 { (exit 77); exit 77; }; }
19692 else
19693 ac_cv_sizeof_int=0
19694 fi
19695 fi
19696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19697 fi
19698 rm -f conftest.val
19699 fi
19700 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19701 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19702
19703
19704
19705 cat >>confdefs.h <<_ACEOF
19706 #define SIZEOF_INT $ac_cv_sizeof_int
19707 _ACEOF
19708
19709
19710 { echo "$as_me:$LINENO: checking for long" >&5
19711 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19712 if test "${ac_cv_type_long+set}" = set; then
19713 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 else
19715 cat >conftest.$ac_ext <<_ACEOF
19716 /* confdefs.h. */
19717 _ACEOF
19718 cat confdefs.h >>conftest.$ac_ext
19719 cat >>conftest.$ac_ext <<_ACEOF
19720 /* end confdefs.h. */
19721 $ac_includes_default
19722 typedef long ac__type_new_;
19723 int
19724 main ()
19725 {
19726 if ((ac__type_new_ *) 0)
19727 return 0;
19728 if (sizeof (ac__type_new_))
19729 return 0;
19730 ;
19731 return 0;
19732 }
19733 _ACEOF
19734 rm -f conftest.$ac_objext
19735 if { (ac_try="$ac_compile"
19736 case "(($ac_try" in
19737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19738 *) ac_try_echo=$ac_try;;
19739 esac
19740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19741 (eval "$ac_compile") 2>conftest.er1
19742 ac_status=$?
19743 grep -v '^ *+' conftest.er1 >conftest.err
19744 rm -f conftest.er1
19745 cat conftest.err >&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); } && {
19748 test -z "$ac_c_werror_flag" ||
19749 test ! -s conftest.err
19750 } && test -s conftest.$ac_objext; then
19751 ac_cv_type_long=yes
19752 else
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19755
19756 ac_cv_type_long=no
19757 fi
19758
19759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19760 fi
19761 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19762 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19763
19764 # The cast to long int works around a bug in the HP C Compiler
19765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19767 # This bug is HP SR number 8606223364.
19768 { echo "$as_me:$LINENO: checking size of long" >&5
19769 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19770 if test "${ac_cv_sizeof_long+set}" = set; then
19771 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 else
19773 if test "$cross_compiling" = yes; then
19774 # Depending upon the size, compute the lo and hi bounds.
19775 cat >conftest.$ac_ext <<_ACEOF
19776 /* confdefs.h. */
19777 _ACEOF
19778 cat confdefs.h >>conftest.$ac_ext
19779 cat >>conftest.$ac_ext <<_ACEOF
19780 /* end confdefs.h. */
19781 $ac_includes_default
19782 typedef long ac__type_sizeof_;
19783 int
19784 main ()
19785 {
19786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19787 test_array [0] = 0
19788
19789 ;
19790 return 0;
19791 }
19792 _ACEOF
19793 rm -f conftest.$ac_objext
19794 if { (ac_try="$ac_compile"
19795 case "(($ac_try" in
19796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19797 *) ac_try_echo=$ac_try;;
19798 esac
19799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19800 (eval "$ac_compile") 2>conftest.er1
19801 ac_status=$?
19802 grep -v '^ *+' conftest.er1 >conftest.err
19803 rm -f conftest.er1
19804 cat conftest.err >&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); } && {
19807 test -z "$ac_c_werror_flag" ||
19808 test ! -s conftest.err
19809 } && test -s conftest.$ac_objext; then
19810 ac_lo=0 ac_mid=0
19811 while :; do
19812 cat >conftest.$ac_ext <<_ACEOF
19813 /* confdefs.h. */
19814 _ACEOF
19815 cat confdefs.h >>conftest.$ac_ext
19816 cat >>conftest.$ac_ext <<_ACEOF
19817 /* end confdefs.h. */
19818 $ac_includes_default
19819 typedef long ac__type_sizeof_;
19820 int
19821 main ()
19822 {
19823 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19824 test_array [0] = 0
19825
19826 ;
19827 return 0;
19828 }
19829 _ACEOF
19830 rm -f conftest.$ac_objext
19831 if { (ac_try="$ac_compile"
19832 case "(($ac_try" in
19833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19834 *) ac_try_echo=$ac_try;;
19835 esac
19836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19837 (eval "$ac_compile") 2>conftest.er1
19838 ac_status=$?
19839 grep -v '^ *+' conftest.er1 >conftest.err
19840 rm -f conftest.er1
19841 cat conftest.err >&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } && {
19844 test -z "$ac_c_werror_flag" ||
19845 test ! -s conftest.err
19846 } && test -s conftest.$ac_objext; then
19847 ac_hi=$ac_mid; break
19848 else
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19851
19852 ac_lo=`expr $ac_mid + 1`
19853 if test $ac_lo -le $ac_mid; then
19854 ac_lo= ac_hi=
19855 break
19856 fi
19857 ac_mid=`expr 2 '*' $ac_mid + 1`
19858 fi
19859
19860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861 done
19862 else
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19865
19866 cat >conftest.$ac_ext <<_ACEOF
19867 /* confdefs.h. */
19868 _ACEOF
19869 cat confdefs.h >>conftest.$ac_ext
19870 cat >>conftest.$ac_ext <<_ACEOF
19871 /* end confdefs.h. */
19872 $ac_includes_default
19873 typedef long ac__type_sizeof_;
19874 int
19875 main ()
19876 {
19877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19878 test_array [0] = 0
19879
19880 ;
19881 return 0;
19882 }
19883 _ACEOF
19884 rm -f conftest.$ac_objext
19885 if { (ac_try="$ac_compile"
19886 case "(($ac_try" in
19887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19889 esac
19890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_compile") 2>conftest.er1
19892 ac_status=$?
19893 grep -v '^ *+' conftest.er1 >conftest.err
19894 rm -f conftest.er1
19895 cat conftest.err >&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); } && {
19898 test -z "$ac_c_werror_flag" ||
19899 test ! -s conftest.err
19900 } && test -s conftest.$ac_objext; then
19901 ac_hi=-1 ac_mid=-1
19902 while :; do
19903 cat >conftest.$ac_ext <<_ACEOF
19904 /* confdefs.h. */
19905 _ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 $ac_includes_default
19910 typedef long ac__type_sizeof_;
19911 int
19912 main ()
19913 {
19914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19915 test_array [0] = 0
19916
19917 ;
19918 return 0;
19919 }
19920 _ACEOF
19921 rm -f conftest.$ac_objext
19922 if { (ac_try="$ac_compile"
19923 case "(($ac_try" in
19924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19925 *) ac_try_echo=$ac_try;;
19926 esac
19927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19928 (eval "$ac_compile") 2>conftest.er1
19929 ac_status=$?
19930 grep -v '^ *+' conftest.er1 >conftest.err
19931 rm -f conftest.er1
19932 cat conftest.err >&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } && {
19935 test -z "$ac_c_werror_flag" ||
19936 test ! -s conftest.err
19937 } && test -s conftest.$ac_objext; then
19938 ac_lo=$ac_mid; break
19939 else
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19942
19943 ac_hi=`expr '(' $ac_mid ')' - 1`
19944 if test $ac_mid -le $ac_hi; then
19945 ac_lo= ac_hi=
19946 break
19947 fi
19948 ac_mid=`expr 2 '*' $ac_mid`
19949 fi
19950
19951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19952 done
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19956
19957 ac_lo= ac_hi=
19958 fi
19959
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19961 fi
19962
19963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19964 # Binary search between lo and hi bounds.
19965 while test "x$ac_lo" != "x$ac_hi"; do
19966 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19974 typedef long ac__type_sizeof_;
19975 int
19976 main ()
19977 {
19978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19979 test_array [0] = 0
19980
19981 ;
19982 return 0;
19983 }
19984 _ACEOF
19985 rm -f conftest.$ac_objext
19986 if { (ac_try="$ac_compile"
19987 case "(($ac_try" in
19988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19989 *) ac_try_echo=$ac_try;;
19990 esac
19991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19992 (eval "$ac_compile") 2>conftest.er1
19993 ac_status=$?
19994 grep -v '^ *+' conftest.er1 >conftest.err
19995 rm -f conftest.er1
19996 cat conftest.err >&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } && {
19999 test -z "$ac_c_werror_flag" ||
20000 test ! -s conftest.err
20001 } && test -s conftest.$ac_objext; then
20002 ac_hi=$ac_mid
20003 else
20004 echo "$as_me: failed program was:" >&5
20005 sed 's/^/| /' conftest.$ac_ext >&5
20006
20007 ac_lo=`expr '(' $ac_mid ')' + 1`
20008 fi
20009
20010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20011 done
20012 case $ac_lo in
20013 ?*) ac_cv_sizeof_long=$ac_lo;;
20014 '') if test "$ac_cv_type_long" = yes; then
20015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20016 See \`config.log' for more details." >&5
20017 echo "$as_me: error: cannot compute sizeof (long)
20018 See \`config.log' for more details." >&2;}
20019 { (exit 77); exit 77; }; }
20020 else
20021 ac_cv_sizeof_long=0
20022 fi ;;
20023 esac
20024 else
20025 cat >conftest.$ac_ext <<_ACEOF
20026 /* confdefs.h. */
20027 _ACEOF
20028 cat confdefs.h >>conftest.$ac_ext
20029 cat >>conftest.$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20031 $ac_includes_default
20032 typedef long ac__type_sizeof_;
20033 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20034 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20035 #include <stdio.h>
20036 #include <stdlib.h>
20037 int
20038 main ()
20039 {
20040
20041 FILE *f = fopen ("conftest.val", "w");
20042 if (! f)
20043 return 1;
20044 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20045 {
20046 long int i = longval ();
20047 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20048 return 1;
20049 fprintf (f, "%ld\n", i);
20050 }
20051 else
20052 {
20053 unsigned long int i = ulongval ();
20054 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20055 return 1;
20056 fprintf (f, "%lu\n", i);
20057 }
20058 return ferror (f) || fclose (f) != 0;
20059
20060 ;
20061 return 0;
20062 }
20063 _ACEOF
20064 rm -f conftest$ac_exeext
20065 if { (ac_try="$ac_link"
20066 case "(($ac_try" in
20067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20068 *) ac_try_echo=$ac_try;;
20069 esac
20070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20071 (eval "$ac_link") 2>&5
20072 ac_status=$?
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20075 { (case "(($ac_try" in
20076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20077 *) ac_try_echo=$ac_try;;
20078 esac
20079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20080 (eval "$ac_try") 2>&5
20081 ac_status=$?
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; }; then
20084 ac_cv_sizeof_long=`cat conftest.val`
20085 else
20086 echo "$as_me: program exited with status $ac_status" >&5
20087 echo "$as_me: failed program was:" >&5
20088 sed 's/^/| /' conftest.$ac_ext >&5
20089
20090 ( exit $ac_status )
20091 if test "$ac_cv_type_long" = yes; then
20092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20093 See \`config.log' for more details." >&5
20094 echo "$as_me: error: cannot compute sizeof (long)
20095 See \`config.log' for more details." >&2;}
20096 { (exit 77); exit 77; }; }
20097 else
20098 ac_cv_sizeof_long=0
20099 fi
20100 fi
20101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20102 fi
20103 rm -f conftest.val
20104 fi
20105 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20106 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20107
20108
20109
20110 cat >>confdefs.h <<_ACEOF
20111 #define SIZEOF_LONG $ac_cv_sizeof_long
20112 _ACEOF
20113
20114
20115 { echo "$as_me:$LINENO: checking for size_t" >&5
20116 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20117 if test "${ac_cv_type_size_t+set}" = set; then
20118 echo $ECHO_N "(cached) $ECHO_C" >&6
20119 else
20120 cat >conftest.$ac_ext <<_ACEOF
20121 /* confdefs.h. */
20122 _ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 $ac_includes_default
20127 typedef size_t ac__type_new_;
20128 int
20129 main ()
20130 {
20131 if ((ac__type_new_ *) 0)
20132 return 0;
20133 if (sizeof (ac__type_new_))
20134 return 0;
20135 ;
20136 return 0;
20137 }
20138 _ACEOF
20139 rm -f conftest.$ac_objext
20140 if { (ac_try="$ac_compile"
20141 case "(($ac_try" in
20142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20143 *) ac_try_echo=$ac_try;;
20144 esac
20145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20146 (eval "$ac_compile") 2>conftest.er1
20147 ac_status=$?
20148 grep -v '^ *+' conftest.er1 >conftest.err
20149 rm -f conftest.er1
20150 cat conftest.err >&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } && {
20153 test -z "$ac_c_werror_flag" ||
20154 test ! -s conftest.err
20155 } && test -s conftest.$ac_objext; then
20156 ac_cv_type_size_t=yes
20157 else
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20160
20161 ac_cv_type_size_t=no
20162 fi
20163
20164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 fi
20166 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20167 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20168
20169 # The cast to long int works around a bug in the HP C Compiler
20170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20172 # This bug is HP SR number 8606223364.
20173 { echo "$as_me:$LINENO: checking size of size_t" >&5
20174 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20175 if test "${ac_cv_sizeof_size_t+set}" = set; then
20176 echo $ECHO_N "(cached) $ECHO_C" >&6
20177 else
20178 if test "$cross_compiling" = yes; then
20179 # Depending upon the size, compute the lo and hi bounds.
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 $ac_includes_default
20187 typedef size_t ac__type_sizeof_;
20188 int
20189 main ()
20190 {
20191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20192 test_array [0] = 0
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 ac_lo=0 ac_mid=0
20216 while :; do
20217 cat >conftest.$ac_ext <<_ACEOF
20218 /* confdefs.h. */
20219 _ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 $ac_includes_default
20224 typedef size_t ac__type_sizeof_;
20225 int
20226 main ()
20227 {
20228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20229 test_array [0] = 0
20230
20231 ;
20232 return 0;
20233 }
20234 _ACEOF
20235 rm -f conftest.$ac_objext
20236 if { (ac_try="$ac_compile"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20240 esac
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_compile") 2>conftest.er1
20243 ac_status=$?
20244 grep -v '^ *+' conftest.er1 >conftest.err
20245 rm -f conftest.er1
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_c_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest.$ac_objext; then
20252 ac_hi=$ac_mid; break
20253 else
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20256
20257 ac_lo=`expr $ac_mid + 1`
20258 if test $ac_lo -le $ac_mid; then
20259 ac_lo= ac_hi=
20260 break
20261 fi
20262 ac_mid=`expr 2 '*' $ac_mid + 1`
20263 fi
20264
20265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20266 done
20267 else
20268 echo "$as_me: failed program was:" >&5
20269 sed 's/^/| /' conftest.$ac_ext >&5
20270
20271 cat >conftest.$ac_ext <<_ACEOF
20272 /* confdefs.h. */
20273 _ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 $ac_includes_default
20278 typedef size_t ac__type_sizeof_;
20279 int
20280 main ()
20281 {
20282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20283 test_array [0] = 0
20284
20285 ;
20286 return 0;
20287 }
20288 _ACEOF
20289 rm -f conftest.$ac_objext
20290 if { (ac_try="$ac_compile"
20291 case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20294 esac
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_compile") 2>conftest.er1
20297 ac_status=$?
20298 grep -v '^ *+' conftest.er1 >conftest.err
20299 rm -f conftest.er1
20300 cat conftest.err >&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } && {
20303 test -z "$ac_c_werror_flag" ||
20304 test ! -s conftest.err
20305 } && test -s conftest.$ac_objext; then
20306 ac_hi=-1 ac_mid=-1
20307 while :; do
20308 cat >conftest.$ac_ext <<_ACEOF
20309 /* confdefs.h. */
20310 _ACEOF
20311 cat confdefs.h >>conftest.$ac_ext
20312 cat >>conftest.$ac_ext <<_ACEOF
20313 /* end confdefs.h. */
20314 $ac_includes_default
20315 typedef size_t ac__type_sizeof_;
20316 int
20317 main ()
20318 {
20319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20320 test_array [0] = 0
20321
20322 ;
20323 return 0;
20324 }
20325 _ACEOF
20326 rm -f conftest.$ac_objext
20327 if { (ac_try="$ac_compile"
20328 case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20331 esac
20332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20333 (eval "$ac_compile") 2>conftest.er1
20334 ac_status=$?
20335 grep -v '^ *+' conftest.er1 >conftest.err
20336 rm -f conftest.er1
20337 cat conftest.err >&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && {
20340 test -z "$ac_c_werror_flag" ||
20341 test ! -s conftest.err
20342 } && test -s conftest.$ac_objext; then
20343 ac_lo=$ac_mid; break
20344 else
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20347
20348 ac_hi=`expr '(' $ac_mid ')' - 1`
20349 if test $ac_mid -le $ac_hi; then
20350 ac_lo= ac_hi=
20351 break
20352 fi
20353 ac_mid=`expr 2 '*' $ac_mid`
20354 fi
20355
20356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20357 done
20358 else
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20361
20362 ac_lo= ac_hi=
20363 fi
20364
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20366 fi
20367
20368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20369 # Binary search between lo and hi bounds.
20370 while test "x$ac_lo" != "x$ac_hi"; do
20371 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20372 cat >conftest.$ac_ext <<_ACEOF
20373 /* confdefs.h. */
20374 _ACEOF
20375 cat confdefs.h >>conftest.$ac_ext
20376 cat >>conftest.$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 $ac_includes_default
20379 typedef size_t ac__type_sizeof_;
20380 int
20381 main ()
20382 {
20383 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20384 test_array [0] = 0
20385
20386 ;
20387 return 0;
20388 }
20389 _ACEOF
20390 rm -f conftest.$ac_objext
20391 if { (ac_try="$ac_compile"
20392 case "(($ac_try" in
20393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20394 *) ac_try_echo=$ac_try;;
20395 esac
20396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20397 (eval "$ac_compile") 2>conftest.er1
20398 ac_status=$?
20399 grep -v '^ *+' conftest.er1 >conftest.err
20400 rm -f conftest.er1
20401 cat conftest.err >&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } && {
20404 test -z "$ac_c_werror_flag" ||
20405 test ! -s conftest.err
20406 } && test -s conftest.$ac_objext; then
20407 ac_hi=$ac_mid
20408 else
20409 echo "$as_me: failed program was:" >&5
20410 sed 's/^/| /' conftest.$ac_ext >&5
20411
20412 ac_lo=`expr '(' $ac_mid ')' + 1`
20413 fi
20414
20415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20416 done
20417 case $ac_lo in
20418 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20419 '') if test "$ac_cv_type_size_t" = yes; then
20420 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20421 See \`config.log' for more details." >&5
20422 echo "$as_me: error: cannot compute sizeof (size_t)
20423 See \`config.log' for more details." >&2;}
20424 { (exit 77); exit 77; }; }
20425 else
20426 ac_cv_sizeof_size_t=0
20427 fi ;;
20428 esac
20429 else
20430 cat >conftest.$ac_ext <<_ACEOF
20431 /* confdefs.h. */
20432 _ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 $ac_includes_default
20437 typedef size_t ac__type_sizeof_;
20438 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20439 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20440 #include <stdio.h>
20441 #include <stdlib.h>
20442 int
20443 main ()
20444 {
20445
20446 FILE *f = fopen ("conftest.val", "w");
20447 if (! f)
20448 return 1;
20449 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20450 {
20451 long int i = longval ();
20452 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20453 return 1;
20454 fprintf (f, "%ld\n", i);
20455 }
20456 else
20457 {
20458 unsigned long int i = ulongval ();
20459 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20460 return 1;
20461 fprintf (f, "%lu\n", i);
20462 }
20463 return ferror (f) || fclose (f) != 0;
20464
20465 ;
20466 return 0;
20467 }
20468 _ACEOF
20469 rm -f conftest$ac_exeext
20470 if { (ac_try="$ac_link"
20471 case "(($ac_try" in
20472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20473 *) ac_try_echo=$ac_try;;
20474 esac
20475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 (eval "$ac_link") 2>&5
20477 ac_status=$?
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20480 { (case "(($ac_try" in
20481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20482 *) ac_try_echo=$ac_try;;
20483 esac
20484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20485 (eval "$ac_try") 2>&5
20486 ac_status=$?
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 ac_cv_sizeof_size_t=`cat conftest.val`
20490 else
20491 echo "$as_me: program exited with status $ac_status" >&5
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20494
20495 ( exit $ac_status )
20496 if test "$ac_cv_type_size_t" = yes; then
20497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20498 See \`config.log' for more details." >&5
20499 echo "$as_me: error: cannot compute sizeof (size_t)
20500 See \`config.log' for more details." >&2;}
20501 { (exit 77); exit 77; }; }
20502 else
20503 ac_cv_sizeof_size_t=0
20504 fi
20505 fi
20506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20507 fi
20508 rm -f conftest.val
20509 fi
20510 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20511 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20512
20513
20514
20515 cat >>confdefs.h <<_ACEOF
20516 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20517 _ACEOF
20518
20519
20520
20521 case "${host}" in
20522 arm-*-linux* )
20523 { echo "$as_me:$LINENO: checking for long long" >&5
20524 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20525 if test "${ac_cv_type_long_long+set}" = set; then
20526 echo $ECHO_N "(cached) $ECHO_C" >&6
20527 else
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20535 typedef long long ac__type_new_;
20536 int
20537 main ()
20538 {
20539 if ((ac__type_new_ *) 0)
20540 return 0;
20541 if (sizeof (ac__type_new_))
20542 return 0;
20543 ;
20544 return 0;
20545 }
20546 _ACEOF
20547 rm -f conftest.$ac_objext
20548 if { (ac_try="$ac_compile"
20549 case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20552 esac
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_compile") 2>conftest.er1
20555 ac_status=$?
20556 grep -v '^ *+' conftest.er1 >conftest.err
20557 rm -f conftest.er1
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_c_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest.$ac_objext; then
20564 ac_cv_type_long_long=yes
20565 else
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20568
20569 ac_cv_type_long_long=no
20570 fi
20571
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20573 fi
20574 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20575 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20576
20577 # The cast to long int works around a bug in the HP C Compiler
20578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20580 # This bug is HP SR number 8606223364.
20581 { echo "$as_me:$LINENO: checking size of long long" >&5
20582 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20583 if test "${ac_cv_sizeof_long_long+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 else
20586 if test "$cross_compiling" = yes; then
20587 # Depending upon the size, compute the lo and hi bounds.
20588 cat >conftest.$ac_ext <<_ACEOF
20589 /* confdefs.h. */
20590 _ACEOF
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 $ac_includes_default
20595 typedef long long ac__type_sizeof_;
20596 int
20597 main ()
20598 {
20599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20600 test_array [0] = 0
20601
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 ac_lo=0 ac_mid=0
20624 while :; do
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632 typedef long long ac__type_sizeof_;
20633 int
20634 main ()
20635 {
20636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20637 test_array [0] = 0
20638
20639 ;
20640 return 0;
20641 }
20642 _ACEOF
20643 rm -f conftest.$ac_objext
20644 if { (ac_try="$ac_compile"
20645 case "(($ac_try" in
20646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20647 *) ac_try_echo=$ac_try;;
20648 esac
20649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20650 (eval "$ac_compile") 2>conftest.er1
20651 ac_status=$?
20652 grep -v '^ *+' conftest.er1 >conftest.err
20653 rm -f conftest.er1
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } && {
20657 test -z "$ac_c_werror_flag" ||
20658 test ! -s conftest.err
20659 } && test -s conftest.$ac_objext; then
20660 ac_hi=$ac_mid; break
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 ac_lo=`expr $ac_mid + 1`
20666 if test $ac_lo -le $ac_mid; then
20667 ac_lo= ac_hi=
20668 break
20669 fi
20670 ac_mid=`expr 2 '*' $ac_mid + 1`
20671 fi
20672
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 done
20675 else
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20678
20679 cat >conftest.$ac_ext <<_ACEOF
20680 /* confdefs.h. */
20681 _ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20686 typedef long long ac__type_sizeof_;
20687 int
20688 main ()
20689 {
20690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20691 test_array [0] = 0
20692
20693 ;
20694 return 0;
20695 }
20696 _ACEOF
20697 rm -f conftest.$ac_objext
20698 if { (ac_try="$ac_compile"
20699 case "(($ac_try" in
20700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20702 esac
20703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_compile") 2>conftest.er1
20705 ac_status=$?
20706 grep -v '^ *+' conftest.er1 >conftest.err
20707 rm -f conftest.er1
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } && {
20711 test -z "$ac_c_werror_flag" ||
20712 test ! -s conftest.err
20713 } && test -s conftest.$ac_objext; then
20714 ac_hi=-1 ac_mid=-1
20715 while :; do
20716 cat >conftest.$ac_ext <<_ACEOF
20717 /* confdefs.h. */
20718 _ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 $ac_includes_default
20723 typedef long long ac__type_sizeof_;
20724 int
20725 main ()
20726 {
20727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20728 test_array [0] = 0
20729
20730 ;
20731 return 0;
20732 }
20733 _ACEOF
20734 rm -f conftest.$ac_objext
20735 if { (ac_try="$ac_compile"
20736 case "(($ac_try" in
20737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20738 *) ac_try_echo=$ac_try;;
20739 esac
20740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20741 (eval "$ac_compile") 2>conftest.er1
20742 ac_status=$?
20743 grep -v '^ *+' conftest.er1 >conftest.err
20744 rm -f conftest.er1
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } && {
20748 test -z "$ac_c_werror_flag" ||
20749 test ! -s conftest.err
20750 } && test -s conftest.$ac_objext; then
20751 ac_lo=$ac_mid; break
20752 else
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 ac_hi=`expr '(' $ac_mid ')' - 1`
20757 if test $ac_mid -le $ac_hi; then
20758 ac_lo= ac_hi=
20759 break
20760 fi
20761 ac_mid=`expr 2 '*' $ac_mid`
20762 fi
20763
20764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20765 done
20766 else
20767 echo "$as_me: failed program was:" >&5
20768 sed 's/^/| /' conftest.$ac_ext >&5
20769
20770 ac_lo= ac_hi=
20771 fi
20772
20773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20774 fi
20775
20776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 # Binary search between lo and hi bounds.
20778 while test "x$ac_lo" != "x$ac_hi"; do
20779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20780 cat >conftest.$ac_ext <<_ACEOF
20781 /* confdefs.h. */
20782 _ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786 $ac_includes_default
20787 typedef long long ac__type_sizeof_;
20788 int
20789 main ()
20790 {
20791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20792 test_array [0] = 0
20793
20794 ;
20795 return 0;
20796 }
20797 _ACEOF
20798 rm -f conftest.$ac_objext
20799 if { (ac_try="$ac_compile"
20800 case "(($ac_try" in
20801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20802 *) ac_try_echo=$ac_try;;
20803 esac
20804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 (eval "$ac_compile") 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } && {
20812 test -z "$ac_c_werror_flag" ||
20813 test ! -s conftest.err
20814 } && test -s conftest.$ac_objext; then
20815 ac_hi=$ac_mid
20816 else
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.$ac_ext >&5
20819
20820 ac_lo=`expr '(' $ac_mid ')' + 1`
20821 fi
20822
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824 done
20825 case $ac_lo in
20826 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20827 '') if test "$ac_cv_type_long_long" = yes; then
20828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20829 See \`config.log' for more details." >&5
20830 echo "$as_me: error: cannot compute sizeof (long long)
20831 See \`config.log' for more details." >&2;}
20832 { (exit 77); exit 77; }; }
20833 else
20834 ac_cv_sizeof_long_long=0
20835 fi ;;
20836 esac
20837 else
20838 cat >conftest.$ac_ext <<_ACEOF
20839 /* confdefs.h. */
20840 _ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 $ac_includes_default
20845 typedef long long ac__type_sizeof_;
20846 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20847 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20848 #include <stdio.h>
20849 #include <stdlib.h>
20850 int
20851 main ()
20852 {
20853
20854 FILE *f = fopen ("conftest.val", "w");
20855 if (! f)
20856 return 1;
20857 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20858 {
20859 long int i = longval ();
20860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20861 return 1;
20862 fprintf (f, "%ld\n", i);
20863 }
20864 else
20865 {
20866 unsigned long int i = ulongval ();
20867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20868 return 1;
20869 fprintf (f, "%lu\n", i);
20870 }
20871 return ferror (f) || fclose (f) != 0;
20872
20873 ;
20874 return 0;
20875 }
20876 _ACEOF
20877 rm -f conftest$ac_exeext
20878 if { (ac_try="$ac_link"
20879 case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20882 esac
20883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_link") 2>&5
20885 ac_status=$?
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20888 { (case "(($ac_try" in
20889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20890 *) ac_try_echo=$ac_try;;
20891 esac
20892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20893 (eval "$ac_try") 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 ac_cv_sizeof_long_long=`cat conftest.val`
20898 else
20899 echo "$as_me: program exited with status $ac_status" >&5
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 ( exit $ac_status )
20904 if test "$ac_cv_type_long_long" = yes; then
20905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20906 See \`config.log' for more details." >&5
20907 echo "$as_me: error: cannot compute sizeof (long long)
20908 See \`config.log' for more details." >&2;}
20909 { (exit 77); exit 77; }; }
20910 else
20911 ac_cv_sizeof_long_long=0
20912 fi
20913 fi
20914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20915 fi
20916 rm -f conftest.val
20917 fi
20918 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20919 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20920
20921
20922
20923 cat >>confdefs.h <<_ACEOF
20924 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20925 _ACEOF
20926
20927
20928 ;;
20929 *-hp-hpux* )
20930 { echo "$as_me:$LINENO: checking for long long" >&5
20931 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20932 if test "${ac_cv_type_long_long+set}" = set; then
20933 echo $ECHO_N "(cached) $ECHO_C" >&6
20934 else
20935 cat >conftest.$ac_ext <<_ACEOF
20936 /* confdefs.h. */
20937 _ACEOF
20938 cat confdefs.h >>conftest.$ac_ext
20939 cat >>conftest.$ac_ext <<_ACEOF
20940 /* end confdefs.h. */
20941 $ac_includes_default
20942 typedef long long ac__type_new_;
20943 int
20944 main ()
20945 {
20946 if ((ac__type_new_ *) 0)
20947 return 0;
20948 if (sizeof (ac__type_new_))
20949 return 0;
20950 ;
20951 return 0;
20952 }
20953 _ACEOF
20954 rm -f conftest.$ac_objext
20955 if { (ac_try="$ac_compile"
20956 case "(($ac_try" in
20957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20958 *) ac_try_echo=$ac_try;;
20959 esac
20960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20961 (eval "$ac_compile") 2>conftest.er1
20962 ac_status=$?
20963 grep -v '^ *+' conftest.er1 >conftest.err
20964 rm -f conftest.er1
20965 cat conftest.err >&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); } && {
20968 test -z "$ac_c_werror_flag" ||
20969 test ! -s conftest.err
20970 } && test -s conftest.$ac_objext; then
20971 ac_cv_type_long_long=yes
20972 else
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20975
20976 ac_cv_type_long_long=no
20977 fi
20978
20979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20980 fi
20981 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20982 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20983
20984 # The cast to long int works around a bug in the HP C Compiler
20985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20986 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20987 # This bug is HP SR number 8606223364.
20988 { echo "$as_me:$LINENO: checking size of long long" >&5
20989 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20990 if test "${ac_cv_sizeof_long_long+set}" = set; then
20991 echo $ECHO_N "(cached) $ECHO_C" >&6
20992 else
20993 if test "$cross_compiling" = yes; then
20994 # Depending upon the size, compute the lo and hi bounds.
20995 cat >conftest.$ac_ext <<_ACEOF
20996 /* confdefs.h. */
20997 _ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21001 $ac_includes_default
21002 typedef long long ac__type_sizeof_;
21003 int
21004 main ()
21005 {
21006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21007 test_array [0] = 0
21008
21009 ;
21010 return 0;
21011 }
21012 _ACEOF
21013 rm -f conftest.$ac_objext
21014 if { (ac_try="$ac_compile"
21015 case "(($ac_try" in
21016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21017 *) ac_try_echo=$ac_try;;
21018 esac
21019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21020 (eval "$ac_compile") 2>conftest.er1
21021 ac_status=$?
21022 grep -v '^ *+' conftest.er1 >conftest.err
21023 rm -f conftest.er1
21024 cat conftest.err >&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } && {
21027 test -z "$ac_c_werror_flag" ||
21028 test ! -s conftest.err
21029 } && test -s conftest.$ac_objext; then
21030 ac_lo=0 ac_mid=0
21031 while :; do
21032 cat >conftest.$ac_ext <<_ACEOF
21033 /* confdefs.h. */
21034 _ACEOF
21035 cat confdefs.h >>conftest.$ac_ext
21036 cat >>conftest.$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038 $ac_includes_default
21039 typedef long long ac__type_sizeof_;
21040 int
21041 main ()
21042 {
21043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21044 test_array [0] = 0
21045
21046 ;
21047 return 0;
21048 }
21049 _ACEOF
21050 rm -f conftest.$ac_objext
21051 if { (ac_try="$ac_compile"
21052 case "(($ac_try" in
21053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21054 *) ac_try_echo=$ac_try;;
21055 esac
21056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21057 (eval "$ac_compile") 2>conftest.er1
21058 ac_status=$?
21059 grep -v '^ *+' conftest.er1 >conftest.err
21060 rm -f conftest.er1
21061 cat conftest.err >&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } && {
21064 test -z "$ac_c_werror_flag" ||
21065 test ! -s conftest.err
21066 } && test -s conftest.$ac_objext; then
21067 ac_hi=$ac_mid; break
21068 else
21069 echo "$as_me: failed program was:" >&5
21070 sed 's/^/| /' conftest.$ac_ext >&5
21071
21072 ac_lo=`expr $ac_mid + 1`
21073 if test $ac_lo -le $ac_mid; then
21074 ac_lo= ac_hi=
21075 break
21076 fi
21077 ac_mid=`expr 2 '*' $ac_mid + 1`
21078 fi
21079
21080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21081 done
21082 else
21083 echo "$as_me: failed program was:" >&5
21084 sed 's/^/| /' conftest.$ac_ext >&5
21085
21086 cat >conftest.$ac_ext <<_ACEOF
21087 /* confdefs.h. */
21088 _ACEOF
21089 cat confdefs.h >>conftest.$ac_ext
21090 cat >>conftest.$ac_ext <<_ACEOF
21091 /* end confdefs.h. */
21092 $ac_includes_default
21093 typedef long long ac__type_sizeof_;
21094 int
21095 main ()
21096 {
21097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21098 test_array [0] = 0
21099
21100 ;
21101 return 0;
21102 }
21103 _ACEOF
21104 rm -f conftest.$ac_objext
21105 if { (ac_try="$ac_compile"
21106 case "(($ac_try" in
21107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21108 *) ac_try_echo=$ac_try;;
21109 esac
21110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21111 (eval "$ac_compile") 2>conftest.er1
21112 ac_status=$?
21113 grep -v '^ *+' conftest.er1 >conftest.err
21114 rm -f conftest.er1
21115 cat conftest.err >&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } && {
21118 test -z "$ac_c_werror_flag" ||
21119 test ! -s conftest.err
21120 } && test -s conftest.$ac_objext; then
21121 ac_hi=-1 ac_mid=-1
21122 while :; do
21123 cat >conftest.$ac_ext <<_ACEOF
21124 /* confdefs.h. */
21125 _ACEOF
21126 cat confdefs.h >>conftest.$ac_ext
21127 cat >>conftest.$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129 $ac_includes_default
21130 typedef long long ac__type_sizeof_;
21131 int
21132 main ()
21133 {
21134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21135 test_array [0] = 0
21136
21137 ;
21138 return 0;
21139 }
21140 _ACEOF
21141 rm -f conftest.$ac_objext
21142 if { (ac_try="$ac_compile"
21143 case "(($ac_try" in
21144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21145 *) ac_try_echo=$ac_try;;
21146 esac
21147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21148 (eval "$ac_compile") 2>conftest.er1
21149 ac_status=$?
21150 grep -v '^ *+' conftest.er1 >conftest.err
21151 rm -f conftest.er1
21152 cat conftest.err >&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } && {
21155 test -z "$ac_c_werror_flag" ||
21156 test ! -s conftest.err
21157 } && test -s conftest.$ac_objext; then
21158 ac_lo=$ac_mid; break
21159 else
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21162
21163 ac_hi=`expr '(' $ac_mid ')' - 1`
21164 if test $ac_mid -le $ac_hi; then
21165 ac_lo= ac_hi=
21166 break
21167 fi
21168 ac_mid=`expr 2 '*' $ac_mid`
21169 fi
21170
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 done
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 ac_lo= ac_hi=
21178 fi
21179
21180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 fi
21182
21183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21184 # Binary search between lo and hi bounds.
21185 while test "x$ac_lo" != "x$ac_hi"; do
21186 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21187 cat >conftest.$ac_ext <<_ACEOF
21188 /* confdefs.h. */
21189 _ACEOF
21190 cat confdefs.h >>conftest.$ac_ext
21191 cat >>conftest.$ac_ext <<_ACEOF
21192 /* end confdefs.h. */
21193 $ac_includes_default
21194 typedef long long ac__type_sizeof_;
21195 int
21196 main ()
21197 {
21198 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21199 test_array [0] = 0
21200
21201 ;
21202 return 0;
21203 }
21204 _ACEOF
21205 rm -f conftest.$ac_objext
21206 if { (ac_try="$ac_compile"
21207 case "(($ac_try" in
21208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21209 *) ac_try_echo=$ac_try;;
21210 esac
21211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21212 (eval "$ac_compile") 2>conftest.er1
21213 ac_status=$?
21214 grep -v '^ *+' conftest.er1 >conftest.err
21215 rm -f conftest.er1
21216 cat conftest.err >&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); } && {
21219 test -z "$ac_c_werror_flag" ||
21220 test ! -s conftest.err
21221 } && test -s conftest.$ac_objext; then
21222 ac_hi=$ac_mid
21223 else
21224 echo "$as_me: failed program was:" >&5
21225 sed 's/^/| /' conftest.$ac_ext >&5
21226
21227 ac_lo=`expr '(' $ac_mid ')' + 1`
21228 fi
21229
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 done
21232 case $ac_lo in
21233 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21234 '') if test "$ac_cv_type_long_long" = yes; then
21235 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21236 See \`config.log' for more details." >&5
21237 echo "$as_me: error: cannot compute sizeof (long long)
21238 See \`config.log' for more details." >&2;}
21239 { (exit 77); exit 77; }; }
21240 else
21241 ac_cv_sizeof_long_long=0
21242 fi ;;
21243 esac
21244 else
21245 cat >conftest.$ac_ext <<_ACEOF
21246 /* confdefs.h. */
21247 _ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21252 typedef long long ac__type_sizeof_;
21253 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21254 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21255 #include <stdio.h>
21256 #include <stdlib.h>
21257 int
21258 main ()
21259 {
21260
21261 FILE *f = fopen ("conftest.val", "w");
21262 if (! f)
21263 return 1;
21264 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21265 {
21266 long int i = longval ();
21267 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21268 return 1;
21269 fprintf (f, "%ld\n", i);
21270 }
21271 else
21272 {
21273 unsigned long int i = ulongval ();
21274 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21275 return 1;
21276 fprintf (f, "%lu\n", i);
21277 }
21278 return ferror (f) || fclose (f) != 0;
21279
21280 ;
21281 return 0;
21282 }
21283 _ACEOF
21284 rm -f conftest$ac_exeext
21285 if { (ac_try="$ac_link"
21286 case "(($ac_try" in
21287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21288 *) ac_try_echo=$ac_try;;
21289 esac
21290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21291 (eval "$ac_link") 2>&5
21292 ac_status=$?
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21295 { (case "(($ac_try" in
21296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21297 *) ac_try_echo=$ac_try;;
21298 esac
21299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21300 (eval "$ac_try") 2>&5
21301 ac_status=$?
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; }; then
21304 ac_cv_sizeof_long_long=`cat conftest.val`
21305 else
21306 echo "$as_me: program exited with status $ac_status" >&5
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.$ac_ext >&5
21309
21310 ( exit $ac_status )
21311 if test "$ac_cv_type_long_long" = yes; then
21312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21313 See \`config.log' for more details." >&5
21314 echo "$as_me: error: cannot compute sizeof (long long)
21315 See \`config.log' for more details." >&2;}
21316 { (exit 77); exit 77; }; }
21317 else
21318 ac_cv_sizeof_long_long=0
21319 fi
21320 fi
21321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21322 fi
21323 rm -f conftest.val
21324 fi
21325 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21326 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21327
21328
21329
21330 cat >>confdefs.h <<_ACEOF
21331 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21332 _ACEOF
21333
21334
21335 if test "$ac_cv_sizeof_long_long" != "0"; then
21336 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21337 fi
21338 ;;
21339 * )
21340 { echo "$as_me:$LINENO: checking for long long" >&5
21341 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21342 if test "${ac_cv_type_long_long+set}" = set; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21344 else
21345 cat >conftest.$ac_ext <<_ACEOF
21346 /* confdefs.h. */
21347 _ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21351 $ac_includes_default
21352 typedef long long ac__type_new_;
21353 int
21354 main ()
21355 {
21356 if ((ac__type_new_ *) 0)
21357 return 0;
21358 if (sizeof (ac__type_new_))
21359 return 0;
21360 ;
21361 return 0;
21362 }
21363 _ACEOF
21364 rm -f conftest.$ac_objext
21365 if { (ac_try="$ac_compile"
21366 case "(($ac_try" in
21367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21368 *) ac_try_echo=$ac_try;;
21369 esac
21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21371 (eval "$ac_compile") 2>conftest.er1
21372 ac_status=$?
21373 grep -v '^ *+' conftest.er1 >conftest.err
21374 rm -f conftest.er1
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } && {
21378 test -z "$ac_c_werror_flag" ||
21379 test ! -s conftest.err
21380 } && test -s conftest.$ac_objext; then
21381 ac_cv_type_long_long=yes
21382 else
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21385
21386 ac_cv_type_long_long=no
21387 fi
21388
21389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21390 fi
21391 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21392 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21393
21394 # The cast to long int works around a bug in the HP C Compiler
21395 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21396 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21397 # This bug is HP SR number 8606223364.
21398 { echo "$as_me:$LINENO: checking size of long long" >&5
21399 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21400 if test "${ac_cv_sizeof_long_long+set}" = set; then
21401 echo $ECHO_N "(cached) $ECHO_C" >&6
21402 else
21403 if test "$cross_compiling" = yes; then
21404 # Depending upon the size, compute the lo and hi bounds.
21405 cat >conftest.$ac_ext <<_ACEOF
21406 /* confdefs.h. */
21407 _ACEOF
21408 cat confdefs.h >>conftest.$ac_ext
21409 cat >>conftest.$ac_ext <<_ACEOF
21410 /* end confdefs.h. */
21411 $ac_includes_default
21412 typedef long long ac__type_sizeof_;
21413 int
21414 main ()
21415 {
21416 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21417 test_array [0] = 0
21418
21419 ;
21420 return 0;
21421 }
21422 _ACEOF
21423 rm -f conftest.$ac_objext
21424 if { (ac_try="$ac_compile"
21425 case "(($ac_try" in
21426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21427 *) ac_try_echo=$ac_try;;
21428 esac
21429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21430 (eval "$ac_compile") 2>conftest.er1
21431 ac_status=$?
21432 grep -v '^ *+' conftest.er1 >conftest.err
21433 rm -f conftest.er1
21434 cat conftest.err >&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); } && {
21437 test -z "$ac_c_werror_flag" ||
21438 test ! -s conftest.err
21439 } && test -s conftest.$ac_objext; then
21440 ac_lo=0 ac_mid=0
21441 while :; do
21442 cat >conftest.$ac_ext <<_ACEOF
21443 /* confdefs.h. */
21444 _ACEOF
21445 cat confdefs.h >>conftest.$ac_ext
21446 cat >>conftest.$ac_ext <<_ACEOF
21447 /* end confdefs.h. */
21448 $ac_includes_default
21449 typedef long long ac__type_sizeof_;
21450 int
21451 main ()
21452 {
21453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21454 test_array [0] = 0
21455
21456 ;
21457 return 0;
21458 }
21459 _ACEOF
21460 rm -f conftest.$ac_objext
21461 if { (ac_try="$ac_compile"
21462 case "(($ac_try" in
21463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21464 *) ac_try_echo=$ac_try;;
21465 esac
21466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21467 (eval "$ac_compile") 2>conftest.er1
21468 ac_status=$?
21469 grep -v '^ *+' conftest.er1 >conftest.err
21470 rm -f conftest.er1
21471 cat conftest.err >&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } && {
21474 test -z "$ac_c_werror_flag" ||
21475 test ! -s conftest.err
21476 } && test -s conftest.$ac_objext; then
21477 ac_hi=$ac_mid; break
21478 else
21479 echo "$as_me: failed program was:" >&5
21480 sed 's/^/| /' conftest.$ac_ext >&5
21481
21482 ac_lo=`expr $ac_mid + 1`
21483 if test $ac_lo -le $ac_mid; then
21484 ac_lo= ac_hi=
21485 break
21486 fi
21487 ac_mid=`expr 2 '*' $ac_mid + 1`
21488 fi
21489
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491 done
21492 else
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21495
21496 cat >conftest.$ac_ext <<_ACEOF
21497 /* confdefs.h. */
21498 _ACEOF
21499 cat confdefs.h >>conftest.$ac_ext
21500 cat >>conftest.$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21502 $ac_includes_default
21503 typedef long long ac__type_sizeof_;
21504 int
21505 main ()
21506 {
21507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21508 test_array [0] = 0
21509
21510 ;
21511 return 0;
21512 }
21513 _ACEOF
21514 rm -f conftest.$ac_objext
21515 if { (ac_try="$ac_compile"
21516 case "(($ac_try" in
21517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21518 *) ac_try_echo=$ac_try;;
21519 esac
21520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21521 (eval "$ac_compile") 2>conftest.er1
21522 ac_status=$?
21523 grep -v '^ *+' conftest.er1 >conftest.err
21524 rm -f conftest.er1
21525 cat conftest.err >&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } && {
21528 test -z "$ac_c_werror_flag" ||
21529 test ! -s conftest.err
21530 } && test -s conftest.$ac_objext; then
21531 ac_hi=-1 ac_mid=-1
21532 while :; do
21533 cat >conftest.$ac_ext <<_ACEOF
21534 /* confdefs.h. */
21535 _ACEOF
21536 cat confdefs.h >>conftest.$ac_ext
21537 cat >>conftest.$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 $ac_includes_default
21540 typedef long long ac__type_sizeof_;
21541 int
21542 main ()
21543 {
21544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21545 test_array [0] = 0
21546
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest.$ac_objext
21552 if { (ac_try="$ac_compile"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21556 esac
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_compile") 2>conftest.er1
21559 ac_status=$?
21560 grep -v '^ *+' conftest.er1 >conftest.err
21561 rm -f conftest.er1
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } && {
21565 test -z "$ac_c_werror_flag" ||
21566 test ! -s conftest.err
21567 } && test -s conftest.$ac_objext; then
21568 ac_lo=$ac_mid; break
21569 else
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21572
21573 ac_hi=`expr '(' $ac_mid ')' - 1`
21574 if test $ac_mid -le $ac_hi; then
21575 ac_lo= ac_hi=
21576 break
21577 fi
21578 ac_mid=`expr 2 '*' $ac_mid`
21579 fi
21580
21581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21582 done
21583 else
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21586
21587 ac_lo= ac_hi=
21588 fi
21589
21590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21591 fi
21592
21593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21594 # Binary search between lo and hi bounds.
21595 while test "x$ac_lo" != "x$ac_hi"; do
21596 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21597 cat >conftest.$ac_ext <<_ACEOF
21598 /* confdefs.h. */
21599 _ACEOF
21600 cat confdefs.h >>conftest.$ac_ext
21601 cat >>conftest.$ac_ext <<_ACEOF
21602 /* end confdefs.h. */
21603 $ac_includes_default
21604 typedef long long ac__type_sizeof_;
21605 int
21606 main ()
21607 {
21608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21609 test_array [0] = 0
21610
21611 ;
21612 return 0;
21613 }
21614 _ACEOF
21615 rm -f conftest.$ac_objext
21616 if { (ac_try="$ac_compile"
21617 case "(($ac_try" in
21618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21619 *) ac_try_echo=$ac_try;;
21620 esac
21621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21622 (eval "$ac_compile") 2>conftest.er1
21623 ac_status=$?
21624 grep -v '^ *+' conftest.er1 >conftest.err
21625 rm -f conftest.er1
21626 cat conftest.err >&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); } && {
21629 test -z "$ac_c_werror_flag" ||
21630 test ! -s conftest.err
21631 } && test -s conftest.$ac_objext; then
21632 ac_hi=$ac_mid
21633 else
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.$ac_ext >&5
21636
21637 ac_lo=`expr '(' $ac_mid ')' + 1`
21638 fi
21639
21640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21641 done
21642 case $ac_lo in
21643 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21644 '') if test "$ac_cv_type_long_long" = yes; then
21645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21646 See \`config.log' for more details." >&5
21647 echo "$as_me: error: cannot compute sizeof (long long)
21648 See \`config.log' for more details." >&2;}
21649 { (exit 77); exit 77; }; }
21650 else
21651 ac_cv_sizeof_long_long=0
21652 fi ;;
21653 esac
21654 else
21655 cat >conftest.$ac_ext <<_ACEOF
21656 /* confdefs.h. */
21657 _ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21662 typedef long long ac__type_sizeof_;
21663 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21664 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21665 #include <stdio.h>
21666 #include <stdlib.h>
21667 int
21668 main ()
21669 {
21670
21671 FILE *f = fopen ("conftest.val", "w");
21672 if (! f)
21673 return 1;
21674 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21675 {
21676 long int i = longval ();
21677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21678 return 1;
21679 fprintf (f, "%ld\n", i);
21680 }
21681 else
21682 {
21683 unsigned long int i = ulongval ();
21684 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21685 return 1;
21686 fprintf (f, "%lu\n", i);
21687 }
21688 return ferror (f) || fclose (f) != 0;
21689
21690 ;
21691 return 0;
21692 }
21693 _ACEOF
21694 rm -f conftest$ac_exeext
21695 if { (ac_try="$ac_link"
21696 case "(($ac_try" in
21697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21698 *) ac_try_echo=$ac_try;;
21699 esac
21700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21701 (eval "$ac_link") 2>&5
21702 ac_status=$?
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21705 { (case "(($ac_try" in
21706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21707 *) ac_try_echo=$ac_try;;
21708 esac
21709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21710 (eval "$ac_try") 2>&5
21711 ac_status=$?
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 ac_cv_sizeof_long_long=`cat conftest.val`
21715 else
21716 echo "$as_me: program exited with status $ac_status" >&5
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.$ac_ext >&5
21719
21720 ( exit $ac_status )
21721 if test "$ac_cv_type_long_long" = yes; then
21722 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21723 See \`config.log' for more details." >&5
21724 echo "$as_me: error: cannot compute sizeof (long long)
21725 See \`config.log' for more details." >&2;}
21726 { (exit 77); exit 77; }; }
21727 else
21728 ac_cv_sizeof_long_long=0
21729 fi
21730 fi
21731 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21732 fi
21733 rm -f conftest.val
21734 fi
21735 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21736 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21737
21738
21739
21740 cat >>confdefs.h <<_ACEOF
21741 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21742 _ACEOF
21743
21744
21745 esac
21746
21747 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21748 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21749 if test "${ac_cv_type_wchar_t+set}" = set; then
21750 echo $ECHO_N "(cached) $ECHO_C" >&6
21751 else
21752 cat >conftest.$ac_ext <<_ACEOF
21753 /* confdefs.h. */
21754 _ACEOF
21755 cat confdefs.h >>conftest.$ac_ext
21756 cat >>conftest.$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758
21759 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21760 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21761 # error "fake wchar_t"
21762 #endif
21763 #ifdef HAVE_WCHAR_H
21764 # ifdef __CYGWIN__
21765 # include <stddef.h>
21766 # endif
21767 # include <wchar.h>
21768 #endif
21769 #ifdef HAVE_STDLIB_H
21770 # include <stdlib.h>
21771 #endif
21772 #include <stdio.h>
21773
21774
21775
21776 typedef wchar_t ac__type_new_;
21777 int
21778 main ()
21779 {
21780 if ((ac__type_new_ *) 0)
21781 return 0;
21782 if (sizeof (ac__type_new_))
21783 return 0;
21784 ;
21785 return 0;
21786 }
21787 _ACEOF
21788 rm -f conftest.$ac_objext
21789 if { (ac_try="$ac_compile"
21790 case "(($ac_try" in
21791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21792 *) ac_try_echo=$ac_try;;
21793 esac
21794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21795 (eval "$ac_compile") 2>conftest.er1
21796 ac_status=$?
21797 grep -v '^ *+' conftest.er1 >conftest.err
21798 rm -f conftest.er1
21799 cat conftest.err >&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } && {
21802 test -z "$ac_c_werror_flag" ||
21803 test ! -s conftest.err
21804 } && test -s conftest.$ac_objext; then
21805 ac_cv_type_wchar_t=yes
21806 else
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.$ac_ext >&5
21809
21810 ac_cv_type_wchar_t=no
21811 fi
21812
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814 fi
21815 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21816 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21817
21818 # The cast to long int works around a bug in the HP C Compiler
21819 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21820 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21821 # This bug is HP SR number 8606223364.
21822 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21823 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21824 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21825 echo $ECHO_N "(cached) $ECHO_C" >&6
21826 else
21827 if test "$cross_compiling" = yes; then
21828 # Depending upon the size, compute the lo and hi bounds.
21829 cat >conftest.$ac_ext <<_ACEOF
21830 /* confdefs.h. */
21831 _ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21835
21836 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21837 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21838 # error "fake wchar_t"
21839 #endif
21840 #ifdef HAVE_WCHAR_H
21841 # ifdef __CYGWIN__
21842 # include <stddef.h>
21843 # endif
21844 # include <wchar.h>
21845 #endif
21846 #ifdef HAVE_STDLIB_H
21847 # include <stdlib.h>
21848 #endif
21849 #include <stdio.h>
21850
21851
21852
21853 typedef wchar_t ac__type_sizeof_;
21854 int
21855 main ()
21856 {
21857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21858 test_array [0] = 0
21859
21860 ;
21861 return 0;
21862 }
21863 _ACEOF
21864 rm -f conftest.$ac_objext
21865 if { (ac_try="$ac_compile"
21866 case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21869 esac
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_compile") 2>conftest.er1
21872 ac_status=$?
21873 grep -v '^ *+' conftest.er1 >conftest.err
21874 rm -f conftest.er1
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } && {
21878 test -z "$ac_c_werror_flag" ||
21879 test ! -s conftest.err
21880 } && test -s conftest.$ac_objext; then
21881 ac_lo=0 ac_mid=0
21882 while :; do
21883 cat >conftest.$ac_ext <<_ACEOF
21884 /* confdefs.h. */
21885 _ACEOF
21886 cat confdefs.h >>conftest.$ac_ext
21887 cat >>conftest.$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889
21890 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21891 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21892 # error "fake wchar_t"
21893 #endif
21894 #ifdef HAVE_WCHAR_H
21895 # ifdef __CYGWIN__
21896 # include <stddef.h>
21897 # endif
21898 # include <wchar.h>
21899 #endif
21900 #ifdef HAVE_STDLIB_H
21901 # include <stdlib.h>
21902 #endif
21903 #include <stdio.h>
21904
21905
21906
21907 typedef wchar_t ac__type_sizeof_;
21908 int
21909 main ()
21910 {
21911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21912 test_array [0] = 0
21913
21914 ;
21915 return 0;
21916 }
21917 _ACEOF
21918 rm -f conftest.$ac_objext
21919 if { (ac_try="$ac_compile"
21920 case "(($ac_try" in
21921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21922 *) ac_try_echo=$ac_try;;
21923 esac
21924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_compile") 2>conftest.er1
21926 ac_status=$?
21927 grep -v '^ *+' conftest.er1 >conftest.err
21928 rm -f conftest.er1
21929 cat conftest.err >&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } && {
21932 test -z "$ac_c_werror_flag" ||
21933 test ! -s conftest.err
21934 } && test -s conftest.$ac_objext; then
21935 ac_hi=$ac_mid; break
21936 else
21937 echo "$as_me: failed program was:" >&5
21938 sed 's/^/| /' conftest.$ac_ext >&5
21939
21940 ac_lo=`expr $ac_mid + 1`
21941 if test $ac_lo -le $ac_mid; then
21942 ac_lo= ac_hi=
21943 break
21944 fi
21945 ac_mid=`expr 2 '*' $ac_mid + 1`
21946 fi
21947
21948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21949 done
21950 else
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21953
21954 cat >conftest.$ac_ext <<_ACEOF
21955 /* confdefs.h. */
21956 _ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960
21961 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21962 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21963 # error "fake wchar_t"
21964 #endif
21965 #ifdef HAVE_WCHAR_H
21966 # ifdef __CYGWIN__
21967 # include <stddef.h>
21968 # endif
21969 # include <wchar.h>
21970 #endif
21971 #ifdef HAVE_STDLIB_H
21972 # include <stdlib.h>
21973 #endif
21974 #include <stdio.h>
21975
21976
21977
21978 typedef wchar_t ac__type_sizeof_;
21979 int
21980 main ()
21981 {
21982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21983 test_array [0] = 0
21984
21985 ;
21986 return 0;
21987 }
21988 _ACEOF
21989 rm -f conftest.$ac_objext
21990 if { (ac_try="$ac_compile"
21991 case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21994 esac
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_compile") 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } && {
22003 test -z "$ac_c_werror_flag" ||
22004 test ! -s conftest.err
22005 } && test -s conftest.$ac_objext; then
22006 ac_hi=-1 ac_mid=-1
22007 while :; do
22008 cat >conftest.$ac_ext <<_ACEOF
22009 /* confdefs.h. */
22010 _ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014
22015 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22016 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22017 # error "fake wchar_t"
22018 #endif
22019 #ifdef HAVE_WCHAR_H
22020 # ifdef __CYGWIN__
22021 # include <stddef.h>
22022 # endif
22023 # include <wchar.h>
22024 #endif
22025 #ifdef HAVE_STDLIB_H
22026 # include <stdlib.h>
22027 #endif
22028 #include <stdio.h>
22029
22030
22031
22032 typedef wchar_t ac__type_sizeof_;
22033 int
22034 main ()
22035 {
22036 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22037 test_array [0] = 0
22038
22039 ;
22040 return 0;
22041 }
22042 _ACEOF
22043 rm -f conftest.$ac_objext
22044 if { (ac_try="$ac_compile"
22045 case "(($ac_try" in
22046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22047 *) ac_try_echo=$ac_try;;
22048 esac
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_compile") 2>conftest.er1
22051 ac_status=$?
22052 grep -v '^ *+' conftest.er1 >conftest.err
22053 rm -f conftest.er1
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } && {
22057 test -z "$ac_c_werror_flag" ||
22058 test ! -s conftest.err
22059 } && test -s conftest.$ac_objext; then
22060 ac_lo=$ac_mid; break
22061 else
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.$ac_ext >&5
22064
22065 ac_hi=`expr '(' $ac_mid ')' - 1`
22066 if test $ac_mid -le $ac_hi; then
22067 ac_lo= ac_hi=
22068 break
22069 fi
22070 ac_mid=`expr 2 '*' $ac_mid`
22071 fi
22072
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 done
22075 else
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5
22078
22079 ac_lo= ac_hi=
22080 fi
22081
22082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22083 fi
22084
22085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22086 # Binary search between lo and hi bounds.
22087 while test "x$ac_lo" != "x$ac_hi"; do
22088 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22089 cat >conftest.$ac_ext <<_ACEOF
22090 /* confdefs.h. */
22091 _ACEOF
22092 cat confdefs.h >>conftest.$ac_ext
22093 cat >>conftest.$ac_ext <<_ACEOF
22094 /* end confdefs.h. */
22095
22096 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22097 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22098 # error "fake wchar_t"
22099 #endif
22100 #ifdef HAVE_WCHAR_H
22101 # ifdef __CYGWIN__
22102 # include <stddef.h>
22103 # endif
22104 # include <wchar.h>
22105 #endif
22106 #ifdef HAVE_STDLIB_H
22107 # include <stdlib.h>
22108 #endif
22109 #include <stdio.h>
22110
22111
22112
22113 typedef wchar_t ac__type_sizeof_;
22114 int
22115 main ()
22116 {
22117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22118 test_array [0] = 0
22119
22120 ;
22121 return 0;
22122 }
22123 _ACEOF
22124 rm -f conftest.$ac_objext
22125 if { (ac_try="$ac_compile"
22126 case "(($ac_try" in
22127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22129 esac
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_compile") 2>conftest.er1
22132 ac_status=$?
22133 grep -v '^ *+' conftest.er1 >conftest.err
22134 rm -f conftest.er1
22135 cat conftest.err >&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); } && {
22138 test -z "$ac_c_werror_flag" ||
22139 test ! -s conftest.err
22140 } && test -s conftest.$ac_objext; then
22141 ac_hi=$ac_mid
22142 else
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22145
22146 ac_lo=`expr '(' $ac_mid ')' + 1`
22147 fi
22148
22149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22150 done
22151 case $ac_lo in
22152 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22153 '') if test "$ac_cv_type_wchar_t" = yes; then
22154 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22155 See \`config.log' for more details." >&5
22156 echo "$as_me: error: cannot compute sizeof (wchar_t)
22157 See \`config.log' for more details." >&2;}
22158 { (exit 77); exit 77; }; }
22159 else
22160 ac_cv_sizeof_wchar_t=0
22161 fi ;;
22162 esac
22163 else
22164 cat >conftest.$ac_ext <<_ACEOF
22165 /* confdefs.h. */
22166 _ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170
22171 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22172 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22173 # error "fake wchar_t"
22174 #endif
22175 #ifdef HAVE_WCHAR_H
22176 # ifdef __CYGWIN__
22177 # include <stddef.h>
22178 # endif
22179 # include <wchar.h>
22180 #endif
22181 #ifdef HAVE_STDLIB_H
22182 # include <stdlib.h>
22183 #endif
22184 #include <stdio.h>
22185
22186
22187
22188 typedef wchar_t ac__type_sizeof_;
22189 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22190 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22191 #include <stdio.h>
22192 #include <stdlib.h>
22193 int
22194 main ()
22195 {
22196
22197 FILE *f = fopen ("conftest.val", "w");
22198 if (! f)
22199 return 1;
22200 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22201 {
22202 long int i = longval ();
22203 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22204 return 1;
22205 fprintf (f, "%ld\n", i);
22206 }
22207 else
22208 {
22209 unsigned long int i = ulongval ();
22210 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22211 return 1;
22212 fprintf (f, "%lu\n", i);
22213 }
22214 return ferror (f) || fclose (f) != 0;
22215
22216 ;
22217 return 0;
22218 }
22219 _ACEOF
22220 rm -f conftest$ac_exeext
22221 if { (ac_try="$ac_link"
22222 case "(($ac_try" in
22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22225 esac
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_link") 2>&5
22228 ac_status=$?
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22231 { (case "(($ac_try" in
22232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22233 *) ac_try_echo=$ac_try;;
22234 esac
22235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22236 (eval "$ac_try") 2>&5
22237 ac_status=$?
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_cv_sizeof_wchar_t=`cat conftest.val`
22241 else
22242 echo "$as_me: program exited with status $ac_status" >&5
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22245
22246 ( exit $ac_status )
22247 if test "$ac_cv_type_wchar_t" = yes; then
22248 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22249 See \`config.log' for more details." >&5
22250 echo "$as_me: error: cannot compute sizeof (wchar_t)
22251 See \`config.log' for more details." >&2;}
22252 { (exit 77); exit 77; }; }
22253 else
22254 ac_cv_sizeof_wchar_t=0
22255 fi
22256 fi
22257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22258 fi
22259 rm -f conftest.val
22260 fi
22261 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22262 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22263
22264
22265
22266 cat >>confdefs.h <<_ACEOF
22267 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22268 _ACEOF
22269
22270
22271 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22272 wxUSE_WCHAR_T=yes
22273 else
22274 wxUSE_WCHAR_T=no
22275 fi
22276
22277 { echo "$as_me:$LINENO: checking for va_copy" >&5
22278 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22279 if test "${wx_cv_func_va_copy+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22281 else
22282
22283 ac_ext=cpp
22284 ac_cpp='$CXXCPP $CPPFLAGS'
22285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22288
22289 cat >conftest.$ac_ext <<_ACEOF
22290
22291 #include <stdarg.h>
22292 void foo(char *f, ...)
22293 {
22294 va_list ap1, ap2;
22295 va_start(ap1, f);
22296 va_copy(ap2, ap1);
22297 va_end(ap2);
22298 va_end(ap1);
22299 }
22300 int main()
22301 {
22302 foo("hi", 17);
22303 return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext conftest$ac_exeext
22307 if { (ac_try="$ac_link"
22308 case "(($ac_try" in
22309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22310 *) ac_try_echo=$ac_try;;
22311 esac
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313 (eval "$ac_link") 2>conftest.er1
22314 ac_status=$?
22315 grep -v '^ *+' conftest.er1 >conftest.err
22316 rm -f conftest.er1
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && {
22320 test -z "$ac_cxx_werror_flag" ||
22321 test ! -s conftest.err
22322 } && test -s conftest$ac_exeext &&
22323 $as_test_x conftest$ac_exeext; then
22324 wx_cv_func_va_copy=yes
22325 else
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22328
22329 wx_cv_func_va_copy=no
22330
22331 fi
22332
22333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22334 conftest$ac_exeext conftest.$ac_ext
22335 ac_ext=c
22336 ac_cpp='$CPP $CPPFLAGS'
22337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22340
22341
22342
22343 fi
22344 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22345 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22346
22347 if test $wx_cv_func_va_copy = "yes"; then
22348 cat >>confdefs.h <<\_ACEOF
22349 #define HAVE_VA_COPY 1
22350 _ACEOF
22351
22352 else
22353 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22354 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22355 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22356 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 else
22358
22359 if test "$cross_compiling" = yes; then
22360 wx_cv_type_va_list_lvalue=yes
22361
22362 else
22363 cat >conftest.$ac_ext <<_ACEOF
22364
22365 #include <stdarg.h>
22366 int foo(char *f, ...)
22367 {
22368 va_list ap1, ap2;
22369 va_start(ap1, f);
22370 ap2 = ap1;
22371 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22372 return 1;
22373 va_end(ap2);
22374 va_end(ap1);
22375 return 0;
22376 }
22377 int main()
22378 {
22379 return foo("hi", 17);
22380 }
22381 _ACEOF
22382 rm -f conftest$ac_exeext
22383 if { (ac_try="$ac_link"
22384 case "(($ac_try" in
22385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22386 *) ac_try_echo=$ac_try;;
22387 esac
22388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22389 (eval "$ac_link") 2>&5
22390 ac_status=$?
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22393 { (case "(($ac_try" in
22394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22395 *) ac_try_echo=$ac_try;;
22396 esac
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22398 (eval "$ac_try") 2>&5
22399 ac_status=$?
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; }; then
22402 wx_cv_type_va_list_lvalue=yes
22403 else
22404 echo "$as_me: program exited with status $ac_status" >&5
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22407
22408 ( exit $ac_status )
22409 wx_cv_type_va_list_lvalue=no
22410 fi
22411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22412 fi
22413
22414
22415
22416
22417 fi
22418 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22419 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22420
22421 if test $wx_cv_type_va_list_lvalue != "yes"; then
22422 cat >>confdefs.h <<\_ACEOF
22423 #define VA_LIST_IS_ARRAY 1
22424 _ACEOF
22425
22426 fi
22427 fi
22428
22429 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22430
22431 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22432 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22433 if test "${wx_cv_have_variadic_macros+set}" = set; then
22434 echo $ECHO_N "(cached) $ECHO_C" >&6
22435 else
22436
22437 ac_ext=cpp
22438 ac_cpp='$CXXCPP $CPPFLAGS'
22439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22442
22443 cat >conftest.$ac_ext <<_ACEOF
22444 /* confdefs.h. */
22445 _ACEOF
22446 cat confdefs.h >>conftest.$ac_ext
22447 cat >>conftest.$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22449
22450 #include <stdio.h>
22451 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22452
22453 int
22454 main ()
22455 {
22456
22457 test("%s %d %p", "test", 1, 0);
22458
22459
22460 ;
22461 return 0;
22462 }
22463 _ACEOF
22464 rm -f conftest.$ac_objext
22465 if { (ac_try="$ac_compile"
22466 case "(($ac_try" in
22467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22468 *) ac_try_echo=$ac_try;;
22469 esac
22470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22471 (eval "$ac_compile") 2>conftest.er1
22472 ac_status=$?
22473 grep -v '^ *+' conftest.er1 >conftest.err
22474 rm -f conftest.er1
22475 cat conftest.err >&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); } && {
22478 test -z "$ac_cxx_werror_flag" ||
22479 test ! -s conftest.err
22480 } && test -s conftest.$ac_objext; then
22481 wx_cv_have_variadic_macros=yes
22482 else
22483 echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22485
22486 wx_cv_have_variadic_macros=no
22487
22488 fi
22489
22490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22491 ac_ext=c
22492 ac_cpp='$CPP $CPPFLAGS'
22493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22496
22497
22498
22499 fi
22500 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22501 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22502
22503 if test $wx_cv_have_variadic_macros = "yes"; then
22504 cat >>confdefs.h <<\_ACEOF
22505 #define HAVE_VARIADIC_MACROS 1
22506 _ACEOF
22507
22508 fi
22509
22510 fi
22511 # Check whether --enable-largefile was given.
22512 if test "${enable_largefile+set}" = set; then
22513 enableval=$enable_largefile;
22514 fi
22515
22516 if test "$enable_largefile" != no; then
22517 wx_largefile=no
22518
22519 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22520 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22521 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22522 echo $ECHO_N "(cached) $ECHO_C" >&6
22523 else
22524
22525 cat >conftest.$ac_ext <<_ACEOF
22526 /* confdefs.h. */
22527 _ACEOF
22528 cat confdefs.h >>conftest.$ac_ext
22529 cat >>conftest.$ac_ext <<_ACEOF
22530 /* end confdefs.h. */
22531 #define _FILE_OFFSET_BITS 64
22532 #include <sys/types.h>
22533 int
22534 main ()
22535 {
22536 typedef struct {
22537 unsigned int field: sizeof(off_t) == 8;
22538 } wxlf;
22539
22540 ;
22541 return 0;
22542 }
22543 _ACEOF
22544 rm -f conftest.$ac_objext
22545 if { (ac_try="$ac_compile"
22546 case "(($ac_try" in
22547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22548 *) ac_try_echo=$ac_try;;
22549 esac
22550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551 (eval "$ac_compile") 2>conftest.er1
22552 ac_status=$?
22553 grep -v '^ *+' conftest.er1 >conftest.err
22554 rm -f conftest.er1
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } && {
22558 test -z "$ac_c_werror_flag" ||
22559 test ! -s conftest.err
22560 } && test -s conftest.$ac_objext; then
22561 ac_cv_sys_file_offset_bits=64
22562 else
22563 echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.$ac_ext >&5
22565
22566 ac_cv_sys_file_offset_bits=no
22567 fi
22568
22569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22570
22571
22572 fi
22573 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22574 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22575
22576 if test "$ac_cv_sys_file_offset_bits" != no; then
22577 wx_largefile=yes
22578 cat >>confdefs.h <<_ACEOF
22579 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22580 _ACEOF
22581
22582 fi
22583
22584 if test "x$wx_largefile" != "xyes"; then
22585
22586 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22587 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22588 if test "${ac_cv_sys_large_files+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22590 else
22591
22592 cat >conftest.$ac_ext <<_ACEOF
22593 /* confdefs.h. */
22594 _ACEOF
22595 cat confdefs.h >>conftest.$ac_ext
22596 cat >>conftest.$ac_ext <<_ACEOF
22597 /* end confdefs.h. */
22598 #define _LARGE_FILES 1
22599 #include <sys/types.h>
22600 int
22601 main ()
22602 {
22603 typedef struct {
22604 unsigned int field: sizeof(off_t) == 8;
22605 } wxlf;
22606
22607 ;
22608 return 0;
22609 }
22610 _ACEOF
22611 rm -f conftest.$ac_objext
22612 if { (ac_try="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22616 esac
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22619 ac_status=$?
22620 grep -v '^ *+' conftest.er1 >conftest.err
22621 rm -f conftest.er1
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.$ac_objext; then
22628 ac_cv_sys_large_files=1
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 ac_cv_sys_large_files=no
22634 fi
22635
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637
22638
22639 fi
22640 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22641 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22642
22643 if test "$ac_cv_sys_large_files" != no; then
22644 wx_largefile=yes
22645 cat >>confdefs.h <<_ACEOF
22646 #define _LARGE_FILES $ac_cv_sys_large_files
22647 _ACEOF
22648
22649 fi
22650
22651 fi
22652
22653 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22654 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22655 if test "x$wx_largefile" = "xyes"; then
22656 cat >>confdefs.h <<\_ACEOF
22657 #define HAVE_LARGEFILE_SUPPORT 1
22658 _ACEOF
22659
22660 fi
22661 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22662 echo "${ECHO_T}$wx_largefile" >&6; }
22663 fi
22664
22665
22666 if test "x$wx_largefile" = "xyes"; then
22667 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22668 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22669
22670 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22671 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22672 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22673 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22674 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 else
22676
22677 ac_ext=cpp
22678 ac_cpp='$CXXCPP $CPPFLAGS'
22679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22682
22683 cat >conftest.$ac_ext <<_ACEOF
22684 /* confdefs.h. */
22685 _ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689
22690 int
22691 main ()
22692 {
22693
22694 #ifndef __STDC_EXT__
22695 choke me
22696 #endif
22697
22698 ;
22699 return 0;
22700 }
22701 _ACEOF
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22707 esac
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } && {
22716 test -z "$ac_cxx_werror_flag" ||
22717 test ! -s conftest.err
22718 } && test -s conftest.$ac_objext; then
22719 wx_cv_STDC_EXT_required=no
22720 else
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22723
22724 wx_cv_STDC_EXT_required=yes
22725
22726 fi
22727
22728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22729 ac_ext=c
22730 ac_cpp='$CPP $CPPFLAGS'
22731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22734
22735
22736
22737 fi
22738 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22739 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22740 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22741 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22742 fi
22743 fi
22744 else
22745 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22746 fi
22747 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22748 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22749 if test "${ac_cv_sys_largefile_source+set}" = set; then
22750 echo $ECHO_N "(cached) $ECHO_C" >&6
22751 else
22752 while :; do
22753 cat >conftest.$ac_ext <<_ACEOF
22754 /* confdefs.h. */
22755 _ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 #include <stdio.h>
22760 int
22761 main ()
22762 {
22763 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22764 ;
22765 return 0;
22766 }
22767 _ACEOF
22768 rm -f conftest.$ac_objext conftest$ac_exeext
22769 if { (ac_try="$ac_link"
22770 case "(($ac_try" in
22771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22772 *) ac_try_echo=$ac_try;;
22773 esac
22774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22775 (eval "$ac_link") 2>conftest.er1
22776 ac_status=$?
22777 grep -v '^ *+' conftest.er1 >conftest.err
22778 rm -f conftest.er1
22779 cat conftest.err >&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } && {
22782 test -z "$ac_c_werror_flag" ||
22783 test ! -s conftest.err
22784 } && test -s conftest$ac_exeext &&
22785 $as_test_x conftest$ac_exeext; then
22786 ac_cv_sys_largefile_source=no; break
22787 else
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.$ac_ext >&5
22790
22791
22792 fi
22793
22794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22795 conftest$ac_exeext conftest.$ac_ext
22796 cat >conftest.$ac_ext <<_ACEOF
22797 /* confdefs.h. */
22798 _ACEOF
22799 cat confdefs.h >>conftest.$ac_ext
22800 cat >>conftest.$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22802 #define _LARGEFILE_SOURCE 1
22803 #include <stdio.h>
22804 int
22805 main ()
22806 {
22807 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22808 ;
22809 return 0;
22810 }
22811 _ACEOF
22812 rm -f conftest.$ac_objext conftest$ac_exeext
22813 if { (ac_try="$ac_link"
22814 case "(($ac_try" in
22815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816 *) ac_try_echo=$ac_try;;
22817 esac
22818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22819 (eval "$ac_link") 2>conftest.er1
22820 ac_status=$?
22821 grep -v '^ *+' conftest.er1 >conftest.err
22822 rm -f conftest.er1
22823 cat conftest.err >&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); } && {
22826 test -z "$ac_c_werror_flag" ||
22827 test ! -s conftest.err
22828 } && test -s conftest$ac_exeext &&
22829 $as_test_x conftest$ac_exeext; then
22830 ac_cv_sys_largefile_source=1; break
22831 else
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.$ac_ext >&5
22834
22835
22836 fi
22837
22838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22839 conftest$ac_exeext conftest.$ac_ext
22840 ac_cv_sys_largefile_source=unknown
22841 break
22842 done
22843 fi
22844 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22845 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22846 case $ac_cv_sys_largefile_source in #(
22847 no | unknown) ;;
22848 *)
22849 cat >>confdefs.h <<_ACEOF
22850 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22851 _ACEOF
22852 ;;
22853 esac
22854 rm -f conftest*
22855
22856 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22857 # in glibc 2.1.3, but that breaks too many other things.
22858 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22859 if test $ac_cv_sys_largefile_source != unknown; then
22860
22861 cat >>confdefs.h <<\_ACEOF
22862 #define HAVE_FSEEKO 1
22863 _ACEOF
22864
22865 fi
22866
22867 if test "$ac_cv_sys_largefile_source" != no; then
22868 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22869 fi
22870 fi
22871
22872 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22873 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22874 if test "${ac_cv_c_bigendian+set}" = set; then
22875 echo $ECHO_N "(cached) $ECHO_C" >&6
22876 else
22877 ac_cv_c_bigendian=unknown
22878 # See if sys/param.h defines the BYTE_ORDER macro.
22879 cat >conftest.$ac_ext <<_ACEOF
22880 /* confdefs.h. */
22881 _ACEOF
22882 cat confdefs.h >>conftest.$ac_ext
22883 cat >>conftest.$ac_ext <<_ACEOF
22884 /* end confdefs.h. */
22885 #include <sys/types.h>
22886 #include <sys/param.h>
22887 int
22888 main ()
22889 {
22890
22891 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22892 bogus endian macros
22893 #endif
22894 ;
22895 return 0;
22896 }
22897 _ACEOF
22898 rm -f conftest.$ac_objext
22899 if { (ac_try="$ac_compile"
22900 case "(($ac_try" in
22901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22902 *) ac_try_echo=$ac_try;;
22903 esac
22904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22905 (eval "$ac_compile") 2>conftest.er1
22906 ac_status=$?
22907 grep -v '^ *+' conftest.er1 >conftest.err
22908 rm -f conftest.er1
22909 cat conftest.err >&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); } && {
22912 test -z "$ac_c_werror_flag" ||
22913 test ! -s conftest.err
22914 } && test -s conftest.$ac_objext; then
22915 # It does; now see whether it defined to BIG_ENDIAN or not.
22916 cat >conftest.$ac_ext <<_ACEOF
22917 /* confdefs.h. */
22918 _ACEOF
22919 cat confdefs.h >>conftest.$ac_ext
22920 cat >>conftest.$ac_ext <<_ACEOF
22921 /* end confdefs.h. */
22922 #include <sys/types.h>
22923 #include <sys/param.h>
22924 int
22925 main ()
22926 {
22927
22928 #if BYTE_ORDER != BIG_ENDIAN
22929 not big endian
22930 #endif
22931 ;
22932 return 0;
22933 }
22934 _ACEOF
22935 rm -f conftest.$ac_objext
22936 if { (ac_try="$ac_compile"
22937 case "(($ac_try" in
22938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22939 *) ac_try_echo=$ac_try;;
22940 esac
22941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942 (eval "$ac_compile") 2>conftest.er1
22943 ac_status=$?
22944 grep -v '^ *+' conftest.er1 >conftest.err
22945 rm -f conftest.er1
22946 cat conftest.err >&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); } && {
22949 test -z "$ac_c_werror_flag" ||
22950 test ! -s conftest.err
22951 } && test -s conftest.$ac_objext; then
22952 ac_cv_c_bigendian=yes
22953 else
22954 echo "$as_me: failed program was:" >&5
22955 sed 's/^/| /' conftest.$ac_ext >&5
22956
22957 ac_cv_c_bigendian=no
22958 fi
22959
22960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 else
22962 echo "$as_me: failed program was:" >&5
22963 sed 's/^/| /' conftest.$ac_ext >&5
22964
22965
22966 fi
22967
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969 if test $ac_cv_c_bigendian = unknown; then
22970 if test "$cross_compiling" = yes; then
22971 ac_cv_c_bigendian=unknown
22972 else
22973 cat >conftest.$ac_ext <<_ACEOF
22974 /* confdefs.h. */
22975 _ACEOF
22976 cat confdefs.h >>conftest.$ac_ext
22977 cat >>conftest.$ac_ext <<_ACEOF
22978 /* end confdefs.h. */
22979 main () {
22980 /* Are we little or big endian? From Harbison&Steele. */
22981 union
22982 {
22983 long l;
22984 char c[sizeof (long)];
22985 } u;
22986 u.l = 1;
22987 exit (u.c[sizeof (long) - 1] == 1);
22988 }
22989 _ACEOF
22990 rm -f conftest$ac_exeext
22991 if { (ac_try="$ac_link"
22992 case "(($ac_try" in
22993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22994 *) ac_try_echo=$ac_try;;
22995 esac
22996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22997 (eval "$ac_link") 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23001 { (case "(($ac_try" in
23002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23003 *) ac_try_echo=$ac_try;;
23004 esac
23005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23006 (eval "$ac_try") 2>&5
23007 ac_status=$?
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); }; }; then
23010 ac_cv_c_bigendian=no
23011 else
23012 echo "$as_me: program exited with status $ac_status" >&5
23013 echo "$as_me: failed program was:" >&5
23014 sed 's/^/| /' conftest.$ac_ext >&5
23015
23016 ( exit $ac_status )
23017 ac_cv_c_bigendian=yes
23018 fi
23019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23020 fi
23021
23022
23023 fi
23024 fi
23025 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23026 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23027 if test $ac_cv_c_bigendian = unknown; then
23028 { 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
23029 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;}
23030 fi
23031 if test $ac_cv_c_bigendian = yes; then
23032 cat >>confdefs.h <<\_ACEOF
23033 #define WORDS_BIGENDIAN 1
23034 _ACEOF
23035
23036 fi
23037
23038
23039
23040
23041 ac_ext=cpp
23042 ac_cpp='$CXXCPP $CPPFLAGS'
23043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23046
23047
23048 { echo "$as_me:$LINENO: checking for iostream" >&5
23049 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
23050 if test "${ac_cv_header_iostream+set}" = set; then
23051 echo $ECHO_N "(cached) $ECHO_C" >&6
23052 else
23053 cat >conftest.$ac_ext <<_ACEOF
23054 /* confdefs.h. */
23055 _ACEOF
23056 cat confdefs.h >>conftest.$ac_ext
23057 cat >>conftest.$ac_ext <<_ACEOF
23058 /* end confdefs.h. */
23059
23060
23061 #include <iostream>
23062 _ACEOF
23063 rm -f conftest.$ac_objext
23064 if { (ac_try="$ac_compile"
23065 case "(($ac_try" in
23066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23067 *) ac_try_echo=$ac_try;;
23068 esac
23069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23070 (eval "$ac_compile") 2>conftest.er1
23071 ac_status=$?
23072 grep -v '^ *+' conftest.er1 >conftest.err
23073 rm -f conftest.er1
23074 cat conftest.err >&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } && {
23077 test -z "$ac_cxx_werror_flag" ||
23078 test ! -s conftest.err
23079 } && test -s conftest.$ac_objext; then
23080 ac_cv_header_iostream=yes
23081 else
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.$ac_ext >&5
23084
23085 ac_cv_header_iostream=no
23086 fi
23087
23088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23089 fi
23090 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23091 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23092
23093
23094
23095 if test "$ac_cv_header_iostream" = "yes" ; then
23096 :
23097 else
23098 cat >>confdefs.h <<\_ACEOF
23099 #define wxUSE_IOSTREAMH 1
23100 _ACEOF
23101
23102 fi
23103
23104 ac_ext=c
23105 ac_cpp='$CPP $CPPFLAGS'
23106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23109
23110
23111
23112
23113 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23114 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23115 if test "${wx_cv_cpp_bool+set}" = set; then
23116 echo $ECHO_N "(cached) $ECHO_C" >&6
23117 else
23118
23119
23120 ac_ext=cpp
23121 ac_cpp='$CXXCPP $CPPFLAGS'
23122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23125
23126
23127 cat >conftest.$ac_ext <<_ACEOF
23128 /* confdefs.h. */
23129 _ACEOF
23130 cat confdefs.h >>conftest.$ac_ext
23131 cat >>conftest.$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23133
23134
23135 int
23136 main ()
23137 {
23138
23139 bool b = true;
23140
23141 return 0;
23142
23143 ;
23144 return 0;
23145 }
23146 _ACEOF
23147 rm -f conftest.$ac_objext
23148 if { (ac_try="$ac_compile"
23149 case "(($ac_try" in
23150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23151 *) ac_try_echo=$ac_try;;
23152 esac
23153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23154 (eval "$ac_compile") 2>conftest.er1
23155 ac_status=$?
23156 grep -v '^ *+' conftest.er1 >conftest.err
23157 rm -f conftest.er1
23158 cat conftest.err >&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); } && {
23161 test -z "$ac_cxx_werror_flag" ||
23162 test ! -s conftest.err
23163 } && test -s conftest.$ac_objext; then
23164
23165 wx_cv_cpp_bool=yes
23166
23167 else
23168 echo "$as_me: failed program was:" >&5
23169 sed 's/^/| /' conftest.$ac_ext >&5
23170
23171
23172 wx_cv_cpp_bool=no
23173
23174
23175 fi
23176
23177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23178
23179 ac_ext=c
23180 ac_cpp='$CPP $CPPFLAGS'
23181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23184
23185
23186 fi
23187 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23188 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23189
23190 if test "$wx_cv_cpp_bool" = "yes"; then
23191 cat >>confdefs.h <<\_ACEOF
23192 #define HAVE_BOOL 1
23193 _ACEOF
23194
23195 fi
23196
23197
23198
23199 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23200 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23201 if test "${wx_cv_explicit+set}" = set; then
23202 echo $ECHO_N "(cached) $ECHO_C" >&6
23203 else
23204
23205
23206 ac_ext=cpp
23207 ac_cpp='$CXXCPP $CPPFLAGS'
23208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23211
23212
23213 cat >conftest.$ac_ext <<_ACEOF
23214 /* confdefs.h. */
23215 _ACEOF
23216 cat confdefs.h >>conftest.$ac_ext
23217 cat >>conftest.$ac_ext <<_ACEOF
23218 /* end confdefs.h. */
23219
23220 class Foo { public: explicit Foo(int) {} };
23221
23222 int
23223 main ()
23224 {
23225
23226 return 0;
23227
23228 ;
23229 return 0;
23230 }
23231 _ACEOF
23232 rm -f conftest.$ac_objext
23233 if { (ac_try="$ac_compile"
23234 case "(($ac_try" in
23235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23236 *) ac_try_echo=$ac_try;;
23237 esac
23238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23239 (eval "$ac_compile") 2>conftest.er1
23240 ac_status=$?
23241 grep -v '^ *+' conftest.er1 >conftest.err
23242 rm -f conftest.er1
23243 cat conftest.err >&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } && {
23246 test -z "$ac_cxx_werror_flag" ||
23247 test ! -s conftest.err
23248 } && test -s conftest.$ac_objext; then
23249
23250 cat >conftest.$ac_ext <<_ACEOF
23251 /* confdefs.h. */
23252 _ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256
23257 class Foo { public: explicit Foo(int) {} };
23258 static void TakeFoo(const Foo& foo) { }
23259
23260 int
23261 main ()
23262 {
23263
23264 TakeFoo(17);
23265 return 0;
23266
23267 ;
23268 return 0;
23269 }
23270 _ACEOF
23271 rm -f conftest.$ac_objext
23272 if { (ac_try="$ac_compile"
23273 case "(($ac_try" in
23274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23275 *) ac_try_echo=$ac_try;;
23276 esac
23277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23278 (eval "$ac_compile") 2>conftest.er1
23279 ac_status=$?
23280 grep -v '^ *+' conftest.er1 >conftest.err
23281 rm -f conftest.er1
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } && {
23285 test -z "$ac_cxx_werror_flag" ||
23286 test ! -s conftest.err
23287 } && test -s conftest.$ac_objext; then
23288 wx_cv_explicit=no
23289 else
23290 echo "$as_me: failed program was:" >&5
23291 sed 's/^/| /' conftest.$ac_ext >&5
23292
23293 wx_cv_explicit=yes
23294
23295 fi
23296
23297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23298
23299 else
23300 echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.$ac_ext >&5
23302
23303 wx_cv_explicit=no
23304
23305 fi
23306
23307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23308
23309 ac_ext=c
23310 ac_cpp='$CPP $CPPFLAGS'
23311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23314
23315
23316 fi
23317 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23318 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23319
23320 if test "$wx_cv_explicit" = "yes"; then
23321 cat >>confdefs.h <<\_ACEOF
23322 #define HAVE_EXPLICIT 1
23323 _ACEOF
23324
23325 fi
23326
23327
23328 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23329 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23330 if test "${ac_cv_cxx_const_cast+set}" = set; then
23331 echo $ECHO_N "(cached) $ECHO_C" >&6
23332 else
23333
23334 ac_ext=cpp
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23339
23340 cat >conftest.$ac_ext <<_ACEOF
23341 /* confdefs.h. */
23342 _ACEOF
23343 cat confdefs.h >>conftest.$ac_ext
23344 cat >>conftest.$ac_ext <<_ACEOF
23345 /* end confdefs.h. */
23346
23347 int
23348 main ()
23349 {
23350 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23351 ;
23352 return 0;
23353 }
23354 _ACEOF
23355 rm -f conftest.$ac_objext
23356 if { (ac_try="$ac_compile"
23357 case "(($ac_try" in
23358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23359 *) ac_try_echo=$ac_try;;
23360 esac
23361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23362 (eval "$ac_compile") 2>conftest.er1
23363 ac_status=$?
23364 grep -v '^ *+' conftest.er1 >conftest.err
23365 rm -f conftest.er1
23366 cat conftest.err >&5
23367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368 (exit $ac_status); } && {
23369 test -z "$ac_cxx_werror_flag" ||
23370 test ! -s conftest.err
23371 } && test -s conftest.$ac_objext; then
23372 ac_cv_cxx_const_cast=yes
23373 else
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23376
23377 ac_cv_cxx_const_cast=no
23378 fi
23379
23380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23381 ac_ext=c
23382 ac_cpp='$CPP $CPPFLAGS'
23383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23386
23387
23388 fi
23389 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23390 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23391 if test "$ac_cv_cxx_const_cast" = yes; then
23392
23393 cat >>confdefs.h <<\_ACEOF
23394 #define HAVE_CONST_CAST
23395 _ACEOF
23396
23397 fi
23398
23399 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23400 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23401 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 else
23404
23405 ac_ext=cpp
23406 ac_cpp='$CXXCPP $CPPFLAGS'
23407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23410
23411 cat >conftest.$ac_ext <<_ACEOF
23412 /* confdefs.h. */
23413 _ACEOF
23414 cat confdefs.h >>conftest.$ac_ext
23415 cat >>conftest.$ac_ext <<_ACEOF
23416 /* end confdefs.h. */
23417 #include <typeinfo>
23418 class Base { public : Base () {} virtual void f () = 0;};
23419 class Derived : public Base { public : Derived () {} virtual void f () {} };
23420 class Unrelated { public : Unrelated () {} };
23421 int g (Unrelated&) { return 0; }
23422 int
23423 main ()
23424 {
23425
23426 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23427 ;
23428 return 0;
23429 }
23430 _ACEOF
23431 rm -f conftest.$ac_objext
23432 if { (ac_try="$ac_compile"
23433 case "(($ac_try" in
23434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23435 *) ac_try_echo=$ac_try;;
23436 esac
23437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23438 (eval "$ac_compile") 2>conftest.er1
23439 ac_status=$?
23440 grep -v '^ *+' conftest.er1 >conftest.err
23441 rm -f conftest.er1
23442 cat conftest.err >&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); } && {
23445 test -z "$ac_cxx_werror_flag" ||
23446 test ! -s conftest.err
23447 } && test -s conftest.$ac_objext; then
23448 ac_cv_cxx_reinterpret_cast=yes
23449 else
23450 echo "$as_me: failed program was:" >&5
23451 sed 's/^/| /' conftest.$ac_ext >&5
23452
23453 ac_cv_cxx_reinterpret_cast=no
23454 fi
23455
23456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23457 ac_ext=c
23458 ac_cpp='$CPP $CPPFLAGS'
23459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23462
23463
23464 fi
23465 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23466 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23467 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23468
23469 cat >>confdefs.h <<\_ACEOF
23470 #define HAVE_REINTERPRET_CAST
23471 _ACEOF
23472
23473 fi
23474
23475 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23476 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23477 if test "${ac_cv_cxx_static_cast+set}" = set; then
23478 echo $ECHO_N "(cached) $ECHO_C" >&6
23479 else
23480
23481 ac_ext=cpp
23482 ac_cpp='$CXXCPP $CPPFLAGS'
23483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23486
23487 cat >conftest.$ac_ext <<_ACEOF
23488 /* confdefs.h. */
23489 _ACEOF
23490 cat confdefs.h >>conftest.$ac_ext
23491 cat >>conftest.$ac_ext <<_ACEOF
23492 /* end confdefs.h. */
23493 #include <typeinfo>
23494 class Base { public : Base () {} virtual void f () = 0; };
23495 class Derived : public Base { public : Derived () {} virtual void f () {} };
23496 int g (Derived&) { return 0; }
23497 int
23498 main ()
23499 {
23500
23501 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23502 ;
23503 return 0;
23504 }
23505 _ACEOF
23506 rm -f conftest.$ac_objext
23507 if { (ac_try="$ac_compile"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23511 esac
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_compile") 2>conftest.er1
23514 ac_status=$?
23515 grep -v '^ *+' conftest.er1 >conftest.err
23516 rm -f conftest.er1
23517 cat conftest.err >&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); } && {
23520 test -z "$ac_cxx_werror_flag" ||
23521 test ! -s conftest.err
23522 } && test -s conftest.$ac_objext; then
23523 ac_cv_cxx_static_cast=yes
23524 else
23525 echo "$as_me: failed program was:" >&5
23526 sed 's/^/| /' conftest.$ac_ext >&5
23527
23528 ac_cv_cxx_static_cast=no
23529 fi
23530
23531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23532 ac_ext=c
23533 ac_cpp='$CPP $CPPFLAGS'
23534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23537
23538
23539 fi
23540 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23541 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23542 if test "$ac_cv_cxx_static_cast" = yes; then
23543
23544 cat >>confdefs.h <<\_ACEOF
23545 #define HAVE_STATIC_CAST
23546 _ACEOF
23547
23548 fi
23549
23550
23551 if test "x$SUNCXX" = xyes; then
23552 CXXFLAGS="-features=tmplife $CXXFLAGS"
23553 fi
23554
23555 if test "x$SUNCC" = xyes; then
23556 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23557 fi
23558
23559 if test "x$SGICC" = "xyes"; then
23560 CFLAGS="-woff 3970 $CFLAGS"
23561 fi
23562 if test "x$SGICXX" = "xyes"; then
23563 CXXFLAGS="-woff 3970 $CXXFLAGS"
23564 fi
23565
23566 if test "x$HPCC" = "xyes"; then
23567 CFLAGS="+W 2011,2450 $CFLAGS"
23568 fi
23569 if test "x$HPCXX" = "xyes"; then
23570 CXXFLAGS="+W 2340 $CXXFLAGS"
23571 fi
23572
23573 if test "x$COMPAQCXX" = "xyes"; then
23574 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23575 fi
23576
23577 ac_ext=cpp
23578 ac_cpp='$CXXCPP $CPPFLAGS'
23579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23582
23583
23584 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23585 if test "$wxUSE_UNICODE" = "yes"; then
23586 std_string="std::wstring"
23587 char_type="wchar_t"
23588 else
23589 std_string="std::string"
23590 char_type="char"
23591 fi
23592
23593 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23594 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23595 if test "${wx_cv_class_stdstring+set}" = set; then
23596 echo $ECHO_N "(cached) $ECHO_C" >&6
23597 else
23598
23599 cat >conftest.$ac_ext <<_ACEOF
23600 /* confdefs.h. */
23601 _ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23605 #include <string>
23606 int
23607 main ()
23608 {
23609 $std_string foo;
23610 ;
23611 return 0;
23612 }
23613 _ACEOF
23614 rm -f conftest.$ac_objext
23615 if { (ac_try="$ac_compile"
23616 case "(($ac_try" in
23617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23618 *) ac_try_echo=$ac_try;;
23619 esac
23620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23621 (eval "$ac_compile") 2>conftest.er1
23622 ac_status=$?
23623 grep -v '^ *+' conftest.er1 >conftest.err
23624 rm -f conftest.er1
23625 cat conftest.err >&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); } && {
23628 test -z "$ac_cxx_werror_flag" ||
23629 test ! -s conftest.err
23630 } && test -s conftest.$ac_objext; then
23631 wx_cv_class_stdstring=yes
23632 else
23633 echo "$as_me: failed program was:" >&5
23634 sed 's/^/| /' conftest.$ac_ext >&5
23635
23636 wx_cv_class_stdstring=no
23637
23638 fi
23639
23640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23641
23642
23643 fi
23644 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23645 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23646
23647 if test "$wx_cv_class_stdstring" = yes; then
23648 if test "$wxUSE_UNICODE" = "yes"; then
23649 cat >>confdefs.h <<\_ACEOF
23650 #define HAVE_STD_WSTRING 1
23651 _ACEOF
23652
23653 fi
23654 else
23655 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23656 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23657 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23658 echo $ECHO_N "(cached) $ECHO_C" >&6
23659 else
23660
23661 cat >conftest.$ac_ext <<_ACEOF
23662 /* confdefs.h. */
23663 _ACEOF
23664 cat confdefs.h >>conftest.$ac_ext
23665 cat >>conftest.$ac_ext <<_ACEOF
23666 /* end confdefs.h. */
23667
23668 #ifdef HAVE_WCHAR_H
23669 # ifdef __CYGWIN__
23670 # include <stddef.h>
23671 # endif
23672 # include <wchar.h>
23673 #endif
23674 #ifdef HAVE_STDLIB_H
23675 # include <stdlib.h>
23676 #endif
23677 #include <stdio.h>
23678 #include <string>
23679
23680 int
23681 main ()
23682 {
23683 std::basic_string<$char_type> foo;
23684 const $char_type* dummy = foo.c_str();
23685 ;
23686 return 0;
23687 }
23688 _ACEOF
23689 rm -f conftest.$ac_objext
23690 if { (ac_try="$ac_compile"
23691 case "(($ac_try" in
23692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23693 *) ac_try_echo=$ac_try;;
23694 esac
23695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23696 (eval "$ac_compile") 2>conftest.er1
23697 ac_status=$?
23698 grep -v '^ *+' conftest.er1 >conftest.err
23699 rm -f conftest.er1
23700 cat conftest.err >&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); } && {
23703 test -z "$ac_cxx_werror_flag" ||
23704 test ! -s conftest.err
23705 } && test -s conftest.$ac_objext; then
23706 wx_cv_class_stdbasicstring=yes
23707 else
23708 echo "$as_me: failed program was:" >&5
23709 sed 's/^/| /' conftest.$ac_ext >&5
23710
23711 wx_cv_class_stdbasicstring=no
23712
23713 fi
23714
23715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23716
23717
23718 fi
23719 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23720 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23721
23722 if test "$wx_cv_class_stdbasicstring" != yes; then
23723 if test "$wxUSE_STL" = "yes"; then
23724 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23725 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23726 { (exit 1); exit 1; }; }
23727 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23728 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23729 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23730 { (exit 1); exit 1; }; }
23731 else
23732 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23733 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23734 wxUSE_STD_STRING=no
23735 fi
23736 fi
23737 fi
23738 fi
23739
23740 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23741 { echo "$as_me:$LINENO: checking for std::istream" >&5
23742 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23743 if test "${ac_cv_type_std__istream+set}" = set; then
23744 echo $ECHO_N "(cached) $ECHO_C" >&6
23745 else
23746 cat >conftest.$ac_ext <<_ACEOF
23747 /* confdefs.h. */
23748 _ACEOF
23749 cat confdefs.h >>conftest.$ac_ext
23750 cat >>conftest.$ac_ext <<_ACEOF
23751 /* end confdefs.h. */
23752 #include <iostream>
23753
23754 typedef std::istream ac__type_new_;
23755 int
23756 main ()
23757 {
23758 if ((ac__type_new_ *) 0)
23759 return 0;
23760 if (sizeof (ac__type_new_))
23761 return 0;
23762 ;
23763 return 0;
23764 }
23765 _ACEOF
23766 rm -f conftest.$ac_objext
23767 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23774 ac_status=$?
23775 grep -v '^ *+' conftest.er1 >conftest.err
23776 rm -f conftest.er1
23777 cat conftest.err >&5
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); } && {
23780 test -z "$ac_cxx_werror_flag" ||
23781 test ! -s conftest.err
23782 } && test -s conftest.$ac_objext; then
23783 ac_cv_type_std__istream=yes
23784 else
23785 echo "$as_me: failed program was:" >&5
23786 sed 's/^/| /' conftest.$ac_ext >&5
23787
23788 ac_cv_type_std__istream=no
23789 fi
23790
23791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23792 fi
23793 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23794 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23795 if test $ac_cv_type_std__istream = yes; then
23796
23797 cat >>confdefs.h <<_ACEOF
23798 #define HAVE_STD__ISTREAM 1
23799 _ACEOF
23800
23801
23802 else
23803 wxUSE_STD_IOSTREAM=no
23804 fi
23805 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23806 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23807 if test "${ac_cv_type_std__ostream+set}" = set; then
23808 echo $ECHO_N "(cached) $ECHO_C" >&6
23809 else
23810 cat >conftest.$ac_ext <<_ACEOF
23811 /* confdefs.h. */
23812 _ACEOF
23813 cat confdefs.h >>conftest.$ac_ext
23814 cat >>conftest.$ac_ext <<_ACEOF
23815 /* end confdefs.h. */
23816 #include <iostream>
23817
23818 typedef std::ostream ac__type_new_;
23819 int
23820 main ()
23821 {
23822 if ((ac__type_new_ *) 0)
23823 return 0;
23824 if (sizeof (ac__type_new_))
23825 return 0;
23826 ;
23827 return 0;
23828 }
23829 _ACEOF
23830 rm -f conftest.$ac_objext
23831 if { (ac_try="$ac_compile"
23832 case "(($ac_try" in
23833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23834 *) ac_try_echo=$ac_try;;
23835 esac
23836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23837 (eval "$ac_compile") 2>conftest.er1
23838 ac_status=$?
23839 grep -v '^ *+' conftest.er1 >conftest.err
23840 rm -f conftest.er1
23841 cat conftest.err >&5
23842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23843 (exit $ac_status); } && {
23844 test -z "$ac_cxx_werror_flag" ||
23845 test ! -s conftest.err
23846 } && test -s conftest.$ac_objext; then
23847 ac_cv_type_std__ostream=yes
23848 else
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23851
23852 ac_cv_type_std__ostream=no
23853 fi
23854
23855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23856 fi
23857 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23858 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23859 if test $ac_cv_type_std__ostream = yes; then
23860
23861 cat >>confdefs.h <<_ACEOF
23862 #define HAVE_STD__OSTREAM 1
23863 _ACEOF
23864
23865
23866 else
23867 wxUSE_STD_IOSTREAM=no
23868 fi
23869
23870
23871 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23872 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23873 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23874 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23875 { (exit 1); exit 1; }; }
23876 else
23877 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23878 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23879 fi
23880 fi
23881 fi
23882
23883 if test "$wxUSE_STL" = "yes"; then
23884 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23885 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23886 if test "${wx_cv_lib_stl+set}" = set; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23888 else
23889 cat >conftest.$ac_ext <<_ACEOF
23890 /* confdefs.h. */
23891 _ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895 #include <string>
23896 #include <functional>
23897 #include <algorithm>
23898 #include <vector>
23899 #include <list>
23900 int
23901 main ()
23902 {
23903 std::vector<int> moo;
23904 std::list<int> foo;
23905 std::vector<int>::iterator it =
23906 std::find_if(moo.begin(), moo.end(),
23907 std::bind2nd(std::less<int>(), 3));
23908 ;
23909 return 0;
23910 }
23911 _ACEOF
23912 rm -f conftest.$ac_objext
23913 if { (ac_try="$ac_compile"
23914 case "(($ac_try" in
23915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23916 *) ac_try_echo=$ac_try;;
23917 esac
23918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23919 (eval "$ac_compile") 2>conftest.er1
23920 ac_status=$?
23921 grep -v '^ *+' conftest.er1 >conftest.err
23922 rm -f conftest.er1
23923 cat conftest.err >&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } && {
23926 test -z "$ac_cxx_werror_flag" ||
23927 test ! -s conftest.err
23928 } && test -s conftest.$ac_objext; then
23929 wx_cv_lib_stl=yes
23930 else
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.$ac_ext >&5
23933
23934 wx_cv_lib_stl=no
23935
23936 fi
23937
23938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23939
23940 fi
23941 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23942 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23943
23944 if test "$wx_cv_lib_stl" != yes; then
23945 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23946 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23947 { (exit 1); exit 1; }; }
23948 fi
23949
23950 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23951 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23952 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23953 echo $ECHO_N "(cached) $ECHO_C" >&6
23954 else
23955 cat >conftest.$ac_ext <<_ACEOF
23956 /* confdefs.h. */
23957 _ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23961 #include <string>
23962 int
23963 main ()
23964 {
23965 std::string foo, bar;
23966 foo.compare(bar);
23967 foo.compare(1, 1, bar);
23968 foo.compare(1, 1, bar, 1, 1);
23969 foo.compare("");
23970 foo.compare(1, 1, "");
23971 foo.compare(1, 1, "", 2);
23972 ;
23973 return 0;
23974 }
23975 _ACEOF
23976 rm -f conftest.$ac_objext
23977 if { (ac_try="$ac_compile"
23978 case "(($ac_try" in
23979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23980 *) ac_try_echo=$ac_try;;
23981 esac
23982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23983 (eval "$ac_compile") 2>conftest.er1
23984 ac_status=$?
23985 grep -v '^ *+' conftest.er1 >conftest.err
23986 rm -f conftest.er1
23987 cat conftest.err >&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } && {
23990 test -z "$ac_cxx_werror_flag" ||
23991 test ! -s conftest.err
23992 } && test -s conftest.$ac_objext; then
23993 wx_cv_func_stdstring_compare=yes
23994 else
23995 echo "$as_me: failed program was:" >&5
23996 sed 's/^/| /' conftest.$ac_ext >&5
23997
23998 wx_cv_func_stdstring_compare=no
23999
24000 fi
24001
24002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24003
24004 fi
24005 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24006 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24007
24008 if test "$wx_cv_func_stdstring_compare" = yes; then
24009 cat >>confdefs.h <<\_ACEOF
24010 #define HAVE_STD_STRING_COMPARE 1
24011 _ACEOF
24012
24013 fi
24014
24015 { echo "$as_me:$LINENO: checking for hash_map" >&5
24016 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24017 if test "${ac_cv_header_hash_map+set}" = set; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24019 else
24020 cat >conftest.$ac_ext <<_ACEOF
24021 /* confdefs.h. */
24022 _ACEOF
24023 cat confdefs.h >>conftest.$ac_ext
24024 cat >>conftest.$ac_ext <<_ACEOF
24025 /* end confdefs.h. */
24026
24027
24028
24029 #include <hash_map>
24030 _ACEOF
24031 rm -f conftest.$ac_objext
24032 if { (ac_try="$ac_compile"
24033 case "(($ac_try" in
24034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24035 *) ac_try_echo=$ac_try;;
24036 esac
24037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24038 (eval "$ac_compile") 2>conftest.er1
24039 ac_status=$?
24040 grep -v '^ *+' conftest.er1 >conftest.err
24041 rm -f conftest.er1
24042 cat conftest.err >&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } && {
24045 test -z "$ac_cxx_werror_flag" ||
24046 test ! -s conftest.err
24047 } && test -s conftest.$ac_objext; then
24048 ac_cv_header_hash_map=yes
24049 else
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.$ac_ext >&5
24052
24053 ac_cv_header_hash_map=no
24054 fi
24055
24056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24057 fi
24058 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24059 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24060 if test $ac_cv_header_hash_map = yes; then
24061 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24062 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24063 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24064 echo $ECHO_N "(cached) $ECHO_C" >&6
24065 else
24066 cat >conftest.$ac_ext <<_ACEOF
24067 /* confdefs.h. */
24068 _ACEOF
24069 cat confdefs.h >>conftest.$ac_ext
24070 cat >>conftest.$ac_ext <<_ACEOF
24071 /* end confdefs.h. */
24072 #include <hash_map>
24073 #include <hash_set>
24074 int
24075 main ()
24076 {
24077 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24078 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24079 ;
24080 return 0;
24081 }
24082 _ACEOF
24083 rm -f conftest.$ac_objext
24084 if { (ac_try="$ac_compile"
24085 case "(($ac_try" in
24086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24087 *) ac_try_echo=$ac_try;;
24088 esac
24089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24090 (eval "$ac_compile") 2>conftest.er1
24091 ac_status=$?
24092 grep -v '^ *+' conftest.er1 >conftest.err
24093 rm -f conftest.er1
24094 cat conftest.err >&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); } && {
24097 test -z "$ac_cxx_werror_flag" ||
24098 test ! -s conftest.err
24099 } && test -s conftest.$ac_objext; then
24100 wx_cv_class_stdhashmapset=yes
24101 else
24102 echo "$as_me: failed program was:" >&5
24103 sed 's/^/| /' conftest.$ac_ext >&5
24104
24105 wx_cv_class_stdhashmapset=no
24106 fi
24107
24108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24109
24110
24111 fi
24112 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24113 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24114 fi
24115
24116
24117
24118 if test "$wx_cv_class_stdhashmapset" = yes; then
24119 cat >>confdefs.h <<\_ACEOF
24120 #define HAVE_HASH_MAP 1
24121 _ACEOF
24122
24123 cat >>confdefs.h <<\_ACEOF
24124 #define HAVE_STD_HASH_MAP 1
24125 _ACEOF
24126
24127 fi
24128
24129 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24130 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24131 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24132 echo $ECHO_N "(cached) $ECHO_C" >&6
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
24141
24142
24143 #include <ext/hash_map>
24144 _ACEOF
24145 rm -f conftest.$ac_objext
24146 if { (ac_try="$ac_compile"
24147 case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24150 esac
24151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_compile") 2>conftest.er1
24153 ac_status=$?
24154 grep -v '^ *+' conftest.er1 >conftest.err
24155 rm -f conftest.er1
24156 cat conftest.err >&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); } && {
24159 test -z "$ac_cxx_werror_flag" ||
24160 test ! -s conftest.err
24161 } && test -s conftest.$ac_objext; then
24162 ac_cv_header_ext_hash_map=yes
24163 else
24164 echo "$as_me: failed program was:" >&5
24165 sed 's/^/| /' conftest.$ac_ext >&5
24166
24167 ac_cv_header_ext_hash_map=no
24168 fi
24169
24170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24171 fi
24172 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24173 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24174 if test $ac_cv_header_ext_hash_map = yes; then
24175 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24176 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24177 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24178 echo $ECHO_N "(cached) $ECHO_C" >&6
24179 else
24180 cat >conftest.$ac_ext <<_ACEOF
24181 /* confdefs.h. */
24182 _ACEOF
24183 cat confdefs.h >>conftest.$ac_ext
24184 cat >>conftest.$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24186 #include <ext/hash_map>
24187 #include <ext/hash_set>
24188 int
24189 main ()
24190 {
24191 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24192 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24193 ;
24194 return 0;
24195 }
24196 _ACEOF
24197 rm -f conftest.$ac_objext
24198 if { (ac_try="$ac_compile"
24199 case "(($ac_try" in
24200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24201 *) ac_try_echo=$ac_try;;
24202 esac
24203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24204 (eval "$ac_compile") 2>conftest.er1
24205 ac_status=$?
24206 grep -v '^ *+' conftest.er1 >conftest.err
24207 rm -f conftest.er1
24208 cat conftest.err >&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); } && {
24211 test -z "$ac_cxx_werror_flag" ||
24212 test ! -s conftest.err
24213 } && test -s conftest.$ac_objext; then
24214 wx_cv_class_gnuhashmapset=yes
24215 else
24216 echo "$as_me: failed program was:" >&5
24217 sed 's/^/| /' conftest.$ac_ext >&5
24218
24219 wx_cv_class_gnuhashmapset=no
24220 fi
24221
24222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24223
24224
24225 fi
24226 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24227 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24228 fi
24229
24230
24231
24232 if test "$wx_cv_class_gnuhashmapset" = yes; then
24233 cat >>confdefs.h <<\_ACEOF
24234 #define HAVE_EXT_HASH_MAP 1
24235 _ACEOF
24236
24237 cat >>confdefs.h <<\_ACEOF
24238 #define HAVE_GNU_CXX_HASH_MAP 1
24239 _ACEOF
24240
24241 fi
24242 fi
24243
24244 ac_ext=c
24245 ac_cpp='$CPP $CPPFLAGS'
24246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24249
24250
24251
24252 SEARCH_INCLUDE="\
24253 /usr/local/include \
24254 \
24255 /usr/Motif-2.1/include \
24256 /usr/Motif-1.2/include \
24257 /usr/include/Motif1.2 \
24258 \
24259 /usr/dt/include \
24260 /usr/openwin/include \
24261 \
24262 /usr/include/Xm \
24263 \
24264 /usr/X11R6/include \
24265 /usr/X11R6.4/include \
24266 /usr/X11R5/include \
24267 /usr/X11R4/include \
24268 \
24269 /usr/include/X11R6 \
24270 /usr/include/X11R5 \
24271 /usr/include/X11R4 \
24272 \
24273 /usr/local/X11R6/include \
24274 /usr/local/X11R5/include \
24275 /usr/local/X11R4/include \
24276 \
24277 /usr/local/include/X11R6 \
24278 /usr/local/include/X11R5 \
24279 /usr/local/include/X11R4 \
24280 \
24281 /usr/X11/include \
24282 /usr/include/X11 \
24283 /usr/local/X11/include \
24284 /usr/local/include/X11 \
24285 \
24286 /usr/XFree86/include/X11 \
24287 /usr/pkg/include \
24288 \
24289 /usr/openwin/share/include"
24290
24291 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24292 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24293
24294 case "${host}" in
24295 *-*-irix6* )
24296 if test "${wx_cv_std_libpath+set}" = set; then
24297 echo $ECHO_N "(cached) $ECHO_C" >&6
24298 else
24299
24300 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24301 for e in a so sl dylib dll.a; do
24302 libc="$d/libc.$e"
24303 if test -f $libc; then
24304 save_LIBS="$LIBS"
24305 LIBS="$libc"
24306 cat >conftest.$ac_ext <<_ACEOF
24307 int main() { return 0; }
24308 _ACEOF
24309 rm -f conftest.$ac_objext conftest$ac_exeext
24310 if { (ac_try="$ac_link"
24311 case "(($ac_try" in
24312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24313 *) ac_try_echo=$ac_try;;
24314 esac
24315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24316 (eval "$ac_link") 2>conftest.er1
24317 ac_status=$?
24318 grep -v '^ *+' conftest.er1 >conftest.err
24319 rm -f conftest.er1
24320 cat conftest.err >&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); } && {
24323 test -z "$ac_c_werror_flag" ||
24324 test ! -s conftest.err
24325 } && test -s conftest$ac_exeext &&
24326 $as_test_x conftest$ac_exeext; then
24327 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24328 else
24329 echo "$as_me: failed program was:" >&5
24330 sed 's/^/| /' conftest.$ac_ext >&5
24331
24332
24333 fi
24334
24335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24336 conftest$ac_exeext conftest.$ac_ext
24337 LIBS="$save_LIBS"
24338 if test "x$wx_cv_std_libpath" != "x"; then
24339 break 2
24340 fi
24341 fi
24342 done
24343 done
24344 if test "x$wx_cv_std_libpath" = "x"; then
24345 wx_cv_std_libpath="lib"
24346 fi
24347
24348
24349 fi
24350
24351 ;;
24352
24353 *-*-solaris2* )
24354 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24355 wx_cv_std_libpath="lib/64"
24356 else
24357 wx_cv_std_libpath="lib"
24358 fi
24359 ;;
24360
24361 *-*-linux* )
24362 if test "$ac_cv_sizeof_void_p" = 8 -a \
24363 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24364 wx_cv_std_libpath="lib64"
24365 else
24366 wx_cv_std_libpath="lib"
24367 fi
24368 ;;
24369
24370 *)
24371 wx_cv_std_libpath="lib";
24372 ;;
24373 esac
24374
24375 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24376 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24377
24378 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24379
24380 if test "$build" != "$host" -a "$GCC" = yes; then
24381 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24382 cross_root=`dirname $cross_root`
24383 cross_root=`dirname $cross_root`
24384
24385 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24386 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24387 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24388
24389 if test -z "$PKG_CONFIG_PATH"; then
24390 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24391 export PKG_CONFIG_PATH
24392 fi
24393
24394 if test -z "$x_includes" -o "$x_includes" = NONE; then
24395
24396 ac_find_includes=
24397 for ac_dir in $SEARCH_INCLUDE /usr/include;
24398 do
24399 if test -f "$ac_dir/X11/Intrinsic.h"; then
24400 ac_find_includes=$ac_dir
24401 break
24402 fi
24403 done
24404
24405 x_includes=$ac_find_includes
24406 fi
24407 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24408
24409 ac_find_libraries=
24410 for ac_dir in $SEARCH_LIB;
24411 do
24412 for ac_extension in a so sl dylib dll.a; do
24413 if test -f "$ac_dir/libXt.$ac_extension"; then
24414 ac_find_libraries=$ac_dir
24415 break 2
24416 fi
24417 done
24418 done
24419
24420 x_libraries=$ac_find_libraries
24421 fi
24422 fi
24423 fi
24424
24425
24426 cat >confcache <<\_ACEOF
24427 # This file is a shell script that caches the results of configure
24428 # tests run on this system so they can be shared between configure
24429 # scripts and configure runs, see configure's option --config-cache.
24430 # It is not useful on other systems. If it contains results you don't
24431 # want to keep, you may remove or edit it.
24432 #
24433 # config.status only pays attention to the cache file if you give it
24434 # the --recheck option to rerun configure.
24435 #
24436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24438 # following values.
24439
24440 _ACEOF
24441
24442 # The following way of writing the cache mishandles newlines in values,
24443 # but we know of no workaround that is simple, portable, and efficient.
24444 # So, we kill variables containing newlines.
24445 # Ultrix sh set writes to stderr and can't be redirected directly,
24446 # and sets the high bit in the cache file unless we assign to the vars.
24447 (
24448 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24449 eval ac_val=\$$ac_var
24450 case $ac_val in #(
24451 *${as_nl}*)
24452 case $ac_var in #(
24453 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24454 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24455 esac
24456 case $ac_var in #(
24457 _ | IFS | as_nl) ;; #(
24458 *) $as_unset $ac_var ;;
24459 esac ;;
24460 esac
24461 done
24462
24463 (set) 2>&1 |
24464 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24465 *${as_nl}ac_space=\ *)
24466 # `set' does not quote correctly, so add quotes (double-quote
24467 # substitution turns \\\\ into \\, and sed turns \\ into \).
24468 sed -n \
24469 "s/'/'\\\\''/g;
24470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24471 ;; #(
24472 *)
24473 # `set' quotes correctly as required by POSIX, so do not add quotes.
24474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24475 ;;
24476 esac |
24477 sort
24478 ) |
24479 sed '
24480 /^ac_cv_env_/b end
24481 t clear
24482 :clear
24483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24484 t end
24485 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24486 :end' >>confcache
24487 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24488 if test -w "$cache_file"; then
24489 test "x$cache_file" != "x/dev/null" &&
24490 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24491 echo "$as_me: updating cache $cache_file" >&6;}
24492 cat confcache >$cache_file
24493 else
24494 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24495 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24496 fi
24497 fi
24498 rm -f confcache
24499
24500 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24501 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24502 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24503 if test "${wx_cv_lib_glibc21+set}" = set; then
24504 echo $ECHO_N "(cached) $ECHO_C" >&6
24505 else
24506
24507 cat >conftest.$ac_ext <<_ACEOF
24508 /* confdefs.h. */
24509 _ACEOF
24510 cat confdefs.h >>conftest.$ac_ext
24511 cat >>conftest.$ac_ext <<_ACEOF
24512 /* end confdefs.h. */
24513 #include <features.h>
24514 int
24515 main ()
24516 {
24517
24518 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24519 not glibc 2.1
24520 #endif
24521
24522 ;
24523 return 0;
24524 }
24525 _ACEOF
24526 rm -f conftest.$ac_objext
24527 if { (ac_try="$ac_compile"
24528 case "(($ac_try" in
24529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24530 *) ac_try_echo=$ac_try;;
24531 esac
24532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24533 (eval "$ac_compile") 2>conftest.er1
24534 ac_status=$?
24535 grep -v '^ *+' conftest.er1 >conftest.err
24536 rm -f conftest.er1
24537 cat conftest.err >&5
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); } && {
24540 test -z "$ac_c_werror_flag" ||
24541 test ! -s conftest.err
24542 } && test -s conftest.$ac_objext; then
24543
24544 wx_cv_lib_glibc21=yes
24545
24546 else
24547 echo "$as_me: failed program was:" >&5
24548 sed 's/^/| /' conftest.$ac_ext >&5
24549
24550
24551 wx_cv_lib_glibc21=no
24552
24553
24554 fi
24555
24556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24557
24558 fi
24559 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24560 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24561 if test "$wx_cv_lib_glibc21" = "yes"; then
24562 cat >>confdefs.h <<\_ACEOF
24563 #define wxHAVE_GLIBC2 1
24564 _ACEOF
24565
24566 fi
24567 fi
24568
24569 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24570 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24571 cat >>confdefs.h <<\_ACEOF
24572 #define _GNU_SOURCE 1
24573 _ACEOF
24574
24575 fi
24576 fi
24577
24578 have_cos=0
24579 have_floor=0
24580
24581 for ac_func in cos
24582 do
24583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24587 echo $ECHO_N "(cached) $ECHO_C" >&6
24588 else
24589 cat >conftest.$ac_ext <<_ACEOF
24590 /* confdefs.h. */
24591 _ACEOF
24592 cat confdefs.h >>conftest.$ac_ext
24593 cat >>conftest.$ac_ext <<_ACEOF
24594 /* end confdefs.h. */
24595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24597 #define $ac_func innocuous_$ac_func
24598
24599 /* System header to define __stub macros and hopefully few prototypes,
24600 which can conflict with char $ac_func (); below.
24601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24602 <limits.h> exists even on freestanding compilers. */
24603
24604 #ifdef __STDC__
24605 # include <limits.h>
24606 #else
24607 # include <assert.h>
24608 #endif
24609
24610 #undef $ac_func
24611
24612 /* Override any GCC internal prototype to avoid an error.
24613 Use char because int might match the return type of a GCC
24614 builtin and then its argument prototype would still apply. */
24615 #ifdef __cplusplus
24616 extern "C"
24617 #endif
24618 char $ac_func ();
24619 /* The GNU C library defines this for functions which it implements
24620 to always fail with ENOSYS. Some functions are actually named
24621 something starting with __ and the normal name is an alias. */
24622 #if defined __stub_$ac_func || defined __stub___$ac_func
24623 choke me
24624 #endif
24625
24626 int
24627 main ()
24628 {
24629 return $ac_func ();
24630 ;
24631 return 0;
24632 }
24633 _ACEOF
24634 rm -f conftest.$ac_objext conftest$ac_exeext
24635 if { (ac_try="$ac_link"
24636 case "(($ac_try" in
24637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24638 *) ac_try_echo=$ac_try;;
24639 esac
24640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24641 (eval "$ac_link") 2>conftest.er1
24642 ac_status=$?
24643 grep -v '^ *+' conftest.er1 >conftest.err
24644 rm -f conftest.er1
24645 cat conftest.err >&5
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); } && {
24648 test -z "$ac_c_werror_flag" ||
24649 test ! -s conftest.err
24650 } && test -s conftest$ac_exeext &&
24651 $as_test_x conftest$ac_exeext; then
24652 eval "$as_ac_var=yes"
24653 else
24654 echo "$as_me: failed program was:" >&5
24655 sed 's/^/| /' conftest.$ac_ext >&5
24656
24657 eval "$as_ac_var=no"
24658 fi
24659
24660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24661 conftest$ac_exeext conftest.$ac_ext
24662 fi
24663 ac_res=`eval echo '${'$as_ac_var'}'`
24664 { echo "$as_me:$LINENO: result: $ac_res" >&5
24665 echo "${ECHO_T}$ac_res" >&6; }
24666 if test `eval echo '${'$as_ac_var'}'` = yes; then
24667 cat >>confdefs.h <<_ACEOF
24668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24669 _ACEOF
24670 have_cos=1
24671 fi
24672 done
24673
24674
24675 for ac_func in floor
24676 do
24677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24681 echo $ECHO_N "(cached) $ECHO_C" >&6
24682 else
24683 cat >conftest.$ac_ext <<_ACEOF
24684 /* confdefs.h. */
24685 _ACEOF
24686 cat confdefs.h >>conftest.$ac_ext
24687 cat >>conftest.$ac_ext <<_ACEOF
24688 /* end confdefs.h. */
24689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24691 #define $ac_func innocuous_$ac_func
24692
24693 /* System header to define __stub macros and hopefully few prototypes,
24694 which can conflict with char $ac_func (); below.
24695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24696 <limits.h> exists even on freestanding compilers. */
24697
24698 #ifdef __STDC__
24699 # include <limits.h>
24700 #else
24701 # include <assert.h>
24702 #endif
24703
24704 #undef $ac_func
24705
24706 /* Override any GCC internal prototype to avoid an error.
24707 Use char because int might match the return type of a GCC
24708 builtin and then its argument prototype would still apply. */
24709 #ifdef __cplusplus
24710 extern "C"
24711 #endif
24712 char $ac_func ();
24713 /* The GNU C library defines this for functions which it implements
24714 to always fail with ENOSYS. Some functions are actually named
24715 something starting with __ and the normal name is an alias. */
24716 #if defined __stub_$ac_func || defined __stub___$ac_func
24717 choke me
24718 #endif
24719
24720 int
24721 main ()
24722 {
24723 return $ac_func ();
24724 ;
24725 return 0;
24726 }
24727 _ACEOF
24728 rm -f conftest.$ac_objext conftest$ac_exeext
24729 if { (ac_try="$ac_link"
24730 case "(($ac_try" in
24731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24732 *) ac_try_echo=$ac_try;;
24733 esac
24734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24735 (eval "$ac_link") 2>conftest.er1
24736 ac_status=$?
24737 grep -v '^ *+' conftest.er1 >conftest.err
24738 rm -f conftest.er1
24739 cat conftest.err >&5
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); } && {
24742 test -z "$ac_c_werror_flag" ||
24743 test ! -s conftest.err
24744 } && test -s conftest$ac_exeext &&
24745 $as_test_x conftest$ac_exeext; then
24746 eval "$as_ac_var=yes"
24747 else
24748 echo "$as_me: failed program was:" >&5
24749 sed 's/^/| /' conftest.$ac_ext >&5
24750
24751 eval "$as_ac_var=no"
24752 fi
24753
24754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24755 conftest$ac_exeext conftest.$ac_ext
24756 fi
24757 ac_res=`eval echo '${'$as_ac_var'}'`
24758 { echo "$as_me:$LINENO: result: $ac_res" >&5
24759 echo "${ECHO_T}$ac_res" >&6; }
24760 if test `eval echo '${'$as_ac_var'}'` = yes; then
24761 cat >>confdefs.h <<_ACEOF
24762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24763 _ACEOF
24764 have_floor=1
24765 fi
24766 done
24767
24768 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24769 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24770 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24771 { echo "$as_me:$LINENO: result: yes" >&5
24772 echo "${ECHO_T}yes" >&6; }
24773 else
24774 { echo "$as_me:$LINENO: result: no" >&5
24775 echo "${ECHO_T}no" >&6; }
24776 LIBS="$LIBS -lm"
24777 # use different functions to avoid configure caching
24778 have_sin=0
24779 have_ceil=0
24780
24781 for ac_func in sin
24782 do
24783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24784 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24786 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24787 echo $ECHO_N "(cached) $ECHO_C" >&6
24788 else
24789 cat >conftest.$ac_ext <<_ACEOF
24790 /* confdefs.h. */
24791 _ACEOF
24792 cat confdefs.h >>conftest.$ac_ext
24793 cat >>conftest.$ac_ext <<_ACEOF
24794 /* end confdefs.h. */
24795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24797 #define $ac_func innocuous_$ac_func
24798
24799 /* System header to define __stub macros and hopefully few prototypes,
24800 which can conflict with char $ac_func (); below.
24801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24802 <limits.h> exists even on freestanding compilers. */
24803
24804 #ifdef __STDC__
24805 # include <limits.h>
24806 #else
24807 # include <assert.h>
24808 #endif
24809
24810 #undef $ac_func
24811
24812 /* Override any GCC internal prototype to avoid an error.
24813 Use char because int might match the return type of a GCC
24814 builtin and then its argument prototype would still apply. */
24815 #ifdef __cplusplus
24816 extern "C"
24817 #endif
24818 char $ac_func ();
24819 /* The GNU C library defines this for functions which it implements
24820 to always fail with ENOSYS. Some functions are actually named
24821 something starting with __ and the normal name is an alias. */
24822 #if defined __stub_$ac_func || defined __stub___$ac_func
24823 choke me
24824 #endif
24825
24826 int
24827 main ()
24828 {
24829 return $ac_func ();
24830 ;
24831 return 0;
24832 }
24833 _ACEOF
24834 rm -f conftest.$ac_objext conftest$ac_exeext
24835 if { (ac_try="$ac_link"
24836 case "(($ac_try" in
24837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24838 *) ac_try_echo=$ac_try;;
24839 esac
24840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24841 (eval "$ac_link") 2>conftest.er1
24842 ac_status=$?
24843 grep -v '^ *+' conftest.er1 >conftest.err
24844 rm -f conftest.er1
24845 cat conftest.err >&5
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); } && {
24848 test -z "$ac_c_werror_flag" ||
24849 test ! -s conftest.err
24850 } && test -s conftest$ac_exeext &&
24851 $as_test_x conftest$ac_exeext; then
24852 eval "$as_ac_var=yes"
24853 else
24854 echo "$as_me: failed program was:" >&5
24855 sed 's/^/| /' conftest.$ac_ext >&5
24856
24857 eval "$as_ac_var=no"
24858 fi
24859
24860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24861 conftest$ac_exeext conftest.$ac_ext
24862 fi
24863 ac_res=`eval echo '${'$as_ac_var'}'`
24864 { echo "$as_me:$LINENO: result: $ac_res" >&5
24865 echo "${ECHO_T}$ac_res" >&6; }
24866 if test `eval echo '${'$as_ac_var'}'` = yes; then
24867 cat >>confdefs.h <<_ACEOF
24868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24869 _ACEOF
24870 have_sin=1
24871 fi
24872 done
24873
24874
24875 for ac_func in ceil
24876 do
24877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24878 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24880 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24881 echo $ECHO_N "(cached) $ECHO_C" >&6
24882 else
24883 cat >conftest.$ac_ext <<_ACEOF
24884 /* confdefs.h. */
24885 _ACEOF
24886 cat confdefs.h >>conftest.$ac_ext
24887 cat >>conftest.$ac_ext <<_ACEOF
24888 /* end confdefs.h. */
24889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24891 #define $ac_func innocuous_$ac_func
24892
24893 /* System header to define __stub macros and hopefully few prototypes,
24894 which can conflict with char $ac_func (); below.
24895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24896 <limits.h> exists even on freestanding compilers. */
24897
24898 #ifdef __STDC__
24899 # include <limits.h>
24900 #else
24901 # include <assert.h>
24902 #endif
24903
24904 #undef $ac_func
24905
24906 /* Override any GCC internal prototype to avoid an error.
24907 Use char because int might match the return type of a GCC
24908 builtin and then its argument prototype would still apply. */
24909 #ifdef __cplusplus
24910 extern "C"
24911 #endif
24912 char $ac_func ();
24913 /* The GNU C library defines this for functions which it implements
24914 to always fail with ENOSYS. Some functions are actually named
24915 something starting with __ and the normal name is an alias. */
24916 #if defined __stub_$ac_func || defined __stub___$ac_func
24917 choke me
24918 #endif
24919
24920 int
24921 main ()
24922 {
24923 return $ac_func ();
24924 ;
24925 return 0;
24926 }
24927 _ACEOF
24928 rm -f conftest.$ac_objext conftest$ac_exeext
24929 if { (ac_try="$ac_link"
24930 case "(($ac_try" in
24931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24932 *) ac_try_echo=$ac_try;;
24933 esac
24934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24935 (eval "$ac_link") 2>conftest.er1
24936 ac_status=$?
24937 grep -v '^ *+' conftest.er1 >conftest.err
24938 rm -f conftest.er1
24939 cat conftest.err >&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } && {
24942 test -z "$ac_c_werror_flag" ||
24943 test ! -s conftest.err
24944 } && test -s conftest$ac_exeext &&
24945 $as_test_x conftest$ac_exeext; then
24946 eval "$as_ac_var=yes"
24947 else
24948 echo "$as_me: failed program was:" >&5
24949 sed 's/^/| /' conftest.$ac_ext >&5
24950
24951 eval "$as_ac_var=no"
24952 fi
24953
24954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24955 conftest$ac_exeext conftest.$ac_ext
24956 fi
24957 ac_res=`eval echo '${'$as_ac_var'}'`
24958 { echo "$as_me:$LINENO: result: $ac_res" >&5
24959 echo "${ECHO_T}$ac_res" >&6; }
24960 if test `eval echo '${'$as_ac_var'}'` = yes; then
24961 cat >>confdefs.h <<_ACEOF
24962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24963 _ACEOF
24964 have_ceil=1
24965 fi
24966 done
24967
24968 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24969 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24970 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24971 { echo "$as_me:$LINENO: result: yes" >&5
24972 echo "${ECHO_T}yes" >&6; }
24973 else
24974 { echo "$as_me:$LINENO: result: no" >&5
24975 echo "${ECHO_T}no" >&6; }
24976 # not sure we should warn the user, crash, etc.
24977 fi
24978 fi
24979
24980 ac_ext=cpp
24981 ac_cpp='$CXXCPP $CPPFLAGS'
24982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24985
24986 if test "wxUSE_UNICODE" = "yes"; then
24987
24988 for wx_func in wcstoull
24989 do
24990 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24991 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24992 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24993 echo $ECHO_N "(cached) $ECHO_C" >&6
24994 else
24995
24996 cat >conftest.$ac_ext <<_ACEOF
24997
24998 /* confdefs.h. */
24999 _ACEOF
25000 cat confdefs.h >>conftest.$ac_ext
25001 cat >>conftest.$ac_ext <<_ACEOF
25002 /* end confdefs.h. */
25003
25004
25005 $ac_includes_default
25006
25007 int
25008 main ()
25009 {
25010
25011 #ifndef $wx_func
25012 &$wx_func;
25013 #endif
25014
25015
25016 ;
25017 return 0;
25018 }
25019
25020 _ACEOF
25021 rm -f conftest.$ac_objext conftest$ac_exeext
25022 if { (ac_try="$ac_link"
25023 case "(($ac_try" in
25024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25025 *) ac_try_echo=$ac_try;;
25026 esac
25027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25028 (eval "$ac_link") 2>conftest.er1
25029 ac_status=$?
25030 grep -v '^ *+' conftest.er1 >conftest.err
25031 rm -f conftest.er1
25032 cat conftest.err >&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); } && {
25035 test -z "$ac_cxx_werror_flag" ||
25036 test ! -s conftest.err
25037 } && test -s conftest$ac_exeext &&
25038 $as_test_x conftest$ac_exeext; then
25039 eval wx_cv_func_$wx_func=yes
25040 else
25041 echo "$as_me: failed program was:" >&5
25042 sed 's/^/| /' conftest.$ac_ext >&5
25043
25044 eval wx_cv_func_$wx_func=no
25045 fi
25046
25047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25048 conftest$ac_exeext conftest.$ac_ext
25049
25050 fi
25051 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25052 { echo "$as_me:$LINENO: result: $ac_res" >&5
25053 echo "${ECHO_T}$ac_res" >&6; }
25054
25055 if eval test \$wx_cv_func_$wx_func = yes
25056 then
25057 cat >>confdefs.h <<_ACEOF
25058 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25059 _ACEOF
25060
25061
25062 else
25063 :
25064
25065 fi
25066 done
25067
25068 else
25069
25070 for wx_func in strtoull
25071 do
25072 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25073 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25074 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25075 echo $ECHO_N "(cached) $ECHO_C" >&6
25076 else
25077
25078 cat >conftest.$ac_ext <<_ACEOF
25079
25080 /* confdefs.h. */
25081 _ACEOF
25082 cat confdefs.h >>conftest.$ac_ext
25083 cat >>conftest.$ac_ext <<_ACEOF
25084 /* end confdefs.h. */
25085
25086
25087 $ac_includes_default
25088
25089 int
25090 main ()
25091 {
25092
25093 #ifndef $wx_func
25094 &$wx_func;
25095 #endif
25096
25097
25098 ;
25099 return 0;
25100 }
25101
25102 _ACEOF
25103 rm -f conftest.$ac_objext conftest$ac_exeext
25104 if { (ac_try="$ac_link"
25105 case "(($ac_try" in
25106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25107 *) ac_try_echo=$ac_try;;
25108 esac
25109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25110 (eval "$ac_link") 2>conftest.er1
25111 ac_status=$?
25112 grep -v '^ *+' conftest.er1 >conftest.err
25113 rm -f conftest.er1
25114 cat conftest.err >&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } && {
25117 test -z "$ac_cxx_werror_flag" ||
25118 test ! -s conftest.err
25119 } && test -s conftest$ac_exeext &&
25120 $as_test_x conftest$ac_exeext; then
25121 eval wx_cv_func_$wx_func=yes
25122 else
25123 echo "$as_me: failed program was:" >&5
25124 sed 's/^/| /' conftest.$ac_ext >&5
25125
25126 eval wx_cv_func_$wx_func=no
25127 fi
25128
25129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25130 conftest$ac_exeext conftest.$ac_ext
25131
25132 fi
25133 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25134 { echo "$as_me:$LINENO: result: $ac_res" >&5
25135 echo "${ECHO_T}$ac_res" >&6; }
25136
25137 if eval test \$wx_cv_func_$wx_func = yes
25138 then
25139 cat >>confdefs.h <<_ACEOF
25140 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25141 _ACEOF
25142
25143
25144 else
25145 :
25146
25147 fi
25148 done
25149
25150 fi
25151 ac_ext=c
25152 ac_cpp='$CPP $CPPFLAGS'
25153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25156
25157
25158
25159
25160 if test "$wxUSE_REGEX" != "no"; then
25161 cat >>confdefs.h <<\_ACEOF
25162 #define wxUSE_REGEX 1
25163 _ACEOF
25164
25165
25166 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25167 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25168 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25169 wxUSE_REGEX=builtin
25170 fi
25171
25172 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25173 { echo "$as_me:$LINENO: checking for regex.h" >&5
25174 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25175 if test "${ac_cv_header_regex_h+set}" = set; then
25176 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 else
25178 cat >conftest.$ac_ext <<_ACEOF
25179 /* confdefs.h. */
25180 _ACEOF
25181 cat confdefs.h >>conftest.$ac_ext
25182 cat >>conftest.$ac_ext <<_ACEOF
25183 /* end confdefs.h. */
25184
25185
25186 #include <regex.h>
25187 _ACEOF
25188 rm -f conftest.$ac_objext
25189 if { (ac_try="$ac_compile"
25190 case "(($ac_try" in
25191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25192 *) ac_try_echo=$ac_try;;
25193 esac
25194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25195 (eval "$ac_compile") 2>conftest.er1
25196 ac_status=$?
25197 grep -v '^ *+' conftest.er1 >conftest.err
25198 rm -f conftest.er1
25199 cat conftest.err >&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); } && {
25202 test -z "$ac_c_werror_flag" ||
25203 test ! -s conftest.err
25204 } && test -s conftest.$ac_objext; then
25205 ac_cv_header_regex_h=yes
25206 else
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25209
25210 ac_cv_header_regex_h=no
25211 fi
25212
25213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25214 fi
25215 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25216 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25217 if test $ac_cv_header_regex_h = yes; then
25218
25219
25220 for ac_func in regcomp re_search
25221 do
25222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25223 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25225 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25226 echo $ECHO_N "(cached) $ECHO_C" >&6
25227 else
25228 cat >conftest.$ac_ext <<_ACEOF
25229 /* confdefs.h. */
25230 _ACEOF
25231 cat confdefs.h >>conftest.$ac_ext
25232 cat >>conftest.$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25236 #define $ac_func innocuous_$ac_func
25237
25238 /* System header to define __stub macros and hopefully few prototypes,
25239 which can conflict with char $ac_func (); below.
25240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25241 <limits.h> exists even on freestanding compilers. */
25242
25243 #ifdef __STDC__
25244 # include <limits.h>
25245 #else
25246 # include <assert.h>
25247 #endif
25248
25249 #undef $ac_func
25250
25251 /* Override any GCC internal prototype to avoid an error.
25252 Use char because int might match the return type of a GCC
25253 builtin and then its argument prototype would still apply. */
25254 #ifdef __cplusplus
25255 extern "C"
25256 #endif
25257 char $ac_func ();
25258 /* The GNU C library defines this for functions which it implements
25259 to always fail with ENOSYS. Some functions are actually named
25260 something starting with __ and the normal name is an alias. */
25261 #if defined __stub_$ac_func || defined __stub___$ac_func
25262 choke me
25263 #endif
25264
25265 int
25266 main ()
25267 {
25268 return $ac_func ();
25269 ;
25270 return 0;
25271 }
25272 _ACEOF
25273 rm -f conftest.$ac_objext conftest$ac_exeext
25274 if { (ac_try="$ac_link"
25275 case "(($ac_try" in
25276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25277 *) ac_try_echo=$ac_try;;
25278 esac
25279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25280 (eval "$ac_link") 2>conftest.er1
25281 ac_status=$?
25282 grep -v '^ *+' conftest.er1 >conftest.err
25283 rm -f conftest.er1
25284 cat conftest.err >&5
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); } && {
25287 test -z "$ac_c_werror_flag" ||
25288 test ! -s conftest.err
25289 } && test -s conftest$ac_exeext &&
25290 $as_test_x conftest$ac_exeext; then
25291 eval "$as_ac_var=yes"
25292 else
25293 echo "$as_me: failed program was:" >&5
25294 sed 's/^/| /' conftest.$ac_ext >&5
25295
25296 eval "$as_ac_var=no"
25297 fi
25298
25299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25300 conftest$ac_exeext conftest.$ac_ext
25301 fi
25302 ac_res=`eval echo '${'$as_ac_var'}'`
25303 { echo "$as_me:$LINENO: result: $ac_res" >&5
25304 echo "${ECHO_T}$ac_res" >&6; }
25305 if test `eval echo '${'$as_ac_var'}'` = yes; then
25306 cat >>confdefs.h <<_ACEOF
25307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25308 _ACEOF
25309
25310 fi
25311 done
25312
25313 fi
25314
25315
25316
25317 if test "x$ac_cv_func_regcomp" != "xyes"; then
25318 if test "$wxUSE_REGEX" = "sys" ; then
25319 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25320 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25321 { (exit 1); exit 1; }; }
25322 else
25323 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25324 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25325 wxUSE_REGEX=builtin
25326 fi
25327 else
25328 wxUSE_REGEX=sys
25329 cat >>confdefs.h <<\_ACEOF
25330 #define WX_NO_REGEX_ADVANCED 1
25331 _ACEOF
25332
25333 fi
25334 fi
25335 fi
25336
25337
25338 ZLIB_LINK=
25339 if test "$wxUSE_ZLIB" != "no" ; then
25340 cat >>confdefs.h <<\_ACEOF
25341 #define wxUSE_ZLIB 1
25342 _ACEOF
25343
25344
25345 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25346 if test "$USE_DARWIN" = 1; then
25347 system_zlib_h_ok="yes"
25348 else
25349 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25350 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25351 if test "${ac_cv_header_zlib_h+set}" = set; then
25352 echo $ECHO_N "(cached) $ECHO_C" >&6
25353 else
25354 if test "$cross_compiling" = yes; then
25355 unset ac_cv_header_zlib_h
25356
25357 else
25358 cat >conftest.$ac_ext <<_ACEOF
25359 /* confdefs.h. */
25360 _ACEOF
25361 cat confdefs.h >>conftest.$ac_ext
25362 cat >>conftest.$ac_ext <<_ACEOF
25363 /* end confdefs.h. */
25364
25365 #include <zlib.h>
25366 #include <stdio.h>
25367
25368 int main()
25369 {
25370 FILE *f=fopen("conftestval", "w");
25371 if (!f) exit(1);
25372 fprintf(f, "%s",
25373 ZLIB_VERSION[0] == '1' &&
25374 (ZLIB_VERSION[2] > '1' ||
25375 (ZLIB_VERSION[2] == '1' &&
25376 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25377 exit(0);
25378 }
25379
25380 _ACEOF
25381 rm -f conftest$ac_exeext
25382 if { (ac_try="$ac_link"
25383 case "(($ac_try" in
25384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25385 *) ac_try_echo=$ac_try;;
25386 esac
25387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25388 (eval "$ac_link") 2>&5
25389 ac_status=$?
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25392 { (case "(($ac_try" in
25393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25394 *) ac_try_echo=$ac_try;;
25395 esac
25396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25397 (eval "$ac_try") 2>&5
25398 ac_status=$?
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); }; }; then
25401 ac_cv_header_zlib_h=`cat conftestval`
25402 else
25403 echo "$as_me: program exited with status $ac_status" >&5
25404 echo "$as_me: failed program was:" >&5
25405 sed 's/^/| /' conftest.$ac_ext >&5
25406
25407 ( exit $ac_status )
25408 ac_cv_header_zlib_h=no
25409 fi
25410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25411 fi
25412
25413
25414
25415 fi
25416 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25417 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25418 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25419 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25420 if test "${ac_cv_header_zlib_h+set}" = set; then
25421 echo $ECHO_N "(cached) $ECHO_C" >&6
25422 else
25423 cat >conftest.$ac_ext <<_ACEOF
25424 /* confdefs.h. */
25425 _ACEOF
25426 cat confdefs.h >>conftest.$ac_ext
25427 cat >>conftest.$ac_ext <<_ACEOF
25428 /* end confdefs.h. */
25429
25430
25431 #include <zlib.h>
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_header_zlib_h=yes
25451 else
25452 echo "$as_me: failed program was:" >&5
25453 sed 's/^/| /' conftest.$ac_ext >&5
25454
25455 ac_cv_header_zlib_h=no
25456 fi
25457
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25459 fi
25460 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25461 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25462
25463
25464
25465 system_zlib_h_ok=$ac_cv_header_zlib_h
25466 fi
25467
25468 if test "$system_zlib_h_ok" = "yes"; then
25469 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25470 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25471 if test "${ac_cv_lib_z_deflate+set}" = set; then
25472 echo $ECHO_N "(cached) $ECHO_C" >&6
25473 else
25474 ac_check_lib_save_LIBS=$LIBS
25475 LIBS="-lz $LIBS"
25476 cat >conftest.$ac_ext <<_ACEOF
25477 /* confdefs.h. */
25478 _ACEOF
25479 cat confdefs.h >>conftest.$ac_ext
25480 cat >>conftest.$ac_ext <<_ACEOF
25481 /* end confdefs.h. */
25482
25483 /* Override any GCC internal prototype to avoid an error.
25484 Use char because int might match the return type of a GCC
25485 builtin and then its argument prototype would still apply. */
25486 #ifdef __cplusplus
25487 extern "C"
25488 #endif
25489 char deflate ();
25490 int
25491 main ()
25492 {
25493 return deflate ();
25494 ;
25495 return 0;
25496 }
25497 _ACEOF
25498 rm -f conftest.$ac_objext conftest$ac_exeext
25499 if { (ac_try="$ac_link"
25500 case "(($ac_try" in
25501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25502 *) ac_try_echo=$ac_try;;
25503 esac
25504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25505 (eval "$ac_link") 2>conftest.er1
25506 ac_status=$?
25507 grep -v '^ *+' conftest.er1 >conftest.err
25508 rm -f conftest.er1
25509 cat conftest.err >&5
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); } && {
25512 test -z "$ac_c_werror_flag" ||
25513 test ! -s conftest.err
25514 } && test -s conftest$ac_exeext &&
25515 $as_test_x conftest$ac_exeext; then
25516 ac_cv_lib_z_deflate=yes
25517 else
25518 echo "$as_me: failed program was:" >&5
25519 sed 's/^/| /' conftest.$ac_ext >&5
25520
25521 ac_cv_lib_z_deflate=no
25522 fi
25523
25524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25525 conftest$ac_exeext conftest.$ac_ext
25526 LIBS=$ac_check_lib_save_LIBS
25527 fi
25528 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25529 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25530 if test $ac_cv_lib_z_deflate = yes; then
25531 ZLIB_LINK=" -lz"
25532 fi
25533
25534 fi
25535
25536 if test "x$ZLIB_LINK" = "x" ; then
25537 if test "$wxUSE_ZLIB" = "sys" ; then
25538 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25539 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25540 { (exit 1); exit 1; }; }
25541 else
25542 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25543 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25544 wxUSE_ZLIB=builtin
25545 fi
25546 else
25547 wxUSE_ZLIB=sys
25548 fi
25549 fi
25550 fi
25551
25552
25553 PNG_LINK=
25554 if test "$wxUSE_LIBPNG" != "no" ; then
25555 cat >>confdefs.h <<\_ACEOF
25556 #define wxUSE_LIBPNG 1
25557 _ACEOF
25558
25559
25560 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25561 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25562 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25563 wxUSE_LIBPNG=sys
25564 fi
25565
25566 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25567 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25568 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25569 wxUSE_LIBPNG=builtin
25570 fi
25571
25572 if test "$wxUSE_MGL" != 1 ; then
25573 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25574 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25575 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25576 if test "${ac_cv_header_png_h+set}" = set; then
25577 echo $ECHO_N "(cached) $ECHO_C" >&6
25578 else
25579 if test "$cross_compiling" = yes; then
25580 unset ac_cv_header_png_h
25581
25582 else
25583 cat >conftest.$ac_ext <<_ACEOF
25584 /* confdefs.h. */
25585 _ACEOF
25586 cat confdefs.h >>conftest.$ac_ext
25587 cat >>conftest.$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25589
25590 #include <png.h>
25591 #include <stdio.h>
25592
25593 int main()
25594 {
25595 FILE *f=fopen("conftestval", "w");
25596 if (!f) exit(1);
25597 fprintf(f, "%s",
25598 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25599 exit(0);
25600 }
25601
25602 _ACEOF
25603 rm -f conftest$ac_exeext
25604 if { (ac_try="$ac_link"
25605 case "(($ac_try" in
25606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25607 *) ac_try_echo=$ac_try;;
25608 esac
25609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25610 (eval "$ac_link") 2>&5
25611 ac_status=$?
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25614 { (case "(($ac_try" in
25615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25616 *) ac_try_echo=$ac_try;;
25617 esac
25618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25619 (eval "$ac_try") 2>&5
25620 ac_status=$?
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); }; }; then
25623 ac_cv_header_png_h=`cat conftestval`
25624 else
25625 echo "$as_me: program exited with status $ac_status" >&5
25626 echo "$as_me: failed program was:" >&5
25627 sed 's/^/| /' conftest.$ac_ext >&5
25628
25629 ( exit $ac_status )
25630 ac_cv_header_png_h=no
25631 fi
25632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25633 fi
25634
25635
25636
25637 fi
25638 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25639 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25640 { echo "$as_me:$LINENO: checking for png.h" >&5
25641 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25642 if test "${ac_cv_header_png_h+set}" = set; then
25643 echo $ECHO_N "(cached) $ECHO_C" >&6
25644 else
25645 cat >conftest.$ac_ext <<_ACEOF
25646 /* confdefs.h. */
25647 _ACEOF
25648 cat confdefs.h >>conftest.$ac_ext
25649 cat >>conftest.$ac_ext <<_ACEOF
25650 /* end confdefs.h. */
25651
25652
25653 #include <png.h>
25654 _ACEOF
25655 rm -f conftest.$ac_objext
25656 if { (ac_try="$ac_compile"
25657 case "(($ac_try" in
25658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25659 *) ac_try_echo=$ac_try;;
25660 esac
25661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25662 (eval "$ac_compile") 2>conftest.er1
25663 ac_status=$?
25664 grep -v '^ *+' conftest.er1 >conftest.err
25665 rm -f conftest.er1
25666 cat conftest.err >&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } && {
25669 test -z "$ac_c_werror_flag" ||
25670 test ! -s conftest.err
25671 } && test -s conftest.$ac_objext; then
25672 ac_cv_header_png_h=yes
25673 else
25674 echo "$as_me: failed program was:" >&5
25675 sed 's/^/| /' conftest.$ac_ext >&5
25676
25677 ac_cv_header_png_h=no
25678 fi
25679
25680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25681 fi
25682 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25683 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25684
25685
25686
25687 if test "$ac_cv_header_png_h" = "yes"; then
25688 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25689 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25690 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25691 echo $ECHO_N "(cached) $ECHO_C" >&6
25692 else
25693 ac_check_lib_save_LIBS=$LIBS
25694 LIBS="-lpng -lz -lm $LIBS"
25695 cat >conftest.$ac_ext <<_ACEOF
25696 /* confdefs.h. */
25697 _ACEOF
25698 cat confdefs.h >>conftest.$ac_ext
25699 cat >>conftest.$ac_ext <<_ACEOF
25700 /* end confdefs.h. */
25701
25702 /* Override any GCC internal prototype to avoid an error.
25703 Use char because int might match the return type of a GCC
25704 builtin and then its argument prototype would still apply. */
25705 #ifdef __cplusplus
25706 extern "C"
25707 #endif
25708 char png_check_sig ();
25709 int
25710 main ()
25711 {
25712 return png_check_sig ();
25713 ;
25714 return 0;
25715 }
25716 _ACEOF
25717 rm -f conftest.$ac_objext conftest$ac_exeext
25718 if { (ac_try="$ac_link"
25719 case "(($ac_try" in
25720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25721 *) ac_try_echo=$ac_try;;
25722 esac
25723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25724 (eval "$ac_link") 2>conftest.er1
25725 ac_status=$?
25726 grep -v '^ *+' conftest.er1 >conftest.err
25727 rm -f conftest.er1
25728 cat conftest.err >&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } && {
25731 test -z "$ac_c_werror_flag" ||
25732 test ! -s conftest.err
25733 } && test -s conftest$ac_exeext &&
25734 $as_test_x conftest$ac_exeext; then
25735 ac_cv_lib_png_png_check_sig=yes
25736 else
25737 echo "$as_me: failed program was:" >&5
25738 sed 's/^/| /' conftest.$ac_ext >&5
25739
25740 ac_cv_lib_png_png_check_sig=no
25741 fi
25742
25743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25744 conftest$ac_exeext conftest.$ac_ext
25745 LIBS=$ac_check_lib_save_LIBS
25746 fi
25747 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25748 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25749 if test $ac_cv_lib_png_png_check_sig = yes; then
25750 PNG_LINK=" -lpng -lz"
25751 fi
25752
25753 fi
25754
25755 if test "x$PNG_LINK" = "x" ; then
25756 if test "$wxUSE_LIBPNG" = "sys" ; then
25757 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25758 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25759 { (exit 1); exit 1; }; }
25760 else
25761 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25762 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25763 wxUSE_LIBPNG=builtin
25764 fi
25765 else
25766 wxUSE_LIBPNG=sys
25767 fi
25768 fi
25769 fi
25770
25771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25772 fi
25773
25774
25775 JPEG_LINK=
25776 if test "$wxUSE_LIBJPEG" != "no" ; then
25777 cat >>confdefs.h <<\_ACEOF
25778 #define wxUSE_LIBJPEG 1
25779 _ACEOF
25780
25781
25782 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25783 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25784 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25785 wxUSE_LIBJPEG=sys
25786 fi
25787
25788 if test "$wxUSE_MGL" != 1 ; then
25789 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25790 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25791 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25792 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
25794 else
25795 cat >conftest.$ac_ext <<_ACEOF
25796 /* confdefs.h. */
25797 _ACEOF
25798 cat confdefs.h >>conftest.$ac_ext
25799 cat >>conftest.$ac_ext <<_ACEOF
25800 /* end confdefs.h. */
25801
25802 #undef HAVE_STDLIB_H
25803 #include <stdio.h>
25804 #include <jpeglib.h>
25805
25806 int
25807 main ()
25808 {
25809
25810
25811 ;
25812 return 0;
25813 }
25814 _ACEOF
25815 rm -f conftest.$ac_objext
25816 if { (ac_try="$ac_compile"
25817 case "(($ac_try" in
25818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25819 *) ac_try_echo=$ac_try;;
25820 esac
25821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25822 (eval "$ac_compile") 2>conftest.er1
25823 ac_status=$?
25824 grep -v '^ *+' conftest.er1 >conftest.err
25825 rm -f conftest.er1
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } && {
25829 test -z "$ac_c_werror_flag" ||
25830 test ! -s conftest.err
25831 } && test -s conftest.$ac_objext; then
25832 ac_cv_header_jpeglib_h=yes
25833 else
25834 echo "$as_me: failed program was:" >&5
25835 sed 's/^/| /' conftest.$ac_ext >&5
25836
25837 ac_cv_header_jpeglib_h=no
25838
25839 fi
25840
25841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25842
25843 fi
25844
25845 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25846 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25847
25848 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25849 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25850 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25851 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25852 echo $ECHO_N "(cached) $ECHO_C" >&6
25853 else
25854 ac_check_lib_save_LIBS=$LIBS
25855 LIBS="-ljpeg $LIBS"
25856 cat >conftest.$ac_ext <<_ACEOF
25857 /* confdefs.h. */
25858 _ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25862
25863 /* Override any GCC internal prototype to avoid an error.
25864 Use char because int might match the return type of a GCC
25865 builtin and then its argument prototype would still apply. */
25866 #ifdef __cplusplus
25867 extern "C"
25868 #endif
25869 char jpeg_read_header ();
25870 int
25871 main ()
25872 {
25873 return jpeg_read_header ();
25874 ;
25875 return 0;
25876 }
25877 _ACEOF
25878 rm -f conftest.$ac_objext conftest$ac_exeext
25879 if { (ac_try="$ac_link"
25880 case "(($ac_try" in
25881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25882 *) ac_try_echo=$ac_try;;
25883 esac
25884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25885 (eval "$ac_link") 2>conftest.er1
25886 ac_status=$?
25887 grep -v '^ *+' conftest.er1 >conftest.err
25888 rm -f conftest.er1
25889 cat conftest.err >&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); } && {
25892 test -z "$ac_c_werror_flag" ||
25893 test ! -s conftest.err
25894 } && test -s conftest$ac_exeext &&
25895 $as_test_x conftest$ac_exeext; then
25896 ac_cv_lib_jpeg_jpeg_read_header=yes
25897 else
25898 echo "$as_me: failed program was:" >&5
25899 sed 's/^/| /' conftest.$ac_ext >&5
25900
25901 ac_cv_lib_jpeg_jpeg_read_header=no
25902 fi
25903
25904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25905 conftest$ac_exeext conftest.$ac_ext
25906 LIBS=$ac_check_lib_save_LIBS
25907 fi
25908 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25909 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25910 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25911 JPEG_LINK=" -ljpeg"
25912 fi
25913
25914 fi
25915
25916 if test "x$JPEG_LINK" = "x" ; then
25917 if test "$wxUSE_LIBJPEG" = "sys" ; then
25918 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25919 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25920 { (exit 1); exit 1; }; }
25921 else
25922 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25923 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25924 wxUSE_LIBJPEG=builtin
25925 fi
25926 else
25927 wxUSE_LIBJPEG=sys
25928
25929 if test "$wxUSE_MSW" = 1; then
25930 { echo "$as_me:$LINENO: checking for boolean" >&5
25931 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25932 if test "${ac_cv_type_boolean+set}" = set; then
25933 echo $ECHO_N "(cached) $ECHO_C" >&6
25934 else
25935 cat >conftest.$ac_ext <<_ACEOF
25936 /* confdefs.h. */
25937 _ACEOF
25938 cat confdefs.h >>conftest.$ac_ext
25939 cat >>conftest.$ac_ext <<_ACEOF
25940 /* end confdefs.h. */
25941 #include <windows.h>
25942
25943 typedef boolean ac__type_new_;
25944 int
25945 main ()
25946 {
25947 if ((ac__type_new_ *) 0)
25948 return 0;
25949 if (sizeof (ac__type_new_))
25950 return 0;
25951 ;
25952 return 0;
25953 }
25954 _ACEOF
25955 rm -f conftest.$ac_objext
25956 if { (ac_try="$ac_compile"
25957 case "(($ac_try" in
25958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25959 *) ac_try_echo=$ac_try;;
25960 esac
25961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25962 (eval "$ac_compile") 2>conftest.er1
25963 ac_status=$?
25964 grep -v '^ *+' conftest.er1 >conftest.err
25965 rm -f conftest.er1
25966 cat conftest.err >&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } && {
25969 test -z "$ac_c_werror_flag" ||
25970 test ! -s conftest.err
25971 } && test -s conftest.$ac_objext; then
25972 ac_cv_type_boolean=yes
25973 else
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25976
25977 ac_cv_type_boolean=no
25978 fi
25979
25980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25981 fi
25982 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25983 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25984 if test $ac_cv_type_boolean = yes; then
25985
25986 cat >>confdefs.h <<_ACEOF
25987 #define HAVE_BOOLEAN 1
25988 _ACEOF
25989
25990
25991 { echo "$as_me:$LINENO: checking for boolean" >&5
25992 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25993 if test "${ac_cv_type_boolean+set}" = set; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25995 else
25996 cat >conftest.$ac_ext <<_ACEOF
25997 /* confdefs.h. */
25998 _ACEOF
25999 cat confdefs.h >>conftest.$ac_ext
26000 cat >>conftest.$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26002
26003 #undef HAVE_BOOLEAN
26004 #include <stdio.h>
26005 #include <jpeglib.h>
26006
26007
26008 typedef boolean ac__type_new_;
26009 int
26010 main ()
26011 {
26012 if ((ac__type_new_ *) 0)
26013 return 0;
26014 if (sizeof (ac__type_new_))
26015 return 0;
26016 ;
26017 return 0;
26018 }
26019 _ACEOF
26020 rm -f conftest.$ac_objext
26021 if { (ac_try="$ac_compile"
26022 case "(($ac_try" in
26023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26024 *) ac_try_echo=$ac_try;;
26025 esac
26026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26027 (eval "$ac_compile") 2>conftest.er1
26028 ac_status=$?
26029 grep -v '^ *+' conftest.er1 >conftest.err
26030 rm -f conftest.er1
26031 cat conftest.err >&5
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); } && {
26034 test -z "$ac_c_werror_flag" ||
26035 test ! -s conftest.err
26036 } && test -s conftest.$ac_objext; then
26037 ac_cv_type_boolean=yes
26038 else
26039 echo "$as_me: failed program was:" >&5
26040 sed 's/^/| /' conftest.$ac_ext >&5
26041
26042 ac_cv_type_boolean=no
26043 fi
26044
26045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26046 fi
26047 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26048 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26049
26050 # The cast to long int works around a bug in the HP C Compiler
26051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26053 # This bug is HP SR number 8606223364.
26054 { echo "$as_me:$LINENO: checking size of boolean" >&5
26055 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26056 if test "${ac_cv_sizeof_boolean+set}" = set; then
26057 echo $ECHO_N "(cached) $ECHO_C" >&6
26058 else
26059 if test "$cross_compiling" = yes; then
26060 # Depending upon the size, compute the lo and hi bounds.
26061 cat >conftest.$ac_ext <<_ACEOF
26062 /* confdefs.h. */
26063 _ACEOF
26064 cat confdefs.h >>conftest.$ac_ext
26065 cat >>conftest.$ac_ext <<_ACEOF
26066 /* end confdefs.h. */
26067
26068 #undef HAVE_BOOLEAN
26069 #include <stdio.h>
26070 #include <jpeglib.h>
26071
26072
26073 typedef boolean ac__type_sizeof_;
26074 int
26075 main ()
26076 {
26077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26078 test_array [0] = 0
26079
26080 ;
26081 return 0;
26082 }
26083 _ACEOF
26084 rm -f conftest.$ac_objext
26085 if { (ac_try="$ac_compile"
26086 case "(($ac_try" in
26087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26088 *) ac_try_echo=$ac_try;;
26089 esac
26090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26091 (eval "$ac_compile") 2>conftest.er1
26092 ac_status=$?
26093 grep -v '^ *+' conftest.er1 >conftest.err
26094 rm -f conftest.er1
26095 cat conftest.err >&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } && {
26098 test -z "$ac_c_werror_flag" ||
26099 test ! -s conftest.err
26100 } && test -s conftest.$ac_objext; then
26101 ac_lo=0 ac_mid=0
26102 while :; do
26103 cat >conftest.$ac_ext <<_ACEOF
26104 /* confdefs.h. */
26105 _ACEOF
26106 cat confdefs.h >>conftest.$ac_ext
26107 cat >>conftest.$ac_ext <<_ACEOF
26108 /* end confdefs.h. */
26109
26110 #undef HAVE_BOOLEAN
26111 #include <stdio.h>
26112 #include <jpeglib.h>
26113
26114
26115 typedef boolean ac__type_sizeof_;
26116 int
26117 main ()
26118 {
26119 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26120 test_array [0] = 0
26121
26122 ;
26123 return 0;
26124 }
26125 _ACEOF
26126 rm -f conftest.$ac_objext
26127 if { (ac_try="$ac_compile"
26128 case "(($ac_try" in
26129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26130 *) ac_try_echo=$ac_try;;
26131 esac
26132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26133 (eval "$ac_compile") 2>conftest.er1
26134 ac_status=$?
26135 grep -v '^ *+' conftest.er1 >conftest.err
26136 rm -f conftest.er1
26137 cat conftest.err >&5
26138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139 (exit $ac_status); } && {
26140 test -z "$ac_c_werror_flag" ||
26141 test ! -s conftest.err
26142 } && test -s conftest.$ac_objext; then
26143 ac_hi=$ac_mid; break
26144 else
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.$ac_ext >&5
26147
26148 ac_lo=`expr $ac_mid + 1`
26149 if test $ac_lo -le $ac_mid; then
26150 ac_lo= ac_hi=
26151 break
26152 fi
26153 ac_mid=`expr 2 '*' $ac_mid + 1`
26154 fi
26155
26156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26157 done
26158 else
26159 echo "$as_me: failed program was:" >&5
26160 sed 's/^/| /' conftest.$ac_ext >&5
26161
26162 cat >conftest.$ac_ext <<_ACEOF
26163 /* confdefs.h. */
26164 _ACEOF
26165 cat confdefs.h >>conftest.$ac_ext
26166 cat >>conftest.$ac_ext <<_ACEOF
26167 /* end confdefs.h. */
26168
26169 #undef HAVE_BOOLEAN
26170 #include <stdio.h>
26171 #include <jpeglib.h>
26172
26173
26174 typedef boolean ac__type_sizeof_;
26175 int
26176 main ()
26177 {
26178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26179 test_array [0] = 0
26180
26181 ;
26182 return 0;
26183 }
26184 _ACEOF
26185 rm -f conftest.$ac_objext
26186 if { (ac_try="$ac_compile"
26187 case "(($ac_try" in
26188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26189 *) ac_try_echo=$ac_try;;
26190 esac
26191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26192 (eval "$ac_compile") 2>conftest.er1
26193 ac_status=$?
26194 grep -v '^ *+' conftest.er1 >conftest.err
26195 rm -f conftest.er1
26196 cat conftest.err >&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); } && {
26199 test -z "$ac_c_werror_flag" ||
26200 test ! -s conftest.err
26201 } && test -s conftest.$ac_objext; then
26202 ac_hi=-1 ac_mid=-1
26203 while :; do
26204 cat >conftest.$ac_ext <<_ACEOF
26205 /* confdefs.h. */
26206 _ACEOF
26207 cat confdefs.h >>conftest.$ac_ext
26208 cat >>conftest.$ac_ext <<_ACEOF
26209 /* end confdefs.h. */
26210
26211 #undef HAVE_BOOLEAN
26212 #include <stdio.h>
26213 #include <jpeglib.h>
26214
26215
26216 typedef boolean ac__type_sizeof_;
26217 int
26218 main ()
26219 {
26220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26221 test_array [0] = 0
26222
26223 ;
26224 return 0;
26225 }
26226 _ACEOF
26227 rm -f conftest.$ac_objext
26228 if { (ac_try="$ac_compile"
26229 case "(($ac_try" in
26230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26231 *) ac_try_echo=$ac_try;;
26232 esac
26233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26234 (eval "$ac_compile") 2>conftest.er1
26235 ac_status=$?
26236 grep -v '^ *+' conftest.er1 >conftest.err
26237 rm -f conftest.er1
26238 cat conftest.err >&5
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); } && {
26241 test -z "$ac_c_werror_flag" ||
26242 test ! -s conftest.err
26243 } && test -s conftest.$ac_objext; then
26244 ac_lo=$ac_mid; break
26245 else
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.$ac_ext >&5
26248
26249 ac_hi=`expr '(' $ac_mid ')' - 1`
26250 if test $ac_mid -le $ac_hi; then
26251 ac_lo= ac_hi=
26252 break
26253 fi
26254 ac_mid=`expr 2 '*' $ac_mid`
26255 fi
26256
26257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26258 done
26259 else
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.$ac_ext >&5
26262
26263 ac_lo= ac_hi=
26264 fi
26265
26266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26267 fi
26268
26269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26270 # Binary search between lo and hi bounds.
26271 while test "x$ac_lo" != "x$ac_hi"; do
26272 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26273 cat >conftest.$ac_ext <<_ACEOF
26274 /* confdefs.h. */
26275 _ACEOF
26276 cat confdefs.h >>conftest.$ac_ext
26277 cat >>conftest.$ac_ext <<_ACEOF
26278 /* end confdefs.h. */
26279
26280 #undef HAVE_BOOLEAN
26281 #include <stdio.h>
26282 #include <jpeglib.h>
26283
26284
26285 typedef boolean ac__type_sizeof_;
26286 int
26287 main ()
26288 {
26289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26290 test_array [0] = 0
26291
26292 ;
26293 return 0;
26294 }
26295 _ACEOF
26296 rm -f conftest.$ac_objext
26297 if { (ac_try="$ac_compile"
26298 case "(($ac_try" in
26299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26300 *) ac_try_echo=$ac_try;;
26301 esac
26302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26303 (eval "$ac_compile") 2>conftest.er1
26304 ac_status=$?
26305 grep -v '^ *+' conftest.er1 >conftest.err
26306 rm -f conftest.er1
26307 cat conftest.err >&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); } && {
26310 test -z "$ac_c_werror_flag" ||
26311 test ! -s conftest.err
26312 } && test -s conftest.$ac_objext; then
26313 ac_hi=$ac_mid
26314 else
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26317
26318 ac_lo=`expr '(' $ac_mid ')' + 1`
26319 fi
26320
26321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26322 done
26323 case $ac_lo in
26324 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26325 '') if test "$ac_cv_type_boolean" = yes; then
26326 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26327 See \`config.log' for more details." >&5
26328 echo "$as_me: error: cannot compute sizeof (boolean)
26329 See \`config.log' for more details." >&2;}
26330 { (exit 77); exit 77; }; }
26331 else
26332 ac_cv_sizeof_boolean=0
26333 fi ;;
26334 esac
26335 else
26336 cat >conftest.$ac_ext <<_ACEOF
26337 /* confdefs.h. */
26338 _ACEOF
26339 cat confdefs.h >>conftest.$ac_ext
26340 cat >>conftest.$ac_ext <<_ACEOF
26341 /* end confdefs.h. */
26342
26343 #undef HAVE_BOOLEAN
26344 #include <stdio.h>
26345 #include <jpeglib.h>
26346
26347
26348 typedef boolean ac__type_sizeof_;
26349 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26350 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26351 #include <stdio.h>
26352 #include <stdlib.h>
26353 int
26354 main ()
26355 {
26356
26357 FILE *f = fopen ("conftest.val", "w");
26358 if (! f)
26359 return 1;
26360 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26361 {
26362 long int i = longval ();
26363 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26364 return 1;
26365 fprintf (f, "%ld\n", i);
26366 }
26367 else
26368 {
26369 unsigned long int i = ulongval ();
26370 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26371 return 1;
26372 fprintf (f, "%lu\n", i);
26373 }
26374 return ferror (f) || fclose (f) != 0;
26375
26376 ;
26377 return 0;
26378 }
26379 _ACEOF
26380 rm -f conftest$ac_exeext
26381 if { (ac_try="$ac_link"
26382 case "(($ac_try" in
26383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26384 *) ac_try_echo=$ac_try;;
26385 esac
26386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26387 (eval "$ac_link") 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26391 { (case "(($ac_try" in
26392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26393 *) ac_try_echo=$ac_try;;
26394 esac
26395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26396 (eval "$ac_try") 2>&5
26397 ac_status=$?
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); }; }; then
26400 ac_cv_sizeof_boolean=`cat conftest.val`
26401 else
26402 echo "$as_me: program exited with status $ac_status" >&5
26403 echo "$as_me: failed program was:" >&5
26404 sed 's/^/| /' conftest.$ac_ext >&5
26405
26406 ( exit $ac_status )
26407 if test "$ac_cv_type_boolean" = yes; then
26408 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26409 See \`config.log' for more details." >&5
26410 echo "$as_me: error: cannot compute sizeof (boolean)
26411 See \`config.log' for more details." >&2;}
26412 { (exit 77); exit 77; }; }
26413 else
26414 ac_cv_sizeof_boolean=0
26415 fi
26416 fi
26417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26418 fi
26419 rm -f conftest.val
26420 fi
26421 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26422 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26423
26424
26425
26426 cat >>confdefs.h <<_ACEOF
26427 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26428 _ACEOF
26429
26430
26431 cat >>confdefs.h <<_ACEOF
26432 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26433 _ACEOF
26434
26435
26436 fi
26437
26438 fi
26439 fi
26440 fi
26441 fi
26442 fi
26443
26444
26445 TIFF_LINK=
26446 TIFF_PREREQ_LINKS=-lm
26447 if test "$wxUSE_LIBTIFF" != "no" ; then
26448 cat >>confdefs.h <<\_ACEOF
26449 #define wxUSE_LIBTIFF 1
26450 _ACEOF
26451
26452
26453 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26454 if test "$wxUSE_LIBJPEG" = "sys"; then
26455 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26456 fi
26457 if test "$wxUSE_ZLIB" = "sys"; then
26458 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26459 fi
26460 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26461 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26462 if test "${ac_cv_header_tiffio_h+set}" = set; then
26463 echo $ECHO_N "(cached) $ECHO_C" >&6
26464 else
26465 cat >conftest.$ac_ext <<_ACEOF
26466 /* confdefs.h. */
26467 _ACEOF
26468 cat confdefs.h >>conftest.$ac_ext
26469 cat >>conftest.$ac_ext <<_ACEOF
26470 /* end confdefs.h. */
26471
26472
26473
26474 #include <tiffio.h>
26475 _ACEOF
26476 rm -f conftest.$ac_objext
26477 if { (ac_try="$ac_compile"
26478 case "(($ac_try" in
26479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26480 *) ac_try_echo=$ac_try;;
26481 esac
26482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26483 (eval "$ac_compile") 2>conftest.er1
26484 ac_status=$?
26485 grep -v '^ *+' conftest.er1 >conftest.err
26486 rm -f conftest.er1
26487 cat conftest.err >&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } && {
26490 test -z "$ac_c_werror_flag" ||
26491 test ! -s conftest.err
26492 } && test -s conftest.$ac_objext; then
26493 ac_cv_header_tiffio_h=yes
26494 else
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.$ac_ext >&5
26497
26498 ac_cv_header_tiffio_h=no
26499 fi
26500
26501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26502 fi
26503 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26504 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26505 if test $ac_cv_header_tiffio_h = yes; then
26506
26507 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26508 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26509 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26510 echo $ECHO_N "(cached) $ECHO_C" >&6
26511 else
26512 ac_check_lib_save_LIBS=$LIBS
26513 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26514 cat >conftest.$ac_ext <<_ACEOF
26515 /* confdefs.h. */
26516 _ACEOF
26517 cat confdefs.h >>conftest.$ac_ext
26518 cat >>conftest.$ac_ext <<_ACEOF
26519 /* end confdefs.h. */
26520
26521 /* Override any GCC internal prototype to avoid an error.
26522 Use char because int might match the return type of a GCC
26523 builtin and then its argument prototype would still apply. */
26524 #ifdef __cplusplus
26525 extern "C"
26526 #endif
26527 char TIFFError ();
26528 int
26529 main ()
26530 {
26531 return TIFFError ();
26532 ;
26533 return 0;
26534 }
26535 _ACEOF
26536 rm -f conftest.$ac_objext conftest$ac_exeext
26537 if { (ac_try="$ac_link"
26538 case "(($ac_try" in
26539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26540 *) ac_try_echo=$ac_try;;
26541 esac
26542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26543 (eval "$ac_link") 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } && {
26550 test -z "$ac_c_werror_flag" ||
26551 test ! -s conftest.err
26552 } && test -s conftest$ac_exeext &&
26553 $as_test_x conftest$ac_exeext; then
26554 ac_cv_lib_tiff_TIFFError=yes
26555 else
26556 echo "$as_me: failed program was:" >&5
26557 sed 's/^/| /' conftest.$ac_ext >&5
26558
26559 ac_cv_lib_tiff_TIFFError=no
26560 fi
26561
26562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26563 conftest$ac_exeext conftest.$ac_ext
26564 LIBS=$ac_check_lib_save_LIBS
26565 fi
26566 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26567 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26568 if test $ac_cv_lib_tiff_TIFFError = yes; then
26569 TIFF_LINK=" -ltiff"
26570 fi
26571
26572
26573 fi
26574
26575
26576
26577 if test "x$TIFF_LINK" = "x" ; then
26578 if test "$wxUSE_LIBTIFF" = "sys" ; then
26579 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26580 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26581 { (exit 1); exit 1; }; }
26582 else
26583 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26584 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26585 wxUSE_LIBTIFF=builtin
26586 fi
26587 else
26588 wxUSE_LIBTIFF=sys
26589 fi
26590 fi
26591 fi
26592
26593
26594 if test "$wxUSE_WCHAR_T" != "yes"; then
26595 if test "$wxUSE_EXPAT" != "no"; then
26596 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26597 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26598 wxUSE_EXPAT=no
26599 fi
26600 if test "$wxUSE_XML" != "no"; then
26601 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26602 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26603 wxUSE_XML=no
26604 fi
26605 fi
26606
26607 if test "$wxUSE_EXPAT" != "no"; then
26608 wxUSE_XML=yes
26609 cat >>confdefs.h <<\_ACEOF
26610 #define wxUSE_EXPAT 1
26611 _ACEOF
26612
26613 cat >>confdefs.h <<\_ACEOF
26614 #define wxUSE_XML 1
26615 _ACEOF
26616
26617
26618 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26619 { echo "$as_me:$LINENO: checking for expat.h" >&5
26620 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26621 if test "${ac_cv_header_expat_h+set}" = set; then
26622 echo $ECHO_N "(cached) $ECHO_C" >&6
26623 else
26624 cat >conftest.$ac_ext <<_ACEOF
26625 /* confdefs.h. */
26626 _ACEOF
26627 cat confdefs.h >>conftest.$ac_ext
26628 cat >>conftest.$ac_ext <<_ACEOF
26629 /* end confdefs.h. */
26630
26631
26632 #include <expat.h>
26633 _ACEOF
26634 rm -f conftest.$ac_objext
26635 if { (ac_try="$ac_compile"
26636 case "(($ac_try" in
26637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26638 *) ac_try_echo=$ac_try;;
26639 esac
26640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26641 (eval "$ac_compile") 2>conftest.er1
26642 ac_status=$?
26643 grep -v '^ *+' conftest.er1 >conftest.err
26644 rm -f conftest.er1
26645 cat conftest.err >&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); } && {
26648 test -z "$ac_c_werror_flag" ||
26649 test ! -s conftest.err
26650 } && test -s conftest.$ac_objext; then
26651 ac_cv_header_expat_h=yes
26652 else
26653 echo "$as_me: failed program was:" >&5
26654 sed 's/^/| /' conftest.$ac_ext >&5
26655
26656 ac_cv_header_expat_h=no
26657 fi
26658
26659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26660 fi
26661 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26662 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26663 if test $ac_cv_header_expat_h = yes; then
26664 found_expat_h=1
26665 fi
26666
26667
26668 if test "x$found_expat_h" = "x1"; then
26669 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26670 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26671 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26672 echo $ECHO_N "(cached) $ECHO_C" >&6
26673 else
26674
26675 ac_ext=cpp
26676 ac_cpp='$CXXCPP $CPPFLAGS'
26677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26680
26681 cat >conftest.$ac_ext <<_ACEOF
26682 /* confdefs.h. */
26683 _ACEOF
26684 cat confdefs.h >>conftest.$ac_ext
26685 cat >>conftest.$ac_ext <<_ACEOF
26686 /* end confdefs.h. */
26687 #include <expat.h>
26688 int
26689 main ()
26690 {
26691
26692 ;
26693 return 0;
26694 }
26695 _ACEOF
26696 rm -f conftest.$ac_objext
26697 if { (ac_try="$ac_compile"
26698 case "(($ac_try" in
26699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26700 *) ac_try_echo=$ac_try;;
26701 esac
26702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26703 (eval "$ac_compile") 2>conftest.er1
26704 ac_status=$?
26705 grep -v '^ *+' conftest.er1 >conftest.err
26706 rm -f conftest.er1
26707 cat conftest.err >&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } && {
26710 test -z "$ac_cxx_werror_flag" ||
26711 test ! -s conftest.err
26712 } && test -s conftest.$ac_objext; then
26713 wx_cv_expat_is_not_broken=yes
26714 else
26715 echo "$as_me: failed program was:" >&5
26716 sed 's/^/| /' conftest.$ac_ext >&5
26717
26718 wx_cv_expat_is_not_broken=no
26719
26720 fi
26721
26722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26723 ac_ext=c
26724 ac_cpp='$CPP $CPPFLAGS'
26725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26728
26729
26730
26731 fi
26732 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26733 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26734 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26735 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26736 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26737 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26738 echo $ECHO_N "(cached) $ECHO_C" >&6
26739 else
26740 ac_check_lib_save_LIBS=$LIBS
26741 LIBS="-lexpat $LIBS"
26742 cat >conftest.$ac_ext <<_ACEOF
26743 /* confdefs.h. */
26744 _ACEOF
26745 cat confdefs.h >>conftest.$ac_ext
26746 cat >>conftest.$ac_ext <<_ACEOF
26747 /* end confdefs.h. */
26748
26749 /* Override any GCC internal prototype to avoid an error.
26750 Use char because int might match the return type of a GCC
26751 builtin and then its argument prototype would still apply. */
26752 #ifdef __cplusplus
26753 extern "C"
26754 #endif
26755 char XML_ParserCreate ();
26756 int
26757 main ()
26758 {
26759 return XML_ParserCreate ();
26760 ;
26761 return 0;
26762 }
26763 _ACEOF
26764 rm -f conftest.$ac_objext conftest$ac_exeext
26765 if { (ac_try="$ac_link"
26766 case "(($ac_try" in
26767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26768 *) ac_try_echo=$ac_try;;
26769 esac
26770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26771 (eval "$ac_link") 2>conftest.er1
26772 ac_status=$?
26773 grep -v '^ *+' conftest.er1 >conftest.err
26774 rm -f conftest.er1
26775 cat conftest.err >&5
26776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26777 (exit $ac_status); } && {
26778 test -z "$ac_c_werror_flag" ||
26779 test ! -s conftest.err
26780 } && test -s conftest$ac_exeext &&
26781 $as_test_x conftest$ac_exeext; then
26782 ac_cv_lib_expat_XML_ParserCreate=yes
26783 else
26784 echo "$as_me: failed program was:" >&5
26785 sed 's/^/| /' conftest.$ac_ext >&5
26786
26787 ac_cv_lib_expat_XML_ParserCreate=no
26788 fi
26789
26790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26791 conftest$ac_exeext conftest.$ac_ext
26792 LIBS=$ac_check_lib_save_LIBS
26793 fi
26794 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26795 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26796 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26797 EXPAT_LINK=" -lexpat"
26798 fi
26799
26800 fi
26801 fi
26802 if test "x$EXPAT_LINK" = "x" ; then
26803 if test "$wxUSE_EXPAT" = "sys" ; then
26804 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26805 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26806 { (exit 1); exit 1; }; }
26807 else
26808 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26809 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26810 wxUSE_EXPAT=builtin
26811 fi
26812 else
26813 wxUSE_EXPAT=sys
26814 fi
26815 fi
26816 if test "$wxUSE_EXPAT" = "builtin" ; then
26817 subdirs="$subdirs src/expat"
26818
26819 fi
26820 fi
26821
26822
26823
26824 if test "$wxUSE_LIBMSPACK" != "no"; then
26825 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26826 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26827 if test "${ac_cv_header_mspack_h+set}" = set; then
26828 echo $ECHO_N "(cached) $ECHO_C" >&6
26829 else
26830 cat >conftest.$ac_ext <<_ACEOF
26831 /* confdefs.h. */
26832 _ACEOF
26833 cat confdefs.h >>conftest.$ac_ext
26834 cat >>conftest.$ac_ext <<_ACEOF
26835 /* end confdefs.h. */
26836
26837
26838 #include <mspack.h>
26839 _ACEOF
26840 rm -f conftest.$ac_objext
26841 if { (ac_try="$ac_compile"
26842 case "(($ac_try" in
26843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26844 *) ac_try_echo=$ac_try;;
26845 esac
26846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26847 (eval "$ac_compile") 2>conftest.er1
26848 ac_status=$?
26849 grep -v '^ *+' conftest.er1 >conftest.err
26850 rm -f conftest.er1
26851 cat conftest.err >&5
26852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26853 (exit $ac_status); } && {
26854 test -z "$ac_c_werror_flag" ||
26855 test ! -s conftest.err
26856 } && test -s conftest.$ac_objext; then
26857 ac_cv_header_mspack_h=yes
26858 else
26859 echo "$as_me: failed program was:" >&5
26860 sed 's/^/| /' conftest.$ac_ext >&5
26861
26862 ac_cv_header_mspack_h=no
26863 fi
26864
26865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26866 fi
26867 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26868 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26869 if test $ac_cv_header_mspack_h = yes; then
26870 found_mspack_h=1
26871 fi
26872
26873
26874 if test "x$found_mspack_h" = "x1"; then
26875 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26876 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26877 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26879 else
26880 ac_check_lib_save_LIBS=$LIBS
26881 LIBS="-lmspack $LIBS"
26882 cat >conftest.$ac_ext <<_ACEOF
26883 /* confdefs.h. */
26884 _ACEOF
26885 cat confdefs.h >>conftest.$ac_ext
26886 cat >>conftest.$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26888
26889 /* Override any GCC internal prototype to avoid an error.
26890 Use char because int might match the return type of a GCC
26891 builtin and then its argument prototype would still apply. */
26892 #ifdef __cplusplus
26893 extern "C"
26894 #endif
26895 char mspack_create_chm_decompressor ();
26896 int
26897 main ()
26898 {
26899 return mspack_create_chm_decompressor ();
26900 ;
26901 return 0;
26902 }
26903 _ACEOF
26904 rm -f conftest.$ac_objext conftest$ac_exeext
26905 if { (ac_try="$ac_link"
26906 case "(($ac_try" in
26907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26908 *) ac_try_echo=$ac_try;;
26909 esac
26910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26911 (eval "$ac_link") 2>conftest.er1
26912 ac_status=$?
26913 grep -v '^ *+' conftest.er1 >conftest.err
26914 rm -f conftest.er1
26915 cat conftest.err >&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); } && {
26918 test -z "$ac_c_werror_flag" ||
26919 test ! -s conftest.err
26920 } && test -s conftest$ac_exeext &&
26921 $as_test_x conftest$ac_exeext; then
26922 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26923 else
26924 echo "$as_me: failed program was:" >&5
26925 sed 's/^/| /' conftest.$ac_ext >&5
26926
26927 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26928 fi
26929
26930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26931 conftest$ac_exeext conftest.$ac_ext
26932 LIBS=$ac_check_lib_save_LIBS
26933 fi
26934 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26935 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26936 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26937 MSPACK_LINK=" -lmspack"
26938 fi
26939
26940 fi
26941 if test "x$MSPACK_LINK" = "x" ; then
26942 wxUSE_LIBMSPACK=no
26943 fi
26944 fi
26945
26946 if test "$wxUSE_LIBMSPACK" != "no"; then
26947 cat >>confdefs.h <<\_ACEOF
26948 #define wxUSE_LIBMSPACK 1
26949 _ACEOF
26950
26951 fi
26952
26953
26954
26955 AFMINSTALL=
26956 WIN32INSTALL=
26957
26958 TOOLKIT=
26959 TOOLKIT_INCLUDE=
26960 WIDGET_SET=
26961
26962 if test "$USE_WIN32" = 1 ; then
26963 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26964 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26965 if test "${ac_cv_header_w32api_h+set}" = set; then
26966 echo $ECHO_N "(cached) $ECHO_C" >&6
26967 else
26968 cat >conftest.$ac_ext <<_ACEOF
26969 /* confdefs.h. */
26970 _ACEOF
26971 cat confdefs.h >>conftest.$ac_ext
26972 cat >>conftest.$ac_ext <<_ACEOF
26973 /* end confdefs.h. */
26974
26975
26976 #include <w32api.h>
26977 _ACEOF
26978 rm -f conftest.$ac_objext
26979 if { (ac_try="$ac_compile"
26980 case "(($ac_try" in
26981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26982 *) ac_try_echo=$ac_try;;
26983 esac
26984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26985 (eval "$ac_compile") 2>conftest.er1
26986 ac_status=$?
26987 grep -v '^ *+' conftest.er1 >conftest.err
26988 rm -f conftest.er1
26989 cat conftest.err >&5
26990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991 (exit $ac_status); } && {
26992 test -z "$ac_c_werror_flag" ||
26993 test ! -s conftest.err
26994 } && test -s conftest.$ac_objext; then
26995 ac_cv_header_w32api_h=yes
26996 else
26997 echo "$as_me: failed program was:" >&5
26998 sed 's/^/| /' conftest.$ac_ext >&5
26999
27000 ac_cv_header_w32api_h=no
27001 fi
27002
27003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27004 fi
27005 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
27006 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
27007
27008
27009 { echo "$as_me:$LINENO: checking for windows.h" >&5
27010 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27011 if test "${ac_cv_header_windows_h+set}" = set; then
27012 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 else
27014 cat >conftest.$ac_ext <<_ACEOF
27015 /* confdefs.h. */
27016 _ACEOF
27017 cat confdefs.h >>conftest.$ac_ext
27018 cat >>conftest.$ac_ext <<_ACEOF
27019 /* end confdefs.h. */
27020
27021
27022 #include <windows.h>
27023 _ACEOF
27024 rm -f conftest.$ac_objext
27025 if { (ac_try="$ac_compile"
27026 case "(($ac_try" in
27027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27028 *) ac_try_echo=$ac_try;;
27029 esac
27030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27031 (eval "$ac_compile") 2>conftest.er1
27032 ac_status=$?
27033 grep -v '^ *+' conftest.er1 >conftest.err
27034 rm -f conftest.er1
27035 cat conftest.err >&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } && {
27038 test -z "$ac_c_werror_flag" ||
27039 test ! -s conftest.err
27040 } && test -s conftest.$ac_objext; then
27041 ac_cv_header_windows_h=yes
27042 else
27043 echo "$as_me: failed program was:" >&5
27044 sed 's/^/| /' conftest.$ac_ext >&5
27045
27046 ac_cv_header_windows_h=no
27047 fi
27048
27049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27050 fi
27051 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27052 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27053 if test $ac_cv_header_windows_h = yes; then
27054 :
27055 else
27056
27057 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27058 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27059 { (exit 1); exit 1; }; }
27060
27061 fi
27062
27063
27064
27065 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27066
27067 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27068 LIBS="$LIBS -loleacc"
27069 fi
27070
27071 case "${host}" in
27072 *-*-cygwin* )
27073 LIBS="$LIBS -lkernel32 -luser32"
27074 esac
27075
27076 if test "$wxUSE_ODBC" = "sys" ; then
27077 wxUSE_ODBC = "yes"
27078 fi
27079 if test "$wxUSE_ODBC" = "yes" ; then
27080 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27081 cat >>confdefs.h <<\_ACEOF
27082 #define wxUSE_ODBC 1
27083 _ACEOF
27084
27085 fi
27086
27087 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27088 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27089
27090 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27091
27092 WIN32INSTALL=win32install
27093
27094 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27095 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27096 if test "${ac_cv_header_pbt_h+set}" = set; then
27097 echo $ECHO_N "(cached) $ECHO_C" >&6
27098 else
27099 cat >conftest.$ac_ext <<_ACEOF
27100 /* confdefs.h. */
27101 _ACEOF
27102 cat confdefs.h >>conftest.$ac_ext
27103 cat >>conftest.$ac_ext <<_ACEOF
27104 /* end confdefs.h. */
27105
27106
27107 #include <pbt.h>
27108 _ACEOF
27109 rm -f conftest.$ac_objext
27110 if { (ac_try="$ac_compile"
27111 case "(($ac_try" in
27112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27113 *) ac_try_echo=$ac_try;;
27114 esac
27115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27116 (eval "$ac_compile") 2>conftest.er1
27117 ac_status=$?
27118 grep -v '^ *+' conftest.er1 >conftest.err
27119 rm -f conftest.er1
27120 cat conftest.err >&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } && {
27123 test -z "$ac_c_werror_flag" ||
27124 test ! -s conftest.err
27125 } && test -s conftest.$ac_objext; then
27126 ac_cv_header_pbt_h=yes
27127 else
27128 echo "$as_me: failed program was:" >&5
27129 sed 's/^/| /' conftest.$ac_ext >&5
27130
27131 ac_cv_header_pbt_h=no
27132 fi
27133
27134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27135 fi
27136 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27137 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27138 if test $ac_cv_header_pbt_h = yes; then
27139 :
27140 else
27141 cat >>confdefs.h <<\_ACEOF
27142 #define NEED_PBT_H 1
27143 _ACEOF
27144
27145 fi
27146
27147
27148 fi
27149
27150 if test "$wxUSE_GUI" = "yes"; then
27151 USE_GUI=1
27152
27153 GUI_TK_LIBRARY=
27154
27155 WXGTK12=
27156 WXGTK127=
27157 WXGTK20=
27158 WXGPE=
27159
27160 if test "$wxUSE_COCOA" = 1 ; then
27161 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27162 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27163 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27164 wxUSE_PRINTING_ARCHITECTURE=no
27165 fi
27166 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27167 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27168 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27169 wxUSE_DRAG_AND_DROP=no
27170 fi
27171 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27172 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27173 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27174 wxUSE_DRAGIMAGE=no
27175 fi
27176 fi
27177
27178 if test "$wxUSE_MSW" = 1 ; then
27179 TOOLKIT=MSW
27180 GUIDIST=MSW_DIST
27181
27182 case "${host}" in
27183 *-*-mingw32* )
27184 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27185 esac
27186 fi
27187
27188 if test "$wxUSE_GTK" = 1; then
27189 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27190 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27191
27192 gtk_version_cached=1
27193 if test "${wx_cv_lib_gtk+set}" = set; then
27194 echo $ECHO_N "(cached) $ECHO_C" >&6
27195 else
27196
27197 gtk_version_cached=0
27198 { echo "$as_me:$LINENO: result: " >&5
27199 echo "${ECHO_T}" >&6; }
27200
27201 GTK_MODULES=
27202 if test "$wxUSE_THREADS" = "yes"; then
27203 GTK_MODULES=gthread
27204 fi
27205
27206 wx_cv_lib_gtk=
27207 if test "x$wxGTK_VERSION" != "x1"
27208 then
27209 case "${host}" in
27210 *-*-solaris2* )
27211 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27212 enable_gtktest=no
27213 fi
27214 esac
27215
27216 # Check whether --enable-gtktest was given.
27217 if test "${enable_gtktest+set}" = set; then
27218 enableval=$enable_gtktest;
27219 else
27220 enable_gtktest=yes
27221 fi
27222
27223
27224 pkg_config_args=gtk+-2.0
27225 for module in . $GTK_MODULES
27226 do
27227 case "$module" in
27228 gthread)
27229 pkg_config_args="$pkg_config_args gthread-2.0"
27230 ;;
27231 esac
27232 done
27233
27234 no_gtk=""
27235
27236 # Extract the first word of "pkg-config", so it can be a program name with args.
27237 set dummy pkg-config; ac_word=$2
27238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27240 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27241 echo $ECHO_N "(cached) $ECHO_C" >&6
27242 else
27243 case $PKG_CONFIG in
27244 [\\/]* | ?:[\\/]*)
27245 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27246 ;;
27247 *)
27248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27249 for as_dir in $PATH
27250 do
27251 IFS=$as_save_IFS
27252 test -z "$as_dir" && as_dir=.
27253 for ac_exec_ext in '' $ac_executable_extensions; do
27254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27255 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27257 break 2
27258 fi
27259 done
27260 done
27261 IFS=$as_save_IFS
27262
27263 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27264 ;;
27265 esac
27266 fi
27267 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27268 if test -n "$PKG_CONFIG"; then
27269 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27270 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27271 else
27272 { echo "$as_me:$LINENO: result: no" >&5
27273 echo "${ECHO_T}no" >&6; }
27274 fi
27275
27276
27277
27278 if test x$PKG_CONFIG != xno ; then
27279 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27280 :
27281 else
27282 echo "*** pkg-config too old; version 0.7 or better required."
27283 no_gtk=yes
27284 PKG_CONFIG=no
27285 fi
27286 else
27287 no_gtk=yes
27288 fi
27289
27290 min_gtk_version=2.0.0
27291 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27292 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27293
27294 if test x$PKG_CONFIG != xno ; then
27295 ## don't try to run the test against uninstalled libtool libs
27296 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27297 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27298 enable_gtktest=no
27299 fi
27300
27301 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27302 :
27303 else
27304 no_gtk=yes
27305 fi
27306 fi
27307
27308 if test x"$no_gtk" = x ; then
27309 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27310 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27311 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27312 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27313 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27314 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27315 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27316 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27317 if test "x$enable_gtktest" = "xyes" ; then
27318 ac_save_CFLAGS="$CFLAGS"
27319 ac_save_LIBS="$LIBS"
27320 CFLAGS="$CFLAGS $GTK_CFLAGS"
27321 LIBS="$GTK_LIBS $LIBS"
27322 rm -f conf.gtktest
27323 if test "$cross_compiling" = yes; then
27324 echo $ac_n "cross compiling; assumed OK... $ac_c"
27325 else
27326 cat >conftest.$ac_ext <<_ACEOF
27327 /* confdefs.h. */
27328 _ACEOF
27329 cat confdefs.h >>conftest.$ac_ext
27330 cat >>conftest.$ac_ext <<_ACEOF
27331 /* end confdefs.h. */
27332
27333 #include <gtk/gtk.h>
27334 #include <stdio.h>
27335 #include <stdlib.h>
27336
27337 int
27338 main ()
27339 {
27340 int major, minor, micro;
27341 char *tmp_version;
27342
27343 system ("touch conf.gtktest");
27344
27345 /* HP/UX 9 (%@#!) writes to sscanf strings */
27346 tmp_version = g_strdup("$min_gtk_version");
27347 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27348 printf("%s, bad version string\n", "$min_gtk_version");
27349 exit(1);
27350 }
27351
27352 if ((gtk_major_version != $gtk_config_major_version) ||
27353 (gtk_minor_version != $gtk_config_minor_version) ||
27354 (gtk_micro_version != $gtk_config_micro_version))
27355 {
27356 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27357 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27358 gtk_major_version, gtk_minor_version, gtk_micro_version);
27359 printf ("*** was found! If pkg-config was correct, then it is best\n");
27360 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27361 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27362 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27363 printf("*** required on your system.\n");
27364 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27365 printf("*** to point to the correct configuration files\n");
27366 }
27367 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27368 (gtk_minor_version != GTK_MINOR_VERSION) ||
27369 (gtk_micro_version != GTK_MICRO_VERSION))
27370 {
27371 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27372 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27373 printf("*** library (version %d.%d.%d)\n",
27374 gtk_major_version, gtk_minor_version, gtk_micro_version);
27375 }
27376 else
27377 {
27378 if ((gtk_major_version > major) ||
27379 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27380 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27381 {
27382 return 0;
27383 }
27384 else
27385 {
27386 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27387 gtk_major_version, gtk_minor_version, gtk_micro_version);
27388 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27389 major, minor, micro);
27390 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27391 printf("***\n");
27392 printf("*** If you have already installed a sufficiently new version, this error\n");
27393 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27394 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27395 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27396 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27397 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27398 printf("*** so that the correct libraries are found at run-time))\n");
27399 }
27400 }
27401 return 1;
27402 }
27403
27404 _ACEOF
27405 rm -f conftest$ac_exeext
27406 if { (ac_try="$ac_link"
27407 case "(($ac_try" in
27408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27409 *) ac_try_echo=$ac_try;;
27410 esac
27411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27412 (eval "$ac_link") 2>&5
27413 ac_status=$?
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27416 { (case "(($ac_try" in
27417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27418 *) ac_try_echo=$ac_try;;
27419 esac
27420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27421 (eval "$ac_try") 2>&5
27422 ac_status=$?
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); }; }; then
27425 :
27426 else
27427 echo "$as_me: program exited with status $ac_status" >&5
27428 echo "$as_me: failed program was:" >&5
27429 sed 's/^/| /' conftest.$ac_ext >&5
27430
27431 ( exit $ac_status )
27432 no_gtk=yes
27433 fi
27434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27435 fi
27436
27437
27438 CFLAGS="$ac_save_CFLAGS"
27439 LIBS="$ac_save_LIBS"
27440 fi
27441 fi
27442 if test "x$no_gtk" = x ; then
27443 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27444 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27445 wx_cv_lib_gtk=2.0
27446 else
27447 { echo "$as_me:$LINENO: result: no" >&5
27448 echo "${ECHO_T}no" >&6; }
27449 if test "$PKG_CONFIG" = "no" ; then
27450 echo "*** A new enough version of pkg-config was not found."
27451 echo "*** See http://pkgconfig.sourceforge.net"
27452 else
27453 if test -f conf.gtktest ; then
27454 :
27455 else
27456 echo "*** Could not run GTK+ test program, checking why..."
27457 ac_save_CFLAGS="$CFLAGS"
27458 ac_save_LIBS="$LIBS"
27459 CFLAGS="$CFLAGS $GTK_CFLAGS"
27460 LIBS="$LIBS $GTK_LIBS"
27461 cat >conftest.$ac_ext <<_ACEOF
27462 /* confdefs.h. */
27463 _ACEOF
27464 cat confdefs.h >>conftest.$ac_ext
27465 cat >>conftest.$ac_ext <<_ACEOF
27466 /* end confdefs.h. */
27467
27468 #include <gtk/gtk.h>
27469 #include <stdio.h>
27470
27471 int
27472 main ()
27473 {
27474 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27475 ;
27476 return 0;
27477 }
27478 _ACEOF
27479 rm -f conftest.$ac_objext conftest$ac_exeext
27480 if { (ac_try="$ac_link"
27481 case "(($ac_try" in
27482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27483 *) ac_try_echo=$ac_try;;
27484 esac
27485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27486 (eval "$ac_link") 2>conftest.er1
27487 ac_status=$?
27488 grep -v '^ *+' conftest.er1 >conftest.err
27489 rm -f conftest.er1
27490 cat conftest.err >&5
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); } && {
27493 test -z "$ac_c_werror_flag" ||
27494 test ! -s conftest.err
27495 } && test -s conftest$ac_exeext &&
27496 $as_test_x conftest$ac_exeext; then
27497 echo "*** The test program compiled, but did not run. This usually means"
27498 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27499 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27500 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27501 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27502 echo "*** is required on your system"
27503 echo "***"
27504 echo "*** If you have an old version installed, it is best to remove it, although"
27505 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27506 else
27507 echo "$as_me: failed program was:" >&5
27508 sed 's/^/| /' conftest.$ac_ext >&5
27509
27510 echo "*** The test program failed to compile or link. See the file config.log for the"
27511 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27512 fi
27513
27514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27515 conftest$ac_exeext conftest.$ac_ext
27516 CFLAGS="$ac_save_CFLAGS"
27517 LIBS="$ac_save_LIBS"
27518 fi
27519 fi
27520 GTK_CFLAGS=""
27521 GTK_LIBS=""
27522 :
27523 fi
27524
27525
27526 rm -f conf.gtktest
27527
27528
27529 case "${host}" in
27530 *-*-solaris2* )
27531 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27532 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27533 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27534 fi
27535 if test "$wxUSE_SHARED" != "yes"; then
27536 GTK_LIBS="$GTK_LIBS -lX11"
27537 fi
27538 esac
27539 fi
27540
27541 if test -z "$wx_cv_lib_gtk"; then
27542 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27543
27544 # Check whether --with-gtk-prefix was given.
27545 if test "${with_gtk_prefix+set}" = set; then
27546 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27547 else
27548 gtk_config_prefix=""
27549 fi
27550
27551
27552 # Check whether --with-gtk-exec-prefix was given.
27553 if test "${with_gtk_exec_prefix+set}" = set; then
27554 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27555 else
27556 gtk_config_exec_prefix=""
27557 fi
27558
27559 # Check whether --enable-gtktest was given.
27560 if test "${enable_gtktest+set}" = set; then
27561 enableval=$enable_gtktest;
27562 else
27563 enable_gtktest=yes
27564 fi
27565
27566
27567 for module in . $GTK_MODULES
27568 do
27569 case "$module" in
27570 gthread)
27571 gtk_config_args="$gtk_config_args gthread"
27572 ;;
27573 esac
27574 done
27575
27576 if test x$gtk_config_exec_prefix != x ; then
27577 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27578 if test x${GTK_CONFIG+set} != xset ; then
27579 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27580 fi
27581 fi
27582 if test x$gtk_config_prefix != x ; then
27583 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27584 if test x${GTK_CONFIG+set} != xset ; then
27585 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27586 fi
27587 fi
27588
27589 # Extract the first word of "gtk-config", so it can be a program name with args.
27590 set dummy gtk-config; ac_word=$2
27591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27593 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27594 echo $ECHO_N "(cached) $ECHO_C" >&6
27595 else
27596 case $GTK_CONFIG in
27597 [\\/]* | ?:[\\/]*)
27598 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27599 ;;
27600 *)
27601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27602 for as_dir in $PATH
27603 do
27604 IFS=$as_save_IFS
27605 test -z "$as_dir" && as_dir=.
27606 for ac_exec_ext in '' $ac_executable_extensions; do
27607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27608 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27610 break 2
27611 fi
27612 done
27613 done
27614 IFS=$as_save_IFS
27615
27616 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27617 ;;
27618 esac
27619 fi
27620 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27621 if test -n "$GTK_CONFIG"; then
27622 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27623 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27624 else
27625 { echo "$as_me:$LINENO: result: no" >&5
27626 echo "${ECHO_T}no" >&6; }
27627 fi
27628
27629
27630 min_gtk_version=1.2.7
27631 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27632 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27633 no_gtk=""
27634 if test "$GTK_CONFIG" = "no" ; then
27635 no_gtk=yes
27636 else
27637 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27638 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27639 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27641 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27642 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27643 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27645 if test "x$enable_gtktest" = "xyes" ; then
27646 ac_save_CFLAGS="$CFLAGS"
27647 ac_save_LIBS="$LIBS"
27648 CFLAGS="$CFLAGS $GTK_CFLAGS"
27649 LIBS="$GTK_LIBS $LIBS"
27650 rm -f conf.gtktest
27651 if test "$cross_compiling" = yes; then
27652 echo $ac_n "cross compiling; assumed OK... $ac_c"
27653 else
27654 cat >conftest.$ac_ext <<_ACEOF
27655 /* confdefs.h. */
27656 _ACEOF
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660
27661 #include <gtk/gtk.h>
27662 #include <stdio.h>
27663 #include <stdlib.h>
27664
27665 int
27666 main ()
27667 {
27668 int major, minor, micro;
27669 char *tmp_version;
27670
27671 system ("touch conf.gtktest");
27672
27673 /* HP/UX 9 (%@#!) writes to sscanf strings */
27674 tmp_version = g_strdup("$min_gtk_version");
27675 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27676 printf("%s, bad version string\n", "$min_gtk_version");
27677 exit(1);
27678 }
27679
27680 if ((gtk_major_version != $gtk_config_major_version) ||
27681 (gtk_minor_version != $gtk_config_minor_version) ||
27682 (gtk_micro_version != $gtk_config_micro_version))
27683 {
27684 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27685 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27686 gtk_major_version, gtk_minor_version, gtk_micro_version);
27687 printf ("*** was found! If gtk-config was correct, then it is best\n");
27688 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27689 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27690 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27691 printf("*** required on your system.\n");
27692 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27693 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27694 printf("*** before re-running configure\n");
27695 }
27696 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27697 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27698 (gtk_minor_version != GTK_MINOR_VERSION) ||
27699 (gtk_micro_version != GTK_MICRO_VERSION))
27700 {
27701 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27702 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27703 printf("*** library (version %d.%d.%d)\n",
27704 gtk_major_version, gtk_minor_version, gtk_micro_version);
27705 }
27706 #endif /* defined (GTK_MAJOR_VERSION) ... */
27707 else
27708 {
27709 if ((gtk_major_version > major) ||
27710 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27711 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27712 {
27713 return 0;
27714 }
27715 else
27716 {
27717 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27718 gtk_major_version, gtk_minor_version, gtk_micro_version);
27719 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27720 major, minor, micro);
27721 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27722 printf("***\n");
27723 printf("*** If you have already installed a sufficiently new version, this error\n");
27724 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27725 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27726 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27727 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27728 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27729 printf("*** so that the correct libraries are found at run-time))\n");
27730 }
27731 }
27732 return 1;
27733 }
27734
27735 _ACEOF
27736 rm -f conftest$ac_exeext
27737 if { (ac_try="$ac_link"
27738 case "(($ac_try" in
27739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27740 *) ac_try_echo=$ac_try;;
27741 esac
27742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27743 (eval "$ac_link") 2>&5
27744 ac_status=$?
27745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27747 { (case "(($ac_try" in
27748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27749 *) ac_try_echo=$ac_try;;
27750 esac
27751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27752 (eval "$ac_try") 2>&5
27753 ac_status=$?
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); }; }; then
27756 :
27757 else
27758 echo "$as_me: program exited with status $ac_status" >&5
27759 echo "$as_me: failed program was:" >&5
27760 sed 's/^/| /' conftest.$ac_ext >&5
27761
27762 ( exit $ac_status )
27763 no_gtk=yes
27764 fi
27765 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27766 fi
27767
27768
27769 CFLAGS="$ac_save_CFLAGS"
27770 LIBS="$ac_save_LIBS"
27771 fi
27772 fi
27773 if test "x$no_gtk" = x ; then
27774 { echo "$as_me:$LINENO: result: yes" >&5
27775 echo "${ECHO_T}yes" >&6; }
27776 wx_cv_lib_gtk=1.2.7
27777 else
27778 { echo "$as_me:$LINENO: result: no" >&5
27779 echo "${ECHO_T}no" >&6; }
27780 if test "$GTK_CONFIG" = "no" ; then
27781 echo "*** The gtk-config script installed by GTK could not be found"
27782 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27783 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27784 echo "*** full path to gtk-config."
27785 else
27786 if test -f conf.gtktest ; then
27787 :
27788 else
27789 echo "*** Could not run GTK test program, checking why..."
27790 CFLAGS="$CFLAGS $GTK_CFLAGS"
27791 LIBS="$LIBS $GTK_LIBS"
27792 cat >conftest.$ac_ext <<_ACEOF
27793 /* confdefs.h. */
27794 _ACEOF
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h. */
27798
27799 #include <gtk/gtk.h>
27800 #include <stdio.h>
27801
27802 int
27803 main ()
27804 {
27805 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27806 ;
27807 return 0;
27808 }
27809 _ACEOF
27810 rm -f conftest.$ac_objext conftest$ac_exeext
27811 if { (ac_try="$ac_link"
27812 case "(($ac_try" in
27813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27814 *) ac_try_echo=$ac_try;;
27815 esac
27816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27817 (eval "$ac_link") 2>conftest.er1
27818 ac_status=$?
27819 grep -v '^ *+' conftest.er1 >conftest.err
27820 rm -f conftest.er1
27821 cat conftest.err >&5
27822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); } && {
27824 test -z "$ac_c_werror_flag" ||
27825 test ! -s conftest.err
27826 } && test -s conftest$ac_exeext &&
27827 $as_test_x conftest$ac_exeext; then
27828 echo "*** The test program compiled, but did not run. This usually means"
27829 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27830 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27831 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27832 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27833 echo "*** is required on your system"
27834 echo "***"
27835 echo "*** If you have an old version installed, it is best to remove it, although"
27836 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27837 echo "***"
27838 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27839 echo "*** came with the system with the command"
27840 echo "***"
27841 echo "*** rpm --erase --nodeps gtk gtk-devel"
27842 else
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.$ac_ext >&5
27845
27846 echo "*** The test program failed to compile or link. See the file config.log for the"
27847 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27848 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27849 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27850 fi
27851
27852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27853 conftest$ac_exeext conftest.$ac_ext
27854 CFLAGS="$ac_save_CFLAGS"
27855 LIBS="$ac_save_LIBS"
27856 fi
27857 fi
27858 GTK_CFLAGS=""
27859 GTK_LIBS=""
27860 :
27861 fi
27862
27863
27864 rm -f conf.gtktest
27865
27866
27867 if test -z "$wx_cv_lib_gtk"; then
27868
27869 # Check whether --with-gtk-prefix was given.
27870 if test "${with_gtk_prefix+set}" = set; then
27871 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27872 else
27873 gtk_config_prefix=""
27874 fi
27875
27876
27877 # Check whether --with-gtk-exec-prefix was given.
27878 if test "${with_gtk_exec_prefix+set}" = set; then
27879 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27880 else
27881 gtk_config_exec_prefix=""
27882 fi
27883
27884 # Check whether --enable-gtktest was given.
27885 if test "${enable_gtktest+set}" = set; then
27886 enableval=$enable_gtktest;
27887 else
27888 enable_gtktest=yes
27889 fi
27890
27891
27892 for module in . $GTK_MODULES
27893 do
27894 case "$module" in
27895 gthread)
27896 gtk_config_args="$gtk_config_args gthread"
27897 ;;
27898 esac
27899 done
27900
27901 if test x$gtk_config_exec_prefix != x ; then
27902 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27903 if test x${GTK_CONFIG+set} != xset ; then
27904 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27905 fi
27906 fi
27907 if test x$gtk_config_prefix != x ; then
27908 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27909 if test x${GTK_CONFIG+set} != xset ; then
27910 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27911 fi
27912 fi
27913
27914 # Extract the first word of "gtk-config", so it can be a program name with args.
27915 set dummy gtk-config; ac_word=$2
27916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27918 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27919 echo $ECHO_N "(cached) $ECHO_C" >&6
27920 else
27921 case $GTK_CONFIG in
27922 [\\/]* | ?:[\\/]*)
27923 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27924 ;;
27925 *)
27926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27927 for as_dir in $PATH
27928 do
27929 IFS=$as_save_IFS
27930 test -z "$as_dir" && as_dir=.
27931 for ac_exec_ext in '' $ac_executable_extensions; do
27932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27933 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27935 break 2
27936 fi
27937 done
27938 done
27939 IFS=$as_save_IFS
27940
27941 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27942 ;;
27943 esac
27944 fi
27945 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27946 if test -n "$GTK_CONFIG"; then
27947 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27948 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27949 else
27950 { echo "$as_me:$LINENO: result: no" >&5
27951 echo "${ECHO_T}no" >&6; }
27952 fi
27953
27954
27955 min_gtk_version=1.2.3
27956 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27957 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27958 no_gtk=""
27959 if test "$GTK_CONFIG" = "no" ; then
27960 no_gtk=yes
27961 else
27962 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27963 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27964 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27966 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27968 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27970 if test "x$enable_gtktest" = "xyes" ; then
27971 ac_save_CFLAGS="$CFLAGS"
27972 ac_save_LIBS="$LIBS"
27973 CFLAGS="$CFLAGS $GTK_CFLAGS"
27974 LIBS="$GTK_LIBS $LIBS"
27975 rm -f conf.gtktest
27976 if test "$cross_compiling" = yes; then
27977 echo $ac_n "cross compiling; assumed OK... $ac_c"
27978 else
27979 cat >conftest.$ac_ext <<_ACEOF
27980 /* confdefs.h. */
27981 _ACEOF
27982 cat confdefs.h >>conftest.$ac_ext
27983 cat >>conftest.$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985
27986 #include <gtk/gtk.h>
27987 #include <stdio.h>
27988 #include <stdlib.h>
27989
27990 int
27991 main ()
27992 {
27993 int major, minor, micro;
27994 char *tmp_version;
27995
27996 system ("touch conf.gtktest");
27997
27998 /* HP/UX 9 (%@#!) writes to sscanf strings */
27999 tmp_version = g_strdup("$min_gtk_version");
28000 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28001 printf("%s, bad version string\n", "$min_gtk_version");
28002 exit(1);
28003 }
28004
28005 if ((gtk_major_version != $gtk_config_major_version) ||
28006 (gtk_minor_version != $gtk_config_minor_version) ||
28007 (gtk_micro_version != $gtk_config_micro_version))
28008 {
28009 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28010 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28011 gtk_major_version, gtk_minor_version, gtk_micro_version);
28012 printf ("*** was found! If gtk-config was correct, then it is best\n");
28013 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28014 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28015 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28016 printf("*** required on your system.\n");
28017 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28018 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28019 printf("*** before re-running configure\n");
28020 }
28021 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28022 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28023 (gtk_minor_version != GTK_MINOR_VERSION) ||
28024 (gtk_micro_version != GTK_MICRO_VERSION))
28025 {
28026 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28027 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28028 printf("*** library (version %d.%d.%d)\n",
28029 gtk_major_version, gtk_minor_version, gtk_micro_version);
28030 }
28031 #endif /* defined (GTK_MAJOR_VERSION) ... */
28032 else
28033 {
28034 if ((gtk_major_version > major) ||
28035 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28036 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28037 {
28038 return 0;
28039 }
28040 else
28041 {
28042 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28043 gtk_major_version, gtk_minor_version, gtk_micro_version);
28044 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28045 major, minor, micro);
28046 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28047 printf("***\n");
28048 printf("*** If you have already installed a sufficiently new version, this error\n");
28049 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28050 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28051 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28052 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28053 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28054 printf("*** so that the correct libraries are found at run-time))\n");
28055 }
28056 }
28057 return 1;
28058 }
28059
28060 _ACEOF
28061 rm -f conftest$ac_exeext
28062 if { (ac_try="$ac_link"
28063 case "(($ac_try" in
28064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28065 *) ac_try_echo=$ac_try;;
28066 esac
28067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28068 (eval "$ac_link") 2>&5
28069 ac_status=$?
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28072 { (case "(($ac_try" in
28073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28074 *) ac_try_echo=$ac_try;;
28075 esac
28076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28077 (eval "$ac_try") 2>&5
28078 ac_status=$?
28079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080 (exit $ac_status); }; }; then
28081 :
28082 else
28083 echo "$as_me: program exited with status $ac_status" >&5
28084 echo "$as_me: failed program was:" >&5
28085 sed 's/^/| /' conftest.$ac_ext >&5
28086
28087 ( exit $ac_status )
28088 no_gtk=yes
28089 fi
28090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28091 fi
28092
28093
28094 CFLAGS="$ac_save_CFLAGS"
28095 LIBS="$ac_save_LIBS"
28096 fi
28097 fi
28098 if test "x$no_gtk" = x ; then
28099 { echo "$as_me:$LINENO: result: yes" >&5
28100 echo "${ECHO_T}yes" >&6; }
28101 wx_cv_lib_gtk=1.2.3
28102 else
28103 { echo "$as_me:$LINENO: result: no" >&5
28104 echo "${ECHO_T}no" >&6; }
28105 if test "$GTK_CONFIG" = "no" ; then
28106 echo "*** The gtk-config script installed by GTK could not be found"
28107 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28108 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28109 echo "*** full path to gtk-config."
28110 else
28111 if test -f conf.gtktest ; then
28112 :
28113 else
28114 echo "*** Could not run GTK test program, checking why..."
28115 CFLAGS="$CFLAGS $GTK_CFLAGS"
28116 LIBS="$LIBS $GTK_LIBS"
28117 cat >conftest.$ac_ext <<_ACEOF
28118 /* confdefs.h. */
28119 _ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123
28124 #include <gtk/gtk.h>
28125 #include <stdio.h>
28126
28127 int
28128 main ()
28129 {
28130 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28131 ;
28132 return 0;
28133 }
28134 _ACEOF
28135 rm -f conftest.$ac_objext conftest$ac_exeext
28136 if { (ac_try="$ac_link"
28137 case "(($ac_try" in
28138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28139 *) ac_try_echo=$ac_try;;
28140 esac
28141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28142 (eval "$ac_link") 2>conftest.er1
28143 ac_status=$?
28144 grep -v '^ *+' conftest.er1 >conftest.err
28145 rm -f conftest.er1
28146 cat conftest.err >&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } && {
28149 test -z "$ac_c_werror_flag" ||
28150 test ! -s conftest.err
28151 } && test -s conftest$ac_exeext &&
28152 $as_test_x conftest$ac_exeext; then
28153 echo "*** The test program compiled, but did not run. This usually means"
28154 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28155 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28156 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28157 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28158 echo "*** is required on your system"
28159 echo "***"
28160 echo "*** If you have an old version installed, it is best to remove it, although"
28161 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28162 echo "***"
28163 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28164 echo "*** came with the system with the command"
28165 echo "***"
28166 echo "*** rpm --erase --nodeps gtk gtk-devel"
28167 else
28168 echo "$as_me: failed program was:" >&5
28169 sed 's/^/| /' conftest.$ac_ext >&5
28170
28171 echo "*** The test program failed to compile or link. See the file config.log for the"
28172 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28173 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28174 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28175 fi
28176
28177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28178 conftest$ac_exeext conftest.$ac_ext
28179 CFLAGS="$ac_save_CFLAGS"
28180 LIBS="$ac_save_LIBS"
28181 fi
28182 fi
28183 GTK_CFLAGS=""
28184 GTK_LIBS=""
28185 :
28186 fi
28187
28188
28189 rm -f conf.gtktest
28190
28191 fi
28192 fi
28193 fi
28194
28195 if test -z "$wx_cv_lib_gtk"; then
28196 wx_cv_lib_gtk=none
28197 else
28198 wx_cv_cflags_gtk=$GTK_CFLAGS
28199 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28200 fi
28201
28202
28203 fi
28204
28205
28206 if test "$gtk_version_cached" = 1; then
28207 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28208 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28209 fi
28210
28211 case "$wx_cv_lib_gtk" in
28212 2.0) WXGTK20=1
28213 TOOLKIT_VERSION=2
28214 ;;
28215 1.2.7) WXGTK127=1
28216 WXGTK12=1
28217 ;;
28218 1.2.3) WXGTK12=1
28219 ;;
28220 *) { { echo "$as_me:$LINENO: error:
28221 The development files for GTK+ were not found. For GTK+ 2, please
28222 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28223 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28224 and that the version is 1.2.3 or above. Also check that the
28225 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28226 --libs' are in the LD_LIBRARY_PATH or equivalent.
28227 " >&5
28228 echo "$as_me: error:
28229 The development files for GTK+ were not found. For GTK+ 2, please
28230 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28231 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28232 and that the version is 1.2.3 or above. Also check that the
28233 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28234 --libs' are in the LD_LIBRARY_PATH or equivalent.
28235 " >&2;}
28236 { (exit 1); exit 1; }; }
28237 ;;
28238 esac
28239
28240 if test "$WXGTK20" = 1; then
28241 save_CFLAGS="$CFLAGS"
28242 save_LIBS="$LIBS"
28243 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28244 LIBS="$LIBS $wx_cv_libs_gtk"
28245
28246 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28247 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28248 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28249 echo $ECHO_N "(cached) $ECHO_C" >&6
28250 else
28251 cat >conftest.$ac_ext <<_ACEOF
28252 /* confdefs.h. */
28253 _ACEOF
28254 cat confdefs.h >>conftest.$ac_ext
28255 cat >>conftest.$ac_ext <<_ACEOF
28256 /* end confdefs.h. */
28257 #include <gtk/gtk.h>
28258
28259 int
28260 main ()
28261 {
28262 #ifndef gtk_icon_size_lookup
28263 (void) gtk_icon_size_lookup;
28264 #endif
28265
28266 ;
28267 return 0;
28268 }
28269 _ACEOF
28270 rm -f conftest.$ac_objext
28271 if { (ac_try="$ac_compile"
28272 case "(($ac_try" in
28273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28274 *) ac_try_echo=$ac_try;;
28275 esac
28276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28277 (eval "$ac_compile") 2>conftest.er1
28278 ac_status=$?
28279 grep -v '^ *+' conftest.er1 >conftest.err
28280 rm -f conftest.er1
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } && {
28284 test -z "$ac_c_werror_flag" ||
28285 test ! -s conftest.err
28286 } && test -s conftest.$ac_objext; then
28287 ac_cv_have_decl_gtk_icon_size_lookup=yes
28288 else
28289 echo "$as_me: failed program was:" >&5
28290 sed 's/^/| /' conftest.$ac_ext >&5
28291
28292 ac_cv_have_decl_gtk_icon_size_lookup=no
28293 fi
28294
28295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28296 fi
28297 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28298 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28299 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28300
28301 cat >>confdefs.h <<_ACEOF
28302 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28303 _ACEOF
28304
28305
28306 else
28307 cat >>confdefs.h <<_ACEOF
28308 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28309 _ACEOF
28310
28311 cat >>confdefs.h <<\_ACEOF
28312 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28313 _ACEOF
28314
28315 fi
28316
28317
28318
28319
28320 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28321 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28322 cat >conftest.$ac_ext <<_ACEOF
28323 /* confdefs.h. */
28324 _ACEOF
28325 cat confdefs.h >>conftest.$ac_ext
28326 cat >>conftest.$ac_ext <<_ACEOF
28327 /* end confdefs.h. */
28328
28329 #include <gtk/gtk.h>
28330
28331 int
28332 main ()
28333 {
28334
28335 #if !GTK_CHECK_VERSION(2,10,0)
28336 Not GTK+ 2.10
28337 #endif
28338
28339 ;
28340 return 0;
28341 }
28342 _ACEOF
28343 rm -f conftest.$ac_objext
28344 if { (ac_try="$ac_compile"
28345 case "(($ac_try" in
28346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28347 *) ac_try_echo=$ac_try;;
28348 esac
28349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28350 (eval "$ac_compile") 2>conftest.er1
28351 ac_status=$?
28352 grep -v '^ *+' conftest.er1 >conftest.err
28353 rm -f conftest.er1
28354 cat conftest.err >&5
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); } && {
28357 test -z "$ac_c_werror_flag" ||
28358 test ! -s conftest.err
28359 } && test -s conftest.$ac_objext; then
28360
28361 cat >>confdefs.h <<\_ACEOF
28362 #define __WXGTK210__ 1
28363 _ACEOF
28364
28365 cat >>confdefs.h <<\_ACEOF
28366 #define __WXGTK26__ 1
28367 _ACEOF
28368
28369 cat >>confdefs.h <<\_ACEOF
28370 #define __WXGTK24__ 1
28371 _ACEOF
28372
28373 { echo "$as_me:$LINENO: result: yes" >&5
28374 echo "${ECHO_T}yes" >&6; }
28375 ac_wxgtk210=1
28376
28377 else
28378 echo "$as_me: failed program was:" >&5
28379 sed 's/^/| /' conftest.$ac_ext >&5
28380
28381
28382 { echo "$as_me:$LINENO: result: no" >&5
28383 echo "${ECHO_T}no" >&6; }
28384 ac_wxgtk210=0
28385
28386 fi
28387
28388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28389
28390 if test "$ac_wxgtk210" = 0; then
28391 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28392 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28393 cat >conftest.$ac_ext <<_ACEOF
28394 /* confdefs.h. */
28395 _ACEOF
28396 cat confdefs.h >>conftest.$ac_ext
28397 cat >>conftest.$ac_ext <<_ACEOF
28398 /* end confdefs.h. */
28399
28400 #include <gtk/gtk.h>
28401
28402 int
28403 main ()
28404 {
28405
28406 #if !GTK_CHECK_VERSION(2,6,0)
28407 Not GTK+ 2.6
28408 #endif
28409
28410 ;
28411 return 0;
28412 }
28413 _ACEOF
28414 rm -f conftest.$ac_objext
28415 if { (ac_try="$ac_compile"
28416 case "(($ac_try" in
28417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28418 *) ac_try_echo=$ac_try;;
28419 esac
28420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28421 (eval "$ac_compile") 2>conftest.er1
28422 ac_status=$?
28423 grep -v '^ *+' conftest.er1 >conftest.err
28424 rm -f conftest.er1
28425 cat conftest.err >&5
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); } && {
28428 test -z "$ac_c_werror_flag" ||
28429 test ! -s conftest.err
28430 } && test -s conftest.$ac_objext; then
28431
28432 cat >>confdefs.h <<\_ACEOF
28433 #define __WXGTK26__ 1
28434 _ACEOF
28435
28436 cat >>confdefs.h <<\_ACEOF
28437 #define __WXGTK24__ 1
28438 _ACEOF
28439
28440 { echo "$as_me:$LINENO: result: yes" >&5
28441 echo "${ECHO_T}yes" >&6; }
28442 ac_wxgtk26=1
28443
28444 else
28445 echo "$as_me: failed program was:" >&5
28446 sed 's/^/| /' conftest.$ac_ext >&5
28447
28448
28449 { echo "$as_me:$LINENO: result: no" >&5
28450 echo "${ECHO_T}no" >&6; }
28451 ac_wxgtk26=0
28452
28453 fi
28454
28455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28456 fi
28457
28458 if test "$ac_wxgtk26" = 0; then
28459 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28460 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28461 cat >conftest.$ac_ext <<_ACEOF
28462 /* confdefs.h. */
28463 _ACEOF
28464 cat confdefs.h >>conftest.$ac_ext
28465 cat >>conftest.$ac_ext <<_ACEOF
28466 /* end confdefs.h. */
28467
28468 #include <gtk/gtk.h>
28469
28470 int
28471 main ()
28472 {
28473
28474 #if !GTK_CHECK_VERSION(2,4,0)
28475 Not GTK+ 2.4
28476 #endif
28477
28478 ;
28479 return 0;
28480 }
28481 _ACEOF
28482 rm -f conftest.$ac_objext
28483 if { (ac_try="$ac_compile"
28484 case "(($ac_try" in
28485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28486 *) ac_try_echo=$ac_try;;
28487 esac
28488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28489 (eval "$ac_compile") 2>conftest.er1
28490 ac_status=$?
28491 grep -v '^ *+' conftest.er1 >conftest.err
28492 rm -f conftest.er1
28493 cat conftest.err >&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } && {
28496 test -z "$ac_c_werror_flag" ||
28497 test ! -s conftest.err
28498 } && test -s conftest.$ac_objext; then
28499
28500 cat >>confdefs.h <<\_ACEOF
28501 #define __WXGTK24__ 1
28502 _ACEOF
28503
28504 { echo "$as_me:$LINENO: result: yes" >&5
28505 echo "${ECHO_T}yes" >&6; }
28506
28507 else
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.$ac_ext >&5
28510
28511
28512 { echo "$as_me:$LINENO: result: no" >&5
28513 echo "${ECHO_T}no" >&6; }
28514
28515 fi
28516
28517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28518 fi
28519
28520 CFLAGS="$save_CFLAGS"
28521 LIBS="$save_LIBS"
28522 else
28523 if test "$wxUSE_UNICODE" = "yes"; then
28524 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28525 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28526 wxUSE_UNICODE=no
28527 fi
28528
28529 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28530 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28531 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28532 echo $ECHO_N "(cached) $ECHO_C" >&6
28533 else
28534 ac_check_lib_save_LIBS=$LIBS
28535 LIBS="-lgdk $LIBS"
28536 cat >conftest.$ac_ext <<_ACEOF
28537 /* confdefs.h. */
28538 _ACEOF
28539 cat confdefs.h >>conftest.$ac_ext
28540 cat >>conftest.$ac_ext <<_ACEOF
28541 /* end confdefs.h. */
28542
28543 /* Override any GCC internal prototype to avoid an error.
28544 Use char because int might match the return type of a GCC
28545 builtin and then its argument prototype would still apply. */
28546 #ifdef __cplusplus
28547 extern "C"
28548 #endif
28549 char gdk_im_open ();
28550 int
28551 main ()
28552 {
28553 return gdk_im_open ();
28554 ;
28555 return 0;
28556 }
28557 _ACEOF
28558 rm -f conftest.$ac_objext conftest$ac_exeext
28559 if { (ac_try="$ac_link"
28560 case "(($ac_try" in
28561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28562 *) ac_try_echo=$ac_try;;
28563 esac
28564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28565 (eval "$ac_link") 2>conftest.er1
28566 ac_status=$?
28567 grep -v '^ *+' conftest.er1 >conftest.err
28568 rm -f conftest.er1
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } && {
28572 test -z "$ac_c_werror_flag" ||
28573 test ! -s conftest.err
28574 } && test -s conftest$ac_exeext &&
28575 $as_test_x conftest$ac_exeext; then
28576 ac_cv_lib_gdk_gdk_im_open=yes
28577 else
28578 echo "$as_me: failed program was:" >&5
28579 sed 's/^/| /' conftest.$ac_ext >&5
28580
28581 ac_cv_lib_gdk_gdk_im_open=no
28582 fi
28583
28584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28585 conftest$ac_exeext conftest.$ac_ext
28586 LIBS=$ac_check_lib_save_LIBS
28587 fi
28588 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28589 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28590 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28591 cat >>confdefs.h <<\_ACEOF
28592 #define HAVE_XIM 1
28593 _ACEOF
28594
28595 fi
28596
28597
28598 if test "$USE_DARWIN" != 1; then
28599
28600 for ac_func in poll
28601 do
28602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28606 echo $ECHO_N "(cached) $ECHO_C" >&6
28607 else
28608 cat >conftest.$ac_ext <<_ACEOF
28609 /* confdefs.h. */
28610 _ACEOF
28611 cat confdefs.h >>conftest.$ac_ext
28612 cat >>conftest.$ac_ext <<_ACEOF
28613 /* end confdefs.h. */
28614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28616 #define $ac_func innocuous_$ac_func
28617
28618 /* System header to define __stub macros and hopefully few prototypes,
28619 which can conflict with char $ac_func (); below.
28620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28621 <limits.h> exists even on freestanding compilers. */
28622
28623 #ifdef __STDC__
28624 # include <limits.h>
28625 #else
28626 # include <assert.h>
28627 #endif
28628
28629 #undef $ac_func
28630
28631 /* Override any GCC internal prototype to avoid an error.
28632 Use char because int might match the return type of a GCC
28633 builtin and then its argument prototype would still apply. */
28634 #ifdef __cplusplus
28635 extern "C"
28636 #endif
28637 char $ac_func ();
28638 /* The GNU C library defines this for functions which it implements
28639 to always fail with ENOSYS. Some functions are actually named
28640 something starting with __ and the normal name is an alias. */
28641 #if defined __stub_$ac_func || defined __stub___$ac_func
28642 choke me
28643 #endif
28644
28645 int
28646 main ()
28647 {
28648 return $ac_func ();
28649 ;
28650 return 0;
28651 }
28652 _ACEOF
28653 rm -f conftest.$ac_objext conftest$ac_exeext
28654 if { (ac_try="$ac_link"
28655 case "(($ac_try" in
28656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28657 *) ac_try_echo=$ac_try;;
28658 esac
28659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28660 (eval "$ac_link") 2>conftest.er1
28661 ac_status=$?
28662 grep -v '^ *+' conftest.er1 >conftest.err
28663 rm -f conftest.er1
28664 cat conftest.err >&5
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } && {
28667 test -z "$ac_c_werror_flag" ||
28668 test ! -s conftest.err
28669 } && test -s conftest$ac_exeext &&
28670 $as_test_x conftest$ac_exeext; then
28671 eval "$as_ac_var=yes"
28672 else
28673 echo "$as_me: failed program was:" >&5
28674 sed 's/^/| /' conftest.$ac_ext >&5
28675
28676 eval "$as_ac_var=no"
28677 fi
28678
28679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28680 conftest$ac_exeext conftest.$ac_ext
28681 fi
28682 ac_res=`eval echo '${'$as_ac_var'}'`
28683 { echo "$as_me:$LINENO: result: $ac_res" >&5
28684 echo "${ECHO_T}$ac_res" >&6; }
28685 if test `eval echo '${'$as_ac_var'}'` = yes; then
28686 cat >>confdefs.h <<_ACEOF
28687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28688 _ACEOF
28689
28690 fi
28691 done
28692
28693 fi
28694 fi
28695
28696 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28697 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28698
28699 AFMINSTALL=afminstall
28700 TOOLKIT=GTK
28701 GUIDIST=GTK_DIST
28702
28703 if test "$wxUSE_GPE" = "yes"; then
28704 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28705 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28706
28707 ac_find_libraries=
28708 for ac_dir in $SEARCH_LIB;
28709 do
28710 for ac_extension in a so sl dylib dll.a; do
28711 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28712 ac_find_libraries=$ac_dir
28713 break 2
28714 fi
28715 done
28716 done
28717
28718 if test "$ac_find_libraries" != "" ; then
28719
28720 if test "$ac_find_libraries" = "default location"; then
28721 ac_path_to_link=""
28722 else
28723 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28724 result=$?
28725 if test $result = 0; then
28726 ac_path_to_link=""
28727 else
28728 ac_path_to_link=" -L$ac_find_libraries"
28729 fi
28730 fi
28731
28732 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28733 WXGPE=1
28734 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28735 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28736 else
28737 { echo "$as_me:$LINENO: result: not found" >&5
28738 echo "${ECHO_T}not found" >&6; }
28739 fi
28740
28741 fi
28742 fi
28743
28744 if test "$wxUSE_MGL" = 1; then
28745 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28746 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28747 if test "x$MGL_ROOT" = x ; then
28748 { echo "$as_me:$LINENO: result: not found" >&5
28749 echo "${ECHO_T}not found" >&6; }
28750 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28751 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28752 { (exit 1); exit 1; }; }
28753 else
28754 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28755 echo "${ECHO_T}$MGL_ROOT" >&6; }
28756 fi
28757
28758 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28759 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28760 case "${host}" in
28761 *-*-linux* )
28762 if test "x$wxUSE_SHARED" = xyes ; then
28763 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28764 else
28765 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28766 fi
28767 ;;
28768 *-pc-msdosdjgpp )
28769 mgl_os_candidates="dos32/dj2"
28770 ;;
28771 *)
28772 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28773 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28774 { (exit 1); exit 1; }; }
28775 esac
28776
28777 mgl_lib_type=""
28778 mgl_os=""
28779
28780 for mgl_os_i in $mgl_os_candidates ; do
28781 if test "x$mgl_os" = x ; then
28782 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28783 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28784 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28785 mgl_lib_type=debug
28786 mgl_os=$mgl_os_i
28787 fi
28788 fi
28789 if test "x$mgl_lib_type" = x ; then
28790 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28791 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28792 mgl_lib_type=release
28793 mgl_os=$mgl_os_i
28794 fi
28795 fi
28796 fi
28797 done
28798
28799 if test "x$mgl_os" = x ; then
28800 { echo "$as_me:$LINENO: result: not found" >&5
28801 echo "${ECHO_T}not found" >&6; }
28802 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28803 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28804 { (exit 1); exit 1; }; }
28805 fi
28806 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28807 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28808
28809 wxUSE_UNIVERSAL="yes"
28810
28811 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28812 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28813
28814 AFMINSTALL=afminstall
28815 TOOLKIT=MGL
28816 GUIDIST=MGL_DIST
28817 fi
28818
28819 if test "$wxUSE_DFB" = 1; then
28820
28821
28822 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28823 if test -n "$ac_tool_prefix"; then
28824 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28825 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28828 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 else
28831 case $PKG_CONFIG in
28832 [\\/]* | ?:[\\/]*)
28833 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28834 ;;
28835 *)
28836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28837 for as_dir in $PATH
28838 do
28839 IFS=$as_save_IFS
28840 test -z "$as_dir" && as_dir=.
28841 for ac_exec_ext in '' $ac_executable_extensions; do
28842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28843 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28845 break 2
28846 fi
28847 done
28848 done
28849 IFS=$as_save_IFS
28850
28851 ;;
28852 esac
28853 fi
28854 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28855 if test -n "$PKG_CONFIG"; then
28856 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28857 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28858 else
28859 { echo "$as_me:$LINENO: result: no" >&5
28860 echo "${ECHO_T}no" >&6; }
28861 fi
28862
28863
28864 fi
28865 if test -z "$ac_cv_path_PKG_CONFIG"; then
28866 ac_pt_PKG_CONFIG=$PKG_CONFIG
28867 # Extract the first word of "pkg-config", so it can be a program name with args.
28868 set dummy pkg-config; ac_word=$2
28869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28871 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28872 echo $ECHO_N "(cached) $ECHO_C" >&6
28873 else
28874 case $ac_pt_PKG_CONFIG in
28875 [\\/]* | ?:[\\/]*)
28876 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28877 ;;
28878 *)
28879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28880 for as_dir in $PATH
28881 do
28882 IFS=$as_save_IFS
28883 test -z "$as_dir" && as_dir=.
28884 for ac_exec_ext in '' $ac_executable_extensions; do
28885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28886 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28888 break 2
28889 fi
28890 done
28891 done
28892 IFS=$as_save_IFS
28893
28894 ;;
28895 esac
28896 fi
28897 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28898 if test -n "$ac_pt_PKG_CONFIG"; then
28899 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28900 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28901 else
28902 { echo "$as_me:$LINENO: result: no" >&5
28903 echo "${ECHO_T}no" >&6; }
28904 fi
28905
28906 if test "x$ac_pt_PKG_CONFIG" = x; then
28907 PKG_CONFIG=""
28908 else
28909 case $cross_compiling:$ac_tool_warned in
28910 yes:)
28911 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28912 whose name does not start with the host triplet. If you think this
28913 configuration is useful to you, please write to autoconf@gnu.org." >&5
28914 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28915 whose name does not start with the host triplet. If you think this
28916 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28917 ac_tool_warned=yes ;;
28918 esac
28919 PKG_CONFIG=$ac_pt_PKG_CONFIG
28920 fi
28921 else
28922 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28923 fi
28924
28925 fi
28926 if test -n "$PKG_CONFIG"; then
28927 _pkg_min_version=0.9.0
28928 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28929 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28930 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28931 { echo "$as_me:$LINENO: result: yes" >&5
28932 echo "${ECHO_T}yes" >&6; }
28933 else
28934 { echo "$as_me:$LINENO: result: no" >&5
28935 echo "${ECHO_T}no" >&6; }
28936 PKG_CONFIG=""
28937 fi
28938
28939 fi
28940
28941
28942 pkg_failed=no
28943 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28944 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28945
28946 if test -n "$PKG_CONFIG"; then
28947 if test -n "$DIRECTFB_CFLAGS"; then
28948 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28949 else
28950 if test -n "$PKG_CONFIG" && \
28951 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28952 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28953 ac_status=$?
28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955 (exit $ac_status); }; then
28956 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28957 else
28958 pkg_failed=yes
28959 fi
28960 fi
28961 else
28962 pkg_failed=untried
28963 fi
28964 if test -n "$PKG_CONFIG"; then
28965 if test -n "$DIRECTFB_LIBS"; then
28966 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28967 else
28968 if test -n "$PKG_CONFIG" && \
28969 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28970 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); }; then
28974 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28975 else
28976 pkg_failed=yes
28977 fi
28978 fi
28979 else
28980 pkg_failed=untried
28981 fi
28982
28983
28984
28985 if test $pkg_failed = yes; then
28986
28987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28988 _pkg_short_errors_supported=yes
28989 else
28990 _pkg_short_errors_supported=no
28991 fi
28992 if test $_pkg_short_errors_supported = yes; then
28993 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28994 else
28995 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28996 fi
28997 # Put the nasty error message in config.log where it belongs
28998 echo "$DIRECTFB_PKG_ERRORS" >&5
28999
29000
29001 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29002 echo "$as_me: error: DirectFB not found." >&2;}
29003 { (exit 1); exit 1; }; }
29004
29005
29006 elif test $pkg_failed = untried; then
29007
29008 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29009 echo "$as_me: error: DirectFB not found." >&2;}
29010 { (exit 1); exit 1; }; }
29011
29012
29013 else
29014 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29015 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29016 { echo "$as_me:$LINENO: result: yes" >&5
29017 echo "${ECHO_T}yes" >&6; }
29018
29019 wxUSE_UNIVERSAL="yes"
29020 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29021 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29022 TOOLKIT=DFB
29023 GUIDIST=DFB_DIST
29024
29025 fi
29026 fi
29027
29028 if test "$wxUSE_MICROWIN" = 1; then
29029 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29030 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29031 if test "x$MICROWINDOWS" = x ; then
29032 { echo "$as_me:$LINENO: result: not found" >&5
29033 echo "${ECHO_T}not found" >&6; }
29034 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29035 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29036 { (exit 1); exit 1; }; }
29037 else
29038 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29039 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29040 fi
29041
29042 if test -f $MICROWINDOWS/lib/libmwin.a; then
29043 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29044 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29045 else
29046 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29047 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29048 { (exit 1); exit 1; }; }
29049 fi
29050
29051 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29052 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29053
29054 wxUSE_UNIVERSAL="yes"
29055
29056 AFMINSTALL=afminstall
29057 TOOLKIT=MICROWIN
29058 GUIDIST=MICROWIN_DIST
29059
29060 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29061 fi
29062
29063 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29064 { echo "$as_me:$LINENO: checking for X" >&5
29065 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29066
29067
29068 # Check whether --with-x was given.
29069 if test "${with_x+set}" = set; then
29070 withval=$with_x;
29071 fi
29072
29073 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29074 if test "x$with_x" = xno; then
29075 # The user explicitly disabled X.
29076 have_x=disabled
29077 else
29078 case $x_includes,$x_libraries in #(
29079 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29080 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29081 { (exit 1); exit 1; }; };; #(
29082 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29083 echo $ECHO_N "(cached) $ECHO_C" >&6
29084 else
29085 # One or both of the vars are not set, and there is no cached value.
29086 ac_x_includes=no ac_x_libraries=no
29087 rm -f -r conftest.dir
29088 if mkdir conftest.dir; then
29089 cd conftest.dir
29090 cat >Imakefile <<'_ACEOF'
29091 incroot:
29092 @echo incroot='${INCROOT}'
29093 usrlibdir:
29094 @echo usrlibdir='${USRLIBDIR}'
29095 libdir:
29096 @echo libdir='${LIBDIR}'
29097 _ACEOF
29098 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29099 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29100 for ac_var in incroot usrlibdir libdir; do
29101 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29102 done
29103 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29104 for ac_extension in a so sl; do
29105 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29106 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29107 ac_im_usrlibdir=$ac_im_libdir; break
29108 fi
29109 done
29110 # Screen out bogus values from the imake configuration. They are
29111 # bogus both because they are the default anyway, and because
29112 # using them would break gcc on systems where it needs fixed includes.
29113 case $ac_im_incroot in
29114 /usr/include) ac_x_includes= ;;
29115 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29116 esac
29117 case $ac_im_usrlibdir in
29118 /usr/lib | /lib) ;;
29119 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29120 esac
29121 fi
29122 cd ..
29123 rm -f -r conftest.dir
29124 fi
29125
29126 # Standard set of common directories for X headers.
29127 # Check X11 before X11Rn because it is often a symlink to the current release.
29128 ac_x_header_dirs='
29129 /usr/X11/include
29130 /usr/X11R6/include
29131 /usr/X11R5/include
29132 /usr/X11R4/include
29133
29134 /usr/include/X11
29135 /usr/include/X11R6
29136 /usr/include/X11R5
29137 /usr/include/X11R4
29138
29139 /usr/local/X11/include
29140 /usr/local/X11R6/include
29141 /usr/local/X11R5/include
29142 /usr/local/X11R4/include
29143
29144 /usr/local/include/X11
29145 /usr/local/include/X11R6
29146 /usr/local/include/X11R5
29147 /usr/local/include/X11R4
29148
29149 /usr/X386/include
29150 /usr/x386/include
29151 /usr/XFree86/include/X11
29152
29153 /usr/include
29154 /usr/local/include
29155 /usr/unsupported/include
29156 /usr/athena/include
29157 /usr/local/x11r5/include
29158 /usr/lpp/Xamples/include
29159
29160 /usr/openwin/include
29161 /usr/openwin/share/include'
29162
29163 if test "$ac_x_includes" = no; then
29164 # Guess where to find include files, by looking for Xlib.h.
29165 # First, try using that file with no special directory specified.
29166 cat >conftest.$ac_ext <<_ACEOF
29167 /* confdefs.h. */
29168 _ACEOF
29169 cat confdefs.h >>conftest.$ac_ext
29170 cat >>conftest.$ac_ext <<_ACEOF
29171 /* end confdefs.h. */
29172 #include <X11/Xlib.h>
29173 _ACEOF
29174 if { (ac_try="$ac_cpp conftest.$ac_ext"
29175 case "(($ac_try" in
29176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29177 *) ac_try_echo=$ac_try;;
29178 esac
29179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29181 ac_status=$?
29182 grep -v '^ *+' conftest.er1 >conftest.err
29183 rm -f conftest.er1
29184 cat conftest.err >&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); } >/dev/null && {
29187 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29188 test ! -s conftest.err
29189 }; then
29190 # We can compile using X headers with no special include directory.
29191 ac_x_includes=
29192 else
29193 echo "$as_me: failed program was:" >&5
29194 sed 's/^/| /' conftest.$ac_ext >&5
29195
29196 for ac_dir in $ac_x_header_dirs; do
29197 if test -r "$ac_dir/X11/Xlib.h"; then
29198 ac_x_includes=$ac_dir
29199 break
29200 fi
29201 done
29202 fi
29203
29204 rm -f conftest.err conftest.$ac_ext
29205 fi # $ac_x_includes = no
29206
29207 if test "$ac_x_libraries" = no; then
29208 # Check for the libraries.
29209 # See if we find them without any special options.
29210 # Don't add to $LIBS permanently.
29211 ac_save_LIBS=$LIBS
29212 LIBS="-lX11 $LIBS"
29213 cat >conftest.$ac_ext <<_ACEOF
29214 /* confdefs.h. */
29215 _ACEOF
29216 cat confdefs.h >>conftest.$ac_ext
29217 cat >>conftest.$ac_ext <<_ACEOF
29218 /* end confdefs.h. */
29219 #include <X11/Xlib.h>
29220 int
29221 main ()
29222 {
29223 XrmInitialize ()
29224 ;
29225 return 0;
29226 }
29227 _ACEOF
29228 rm -f conftest.$ac_objext conftest$ac_exeext
29229 if { (ac_try="$ac_link"
29230 case "(($ac_try" in
29231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29232 *) ac_try_echo=$ac_try;;
29233 esac
29234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29235 (eval "$ac_link") 2>conftest.er1
29236 ac_status=$?
29237 grep -v '^ *+' conftest.er1 >conftest.err
29238 rm -f conftest.er1
29239 cat conftest.err >&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } && {
29242 test -z "$ac_c_werror_flag" ||
29243 test ! -s conftest.err
29244 } && test -s conftest$ac_exeext &&
29245 $as_test_x conftest$ac_exeext; then
29246 LIBS=$ac_save_LIBS
29247 # We can link X programs with no special library path.
29248 ac_x_libraries=
29249 else
29250 echo "$as_me: failed program was:" >&5
29251 sed 's/^/| /' conftest.$ac_ext >&5
29252
29253 LIBS=$ac_save_LIBS
29254 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29255 do
29256 # Don't even attempt the hair of trying to link an X program!
29257 for ac_extension in a so sl; do
29258 if test -r "$ac_dir/libX11.$ac_extension"; then
29259 ac_x_libraries=$ac_dir
29260 break 2
29261 fi
29262 done
29263 done
29264 fi
29265
29266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29267 conftest$ac_exeext conftest.$ac_ext
29268 fi # $ac_x_libraries = no
29269
29270 case $ac_x_includes,$ac_x_libraries in #(
29271 no,* | *,no | *\'*)
29272 # Didn't find X, or a directory has "'" in its name.
29273 ac_cv_have_x="have_x=no";; #(
29274 *)
29275 # Record where we found X for the cache.
29276 ac_cv_have_x="have_x=yes\
29277 ac_x_includes='$ac_x_includes'\
29278 ac_x_libraries='$ac_x_libraries'"
29279 esac
29280 fi
29281 ;; #(
29282 *) have_x=yes;;
29283 esac
29284 eval "$ac_cv_have_x"
29285 fi # $with_x != no
29286
29287 if test "$have_x" != yes; then
29288 { echo "$as_me:$LINENO: result: $have_x" >&5
29289 echo "${ECHO_T}$have_x" >&6; }
29290 no_x=yes
29291 else
29292 # If each of the values was on the command line, it overrides each guess.
29293 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29294 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29295 # Update the cache value to reflect the command line values.
29296 ac_cv_have_x="have_x=yes\
29297 ac_x_includes='$x_includes'\
29298 ac_x_libraries='$x_libraries'"
29299 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29300 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29301 fi
29302
29303 if test "$no_x" = yes; then
29304 # Not all programs may use this symbol, but it does not hurt to define it.
29305
29306 cat >>confdefs.h <<\_ACEOF
29307 #define X_DISPLAY_MISSING 1
29308 _ACEOF
29309
29310 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29311 else
29312 if test -n "$x_includes"; then
29313 X_CFLAGS="$X_CFLAGS -I$x_includes"
29314 fi
29315
29316 # It would also be nice to do this for all -L options, not just this one.
29317 if test -n "$x_libraries"; then
29318 X_LIBS="$X_LIBS -L$x_libraries"
29319 # For Solaris; some versions of Sun CC require a space after -R and
29320 # others require no space. Words are not sufficient . . . .
29321 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29322 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29323 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29324 ac_xsave_c_werror_flag=$ac_c_werror_flag
29325 ac_c_werror_flag=yes
29326 cat >conftest.$ac_ext <<_ACEOF
29327 /* confdefs.h. */
29328 _ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29332
29333 int
29334 main ()
29335 {
29336
29337 ;
29338 return 0;
29339 }
29340 _ACEOF
29341 rm -f conftest.$ac_objext conftest$ac_exeext
29342 if { (ac_try="$ac_link"
29343 case "(($ac_try" in
29344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29345 *) ac_try_echo=$ac_try;;
29346 esac
29347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29348 (eval "$ac_link") 2>conftest.er1
29349 ac_status=$?
29350 grep -v '^ *+' conftest.er1 >conftest.err
29351 rm -f conftest.er1
29352 cat conftest.err >&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); } && {
29355 test -z "$ac_c_werror_flag" ||
29356 test ! -s conftest.err
29357 } && test -s conftest$ac_exeext &&
29358 $as_test_x conftest$ac_exeext; then
29359 { echo "$as_me:$LINENO: result: no" >&5
29360 echo "${ECHO_T}no" >&6; }
29361 X_LIBS="$X_LIBS -R$x_libraries"
29362 else
29363 echo "$as_me: failed program was:" >&5
29364 sed 's/^/| /' conftest.$ac_ext >&5
29365
29366 LIBS="$ac_xsave_LIBS -R $x_libraries"
29367 cat >conftest.$ac_ext <<_ACEOF
29368 /* confdefs.h. */
29369 _ACEOF
29370 cat confdefs.h >>conftest.$ac_ext
29371 cat >>conftest.$ac_ext <<_ACEOF
29372 /* end confdefs.h. */
29373
29374 int
29375 main ()
29376 {
29377
29378 ;
29379 return 0;
29380 }
29381 _ACEOF
29382 rm -f conftest.$ac_objext conftest$ac_exeext
29383 if { (ac_try="$ac_link"
29384 case "(($ac_try" in
29385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29386 *) ac_try_echo=$ac_try;;
29387 esac
29388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29389 (eval "$ac_link") 2>conftest.er1
29390 ac_status=$?
29391 grep -v '^ *+' conftest.er1 >conftest.err
29392 rm -f conftest.er1
29393 cat conftest.err >&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); } && {
29396 test -z "$ac_c_werror_flag" ||
29397 test ! -s conftest.err
29398 } && test -s conftest$ac_exeext &&
29399 $as_test_x conftest$ac_exeext; then
29400 { echo "$as_me:$LINENO: result: yes" >&5
29401 echo "${ECHO_T}yes" >&6; }
29402 X_LIBS="$X_LIBS -R $x_libraries"
29403 else
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.$ac_ext >&5
29406
29407 { echo "$as_me:$LINENO: result: neither works" >&5
29408 echo "${ECHO_T}neither works" >&6; }
29409 fi
29410
29411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29412 conftest$ac_exeext conftest.$ac_ext
29413 fi
29414
29415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29416 conftest$ac_exeext conftest.$ac_ext
29417 ac_c_werror_flag=$ac_xsave_c_werror_flag
29418 LIBS=$ac_xsave_LIBS
29419 fi
29420
29421 # Check for system-dependent libraries X programs must link with.
29422 # Do this before checking for the system-independent R6 libraries
29423 # (-lICE), since we may need -lsocket or whatever for X linking.
29424
29425 if test "$ISC" = yes; then
29426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29427 else
29428 # Martyn Johnson says this is needed for Ultrix, if the X
29429 # libraries were built with DECnet support. And Karl Berry says
29430 # the Alpha needs dnet_stub (dnet does not exist).
29431 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29432 cat >conftest.$ac_ext <<_ACEOF
29433 /* confdefs.h. */
29434 _ACEOF
29435 cat confdefs.h >>conftest.$ac_ext
29436 cat >>conftest.$ac_ext <<_ACEOF
29437 /* end confdefs.h. */
29438
29439 /* Override any GCC internal prototype to avoid an error.
29440 Use char because int might match the return type of a GCC
29441 builtin and then its argument prototype would still apply. */
29442 #ifdef __cplusplus
29443 extern "C"
29444 #endif
29445 char XOpenDisplay ();
29446 int
29447 main ()
29448 {
29449 return XOpenDisplay ();
29450 ;
29451 return 0;
29452 }
29453 _ACEOF
29454 rm -f conftest.$ac_objext conftest$ac_exeext
29455 if { (ac_try="$ac_link"
29456 case "(($ac_try" in
29457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29458 *) ac_try_echo=$ac_try;;
29459 esac
29460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29461 (eval "$ac_link") 2>conftest.er1
29462 ac_status=$?
29463 grep -v '^ *+' conftest.er1 >conftest.err
29464 rm -f conftest.er1
29465 cat conftest.err >&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); } && {
29468 test -z "$ac_c_werror_flag" ||
29469 test ! -s conftest.err
29470 } && test -s conftest$ac_exeext &&
29471 $as_test_x conftest$ac_exeext; then
29472 :
29473 else
29474 echo "$as_me: failed program was:" >&5
29475 sed 's/^/| /' conftest.$ac_ext >&5
29476
29477 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29478 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29479 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29480 echo $ECHO_N "(cached) $ECHO_C" >&6
29481 else
29482 ac_check_lib_save_LIBS=$LIBS
29483 LIBS="-ldnet $LIBS"
29484 cat >conftest.$ac_ext <<_ACEOF
29485 /* confdefs.h. */
29486 _ACEOF
29487 cat confdefs.h >>conftest.$ac_ext
29488 cat >>conftest.$ac_ext <<_ACEOF
29489 /* end confdefs.h. */
29490
29491 /* Override any GCC internal prototype to avoid an error.
29492 Use char because int might match the return type of a GCC
29493 builtin and then its argument prototype would still apply. */
29494 #ifdef __cplusplus
29495 extern "C"
29496 #endif
29497 char dnet_ntoa ();
29498 int
29499 main ()
29500 {
29501 return dnet_ntoa ();
29502 ;
29503 return 0;
29504 }
29505 _ACEOF
29506 rm -f conftest.$ac_objext conftest$ac_exeext
29507 if { (ac_try="$ac_link"
29508 case "(($ac_try" in
29509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29510 *) ac_try_echo=$ac_try;;
29511 esac
29512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29513 (eval "$ac_link") 2>conftest.er1
29514 ac_status=$?
29515 grep -v '^ *+' conftest.er1 >conftest.err
29516 rm -f conftest.er1
29517 cat conftest.err >&5
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); } && {
29520 test -z "$ac_c_werror_flag" ||
29521 test ! -s conftest.err
29522 } && test -s conftest$ac_exeext &&
29523 $as_test_x conftest$ac_exeext; then
29524 ac_cv_lib_dnet_dnet_ntoa=yes
29525 else
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.$ac_ext >&5
29528
29529 ac_cv_lib_dnet_dnet_ntoa=no
29530 fi
29531
29532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29533 conftest$ac_exeext conftest.$ac_ext
29534 LIBS=$ac_check_lib_save_LIBS
29535 fi
29536 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29537 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29538 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29539 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29540 fi
29541
29542 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29543 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29544 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29545 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 else
29548 ac_check_lib_save_LIBS=$LIBS
29549 LIBS="-ldnet_stub $LIBS"
29550 cat >conftest.$ac_ext <<_ACEOF
29551 /* confdefs.h. */
29552 _ACEOF
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29556
29557 /* Override any GCC internal prototype to avoid an error.
29558 Use char because int might match the return type of a GCC
29559 builtin and then its argument prototype would still apply. */
29560 #ifdef __cplusplus
29561 extern "C"
29562 #endif
29563 char dnet_ntoa ();
29564 int
29565 main ()
29566 {
29567 return dnet_ntoa ();
29568 ;
29569 return 0;
29570 }
29571 _ACEOF
29572 rm -f conftest.$ac_objext conftest$ac_exeext
29573 if { (ac_try="$ac_link"
29574 case "(($ac_try" in
29575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29576 *) ac_try_echo=$ac_try;;
29577 esac
29578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29579 (eval "$ac_link") 2>conftest.er1
29580 ac_status=$?
29581 grep -v '^ *+' conftest.er1 >conftest.err
29582 rm -f conftest.er1
29583 cat conftest.err >&5
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); } && {
29586 test -z "$ac_c_werror_flag" ||
29587 test ! -s conftest.err
29588 } && test -s conftest$ac_exeext &&
29589 $as_test_x conftest$ac_exeext; then
29590 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29591 else
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.$ac_ext >&5
29594
29595 ac_cv_lib_dnet_stub_dnet_ntoa=no
29596 fi
29597
29598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29599 conftest$ac_exeext conftest.$ac_ext
29600 LIBS=$ac_check_lib_save_LIBS
29601 fi
29602 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29603 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29604 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29605 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29606 fi
29607
29608 fi
29609 fi
29610
29611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29612 conftest$ac_exeext conftest.$ac_ext
29613 LIBS="$ac_xsave_LIBS"
29614
29615 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29616 # to get the SysV transport functions.
29617 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29618 # needs -lnsl.
29619 # The nsl library prevents programs from opening the X display
29620 # on Irix 5.2, according to T.E. Dickey.
29621 # The functions gethostbyname, getservbyname, and inet_addr are
29622 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29623 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29624 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29625 if test "${ac_cv_func_gethostbyname+set}" = set; then
29626 echo $ECHO_N "(cached) $ECHO_C" >&6
29627 else
29628 cat >conftest.$ac_ext <<_ACEOF
29629 /* confdefs.h. */
29630 _ACEOF
29631 cat confdefs.h >>conftest.$ac_ext
29632 cat >>conftest.$ac_ext <<_ACEOF
29633 /* end confdefs.h. */
29634 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29636 #define gethostbyname innocuous_gethostbyname
29637
29638 /* System header to define __stub macros and hopefully few prototypes,
29639 which can conflict with char gethostbyname (); below.
29640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29641 <limits.h> exists even on freestanding compilers. */
29642
29643 #ifdef __STDC__
29644 # include <limits.h>
29645 #else
29646 # include <assert.h>
29647 #endif
29648
29649 #undef gethostbyname
29650
29651 /* Override any GCC internal prototype to avoid an error.
29652 Use char because int might match the return type of a GCC
29653 builtin and then its argument prototype would still apply. */
29654 #ifdef __cplusplus
29655 extern "C"
29656 #endif
29657 char gethostbyname ();
29658 /* The GNU C library defines this for functions which it implements
29659 to always fail with ENOSYS. Some functions are actually named
29660 something starting with __ and the normal name is an alias. */
29661 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29662 choke me
29663 #endif
29664
29665 int
29666 main ()
29667 {
29668 return gethostbyname ();
29669 ;
29670 return 0;
29671 }
29672 _ACEOF
29673 rm -f conftest.$ac_objext conftest$ac_exeext
29674 if { (ac_try="$ac_link"
29675 case "(($ac_try" in
29676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29677 *) ac_try_echo=$ac_try;;
29678 esac
29679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29680 (eval "$ac_link") 2>conftest.er1
29681 ac_status=$?
29682 grep -v '^ *+' conftest.er1 >conftest.err
29683 rm -f conftest.er1
29684 cat conftest.err >&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); } && {
29687 test -z "$ac_c_werror_flag" ||
29688 test ! -s conftest.err
29689 } && test -s conftest$ac_exeext &&
29690 $as_test_x conftest$ac_exeext; then
29691 ac_cv_func_gethostbyname=yes
29692 else
29693 echo "$as_me: failed program was:" >&5
29694 sed 's/^/| /' conftest.$ac_ext >&5
29695
29696 ac_cv_func_gethostbyname=no
29697 fi
29698
29699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29700 conftest$ac_exeext conftest.$ac_ext
29701 fi
29702 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29703 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29704
29705 if test $ac_cv_func_gethostbyname = no; then
29706 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29707 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29708 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29709 echo $ECHO_N "(cached) $ECHO_C" >&6
29710 else
29711 ac_check_lib_save_LIBS=$LIBS
29712 LIBS="-lnsl $LIBS"
29713 cat >conftest.$ac_ext <<_ACEOF
29714 /* confdefs.h. */
29715 _ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29719
29720 /* Override any GCC internal prototype to avoid an error.
29721 Use char because int might match the return type of a GCC
29722 builtin and then its argument prototype would still apply. */
29723 #ifdef __cplusplus
29724 extern "C"
29725 #endif
29726 char gethostbyname ();
29727 int
29728 main ()
29729 {
29730 return gethostbyname ();
29731 ;
29732 return 0;
29733 }
29734 _ACEOF
29735 rm -f conftest.$ac_objext conftest$ac_exeext
29736 if { (ac_try="$ac_link"
29737 case "(($ac_try" in
29738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29739 *) ac_try_echo=$ac_try;;
29740 esac
29741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29742 (eval "$ac_link") 2>conftest.er1
29743 ac_status=$?
29744 grep -v '^ *+' conftest.er1 >conftest.err
29745 rm -f conftest.er1
29746 cat conftest.err >&5
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); } && {
29749 test -z "$ac_c_werror_flag" ||
29750 test ! -s conftest.err
29751 } && test -s conftest$ac_exeext &&
29752 $as_test_x conftest$ac_exeext; then
29753 ac_cv_lib_nsl_gethostbyname=yes
29754 else
29755 echo "$as_me: failed program was:" >&5
29756 sed 's/^/| /' conftest.$ac_ext >&5
29757
29758 ac_cv_lib_nsl_gethostbyname=no
29759 fi
29760
29761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29762 conftest$ac_exeext conftest.$ac_ext
29763 LIBS=$ac_check_lib_save_LIBS
29764 fi
29765 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29766 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29767 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29769 fi
29770
29771 if test $ac_cv_lib_nsl_gethostbyname = no; then
29772 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29773 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29774 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29775 echo $ECHO_N "(cached) $ECHO_C" >&6
29776 else
29777 ac_check_lib_save_LIBS=$LIBS
29778 LIBS="-lbsd $LIBS"
29779 cat >conftest.$ac_ext <<_ACEOF
29780 /* confdefs.h. */
29781 _ACEOF
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h. */
29785
29786 /* Override any GCC internal prototype to avoid an error.
29787 Use char because int might match the return type of a GCC
29788 builtin and then its argument prototype would still apply. */
29789 #ifdef __cplusplus
29790 extern "C"
29791 #endif
29792 char gethostbyname ();
29793 int
29794 main ()
29795 {
29796 return gethostbyname ();
29797 ;
29798 return 0;
29799 }
29800 _ACEOF
29801 rm -f conftest.$ac_objext conftest$ac_exeext
29802 if { (ac_try="$ac_link"
29803 case "(($ac_try" in
29804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29805 *) ac_try_echo=$ac_try;;
29806 esac
29807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29808 (eval "$ac_link") 2>conftest.er1
29809 ac_status=$?
29810 grep -v '^ *+' conftest.er1 >conftest.err
29811 rm -f conftest.er1
29812 cat conftest.err >&5
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); } && {
29815 test -z "$ac_c_werror_flag" ||
29816 test ! -s conftest.err
29817 } && test -s conftest$ac_exeext &&
29818 $as_test_x conftest$ac_exeext; then
29819 ac_cv_lib_bsd_gethostbyname=yes
29820 else
29821 echo "$as_me: failed program was:" >&5
29822 sed 's/^/| /' conftest.$ac_ext >&5
29823
29824 ac_cv_lib_bsd_gethostbyname=no
29825 fi
29826
29827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29828 conftest$ac_exeext conftest.$ac_ext
29829 LIBS=$ac_check_lib_save_LIBS
29830 fi
29831 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29832 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29833 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29834 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29835 fi
29836
29837 fi
29838 fi
29839
29840 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29841 # socket/setsockopt and other routines are undefined under SCO ODT
29842 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29843 # on later versions), says Simon Leinen: it contains gethostby*
29844 # variants that don't use the name server (or something). -lsocket
29845 # must be given before -lnsl if both are needed. We assume that
29846 # if connect needs -lnsl, so does gethostbyname.
29847 { echo "$as_me:$LINENO: checking for connect" >&5
29848 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29849 if test "${ac_cv_func_connect+set}" = set; then
29850 echo $ECHO_N "(cached) $ECHO_C" >&6
29851 else
29852 cat >conftest.$ac_ext <<_ACEOF
29853 /* confdefs.h. */
29854 _ACEOF
29855 cat confdefs.h >>conftest.$ac_ext
29856 cat >>conftest.$ac_ext <<_ACEOF
29857 /* end confdefs.h. */
29858 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29860 #define connect innocuous_connect
29861
29862 /* System header to define __stub macros and hopefully few prototypes,
29863 which can conflict with char connect (); below.
29864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29865 <limits.h> exists even on freestanding compilers. */
29866
29867 #ifdef __STDC__
29868 # include <limits.h>
29869 #else
29870 # include <assert.h>
29871 #endif
29872
29873 #undef connect
29874
29875 /* Override any GCC internal prototype to avoid an error.
29876 Use char because int might match the return type of a GCC
29877 builtin and then its argument prototype would still apply. */
29878 #ifdef __cplusplus
29879 extern "C"
29880 #endif
29881 char connect ();
29882 /* The GNU C library defines this for functions which it implements
29883 to always fail with ENOSYS. Some functions are actually named
29884 something starting with __ and the normal name is an alias. */
29885 #if defined __stub_connect || defined __stub___connect
29886 choke me
29887 #endif
29888
29889 int
29890 main ()
29891 {
29892 return connect ();
29893 ;
29894 return 0;
29895 }
29896 _ACEOF
29897 rm -f conftest.$ac_objext conftest$ac_exeext
29898 if { (ac_try="$ac_link"
29899 case "(($ac_try" in
29900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29901 *) ac_try_echo=$ac_try;;
29902 esac
29903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29904 (eval "$ac_link") 2>conftest.er1
29905 ac_status=$?
29906 grep -v '^ *+' conftest.er1 >conftest.err
29907 rm -f conftest.er1
29908 cat conftest.err >&5
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); } && {
29911 test -z "$ac_c_werror_flag" ||
29912 test ! -s conftest.err
29913 } && test -s conftest$ac_exeext &&
29914 $as_test_x conftest$ac_exeext; then
29915 ac_cv_func_connect=yes
29916 else
29917 echo "$as_me: failed program was:" >&5
29918 sed 's/^/| /' conftest.$ac_ext >&5
29919
29920 ac_cv_func_connect=no
29921 fi
29922
29923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29924 conftest$ac_exeext conftest.$ac_ext
29925 fi
29926 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29927 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29928
29929 if test $ac_cv_func_connect = no; then
29930 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29931 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29932 if test "${ac_cv_lib_socket_connect+set}" = set; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29934 else
29935 ac_check_lib_save_LIBS=$LIBS
29936 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29937 cat >conftest.$ac_ext <<_ACEOF
29938 /* confdefs.h. */
29939 _ACEOF
29940 cat confdefs.h >>conftest.$ac_ext
29941 cat >>conftest.$ac_ext <<_ACEOF
29942 /* end confdefs.h. */
29943
29944 /* Override any GCC internal prototype to avoid an error.
29945 Use char because int might match the return type of a GCC
29946 builtin and then its argument prototype would still apply. */
29947 #ifdef __cplusplus
29948 extern "C"
29949 #endif
29950 char connect ();
29951 int
29952 main ()
29953 {
29954 return connect ();
29955 ;
29956 return 0;
29957 }
29958 _ACEOF
29959 rm -f conftest.$ac_objext conftest$ac_exeext
29960 if { (ac_try="$ac_link"
29961 case "(($ac_try" in
29962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29963 *) ac_try_echo=$ac_try;;
29964 esac
29965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29966 (eval "$ac_link") 2>conftest.er1
29967 ac_status=$?
29968 grep -v '^ *+' conftest.er1 >conftest.err
29969 rm -f conftest.er1
29970 cat conftest.err >&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); } && {
29973 test -z "$ac_c_werror_flag" ||
29974 test ! -s conftest.err
29975 } && test -s conftest$ac_exeext &&
29976 $as_test_x conftest$ac_exeext; then
29977 ac_cv_lib_socket_connect=yes
29978 else
29979 echo "$as_me: failed program was:" >&5
29980 sed 's/^/| /' conftest.$ac_ext >&5
29981
29982 ac_cv_lib_socket_connect=no
29983 fi
29984
29985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29986 conftest$ac_exeext conftest.$ac_ext
29987 LIBS=$ac_check_lib_save_LIBS
29988 fi
29989 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29990 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29991 if test $ac_cv_lib_socket_connect = yes; then
29992 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29993 fi
29994
29995 fi
29996
29997 # Guillermo Gomez says -lposix is necessary on A/UX.
29998 { echo "$as_me:$LINENO: checking for remove" >&5
29999 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30000 if test "${ac_cv_func_remove+set}" = set; then
30001 echo $ECHO_N "(cached) $ECHO_C" >&6
30002 else
30003 cat >conftest.$ac_ext <<_ACEOF
30004 /* confdefs.h. */
30005 _ACEOF
30006 cat confdefs.h >>conftest.$ac_ext
30007 cat >>conftest.$ac_ext <<_ACEOF
30008 /* end confdefs.h. */
30009 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30011 #define remove innocuous_remove
30012
30013 /* System header to define __stub macros and hopefully few prototypes,
30014 which can conflict with char remove (); below.
30015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30016 <limits.h> exists even on freestanding compilers. */
30017
30018 #ifdef __STDC__
30019 # include <limits.h>
30020 #else
30021 # include <assert.h>
30022 #endif
30023
30024 #undef remove
30025
30026 /* Override any GCC internal prototype to avoid an error.
30027 Use char because int might match the return type of a GCC
30028 builtin and then its argument prototype would still apply. */
30029 #ifdef __cplusplus
30030 extern "C"
30031 #endif
30032 char remove ();
30033 /* The GNU C library defines this for functions which it implements
30034 to always fail with ENOSYS. Some functions are actually named
30035 something starting with __ and the normal name is an alias. */
30036 #if defined __stub_remove || defined __stub___remove
30037 choke me
30038 #endif
30039
30040 int
30041 main ()
30042 {
30043 return remove ();
30044 ;
30045 return 0;
30046 }
30047 _ACEOF
30048 rm -f conftest.$ac_objext conftest$ac_exeext
30049 if { (ac_try="$ac_link"
30050 case "(($ac_try" in
30051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30052 *) ac_try_echo=$ac_try;;
30053 esac
30054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30055 (eval "$ac_link") 2>conftest.er1
30056 ac_status=$?
30057 grep -v '^ *+' conftest.er1 >conftest.err
30058 rm -f conftest.er1
30059 cat conftest.err >&5
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); } && {
30062 test -z "$ac_c_werror_flag" ||
30063 test ! -s conftest.err
30064 } && test -s conftest$ac_exeext &&
30065 $as_test_x conftest$ac_exeext; then
30066 ac_cv_func_remove=yes
30067 else
30068 echo "$as_me: failed program was:" >&5
30069 sed 's/^/| /' conftest.$ac_ext >&5
30070
30071 ac_cv_func_remove=no
30072 fi
30073
30074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30075 conftest$ac_exeext conftest.$ac_ext
30076 fi
30077 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30078 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30079
30080 if test $ac_cv_func_remove = no; then
30081 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30082 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30083 if test "${ac_cv_lib_posix_remove+set}" = set; then
30084 echo $ECHO_N "(cached) $ECHO_C" >&6
30085 else
30086 ac_check_lib_save_LIBS=$LIBS
30087 LIBS="-lposix $LIBS"
30088 cat >conftest.$ac_ext <<_ACEOF
30089 /* confdefs.h. */
30090 _ACEOF
30091 cat confdefs.h >>conftest.$ac_ext
30092 cat >>conftest.$ac_ext <<_ACEOF
30093 /* end confdefs.h. */
30094
30095 /* Override any GCC internal prototype to avoid an error.
30096 Use char because int might match the return type of a GCC
30097 builtin and then its argument prototype would still apply. */
30098 #ifdef __cplusplus
30099 extern "C"
30100 #endif
30101 char remove ();
30102 int
30103 main ()
30104 {
30105 return remove ();
30106 ;
30107 return 0;
30108 }
30109 _ACEOF
30110 rm -f conftest.$ac_objext conftest$ac_exeext
30111 if { (ac_try="$ac_link"
30112 case "(($ac_try" in
30113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30114 *) ac_try_echo=$ac_try;;
30115 esac
30116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30117 (eval "$ac_link") 2>conftest.er1
30118 ac_status=$?
30119 grep -v '^ *+' conftest.er1 >conftest.err
30120 rm -f conftest.er1
30121 cat conftest.err >&5
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); } && {
30124 test -z "$ac_c_werror_flag" ||
30125 test ! -s conftest.err
30126 } && test -s conftest$ac_exeext &&
30127 $as_test_x conftest$ac_exeext; then
30128 ac_cv_lib_posix_remove=yes
30129 else
30130 echo "$as_me: failed program was:" >&5
30131 sed 's/^/| /' conftest.$ac_ext >&5
30132
30133 ac_cv_lib_posix_remove=no
30134 fi
30135
30136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30137 conftest$ac_exeext conftest.$ac_ext
30138 LIBS=$ac_check_lib_save_LIBS
30139 fi
30140 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30141 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30142 if test $ac_cv_lib_posix_remove = yes; then
30143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30144 fi
30145
30146 fi
30147
30148 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30149 { echo "$as_me:$LINENO: checking for shmat" >&5
30150 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30151 if test "${ac_cv_func_shmat+set}" = set; then
30152 echo $ECHO_N "(cached) $ECHO_C" >&6
30153 else
30154 cat >conftest.$ac_ext <<_ACEOF
30155 /* confdefs.h. */
30156 _ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30160 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30162 #define shmat innocuous_shmat
30163
30164 /* System header to define __stub macros and hopefully few prototypes,
30165 which can conflict with char shmat (); below.
30166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30167 <limits.h> exists even on freestanding compilers. */
30168
30169 #ifdef __STDC__
30170 # include <limits.h>
30171 #else
30172 # include <assert.h>
30173 #endif
30174
30175 #undef shmat
30176
30177 /* Override any GCC internal prototype to avoid an error.
30178 Use char because int might match the return type of a GCC
30179 builtin and then its argument prototype would still apply. */
30180 #ifdef __cplusplus
30181 extern "C"
30182 #endif
30183 char shmat ();
30184 /* The GNU C library defines this for functions which it implements
30185 to always fail with ENOSYS. Some functions are actually named
30186 something starting with __ and the normal name is an alias. */
30187 #if defined __stub_shmat || defined __stub___shmat
30188 choke me
30189 #endif
30190
30191 int
30192 main ()
30193 {
30194 return shmat ();
30195 ;
30196 return 0;
30197 }
30198 _ACEOF
30199 rm -f conftest.$ac_objext conftest$ac_exeext
30200 if { (ac_try="$ac_link"
30201 case "(($ac_try" in
30202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30203 *) ac_try_echo=$ac_try;;
30204 esac
30205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30206 (eval "$ac_link") 2>conftest.er1
30207 ac_status=$?
30208 grep -v '^ *+' conftest.er1 >conftest.err
30209 rm -f conftest.er1
30210 cat conftest.err >&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); } && {
30213 test -z "$ac_c_werror_flag" ||
30214 test ! -s conftest.err
30215 } && test -s conftest$ac_exeext &&
30216 $as_test_x conftest$ac_exeext; then
30217 ac_cv_func_shmat=yes
30218 else
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.$ac_ext >&5
30221
30222 ac_cv_func_shmat=no
30223 fi
30224
30225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30226 conftest$ac_exeext conftest.$ac_ext
30227 fi
30228 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30229 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30230
30231 if test $ac_cv_func_shmat = no; then
30232 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30233 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30234 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30235 echo $ECHO_N "(cached) $ECHO_C" >&6
30236 else
30237 ac_check_lib_save_LIBS=$LIBS
30238 LIBS="-lipc $LIBS"
30239 cat >conftest.$ac_ext <<_ACEOF
30240 /* confdefs.h. */
30241 _ACEOF
30242 cat confdefs.h >>conftest.$ac_ext
30243 cat >>conftest.$ac_ext <<_ACEOF
30244 /* end confdefs.h. */
30245
30246 /* Override any GCC internal prototype to avoid an error.
30247 Use char because int might match the return type of a GCC
30248 builtin and then its argument prototype would still apply. */
30249 #ifdef __cplusplus
30250 extern "C"
30251 #endif
30252 char shmat ();
30253 int
30254 main ()
30255 {
30256 return shmat ();
30257 ;
30258 return 0;
30259 }
30260 _ACEOF
30261 rm -f conftest.$ac_objext conftest$ac_exeext
30262 if { (ac_try="$ac_link"
30263 case "(($ac_try" in
30264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30265 *) ac_try_echo=$ac_try;;
30266 esac
30267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30268 (eval "$ac_link") 2>conftest.er1
30269 ac_status=$?
30270 grep -v '^ *+' conftest.er1 >conftest.err
30271 rm -f conftest.er1
30272 cat conftest.err >&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } && {
30275 test -z "$ac_c_werror_flag" ||
30276 test ! -s conftest.err
30277 } && test -s conftest$ac_exeext &&
30278 $as_test_x conftest$ac_exeext; then
30279 ac_cv_lib_ipc_shmat=yes
30280 else
30281 echo "$as_me: failed program was:" >&5
30282 sed 's/^/| /' conftest.$ac_ext >&5
30283
30284 ac_cv_lib_ipc_shmat=no
30285 fi
30286
30287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30288 conftest$ac_exeext conftest.$ac_ext
30289 LIBS=$ac_check_lib_save_LIBS
30290 fi
30291 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30292 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30293 if test $ac_cv_lib_ipc_shmat = yes; then
30294 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30295 fi
30296
30297 fi
30298 fi
30299
30300 # Check for libraries that X11R6 Xt/Xaw programs need.
30301 ac_save_LDFLAGS=$LDFLAGS
30302 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30303 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30304 # check for ICE first), but we must link in the order -lSM -lICE or
30305 # we get undefined symbols. So assume we have SM if we have ICE.
30306 # These have to be linked with before -lX11, unlike the other
30307 # libraries we check for below, so use a different variable.
30308 # John Interrante, Karl Berry
30309 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30310 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30311 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30312 echo $ECHO_N "(cached) $ECHO_C" >&6
30313 else
30314 ac_check_lib_save_LIBS=$LIBS
30315 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30316 cat >conftest.$ac_ext <<_ACEOF
30317 /* confdefs.h. */
30318 _ACEOF
30319 cat confdefs.h >>conftest.$ac_ext
30320 cat >>conftest.$ac_ext <<_ACEOF
30321 /* end confdefs.h. */
30322
30323 /* Override any GCC internal prototype to avoid an error.
30324 Use char because int might match the return type of a GCC
30325 builtin and then its argument prototype would still apply. */
30326 #ifdef __cplusplus
30327 extern "C"
30328 #endif
30329 char IceConnectionNumber ();
30330 int
30331 main ()
30332 {
30333 return IceConnectionNumber ();
30334 ;
30335 return 0;
30336 }
30337 _ACEOF
30338 rm -f conftest.$ac_objext conftest$ac_exeext
30339 if { (ac_try="$ac_link"
30340 case "(($ac_try" in
30341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30342 *) ac_try_echo=$ac_try;;
30343 esac
30344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30345 (eval "$ac_link") 2>conftest.er1
30346 ac_status=$?
30347 grep -v '^ *+' conftest.er1 >conftest.err
30348 rm -f conftest.er1
30349 cat conftest.err >&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } && {
30352 test -z "$ac_c_werror_flag" ||
30353 test ! -s conftest.err
30354 } && test -s conftest$ac_exeext &&
30355 $as_test_x conftest$ac_exeext; then
30356 ac_cv_lib_ICE_IceConnectionNumber=yes
30357 else
30358 echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.$ac_ext >&5
30360
30361 ac_cv_lib_ICE_IceConnectionNumber=no
30362 fi
30363
30364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30365 conftest$ac_exeext conftest.$ac_ext
30366 LIBS=$ac_check_lib_save_LIBS
30367 fi
30368 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30369 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30370 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30371 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30372 fi
30373
30374 LDFLAGS=$ac_save_LDFLAGS
30375
30376 fi
30377
30378
30379 if test "$no_x" = "yes"; then
30380 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30381 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30382 { (exit 1); exit 1; }; }
30383 fi
30384
30385 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30386 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30387 AFMINSTALL=afminstall
30388 COMPILED_X_PROGRAM=0
30389
30390 fi
30391
30392 if test "$wxUSE_X11" = 1; then
30393 if test "$wxUSE_NANOX" = "yes"; then
30394 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30395 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30396 if test "x$MICROWIN" = x ; then
30397 { echo "$as_me:$LINENO: result: not found" >&5
30398 echo "${ECHO_T}not found" >&6; }
30399 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30400 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30401 { (exit 1); exit 1; }; }
30402 else
30403 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30404 echo "${ECHO_T}$MICROWIN" >&6; }
30405 cat >>confdefs.h <<\_ACEOF
30406 #define wxUSE_NANOX 1
30407 _ACEOF
30408
30409 fi
30410 fi
30411
30412 if test "$wxUSE_UNICODE" = "yes"; then
30413
30414
30415 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30416 if test -n "$ac_tool_prefix"; then
30417 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30418 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30421 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30422 echo $ECHO_N "(cached) $ECHO_C" >&6
30423 else
30424 case $PKG_CONFIG in
30425 [\\/]* | ?:[\\/]*)
30426 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30427 ;;
30428 *)
30429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30430 for as_dir in $PATH
30431 do
30432 IFS=$as_save_IFS
30433 test -z "$as_dir" && as_dir=.
30434 for ac_exec_ext in '' $ac_executable_extensions; do
30435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30436 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30438 break 2
30439 fi
30440 done
30441 done
30442 IFS=$as_save_IFS
30443
30444 ;;
30445 esac
30446 fi
30447 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30448 if test -n "$PKG_CONFIG"; then
30449 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30450 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30451 else
30452 { echo "$as_me:$LINENO: result: no" >&5
30453 echo "${ECHO_T}no" >&6; }
30454 fi
30455
30456
30457 fi
30458 if test -z "$ac_cv_path_PKG_CONFIG"; then
30459 ac_pt_PKG_CONFIG=$PKG_CONFIG
30460 # Extract the first word of "pkg-config", so it can be a program name with args.
30461 set dummy pkg-config; ac_word=$2
30462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30464 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30465 echo $ECHO_N "(cached) $ECHO_C" >&6
30466 else
30467 case $ac_pt_PKG_CONFIG in
30468 [\\/]* | ?:[\\/]*)
30469 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30470 ;;
30471 *)
30472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30473 for as_dir in $PATH
30474 do
30475 IFS=$as_save_IFS
30476 test -z "$as_dir" && as_dir=.
30477 for ac_exec_ext in '' $ac_executable_extensions; do
30478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30479 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30481 break 2
30482 fi
30483 done
30484 done
30485 IFS=$as_save_IFS
30486
30487 ;;
30488 esac
30489 fi
30490 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30491 if test -n "$ac_pt_PKG_CONFIG"; then
30492 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30493 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30494 else
30495 { echo "$as_me:$LINENO: result: no" >&5
30496 echo "${ECHO_T}no" >&6; }
30497 fi
30498
30499 if test "x$ac_pt_PKG_CONFIG" = x; then
30500 PKG_CONFIG=""
30501 else
30502 case $cross_compiling:$ac_tool_warned in
30503 yes:)
30504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30505 whose name does not start with the host triplet. If you think this
30506 configuration is useful to you, please write to autoconf@gnu.org." >&5
30507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30508 whose name does not start with the host triplet. If you think this
30509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30510 ac_tool_warned=yes ;;
30511 esac
30512 PKG_CONFIG=$ac_pt_PKG_CONFIG
30513 fi
30514 else
30515 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30516 fi
30517
30518 fi
30519 if test -n "$PKG_CONFIG"; then
30520 _pkg_min_version=0.9.0
30521 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30522 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30523 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30524 { echo "$as_me:$LINENO: result: yes" >&5
30525 echo "${ECHO_T}yes" >&6; }
30526 else
30527 { echo "$as_me:$LINENO: result: no" >&5
30528 echo "${ECHO_T}no" >&6; }
30529 PKG_CONFIG=""
30530 fi
30531
30532 fi
30533
30534
30535 pkg_failed=no
30536 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30537 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30538
30539 if test -n "$PKG_CONFIG"; then
30540 if test -n "$PANGOX_CFLAGS"; then
30541 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30542 else
30543 if test -n "$PKG_CONFIG" && \
30544 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30545 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30546 ac_status=$?
30547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548 (exit $ac_status); }; then
30549 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30550 else
30551 pkg_failed=yes
30552 fi
30553 fi
30554 else
30555 pkg_failed=untried
30556 fi
30557 if test -n "$PKG_CONFIG"; then
30558 if test -n "$PANGOX_LIBS"; then
30559 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30560 else
30561 if test -n "$PKG_CONFIG" && \
30562 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30563 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30564 ac_status=$?
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; then
30567 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30568 else
30569 pkg_failed=yes
30570 fi
30571 fi
30572 else
30573 pkg_failed=untried
30574 fi
30575
30576
30577
30578 if test $pkg_failed = yes; then
30579
30580 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30581 _pkg_short_errors_supported=yes
30582 else
30583 _pkg_short_errors_supported=no
30584 fi
30585 if test $_pkg_short_errors_supported = yes; then
30586 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30587 else
30588 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30589 fi
30590 # Put the nasty error message in config.log where it belongs
30591 echo "$PANGOX_PKG_ERRORS" >&5
30592
30593
30594 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30595 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30596 { (exit 1); exit 1; }; }
30597
30598
30599 elif test $pkg_failed = untried; then
30600
30601 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30602 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30603 { (exit 1); exit 1; }; }
30604
30605
30606 else
30607 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30608 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30609 { echo "$as_me:$LINENO: result: yes" >&5
30610 echo "${ECHO_T}yes" >&6; }
30611
30612 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30613 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30614 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30615
30616 fi
30617
30618 pkg_failed=no
30619 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30620 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30621
30622 if test -n "$PKG_CONFIG"; then
30623 if test -n "$PANGOFT2_CFLAGS"; then
30624 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30625 else
30626 if test -n "$PKG_CONFIG" && \
30627 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30628 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30629 ac_status=$?
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; then
30632 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30633 else
30634 pkg_failed=yes
30635 fi
30636 fi
30637 else
30638 pkg_failed=untried
30639 fi
30640 if test -n "$PKG_CONFIG"; then
30641 if test -n "$PANGOFT2_LIBS"; then
30642 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30643 else
30644 if test -n "$PKG_CONFIG" && \
30645 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30646 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30647 ac_status=$?
30648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30649 (exit $ac_status); }; then
30650 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30651 else
30652 pkg_failed=yes
30653 fi
30654 fi
30655 else
30656 pkg_failed=untried
30657 fi
30658
30659
30660
30661 if test $pkg_failed = yes; then
30662
30663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30664 _pkg_short_errors_supported=yes
30665 else
30666 _pkg_short_errors_supported=no
30667 fi
30668 if test $_pkg_short_errors_supported = yes; then
30669 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30670 else
30671 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30672 fi
30673 # Put the nasty error message in config.log where it belongs
30674 echo "$PANGOFT2_PKG_ERRORS" >&5
30675
30676
30677 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30678 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30679 wxUSE_PRINTING_ARCHITECTURE="no"
30680
30681
30682 elif test $pkg_failed = untried; then
30683
30684 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30685 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30686 wxUSE_PRINTING_ARCHITECTURE="no"
30687
30688
30689 else
30690 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30691 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30692 { echo "$as_me:$LINENO: result: yes" >&5
30693 echo "${ECHO_T}yes" >&6; }
30694
30695 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30696 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30697 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30698
30699 fi
30700
30701 pkg_failed=no
30702 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30703 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30704
30705 if test -n "$PKG_CONFIG"; then
30706 if test -n "$PANGOXFT_CFLAGS"; then
30707 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30708 else
30709 if test -n "$PKG_CONFIG" && \
30710 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30711 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30712 ac_status=$?
30713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 (exit $ac_status); }; then
30715 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30716 else
30717 pkg_failed=yes
30718 fi
30719 fi
30720 else
30721 pkg_failed=untried
30722 fi
30723 if test -n "$PKG_CONFIG"; then
30724 if test -n "$PANGOXFT_LIBS"; then
30725 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30726 else
30727 if test -n "$PKG_CONFIG" && \
30728 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30729 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30730 ac_status=$?
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; then
30733 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30734 else
30735 pkg_failed=yes
30736 fi
30737 fi
30738 else
30739 pkg_failed=untried
30740 fi
30741
30742
30743
30744 if test $pkg_failed = yes; then
30745
30746 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30747 _pkg_short_errors_supported=yes
30748 else
30749 _pkg_short_errors_supported=no
30750 fi
30751 if test $_pkg_short_errors_supported = yes; then
30752 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30753 else
30754 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30755 fi
30756 # Put the nasty error message in config.log where it belongs
30757 echo "$PANGOXFT_PKG_ERRORS" >&5
30758
30759
30760 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30761 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30762
30763
30764 elif test $pkg_failed = untried; then
30765
30766 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30767 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30768
30769
30770 else
30771 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30772 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30773 { echo "$as_me:$LINENO: result: yes" >&5
30774 echo "${ECHO_T}yes" >&6; }
30775
30776 cat >>confdefs.h <<\_ACEOF
30777 #define HAVE_PANGO_XFT 1
30778 _ACEOF
30779
30780 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30781 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30783
30784 fi
30785 save_LIBS="$LIBS"
30786 LIBS="$LIBS $PANGOX_LIBS"
30787
30788 for ac_func in pango_font_family_is_monospace
30789 do
30790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30794 echo $ECHO_N "(cached) $ECHO_C" >&6
30795 else
30796 cat >conftest.$ac_ext <<_ACEOF
30797 /* confdefs.h. */
30798 _ACEOF
30799 cat confdefs.h >>conftest.$ac_ext
30800 cat >>conftest.$ac_ext <<_ACEOF
30801 /* end confdefs.h. */
30802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30804 #define $ac_func innocuous_$ac_func
30805
30806 /* System header to define __stub macros and hopefully few prototypes,
30807 which can conflict with char $ac_func (); below.
30808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30809 <limits.h> exists even on freestanding compilers. */
30810
30811 #ifdef __STDC__
30812 # include <limits.h>
30813 #else
30814 # include <assert.h>
30815 #endif
30816
30817 #undef $ac_func
30818
30819 /* Override any GCC internal prototype to avoid an error.
30820 Use char because int might match the return type of a GCC
30821 builtin and then its argument prototype would still apply. */
30822 #ifdef __cplusplus
30823 extern "C"
30824 #endif
30825 char $ac_func ();
30826 /* The GNU C library defines this for functions which it implements
30827 to always fail with ENOSYS. Some functions are actually named
30828 something starting with __ and the normal name is an alias. */
30829 #if defined __stub_$ac_func || defined __stub___$ac_func
30830 choke me
30831 #endif
30832
30833 int
30834 main ()
30835 {
30836 return $ac_func ();
30837 ;
30838 return 0;
30839 }
30840 _ACEOF
30841 rm -f conftest.$ac_objext conftest$ac_exeext
30842 if { (ac_try="$ac_link"
30843 case "(($ac_try" in
30844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30845 *) ac_try_echo=$ac_try;;
30846 esac
30847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30848 (eval "$ac_link") 2>conftest.er1
30849 ac_status=$?
30850 grep -v '^ *+' conftest.er1 >conftest.err
30851 rm -f conftest.er1
30852 cat conftest.err >&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } && {
30855 test -z "$ac_c_werror_flag" ||
30856 test ! -s conftest.err
30857 } && test -s conftest$ac_exeext &&
30858 $as_test_x conftest$ac_exeext; then
30859 eval "$as_ac_var=yes"
30860 else
30861 echo "$as_me: failed program was:" >&5
30862 sed 's/^/| /' conftest.$ac_ext >&5
30863
30864 eval "$as_ac_var=no"
30865 fi
30866
30867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30868 conftest$ac_exeext conftest.$ac_ext
30869 fi
30870 ac_res=`eval echo '${'$as_ac_var'}'`
30871 { echo "$as_me:$LINENO: result: $ac_res" >&5
30872 echo "${ECHO_T}$ac_res" >&6; }
30873 if test `eval echo '${'$as_ac_var'}'` = yes; then
30874 cat >>confdefs.h <<_ACEOF
30875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30876 _ACEOF
30877
30878 fi
30879 done
30880
30881 LIBS="$save_LIBS"
30882 fi
30883
30884 wxUSE_UNIVERSAL="yes"
30885
30886 if test "$wxUSE_NANOX" = "yes"; then
30887 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30888 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"
30889 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30890 else
30891 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30892 fi
30893
30894 TOOLKIT=X11
30895 GUIDIST=X11_DIST
30896 fi
30897
30898 if test "$wxUSE_MOTIF" = 1; then
30899 if test "$wxUSE_UNICODE" = "yes"; then
30900 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30901 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30902 { (exit 1); exit 1; }; }
30903 fi
30904
30905 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30906 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30907
30908 ac_find_includes=
30909 for ac_dir in $SEARCH_INCLUDE /usr/include;
30910 do
30911 if test -f "$ac_dir/Xm/Xm.h"; then
30912 ac_find_includes=$ac_dir
30913 break
30914 fi
30915 done
30916
30917 if test "$ac_find_includes" != "" ; then
30918 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30919 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30920
30921 if test "x$ac_find_includes" = "x/usr/include"; then
30922 ac_path_to_include=""
30923 else
30924 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30925 result=$?
30926 if test $result = 0; then
30927 ac_path_to_include=""
30928 else
30929 ac_path_to_include=" -I$ac_find_includes"
30930 fi
30931 fi
30932
30933 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30934 else
30935 save_CFLAGS=$CFLAGS
30936 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30937
30938 cat >conftest.$ac_ext <<_ACEOF
30939 /* confdefs.h. */
30940 _ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30944
30945 #include <Xm/Xm.h>
30946
30947 int
30948 main ()
30949 {
30950
30951 int version;
30952 version = xmUseVersion;
30953
30954 ;
30955 return 0;
30956 }
30957 _ACEOF
30958 rm -f conftest.$ac_objext
30959 if { (ac_try="$ac_compile"
30960 case "(($ac_try" in
30961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30962 *) ac_try_echo=$ac_try;;
30963 esac
30964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30965 (eval "$ac_compile") 2>conftest.er1
30966 ac_status=$?
30967 grep -v '^ *+' conftest.er1 >conftest.err
30968 rm -f conftest.er1
30969 cat conftest.err >&5
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); } && {
30972 test -z "$ac_c_werror_flag" ||
30973 test ! -s conftest.err
30974 } && test -s conftest.$ac_objext; then
30975
30976 { echo "$as_me:$LINENO: result: found in default search path" >&5
30977 echo "${ECHO_T}found in default search path" >&6; }
30978 COMPILED_X_PROGRAM=1
30979
30980 else
30981 echo "$as_me: failed program was:" >&5
30982 sed 's/^/| /' conftest.$ac_ext >&5
30983
30984
30985 { echo "$as_me:$LINENO: result: no" >&5
30986 echo "${ECHO_T}no" >&6; }
30987 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30988 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30989 { (exit 1); exit 1; }; }
30990
30991
30992 fi
30993
30994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30995
30996 CFLAGS=$save_CFLAGS
30997 fi
30998
30999
31000 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31001 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31002
31003 ac_find_libraries=
31004 for ac_dir in $SEARCH_LIB;
31005 do
31006 for ac_extension in a so sl dylib dll.a; do
31007 if test -f "$ac_dir/libXm.$ac_extension"; then
31008 ac_find_libraries=$ac_dir
31009 break 2
31010 fi
31011 done
31012 done
31013
31014
31015 if test "x$ac_find_libraries" != "x" ; then
31016 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31017 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31018
31019
31020 if test "$ac_find_libraries" = "default location"; then
31021 ac_path_to_link=""
31022 else
31023 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31024 result=$?
31025 if test $result = 0; then
31026 ac_path_to_link=""
31027 else
31028 ac_path_to_link=" -L$ac_find_libraries"
31029 fi
31030 fi
31031
31032 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31033 else
31034 save_CFLAGS=$CFLAGS
31035 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31036 save_LIBS="$LIBS"
31037 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31038
31039 cat >conftest.$ac_ext <<_ACEOF
31040 /* confdefs.h. */
31041 _ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045
31046 #include <Xm/Xm.h>
31047
31048 int
31049 main ()
31050 {
31051
31052 int version;
31053 version = xmUseVersion;
31054
31055 ;
31056 return 0;
31057 }
31058 _ACEOF
31059 rm -f conftest.$ac_objext conftest$ac_exeext
31060 if { (ac_try="$ac_link"
31061 case "(($ac_try" in
31062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31063 *) ac_try_echo=$ac_try;;
31064 esac
31065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31066 (eval "$ac_link") 2>conftest.er1
31067 ac_status=$?
31068 grep -v '^ *+' conftest.er1 >conftest.err
31069 rm -f conftest.er1
31070 cat conftest.err >&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); } && {
31073 test -z "$ac_c_werror_flag" ||
31074 test ! -s conftest.err
31075 } && test -s conftest$ac_exeext &&
31076 $as_test_x conftest$ac_exeext; then
31077
31078 { echo "$as_me:$LINENO: result: found in default search path" >&5
31079 echo "${ECHO_T}found in default search path" >&6; }
31080 COMPILED_X_PROGRAM=1
31081
31082 else
31083 echo "$as_me: failed program was:" >&5
31084 sed 's/^/| /' conftest.$ac_ext >&5
31085
31086
31087 { echo "$as_me:$LINENO: result: no" >&5
31088 echo "${ECHO_T}no" >&6; }
31089 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31090 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31091 { (exit 1); exit 1; }; }
31092
31093
31094 fi
31095
31096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31097 conftest$ac_exeext conftest.$ac_ext
31098
31099 CFLAGS=$save_CFLAGS
31100 LIBS="$save_LIBS"
31101 fi
31102
31103 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31104 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31105 libp_link=""
31106 libsm_ice_link=""
31107 libs_found=0
31108 for libp in "" " -lXp"; do
31109 if test "$libs_found" = "0"; then
31110 for libsm_ice in "" " -lSM -lICE"; do
31111 if test "$libs_found" = "0"; then
31112 save_LIBS="$LIBS"
31113 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31114 save_CFLAGS=$CFLAGS
31115 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31116
31117 cat >conftest.$ac_ext <<_ACEOF
31118 /* confdefs.h. */
31119 _ACEOF
31120 cat confdefs.h >>conftest.$ac_ext
31121 cat >>conftest.$ac_ext <<_ACEOF
31122 /* end confdefs.h. */
31123
31124 #include <Xm/Xm.h>
31125 #include <Xm/List.h>
31126
31127 int
31128 main ()
31129 {
31130
31131 XmString string = NULL;
31132 Widget w = NULL;
31133 int position = 0;
31134 XmListAddItem(w, string, position);
31135
31136 ;
31137 return 0;
31138 }
31139 _ACEOF
31140 rm -f conftest.$ac_objext conftest$ac_exeext
31141 if { (ac_try="$ac_link"
31142 case "(($ac_try" in
31143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31144 *) ac_try_echo=$ac_try;;
31145 esac
31146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31147 (eval "$ac_link") 2>conftest.er1
31148 ac_status=$?
31149 grep -v '^ *+' conftest.er1 >conftest.err
31150 rm -f conftest.er1
31151 cat conftest.err >&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } && {
31154 test -z "$ac_c_werror_flag" ||
31155 test ! -s conftest.err
31156 } && test -s conftest$ac_exeext &&
31157 $as_test_x conftest$ac_exeext; then
31158
31159 libp_link="$libp"
31160 libsm_ice_link="$libsm_ice"
31161 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31162 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31163 libs_found=1
31164
31165 else
31166 echo "$as_me: failed program was:" >&5
31167 sed 's/^/| /' conftest.$ac_ext >&5
31168
31169
31170
31171 fi
31172
31173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31174 conftest$ac_exeext conftest.$ac_ext
31175
31176 LIBS="$save_LIBS"
31177 CFLAGS=$save_CFLAGS
31178 fi
31179 done
31180 fi
31181 done
31182
31183 if test "$libs_found" = "0"; then
31184 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31185 echo "${ECHO_T}can't find the right libraries" >&6; }
31186 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31187 echo "$as_me: error: can't link a simple motif program" >&2;}
31188 { (exit 1); exit 1; }; }
31189 fi
31190
31191 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31192 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31193 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31194 echo $ECHO_N "(cached) $ECHO_C" >&6
31195 else
31196 ac_check_lib_save_LIBS=$LIBS
31197 LIBS="-lSgm $LIBS"
31198 cat >conftest.$ac_ext <<_ACEOF
31199 /* confdefs.h. */
31200 _ACEOF
31201 cat confdefs.h >>conftest.$ac_ext
31202 cat >>conftest.$ac_ext <<_ACEOF
31203 /* end confdefs.h. */
31204
31205 /* Override any GCC internal prototype to avoid an error.
31206 Use char because int might match the return type of a GCC
31207 builtin and then its argument prototype would still apply. */
31208 #ifdef __cplusplus
31209 extern "C"
31210 #endif
31211 char SgCreateList ();
31212 int
31213 main ()
31214 {
31215 return SgCreateList ();
31216 ;
31217 return 0;
31218 }
31219 _ACEOF
31220 rm -f conftest.$ac_objext conftest$ac_exeext
31221 if { (ac_try="$ac_link"
31222 case "(($ac_try" in
31223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31224 *) ac_try_echo=$ac_try;;
31225 esac
31226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31227 (eval "$ac_link") 2>conftest.er1
31228 ac_status=$?
31229 grep -v '^ *+' conftest.er1 >conftest.err
31230 rm -f conftest.er1
31231 cat conftest.err >&5
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); } && {
31234 test -z "$ac_c_werror_flag" ||
31235 test ! -s conftest.err
31236 } && test -s conftest$ac_exeext &&
31237 $as_test_x conftest$ac_exeext; then
31238 ac_cv_lib_Sgm_SgCreateList=yes
31239 else
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.$ac_ext >&5
31242
31243 ac_cv_lib_Sgm_SgCreateList=no
31244 fi
31245
31246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31247 conftest$ac_exeext conftest.$ac_ext
31248 LIBS=$ac_check_lib_save_LIBS
31249 fi
31250 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31251 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31252 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31253 libsgm_link=" -lSgm"
31254 fi
31255
31256
31257 save_CFLAGS=$CFLAGS
31258 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31259
31260 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31261 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31262 if test "${wx_cv_lib_motif2+set}" = set; then
31263 echo $ECHO_N "(cached) $ECHO_C" >&6
31264 else
31265 cat >conftest.$ac_ext <<_ACEOF
31266 /* confdefs.h. */
31267 _ACEOF
31268 cat confdefs.h >>conftest.$ac_ext
31269 cat >>conftest.$ac_ext <<_ACEOF
31270 /* end confdefs.h. */
31271
31272 #include <Xm/Xm.h>
31273
31274 int
31275 main ()
31276 {
31277
31278 #if XmVersion < 2000
31279 Not Motif 2
31280 #endif
31281
31282 ;
31283 return 0;
31284 }
31285 _ACEOF
31286 rm -f conftest.$ac_objext
31287 if { (ac_try="$ac_compile"
31288 case "(($ac_try" in
31289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31290 *) ac_try_echo=$ac_try;;
31291 esac
31292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31293 (eval "$ac_compile") 2>conftest.er1
31294 ac_status=$?
31295 grep -v '^ *+' conftest.er1 >conftest.err
31296 rm -f conftest.er1
31297 cat conftest.err >&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); } && {
31300 test -z "$ac_c_werror_flag" ||
31301 test ! -s conftest.err
31302 } && test -s conftest.$ac_objext; then
31303 wx_cv_lib_motif2="yes"
31304 else
31305 echo "$as_me: failed program was:" >&5
31306 sed 's/^/| /' conftest.$ac_ext >&5
31307
31308 wx_cv_lib_motif2="no"
31309 fi
31310
31311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31312 fi
31313 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31314 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31315 if test "$wx_cv_lib_motif2" = "yes"; then
31316 cat >>confdefs.h <<\_ACEOF
31317 #define __WXMOTIF20__ 1
31318 _ACEOF
31319
31320 else
31321 cat >>confdefs.h <<\_ACEOF
31322 #define __WXMOTIF20__ 0
31323 _ACEOF
31324
31325 fi
31326
31327 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31328 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31329 if test "${wx_cv_lib_lesstif+set}" = set; then
31330 echo $ECHO_N "(cached) $ECHO_C" >&6
31331 else
31332 cat >conftest.$ac_ext <<_ACEOF
31333 /* confdefs.h. */
31334 _ACEOF
31335 cat confdefs.h >>conftest.$ac_ext
31336 cat >>conftest.$ac_ext <<_ACEOF
31337 /* end confdefs.h. */
31338
31339 #include <Xm/Xm.h>
31340
31341 int
31342 main ()
31343 {
31344
31345 #if !defined(LesstifVersion) || LesstifVersion <= 0
31346 Not Lesstif
31347 #endif
31348
31349 ;
31350 return 0;
31351 }
31352 _ACEOF
31353 rm -f conftest.$ac_objext
31354 if { (ac_try="$ac_compile"
31355 case "(($ac_try" in
31356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31357 *) ac_try_echo=$ac_try;;
31358 esac
31359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31360 (eval "$ac_compile") 2>conftest.er1
31361 ac_status=$?
31362 grep -v '^ *+' conftest.er1 >conftest.err
31363 rm -f conftest.er1
31364 cat conftest.err >&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } && {
31367 test -z "$ac_c_werror_flag" ||
31368 test ! -s conftest.err
31369 } && test -s conftest.$ac_objext; then
31370 wx_cv_lib_lesstif="yes"
31371 else
31372 echo "$as_me: failed program was:" >&5
31373 sed 's/^/| /' conftest.$ac_ext >&5
31374
31375 wx_cv_lib_lesstif="no"
31376 fi
31377
31378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31379
31380 fi
31381 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31382 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31383 if test "$wx_cv_lib_lesstif" = "yes"; then
31384 cat >>confdefs.h <<\_ACEOF
31385 #define __WXLESSTIF__ 1
31386 _ACEOF
31387
31388 else
31389 cat >>confdefs.h <<\_ACEOF
31390 #define __WXLESSTIF__ 0
31391 _ACEOF
31392
31393 fi
31394
31395 CFLAGS=$save_CFLAGS
31396
31397 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31398 TOOLKIT=MOTIF
31399 GUIDIST=MOTIF_DIST
31400 fi
31401
31402 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31403 if test "$wxUSE_LIBXPM" = "sys"; then
31404 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31405 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31406
31407 ac_find_libraries=
31408 for ac_dir in $SEARCH_LIB;
31409 do
31410 for ac_extension in a so sl dylib dll.a; do
31411 if test -f "$ac_dir/libXpm.$ac_extension"; then
31412 ac_find_libraries=$ac_dir
31413 break 2
31414 fi
31415 done
31416 done
31417
31418 if test "$ac_find_libraries" != "" ; then
31419
31420 if test "$ac_find_libraries" = "default location"; then
31421 ac_path_to_link=""
31422 else
31423 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31424 result=$?
31425 if test $result = 0; then
31426 ac_path_to_link=""
31427 else
31428 ac_path_to_link=" -L$ac_find_libraries"
31429 fi
31430 fi
31431
31432 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31433 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31434 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31435
31436 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31437 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31438 if test "${wx_cv_x11_xpm_h+set}" = set; then
31439 echo $ECHO_N "(cached) $ECHO_C" >&6
31440 else
31441
31442 save_CFLAGS=$CFLAGS
31443 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31444
31445 cat >conftest.$ac_ext <<_ACEOF
31446 /* confdefs.h. */
31447 _ACEOF
31448 cat confdefs.h >>conftest.$ac_ext
31449 cat >>conftest.$ac_ext <<_ACEOF
31450 /* end confdefs.h. */
31451
31452 #include <X11/xpm.h>
31453
31454 int
31455 main ()
31456 {
31457
31458 int version;
31459 version = XpmLibraryVersion();
31460
31461 ;
31462 return 0;
31463 }
31464 _ACEOF
31465 rm -f conftest.$ac_objext
31466 if { (ac_try="$ac_compile"
31467 case "(($ac_try" in
31468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31469 *) ac_try_echo=$ac_try;;
31470 esac
31471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31472 (eval "$ac_compile") 2>conftest.er1
31473 ac_status=$?
31474 grep -v '^ *+' conftest.er1 >conftest.err
31475 rm -f conftest.er1
31476 cat conftest.err >&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); } && {
31479 test -z "$ac_c_werror_flag" ||
31480 test ! -s conftest.err
31481 } && test -s conftest.$ac_objext; then
31482 wx_cv_x11_xpm_h=yes
31483 else
31484 echo "$as_me: failed program was:" >&5
31485 sed 's/^/| /' conftest.$ac_ext >&5
31486
31487 wx_cv_x11_xpm_h=no
31488
31489 fi
31490
31491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31492
31493 CFLAGS=$save_CFLAGS
31494
31495
31496 fi
31497 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31498 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31499
31500 if test $wx_cv_x11_xpm_h = "yes"; then
31501 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31502 cat >>confdefs.h <<\_ACEOF
31503 #define wxHAVE_LIB_XPM 1
31504 _ACEOF
31505
31506 else
31507 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31508 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31509 fi
31510 fi
31511
31512 fi
31513
31514 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31515 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31516 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31517 echo $ECHO_N "(cached) $ECHO_C" >&6
31518 else
31519 ac_check_lib_save_LIBS=$LIBS
31520 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
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
31528 /* Override any GCC internal prototype to avoid an error.
31529 Use char because int might match the return type of a GCC
31530 builtin and then its argument prototype would still apply. */
31531 #ifdef __cplusplus
31532 extern "C"
31533 #endif
31534 char XShapeQueryExtension ();
31535 int
31536 main ()
31537 {
31538 return XShapeQueryExtension ();
31539 ;
31540 return 0;
31541 }
31542 _ACEOF
31543 rm -f conftest.$ac_objext conftest$ac_exeext
31544 if { (ac_try="$ac_link"
31545 case "(($ac_try" in
31546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31547 *) ac_try_echo=$ac_try;;
31548 esac
31549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31550 (eval "$ac_link") 2>conftest.er1
31551 ac_status=$?
31552 grep -v '^ *+' conftest.er1 >conftest.err
31553 rm -f conftest.er1
31554 cat conftest.err >&5
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); } && {
31557 test -z "$ac_c_werror_flag" ||
31558 test ! -s conftest.err
31559 } && test -s conftest$ac_exeext &&
31560 $as_test_x conftest$ac_exeext; then
31561 ac_cv_lib_Xext_XShapeQueryExtension=yes
31562 else
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.$ac_ext >&5
31565
31566 ac_cv_lib_Xext_XShapeQueryExtension=no
31567 fi
31568
31569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31570 conftest$ac_exeext conftest.$ac_ext
31571 LIBS=$ac_check_lib_save_LIBS
31572 fi
31573 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31574 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31575 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31576
31577 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31578 wxHAVE_XEXT_LIB=1
31579
31580 fi
31581
31582
31583 if test "$wxHAVE_XEXT_LIB" = 1; then
31584 save_CFLAGS="$CFLAGS"
31585 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31586
31587 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31588 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31589 cat >conftest.$ac_ext <<_ACEOF
31590 /* confdefs.h. */
31591 _ACEOF
31592 cat confdefs.h >>conftest.$ac_ext
31593 cat >>conftest.$ac_ext <<_ACEOF
31594 /* end confdefs.h. */
31595
31596 #include <X11/Xlib.h>
31597 #include <X11/extensions/shape.h>
31598
31599 int
31600 main ()
31601 {
31602
31603 int dummy1, dummy2;
31604 XShapeQueryExtension((Display*)NULL,
31605 (int*)NULL, (int*)NULL);
31606
31607 ;
31608 return 0;
31609 }
31610 _ACEOF
31611 rm -f conftest.$ac_objext
31612 if { (ac_try="$ac_compile"
31613 case "(($ac_try" in
31614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31615 *) ac_try_echo=$ac_try;;
31616 esac
31617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31618 (eval "$ac_compile") 2>conftest.er1
31619 ac_status=$?
31620 grep -v '^ *+' conftest.er1 >conftest.err
31621 rm -f conftest.er1
31622 cat conftest.err >&5
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); } && {
31625 test -z "$ac_c_werror_flag" ||
31626 test ! -s conftest.err
31627 } && test -s conftest.$ac_objext; then
31628
31629 cat >>confdefs.h <<\_ACEOF
31630 #define HAVE_XSHAPE 1
31631 _ACEOF
31632
31633 { echo "$as_me:$LINENO: result: found" >&5
31634 echo "${ECHO_T}found" >&6; }
31635
31636 else
31637 echo "$as_me: failed program was:" >&5
31638 sed 's/^/| /' conftest.$ac_ext >&5
31639
31640
31641 { echo "$as_me:$LINENO: result: not found" >&5
31642 echo "${ECHO_T}not found" >&6; }
31643
31644 fi
31645
31646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31647 CFLAGS="$save_CFLAGS"
31648
31649 fi
31650 fi
31651
31652 if test "$wxUSE_MAC" = 1; then
31653 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31654 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31655 if test "$GCC" = yes; then
31656 { echo "$as_me:$LINENO: result: gcc" >&5
31657 echo "${ECHO_T}gcc" >&6; }
31658 CPPFLAGS_PASCAL="-fpascal-strings"
31659 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31660 { echo "$as_me:$LINENO: result: xlc" >&5
31661 echo "${ECHO_T}xlc" >&6; }
31662 CPPFLAGS_PASCAL="-qmacpstr"
31663 else
31664 { echo "$as_me:$LINENO: result: none" >&5
31665 echo "${ECHO_T}none" >&6; }
31666 fi
31667
31668 if test "x$wxUSE_UNIX" = "xyes"; then
31669 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31670 else
31671 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31672 fi
31673
31674 TOOLKIT=MAC
31675 GUIDIST=MACX_DIST
31676 WXBASEPORT="_carbon"
31677 fi
31678
31679 if test "$wxUSE_COCOA" = 1; then
31680 TOOLKIT=COCOA
31681 GUIDIST=COCOA_DIST
31682 fi
31683
31684 if test "$wxUSE_PM" = 1; then
31685 TOOLKIT=PM
31686 GUIDIST=PM_DIST
31687 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31688 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31689 if test "${wx_cv_spbcdata+set}" = set; then
31690 echo $ECHO_N "(cached) $ECHO_C" >&6
31691 else
31692
31693 cat >conftest.$ac_ext <<_ACEOF
31694 /* confdefs.h. */
31695 _ACEOF
31696 cat confdefs.h >>conftest.$ac_ext
31697 cat >>conftest.$ac_ext <<_ACEOF
31698 /* end confdefs.h. */
31699
31700 #define INCL_PM
31701 #include <os2.h>
31702
31703 int
31704 main ()
31705 {
31706
31707 SPBCDATA test;
31708
31709 ;
31710 return 0;
31711 }
31712 _ACEOF
31713 rm -f conftest.$ac_objext
31714 if { (ac_try="$ac_compile"
31715 case "(($ac_try" in
31716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31717 *) ac_try_echo=$ac_try;;
31718 esac
31719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31720 (eval "$ac_compile") 2>conftest.er1
31721 ac_status=$?
31722 grep -v '^ *+' conftest.er1 >conftest.err
31723 rm -f conftest.er1
31724 cat conftest.err >&5
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); } && {
31727 test -z "$ac_c_werror_flag" ||
31728 test ! -s conftest.err
31729 } && test -s conftest.$ac_objext; then
31730 wx_cv_spbcdata=yes
31731 else
31732 echo "$as_me: failed program was:" >&5
31733 sed 's/^/| /' conftest.$ac_ext >&5
31734
31735 wx_cv_spbcdata=no
31736
31737 fi
31738
31739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31740
31741
31742 fi
31743 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31744 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31745
31746 if test $wx_cv_spbcdata = "yes"; then
31747 cat >>confdefs.h <<\_ACEOF
31748 #define HAVE_SPBCDATA 1
31749 _ACEOF
31750
31751 fi
31752 fi
31753
31754 if test "$TOOLKIT" = "PM" ; then
31755 TOOLKIT_DIR="os2"
31756 else
31757 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31758 fi
31759
31760 if test "$wxUSE_UNIVERSAL" = "yes"; then
31761 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31762 WIDGET_SET=univ
31763 fi
31764
31765 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31766 DISTDIR="wx\$(TOOLKIT)"
31767 else
31768 USE_GUI=0
31769
31770 TOOLKIT_DIR="base"
31771
31772 if test "$USE_WIN32" = 1 ; then
31773 TOOLKIT="MSW"
31774 fi
31775
31776 GUIDIST="BASE_DIST"
31777 DISTDIR="wxBase"
31778 fi
31779
31780
31781
31782 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31783 if test "$TOOLKIT" = "DFB" ; then
31784 wxUSE_UNICODE_UTF8=yes
31785 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31786 wxUSE_UNICODE_UTF8=yes
31787 else
31788 wxUSE_UNICODE_UTF8=no
31789 fi
31790 fi
31791
31792
31793 if test "$wxUSE_GUI" = "yes"; then
31794 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31795 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31796 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31797 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31798 echo $ECHO_N "(cached) $ECHO_C" >&6
31799 else
31800 cat >conftest.$ac_ext <<_ACEOF
31801 /* confdefs.h. */
31802 _ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806
31807
31808 #include <X11/Xlib.h>
31809 _ACEOF
31810 rm -f conftest.$ac_objext
31811 if { (ac_try="$ac_compile"
31812 case "(($ac_try" in
31813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31814 *) ac_try_echo=$ac_try;;
31815 esac
31816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31817 (eval "$ac_compile") 2>conftest.er1
31818 ac_status=$?
31819 grep -v '^ *+' conftest.er1 >conftest.err
31820 rm -f conftest.er1
31821 cat conftest.err >&5
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); } && {
31824 test -z "$ac_c_werror_flag" ||
31825 test ! -s conftest.err
31826 } && test -s conftest.$ac_objext; then
31827 ac_cv_header_X11_Xlib_h=yes
31828 else
31829 echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31831
31832 ac_cv_header_X11_Xlib_h=no
31833 fi
31834
31835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31836 fi
31837 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31838 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31839
31840
31841 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31842 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31843 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31844 echo $ECHO_N "(cached) $ECHO_C" >&6
31845 else
31846 cat >conftest.$ac_ext <<_ACEOF
31847 /* confdefs.h. */
31848 _ACEOF
31849 cat confdefs.h >>conftest.$ac_ext
31850 cat >>conftest.$ac_ext <<_ACEOF
31851 /* end confdefs.h. */
31852
31853 #if HAVE_X11_XLIB_H
31854 #include <X11/Xlib.h>
31855 #endif
31856
31857
31858 #include <X11/XKBlib.h>
31859 _ACEOF
31860 rm -f conftest.$ac_objext
31861 if { (ac_try="$ac_compile"
31862 case "(($ac_try" in
31863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31864 *) ac_try_echo=$ac_try;;
31865 esac
31866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31867 (eval "$ac_compile") 2>conftest.er1
31868 ac_status=$?
31869 grep -v '^ *+' conftest.er1 >conftest.err
31870 rm -f conftest.er1
31871 cat conftest.err >&5
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); } && {
31874 test -z "$ac_c_werror_flag" ||
31875 test ! -s conftest.err
31876 } && test -s conftest.$ac_objext; then
31877 ac_cv_header_X11_XKBlib_h=yes
31878 else
31879 echo "$as_me: failed program was:" >&5
31880 sed 's/^/| /' conftest.$ac_ext >&5
31881
31882 ac_cv_header_X11_XKBlib_h=no
31883 fi
31884
31885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31886 fi
31887 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31888 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31889
31890
31891 fi
31892 fi
31893
31894
31895
31896 IODBC_C_SRC=""
31897
31898
31899 if test "$TOOLKIT" != "MSW" ; then
31900
31901 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31902
31903 { echo "$as_me:$LINENO: checking for sql.h" >&5
31904 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31905 if test "${ac_cv_header_sql_h+set}" = set; then
31906 echo $ECHO_N "(cached) $ECHO_C" >&6
31907 else
31908 cat >conftest.$ac_ext <<_ACEOF
31909 /* confdefs.h. */
31910 _ACEOF
31911 cat confdefs.h >>conftest.$ac_ext
31912 cat >>conftest.$ac_ext <<_ACEOF
31913 /* end confdefs.h. */
31914
31915
31916 #include <sql.h>
31917 _ACEOF
31918 rm -f conftest.$ac_objext
31919 if { (ac_try="$ac_compile"
31920 case "(($ac_try" in
31921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31922 *) ac_try_echo=$ac_try;;
31923 esac
31924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31925 (eval "$ac_compile") 2>conftest.er1
31926 ac_status=$?
31927 grep -v '^ *+' conftest.er1 >conftest.err
31928 rm -f conftest.er1
31929 cat conftest.err >&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } && {
31932 test -z "$ac_c_werror_flag" ||
31933 test ! -s conftest.err
31934 } && test -s conftest.$ac_objext; then
31935 ac_cv_header_sql_h=yes
31936 else
31937 echo "$as_me: failed program was:" >&5
31938 sed 's/^/| /' conftest.$ac_ext >&5
31939
31940 ac_cv_header_sql_h=no
31941 fi
31942
31943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31944 fi
31945 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31946 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31947 if test $ac_cv_header_sql_h = yes; then
31948 found_sql_h=1
31949 fi
31950
31951
31952 if test "x$found_sql_h" = "x1" ; then
31953 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31954 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31955 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31956 echo $ECHO_N "(cached) $ECHO_C" >&6
31957 else
31958 ac_check_lib_save_LIBS=$LIBS
31959 LIBS="-liodbc $LIBS"
31960 cat >conftest.$ac_ext <<_ACEOF
31961 /* confdefs.h. */
31962 _ACEOF
31963 cat confdefs.h >>conftest.$ac_ext
31964 cat >>conftest.$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31966
31967 /* Override any GCC internal prototype to avoid an error.
31968 Use char because int might match the return type of a GCC
31969 builtin and then its argument prototype would still apply. */
31970 #ifdef __cplusplus
31971 extern "C"
31972 #endif
31973 char SQLAllocEnv ();
31974 int
31975 main ()
31976 {
31977 return SQLAllocEnv ();
31978 ;
31979 return 0;
31980 }
31981 _ACEOF
31982 rm -f conftest.$ac_objext conftest$ac_exeext
31983 if { (ac_try="$ac_link"
31984 case "(($ac_try" in
31985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31986 *) ac_try_echo=$ac_try;;
31987 esac
31988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31989 (eval "$ac_link") 2>conftest.er1
31990 ac_status=$?
31991 grep -v '^ *+' conftest.er1 >conftest.err
31992 rm -f conftest.er1
31993 cat conftest.err >&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); } && {
31996 test -z "$ac_c_werror_flag" ||
31997 test ! -s conftest.err
31998 } && test -s conftest$ac_exeext &&
31999 $as_test_x conftest$ac_exeext; then
32000 ac_cv_lib_iodbc_SQLAllocEnv=yes
32001 else
32002 echo "$as_me: failed program was:" >&5
32003 sed 's/^/| /' conftest.$ac_ext >&5
32004
32005 ac_cv_lib_iodbc_SQLAllocEnv=no
32006 fi
32007
32008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32009 conftest$ac_exeext conftest.$ac_ext
32010 LIBS=$ac_check_lib_save_LIBS
32011 fi
32012 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32013 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
32014 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32015 ODBC_LINK=" -liodbc"
32016 else
32017
32018 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32019 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
32020 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32021 echo $ECHO_N "(cached) $ECHO_C" >&6
32022 else
32023 ac_check_lib_save_LIBS=$LIBS
32024 LIBS="-lunixodbc $LIBS"
32025 cat >conftest.$ac_ext <<_ACEOF
32026 /* confdefs.h. */
32027 _ACEOF
32028 cat confdefs.h >>conftest.$ac_ext
32029 cat >>conftest.$ac_ext <<_ACEOF
32030 /* end confdefs.h. */
32031
32032 /* Override any GCC internal prototype to avoid an error.
32033 Use char because int might match the return type of a GCC
32034 builtin and then its argument prototype would still apply. */
32035 #ifdef __cplusplus
32036 extern "C"
32037 #endif
32038 char SQLAllocEnv ();
32039 int
32040 main ()
32041 {
32042 return SQLAllocEnv ();
32043 ;
32044 return 0;
32045 }
32046 _ACEOF
32047 rm -f conftest.$ac_objext conftest$ac_exeext
32048 if { (ac_try="$ac_link"
32049 case "(($ac_try" in
32050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32051 *) ac_try_echo=$ac_try;;
32052 esac
32053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32054 (eval "$ac_link") 2>conftest.er1
32055 ac_status=$?
32056 grep -v '^ *+' conftest.er1 >conftest.err
32057 rm -f conftest.er1
32058 cat conftest.err >&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); } && {
32061 test -z "$ac_c_werror_flag" ||
32062 test ! -s conftest.err
32063 } && test -s conftest$ac_exeext &&
32064 $as_test_x conftest$ac_exeext; then
32065 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32066 else
32067 echo "$as_me: failed program was:" >&5
32068 sed 's/^/| /' conftest.$ac_ext >&5
32069
32070 ac_cv_lib_unixodbc_SQLAllocEnv=no
32071 fi
32072
32073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32074 conftest$ac_exeext conftest.$ac_ext
32075 LIBS=$ac_check_lib_save_LIBS
32076 fi
32077 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32078 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32079 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32080 ODBC_LINK=" -lunixodbc"
32081 else
32082
32083 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32084 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32085 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32086 echo $ECHO_N "(cached) $ECHO_C" >&6
32087 else
32088 ac_check_lib_save_LIBS=$LIBS
32089 LIBS="-lodbc $LIBS"
32090 cat >conftest.$ac_ext <<_ACEOF
32091 /* confdefs.h. */
32092 _ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096
32097 /* Override any GCC internal prototype to avoid an error.
32098 Use char because int might match the return type of a GCC
32099 builtin and then its argument prototype would still apply. */
32100 #ifdef __cplusplus
32101 extern "C"
32102 #endif
32103 char SQLAllocEnv ();
32104 int
32105 main ()
32106 {
32107 return SQLAllocEnv ();
32108 ;
32109 return 0;
32110 }
32111 _ACEOF
32112 rm -f conftest.$ac_objext conftest$ac_exeext
32113 if { (ac_try="$ac_link"
32114 case "(($ac_try" in
32115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32116 *) ac_try_echo=$ac_try;;
32117 esac
32118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32119 (eval "$ac_link") 2>conftest.er1
32120 ac_status=$?
32121 grep -v '^ *+' conftest.er1 >conftest.err
32122 rm -f conftest.er1
32123 cat conftest.err >&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } && {
32126 test -z "$ac_c_werror_flag" ||
32127 test ! -s conftest.err
32128 } && test -s conftest$ac_exeext &&
32129 $as_test_x conftest$ac_exeext; then
32130 ac_cv_lib_odbc_SQLAllocEnv=yes
32131 else
32132 echo "$as_me: failed program was:" >&5
32133 sed 's/^/| /' conftest.$ac_ext >&5
32134
32135 ac_cv_lib_odbc_SQLAllocEnv=no
32136 fi
32137
32138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32139 conftest$ac_exeext conftest.$ac_ext
32140 LIBS=$ac_check_lib_save_LIBS
32141 fi
32142 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32143 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32144 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32145 ODBC_LINK=" -lodbc"
32146 fi
32147
32148
32149 fi
32150
32151
32152 fi
32153
32154 fi
32155 if test "x$ODBC_LINK" = "x" ; then
32156 if test "$wxUSE_ODBC" = "sys" ; then
32157 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32158 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32159 { (exit 1); exit 1; }; }
32160 else
32161 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32162 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32163 wxUSE_ODBC=builtin
32164 fi
32165 else
32166 wxUSE_ODBC=sys
32167 fi
32168 fi
32169
32170 if test "$wxUSE_ODBC" = "builtin" ; then
32171 cat >>confdefs.h <<\_ACEOF
32172 #define wxUSE_BUILTIN_IODBC 1
32173 _ACEOF
32174
32175 fi
32176 fi
32177
32178 if test "$wxUSE_ODBC" != "no" ; then
32179 cat >>confdefs.h <<\_ACEOF
32180 #define wxUSE_ODBC 1
32181 _ACEOF
32182
32183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32184
32185 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32186 fi
32187
32188
32189 if test "$wxUSE_DISPLAY" = "yes"; then
32190 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32191 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32192 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32193
32194 ac_find_libraries=
32195 for ac_dir in $SEARCH_LIB;
32196 do
32197 for ac_extension in a so sl dylib dll.a; do
32198 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32199 ac_find_libraries=$ac_dir
32200 break 2
32201 fi
32202 done
32203 done
32204
32205 if test "$ac_find_libraries" != "" ; then
32206
32207 if test "$ac_find_libraries" = "default location"; then
32208 ac_path_to_link=""
32209 else
32210 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32211 result=$?
32212 if test $result = 0; then
32213 ac_path_to_link=""
32214 else
32215 ac_path_to_link=" -L$ac_find_libraries"
32216 fi
32217 fi
32218
32219 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32220 LDFLAGS="$LDFLAGS $ac_path_to_link"
32221 fi
32222 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32223 { echo "$as_me:$LINENO: result: yes" >&5
32224 echo "${ECHO_T}yes" >&6; }
32225
32226 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32227 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32228
32229 ac_find_libraries=
32230 for ac_dir in $SEARCH_LIB;
32231 do
32232 for ac_extension in a so sl dylib dll.a; do
32233 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32234 ac_find_libraries=$ac_dir
32235 break 2
32236 fi
32237 done
32238 done
32239
32240 if test "$ac_find_libraries" != "" ; then
32241 { echo "$as_me:$LINENO: result: yes" >&5
32242 echo "${ECHO_T}yes" >&6; }
32243 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32244 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32245 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32246 echo $ECHO_N "(cached) $ECHO_C" >&6
32247 else
32248 cat >conftest.$ac_ext <<_ACEOF
32249 /* confdefs.h. */
32250 _ACEOF
32251 cat confdefs.h >>conftest.$ac_ext
32252 cat >>conftest.$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32254
32255 #if HAVE_X11_XLIB_H
32256 #include <X11/Xlib.h>
32257 #endif
32258
32259
32260 #include <X11/extensions/xf86vmode.h>
32261 _ACEOF
32262 rm -f conftest.$ac_objext
32263 if { (ac_try="$ac_compile"
32264 case "(($ac_try" in
32265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32266 *) ac_try_echo=$ac_try;;
32267 esac
32268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32269 (eval "$ac_compile") 2>conftest.er1
32270 ac_status=$?
32271 grep -v '^ *+' conftest.er1 >conftest.err
32272 rm -f conftest.er1
32273 cat conftest.err >&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); } && {
32276 test -z "$ac_c_werror_flag" ||
32277 test ! -s conftest.err
32278 } && test -s conftest.$ac_objext; then
32279 ac_cv_header_X11_extensions_xf86vmode_h=yes
32280 else
32281 echo "$as_me: failed program was:" >&5
32282 sed 's/^/| /' conftest.$ac_ext >&5
32283
32284 ac_cv_header_X11_extensions_xf86vmode_h=no
32285 fi
32286
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288 fi
32289 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32290 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32291 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32292
32293 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32294
32295 fi
32296
32297
32298 else
32299 { echo "$as_me:$LINENO: result: no" >&5
32300 echo "${ECHO_T}no" >&6; }
32301 fi
32302
32303 else
32304 { echo "$as_me:$LINENO: result: no" >&5
32305 echo "${ECHO_T}no" >&6; }
32306 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32307 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32308 wxUSE_DISPLAY="no"
32309 fi
32310 elif test "$wxUSE_MSW" = 1; then
32311 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32312 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32313 if test "${ac_cv_header_ddraw_h+set}" = set; then
32314 echo $ECHO_N "(cached) $ECHO_C" >&6
32315 else
32316 cat >conftest.$ac_ext <<_ACEOF
32317 /* confdefs.h. */
32318 _ACEOF
32319 cat confdefs.h >>conftest.$ac_ext
32320 cat >>conftest.$ac_ext <<_ACEOF
32321 /* end confdefs.h. */
32322 #include <windows.h>
32323
32324 #include <ddraw.h>
32325 _ACEOF
32326 rm -f conftest.$ac_objext
32327 if { (ac_try="$ac_compile"
32328 case "(($ac_try" in
32329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32330 *) ac_try_echo=$ac_try;;
32331 esac
32332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32333 (eval "$ac_compile") 2>conftest.er1
32334 ac_status=$?
32335 grep -v '^ *+' conftest.er1 >conftest.err
32336 rm -f conftest.er1
32337 cat conftest.err >&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); } && {
32340 test -z "$ac_c_werror_flag" ||
32341 test ! -s conftest.err
32342 } && test -s conftest.$ac_objext; then
32343 ac_cv_header_ddraw_h=yes
32344 else
32345 echo "$as_me: failed program was:" >&5
32346 sed 's/^/| /' conftest.$ac_ext >&5
32347
32348 ac_cv_header_ddraw_h=no
32349 fi
32350
32351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32352 fi
32353 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32354 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32355
32356
32357 fi
32358 fi
32359
32360 if test "$wxUSE_DETECT_SM" = "yes"; then
32361 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32362 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32363 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32364
32365 ac_find_libraries=
32366 for ac_dir in $SEARCH_LIB;
32367 do
32368 for ac_extension in a so sl dylib dll.a; do
32369 if test -f "$ac_dir/libSM.$ac_extension"; then
32370 ac_find_libraries=$ac_dir
32371 break 2
32372 fi
32373 done
32374 done
32375
32376 if test "$ac_find_libraries" != "" ; then
32377
32378 if test "$ac_find_libraries" = "default location"; then
32379 ac_path_to_link=""
32380 else
32381 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32382 result=$?
32383 if test $result = 0; then
32384 ac_path_to_link=""
32385 else
32386 ac_path_to_link=" -L$ac_find_libraries"
32387 fi
32388 fi
32389
32390 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32391 LDFLAGS="$LDFLAGS $ac_path_to_link"
32392 fi
32393 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32394 { echo "$as_me:$LINENO: result: yes" >&5
32395 echo "${ECHO_T}yes" >&6; }
32396 else
32397 { echo "$as_me:$LINENO: result: no" >&5
32398 echo "${ECHO_T}no" >&6; }
32399 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32400 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32401 wxUSE_DETECT_SM="no"
32402 fi
32403 else
32404 wxUSE_DETECT_SM="no"
32405 fi
32406 fi
32407
32408
32409
32410 USE_OPENGL=0
32411 if test "$wxUSE_OPENGL" = "yes"; then
32412 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32413 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32414 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32415 wxUSE_OPENGL="no"
32416 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32417 OPENGL_LIBS="-framework OpenGL -framework AGL"
32418 elif test "$wxUSE_MSW" = 1; then
32419 OPENGL_LIBS="-lopengl32 -lglu32"
32420 else
32421 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32422 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32423
32424 ac_find_includes=
32425 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32426 do
32427 if test -f "$ac_dir/GL/gl.h"; then
32428 ac_find_includes=$ac_dir
32429 break
32430 fi
32431 done
32432
32433 if test "$ac_find_includes" != "" ; then
32434 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32435 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32436
32437 if test "x$ac_find_includes" = "x/usr/include"; then
32438 ac_path_to_include=""
32439 else
32440 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32441 result=$?
32442 if test $result = 0; then
32443 ac_path_to_include=""
32444 else
32445 ac_path_to_include=" -I$ac_find_includes"
32446 fi
32447 fi
32448
32449 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32450 else
32451 { echo "$as_me:$LINENO: result: not found" >&5
32452 echo "${ECHO_T}not found" >&6; }
32453 fi
32454
32455 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32456 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32457 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32458 echo $ECHO_N "(cached) $ECHO_C" >&6
32459 else
32460 cat >conftest.$ac_ext <<_ACEOF
32461 /* confdefs.h. */
32462 _ACEOF
32463 cat confdefs.h >>conftest.$ac_ext
32464 cat >>conftest.$ac_ext <<_ACEOF
32465 /* end confdefs.h. */
32466
32467
32468 #include <GL/gl.h>
32469 _ACEOF
32470 rm -f conftest.$ac_objext
32471 if { (ac_try="$ac_compile"
32472 case "(($ac_try" in
32473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32474 *) ac_try_echo=$ac_try;;
32475 esac
32476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32477 (eval "$ac_compile") 2>conftest.er1
32478 ac_status=$?
32479 grep -v '^ *+' conftest.er1 >conftest.err
32480 rm -f conftest.er1
32481 cat conftest.err >&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); } && {
32484 test -z "$ac_c_werror_flag" ||
32485 test ! -s conftest.err
32486 } && test -s conftest.$ac_objext; then
32487 ac_cv_header_GL_gl_h=yes
32488 else
32489 echo "$as_me: failed program was:" >&5
32490 sed 's/^/| /' conftest.$ac_ext >&5
32491
32492 ac_cv_header_GL_gl_h=no
32493 fi
32494
32495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32496 fi
32497 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32498 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32499 if test $ac_cv_header_GL_gl_h = yes; then
32500
32501 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32502 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32503 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32504 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32505 echo $ECHO_N "(cached) $ECHO_C" >&6
32506 fi
32507 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32508 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32509 else
32510 # Is the header compilable?
32511 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32512 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32513 cat >conftest.$ac_ext <<_ACEOF
32514 /* confdefs.h. */
32515 _ACEOF
32516 cat confdefs.h >>conftest.$ac_ext
32517 cat >>conftest.$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32519 $ac_includes_default
32520 #include <GL/glu.h>
32521 _ACEOF
32522 rm -f conftest.$ac_objext
32523 if { (ac_try="$ac_compile"
32524 case "(($ac_try" in
32525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32526 *) ac_try_echo=$ac_try;;
32527 esac
32528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32529 (eval "$ac_compile") 2>conftest.er1
32530 ac_status=$?
32531 grep -v '^ *+' conftest.er1 >conftest.err
32532 rm -f conftest.er1
32533 cat conftest.err >&5
32534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32535 (exit $ac_status); } && {
32536 test -z "$ac_c_werror_flag" ||
32537 test ! -s conftest.err
32538 } && test -s conftest.$ac_objext; then
32539 ac_header_compiler=yes
32540 else
32541 echo "$as_me: failed program was:" >&5
32542 sed 's/^/| /' conftest.$ac_ext >&5
32543
32544 ac_header_compiler=no
32545 fi
32546
32547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32548 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32549 echo "${ECHO_T}$ac_header_compiler" >&6; }
32550
32551 # Is the header present?
32552 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32553 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32554 cat >conftest.$ac_ext <<_ACEOF
32555 /* confdefs.h. */
32556 _ACEOF
32557 cat confdefs.h >>conftest.$ac_ext
32558 cat >>conftest.$ac_ext <<_ACEOF
32559 /* end confdefs.h. */
32560 #include <GL/glu.h>
32561 _ACEOF
32562 if { (ac_try="$ac_cpp conftest.$ac_ext"
32563 case "(($ac_try" in
32564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32565 *) ac_try_echo=$ac_try;;
32566 esac
32567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32569 ac_status=$?
32570 grep -v '^ *+' conftest.er1 >conftest.err
32571 rm -f conftest.er1
32572 cat conftest.err >&5
32573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32574 (exit $ac_status); } >/dev/null && {
32575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32576 test ! -s conftest.err
32577 }; then
32578 ac_header_preproc=yes
32579 else
32580 echo "$as_me: failed program was:" >&5
32581 sed 's/^/| /' conftest.$ac_ext >&5
32582
32583 ac_header_preproc=no
32584 fi
32585
32586 rm -f conftest.err conftest.$ac_ext
32587 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32588 echo "${ECHO_T}$ac_header_preproc" >&6; }
32589
32590 # So? What about this header?
32591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32592 yes:no: )
32593 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32594 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32595 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32596 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32597 ac_header_preproc=yes
32598 ;;
32599 no:yes:* )
32600 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32601 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32602 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32603 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32604 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32605 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32606 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32607 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32608 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32609 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32610 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32611 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32612 ( cat <<\_ASBOX
32613 ## ----------------------------------------- ##
32614 ## Report this to wx-dev@lists.wxwidgets.org ##
32615 ## ----------------------------------------- ##
32616 _ASBOX
32617 ) | sed "s/^/$as_me: WARNING: /" >&2
32618 ;;
32619 esac
32620 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32621 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32622 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 else
32625 ac_cv_header_GL_glu_h=$ac_header_preproc
32626 fi
32627 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32628 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32629
32630 fi
32631 if test $ac_cv_header_GL_glu_h = yes; then
32632
32633 found_gl=0
32634
32635 { echo "$as_me:$LINENO: checking for -lGL" >&5
32636 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32637
32638 ac_find_libraries=
32639 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32640 do
32641 for ac_extension in a so sl dylib dll.a; do
32642 if test -f "$ac_dir/libGL.$ac_extension"; then
32643 ac_find_libraries=$ac_dir
32644 break 2
32645 fi
32646 done
32647 done
32648
32649 if test "$ac_find_libraries" != "" ; then
32650 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32651 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32652
32653
32654 if test "$ac_find_libraries" = "default location"; then
32655 ac_path_to_link=""
32656 else
32657 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32658 result=$?
32659 if test $result = 0; then
32660 ac_path_to_link=""
32661 else
32662 ac_path_to_link=" -L$ac_find_libraries"
32663 fi
32664 fi
32665
32666 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32667 LDFLAGS_GL="$ac_path_to_link"
32668 fi
32669
32670 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32671 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32672
32673 ac_find_libraries=
32674 for ac_dir in $SEARCH_LIB;
32675 do
32676 for ac_extension in a so sl dylib dll.a; do
32677 if test -f "$ac_dir/libGLU.$ac_extension"; then
32678 ac_find_libraries=$ac_dir
32679 break 2
32680 fi
32681 done
32682 done
32683
32684 if test "$ac_find_libraries" != "" ; then
32685
32686 if test "$ac_find_libraries" = "default location"; then
32687 ac_path_to_link=""
32688 else
32689 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32690 result=$?
32691 if test $result = 0; then
32692 ac_path_to_link=""
32693 else
32694 ac_path_to_link=" -L$ac_find_libraries"
32695 fi
32696 fi
32697
32698 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32699 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32700 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32701 fi
32702
32703 found_gl=1
32704 OPENGL_LIBS="-lGL -lGLU"
32705 { echo "$as_me:$LINENO: result: yes" >&5
32706 echo "${ECHO_T}yes" >&6; }
32707 else
32708 { echo "$as_me:$LINENO: result: no" >&5
32709 echo "${ECHO_T}no" >&6; }
32710 fi
32711 else
32712 { echo "$as_me:$LINENO: result: no" >&5
32713 echo "${ECHO_T}no" >&6; }
32714 fi
32715
32716 if test "$found_gl" != 1; then
32717 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32718 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32719
32720 ac_find_libraries=
32721 for ac_dir in $SEARCH_LIB;
32722 do
32723 for ac_extension in a so sl dylib dll.a; do
32724 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32725 ac_find_libraries=$ac_dir
32726 break 2
32727 fi
32728 done
32729 done
32730
32731 if test "$ac_find_libraries" != "" ; then
32732
32733 if test "$ac_find_libraries" = "default location"; then
32734 ac_path_to_link=""
32735 else
32736 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32737 result=$?
32738 if test $result = 0; then
32739 ac_path_to_link=""
32740 else
32741 ac_path_to_link=" -L$ac_find_libraries"
32742 fi
32743 fi
32744
32745 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32746 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32747 { echo "$as_me:$LINENO: result: yes" >&5
32748 echo "${ECHO_T}yes" >&6; }
32749 else
32750 { echo "$as_me:$LINENO: result: no" >&5
32751 echo "${ECHO_T}no" >&6; }
32752 fi
32753 fi
32754
32755 fi
32756
32757
32758
32759 fi
32760
32761
32762
32763 if test "x$OPENGL_LIBS" = "x"; then
32764 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32765 echo "$as_me: error: OpenGL libraries not available" >&2;}
32766 { (exit 1); exit 1; }; }
32767 fi
32768 fi
32769
32770 if test "$wxUSE_OPENGL" = "yes"; then
32771 USE_OPENGL=1
32772 cat >>confdefs.h <<\_ACEOF
32773 #define wxUSE_OPENGL 1
32774 _ACEOF
32775
32776 cat >>confdefs.h <<\_ACEOF
32777 #define wxUSE_GLCANVAS 1
32778 _ACEOF
32779
32780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32781 fi
32782 fi
32783
32784
32785 if test -n "$TOOLKIT" ; then
32786 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32787 fi
32788
32789
32790
32791 if test "$wxUSE_SHARED" = "yes"; then
32792 case "${host}" in
32793 *-pc-msdosdjgpp )
32794 wxUSE_SHARED=no
32795 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32796 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32797 ;;
32798 esac
32799 fi
32800
32801 if test "$wxUSE_SHARED" = "yes"; then
32802
32803
32804 case "${host}" in
32805 *-*-cygwin* | *-*-mingw* )
32806 wx_cv_version_script=no
32807 ;;
32808
32809 *)
32810 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32811 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32812 if test "${wx_cv_version_script+set}" = set; then
32813 echo $ECHO_N "(cached) $ECHO_C" >&6
32814 else
32815
32816 echo "VER_1 { *; };" >conftest.sym
32817 echo "int main() { return 0; }" >conftest.cpp
32818
32819 if { ac_try='
32820 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32821 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32823 (eval $ac_try) 2>&5
32824 ac_status=$?
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); }; } ; then
32827 if test -s conftest.stderr ; then
32828 wx_cv_version_script=no
32829 else
32830 wx_cv_version_script=yes
32831 fi
32832 else
32833 wx_cv_version_script=no
32834 fi
32835
32836 if test $wx_cv_version_script = yes
32837 then
32838 echo "struct B { virtual ~B() { } }; \
32839 struct D : public B { }; \
32840 void F() { D d; }" > conftest.cpp
32841
32842 if { ac_try='
32843 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32844 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32846 (eval $ac_try) 2>&5
32847 ac_status=$?
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); }; } &&
32850 { ac_try='
32851 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32852 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32854 (eval $ac_try) 2>&5
32855 ac_status=$?
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); }; }
32858 then
32859 if { ac_try='
32860 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32861 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32863 (eval $ac_try) 2>&5
32864 ac_status=$?
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); }; }
32867 then
32868 wx_cv_version_script=yes
32869 else
32870 wx_cv_version_script=no
32871 fi
32872 fi
32873 fi
32874
32875 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32876 rm -f conftest1.output conftest2.output conftest3.output
32877
32878 fi
32879 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32880 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32881
32882 if test $wx_cv_version_script = yes ; then
32883 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32884 fi
32885 ;;
32886 esac
32887
32888
32889 case "${host}" in
32890 *-*-linux* | *-*-gnu* )
32891 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32892 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32893 ;;
32894
32895 *-*-solaris2* )
32896 if test "$GCC" = yes ; then
32897 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32898
32899 saveLdflags="$LDFLAGS"
32900 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32901 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32902 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32903 cat >conftest.$ac_ext <<_ACEOF
32904 /* confdefs.h. */
32905 _ACEOF
32906 cat confdefs.h >>conftest.$ac_ext
32907 cat >>conftest.$ac_ext <<_ACEOF
32908 /* end confdefs.h. */
32909
32910 int
32911 main ()
32912 {
32913
32914 ;
32915 return 0;
32916 }
32917 _ACEOF
32918 rm -f conftest.$ac_objext conftest$ac_exeext
32919 if { (ac_try="$ac_link"
32920 case "(($ac_try" in
32921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32922 *) ac_try_echo=$ac_try;;
32923 esac
32924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32925 (eval "$ac_link") 2>conftest.er1
32926 ac_status=$?
32927 grep -v '^ *+' conftest.er1 >conftest.err
32928 rm -f conftest.er1
32929 cat conftest.err >&5
32930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32931 (exit $ac_status); } && {
32932 test -z "$ac_c_werror_flag" ||
32933 test ! -s conftest.err
32934 } && test -s conftest$ac_exeext &&
32935 $as_test_x conftest$ac_exeext; then
32936
32937 { echo "$as_me:$LINENO: result: yes" >&5
32938 echo "${ECHO_T}yes" >&6; }
32939 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32940 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32941
32942 else
32943 echo "$as_me: failed program was:" >&5
32944 sed 's/^/| /' conftest.$ac_ext >&5
32945
32946
32947 { echo "$as_me:$LINENO: result: no" >&5
32948 echo "${ECHO_T}no" >&6; }
32949 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32950 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32951 LDFLAGS="$saveLdflags -Wl,-R,/"
32952 cat >conftest.$ac_ext <<_ACEOF
32953 /* confdefs.h. */
32954 _ACEOF
32955 cat confdefs.h >>conftest.$ac_ext
32956 cat >>conftest.$ac_ext <<_ACEOF
32957 /* end confdefs.h. */
32958
32959 int
32960 main ()
32961 {
32962
32963 ;
32964 return 0;
32965 }
32966 _ACEOF
32967 rm -f conftest.$ac_objext conftest$ac_exeext
32968 if { (ac_try="$ac_link"
32969 case "(($ac_try" in
32970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32971 *) ac_try_echo=$ac_try;;
32972 esac
32973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32974 (eval "$ac_link") 2>conftest.er1
32975 ac_status=$?
32976 grep -v '^ *+' conftest.er1 >conftest.err
32977 rm -f conftest.er1
32978 cat conftest.err >&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); } && {
32981 test -z "$ac_c_werror_flag" ||
32982 test ! -s conftest.err
32983 } && test -s conftest$ac_exeext &&
32984 $as_test_x conftest$ac_exeext; then
32985
32986 { echo "$as_me:$LINENO: result: yes" >&5
32987 echo "${ECHO_T}yes" >&6; }
32988 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32989 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32990
32991 else
32992 echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.$ac_ext >&5
32994
32995
32996 { echo "$as_me:$LINENO: result: no" >&5
32997 echo "${ECHO_T}no" >&6; }
32998
32999 fi
33000
33001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33002 conftest$ac_exeext conftest.$ac_ext
33003
33004 fi
33005
33006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33007 conftest$ac_exeext conftest.$ac_ext
33008 LDFLAGS="$saveLdflags"
33009 else
33010 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33011 WXCONFIG_RPATH="-R\$libdir"
33012 fi
33013 ;;
33014
33015 *-*-darwin* )
33016 install_name_tool=`which install_name_tool`
33017 if test "$install_name_tool" -a -x "$install_name_tool"; then
33018 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33019 cat <<EOF >change-install-names
33020 #!/bin/sh
33021 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33022 inst_cmd="install_name_tool "
33023 for i in \${libnames} ; do
33024 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33025 done
33026 \${inst_cmd} \${3}
33027 EOF
33028 chmod +x change-install-names
33029 fi
33030 ;;
33031
33032 *-*-cygwin* | *-*-mingw32* )
33033 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33034 ;;
33035
33036 *-*-hpux* )
33037 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33038 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33039 ;;
33040
33041 esac
33042
33043 if test $wxUSE_RPATH = "no"; then
33044 SAMPLES_RPATH_FLAG=''
33045 SAMPLES_RPATH_POSTLINK=''
33046 WXCONFIG_RPATH=''
33047 fi
33048
33049 SHARED=1
33050
33051 else
33052
33053 config_linkage_component="-static"
33054 SHARED=0
33055
33056 fi
33057
33058
33059 UNICODE=0
33060 lib_unicode_suffix=
33061 WX_CHARTYPE="ansi"
33062 if test "$wxUSE_UNICODE" = "yes"; then
33063 lib_unicode_suffix=u
33064 WX_CHARTYPE="unicode"
33065 UNICODE=1
33066 fi
33067
33068 lib_debug_suffix=
33069 WX_DEBUGTYPE="release"
33070 DEBUG_FLAG=0
33071 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33072 lib_debug_suffix=d
33073 WX_DEBUGTYPE="debug"
33074 DEBUG_FLAG=1
33075 fi
33076
33077 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33078 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33079
33080 DEBUG_INFO=0
33081 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33082 DEBUG_INFO=1
33083 fi
33084
33085 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33086
33087 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33088
33089 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33090
33091 if test "$cross_compiling" = "yes"; then
33092 HOST_SUFFIX="-$host_alias"
33093 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33094 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33095 fi
33096
33097 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33098 if test "${TOOLKIT_DIR}" = "os2"; then
33099 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33100 else
33101 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33102 fi
33103
33104
33105
33106 if test "$wxUSE_COCOA" = 1; then
33107
33108 ac_ext=c
33109 ac_cpp='$CPP $CPPFLAGS'
33110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33113
33114 ac_ext=m
33115
33116 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33117 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33118 cat >conftest.$ac_ext <<_ACEOF
33119 /* confdefs.h. */
33120 _ACEOF
33121 cat confdefs.h >>conftest.$ac_ext
33122 cat >>conftest.$ac_ext <<_ACEOF
33123 /* end confdefs.h. */
33124 #include <AppKit/NSEvent.h>
33125 #include <CoreFoundation/CoreFoundation.h>
33126
33127 int
33128 main ()
33129 {
33130
33131 ;
33132 return 0;
33133 }
33134 _ACEOF
33135 rm -f conftest.$ac_objext
33136 if { (ac_try="$ac_compile"
33137 case "(($ac_try" in
33138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33139 *) ac_try_echo=$ac_try;;
33140 esac
33141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33142 (eval "$ac_compile") 2>conftest.er1
33143 ac_status=$?
33144 grep -v '^ *+' conftest.er1 >conftest.err
33145 rm -f conftest.er1
33146 cat conftest.err >&5
33147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33148 (exit $ac_status); } && {
33149 test -z "$ac_c_werror_flag" ||
33150 test ! -s conftest.err
33151 } && test -s conftest.$ac_objext; then
33152 { echo "$as_me:$LINENO: result: no" >&5
33153 echo "${ECHO_T}no" >&6; }
33154 else
33155 echo "$as_me: failed program was:" >&5
33156 sed 's/^/| /' conftest.$ac_ext >&5
33157
33158 { echo "$as_me:$LINENO: result: yes" >&5
33159 echo "${ECHO_T}yes" >&6; }
33160 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33161 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33162 cat >conftest.$ac_ext <<_ACEOF
33163 /* confdefs.h. */
33164 _ACEOF
33165 cat confdefs.h >>conftest.$ac_ext
33166 cat >>conftest.$ac_ext <<_ACEOF
33167 /* end confdefs.h. */
33168 #define __Point__ 1
33169 #include <AppKit/NSEvent.h>
33170 #include <CoreFoundation/CoreFoundation.h>
33171
33172 int
33173 main ()
33174 {
33175
33176 ;
33177 return 0;
33178 }
33179 _ACEOF
33180 rm -f conftest.$ac_objext
33181 if { (ac_try="$ac_compile"
33182 case "(($ac_try" in
33183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33184 *) ac_try_echo=$ac_try;;
33185 esac
33186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33187 (eval "$ac_compile") 2>conftest.er1
33188 ac_status=$?
33189 grep -v '^ *+' conftest.er1 >conftest.err
33190 rm -f conftest.er1
33191 cat conftest.err >&5
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); } && {
33194 test -z "$ac_c_werror_flag" ||
33195 test ! -s conftest.err
33196 } && test -s conftest.$ac_objext; then
33197 { echo "$as_me:$LINENO: result: yes" >&5
33198 echo "${ECHO_T}yes" >&6; }
33199 cat >>confdefs.h <<\_ACEOF
33200 #define __Point__ 1
33201 _ACEOF
33202
33203
33204 else
33205 echo "$as_me: failed program was:" >&5
33206 sed 's/^/| /' conftest.$ac_ext >&5
33207
33208 { { echo "$as_me:$LINENO: error: no
33209 See \`config.log' for more details." >&5
33210 echo "$as_me: error: no
33211 See \`config.log' for more details." >&2;}
33212 { (exit 1); exit 1; }; }
33213
33214 fi
33215
33216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33217
33218 fi
33219
33220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33221 ac_ext=c
33222 ac_cpp='$CPP $CPPFLAGS'
33223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33226
33227 fi
33228
33229 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33230 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33231 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33232
33233 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33234
33235 # Extract the first word of "Rez", so it can be a program name with args.
33236 set dummy Rez; ac_word=$2
33237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33239 if test "${ac_cv_prog_REZ+set}" = set; then
33240 echo $ECHO_N "(cached) $ECHO_C" >&6
33241 else
33242 if test -n "$REZ"; then
33243 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33244 else
33245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33246 for as_dir in $PATH
33247 do
33248 IFS=$as_save_IFS
33249 test -z "$as_dir" && as_dir=.
33250 for ac_exec_ext in '' $ac_executable_extensions; do
33251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33252 ac_cv_prog_REZ="Rez"
33253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33254 break 2
33255 fi
33256 done
33257 done
33258 IFS=$as_save_IFS
33259
33260 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33261 fi
33262 fi
33263 REZ=$ac_cv_prog_REZ
33264 if test -n "$REZ"; then
33265 { echo "$as_me:$LINENO: result: $REZ" >&5
33266 echo "${ECHO_T}$REZ" >&6; }
33267 else
33268 { echo "$as_me:$LINENO: result: no" >&5
33269 echo "${ECHO_T}no" >&6; }
33270 fi
33271
33272
33273 # Extract the first word of "DeRez", so it can be a program name with args.
33274 set dummy DeRez; ac_word=$2
33275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33277 if test "${ac_cv_prog_DEREZ+set}" = set; then
33278 echo $ECHO_N "(cached) $ECHO_C" >&6
33279 else
33280 if test -n "$DEREZ"; then
33281 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33282 else
33283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33284 for as_dir in $PATH
33285 do
33286 IFS=$as_save_IFS
33287 test -z "$as_dir" && as_dir=.
33288 for ac_exec_ext in '' $ac_executable_extensions; do
33289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33290 ac_cv_prog_DEREZ="DeRez"
33291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33292 break 2
33293 fi
33294 done
33295 done
33296 IFS=$as_save_IFS
33297
33298 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33299 fi
33300 fi
33301 DEREZ=$ac_cv_prog_DEREZ
33302 if test -n "$DEREZ"; then
33303 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33304 echo "${ECHO_T}$DEREZ" >&6; }
33305 else
33306 { echo "$as_me:$LINENO: result: no" >&5
33307 echo "${ECHO_T}no" >&6; }
33308 fi
33309
33310
33311 # Extract the first word of "SetFile", so it can be a program name with args.
33312 set dummy SetFile; ac_word=$2
33313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33315 if test "${ac_cv_prog_SETFILE+set}" = set; then
33316 echo $ECHO_N "(cached) $ECHO_C" >&6
33317 else
33318 if test -n "$SETFILE"; then
33319 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33320 else
33321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33322 for as_dir in $PATH
33323 do
33324 IFS=$as_save_IFS
33325 test -z "$as_dir" && as_dir=.
33326 for ac_exec_ext in '' $ac_executable_extensions; do
33327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33328 ac_cv_prog_SETFILE="SetFile"
33329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33330 break 2
33331 fi
33332 done
33333 done
33334 IFS=$as_save_IFS
33335
33336 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33337 fi
33338 fi
33339 SETFILE=$ac_cv_prog_SETFILE
33340 if test -n "$SETFILE"; then
33341 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33342 echo "${ECHO_T}$SETFILE" >&6; }
33343 else
33344 { echo "$as_me:$LINENO: result: no" >&5
33345 echo "${ECHO_T}no" >&6; }
33346 fi
33347
33348
33349
33350 MACSETFILE="\$(SETFILE)"
33351
33352 if test "$wxUSE_MAC" = 1; then
33353 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33354 RESCOMP="$REZ"
33355 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33356 else
33357 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33358 RESCOMP="echo -n \| $REZ"
33359 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33360 fi
33361
33362 else
33363 MACSETFILE="@true"
33364
33365 if test "$wxUSE_PM" = 1; then
33366 RESCOMP="emxbind"
33367 WXCONFIG_RESFLAGS="-ep"
33368
33369 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33370 else
33371 POSTLINK_COMMAND="@true"
33372 fi
33373
33374 fi
33375
33376
33377
33378 { echo "$as_me:$LINENO: checking for mode_t" >&5
33379 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33380 if test "${ac_cv_type_mode_t+set}" = set; then
33381 echo $ECHO_N "(cached) $ECHO_C" >&6
33382 else
33383 cat >conftest.$ac_ext <<_ACEOF
33384 /* confdefs.h. */
33385 _ACEOF
33386 cat confdefs.h >>conftest.$ac_ext
33387 cat >>conftest.$ac_ext <<_ACEOF
33388 /* end confdefs.h. */
33389 $ac_includes_default
33390 typedef mode_t ac__type_new_;
33391 int
33392 main ()
33393 {
33394 if ((ac__type_new_ *) 0)
33395 return 0;
33396 if (sizeof (ac__type_new_))
33397 return 0;
33398 ;
33399 return 0;
33400 }
33401 _ACEOF
33402 rm -f conftest.$ac_objext
33403 if { (ac_try="$ac_compile"
33404 case "(($ac_try" in
33405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33406 *) ac_try_echo=$ac_try;;
33407 esac
33408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33409 (eval "$ac_compile") 2>conftest.er1
33410 ac_status=$?
33411 grep -v '^ *+' conftest.er1 >conftest.err
33412 rm -f conftest.er1
33413 cat conftest.err >&5
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); } && {
33416 test -z "$ac_c_werror_flag" ||
33417 test ! -s conftest.err
33418 } && test -s conftest.$ac_objext; then
33419 ac_cv_type_mode_t=yes
33420 else
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.$ac_ext >&5
33423
33424 ac_cv_type_mode_t=no
33425 fi
33426
33427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33428 fi
33429 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33430 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33431 if test $ac_cv_type_mode_t = yes; then
33432 :
33433 else
33434
33435 cat >>confdefs.h <<_ACEOF
33436 #define mode_t int
33437 _ACEOF
33438
33439 fi
33440
33441 { echo "$as_me:$LINENO: checking for off_t" >&5
33442 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33443 if test "${ac_cv_type_off_t+set}" = set; then
33444 echo $ECHO_N "(cached) $ECHO_C" >&6
33445 else
33446 cat >conftest.$ac_ext <<_ACEOF
33447 /* confdefs.h. */
33448 _ACEOF
33449 cat confdefs.h >>conftest.$ac_ext
33450 cat >>conftest.$ac_ext <<_ACEOF
33451 /* end confdefs.h. */
33452 $ac_includes_default
33453 typedef off_t ac__type_new_;
33454 int
33455 main ()
33456 {
33457 if ((ac__type_new_ *) 0)
33458 return 0;
33459 if (sizeof (ac__type_new_))
33460 return 0;
33461 ;
33462 return 0;
33463 }
33464 _ACEOF
33465 rm -f conftest.$ac_objext
33466 if { (ac_try="$ac_compile"
33467 case "(($ac_try" in
33468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33469 *) ac_try_echo=$ac_try;;
33470 esac
33471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33472 (eval "$ac_compile") 2>conftest.er1
33473 ac_status=$?
33474 grep -v '^ *+' conftest.er1 >conftest.err
33475 rm -f conftest.er1
33476 cat conftest.err >&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); } && {
33479 test -z "$ac_c_werror_flag" ||
33480 test ! -s conftest.err
33481 } && test -s conftest.$ac_objext; then
33482 ac_cv_type_off_t=yes
33483 else
33484 echo "$as_me: failed program was:" >&5
33485 sed 's/^/| /' conftest.$ac_ext >&5
33486
33487 ac_cv_type_off_t=no
33488 fi
33489
33490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33491 fi
33492 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33493 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33494 if test $ac_cv_type_off_t = yes; then
33495 :
33496 else
33497
33498 cat >>confdefs.h <<_ACEOF
33499 #define off_t long int
33500 _ACEOF
33501
33502 fi
33503
33504 { echo "$as_me:$LINENO: checking for pid_t" >&5
33505 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33506 if test "${ac_cv_type_pid_t+set}" = set; then
33507 echo $ECHO_N "(cached) $ECHO_C" >&6
33508 else
33509 cat >conftest.$ac_ext <<_ACEOF
33510 /* confdefs.h. */
33511 _ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 $ac_includes_default
33516 typedef pid_t ac__type_new_;
33517 int
33518 main ()
33519 {
33520 if ((ac__type_new_ *) 0)
33521 return 0;
33522 if (sizeof (ac__type_new_))
33523 return 0;
33524 ;
33525 return 0;
33526 }
33527 _ACEOF
33528 rm -f conftest.$ac_objext
33529 if { (ac_try="$ac_compile"
33530 case "(($ac_try" in
33531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33532 *) ac_try_echo=$ac_try;;
33533 esac
33534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33535 (eval "$ac_compile") 2>conftest.er1
33536 ac_status=$?
33537 grep -v '^ *+' conftest.er1 >conftest.err
33538 rm -f conftest.er1
33539 cat conftest.err >&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } && {
33542 test -z "$ac_c_werror_flag" ||
33543 test ! -s conftest.err
33544 } && test -s conftest.$ac_objext; then
33545 ac_cv_type_pid_t=yes
33546 else
33547 echo "$as_me: failed program was:" >&5
33548 sed 's/^/| /' conftest.$ac_ext >&5
33549
33550 ac_cv_type_pid_t=no
33551 fi
33552
33553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33554 fi
33555 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33556 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33557 if test $ac_cv_type_pid_t = yes; then
33558 :
33559 else
33560
33561 cat >>confdefs.h <<_ACEOF
33562 #define pid_t int
33563 _ACEOF
33564
33565 fi
33566
33567 { echo "$as_me:$LINENO: checking for size_t" >&5
33568 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33569 if test "${ac_cv_type_size_t+set}" = set; then
33570 echo $ECHO_N "(cached) $ECHO_C" >&6
33571 else
33572 cat >conftest.$ac_ext <<_ACEOF
33573 /* confdefs.h. */
33574 _ACEOF
33575 cat confdefs.h >>conftest.$ac_ext
33576 cat >>conftest.$ac_ext <<_ACEOF
33577 /* end confdefs.h. */
33578 $ac_includes_default
33579 typedef size_t ac__type_new_;
33580 int
33581 main ()
33582 {
33583 if ((ac__type_new_ *) 0)
33584 return 0;
33585 if (sizeof (ac__type_new_))
33586 return 0;
33587 ;
33588 return 0;
33589 }
33590 _ACEOF
33591 rm -f conftest.$ac_objext
33592 if { (ac_try="$ac_compile"
33593 case "(($ac_try" in
33594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33595 *) ac_try_echo=$ac_try;;
33596 esac
33597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33598 (eval "$ac_compile") 2>conftest.er1
33599 ac_status=$?
33600 grep -v '^ *+' conftest.er1 >conftest.err
33601 rm -f conftest.er1
33602 cat conftest.err >&5
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); } && {
33605 test -z "$ac_c_werror_flag" ||
33606 test ! -s conftest.err
33607 } && test -s conftest.$ac_objext; then
33608 ac_cv_type_size_t=yes
33609 else
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.$ac_ext >&5
33612
33613 ac_cv_type_size_t=no
33614 fi
33615
33616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33617 fi
33618 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33619 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33620 if test $ac_cv_type_size_t = yes; then
33621 :
33622 else
33623
33624 cat >>confdefs.h <<_ACEOF
33625 #define size_t unsigned int
33626 _ACEOF
33627
33628 fi
33629
33630 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33631 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33632 if test "${ac_cv_type_uid_t+set}" = set; then
33633 echo $ECHO_N "(cached) $ECHO_C" >&6
33634 else
33635 cat >conftest.$ac_ext <<_ACEOF
33636 /* confdefs.h. */
33637 _ACEOF
33638 cat confdefs.h >>conftest.$ac_ext
33639 cat >>conftest.$ac_ext <<_ACEOF
33640 /* end confdefs.h. */
33641 #include <sys/types.h>
33642
33643 _ACEOF
33644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33645 $EGREP "uid_t" >/dev/null 2>&1; then
33646 ac_cv_type_uid_t=yes
33647 else
33648 ac_cv_type_uid_t=no
33649 fi
33650 rm -f conftest*
33651
33652 fi
33653 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33654 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33655 if test $ac_cv_type_uid_t = no; then
33656
33657 cat >>confdefs.h <<\_ACEOF
33658 #define uid_t int
33659 _ACEOF
33660
33661
33662 cat >>confdefs.h <<\_ACEOF
33663 #define gid_t int
33664 _ACEOF
33665
33666 fi
33667
33668
33669 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33670 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33671 if test "${ac_cv_type_ssize_t+set}" = set; then
33672 echo $ECHO_N "(cached) $ECHO_C" >&6
33673 else
33674 cat >conftest.$ac_ext <<_ACEOF
33675 /* confdefs.h. */
33676 _ACEOF
33677 cat confdefs.h >>conftest.$ac_ext
33678 cat >>conftest.$ac_ext <<_ACEOF
33679 /* end confdefs.h. */
33680 $ac_includes_default
33681 typedef ssize_t ac__type_new_;
33682 int
33683 main ()
33684 {
33685 if ((ac__type_new_ *) 0)
33686 return 0;
33687 if (sizeof (ac__type_new_))
33688 return 0;
33689 ;
33690 return 0;
33691 }
33692 _ACEOF
33693 rm -f conftest.$ac_objext
33694 if { (ac_try="$ac_compile"
33695 case "(($ac_try" in
33696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33697 *) ac_try_echo=$ac_try;;
33698 esac
33699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33700 (eval "$ac_compile") 2>conftest.er1
33701 ac_status=$?
33702 grep -v '^ *+' conftest.er1 >conftest.err
33703 rm -f conftest.er1
33704 cat conftest.err >&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); } && {
33707 test -z "$ac_c_werror_flag" ||
33708 test ! -s conftest.err
33709 } && test -s conftest.$ac_objext; then
33710 ac_cv_type_ssize_t=yes
33711 else
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.$ac_ext >&5
33714
33715 ac_cv_type_ssize_t=no
33716 fi
33717
33718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33719 fi
33720 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33721 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33722 if test $ac_cv_type_ssize_t = yes; then
33723
33724 cat >>confdefs.h <<_ACEOF
33725 #define HAVE_SSIZE_T 1
33726 _ACEOF
33727
33728
33729 fi
33730
33731
33732 ac_ext=cpp
33733 ac_cpp='$CXXCPP $CPPFLAGS'
33734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33737 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33738 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33739 if test "${wx_cv_size_t_is_uint+set}" = set; then
33740 echo $ECHO_N "(cached) $ECHO_C" >&6
33741 else
33742
33743 cat >conftest.$ac_ext <<_ACEOF
33744 /* confdefs.h. */
33745 _ACEOF
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 #include <stddef.h>
33750 int
33751 main ()
33752 {
33753
33754 return 0; }
33755
33756 struct Foo { void foo(size_t); void foo(unsigned int); };
33757
33758 int bar() {
33759
33760 ;
33761 return 0;
33762 }
33763 _ACEOF
33764 rm -f conftest.$ac_objext
33765 if { (ac_try="$ac_compile"
33766 case "(($ac_try" in
33767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33768 *) ac_try_echo=$ac_try;;
33769 esac
33770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33771 (eval "$ac_compile") 2>conftest.er1
33772 ac_status=$?
33773 grep -v '^ *+' conftest.er1 >conftest.err
33774 rm -f conftest.er1
33775 cat conftest.err >&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); } && {
33778 test -z "$ac_cxx_werror_flag" ||
33779 test ! -s conftest.err
33780 } && test -s conftest.$ac_objext; then
33781 wx_cv_size_t_is_uint=no
33782 else
33783 echo "$as_me: failed program was:" >&5
33784 sed 's/^/| /' conftest.$ac_ext >&5
33785
33786 wx_cv_size_t_is_uint=yes
33787
33788 fi
33789
33790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33791
33792
33793 fi
33794 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33795 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33796
33797 if test "$wx_cv_size_t_is_uint" = "yes"; then
33798 cat >>confdefs.h <<\_ACEOF
33799 #define wxSIZE_T_IS_UINT 1
33800 _ACEOF
33801
33802 else
33803 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33804 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33805 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33806 echo $ECHO_N "(cached) $ECHO_C" >&6
33807 else
33808 cat >conftest.$ac_ext <<_ACEOF
33809 /* confdefs.h. */
33810 _ACEOF
33811 cat confdefs.h >>conftest.$ac_ext
33812 cat >>conftest.$ac_ext <<_ACEOF
33813 /* end confdefs.h. */
33814 #include <stddef.h>
33815 int
33816 main ()
33817 {
33818
33819 return 0; }
33820
33821 struct Foo { void foo(size_t); void foo(unsigned long); };
33822
33823 int bar() {
33824
33825 ;
33826 return 0;
33827 }
33828 _ACEOF
33829 rm -f conftest.$ac_objext
33830 if { (ac_try="$ac_compile"
33831 case "(($ac_try" in
33832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33833 *) ac_try_echo=$ac_try;;
33834 esac
33835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33836 (eval "$ac_compile") 2>conftest.er1
33837 ac_status=$?
33838 grep -v '^ *+' conftest.er1 >conftest.err
33839 rm -f conftest.er1
33840 cat conftest.err >&5
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); } && {
33843 test -z "$ac_cxx_werror_flag" ||
33844 test ! -s conftest.err
33845 } && test -s conftest.$ac_objext; then
33846 wx_cv_size_t_is_ulong=no
33847 else
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.$ac_ext >&5
33850
33851 wx_cv_size_t_is_ulong=yes
33852
33853 fi
33854
33855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33856
33857 fi
33858 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33859 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33860
33861 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33862 cat >>confdefs.h <<\_ACEOF
33863 #define wxSIZE_T_IS_ULONG 1
33864 _ACEOF
33865
33866 fi
33867 fi
33868
33869 ac_ext=c
33870 ac_cpp='$CPP $CPPFLAGS'
33871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33874
33875
33876 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33877 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33878 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33879 echo $ECHO_N "(cached) $ECHO_C" >&6
33880 else
33881
33882 cat >conftest.$ac_ext <<_ACEOF
33883 /* confdefs.h. */
33884 _ACEOF
33885 cat confdefs.h >>conftest.$ac_ext
33886 cat >>conftest.$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33888 #include <pwd.h>
33889 int
33890 main ()
33891 {
33892
33893 char *p;
33894 struct passwd *pw;
33895 p = pw->pw_gecos;
33896
33897 ;
33898 return 0;
33899 }
33900 _ACEOF
33901 rm -f conftest.$ac_objext
33902 if { (ac_try="$ac_compile"
33903 case "(($ac_try" in
33904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33905 *) ac_try_echo=$ac_try;;
33906 esac
33907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33908 (eval "$ac_compile") 2>conftest.er1
33909 ac_status=$?
33910 grep -v '^ *+' conftest.er1 >conftest.err
33911 rm -f conftest.er1
33912 cat conftest.err >&5
33913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33914 (exit $ac_status); } && {
33915 test -z "$ac_c_werror_flag" ||
33916 test ! -s conftest.err
33917 } && test -s conftest.$ac_objext; then
33918
33919 wx_cv_struct_pw_gecos=yes
33920
33921 else
33922 echo "$as_me: failed program was:" >&5
33923 sed 's/^/| /' conftest.$ac_ext >&5
33924
33925
33926 wx_cv_struct_pw_gecos=no
33927
33928
33929 fi
33930
33931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33932
33933
33934 fi
33935 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33936 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33937
33938 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33939 cat >>confdefs.h <<\_ACEOF
33940 #define HAVE_PW_GECOS 1
33941 _ACEOF
33942
33943 fi
33944
33945
33946 if test "$wxUSE_WCHAR_T" = "yes"; then
33947 cat >>confdefs.h <<\_ACEOF
33948 #define wxUSE_WCHAR_T 1
33949 _ACEOF
33950
33951
33952 WCSLEN_FOUND=0
33953 WCHAR_LINK=
33954
33955 for ac_func in wcslen
33956 do
33957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33958 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33960 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33962 else
33963 cat >conftest.$ac_ext <<_ACEOF
33964 /* confdefs.h. */
33965 _ACEOF
33966 cat confdefs.h >>conftest.$ac_ext
33967 cat >>conftest.$ac_ext <<_ACEOF
33968 /* end confdefs.h. */
33969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33971 #define $ac_func innocuous_$ac_func
33972
33973 /* System header to define __stub macros and hopefully few prototypes,
33974 which can conflict with char $ac_func (); below.
33975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33976 <limits.h> exists even on freestanding compilers. */
33977
33978 #ifdef __STDC__
33979 # include <limits.h>
33980 #else
33981 # include <assert.h>
33982 #endif
33983
33984 #undef $ac_func
33985
33986 /* Override any GCC internal prototype to avoid an error.
33987 Use char because int might match the return type of a GCC
33988 builtin and then its argument prototype would still apply. */
33989 #ifdef __cplusplus
33990 extern "C"
33991 #endif
33992 char $ac_func ();
33993 /* The GNU C library defines this for functions which it implements
33994 to always fail with ENOSYS. Some functions are actually named
33995 something starting with __ and the normal name is an alias. */
33996 #if defined __stub_$ac_func || defined __stub___$ac_func
33997 choke me
33998 #endif
33999
34000 int
34001 main ()
34002 {
34003 return $ac_func ();
34004 ;
34005 return 0;
34006 }
34007 _ACEOF
34008 rm -f conftest.$ac_objext conftest$ac_exeext
34009 if { (ac_try="$ac_link"
34010 case "(($ac_try" in
34011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34012 *) ac_try_echo=$ac_try;;
34013 esac
34014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34015 (eval "$ac_link") 2>conftest.er1
34016 ac_status=$?
34017 grep -v '^ *+' conftest.er1 >conftest.err
34018 rm -f conftest.er1
34019 cat conftest.err >&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); } && {
34022 test -z "$ac_c_werror_flag" ||
34023 test ! -s conftest.err
34024 } && test -s conftest$ac_exeext &&
34025 $as_test_x conftest$ac_exeext; then
34026 eval "$as_ac_var=yes"
34027 else
34028 echo "$as_me: failed program was:" >&5
34029 sed 's/^/| /' conftest.$ac_ext >&5
34030
34031 eval "$as_ac_var=no"
34032 fi
34033
34034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34035 conftest$ac_exeext conftest.$ac_ext
34036 fi
34037 ac_res=`eval echo '${'$as_ac_var'}'`
34038 { echo "$as_me:$LINENO: result: $ac_res" >&5
34039 echo "${ECHO_T}$ac_res" >&6; }
34040 if test `eval echo '${'$as_ac_var'}'` = yes; then
34041 cat >>confdefs.h <<_ACEOF
34042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34043 _ACEOF
34044 WCSLEN_FOUND=1
34045 fi
34046 done
34047
34048
34049 if test "$WCSLEN_FOUND" = 0; then
34050 if test "$TOOLKIT" = "MSW"; then
34051 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34052 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34053 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34054 echo $ECHO_N "(cached) $ECHO_C" >&6
34055 else
34056 ac_check_lib_save_LIBS=$LIBS
34057 LIBS="-lmsvcrt $LIBS"
34058 cat >conftest.$ac_ext <<_ACEOF
34059 /* confdefs.h. */
34060 _ACEOF
34061 cat confdefs.h >>conftest.$ac_ext
34062 cat >>conftest.$ac_ext <<_ACEOF
34063 /* end confdefs.h. */
34064
34065 /* Override any GCC internal prototype to avoid an error.
34066 Use char because int might match the return type of a GCC
34067 builtin and then its argument prototype would still apply. */
34068 #ifdef __cplusplus
34069 extern "C"
34070 #endif
34071 char wcslen ();
34072 int
34073 main ()
34074 {
34075 return wcslen ();
34076 ;
34077 return 0;
34078 }
34079 _ACEOF
34080 rm -f conftest.$ac_objext conftest$ac_exeext
34081 if { (ac_try="$ac_link"
34082 case "(($ac_try" in
34083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34084 *) ac_try_echo=$ac_try;;
34085 esac
34086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34087 (eval "$ac_link") 2>conftest.er1
34088 ac_status=$?
34089 grep -v '^ *+' conftest.er1 >conftest.err
34090 rm -f conftest.er1
34091 cat conftest.err >&5
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); } && {
34094 test -z "$ac_c_werror_flag" ||
34095 test ! -s conftest.err
34096 } && test -s conftest$ac_exeext &&
34097 $as_test_x conftest$ac_exeext; then
34098 ac_cv_lib_msvcrt_wcslen=yes
34099 else
34100 echo "$as_me: failed program was:" >&5
34101 sed 's/^/| /' conftest.$ac_ext >&5
34102
34103 ac_cv_lib_msvcrt_wcslen=no
34104 fi
34105
34106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34107 conftest$ac_exeext conftest.$ac_ext
34108 LIBS=$ac_check_lib_save_LIBS
34109 fi
34110 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34111 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34112 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34113 WCHAR_OK=1
34114 fi
34115
34116 else
34117 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34118 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34119 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34121 else
34122 ac_check_lib_save_LIBS=$LIBS
34123 LIBS="-lw $LIBS"
34124 cat >conftest.$ac_ext <<_ACEOF
34125 /* confdefs.h. */
34126 _ACEOF
34127 cat confdefs.h >>conftest.$ac_ext
34128 cat >>conftest.$ac_ext <<_ACEOF
34129 /* end confdefs.h. */
34130
34131 /* Override any GCC internal prototype to avoid an error.
34132 Use char because int might match the return type of a GCC
34133 builtin and then its argument prototype would still apply. */
34134 #ifdef __cplusplus
34135 extern "C"
34136 #endif
34137 char wcslen ();
34138 int
34139 main ()
34140 {
34141 return wcslen ();
34142 ;
34143 return 0;
34144 }
34145 _ACEOF
34146 rm -f conftest.$ac_objext conftest$ac_exeext
34147 if { (ac_try="$ac_link"
34148 case "(($ac_try" in
34149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34150 *) ac_try_echo=$ac_try;;
34151 esac
34152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34153 (eval "$ac_link") 2>conftest.er1
34154 ac_status=$?
34155 grep -v '^ *+' conftest.er1 >conftest.err
34156 rm -f conftest.er1
34157 cat conftest.err >&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); } && {
34160 test -z "$ac_c_werror_flag" ||
34161 test ! -s conftest.err
34162 } && test -s conftest$ac_exeext &&
34163 $as_test_x conftest$ac_exeext; then
34164 ac_cv_lib_w_wcslen=yes
34165 else
34166 echo "$as_me: failed program was:" >&5
34167 sed 's/^/| /' conftest.$ac_ext >&5
34168
34169 ac_cv_lib_w_wcslen=no
34170 fi
34171
34172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34173 conftest$ac_exeext conftest.$ac_ext
34174 LIBS=$ac_check_lib_save_LIBS
34175 fi
34176 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34177 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34178 if test $ac_cv_lib_w_wcslen = yes; then
34179
34180 WCHAR_LINK=" -lw"
34181 WCSLEN_FOUND=1
34182
34183 fi
34184
34185 fi
34186 fi
34187
34188 if test "$WCSLEN_FOUND" = 1; then
34189 cat >>confdefs.h <<\_ACEOF
34190 #define HAVE_WCSLEN 1
34191 _ACEOF
34192
34193 fi
34194
34195 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34196 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34197 fi
34198
34199 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34200 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34201 if test "${ac_cv_type_mbstate_t+set}" = set; then
34202 echo $ECHO_N "(cached) $ECHO_C" >&6
34203 else
34204 cat >conftest.$ac_ext <<_ACEOF
34205 /* confdefs.h. */
34206 _ACEOF
34207 cat confdefs.h >>conftest.$ac_ext
34208 cat >>conftest.$ac_ext <<_ACEOF
34209 /* end confdefs.h. */
34210 #include <wchar.h>
34211
34212 typedef mbstate_t ac__type_new_;
34213 int
34214 main ()
34215 {
34216 if ((ac__type_new_ *) 0)
34217 return 0;
34218 if (sizeof (ac__type_new_))
34219 return 0;
34220 ;
34221 return 0;
34222 }
34223 _ACEOF
34224 rm -f conftest.$ac_objext
34225 if { (ac_try="$ac_compile"
34226 case "(($ac_try" in
34227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34228 *) ac_try_echo=$ac_try;;
34229 esac
34230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34231 (eval "$ac_compile") 2>conftest.er1
34232 ac_status=$?
34233 grep -v '^ *+' conftest.er1 >conftest.err
34234 rm -f conftest.er1
34235 cat conftest.err >&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); } && {
34238 test -z "$ac_c_werror_flag" ||
34239 test ! -s conftest.err
34240 } && test -s conftest.$ac_objext; then
34241 ac_cv_type_mbstate_t=yes
34242 else
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.$ac_ext >&5
34245
34246 ac_cv_type_mbstate_t=no
34247 fi
34248
34249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34250 fi
34251 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34252 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34253 if test $ac_cv_type_mbstate_t = yes; then
34254
34255 cat >>confdefs.h <<_ACEOF
34256 #define HAVE_MBSTATE_T 1
34257 _ACEOF
34258
34259
34260 for ac_func in wcsrtombs
34261 do
34262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34266 echo $ECHO_N "(cached) $ECHO_C" >&6
34267 else
34268 cat >conftest.$ac_ext <<_ACEOF
34269 /* confdefs.h. */
34270 _ACEOF
34271 cat confdefs.h >>conftest.$ac_ext
34272 cat >>conftest.$ac_ext <<_ACEOF
34273 /* end confdefs.h. */
34274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34276 #define $ac_func innocuous_$ac_func
34277
34278 /* System header to define __stub macros and hopefully few prototypes,
34279 which can conflict with char $ac_func (); below.
34280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34281 <limits.h> exists even on freestanding compilers. */
34282
34283 #ifdef __STDC__
34284 # include <limits.h>
34285 #else
34286 # include <assert.h>
34287 #endif
34288
34289 #undef $ac_func
34290
34291 /* Override any GCC internal prototype to avoid an error.
34292 Use char because int might match the return type of a GCC
34293 builtin and then its argument prototype would still apply. */
34294 #ifdef __cplusplus
34295 extern "C"
34296 #endif
34297 char $ac_func ();
34298 /* The GNU C library defines this for functions which it implements
34299 to always fail with ENOSYS. Some functions are actually named
34300 something starting with __ and the normal name is an alias. */
34301 #if defined __stub_$ac_func || defined __stub___$ac_func
34302 choke me
34303 #endif
34304
34305 int
34306 main ()
34307 {
34308 return $ac_func ();
34309 ;
34310 return 0;
34311 }
34312 _ACEOF
34313 rm -f conftest.$ac_objext conftest$ac_exeext
34314 if { (ac_try="$ac_link"
34315 case "(($ac_try" in
34316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34317 *) ac_try_echo=$ac_try;;
34318 esac
34319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34320 (eval "$ac_link") 2>conftest.er1
34321 ac_status=$?
34322 grep -v '^ *+' conftest.er1 >conftest.err
34323 rm -f conftest.er1
34324 cat conftest.err >&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); } && {
34327 test -z "$ac_c_werror_flag" ||
34328 test ! -s conftest.err
34329 } && test -s conftest$ac_exeext &&
34330 $as_test_x conftest$ac_exeext; then
34331 eval "$as_ac_var=yes"
34332 else
34333 echo "$as_me: failed program was:" >&5
34334 sed 's/^/| /' conftest.$ac_ext >&5
34335
34336 eval "$as_ac_var=no"
34337 fi
34338
34339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34340 conftest$ac_exeext conftest.$ac_ext
34341 fi
34342 ac_res=`eval echo '${'$as_ac_var'}'`
34343 { echo "$as_me:$LINENO: result: $ac_res" >&5
34344 echo "${ECHO_T}$ac_res" >&6; }
34345 if test `eval echo '${'$as_ac_var'}'` = yes; then
34346 cat >>confdefs.h <<_ACEOF
34347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34348 _ACEOF
34349
34350 fi
34351 done
34352
34353 fi
34354
34355 else
34356 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34357 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34358 fi
34359
34360
34361
34362 for ac_func in snprintf vsnprintf
34363 do
34364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34368 echo $ECHO_N "(cached) $ECHO_C" >&6
34369 else
34370 cat >conftest.$ac_ext <<_ACEOF
34371 /* confdefs.h. */
34372 _ACEOF
34373 cat confdefs.h >>conftest.$ac_ext
34374 cat >>conftest.$ac_ext <<_ACEOF
34375 /* end confdefs.h. */
34376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34378 #define $ac_func innocuous_$ac_func
34379
34380 /* System header to define __stub macros and hopefully few prototypes,
34381 which can conflict with char $ac_func (); below.
34382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34383 <limits.h> exists even on freestanding compilers. */
34384
34385 #ifdef __STDC__
34386 # include <limits.h>
34387 #else
34388 # include <assert.h>
34389 #endif
34390
34391 #undef $ac_func
34392
34393 /* Override any GCC internal prototype to avoid an error.
34394 Use char because int might match the return type of a GCC
34395 builtin and then its argument prototype would still apply. */
34396 #ifdef __cplusplus
34397 extern "C"
34398 #endif
34399 char $ac_func ();
34400 /* The GNU C library defines this for functions which it implements
34401 to always fail with ENOSYS. Some functions are actually named
34402 something starting with __ and the normal name is an alias. */
34403 #if defined __stub_$ac_func || defined __stub___$ac_func
34404 choke me
34405 #endif
34406
34407 int
34408 main ()
34409 {
34410 return $ac_func ();
34411 ;
34412 return 0;
34413 }
34414 _ACEOF
34415 rm -f conftest.$ac_objext conftest$ac_exeext
34416 if { (ac_try="$ac_link"
34417 case "(($ac_try" in
34418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34419 *) ac_try_echo=$ac_try;;
34420 esac
34421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34422 (eval "$ac_link") 2>conftest.er1
34423 ac_status=$?
34424 grep -v '^ *+' conftest.er1 >conftest.err
34425 rm -f conftest.er1
34426 cat conftest.err >&5
34427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428 (exit $ac_status); } && {
34429 test -z "$ac_c_werror_flag" ||
34430 test ! -s conftest.err
34431 } && test -s conftest$ac_exeext &&
34432 $as_test_x conftest$ac_exeext; then
34433 eval "$as_ac_var=yes"
34434 else
34435 echo "$as_me: failed program was:" >&5
34436 sed 's/^/| /' conftest.$ac_ext >&5
34437
34438 eval "$as_ac_var=no"
34439 fi
34440
34441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34442 conftest$ac_exeext conftest.$ac_ext
34443 fi
34444 ac_res=`eval echo '${'$as_ac_var'}'`
34445 { echo "$as_me:$LINENO: result: $ac_res" >&5
34446 echo "${ECHO_T}$ac_res" >&6; }
34447 if test `eval echo '${'$as_ac_var'}'` = yes; then
34448 cat >>confdefs.h <<_ACEOF
34449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34450 _ACEOF
34451
34452 fi
34453 done
34454
34455
34456 if test "$ac_cv_func_vsnprintf" = "yes"; then
34457 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34458 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34459 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34460 echo $ECHO_N "(cached) $ECHO_C" >&6
34461 else
34462
34463 cat >conftest.$ac_ext <<_ACEOF
34464 /* confdefs.h. */
34465 _ACEOF
34466 cat confdefs.h >>conftest.$ac_ext
34467 cat >>conftest.$ac_ext <<_ACEOF
34468 /* end confdefs.h. */
34469
34470 #include <stdio.h>
34471 #include <stdarg.h>
34472 #ifdef __MSL__
34473 #if __MSL__ >= 0x6000
34474 namespace std {}
34475 using namespace std;
34476 #endif
34477 #endif
34478
34479 int
34480 main ()
34481 {
34482
34483 char *buf;
34484 va_list ap;
34485 vsnprintf(buf, 10u, "%s", ap);
34486
34487 ;
34488 return 0;
34489 }
34490 _ACEOF
34491 rm -f conftest.$ac_objext
34492 if { (ac_try="$ac_compile"
34493 case "(($ac_try" in
34494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34495 *) ac_try_echo=$ac_try;;
34496 esac
34497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34498 (eval "$ac_compile") 2>conftest.er1
34499 ac_status=$?
34500 grep -v '^ *+' conftest.er1 >conftest.err
34501 rm -f conftest.er1
34502 cat conftest.err >&5
34503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34504 (exit $ac_status); } && {
34505 test -z "$ac_c_werror_flag" ||
34506 test ! -s conftest.err
34507 } && test -s conftest.$ac_objext; then
34508 wx_cv_func_vsnprintf_decl=yes
34509 else
34510 echo "$as_me: failed program was:" >&5
34511 sed 's/^/| /' conftest.$ac_ext >&5
34512
34513 wx_cv_func_vsnprintf_decl=no
34514
34515 fi
34516
34517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34518
34519
34520 fi
34521 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34522 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34523
34524 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34525 cat >>confdefs.h <<\_ACEOF
34526 #define HAVE_VSNPRINTF_DECL 1
34527 _ACEOF
34528
34529
34530 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34531 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34532 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34533 echo $ECHO_N "(cached) $ECHO_C" >&6
34534 else
34535
34536 cat >conftest.$ac_ext <<_ACEOF
34537 /* confdefs.h. */
34538 _ACEOF
34539 cat confdefs.h >>conftest.$ac_ext
34540 cat >>conftest.$ac_ext <<_ACEOF
34541 /* end confdefs.h. */
34542
34543 #include <stdio.h>
34544 #include <stdarg.h>
34545 #ifdef __MSL__
34546 #if __MSL__ >= 0x6000
34547 namespace std {}
34548 using namespace std;
34549 #endif
34550 #endif
34551
34552 int
34553 main ()
34554 {
34555
34556 char *buf;
34557 va_list ap;
34558 const char *fmt = "%s";
34559 vsnprintf(buf, 10u, fmt, ap);
34560
34561 ;
34562 return 0;
34563 }
34564 _ACEOF
34565 rm -f conftest.$ac_objext
34566 if { (ac_try="$ac_compile"
34567 case "(($ac_try" in
34568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34569 *) ac_try_echo=$ac_try;;
34570 esac
34571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34572 (eval "$ac_compile") 2>conftest.er1
34573 ac_status=$?
34574 grep -v '^ *+' conftest.er1 >conftest.err
34575 rm -f conftest.er1
34576 cat conftest.err >&5
34577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34578 (exit $ac_status); } && {
34579 test -z "$ac_c_werror_flag" ||
34580 test ! -s conftest.err
34581 } && test -s conftest.$ac_objext; then
34582 wx_cv_func_broken_vsnprintf_decl=no
34583 else
34584 echo "$as_me: failed program was:" >&5
34585 sed 's/^/| /' conftest.$ac_ext >&5
34586
34587 wx_cv_func_broken_vsnprintf_decl=yes
34588
34589 fi
34590
34591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34592
34593
34594 fi
34595 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34596 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34597
34598 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34599 cat >>confdefs.h <<\_ACEOF
34600 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34601 _ACEOF
34602
34603 fi
34604 fi
34605 fi
34606
34607 if test "$ac_cv_func_snprintf" = "yes"; then
34608 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34609 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34610 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34611 echo $ECHO_N "(cached) $ECHO_C" >&6
34612 else
34613
34614 cat >conftest.$ac_ext <<_ACEOF
34615 /* confdefs.h. */
34616 _ACEOF
34617 cat confdefs.h >>conftest.$ac_ext
34618 cat >>conftest.$ac_ext <<_ACEOF
34619 /* end confdefs.h. */
34620
34621 #include <stdio.h>
34622 #include <stdarg.h>
34623 #ifdef __MSL__
34624 #if __MSL__ >= 0x6000
34625 namespace std {}
34626 using namespace std;
34627 #endif
34628 #endif
34629
34630 int
34631 main ()
34632 {
34633
34634 char *buf;
34635 snprintf(buf, 10u, "%s", "wx");
34636
34637 ;
34638 return 0;
34639 }
34640 _ACEOF
34641 rm -f conftest.$ac_objext
34642 if { (ac_try="$ac_compile"
34643 case "(($ac_try" in
34644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34645 *) ac_try_echo=$ac_try;;
34646 esac
34647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34648 (eval "$ac_compile") 2>conftest.er1
34649 ac_status=$?
34650 grep -v '^ *+' conftest.er1 >conftest.err
34651 rm -f conftest.er1
34652 cat conftest.err >&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); } && {
34655 test -z "$ac_c_werror_flag" ||
34656 test ! -s conftest.err
34657 } && test -s conftest.$ac_objext; then
34658 wx_cv_func_snprintf_decl=yes
34659 else
34660 echo "$as_me: failed program was:" >&5
34661 sed 's/^/| /' conftest.$ac_ext >&5
34662
34663 wx_cv_func_snprintf_decl=no
34664
34665 fi
34666
34667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34668
34669
34670 fi
34671 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34672 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34673
34674 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34675 cat >>confdefs.h <<\_ACEOF
34676 #define HAVE_SNPRINTF_DECL 1
34677 _ACEOF
34678
34679
34680 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34681 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34682 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34683 echo $ECHO_N "(cached) $ECHO_C" >&6
34684 else
34685
34686 cat >conftest.$ac_ext <<_ACEOF
34687 /* confdefs.h. */
34688 _ACEOF
34689 cat confdefs.h >>conftest.$ac_ext
34690 cat >>conftest.$ac_ext <<_ACEOF
34691 /* end confdefs.h. */
34692
34693 #include <stdio.h>
34694 #include <stdarg.h>
34695 #ifdef __MSL__
34696 #if __MSL__ >= 0x6000
34697 namespace std {}
34698 using namespace std;
34699 #endif
34700 #endif
34701
34702 int
34703 main ()
34704 {
34705
34706 char *buf;
34707 const char *fmt = "%s";
34708 snprintf(buf, 10u, fmt, "wx");
34709
34710 ;
34711 return 0;
34712 }
34713 _ACEOF
34714 rm -f conftest.$ac_objext
34715 if { (ac_try="$ac_compile"
34716 case "(($ac_try" in
34717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34718 *) ac_try_echo=$ac_try;;
34719 esac
34720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34721 (eval "$ac_compile") 2>conftest.er1
34722 ac_status=$?
34723 grep -v '^ *+' conftest.er1 >conftest.err
34724 rm -f conftest.er1
34725 cat conftest.err >&5
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); } && {
34728 test -z "$ac_c_werror_flag" ||
34729 test ! -s conftest.err
34730 } && test -s conftest.$ac_objext; then
34731 wx_cv_func_broken_snprintf_decl=no
34732 else
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.$ac_ext >&5
34735
34736 wx_cv_func_broken_snprintf_decl=yes
34737
34738 fi
34739
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741
34742
34743 fi
34744 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34745 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34746
34747 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34748 cat >>confdefs.h <<\_ACEOF
34749 #define HAVE_BROKEN_SNPRINTF_DECL 1
34750 _ACEOF
34751
34752 fi
34753 fi
34754
34755 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34756
34757 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34758 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34759 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34760 echo $ECHO_N "(cached) $ECHO_C" >&6
34761 else
34762
34763 if test "$cross_compiling" = yes; then
34764
34765 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34766 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34767 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34768 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34769 wx_cv_func_snprintf_pos_params=no
34770
34771
34772 else
34773 cat >conftest.$ac_ext <<_ACEOF
34774 /* confdefs.h. */
34775 _ACEOF
34776 cat confdefs.h >>conftest.$ac_ext
34777 cat >>conftest.$ac_ext <<_ACEOF
34778 /* end confdefs.h. */
34779
34780 #include <stdio.h>
34781
34782 int main (void)
34783 {
34784 char buffer[128];
34785 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34786 if (strcmp ("2 3 1", buffer) == 0)
34787 exit (0);
34788 exit (1);
34789 }
34790
34791 _ACEOF
34792 rm -f conftest$ac_exeext
34793 if { (ac_try="$ac_link"
34794 case "(($ac_try" in
34795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34796 *) ac_try_echo=$ac_try;;
34797 esac
34798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34799 (eval "$ac_link") 2>&5
34800 ac_status=$?
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34803 { (case "(($ac_try" in
34804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34805 *) ac_try_echo=$ac_try;;
34806 esac
34807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34808 (eval "$ac_try") 2>&5
34809 ac_status=$?
34810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811 (exit $ac_status); }; }; then
34812 wx_cv_func_snprintf_pos_params=no
34813 else
34814 echo "$as_me: program exited with status $ac_status" >&5
34815 echo "$as_me: failed program was:" >&5
34816 sed 's/^/| /' conftest.$ac_ext >&5
34817
34818 ( exit $ac_status )
34819 wx_cv_func_snprintf_pos_params=yes
34820 fi
34821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34822 fi
34823
34824
34825
34826
34827 fi
34828 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34829 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34830
34831 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34832 cat >>confdefs.h <<\_ACEOF
34833 #define HAVE_UNIX98_PRINTF 1
34834 _ACEOF
34835
34836 fi
34837 fi
34838 fi
34839
34840 if test "$wxUSE_UNICODE" = yes; then
34841
34842
34843 for ac_func in swprintf
34844 do
34845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34846 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34848 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34849 echo $ECHO_N "(cached) $ECHO_C" >&6
34850 else
34851 cat >conftest.$ac_ext <<_ACEOF
34852 /* confdefs.h. */
34853 _ACEOF
34854 cat confdefs.h >>conftest.$ac_ext
34855 cat >>conftest.$ac_ext <<_ACEOF
34856 /* end confdefs.h. */
34857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34859 #define $ac_func innocuous_$ac_func
34860
34861 /* System header to define __stub macros and hopefully few prototypes,
34862 which can conflict with char $ac_func (); below.
34863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34864 <limits.h> exists even on freestanding compilers. */
34865
34866 #ifdef __STDC__
34867 # include <limits.h>
34868 #else
34869 # include <assert.h>
34870 #endif
34871
34872 #undef $ac_func
34873
34874 /* Override any GCC internal prototype to avoid an error.
34875 Use char because int might match the return type of a GCC
34876 builtin and then its argument prototype would still apply. */
34877 #ifdef __cplusplus
34878 extern "C"
34879 #endif
34880 char $ac_func ();
34881 /* The GNU C library defines this for functions which it implements
34882 to always fail with ENOSYS. Some functions are actually named
34883 something starting with __ and the normal name is an alias. */
34884 #if defined __stub_$ac_func || defined __stub___$ac_func
34885 choke me
34886 #endif
34887
34888 int
34889 main ()
34890 {
34891 return $ac_func ();
34892 ;
34893 return 0;
34894 }
34895 _ACEOF
34896 rm -f conftest.$ac_objext conftest$ac_exeext
34897 if { (ac_try="$ac_link"
34898 case "(($ac_try" in
34899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34900 *) ac_try_echo=$ac_try;;
34901 esac
34902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34903 (eval "$ac_link") 2>conftest.er1
34904 ac_status=$?
34905 grep -v '^ *+' conftest.er1 >conftest.err
34906 rm -f conftest.er1
34907 cat conftest.err >&5
34908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34909 (exit $ac_status); } && {
34910 test -z "$ac_c_werror_flag" ||
34911 test ! -s conftest.err
34912 } && test -s conftest$ac_exeext &&
34913 $as_test_x conftest$ac_exeext; then
34914 eval "$as_ac_var=yes"
34915 else
34916 echo "$as_me: failed program was:" >&5
34917 sed 's/^/| /' conftest.$ac_ext >&5
34918
34919 eval "$as_ac_var=no"
34920 fi
34921
34922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34923 conftest$ac_exeext conftest.$ac_ext
34924 fi
34925 ac_res=`eval echo '${'$as_ac_var'}'`
34926 { echo "$as_me:$LINENO: result: $ac_res" >&5
34927 echo "${ECHO_T}$ac_res" >&6; }
34928 if test `eval echo '${'$as_ac_var'}'` = yes; then
34929 cat >>confdefs.h <<_ACEOF
34930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34931 _ACEOF
34932
34933 fi
34934 done
34935
34936
34937 if test "$ac_cv_func_swprintf" = "yes"; then
34938 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34939 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34940 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34941 echo $ECHO_N "(cached) $ECHO_C" >&6
34942 else
34943
34944 cat >conftest.$ac_ext <<_ACEOF
34945 /* confdefs.h. */
34946 _ACEOF
34947 cat confdefs.h >>conftest.$ac_ext
34948 cat >>conftest.$ac_ext <<_ACEOF
34949 /* end confdefs.h. */
34950
34951 #include <stdio.h>
34952 #include <stdarg.h>
34953 #include <wchar.h>
34954
34955 int
34956 main ()
34957 {
34958
34959 wchar_t *buf;
34960 const wchar_t *fmt = L"test";
34961 swprintf(buf, 10u, fmt);
34962
34963 ;
34964 return 0;
34965 }
34966 _ACEOF
34967 rm -f conftest.$ac_objext
34968 if { (ac_try="$ac_compile"
34969 case "(($ac_try" in
34970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34971 *) ac_try_echo=$ac_try;;
34972 esac
34973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34974 (eval "$ac_compile") 2>conftest.er1
34975 ac_status=$?
34976 grep -v '^ *+' conftest.er1 >conftest.err
34977 rm -f conftest.er1
34978 cat conftest.err >&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); } && {
34981 test -z "$ac_c_werror_flag" ||
34982 test ! -s conftest.err
34983 } && test -s conftest.$ac_objext; then
34984 wx_cv_func_broken_swprintf_decl=no
34985 else
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.$ac_ext >&5
34988
34989 wx_cv_func_broken_swprintf_decl=yes
34990
34991 fi
34992
34993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34994
34995
34996 fi
34997 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34998 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34999
35000 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35001 cat >>confdefs.h <<\_ACEOF
35002 #define HAVE_BROKEN_SWPRINTF_DECL 1
35003 _ACEOF
35004
35005 fi
35006 fi
35007
35008 wchar_headers="#include <stdio.h>
35009 #include <wchar.h>"
35010 case "${host}" in
35011 *-*-solaris2* )
35012 { echo "$as_me:$LINENO: checking for widec.h" >&5
35013 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
35014 if test "${ac_cv_header_widec_h+set}" = set; then
35015 echo $ECHO_N "(cached) $ECHO_C" >&6
35016 else
35017 cat >conftest.$ac_ext <<_ACEOF
35018 /* confdefs.h. */
35019 _ACEOF
35020 cat confdefs.h >>conftest.$ac_ext
35021 cat >>conftest.$ac_ext <<_ACEOF
35022 /* end confdefs.h. */
35023 $ac_includes_default
35024
35025 #include <widec.h>
35026 _ACEOF
35027 rm -f conftest.$ac_objext
35028 if { (ac_try="$ac_compile"
35029 case "(($ac_try" in
35030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35031 *) ac_try_echo=$ac_try;;
35032 esac
35033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35034 (eval "$ac_compile") 2>conftest.er1
35035 ac_status=$?
35036 grep -v '^ *+' conftest.er1 >conftest.err
35037 rm -f conftest.er1
35038 cat conftest.err >&5
35039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35040 (exit $ac_status); } && {
35041 test -z "$ac_c_werror_flag" ||
35042 test ! -s conftest.err
35043 } && test -s conftest.$ac_objext; then
35044 ac_cv_header_widec_h=yes
35045 else
35046 echo "$as_me: failed program was:" >&5
35047 sed 's/^/| /' conftest.$ac_ext >&5
35048
35049 ac_cv_header_widec_h=no
35050 fi
35051
35052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35053 fi
35054 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35055 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35056
35057
35058 if test "$ac_cv_header_widec_h" = "yes"; then
35059 wchar_headers="$wchar_headers
35060 #include <widec.h>"
35061 fi
35062 esac
35063
35064
35065 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35066 do
35067 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35068 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35069 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35070 echo $ECHO_N "(cached) $ECHO_C" >&6
35071 else
35072
35073 cat >conftest.$ac_ext <<_ACEOF
35074
35075 /* confdefs.h. */
35076 _ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080
35081 $wchar_headers
35082 $ac_includes_default
35083
35084 int
35085 main ()
35086 {
35087
35088 #ifndef $wx_func
35089 &$wx_func;
35090 #endif
35091
35092
35093 ;
35094 return 0;
35095 }
35096
35097 _ACEOF
35098 rm -f conftest.$ac_objext conftest$ac_exeext
35099 if { (ac_try="$ac_link"
35100 case "(($ac_try" in
35101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35102 *) ac_try_echo=$ac_try;;
35103 esac
35104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35105 (eval "$ac_link") 2>conftest.er1
35106 ac_status=$?
35107 grep -v '^ *+' conftest.er1 >conftest.err
35108 rm -f conftest.er1
35109 cat conftest.err >&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); } && {
35112 test -z "$ac_c_werror_flag" ||
35113 test ! -s conftest.err
35114 } && test -s conftest$ac_exeext &&
35115 $as_test_x conftest$ac_exeext; then
35116 eval wx_cv_func_$wx_func=yes
35117 else
35118 echo "$as_me: failed program was:" >&5
35119 sed 's/^/| /' conftest.$ac_ext >&5
35120
35121 eval wx_cv_func_$wx_func=no
35122 fi
35123
35124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35125 conftest$ac_exeext conftest.$ac_ext
35126
35127 fi
35128 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35129 { echo "$as_me:$LINENO: result: $ac_res" >&5
35130 echo "${ECHO_T}$ac_res" >&6; }
35131
35132 if eval test \$wx_cv_func_$wx_func = yes
35133 then
35134 cat >>confdefs.h <<_ACEOF
35135 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35136 _ACEOF
35137
35138
35139 else
35140 :
35141
35142 fi
35143 done
35144
35145
35146 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35147 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35148 cat >conftest.$ac_ext <<_ACEOF
35149 /* confdefs.h. */
35150 _ACEOF
35151 cat confdefs.h >>conftest.$ac_ext
35152 cat >>conftest.$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35154 #include <wchar.h>
35155 int
35156 main ()
35157 {
35158 &_vsnwprintf;
35159 ;
35160 return 0;
35161 }
35162 _ACEOF
35163 rm -f conftest.$ac_objext
35164 if { (ac_try="$ac_compile"
35165 case "(($ac_try" in
35166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35167 *) ac_try_echo=$ac_try;;
35168 esac
35169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35170 (eval "$ac_compile") 2>conftest.er1
35171 ac_status=$?
35172 grep -v '^ *+' conftest.er1 >conftest.err
35173 rm -f conftest.er1
35174 cat conftest.err >&5
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); } && {
35177 test -z "$ac_c_werror_flag" ||
35178 test ! -s conftest.err
35179 } && test -s conftest.$ac_objext; then
35180 { echo "$as_me:$LINENO: result: yes" >&5
35181 echo "${ECHO_T}yes" >&6; }
35182 cat >>confdefs.h <<\_ACEOF
35183 #define HAVE__VSNWPRINTF 1
35184 _ACEOF
35185
35186 else
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.$ac_ext >&5
35189
35190 { echo "$as_me:$LINENO: result: no" >&5
35191 echo "${ECHO_T}no" >&6; }
35192 fi
35193
35194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35195 fi
35196
35197 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35198
35199 for wx_func in fnmatch
35200 do
35201 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35203 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 else
35206
35207 cat >conftest.$ac_ext <<_ACEOF
35208
35209 /* confdefs.h. */
35210 _ACEOF
35211 cat confdefs.h >>conftest.$ac_ext
35212 cat >>conftest.$ac_ext <<_ACEOF
35213 /* end confdefs.h. */
35214
35215 #include <fnmatch.h>
35216 $ac_includes_default
35217
35218 int
35219 main ()
35220 {
35221
35222 #ifndef $wx_func
35223 &$wx_func;
35224 #endif
35225
35226
35227 ;
35228 return 0;
35229 }
35230
35231 _ACEOF
35232 rm -f conftest.$ac_objext conftest$ac_exeext
35233 if { (ac_try="$ac_link"
35234 case "(($ac_try" in
35235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35236 *) ac_try_echo=$ac_try;;
35237 esac
35238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35239 (eval "$ac_link") 2>conftest.er1
35240 ac_status=$?
35241 grep -v '^ *+' conftest.er1 >conftest.err
35242 rm -f conftest.er1
35243 cat conftest.err >&5
35244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35245 (exit $ac_status); } && {
35246 test -z "$ac_c_werror_flag" ||
35247 test ! -s conftest.err
35248 } && test -s conftest$ac_exeext &&
35249 $as_test_x conftest$ac_exeext; then
35250 eval wx_cv_func_$wx_func=yes
35251 else
35252 echo "$as_me: failed program was:" >&5
35253 sed 's/^/| /' conftest.$ac_ext >&5
35254
35255 eval wx_cv_func_$wx_func=no
35256 fi
35257
35258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35259 conftest$ac_exeext conftest.$ac_ext
35260
35261 fi
35262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35263 { echo "$as_me:$LINENO: result: $ac_res" >&5
35264 echo "${ECHO_T}$ac_res" >&6; }
35265
35266 if eval test \$wx_cv_func_$wx_func = yes
35267 then
35268 cat >>confdefs.h <<_ACEOF
35269 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35270 _ACEOF
35271
35272
35273 else
35274 :
35275
35276 fi
35277 done
35278
35279 fi
35280
35281 if test "$wxUSE_FILE" = "yes"; then
35282
35283 for wx_func in fsync
35284 do
35285 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35286 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35287 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35288 echo $ECHO_N "(cached) $ECHO_C" >&6
35289 else
35290
35291 cat >conftest.$ac_ext <<_ACEOF
35292
35293 /* confdefs.h. */
35294 _ACEOF
35295 cat confdefs.h >>conftest.$ac_ext
35296 cat >>conftest.$ac_ext <<_ACEOF
35297 /* end confdefs.h. */
35298
35299
35300 $ac_includes_default
35301
35302 int
35303 main ()
35304 {
35305
35306 #ifndef $wx_func
35307 &$wx_func;
35308 #endif
35309
35310
35311 ;
35312 return 0;
35313 }
35314
35315 _ACEOF
35316 rm -f conftest.$ac_objext conftest$ac_exeext
35317 if { (ac_try="$ac_link"
35318 case "(($ac_try" in
35319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35320 *) ac_try_echo=$ac_try;;
35321 esac
35322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35323 (eval "$ac_link") 2>conftest.er1
35324 ac_status=$?
35325 grep -v '^ *+' conftest.er1 >conftest.err
35326 rm -f conftest.er1
35327 cat conftest.err >&5
35328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329 (exit $ac_status); } && {
35330 test -z "$ac_c_werror_flag" ||
35331 test ! -s conftest.err
35332 } && test -s conftest$ac_exeext &&
35333 $as_test_x conftest$ac_exeext; then
35334 eval wx_cv_func_$wx_func=yes
35335 else
35336 echo "$as_me: failed program was:" >&5
35337 sed 's/^/| /' conftest.$ac_ext >&5
35338
35339 eval wx_cv_func_$wx_func=no
35340 fi
35341
35342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35343 conftest$ac_exeext conftest.$ac_ext
35344
35345 fi
35346 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35347 { echo "$as_me:$LINENO: result: $ac_res" >&5
35348 echo "${ECHO_T}$ac_res" >&6; }
35349
35350 if eval test \$wx_cv_func_$wx_func = yes
35351 then
35352 cat >>confdefs.h <<_ACEOF
35353 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35354 _ACEOF
35355
35356
35357 else
35358 :
35359
35360 fi
35361 done
35362
35363 fi
35364
35365 ac_ext=cpp
35366 ac_cpp='$CXXCPP $CPPFLAGS'
35367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35370
35371
35372 for wx_func in round
35373 do
35374 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35375 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35376 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35377 echo $ECHO_N "(cached) $ECHO_C" >&6
35378 else
35379
35380 cat >conftest.$ac_ext <<_ACEOF
35381
35382 /* confdefs.h. */
35383 _ACEOF
35384 cat confdefs.h >>conftest.$ac_ext
35385 cat >>conftest.$ac_ext <<_ACEOF
35386 /* end confdefs.h. */
35387
35388 #include <math.h>
35389 $ac_includes_default
35390
35391 int
35392 main ()
35393 {
35394
35395 #ifndef $wx_func
35396 &$wx_func;
35397 #endif
35398
35399
35400 ;
35401 return 0;
35402 }
35403
35404 _ACEOF
35405 rm -f conftest.$ac_objext conftest$ac_exeext
35406 if { (ac_try="$ac_link"
35407 case "(($ac_try" in
35408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35409 *) ac_try_echo=$ac_try;;
35410 esac
35411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35412 (eval "$ac_link") 2>conftest.er1
35413 ac_status=$?
35414 grep -v '^ *+' conftest.er1 >conftest.err
35415 rm -f conftest.er1
35416 cat conftest.err >&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); } && {
35419 test -z "$ac_cxx_werror_flag" ||
35420 test ! -s conftest.err
35421 } && test -s conftest$ac_exeext &&
35422 $as_test_x conftest$ac_exeext; then
35423 eval wx_cv_func_$wx_func=yes
35424 else
35425 echo "$as_me: failed program was:" >&5
35426 sed 's/^/| /' conftest.$ac_ext >&5
35427
35428 eval wx_cv_func_$wx_func=no
35429 fi
35430
35431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35432 conftest$ac_exeext conftest.$ac_ext
35433
35434 fi
35435 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35436 { echo "$as_me:$LINENO: result: $ac_res" >&5
35437 echo "${ECHO_T}$ac_res" >&6; }
35438
35439 if eval test \$wx_cv_func_$wx_func = yes
35440 then
35441 cat >>confdefs.h <<_ACEOF
35442 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35443 _ACEOF
35444
35445
35446 else
35447 :
35448
35449 fi
35450 done
35451
35452 ac_ext=c
35453 ac_cpp='$CPP $CPPFLAGS'
35454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35457
35458
35459 if test "$TOOLKIT" != "MSW"; then
35460
35461
35462
35463
35464
35465 # Check whether --with-libiconv-prefix was given.
35466 if test "${with_libiconv_prefix+set}" = set; then
35467 withval=$with_libiconv_prefix;
35468 for dir in `echo "$withval" | tr : ' '`; do
35469 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35470 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35471 done
35472
35473 fi
35474
35475
35476 { echo "$as_me:$LINENO: checking for iconv" >&5
35477 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35478 if test "${am_cv_func_iconv+set}" = set; then
35479 echo $ECHO_N "(cached) $ECHO_C" >&6
35480 else
35481
35482 am_cv_func_iconv="no, consider installing GNU libiconv"
35483 am_cv_lib_iconv=no
35484 cat >conftest.$ac_ext <<_ACEOF
35485 /* confdefs.h. */
35486 _ACEOF
35487 cat confdefs.h >>conftest.$ac_ext
35488 cat >>conftest.$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35490 #include <stdlib.h>
35491 #include <iconv.h>
35492 int
35493 main ()
35494 {
35495 iconv_t cd = iconv_open("","");
35496 iconv(cd,NULL,NULL,NULL,NULL);
35497 iconv_close(cd);
35498 ;
35499 return 0;
35500 }
35501 _ACEOF
35502 rm -f conftest.$ac_objext conftest$ac_exeext
35503 if { (ac_try="$ac_link"
35504 case "(($ac_try" in
35505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35506 *) ac_try_echo=$ac_try;;
35507 esac
35508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35509 (eval "$ac_link") 2>conftest.er1
35510 ac_status=$?
35511 grep -v '^ *+' conftest.er1 >conftest.err
35512 rm -f conftest.er1
35513 cat conftest.err >&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } && {
35516 test -z "$ac_c_werror_flag" ||
35517 test ! -s conftest.err
35518 } && test -s conftest$ac_exeext &&
35519 $as_test_x conftest$ac_exeext; then
35520 am_cv_func_iconv=yes
35521 else
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.$ac_ext >&5
35524
35525
35526 fi
35527
35528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35529 conftest$ac_exeext conftest.$ac_ext
35530 if test "$am_cv_func_iconv" != yes; then
35531 am_save_LIBS="$LIBS"
35532 LIBS="$LIBS -liconv"
35533 cat >conftest.$ac_ext <<_ACEOF
35534 /* confdefs.h. */
35535 _ACEOF
35536 cat confdefs.h >>conftest.$ac_ext
35537 cat >>conftest.$ac_ext <<_ACEOF
35538 /* end confdefs.h. */
35539 #include <stdlib.h>
35540 #include <iconv.h>
35541 int
35542 main ()
35543 {
35544 iconv_t cd = iconv_open("","");
35545 iconv(cd,NULL,NULL,NULL,NULL);
35546 iconv_close(cd);
35547 ;
35548 return 0;
35549 }
35550 _ACEOF
35551 rm -f conftest.$ac_objext conftest$ac_exeext
35552 if { (ac_try="$ac_link"
35553 case "(($ac_try" in
35554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35555 *) ac_try_echo=$ac_try;;
35556 esac
35557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35558 (eval "$ac_link") 2>conftest.er1
35559 ac_status=$?
35560 grep -v '^ *+' conftest.er1 >conftest.err
35561 rm -f conftest.er1
35562 cat conftest.err >&5
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); } && {
35565 test -z "$ac_c_werror_flag" ||
35566 test ! -s conftest.err
35567 } && test -s conftest$ac_exeext &&
35568 $as_test_x conftest$ac_exeext; then
35569 am_cv_lib_iconv=yes
35570 am_cv_func_iconv=yes
35571 else
35572 echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35574
35575
35576 fi
35577
35578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35579 conftest$ac_exeext conftest.$ac_ext
35580 LIBS="$am_save_LIBS"
35581 fi
35582
35583 fi
35584 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35585 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35586 if test "$am_cv_func_iconv" = yes; then
35587
35588 cat >>confdefs.h <<\_ACEOF
35589 #define HAVE_ICONV 1
35590 _ACEOF
35591
35592 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35593 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35594 if test "${wx_cv_func_iconv_const+set}" = set; then
35595 echo $ECHO_N "(cached) $ECHO_C" >&6
35596 else
35597 cat >conftest.$ac_ext <<_ACEOF
35598 /* confdefs.h. */
35599 _ACEOF
35600 cat confdefs.h >>conftest.$ac_ext
35601 cat >>conftest.$ac_ext <<_ACEOF
35602 /* end confdefs.h. */
35603
35604 #include <stdlib.h>
35605 #include <iconv.h>
35606 extern
35607 #ifdef __cplusplus
35608 "C"
35609 #endif
35610 #if defined(__STDC__) || defined(__cplusplus)
35611 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35612 #else
35613 size_t iconv();
35614 #endif
35615
35616 int
35617 main ()
35618 {
35619
35620 ;
35621 return 0;
35622 }
35623 _ACEOF
35624 rm -f conftest.$ac_objext
35625 if { (ac_try="$ac_compile"
35626 case "(($ac_try" in
35627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35628 *) ac_try_echo=$ac_try;;
35629 esac
35630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35631 (eval "$ac_compile") 2>conftest.er1
35632 ac_status=$?
35633 grep -v '^ *+' conftest.er1 >conftest.err
35634 rm -f conftest.er1
35635 cat conftest.err >&5
35636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637 (exit $ac_status); } && {
35638 test -z "$ac_c_werror_flag" ||
35639 test ! -s conftest.err
35640 } && test -s conftest.$ac_objext; then
35641 wx_cv_func_iconv_const="no"
35642 else
35643 echo "$as_me: failed program was:" >&5
35644 sed 's/^/| /' conftest.$ac_ext >&5
35645
35646 wx_cv_func_iconv_const="yes"
35647
35648 fi
35649
35650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35651
35652 fi
35653 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35654 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35655
35656 iconv_const=
35657 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35658 iconv_const="const"
35659 fi
35660
35661
35662 cat >>confdefs.h <<_ACEOF
35663 #define ICONV_CONST $iconv_const
35664 _ACEOF
35665
35666 fi
35667 LIBICONV=
35668 if test "$am_cv_lib_iconv" = yes; then
35669 LIBICONV="-liconv"
35670 fi
35671
35672
35673 LIBS="$LIBICONV $LIBS"
35674
35675 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35676
35677 for ac_func in sigaction
35678 do
35679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35683 echo $ECHO_N "(cached) $ECHO_C" >&6
35684 else
35685 cat >conftest.$ac_ext <<_ACEOF
35686 /* confdefs.h. */
35687 _ACEOF
35688 cat confdefs.h >>conftest.$ac_ext
35689 cat >>conftest.$ac_ext <<_ACEOF
35690 /* end confdefs.h. */
35691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35693 #define $ac_func innocuous_$ac_func
35694
35695 /* System header to define __stub macros and hopefully few prototypes,
35696 which can conflict with char $ac_func (); below.
35697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35698 <limits.h> exists even on freestanding compilers. */
35699
35700 #ifdef __STDC__
35701 # include <limits.h>
35702 #else
35703 # include <assert.h>
35704 #endif
35705
35706 #undef $ac_func
35707
35708 /* Override any GCC internal prototype to avoid an error.
35709 Use char because int might match the return type of a GCC
35710 builtin and then its argument prototype would still apply. */
35711 #ifdef __cplusplus
35712 extern "C"
35713 #endif
35714 char $ac_func ();
35715 /* The GNU C library defines this for functions which it implements
35716 to always fail with ENOSYS. Some functions are actually named
35717 something starting with __ and the normal name is an alias. */
35718 #if defined __stub_$ac_func || defined __stub___$ac_func
35719 choke me
35720 #endif
35721
35722 int
35723 main ()
35724 {
35725 return $ac_func ();
35726 ;
35727 return 0;
35728 }
35729 _ACEOF
35730 rm -f conftest.$ac_objext conftest$ac_exeext
35731 if { (ac_try="$ac_link"
35732 case "(($ac_try" in
35733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35734 *) ac_try_echo=$ac_try;;
35735 esac
35736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35737 (eval "$ac_link") 2>conftest.er1
35738 ac_status=$?
35739 grep -v '^ *+' conftest.er1 >conftest.err
35740 rm -f conftest.er1
35741 cat conftest.err >&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); } && {
35744 test -z "$ac_c_werror_flag" ||
35745 test ! -s conftest.err
35746 } && test -s conftest$ac_exeext &&
35747 $as_test_x conftest$ac_exeext; then
35748 eval "$as_ac_var=yes"
35749 else
35750 echo "$as_me: failed program was:" >&5
35751 sed 's/^/| /' conftest.$ac_ext >&5
35752
35753 eval "$as_ac_var=no"
35754 fi
35755
35756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35757 conftest$ac_exeext conftest.$ac_ext
35758 fi
35759 ac_res=`eval echo '${'$as_ac_var'}'`
35760 { echo "$as_me:$LINENO: result: $ac_res" >&5
35761 echo "${ECHO_T}$ac_res" >&6; }
35762 if test `eval echo '${'$as_ac_var'}'` = yes; then
35763 cat >>confdefs.h <<_ACEOF
35764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35765 _ACEOF
35766
35767 fi
35768 done
35769
35770
35771 if test "$ac_cv_func_sigaction" = "no"; then
35772 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35773 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35774 wxUSE_ON_FATAL_EXCEPTION=no
35775 fi
35776
35777 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35778 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35779 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35780 if test "${wx_cv_type_sa_handler+set}" = set; then
35781 echo $ECHO_N "(cached) $ECHO_C" >&6
35782 else
35783
35784 ac_ext=cpp
35785 ac_cpp='$CXXCPP $CPPFLAGS'
35786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35789
35790 cat >conftest.$ac_ext <<_ACEOF
35791 /* confdefs.h. */
35792 _ACEOF
35793 cat confdefs.h >>conftest.$ac_ext
35794 cat >>conftest.$ac_ext <<_ACEOF
35795 /* end confdefs.h. */
35796 #include <signal.h>
35797 int
35798 main ()
35799 {
35800
35801 extern void testSigHandler(int);
35802
35803 struct sigaction sa;
35804 sa.sa_handler = testSigHandler;
35805
35806 ;
35807 return 0;
35808 }
35809 _ACEOF
35810 rm -f conftest.$ac_objext
35811 if { (ac_try="$ac_compile"
35812 case "(($ac_try" in
35813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35814 *) ac_try_echo=$ac_try;;
35815 esac
35816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35817 (eval "$ac_compile") 2>conftest.er1
35818 ac_status=$?
35819 grep -v '^ *+' conftest.er1 >conftest.err
35820 rm -f conftest.er1
35821 cat conftest.err >&5
35822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823 (exit $ac_status); } && {
35824 test -z "$ac_cxx_werror_flag" ||
35825 test ! -s conftest.err
35826 } && test -s conftest.$ac_objext; then
35827
35828 wx_cv_type_sa_handler=int
35829
35830 else
35831 echo "$as_me: failed program was:" >&5
35832 sed 's/^/| /' conftest.$ac_ext >&5
35833
35834
35835 wx_cv_type_sa_handler=void
35836
35837 fi
35838
35839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35840 ac_ext=c
35841 ac_cpp='$CPP $CPPFLAGS'
35842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35845
35846
35847 fi
35848 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35849 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35850
35851 cat >>confdefs.h <<_ACEOF
35852 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35853 _ACEOF
35854
35855 fi
35856 fi
35857
35858 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35859 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35860 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35861 if test "${wx_cv_func_backtrace+set}" = set; then
35862 echo $ECHO_N "(cached) $ECHO_C" >&6
35863 else
35864
35865 ac_ext=cpp
35866 ac_cpp='$CXXCPP $CPPFLAGS'
35867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35870
35871 cat >conftest.$ac_ext <<_ACEOF
35872 /* confdefs.h. */
35873 _ACEOF
35874 cat confdefs.h >>conftest.$ac_ext
35875 cat >>conftest.$ac_ext <<_ACEOF
35876 /* end confdefs.h. */
35877 #include <execinfo.h>
35878 int
35879 main ()
35880 {
35881
35882 void *trace[1];
35883 char **messages;
35884
35885 backtrace(trace, 1);
35886 messages = backtrace_symbols(trace, 1);
35887
35888 ;
35889 return 0;
35890 }
35891 _ACEOF
35892 rm -f conftest.$ac_objext
35893 if { (ac_try="$ac_compile"
35894 case "(($ac_try" in
35895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35896 *) ac_try_echo=$ac_try;;
35897 esac
35898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35899 (eval "$ac_compile") 2>conftest.er1
35900 ac_status=$?
35901 grep -v '^ *+' conftest.er1 >conftest.err
35902 rm -f conftest.er1
35903 cat conftest.err >&5
35904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35905 (exit $ac_status); } && {
35906 test -z "$ac_cxx_werror_flag" ||
35907 test ! -s conftest.err
35908 } && test -s conftest.$ac_objext; then
35909 wx_cv_func_backtrace=yes
35910 else
35911 echo "$as_me: failed program was:" >&5
35912 sed 's/^/| /' conftest.$ac_ext >&5
35913
35914 wx_cv_func_backtrace=no
35915
35916 fi
35917
35918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35919 ac_ext=c
35920 ac_cpp='$CPP $CPPFLAGS'
35921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35924
35925
35926
35927 fi
35928 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35929 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35930
35931
35932 if test "$wx_cv_func_backtrace" = "no"; then
35933 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35934 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35935 wxUSE_STACKWALKER=no
35936 else
35937 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35938 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35939 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35940 echo $ECHO_N "(cached) $ECHO_C" >&6
35941 else
35942
35943 ac_ext=cpp
35944 ac_cpp='$CXXCPP $CPPFLAGS'
35945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35948
35949 cat >conftest.$ac_ext <<_ACEOF
35950 /* confdefs.h. */
35951 _ACEOF
35952 cat confdefs.h >>conftest.$ac_ext
35953 cat >>conftest.$ac_ext <<_ACEOF
35954 /* end confdefs.h. */
35955 #include <cxxabi.h>
35956 int
35957 main ()
35958 {
35959
35960 int rc;
35961 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35962
35963 ;
35964 return 0;
35965 }
35966 _ACEOF
35967 rm -f conftest.$ac_objext conftest$ac_exeext
35968 if { (ac_try="$ac_link"
35969 case "(($ac_try" in
35970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35971 *) ac_try_echo=$ac_try;;
35972 esac
35973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35974 (eval "$ac_link") 2>conftest.er1
35975 ac_status=$?
35976 grep -v '^ *+' conftest.er1 >conftest.err
35977 rm -f conftest.er1
35978 cat conftest.err >&5
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); } && {
35981 test -z "$ac_cxx_werror_flag" ||
35982 test ! -s conftest.err
35983 } && test -s conftest$ac_exeext &&
35984 $as_test_x conftest$ac_exeext; then
35985 wx_cv_func_cxa_demangle=yes
35986 else
35987 echo "$as_me: failed program was:" >&5
35988 sed 's/^/| /' conftest.$ac_ext >&5
35989
35990 wx_cv_func_cxa_demangle=no
35991
35992 fi
35993
35994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35995 conftest$ac_exeext conftest.$ac_ext
35996 ac_ext=c
35997 ac_cpp='$CPP $CPPFLAGS'
35998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36001
36002
36003
36004 fi
36005 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36006 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36007
36008 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36009 cat >>confdefs.h <<\_ACEOF
36010 #define HAVE_CXA_DEMANGLE 1
36011 _ACEOF
36012
36013 fi
36014 fi
36015 fi
36016
36017 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36018 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36019 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36020 wxUSE_STACKWALKER=no
36021 fi
36022
36023
36024
36025
36026 for ac_func in mkstemp mktemp
36027 do
36028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36031 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36032 echo $ECHO_N "(cached) $ECHO_C" >&6
36033 else
36034 cat >conftest.$ac_ext <<_ACEOF
36035 /* confdefs.h. */
36036 _ACEOF
36037 cat confdefs.h >>conftest.$ac_ext
36038 cat >>conftest.$ac_ext <<_ACEOF
36039 /* end confdefs.h. */
36040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36042 #define $ac_func innocuous_$ac_func
36043
36044 /* System header to define __stub macros and hopefully few prototypes,
36045 which can conflict with char $ac_func (); below.
36046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36047 <limits.h> exists even on freestanding compilers. */
36048
36049 #ifdef __STDC__
36050 # include <limits.h>
36051 #else
36052 # include <assert.h>
36053 #endif
36054
36055 #undef $ac_func
36056
36057 /* Override any GCC internal prototype to avoid an error.
36058 Use char because int might match the return type of a GCC
36059 builtin and then its argument prototype would still apply. */
36060 #ifdef __cplusplus
36061 extern "C"
36062 #endif
36063 char $ac_func ();
36064 /* The GNU C library defines this for functions which it implements
36065 to always fail with ENOSYS. Some functions are actually named
36066 something starting with __ and the normal name is an alias. */
36067 #if defined __stub_$ac_func || defined __stub___$ac_func
36068 choke me
36069 #endif
36070
36071 int
36072 main ()
36073 {
36074 return $ac_func ();
36075 ;
36076 return 0;
36077 }
36078 _ACEOF
36079 rm -f conftest.$ac_objext conftest$ac_exeext
36080 if { (ac_try="$ac_link"
36081 case "(($ac_try" in
36082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36083 *) ac_try_echo=$ac_try;;
36084 esac
36085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36086 (eval "$ac_link") 2>conftest.er1
36087 ac_status=$?
36088 grep -v '^ *+' conftest.er1 >conftest.err
36089 rm -f conftest.er1
36090 cat conftest.err >&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } && {
36093 test -z "$ac_c_werror_flag" ||
36094 test ! -s conftest.err
36095 } && test -s conftest$ac_exeext &&
36096 $as_test_x conftest$ac_exeext; then
36097 eval "$as_ac_var=yes"
36098 else
36099 echo "$as_me: failed program was:" >&5
36100 sed 's/^/| /' conftest.$ac_ext >&5
36101
36102 eval "$as_ac_var=no"
36103 fi
36104
36105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36106 conftest$ac_exeext conftest.$ac_ext
36107 fi
36108 ac_res=`eval echo '${'$as_ac_var'}'`
36109 { echo "$as_me:$LINENO: result: $ac_res" >&5
36110 echo "${ECHO_T}$ac_res" >&6; }
36111 if test `eval echo '${'$as_ac_var'}'` = yes; then
36112 cat >>confdefs.h <<_ACEOF
36113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36114 _ACEOF
36115 break
36116 fi
36117 done
36118
36119
36120 { echo "$as_me:$LINENO: checking for statfs" >&5
36121 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36122 if test "${wx_cv_func_statfs+set}" = set; then
36123 echo $ECHO_N "(cached) $ECHO_C" >&6
36124 else
36125 cat >conftest.$ac_ext <<_ACEOF
36126 /* confdefs.h. */
36127 _ACEOF
36128 cat confdefs.h >>conftest.$ac_ext
36129 cat >>conftest.$ac_ext <<_ACEOF
36130 /* end confdefs.h. */
36131
36132 #if defined(__BSD__)
36133 #include <sys/param.h>
36134 #include <sys/mount.h>
36135 #else
36136 #include <sys/vfs.h>
36137 #endif
36138
36139 int
36140 main ()
36141 {
36142
36143 long l;
36144 struct statfs fs;
36145 statfs("/", &fs);
36146 l = fs.f_bsize;
36147 l += fs.f_blocks;
36148 l += fs.f_bavail;
36149
36150 ;
36151 return 0;
36152 }
36153 _ACEOF
36154 rm -f conftest.$ac_objext
36155 if { (ac_try="$ac_compile"
36156 case "(($ac_try" in
36157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36158 *) ac_try_echo=$ac_try;;
36159 esac
36160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36161 (eval "$ac_compile") 2>conftest.er1
36162 ac_status=$?
36163 grep -v '^ *+' conftest.er1 >conftest.err
36164 rm -f conftest.er1
36165 cat conftest.err >&5
36166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36167 (exit $ac_status); } && {
36168 test -z "$ac_c_werror_flag" ||
36169 test ! -s conftest.err
36170 } && test -s conftest.$ac_objext; then
36171 wx_cv_func_statfs=yes
36172 else
36173 echo "$as_me: failed program was:" >&5
36174 sed 's/^/| /' conftest.$ac_ext >&5
36175
36176 wx_cv_func_statfs=no
36177
36178 fi
36179
36180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36181
36182 fi
36183 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36184 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36185
36186 if test "$wx_cv_func_statfs" = "yes"; then
36187 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36188 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36189 if test "${wx_cv_func_statfs_decl+set}" = set; then
36190 echo $ECHO_N "(cached) $ECHO_C" >&6
36191 else
36192 ac_ext=cpp
36193 ac_cpp='$CXXCPP $CPPFLAGS'
36194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36197
36198 cat >conftest.$ac_ext <<_ACEOF
36199 /* confdefs.h. */
36200 _ACEOF
36201 cat confdefs.h >>conftest.$ac_ext
36202 cat >>conftest.$ac_ext <<_ACEOF
36203 /* end confdefs.h. */
36204
36205 #if defined(__BSD__)
36206 #include <sys/param.h>
36207 #include <sys/mount.h>
36208 #else
36209 #include <sys/vfs.h>
36210 #endif
36211
36212 int
36213 main ()
36214 {
36215
36216 struct statfs fs;
36217 statfs("", &fs);
36218
36219 ;
36220 return 0;
36221 }
36222 _ACEOF
36223 rm -f conftest.$ac_objext
36224 if { (ac_try="$ac_compile"
36225 case "(($ac_try" in
36226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36227 *) ac_try_echo=$ac_try;;
36228 esac
36229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36230 (eval "$ac_compile") 2>conftest.er1
36231 ac_status=$?
36232 grep -v '^ *+' conftest.er1 >conftest.err
36233 rm -f conftest.er1
36234 cat conftest.err >&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); } && {
36237 test -z "$ac_cxx_werror_flag" ||
36238 test ! -s conftest.err
36239 } && test -s conftest.$ac_objext; then
36240 wx_cv_func_statfs_decl=yes
36241 else
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36244
36245 wx_cv_func_statfs_decl=no
36246
36247 fi
36248
36249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36250 ac_ext=c
36251 ac_cpp='$CPP $CPPFLAGS'
36252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36255
36256
36257 fi
36258 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36259 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36260
36261 if test "$wx_cv_func_statfs_decl" = "yes"; then
36262 cat >>confdefs.h <<\_ACEOF
36263 #define HAVE_STATFS_DECL 1
36264 _ACEOF
36265
36266 fi
36267
36268 wx_cv_type_statvfs_t="struct statfs"
36269 cat >>confdefs.h <<\_ACEOF
36270 #define HAVE_STATFS 1
36271 _ACEOF
36272
36273 else
36274 { echo "$as_me:$LINENO: checking for statvfs" >&5
36275 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36276 if test "${wx_cv_func_statvfs+set}" = set; then
36277 echo $ECHO_N "(cached) $ECHO_C" >&6
36278 else
36279 cat >conftest.$ac_ext <<_ACEOF
36280 /* confdefs.h. */
36281 _ACEOF
36282 cat confdefs.h >>conftest.$ac_ext
36283 cat >>conftest.$ac_ext <<_ACEOF
36284 /* end confdefs.h. */
36285
36286 #include <stddef.h>
36287 #include <sys/statvfs.h>
36288
36289 int
36290 main ()
36291 {
36292
36293 statvfs("/", NULL);
36294
36295 ;
36296 return 0;
36297 }
36298 _ACEOF
36299 rm -f conftest.$ac_objext
36300 if { (ac_try="$ac_compile"
36301 case "(($ac_try" in
36302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36303 *) ac_try_echo=$ac_try;;
36304 esac
36305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36306 (eval "$ac_compile") 2>conftest.er1
36307 ac_status=$?
36308 grep -v '^ *+' conftest.er1 >conftest.err
36309 rm -f conftest.er1
36310 cat conftest.err >&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); } && {
36313 test -z "$ac_c_werror_flag" ||
36314 test ! -s conftest.err
36315 } && test -s conftest.$ac_objext; then
36316 wx_cv_func_statvfs=yes
36317 else
36318 echo "$as_me: failed program was:" >&5
36319 sed 's/^/| /' conftest.$ac_ext >&5
36320
36321 wx_cv_func_statvfs=no
36322
36323 fi
36324
36325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36326
36327 fi
36328 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36329 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36330
36331 if test "$wx_cv_func_statvfs" = "yes"; then
36332 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36333 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36334 if test "${wx_cv_type_statvfs_t+set}" = set; then
36335 echo $ECHO_N "(cached) $ECHO_C" >&6
36336 else
36337 ac_ext=cpp
36338 ac_cpp='$CXXCPP $CPPFLAGS'
36339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36342
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h. */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349
36350 #include <sys/statvfs.h>
36351
36352 int
36353 main ()
36354 {
36355
36356 long l;
36357 statvfs_t fs;
36358 statvfs("/", &fs);
36359 l = fs.f_bsize;
36360 l += fs.f_blocks;
36361 l += fs.f_bavail;
36362
36363 ;
36364 return 0;
36365 }
36366 _ACEOF
36367 rm -f conftest.$ac_objext
36368 if { (ac_try="$ac_compile"
36369 case "(($ac_try" in
36370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36371 *) ac_try_echo=$ac_try;;
36372 esac
36373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36374 (eval "$ac_compile") 2>conftest.er1
36375 ac_status=$?
36376 grep -v '^ *+' conftest.er1 >conftest.err
36377 rm -f conftest.er1
36378 cat conftest.err >&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } && {
36381 test -z "$ac_cxx_werror_flag" ||
36382 test ! -s conftest.err
36383 } && test -s conftest.$ac_objext; then
36384 wx_cv_type_statvfs_t=statvfs_t
36385 else
36386 echo "$as_me: failed program was:" >&5
36387 sed 's/^/| /' conftest.$ac_ext >&5
36388
36389
36390 cat >conftest.$ac_ext <<_ACEOF
36391 /* confdefs.h. */
36392 _ACEOF
36393 cat confdefs.h >>conftest.$ac_ext
36394 cat >>conftest.$ac_ext <<_ACEOF
36395 /* end confdefs.h. */
36396
36397 #include <sys/statvfs.h>
36398
36399 int
36400 main ()
36401 {
36402
36403 long l;
36404 struct statvfs fs;
36405 statvfs("/", &fs);
36406 l = fs.f_bsize;
36407 l += fs.f_blocks;
36408 l += fs.f_bavail;
36409
36410 ;
36411 return 0;
36412 }
36413 _ACEOF
36414 rm -f conftest.$ac_objext
36415 if { (ac_try="$ac_compile"
36416 case "(($ac_try" in
36417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36418 *) ac_try_echo=$ac_try;;
36419 esac
36420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36421 (eval "$ac_compile") 2>conftest.er1
36422 ac_status=$?
36423 grep -v '^ *+' conftest.er1 >conftest.err
36424 rm -f conftest.er1
36425 cat conftest.err >&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } && {
36428 test -z "$ac_cxx_werror_flag" ||
36429 test ! -s conftest.err
36430 } && test -s conftest.$ac_objext; then
36431 wx_cv_type_statvfs_t="struct statvfs"
36432 else
36433 echo "$as_me: failed program was:" >&5
36434 sed 's/^/| /' conftest.$ac_ext >&5
36435
36436 wx_cv_type_statvfs_t="unknown"
36437
36438 fi
36439
36440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36441
36442
36443 fi
36444
36445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36446 ac_ext=c
36447 ac_cpp='$CPP $CPPFLAGS'
36448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36451
36452
36453 fi
36454 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36455 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36456
36457 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36458 cat >>confdefs.h <<\_ACEOF
36459 #define HAVE_STATVFS 1
36460 _ACEOF
36461
36462 fi
36463 else
36464 wx_cv_type_statvfs_t="unknown"
36465 fi
36466 fi
36467
36468 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36469 cat >>confdefs.h <<_ACEOF
36470 #define WX_STATFS_T $wx_cv_type_statvfs_t
36471 _ACEOF
36472
36473 else
36474 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36475 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36476 fi
36477
36478 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36479
36480
36481 for ac_func in fcntl flock
36482 do
36483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36484 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36488 else
36489 cat >conftest.$ac_ext <<_ACEOF
36490 /* confdefs.h. */
36491 _ACEOF
36492 cat confdefs.h >>conftest.$ac_ext
36493 cat >>conftest.$ac_ext <<_ACEOF
36494 /* end confdefs.h. */
36495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36497 #define $ac_func innocuous_$ac_func
36498
36499 /* System header to define __stub macros and hopefully few prototypes,
36500 which can conflict with char $ac_func (); below.
36501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36502 <limits.h> exists even on freestanding compilers. */
36503
36504 #ifdef __STDC__
36505 # include <limits.h>
36506 #else
36507 # include <assert.h>
36508 #endif
36509
36510 #undef $ac_func
36511
36512 /* Override any GCC internal prototype to avoid an error.
36513 Use char because int might match the return type of a GCC
36514 builtin and then its argument prototype would still apply. */
36515 #ifdef __cplusplus
36516 extern "C"
36517 #endif
36518 char $ac_func ();
36519 /* The GNU C library defines this for functions which it implements
36520 to always fail with ENOSYS. Some functions are actually named
36521 something starting with __ and the normal name is an alias. */
36522 #if defined __stub_$ac_func || defined __stub___$ac_func
36523 choke me
36524 #endif
36525
36526 int
36527 main ()
36528 {
36529 return $ac_func ();
36530 ;
36531 return 0;
36532 }
36533 _ACEOF
36534 rm -f conftest.$ac_objext conftest$ac_exeext
36535 if { (ac_try="$ac_link"
36536 case "(($ac_try" in
36537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36538 *) ac_try_echo=$ac_try;;
36539 esac
36540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36541 (eval "$ac_link") 2>conftest.er1
36542 ac_status=$?
36543 grep -v '^ *+' conftest.er1 >conftest.err
36544 rm -f conftest.er1
36545 cat conftest.err >&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } && {
36548 test -z "$ac_c_werror_flag" ||
36549 test ! -s conftest.err
36550 } && test -s conftest$ac_exeext &&
36551 $as_test_x conftest$ac_exeext; then
36552 eval "$as_ac_var=yes"
36553 else
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36556
36557 eval "$as_ac_var=no"
36558 fi
36559
36560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36561 conftest$ac_exeext conftest.$ac_ext
36562 fi
36563 ac_res=`eval echo '${'$as_ac_var'}'`
36564 { echo "$as_me:$LINENO: result: $ac_res" >&5
36565 echo "${ECHO_T}$ac_res" >&6; }
36566 if test `eval echo '${'$as_ac_var'}'` = yes; then
36567 cat >>confdefs.h <<_ACEOF
36568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36569 _ACEOF
36570 break
36571 fi
36572 done
36573
36574
36575 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36576 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36577 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36578 wxUSE_SNGLINST_CHECKER=no
36579 fi
36580 fi
36581
36582
36583 for ac_func in timegm
36584 do
36585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36589 echo $ECHO_N "(cached) $ECHO_C" >&6
36590 else
36591 cat >conftest.$ac_ext <<_ACEOF
36592 /* confdefs.h. */
36593 _ACEOF
36594 cat confdefs.h >>conftest.$ac_ext
36595 cat >>conftest.$ac_ext <<_ACEOF
36596 /* end confdefs.h. */
36597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36599 #define $ac_func innocuous_$ac_func
36600
36601 /* System header to define __stub macros and hopefully few prototypes,
36602 which can conflict with char $ac_func (); below.
36603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36604 <limits.h> exists even on freestanding compilers. */
36605
36606 #ifdef __STDC__
36607 # include <limits.h>
36608 #else
36609 # include <assert.h>
36610 #endif
36611
36612 #undef $ac_func
36613
36614 /* Override any GCC internal prototype to avoid an error.
36615 Use char because int might match the return type of a GCC
36616 builtin and then its argument prototype would still apply. */
36617 #ifdef __cplusplus
36618 extern "C"
36619 #endif
36620 char $ac_func ();
36621 /* The GNU C library defines this for functions which it implements
36622 to always fail with ENOSYS. Some functions are actually named
36623 something starting with __ and the normal name is an alias. */
36624 #if defined __stub_$ac_func || defined __stub___$ac_func
36625 choke me
36626 #endif
36627
36628 int
36629 main ()
36630 {
36631 return $ac_func ();
36632 ;
36633 return 0;
36634 }
36635 _ACEOF
36636 rm -f conftest.$ac_objext conftest$ac_exeext
36637 if { (ac_try="$ac_link"
36638 case "(($ac_try" in
36639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36640 *) ac_try_echo=$ac_try;;
36641 esac
36642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36643 (eval "$ac_link") 2>conftest.er1
36644 ac_status=$?
36645 grep -v '^ *+' conftest.er1 >conftest.err
36646 rm -f conftest.er1
36647 cat conftest.err >&5
36648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36649 (exit $ac_status); } && {
36650 test -z "$ac_c_werror_flag" ||
36651 test ! -s conftest.err
36652 } && test -s conftest$ac_exeext &&
36653 $as_test_x conftest$ac_exeext; then
36654 eval "$as_ac_var=yes"
36655 else
36656 echo "$as_me: failed program was:" >&5
36657 sed 's/^/| /' conftest.$ac_ext >&5
36658
36659 eval "$as_ac_var=no"
36660 fi
36661
36662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36663 conftest$ac_exeext conftest.$ac_ext
36664 fi
36665 ac_res=`eval echo '${'$as_ac_var'}'`
36666 { echo "$as_me:$LINENO: result: $ac_res" >&5
36667 echo "${ECHO_T}$ac_res" >&6; }
36668 if test `eval echo '${'$as_ac_var'}'` = yes; then
36669 cat >>confdefs.h <<_ACEOF
36670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36671 _ACEOF
36672
36673 fi
36674 done
36675
36676
36677
36678
36679 for ac_func in putenv setenv
36680 do
36681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36682 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36684 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36685 echo $ECHO_N "(cached) $ECHO_C" >&6
36686 else
36687 cat >conftest.$ac_ext <<_ACEOF
36688 /* confdefs.h. */
36689 _ACEOF
36690 cat confdefs.h >>conftest.$ac_ext
36691 cat >>conftest.$ac_ext <<_ACEOF
36692 /* end confdefs.h. */
36693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36695 #define $ac_func innocuous_$ac_func
36696
36697 /* System header to define __stub macros and hopefully few prototypes,
36698 which can conflict with char $ac_func (); below.
36699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36700 <limits.h> exists even on freestanding compilers. */
36701
36702 #ifdef __STDC__
36703 # include <limits.h>
36704 #else
36705 # include <assert.h>
36706 #endif
36707
36708 #undef $ac_func
36709
36710 /* Override any GCC internal prototype to avoid an error.
36711 Use char because int might match the return type of a GCC
36712 builtin and then its argument prototype would still apply. */
36713 #ifdef __cplusplus
36714 extern "C"
36715 #endif
36716 char $ac_func ();
36717 /* The GNU C library defines this for functions which it implements
36718 to always fail with ENOSYS. Some functions are actually named
36719 something starting with __ and the normal name is an alias. */
36720 #if defined __stub_$ac_func || defined __stub___$ac_func
36721 choke me
36722 #endif
36723
36724 int
36725 main ()
36726 {
36727 return $ac_func ();
36728 ;
36729 return 0;
36730 }
36731 _ACEOF
36732 rm -f conftest.$ac_objext conftest$ac_exeext
36733 if { (ac_try="$ac_link"
36734 case "(($ac_try" in
36735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36736 *) ac_try_echo=$ac_try;;
36737 esac
36738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36739 (eval "$ac_link") 2>conftest.er1
36740 ac_status=$?
36741 grep -v '^ *+' conftest.er1 >conftest.err
36742 rm -f conftest.er1
36743 cat conftest.err >&5
36744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36745 (exit $ac_status); } && {
36746 test -z "$ac_c_werror_flag" ||
36747 test ! -s conftest.err
36748 } && test -s conftest$ac_exeext &&
36749 $as_test_x conftest$ac_exeext; then
36750 eval "$as_ac_var=yes"
36751 else
36752 echo "$as_me: failed program was:" >&5
36753 sed 's/^/| /' conftest.$ac_ext >&5
36754
36755 eval "$as_ac_var=no"
36756 fi
36757
36758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36759 conftest$ac_exeext conftest.$ac_ext
36760 fi
36761 ac_res=`eval echo '${'$as_ac_var'}'`
36762 { echo "$as_me:$LINENO: result: $ac_res" >&5
36763 echo "${ECHO_T}$ac_res" >&6; }
36764 if test `eval echo '${'$as_ac_var'}'` = yes; then
36765 cat >>confdefs.h <<_ACEOF
36766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36767 _ACEOF
36768 break
36769 fi
36770 done
36771
36772
36773 HAVE_SOME_SLEEP_FUNC=0
36774 if test "$USE_BEOS" = 1; then
36775 cat >>confdefs.h <<\_ACEOF
36776 #define HAVE_SLEEP 1
36777 _ACEOF
36778
36779 HAVE_SOME_SLEEP_FUNC=1
36780 fi
36781
36782 if test "$USE_DARWIN" = 1; then
36783 cat >>confdefs.h <<\_ACEOF
36784 #define HAVE_USLEEP 1
36785 _ACEOF
36786
36787 HAVE_SOME_SLEEP_FUNC=1
36788 fi
36789
36790 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36791 POSIX4_LINK=
36792
36793 for ac_func in nanosleep
36794 do
36795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36799 echo $ECHO_N "(cached) $ECHO_C" >&6
36800 else
36801 cat >conftest.$ac_ext <<_ACEOF
36802 /* confdefs.h. */
36803 _ACEOF
36804 cat confdefs.h >>conftest.$ac_ext
36805 cat >>conftest.$ac_ext <<_ACEOF
36806 /* end confdefs.h. */
36807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36809 #define $ac_func innocuous_$ac_func
36810
36811 /* System header to define __stub macros and hopefully few prototypes,
36812 which can conflict with char $ac_func (); below.
36813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36814 <limits.h> exists even on freestanding compilers. */
36815
36816 #ifdef __STDC__
36817 # include <limits.h>
36818 #else
36819 # include <assert.h>
36820 #endif
36821
36822 #undef $ac_func
36823
36824 /* Override any GCC internal prototype to avoid an error.
36825 Use char because int might match the return type of a GCC
36826 builtin and then its argument prototype would still apply. */
36827 #ifdef __cplusplus
36828 extern "C"
36829 #endif
36830 char $ac_func ();
36831 /* The GNU C library defines this for functions which it implements
36832 to always fail with ENOSYS. Some functions are actually named
36833 something starting with __ and the normal name is an alias. */
36834 #if defined __stub_$ac_func || defined __stub___$ac_func
36835 choke me
36836 #endif
36837
36838 int
36839 main ()
36840 {
36841 return $ac_func ();
36842 ;
36843 return 0;
36844 }
36845 _ACEOF
36846 rm -f conftest.$ac_objext conftest$ac_exeext
36847 if { (ac_try="$ac_link"
36848 case "(($ac_try" in
36849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36850 *) ac_try_echo=$ac_try;;
36851 esac
36852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36853 (eval "$ac_link") 2>conftest.er1
36854 ac_status=$?
36855 grep -v '^ *+' conftest.er1 >conftest.err
36856 rm -f conftest.er1
36857 cat conftest.err >&5
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); } && {
36860 test -z "$ac_c_werror_flag" ||
36861 test ! -s conftest.err
36862 } && test -s conftest$ac_exeext &&
36863 $as_test_x conftest$ac_exeext; then
36864 eval "$as_ac_var=yes"
36865 else
36866 echo "$as_me: failed program was:" >&5
36867 sed 's/^/| /' conftest.$ac_ext >&5
36868
36869 eval "$as_ac_var=no"
36870 fi
36871
36872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36873 conftest$ac_exeext conftest.$ac_ext
36874 fi
36875 ac_res=`eval echo '${'$as_ac_var'}'`
36876 { echo "$as_me:$LINENO: result: $ac_res" >&5
36877 echo "${ECHO_T}$ac_res" >&6; }
36878 if test `eval echo '${'$as_ac_var'}'` = yes; then
36879 cat >>confdefs.h <<_ACEOF
36880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36881 _ACEOF
36882 cat >>confdefs.h <<\_ACEOF
36883 #define HAVE_NANOSLEEP 1
36884 _ACEOF
36885
36886 else
36887
36888 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36889 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36890 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36891 echo $ECHO_N "(cached) $ECHO_C" >&6
36892 else
36893 ac_check_lib_save_LIBS=$LIBS
36894 LIBS="-lposix4 $LIBS"
36895 cat >conftest.$ac_ext <<_ACEOF
36896 /* confdefs.h. */
36897 _ACEOF
36898 cat confdefs.h >>conftest.$ac_ext
36899 cat >>conftest.$ac_ext <<_ACEOF
36900 /* end confdefs.h. */
36901
36902 /* Override any GCC internal prototype to avoid an error.
36903 Use char because int might match the return type of a GCC
36904 builtin and then its argument prototype would still apply. */
36905 #ifdef __cplusplus
36906 extern "C"
36907 #endif
36908 char nanosleep ();
36909 int
36910 main ()
36911 {
36912 return nanosleep ();
36913 ;
36914 return 0;
36915 }
36916 _ACEOF
36917 rm -f conftest.$ac_objext conftest$ac_exeext
36918 if { (ac_try="$ac_link"
36919 case "(($ac_try" in
36920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36921 *) ac_try_echo=$ac_try;;
36922 esac
36923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36924 (eval "$ac_link") 2>conftest.er1
36925 ac_status=$?
36926 grep -v '^ *+' conftest.er1 >conftest.err
36927 rm -f conftest.er1
36928 cat conftest.err >&5
36929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36930 (exit $ac_status); } && {
36931 test -z "$ac_c_werror_flag" ||
36932 test ! -s conftest.err
36933 } && test -s conftest$ac_exeext &&
36934 $as_test_x conftest$ac_exeext; then
36935 ac_cv_lib_posix4_nanosleep=yes
36936 else
36937 echo "$as_me: failed program was:" >&5
36938 sed 's/^/| /' conftest.$ac_ext >&5
36939
36940 ac_cv_lib_posix4_nanosleep=no
36941 fi
36942
36943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36944 conftest$ac_exeext conftest.$ac_ext
36945 LIBS=$ac_check_lib_save_LIBS
36946 fi
36947 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36948 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36949 if test $ac_cv_lib_posix4_nanosleep = yes; then
36950
36951 cat >>confdefs.h <<\_ACEOF
36952 #define HAVE_NANOSLEEP 1
36953 _ACEOF
36954
36955 POSIX4_LINK=" -lposix4"
36956
36957 else
36958
36959
36960 for wx_func in usleep
36961 do
36962 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36963 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36964 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36965 echo $ECHO_N "(cached) $ECHO_C" >&6
36966 else
36967
36968 cat >conftest.$ac_ext <<_ACEOF
36969
36970 /* confdefs.h. */
36971 _ACEOF
36972 cat confdefs.h >>conftest.$ac_ext
36973 cat >>conftest.$ac_ext <<_ACEOF
36974 /* end confdefs.h. */
36975
36976
36977 $ac_includes_default
36978
36979 int
36980 main ()
36981 {
36982
36983 #ifndef $wx_func
36984 &$wx_func;
36985 #endif
36986
36987
36988 ;
36989 return 0;
36990 }
36991
36992 _ACEOF
36993 rm -f conftest.$ac_objext conftest$ac_exeext
36994 if { (ac_try="$ac_link"
36995 case "(($ac_try" in
36996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36997 *) ac_try_echo=$ac_try;;
36998 esac
36999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37000 (eval "$ac_link") 2>conftest.er1
37001 ac_status=$?
37002 grep -v '^ *+' conftest.er1 >conftest.err
37003 rm -f conftest.er1
37004 cat conftest.err >&5
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); } && {
37007 test -z "$ac_c_werror_flag" ||
37008 test ! -s conftest.err
37009 } && test -s conftest$ac_exeext &&
37010 $as_test_x conftest$ac_exeext; then
37011 eval wx_cv_func_$wx_func=yes
37012 else
37013 echo "$as_me: failed program was:" >&5
37014 sed 's/^/| /' conftest.$ac_ext >&5
37015
37016 eval wx_cv_func_$wx_func=no
37017 fi
37018
37019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37020 conftest$ac_exeext conftest.$ac_ext
37021
37022 fi
37023 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37024 { echo "$as_me:$LINENO: result: $ac_res" >&5
37025 echo "${ECHO_T}$ac_res" >&6; }
37026
37027 if eval test \$wx_cv_func_$wx_func = yes
37028 then
37029 cat >>confdefs.h <<_ACEOF
37030 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37031 _ACEOF
37032
37033
37034 else
37035 :
37036 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37037 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37038
37039 fi
37040 done
37041
37042
37043
37044 fi
37045
37046
37047
37048 fi
37049 done
37050
37051 fi
37052
37053
37054 for wx_func in uname
37055 do
37056 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37057 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37058 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37059 echo $ECHO_N "(cached) $ECHO_C" >&6
37060 else
37061
37062 cat >conftest.$ac_ext <<_ACEOF
37063
37064 /* confdefs.h. */
37065 _ACEOF
37066 cat confdefs.h >>conftest.$ac_ext
37067 cat >>conftest.$ac_ext <<_ACEOF
37068 /* end confdefs.h. */
37069
37070 #include <sys/utsname.h>
37071 $ac_includes_default
37072
37073 int
37074 main ()
37075 {
37076
37077 #ifndef $wx_func
37078 &$wx_func;
37079 #endif
37080
37081
37082 ;
37083 return 0;
37084 }
37085
37086 _ACEOF
37087 rm -f conftest.$ac_objext conftest$ac_exeext
37088 if { (ac_try="$ac_link"
37089 case "(($ac_try" in
37090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37091 *) ac_try_echo=$ac_try;;
37092 esac
37093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37094 (eval "$ac_link") 2>conftest.er1
37095 ac_status=$?
37096 grep -v '^ *+' conftest.er1 >conftest.err
37097 rm -f conftest.er1
37098 cat conftest.err >&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); } && {
37101 test -z "$ac_c_werror_flag" ||
37102 test ! -s conftest.err
37103 } && test -s conftest$ac_exeext &&
37104 $as_test_x conftest$ac_exeext; then
37105 eval wx_cv_func_$wx_func=yes
37106 else
37107 echo "$as_me: failed program was:" >&5
37108 sed 's/^/| /' conftest.$ac_ext >&5
37109
37110 eval wx_cv_func_$wx_func=no
37111 fi
37112
37113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37114 conftest$ac_exeext conftest.$ac_ext
37115
37116 fi
37117 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37118 { echo "$as_me:$LINENO: result: $ac_res" >&5
37119 echo "${ECHO_T}$ac_res" >&6; }
37120
37121 if eval test \$wx_cv_func_$wx_func = yes
37122 then
37123 cat >>confdefs.h <<_ACEOF
37124 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37125 _ACEOF
37126
37127
37128 else
37129 :
37130
37131 fi
37132 done
37133
37134 if test "$wx_cv_func_uname" != yes; then
37135
37136 for wx_func in gethostname
37137 do
37138 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37139 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37140 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37141 echo $ECHO_N "(cached) $ECHO_C" >&6
37142 else
37143
37144 cat >conftest.$ac_ext <<_ACEOF
37145
37146 /* confdefs.h. */
37147 _ACEOF
37148 cat confdefs.h >>conftest.$ac_ext
37149 cat >>conftest.$ac_ext <<_ACEOF
37150 /* end confdefs.h. */
37151
37152
37153 $ac_includes_default
37154
37155 int
37156 main ()
37157 {
37158
37159 #ifndef $wx_func
37160 &$wx_func;
37161 #endif
37162
37163
37164 ;
37165 return 0;
37166 }
37167
37168 _ACEOF
37169 rm -f conftest.$ac_objext conftest$ac_exeext
37170 if { (ac_try="$ac_link"
37171 case "(($ac_try" in
37172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37173 *) ac_try_echo=$ac_try;;
37174 esac
37175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37176 (eval "$ac_link") 2>conftest.er1
37177 ac_status=$?
37178 grep -v '^ *+' conftest.er1 >conftest.err
37179 rm -f conftest.er1
37180 cat conftest.err >&5
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); } && {
37183 test -z "$ac_c_werror_flag" ||
37184 test ! -s conftest.err
37185 } && test -s conftest$ac_exeext &&
37186 $as_test_x conftest$ac_exeext; then
37187 eval wx_cv_func_$wx_func=yes
37188 else
37189 echo "$as_me: failed program was:" >&5
37190 sed 's/^/| /' conftest.$ac_ext >&5
37191
37192 eval wx_cv_func_$wx_func=no
37193 fi
37194
37195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37196 conftest$ac_exeext conftest.$ac_ext
37197
37198 fi
37199 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37200 { echo "$as_me:$LINENO: result: $ac_res" >&5
37201 echo "${ECHO_T}$ac_res" >&6; }
37202
37203 if eval test \$wx_cv_func_$wx_func = yes
37204 then
37205 cat >>confdefs.h <<_ACEOF
37206 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37207 _ACEOF
37208
37209
37210 else
37211 :
37212
37213 fi
37214 done
37215
37216 fi
37217
37218
37219 for wx_func in strtok_r
37220 do
37221 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37222 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37223 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37224 echo $ECHO_N "(cached) $ECHO_C" >&6
37225 else
37226
37227 cat >conftest.$ac_ext <<_ACEOF
37228
37229 /* confdefs.h. */
37230 _ACEOF
37231 cat confdefs.h >>conftest.$ac_ext
37232 cat >>conftest.$ac_ext <<_ACEOF
37233 /* end confdefs.h. */
37234
37235 #define _REENTRANT
37236 $ac_includes_default
37237
37238 int
37239 main ()
37240 {
37241
37242 #ifndef $wx_func
37243 &$wx_func;
37244 #endif
37245
37246
37247 ;
37248 return 0;
37249 }
37250
37251 _ACEOF
37252 rm -f conftest.$ac_objext conftest$ac_exeext
37253 if { (ac_try="$ac_link"
37254 case "(($ac_try" in
37255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37256 *) ac_try_echo=$ac_try;;
37257 esac
37258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37259 (eval "$ac_link") 2>conftest.er1
37260 ac_status=$?
37261 grep -v '^ *+' conftest.er1 >conftest.err
37262 rm -f conftest.er1
37263 cat conftest.err >&5
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); } && {
37266 test -z "$ac_c_werror_flag" ||
37267 test ! -s conftest.err
37268 } && test -s conftest$ac_exeext &&
37269 $as_test_x conftest$ac_exeext; then
37270 eval wx_cv_func_$wx_func=yes
37271 else
37272 echo "$as_me: failed program was:" >&5
37273 sed 's/^/| /' conftest.$ac_ext >&5
37274
37275 eval wx_cv_func_$wx_func=no
37276 fi
37277
37278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37279 conftest$ac_exeext conftest.$ac_ext
37280
37281 fi
37282 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37283 { echo "$as_me:$LINENO: result: $ac_res" >&5
37284 echo "${ECHO_T}$ac_res" >&6; }
37285
37286 if eval test \$wx_cv_func_$wx_func = yes
37287 then
37288 cat >>confdefs.h <<_ACEOF
37289 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37290 _ACEOF
37291
37292
37293 else
37294 :
37295
37296 fi
37297 done
37298
37299
37300 INET_LINK=
37301
37302 for ac_func in inet_addr
37303 do
37304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37307 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37308 echo $ECHO_N "(cached) $ECHO_C" >&6
37309 else
37310 cat >conftest.$ac_ext <<_ACEOF
37311 /* confdefs.h. */
37312 _ACEOF
37313 cat confdefs.h >>conftest.$ac_ext
37314 cat >>conftest.$ac_ext <<_ACEOF
37315 /* end confdefs.h. */
37316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37318 #define $ac_func innocuous_$ac_func
37319
37320 /* System header to define __stub macros and hopefully few prototypes,
37321 which can conflict with char $ac_func (); below.
37322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37323 <limits.h> exists even on freestanding compilers. */
37324
37325 #ifdef __STDC__
37326 # include <limits.h>
37327 #else
37328 # include <assert.h>
37329 #endif
37330
37331 #undef $ac_func
37332
37333 /* Override any GCC internal prototype to avoid an error.
37334 Use char because int might match the return type of a GCC
37335 builtin and then its argument prototype would still apply. */
37336 #ifdef __cplusplus
37337 extern "C"
37338 #endif
37339 char $ac_func ();
37340 /* The GNU C library defines this for functions which it implements
37341 to always fail with ENOSYS. Some functions are actually named
37342 something starting with __ and the normal name is an alias. */
37343 #if defined __stub_$ac_func || defined __stub___$ac_func
37344 choke me
37345 #endif
37346
37347 int
37348 main ()
37349 {
37350 return $ac_func ();
37351 ;
37352 return 0;
37353 }
37354 _ACEOF
37355 rm -f conftest.$ac_objext conftest$ac_exeext
37356 if { (ac_try="$ac_link"
37357 case "(($ac_try" in
37358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37359 *) ac_try_echo=$ac_try;;
37360 esac
37361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37362 (eval "$ac_link") 2>conftest.er1
37363 ac_status=$?
37364 grep -v '^ *+' conftest.er1 >conftest.err
37365 rm -f conftest.er1
37366 cat conftest.err >&5
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); } && {
37369 test -z "$ac_c_werror_flag" ||
37370 test ! -s conftest.err
37371 } && test -s conftest$ac_exeext &&
37372 $as_test_x conftest$ac_exeext; then
37373 eval "$as_ac_var=yes"
37374 else
37375 echo "$as_me: failed program was:" >&5
37376 sed 's/^/| /' conftest.$ac_ext >&5
37377
37378 eval "$as_ac_var=no"
37379 fi
37380
37381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37382 conftest$ac_exeext conftest.$ac_ext
37383 fi
37384 ac_res=`eval echo '${'$as_ac_var'}'`
37385 { echo "$as_me:$LINENO: result: $ac_res" >&5
37386 echo "${ECHO_T}$ac_res" >&6; }
37387 if test `eval echo '${'$as_ac_var'}'` = yes; then
37388 cat >>confdefs.h <<_ACEOF
37389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37390 _ACEOF
37391 cat >>confdefs.h <<\_ACEOF
37392 #define HAVE_INET_ADDR 1
37393 _ACEOF
37394
37395 else
37396
37397 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37398 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37399 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37400 echo $ECHO_N "(cached) $ECHO_C" >&6
37401 else
37402 ac_check_lib_save_LIBS=$LIBS
37403 LIBS="-lnsl $LIBS"
37404 cat >conftest.$ac_ext <<_ACEOF
37405 /* confdefs.h. */
37406 _ACEOF
37407 cat confdefs.h >>conftest.$ac_ext
37408 cat >>conftest.$ac_ext <<_ACEOF
37409 /* end confdefs.h. */
37410
37411 /* Override any GCC internal prototype to avoid an error.
37412 Use char because int might match the return type of a GCC
37413 builtin and then its argument prototype would still apply. */
37414 #ifdef __cplusplus
37415 extern "C"
37416 #endif
37417 char inet_addr ();
37418 int
37419 main ()
37420 {
37421 return inet_addr ();
37422 ;
37423 return 0;
37424 }
37425 _ACEOF
37426 rm -f conftest.$ac_objext conftest$ac_exeext
37427 if { (ac_try="$ac_link"
37428 case "(($ac_try" in
37429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37430 *) ac_try_echo=$ac_try;;
37431 esac
37432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37433 (eval "$ac_link") 2>conftest.er1
37434 ac_status=$?
37435 grep -v '^ *+' conftest.er1 >conftest.err
37436 rm -f conftest.er1
37437 cat conftest.err >&5
37438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37439 (exit $ac_status); } && {
37440 test -z "$ac_c_werror_flag" ||
37441 test ! -s conftest.err
37442 } && test -s conftest$ac_exeext &&
37443 $as_test_x conftest$ac_exeext; then
37444 ac_cv_lib_nsl_inet_addr=yes
37445 else
37446 echo "$as_me: failed program was:" >&5
37447 sed 's/^/| /' conftest.$ac_ext >&5
37448
37449 ac_cv_lib_nsl_inet_addr=no
37450 fi
37451
37452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37453 conftest$ac_exeext conftest.$ac_ext
37454 LIBS=$ac_check_lib_save_LIBS
37455 fi
37456 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37457 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37458 if test $ac_cv_lib_nsl_inet_addr = yes; then
37459 INET_LINK="nsl"
37460 else
37461
37462 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37463 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37464 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37465 echo $ECHO_N "(cached) $ECHO_C" >&6
37466 else
37467 ac_check_lib_save_LIBS=$LIBS
37468 LIBS="-lresolv $LIBS"
37469 cat >conftest.$ac_ext <<_ACEOF
37470 /* confdefs.h. */
37471 _ACEOF
37472 cat confdefs.h >>conftest.$ac_ext
37473 cat >>conftest.$ac_ext <<_ACEOF
37474 /* end confdefs.h. */
37475
37476 /* Override any GCC internal prototype to avoid an error.
37477 Use char because int might match the return type of a GCC
37478 builtin and then its argument prototype would still apply. */
37479 #ifdef __cplusplus
37480 extern "C"
37481 #endif
37482 char inet_addr ();
37483 int
37484 main ()
37485 {
37486 return inet_addr ();
37487 ;
37488 return 0;
37489 }
37490 _ACEOF
37491 rm -f conftest.$ac_objext conftest$ac_exeext
37492 if { (ac_try="$ac_link"
37493 case "(($ac_try" in
37494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37495 *) ac_try_echo=$ac_try;;
37496 esac
37497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37498 (eval "$ac_link") 2>conftest.er1
37499 ac_status=$?
37500 grep -v '^ *+' conftest.er1 >conftest.err
37501 rm -f conftest.er1
37502 cat conftest.err >&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } && {
37505 test -z "$ac_c_werror_flag" ||
37506 test ! -s conftest.err
37507 } && test -s conftest$ac_exeext &&
37508 $as_test_x conftest$ac_exeext; then
37509 ac_cv_lib_resolv_inet_addr=yes
37510 else
37511 echo "$as_me: failed program was:" >&5
37512 sed 's/^/| /' conftest.$ac_ext >&5
37513
37514 ac_cv_lib_resolv_inet_addr=no
37515 fi
37516
37517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37518 conftest$ac_exeext conftest.$ac_ext
37519 LIBS=$ac_check_lib_save_LIBS
37520 fi
37521 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37522 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37523 if test $ac_cv_lib_resolv_inet_addr = yes; then
37524 INET_LINK="resolv"
37525 else
37526
37527 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37528 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37529 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37530 echo $ECHO_N "(cached) $ECHO_C" >&6
37531 else
37532 ac_check_lib_save_LIBS=$LIBS
37533 LIBS="-lsocket $LIBS"
37534 cat >conftest.$ac_ext <<_ACEOF
37535 /* confdefs.h. */
37536 _ACEOF
37537 cat confdefs.h >>conftest.$ac_ext
37538 cat >>conftest.$ac_ext <<_ACEOF
37539 /* end confdefs.h. */
37540
37541 /* Override any GCC internal prototype to avoid an error.
37542 Use char because int might match the return type of a GCC
37543 builtin and then its argument prototype would still apply. */
37544 #ifdef __cplusplus
37545 extern "C"
37546 #endif
37547 char inet_addr ();
37548 int
37549 main ()
37550 {
37551 return inet_addr ();
37552 ;
37553 return 0;
37554 }
37555 _ACEOF
37556 rm -f conftest.$ac_objext conftest$ac_exeext
37557 if { (ac_try="$ac_link"
37558 case "(($ac_try" in
37559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37560 *) ac_try_echo=$ac_try;;
37561 esac
37562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37563 (eval "$ac_link") 2>conftest.er1
37564 ac_status=$?
37565 grep -v '^ *+' conftest.er1 >conftest.err
37566 rm -f conftest.er1
37567 cat conftest.err >&5
37568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37569 (exit $ac_status); } && {
37570 test -z "$ac_c_werror_flag" ||
37571 test ! -s conftest.err
37572 } && test -s conftest$ac_exeext &&
37573 $as_test_x conftest$ac_exeext; then
37574 ac_cv_lib_socket_inet_addr=yes
37575 else
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.$ac_ext >&5
37578
37579 ac_cv_lib_socket_inet_addr=no
37580 fi
37581
37582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37583 conftest$ac_exeext conftest.$ac_ext
37584 LIBS=$ac_check_lib_save_LIBS
37585 fi
37586 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37587 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37588 if test $ac_cv_lib_socket_inet_addr = yes; then
37589 INET_LINK="socket"
37590
37591 fi
37592
37593
37594
37595 fi
37596
37597
37598
37599 fi
37600
37601
37602
37603 fi
37604 done
37605
37606
37607
37608 for ac_func in inet_aton
37609 do
37610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37611 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37613 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37614 echo $ECHO_N "(cached) $ECHO_C" >&6
37615 else
37616 cat >conftest.$ac_ext <<_ACEOF
37617 /* confdefs.h. */
37618 _ACEOF
37619 cat confdefs.h >>conftest.$ac_ext
37620 cat >>conftest.$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37624 #define $ac_func innocuous_$ac_func
37625
37626 /* System header to define __stub macros and hopefully few prototypes,
37627 which can conflict with char $ac_func (); below.
37628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37629 <limits.h> exists even on freestanding compilers. */
37630
37631 #ifdef __STDC__
37632 # include <limits.h>
37633 #else
37634 # include <assert.h>
37635 #endif
37636
37637 #undef $ac_func
37638
37639 /* Override any GCC internal prototype to avoid an error.
37640 Use char because int might match the return type of a GCC
37641 builtin and then its argument prototype would still apply. */
37642 #ifdef __cplusplus
37643 extern "C"
37644 #endif
37645 char $ac_func ();
37646 /* The GNU C library defines this for functions which it implements
37647 to always fail with ENOSYS. Some functions are actually named
37648 something starting with __ and the normal name is an alias. */
37649 #if defined __stub_$ac_func || defined __stub___$ac_func
37650 choke me
37651 #endif
37652
37653 int
37654 main ()
37655 {
37656 return $ac_func ();
37657 ;
37658 return 0;
37659 }
37660 _ACEOF
37661 rm -f conftest.$ac_objext conftest$ac_exeext
37662 if { (ac_try="$ac_link"
37663 case "(($ac_try" in
37664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37665 *) ac_try_echo=$ac_try;;
37666 esac
37667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37668 (eval "$ac_link") 2>conftest.er1
37669 ac_status=$?
37670 grep -v '^ *+' conftest.er1 >conftest.err
37671 rm -f conftest.er1
37672 cat conftest.err >&5
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); } && {
37675 test -z "$ac_c_werror_flag" ||
37676 test ! -s conftest.err
37677 } && test -s conftest$ac_exeext &&
37678 $as_test_x conftest$ac_exeext; then
37679 eval "$as_ac_var=yes"
37680 else
37681 echo "$as_me: failed program was:" >&5
37682 sed 's/^/| /' conftest.$ac_ext >&5
37683
37684 eval "$as_ac_var=no"
37685 fi
37686
37687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37688 conftest$ac_exeext conftest.$ac_ext
37689 fi
37690 ac_res=`eval echo '${'$as_ac_var'}'`
37691 { echo "$as_me:$LINENO: result: $ac_res" >&5
37692 echo "${ECHO_T}$ac_res" >&6; }
37693 if test `eval echo '${'$as_ac_var'}'` = yes; then
37694 cat >>confdefs.h <<_ACEOF
37695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37696 _ACEOF
37697 cat >>confdefs.h <<\_ACEOF
37698 #define HAVE_INET_ATON 1
37699 _ACEOF
37700
37701 else
37702
37703 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37704 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37705 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37706 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37707 echo $ECHO_N "(cached) $ECHO_C" >&6
37708 else
37709 ac_check_lib_save_LIBS=$LIBS
37710 LIBS="-l$INET_LINK $LIBS"
37711 cat >conftest.$ac_ext <<_ACEOF
37712 /* confdefs.h. */
37713 _ACEOF
37714 cat confdefs.h >>conftest.$ac_ext
37715 cat >>conftest.$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717
37718 /* Override any GCC internal prototype to avoid an error.
37719 Use char because int might match the return type of a GCC
37720 builtin and then its argument prototype would still apply. */
37721 #ifdef __cplusplus
37722 extern "C"
37723 #endif
37724 char inet_aton ();
37725 int
37726 main ()
37727 {
37728 return inet_aton ();
37729 ;
37730 return 0;
37731 }
37732 _ACEOF
37733 rm -f conftest.$ac_objext conftest$ac_exeext
37734 if { (ac_try="$ac_link"
37735 case "(($ac_try" in
37736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37737 *) ac_try_echo=$ac_try;;
37738 esac
37739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37740 (eval "$ac_link") 2>conftest.er1
37741 ac_status=$?
37742 grep -v '^ *+' conftest.er1 >conftest.err
37743 rm -f conftest.er1
37744 cat conftest.err >&5
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); } && {
37747 test -z "$ac_c_werror_flag" ||
37748 test ! -s conftest.err
37749 } && test -s conftest$ac_exeext &&
37750 $as_test_x conftest$ac_exeext; then
37751 eval "$as_ac_Lib=yes"
37752 else
37753 echo "$as_me: failed program was:" >&5
37754 sed 's/^/| /' conftest.$ac_ext >&5
37755
37756 eval "$as_ac_Lib=no"
37757 fi
37758
37759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37760 conftest$ac_exeext conftest.$ac_ext
37761 LIBS=$ac_check_lib_save_LIBS
37762 fi
37763 ac_res=`eval echo '${'$as_ac_Lib'}'`
37764 { echo "$as_me:$LINENO: result: $ac_res" >&5
37765 echo "${ECHO_T}$ac_res" >&6; }
37766 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37767 cat >>confdefs.h <<\_ACEOF
37768 #define HAVE_INET_ATON 1
37769 _ACEOF
37770
37771 fi
37772
37773
37774 fi
37775 done
37776
37777
37778 if test "x$INET_LINK" != "x"; then
37779 cat >>confdefs.h <<\_ACEOF
37780 #define HAVE_INET_ADDR 1
37781 _ACEOF
37782
37783 INET_LINK=" -l$INET_LINK"
37784 fi
37785
37786
37787 for wx_func in fdopen
37788 do
37789 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37790 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37791 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37792 echo $ECHO_N "(cached) $ECHO_C" >&6
37793 else
37794
37795 cat >conftest.$ac_ext <<_ACEOF
37796
37797 /* confdefs.h. */
37798 _ACEOF
37799 cat confdefs.h >>conftest.$ac_ext
37800 cat >>conftest.$ac_ext <<_ACEOF
37801 /* end confdefs.h. */
37802
37803
37804 $ac_includes_default
37805
37806 int
37807 main ()
37808 {
37809
37810 #ifndef $wx_func
37811 &$wx_func;
37812 #endif
37813
37814
37815 ;
37816 return 0;
37817 }
37818
37819 _ACEOF
37820 rm -f conftest.$ac_objext conftest$ac_exeext
37821 if { (ac_try="$ac_link"
37822 case "(($ac_try" in
37823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37824 *) ac_try_echo=$ac_try;;
37825 esac
37826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37827 (eval "$ac_link") 2>conftest.er1
37828 ac_status=$?
37829 grep -v '^ *+' conftest.er1 >conftest.err
37830 rm -f conftest.er1
37831 cat conftest.err >&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); } && {
37834 test -z "$ac_c_werror_flag" ||
37835 test ! -s conftest.err
37836 } && test -s conftest$ac_exeext &&
37837 $as_test_x conftest$ac_exeext; then
37838 eval wx_cv_func_$wx_func=yes
37839 else
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37842
37843 eval wx_cv_func_$wx_func=no
37844 fi
37845
37846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37847 conftest$ac_exeext conftest.$ac_ext
37848
37849 fi
37850 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37851 { echo "$as_me:$LINENO: result: $ac_res" >&5
37852 echo "${ECHO_T}$ac_res" >&6; }
37853
37854 if eval test \$wx_cv_func_$wx_func = yes
37855 then
37856 cat >>confdefs.h <<_ACEOF
37857 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37858 _ACEOF
37859
37860
37861 else
37862 :
37863
37864 fi
37865 done
37866
37867
37868 fi
37869
37870
37871
37872 cat >confcache <<\_ACEOF
37873 # This file is a shell script that caches the results of configure
37874 # tests run on this system so they can be shared between configure
37875 # scripts and configure runs, see configure's option --config-cache.
37876 # It is not useful on other systems. If it contains results you don't
37877 # want to keep, you may remove or edit it.
37878 #
37879 # config.status only pays attention to the cache file if you give it
37880 # the --recheck option to rerun configure.
37881 #
37882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37884 # following values.
37885
37886 _ACEOF
37887
37888 # The following way of writing the cache mishandles newlines in values,
37889 # but we know of no workaround that is simple, portable, and efficient.
37890 # So, we kill variables containing newlines.
37891 # Ultrix sh set writes to stderr and can't be redirected directly,
37892 # and sets the high bit in the cache file unless we assign to the vars.
37893 (
37894 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37895 eval ac_val=\$$ac_var
37896 case $ac_val in #(
37897 *${as_nl}*)
37898 case $ac_var in #(
37899 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37900 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37901 esac
37902 case $ac_var in #(
37903 _ | IFS | as_nl) ;; #(
37904 *) $as_unset $ac_var ;;
37905 esac ;;
37906 esac
37907 done
37908
37909 (set) 2>&1 |
37910 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37911 *${as_nl}ac_space=\ *)
37912 # `set' does not quote correctly, so add quotes (double-quote
37913 # substitution turns \\\\ into \\, and sed turns \\ into \).
37914 sed -n \
37915 "s/'/'\\\\''/g;
37916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37917 ;; #(
37918 *)
37919 # `set' quotes correctly as required by POSIX, so do not add quotes.
37920 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37921 ;;
37922 esac |
37923 sort
37924 ) |
37925 sed '
37926 /^ac_cv_env_/b end
37927 t clear
37928 :clear
37929 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37930 t end
37931 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37932 :end' >>confcache
37933 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37934 if test -w "$cache_file"; then
37935 test "x$cache_file" != "x/dev/null" &&
37936 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37937 echo "$as_me: updating cache $cache_file" >&6;}
37938 cat confcache >$cache_file
37939 else
37940 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37941 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37942 fi
37943 fi
37944 rm -f confcache
37945
37946
37947 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37948
37949
37950 THREADS_LINK=
37951 THREADS_CFLAGS=
37952
37953 if test "$wxUSE_THREADS" = "yes" ; then
37954 if test "$USE_BEOS" = 1; then
37955 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37956 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37957 wxUSE_THREADS="no"
37958 fi
37959 fi
37960
37961 if test "$wxUSE_THREADS" = "yes" ; then
37962
37963
37964 THREAD_OPTS="-pthread"
37965 case "${host}" in
37966 *-*-solaris2* | *-*-sunos4* )
37967 if test "x$GCC" = "xyes"; then
37968 THREAD_OPTS="-pthreads $THREAD_OPTS"
37969 else
37970 THREAD_OPTS="-mt $THREAD_OPTS"
37971 fi
37972 ;;
37973 *-*-freebsd*)
37974 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37975 ;;
37976 *-*-darwin* | *-*-cygwin* )
37977 THREAD_OPTS=""
37978 ;;
37979 *-*-aix*)
37980 THREAD_OPTS="pthreads"
37981 ;;
37982 *-hp-hpux* )
37983 if test "x$GCC" = "xyes"; then
37984 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37985 THREAD_OPTS=""
37986 else
37987 THREAD_OPTS="-mt"
37988 fi
37989 ;;
37990
37991 *-*-irix* )
37992 if test "x$GCC" = "xyes"; then
37993 THREAD_OPTS=""
37994 fi
37995 ;;
37996
37997 *-*-*UnixWare*)
37998 if test "x$GCC" != "xyes"; then
37999 THREAD_OPTS="-Ethread"
38000 fi
38001 ;;
38002 esac
38003
38004 THREAD_OPTS="$THREAD_OPTS pthread none"
38005
38006 THREADS_OK=no
38007 for flag in $THREAD_OPTS; do
38008 case $flag in
38009 none)
38010 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38011 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38012 ;;
38013
38014 -*)
38015 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38016 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38017 THREADS_CFLAGS="$flag"
38018 ;;
38019
38020 *)
38021 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38022 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38023 THREADS_LINK="-l$flag"
38024 ;;
38025 esac
38026
38027 save_LIBS="$LIBS"
38028 save_CFLAGS="$CFLAGS"
38029 LIBS="$THREADS_LINK $LIBS"
38030 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38031
38032 cat >conftest.$ac_ext <<_ACEOF
38033 /* confdefs.h. */
38034 _ACEOF
38035 cat confdefs.h >>conftest.$ac_ext
38036 cat >>conftest.$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038 #include <pthread.h>
38039 int
38040 main ()
38041 {
38042 pthread_create(0,0,0,0);
38043 ;
38044 return 0;
38045 }
38046 _ACEOF
38047 rm -f conftest.$ac_objext conftest$ac_exeext
38048 if { (ac_try="$ac_link"
38049 case "(($ac_try" in
38050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38051 *) ac_try_echo=$ac_try;;
38052 esac
38053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38054 (eval "$ac_link") 2>conftest.er1
38055 ac_status=$?
38056 grep -v '^ *+' conftest.er1 >conftest.err
38057 rm -f conftest.er1
38058 cat conftest.err >&5
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); } && {
38061 test -z "$ac_c_werror_flag" ||
38062 test ! -s conftest.err
38063 } && test -s conftest$ac_exeext &&
38064 $as_test_x conftest$ac_exeext; then
38065 THREADS_OK=yes
38066 else
38067 echo "$as_me: failed program was:" >&5
38068 sed 's/^/| /' conftest.$ac_ext >&5
38069
38070
38071 fi
38072
38073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38074 conftest$ac_exeext conftest.$ac_ext
38075
38076 LIBS="$save_LIBS"
38077 CFLAGS="$save_CFLAGS"
38078
38079 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38080 echo "${ECHO_T}$THREADS_OK" >&6; }
38081 if test "x$THREADS_OK" = "xyes"; then
38082 break;
38083 fi
38084
38085 THREADS_LINK=""
38086 THREADS_CFLAGS=""
38087 done
38088
38089 if test "x$THREADS_OK" != "xyes"; then
38090 wxUSE_THREADS=no
38091 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38092 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38093 else
38094 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38095 LIBS="$THREADS_LINK $LIBS"
38096
38097 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38098 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38099 flag=no
38100 case "${host}" in
38101 *-aix*)
38102 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38103 flag="-D_THREAD_SAFE"
38104 ;;
38105 *-freebsd*)
38106 flag="-D_THREAD_SAFE"
38107 ;;
38108 *-hp-hpux* )
38109 flag="-D_REENTRANT"
38110 if test "x$GCC" != "xyes"; then
38111 flag="$flag -D_RWSTD_MULTI_THREAD"
38112 fi
38113 ;;
38114 *solaris* | alpha*-osf*)
38115 flag="-D_REENTRANT"
38116 ;;
38117 esac
38118 { echo "$as_me:$LINENO: result: ${flag}" >&5
38119 echo "${ECHO_T}${flag}" >&6; }
38120 if test "x$flag" != xno; then
38121 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38122 fi
38123
38124 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38125 fi
38126 fi
38127
38128 if test "$wxUSE_THREADS" = "yes" ; then
38129
38130 for ac_func in thr_setconcurrency
38131 do
38132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38137 else
38138 cat >conftest.$ac_ext <<_ACEOF
38139 /* confdefs.h. */
38140 _ACEOF
38141 cat confdefs.h >>conftest.$ac_ext
38142 cat >>conftest.$ac_ext <<_ACEOF
38143 /* end confdefs.h. */
38144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38146 #define $ac_func innocuous_$ac_func
38147
38148 /* System header to define __stub macros and hopefully few prototypes,
38149 which can conflict with char $ac_func (); below.
38150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38151 <limits.h> exists even on freestanding compilers. */
38152
38153 #ifdef __STDC__
38154 # include <limits.h>
38155 #else
38156 # include <assert.h>
38157 #endif
38158
38159 #undef $ac_func
38160
38161 /* Override any GCC internal prototype to avoid an error.
38162 Use char because int might match the return type of a GCC
38163 builtin and then its argument prototype would still apply. */
38164 #ifdef __cplusplus
38165 extern "C"
38166 #endif
38167 char $ac_func ();
38168 /* The GNU C library defines this for functions which it implements
38169 to always fail with ENOSYS. Some functions are actually named
38170 something starting with __ and the normal name is an alias. */
38171 #if defined __stub_$ac_func || defined __stub___$ac_func
38172 choke me
38173 #endif
38174
38175 int
38176 main ()
38177 {
38178 return $ac_func ();
38179 ;
38180 return 0;
38181 }
38182 _ACEOF
38183 rm -f conftest.$ac_objext conftest$ac_exeext
38184 if { (ac_try="$ac_link"
38185 case "(($ac_try" in
38186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38187 *) ac_try_echo=$ac_try;;
38188 esac
38189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38190 (eval "$ac_link") 2>conftest.er1
38191 ac_status=$?
38192 grep -v '^ *+' conftest.er1 >conftest.err
38193 rm -f conftest.er1
38194 cat conftest.err >&5
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); } && {
38197 test -z "$ac_c_werror_flag" ||
38198 test ! -s conftest.err
38199 } && test -s conftest$ac_exeext &&
38200 $as_test_x conftest$ac_exeext; then
38201 eval "$as_ac_var=yes"
38202 else
38203 echo "$as_me: failed program was:" >&5
38204 sed 's/^/| /' conftest.$ac_ext >&5
38205
38206 eval "$as_ac_var=no"
38207 fi
38208
38209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38210 conftest$ac_exeext conftest.$ac_ext
38211 fi
38212 ac_res=`eval echo '${'$as_ac_var'}'`
38213 { echo "$as_me:$LINENO: result: $ac_res" >&5
38214 echo "${ECHO_T}$ac_res" >&6; }
38215 if test `eval echo '${'$as_ac_var'}'` = yes; then
38216 cat >>confdefs.h <<_ACEOF
38217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38218 _ACEOF
38219
38220 fi
38221 done
38222
38223
38224 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38225 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38226 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38228 else
38229
38230 cat >conftest.$ac_ext <<_ACEOF
38231 /* confdefs.h. */
38232 _ACEOF
38233 cat confdefs.h >>conftest.$ac_ext
38234 cat >>conftest.$ac_ext <<_ACEOF
38235 /* end confdefs.h. */
38236 #include <pthread.h>
38237 void ThreadCleanupFunc(void *p);
38238
38239 int
38240 main ()
38241 {
38242
38243 void *p;
38244 pthread_cleanup_push(ThreadCleanupFunc, p);
38245 pthread_cleanup_pop(0);
38246
38247 ;
38248 return 0;
38249 }
38250 _ACEOF
38251 rm -f conftest.$ac_objext
38252 if { (ac_try="$ac_compile"
38253 case "(($ac_try" in
38254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38255 *) ac_try_echo=$ac_try;;
38256 esac
38257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38258 (eval "$ac_compile") 2>conftest.er1
38259 ac_status=$?
38260 grep -v '^ *+' conftest.er1 >conftest.err
38261 rm -f conftest.er1
38262 cat conftest.err >&5
38263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38264 (exit $ac_status); } && {
38265 test -z "$ac_c_werror_flag" ||
38266 test ! -s conftest.err
38267 } && test -s conftest.$ac_objext; then
38268
38269 wx_cv_func_pthread_cleanup=yes
38270
38271 else
38272 echo "$as_me: failed program was:" >&5
38273 sed 's/^/| /' conftest.$ac_ext >&5
38274
38275
38276 wx_cv_func_pthread_cleanup=no
38277
38278
38279 fi
38280
38281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38282
38283 fi
38284 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38285 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38286 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38287 cat >>confdefs.h <<\_ACEOF
38288 #define wxHAVE_PTHREAD_CLEANUP 1
38289 _ACEOF
38290
38291 fi
38292
38293 { echo "$as_me:$LINENO: checking for sched.h" >&5
38294 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38295 if test "${ac_cv_header_sched_h+set}" = set; then
38296 echo $ECHO_N "(cached) $ECHO_C" >&6
38297 else
38298 cat >conftest.$ac_ext <<_ACEOF
38299 /* confdefs.h. */
38300 _ACEOF
38301 cat confdefs.h >>conftest.$ac_ext
38302 cat >>conftest.$ac_ext <<_ACEOF
38303 /* end confdefs.h. */
38304 $ac_includes_default
38305
38306 #include <sched.h>
38307 _ACEOF
38308 rm -f conftest.$ac_objext
38309 if { (ac_try="$ac_compile"
38310 case "(($ac_try" in
38311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38312 *) ac_try_echo=$ac_try;;
38313 esac
38314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38315 (eval "$ac_compile") 2>conftest.er1
38316 ac_status=$?
38317 grep -v '^ *+' conftest.er1 >conftest.err
38318 rm -f conftest.er1
38319 cat conftest.err >&5
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); } && {
38322 test -z "$ac_c_werror_flag" ||
38323 test ! -s conftest.err
38324 } && test -s conftest.$ac_objext; then
38325 ac_cv_header_sched_h=yes
38326 else
38327 echo "$as_me: failed program was:" >&5
38328 sed 's/^/| /' conftest.$ac_ext >&5
38329
38330 ac_cv_header_sched_h=no
38331 fi
38332
38333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38334 fi
38335 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38336 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38337
38338
38339 if test "$ac_cv_header_sched_h" = "yes"; then
38340 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38341 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38342 if test "${ac_cv_func_sched_yield+set}" = set; then
38343 echo $ECHO_N "(cached) $ECHO_C" >&6
38344 else
38345 cat >conftest.$ac_ext <<_ACEOF
38346 /* confdefs.h. */
38347 _ACEOF
38348 cat confdefs.h >>conftest.$ac_ext
38349 cat >>conftest.$ac_ext <<_ACEOF
38350 /* end confdefs.h. */
38351 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38353 #define sched_yield innocuous_sched_yield
38354
38355 /* System header to define __stub macros and hopefully few prototypes,
38356 which can conflict with char sched_yield (); below.
38357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38358 <limits.h> exists even on freestanding compilers. */
38359
38360 #ifdef __STDC__
38361 # include <limits.h>
38362 #else
38363 # include <assert.h>
38364 #endif
38365
38366 #undef sched_yield
38367
38368 /* Override any GCC internal prototype to avoid an error.
38369 Use char because int might match the return type of a GCC
38370 builtin and then its argument prototype would still apply. */
38371 #ifdef __cplusplus
38372 extern "C"
38373 #endif
38374 char sched_yield ();
38375 /* The GNU C library defines this for functions which it implements
38376 to always fail with ENOSYS. Some functions are actually named
38377 something starting with __ and the normal name is an alias. */
38378 #if defined __stub_sched_yield || defined __stub___sched_yield
38379 choke me
38380 #endif
38381
38382 int
38383 main ()
38384 {
38385 return sched_yield ();
38386 ;
38387 return 0;
38388 }
38389 _ACEOF
38390 rm -f conftest.$ac_objext conftest$ac_exeext
38391 if { (ac_try="$ac_link"
38392 case "(($ac_try" in
38393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38394 *) ac_try_echo=$ac_try;;
38395 esac
38396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38397 (eval "$ac_link") 2>conftest.er1
38398 ac_status=$?
38399 grep -v '^ *+' conftest.er1 >conftest.err
38400 rm -f conftest.er1
38401 cat conftest.err >&5
38402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38403 (exit $ac_status); } && {
38404 test -z "$ac_c_werror_flag" ||
38405 test ! -s conftest.err
38406 } && test -s conftest$ac_exeext &&
38407 $as_test_x conftest$ac_exeext; then
38408 ac_cv_func_sched_yield=yes
38409 else
38410 echo "$as_me: failed program was:" >&5
38411 sed 's/^/| /' conftest.$ac_ext >&5
38412
38413 ac_cv_func_sched_yield=no
38414 fi
38415
38416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38417 conftest$ac_exeext conftest.$ac_ext
38418 fi
38419 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38420 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38421 if test $ac_cv_func_sched_yield = yes; then
38422 cat >>confdefs.h <<\_ACEOF
38423 #define HAVE_SCHED_YIELD 1
38424 _ACEOF
38425
38426 else
38427
38428 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38429 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38430 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38431 echo $ECHO_N "(cached) $ECHO_C" >&6
38432 else
38433 ac_check_lib_save_LIBS=$LIBS
38434 LIBS="-lposix4 $LIBS"
38435 cat >conftest.$ac_ext <<_ACEOF
38436 /* confdefs.h. */
38437 _ACEOF
38438 cat confdefs.h >>conftest.$ac_ext
38439 cat >>conftest.$ac_ext <<_ACEOF
38440 /* end confdefs.h. */
38441
38442 /* Override any GCC internal prototype to avoid an error.
38443 Use char because int might match the return type of a GCC
38444 builtin and then its argument prototype would still apply. */
38445 #ifdef __cplusplus
38446 extern "C"
38447 #endif
38448 char sched_yield ();
38449 int
38450 main ()
38451 {
38452 return sched_yield ();
38453 ;
38454 return 0;
38455 }
38456 _ACEOF
38457 rm -f conftest.$ac_objext conftest$ac_exeext
38458 if { (ac_try="$ac_link"
38459 case "(($ac_try" in
38460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38461 *) ac_try_echo=$ac_try;;
38462 esac
38463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38464 (eval "$ac_link") 2>conftest.er1
38465 ac_status=$?
38466 grep -v '^ *+' conftest.er1 >conftest.err
38467 rm -f conftest.er1
38468 cat conftest.err >&5
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); } && {
38471 test -z "$ac_c_werror_flag" ||
38472 test ! -s conftest.err
38473 } && test -s conftest$ac_exeext &&
38474 $as_test_x conftest$ac_exeext; then
38475 ac_cv_lib_posix4_sched_yield=yes
38476 else
38477 echo "$as_me: failed program was:" >&5
38478 sed 's/^/| /' conftest.$ac_ext >&5
38479
38480 ac_cv_lib_posix4_sched_yield=no
38481 fi
38482
38483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38484 conftest$ac_exeext conftest.$ac_ext
38485 LIBS=$ac_check_lib_save_LIBS
38486 fi
38487 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38488 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38489 if test $ac_cv_lib_posix4_sched_yield = yes; then
38490 cat >>confdefs.h <<\_ACEOF
38491 #define HAVE_SCHED_YIELD 1
38492 _ACEOF
38493 POSIX4_LINK=" -lposix4"
38494 else
38495 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38496 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38497
38498 fi
38499
38500
38501
38502 fi
38503
38504 fi
38505
38506 HAVE_PRIOR_FUNCS=0
38507 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38508 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38509 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38511 else
38512 cat >conftest.$ac_ext <<_ACEOF
38513 /* confdefs.h. */
38514 _ACEOF
38515 cat confdefs.h >>conftest.$ac_ext
38516 cat >>conftest.$ac_ext <<_ACEOF
38517 /* end confdefs.h. */
38518 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38520 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38521
38522 /* System header to define __stub macros and hopefully few prototypes,
38523 which can conflict with char pthread_attr_getschedpolicy (); below.
38524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38525 <limits.h> exists even on freestanding compilers. */
38526
38527 #ifdef __STDC__
38528 # include <limits.h>
38529 #else
38530 # include <assert.h>
38531 #endif
38532
38533 #undef pthread_attr_getschedpolicy
38534
38535 /* Override any GCC internal prototype to avoid an error.
38536 Use char because int might match the return type of a GCC
38537 builtin and then its argument prototype would still apply. */
38538 #ifdef __cplusplus
38539 extern "C"
38540 #endif
38541 char pthread_attr_getschedpolicy ();
38542 /* The GNU C library defines this for functions which it implements
38543 to always fail with ENOSYS. Some functions are actually named
38544 something starting with __ and the normal name is an alias. */
38545 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38546 choke me
38547 #endif
38548
38549 int
38550 main ()
38551 {
38552 return pthread_attr_getschedpolicy ();
38553 ;
38554 return 0;
38555 }
38556 _ACEOF
38557 rm -f conftest.$ac_objext conftest$ac_exeext
38558 if { (ac_try="$ac_link"
38559 case "(($ac_try" in
38560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38561 *) ac_try_echo=$ac_try;;
38562 esac
38563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38564 (eval "$ac_link") 2>conftest.er1
38565 ac_status=$?
38566 grep -v '^ *+' conftest.er1 >conftest.err
38567 rm -f conftest.er1
38568 cat conftest.err >&5
38569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38570 (exit $ac_status); } && {
38571 test -z "$ac_c_werror_flag" ||
38572 test ! -s conftest.err
38573 } && test -s conftest$ac_exeext &&
38574 $as_test_x conftest$ac_exeext; then
38575 ac_cv_func_pthread_attr_getschedpolicy=yes
38576 else
38577 echo "$as_me: failed program was:" >&5
38578 sed 's/^/| /' conftest.$ac_ext >&5
38579
38580 ac_cv_func_pthread_attr_getschedpolicy=no
38581 fi
38582
38583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38584 conftest$ac_exeext conftest.$ac_ext
38585 fi
38586 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38587 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38588 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38589 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38590 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38591 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38592 echo $ECHO_N "(cached) $ECHO_C" >&6
38593 else
38594 cat >conftest.$ac_ext <<_ACEOF
38595 /* confdefs.h. */
38596 _ACEOF
38597 cat confdefs.h >>conftest.$ac_ext
38598 cat >>conftest.$ac_ext <<_ACEOF
38599 /* end confdefs.h. */
38600 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38602 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38603
38604 /* System header to define __stub macros and hopefully few prototypes,
38605 which can conflict with char pthread_attr_setschedparam (); below.
38606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38607 <limits.h> exists even on freestanding compilers. */
38608
38609 #ifdef __STDC__
38610 # include <limits.h>
38611 #else
38612 # include <assert.h>
38613 #endif
38614
38615 #undef pthread_attr_setschedparam
38616
38617 /* Override any GCC internal prototype to avoid an error.
38618 Use char because int might match the return type of a GCC
38619 builtin and then its argument prototype would still apply. */
38620 #ifdef __cplusplus
38621 extern "C"
38622 #endif
38623 char pthread_attr_setschedparam ();
38624 /* The GNU C library defines this for functions which it implements
38625 to always fail with ENOSYS. Some functions are actually named
38626 something starting with __ and the normal name is an alias. */
38627 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38628 choke me
38629 #endif
38630
38631 int
38632 main ()
38633 {
38634 return pthread_attr_setschedparam ();
38635 ;
38636 return 0;
38637 }
38638 _ACEOF
38639 rm -f conftest.$ac_objext conftest$ac_exeext
38640 if { (ac_try="$ac_link"
38641 case "(($ac_try" in
38642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38643 *) ac_try_echo=$ac_try;;
38644 esac
38645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38646 (eval "$ac_link") 2>conftest.er1
38647 ac_status=$?
38648 grep -v '^ *+' conftest.er1 >conftest.err
38649 rm -f conftest.er1
38650 cat conftest.err >&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); } && {
38653 test -z "$ac_c_werror_flag" ||
38654 test ! -s conftest.err
38655 } && test -s conftest$ac_exeext &&
38656 $as_test_x conftest$ac_exeext; then
38657 ac_cv_func_pthread_attr_setschedparam=yes
38658 else
38659 echo "$as_me: failed program was:" >&5
38660 sed 's/^/| /' conftest.$ac_ext >&5
38661
38662 ac_cv_func_pthread_attr_setschedparam=no
38663 fi
38664
38665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38666 conftest$ac_exeext conftest.$ac_ext
38667 fi
38668 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38669 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38670 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38671 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38672 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38673 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38674 echo $ECHO_N "(cached) $ECHO_C" >&6
38675 else
38676 cat >conftest.$ac_ext <<_ACEOF
38677 /* confdefs.h. */
38678 _ACEOF
38679 cat confdefs.h >>conftest.$ac_ext
38680 cat >>conftest.$ac_ext <<_ACEOF
38681 /* end confdefs.h. */
38682 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38684 #define sched_get_priority_max innocuous_sched_get_priority_max
38685
38686 /* System header to define __stub macros and hopefully few prototypes,
38687 which can conflict with char sched_get_priority_max (); below.
38688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38689 <limits.h> exists even on freestanding compilers. */
38690
38691 #ifdef __STDC__
38692 # include <limits.h>
38693 #else
38694 # include <assert.h>
38695 #endif
38696
38697 #undef sched_get_priority_max
38698
38699 /* Override any GCC internal prototype to avoid an error.
38700 Use char because int might match the return type of a GCC
38701 builtin and then its argument prototype would still apply. */
38702 #ifdef __cplusplus
38703 extern "C"
38704 #endif
38705 char sched_get_priority_max ();
38706 /* The GNU C library defines this for functions which it implements
38707 to always fail with ENOSYS. Some functions are actually named
38708 something starting with __ and the normal name is an alias. */
38709 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38710 choke me
38711 #endif
38712
38713 int
38714 main ()
38715 {
38716 return sched_get_priority_max ();
38717 ;
38718 return 0;
38719 }
38720 _ACEOF
38721 rm -f conftest.$ac_objext conftest$ac_exeext
38722 if { (ac_try="$ac_link"
38723 case "(($ac_try" in
38724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38725 *) ac_try_echo=$ac_try;;
38726 esac
38727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38728 (eval "$ac_link") 2>conftest.er1
38729 ac_status=$?
38730 grep -v '^ *+' conftest.er1 >conftest.err
38731 rm -f conftest.er1
38732 cat conftest.err >&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } && {
38735 test -z "$ac_c_werror_flag" ||
38736 test ! -s conftest.err
38737 } && test -s conftest$ac_exeext &&
38738 $as_test_x conftest$ac_exeext; then
38739 ac_cv_func_sched_get_priority_max=yes
38740 else
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.$ac_ext >&5
38743
38744 ac_cv_func_sched_get_priority_max=no
38745 fi
38746
38747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38748 conftest$ac_exeext conftest.$ac_ext
38749 fi
38750 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38751 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38752 if test $ac_cv_func_sched_get_priority_max = yes; then
38753 HAVE_PRIOR_FUNCS=1
38754 else
38755 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38756 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38757 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38758 echo $ECHO_N "(cached) $ECHO_C" >&6
38759 else
38760 ac_check_lib_save_LIBS=$LIBS
38761 LIBS="-lposix4 $LIBS"
38762 cat >conftest.$ac_ext <<_ACEOF
38763 /* confdefs.h. */
38764 _ACEOF
38765 cat confdefs.h >>conftest.$ac_ext
38766 cat >>conftest.$ac_ext <<_ACEOF
38767 /* end confdefs.h. */
38768
38769 /* Override any GCC internal prototype to avoid an error.
38770 Use char because int might match the return type of a GCC
38771 builtin and then its argument prototype would still apply. */
38772 #ifdef __cplusplus
38773 extern "C"
38774 #endif
38775 char sched_get_priority_max ();
38776 int
38777 main ()
38778 {
38779 return sched_get_priority_max ();
38780 ;
38781 return 0;
38782 }
38783 _ACEOF
38784 rm -f conftest.$ac_objext conftest$ac_exeext
38785 if { (ac_try="$ac_link"
38786 case "(($ac_try" in
38787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38788 *) ac_try_echo=$ac_try;;
38789 esac
38790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38791 (eval "$ac_link") 2>conftest.er1
38792 ac_status=$?
38793 grep -v '^ *+' conftest.er1 >conftest.err
38794 rm -f conftest.er1
38795 cat conftest.err >&5
38796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38797 (exit $ac_status); } && {
38798 test -z "$ac_c_werror_flag" ||
38799 test ! -s conftest.err
38800 } && test -s conftest$ac_exeext &&
38801 $as_test_x conftest$ac_exeext; then
38802 ac_cv_lib_posix4_sched_get_priority_max=yes
38803 else
38804 echo "$as_me: failed program was:" >&5
38805 sed 's/^/| /' conftest.$ac_ext >&5
38806
38807 ac_cv_lib_posix4_sched_get_priority_max=no
38808 fi
38809
38810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38811 conftest$ac_exeext conftest.$ac_ext
38812 LIBS=$ac_check_lib_save_LIBS
38813 fi
38814 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38815 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38816 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38817
38818 HAVE_PRIOR_FUNCS=1
38819 POSIX4_LINK=" -lposix4"
38820
38821 fi
38822
38823
38824 fi
38825
38826
38827 fi
38828
38829
38830 fi
38831
38832
38833 if test "$HAVE_PRIOR_FUNCS" = 1; then
38834 cat >>confdefs.h <<\_ACEOF
38835 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38836 _ACEOF
38837
38838 else
38839 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38840 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38841 fi
38842
38843 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38844 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38845 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38846 echo $ECHO_N "(cached) $ECHO_C" >&6
38847 else
38848 cat >conftest.$ac_ext <<_ACEOF
38849 /* confdefs.h. */
38850 _ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38854 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38856 #define pthread_cancel innocuous_pthread_cancel
38857
38858 /* System header to define __stub macros and hopefully few prototypes,
38859 which can conflict with char pthread_cancel (); below.
38860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38861 <limits.h> exists even on freestanding compilers. */
38862
38863 #ifdef __STDC__
38864 # include <limits.h>
38865 #else
38866 # include <assert.h>
38867 #endif
38868
38869 #undef pthread_cancel
38870
38871 /* Override any GCC internal prototype to avoid an error.
38872 Use char because int might match the return type of a GCC
38873 builtin and then its argument prototype would still apply. */
38874 #ifdef __cplusplus
38875 extern "C"
38876 #endif
38877 char pthread_cancel ();
38878 /* The GNU C library defines this for functions which it implements
38879 to always fail with ENOSYS. Some functions are actually named
38880 something starting with __ and the normal name is an alias. */
38881 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38882 choke me
38883 #endif
38884
38885 int
38886 main ()
38887 {
38888 return pthread_cancel ();
38889 ;
38890 return 0;
38891 }
38892 _ACEOF
38893 rm -f conftest.$ac_objext conftest$ac_exeext
38894 if { (ac_try="$ac_link"
38895 case "(($ac_try" in
38896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38897 *) ac_try_echo=$ac_try;;
38898 esac
38899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38900 (eval "$ac_link") 2>conftest.er1
38901 ac_status=$?
38902 grep -v '^ *+' conftest.er1 >conftest.err
38903 rm -f conftest.er1
38904 cat conftest.err >&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); } && {
38907 test -z "$ac_c_werror_flag" ||
38908 test ! -s conftest.err
38909 } && test -s conftest$ac_exeext &&
38910 $as_test_x conftest$ac_exeext; then
38911 ac_cv_func_pthread_cancel=yes
38912 else
38913 echo "$as_me: failed program was:" >&5
38914 sed 's/^/| /' conftest.$ac_ext >&5
38915
38916 ac_cv_func_pthread_cancel=no
38917 fi
38918
38919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38920 conftest$ac_exeext conftest.$ac_ext
38921 fi
38922 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38923 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38924 if test $ac_cv_func_pthread_cancel = yes; then
38925 cat >>confdefs.h <<\_ACEOF
38926 #define HAVE_PTHREAD_CANCEL 1
38927 _ACEOF
38928
38929 else
38930 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38931 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38932 fi
38933
38934
38935 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38936 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38937 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38938 echo $ECHO_N "(cached) $ECHO_C" >&6
38939 else
38940 cat >conftest.$ac_ext <<_ACEOF
38941 /* confdefs.h. */
38942 _ACEOF
38943 cat confdefs.h >>conftest.$ac_ext
38944 cat >>conftest.$ac_ext <<_ACEOF
38945 /* end confdefs.h. */
38946 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38948 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38949
38950 /* System header to define __stub macros and hopefully few prototypes,
38951 which can conflict with char pthread_mutex_timedlock (); below.
38952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38953 <limits.h> exists even on freestanding compilers. */
38954
38955 #ifdef __STDC__
38956 # include <limits.h>
38957 #else
38958 # include <assert.h>
38959 #endif
38960
38961 #undef pthread_mutex_timedlock
38962
38963 /* Override any GCC internal prototype to avoid an error.
38964 Use char because int might match the return type of a GCC
38965 builtin and then its argument prototype would still apply. */
38966 #ifdef __cplusplus
38967 extern "C"
38968 #endif
38969 char pthread_mutex_timedlock ();
38970 /* The GNU C library defines this for functions which it implements
38971 to always fail with ENOSYS. Some functions are actually named
38972 something starting with __ and the normal name is an alias. */
38973 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38974 choke me
38975 #endif
38976
38977 int
38978 main ()
38979 {
38980 return pthread_mutex_timedlock ();
38981 ;
38982 return 0;
38983 }
38984 _ACEOF
38985 rm -f conftest.$ac_objext conftest$ac_exeext
38986 if { (ac_try="$ac_link"
38987 case "(($ac_try" in
38988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38989 *) ac_try_echo=$ac_try;;
38990 esac
38991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38992 (eval "$ac_link") 2>conftest.er1
38993 ac_status=$?
38994 grep -v '^ *+' conftest.er1 >conftest.err
38995 rm -f conftest.er1
38996 cat conftest.err >&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); } && {
38999 test -z "$ac_c_werror_flag" ||
39000 test ! -s conftest.err
39001 } && test -s conftest$ac_exeext &&
39002 $as_test_x conftest$ac_exeext; then
39003 ac_cv_func_pthread_mutex_timedlock=yes
39004 else
39005 echo "$as_me: failed program was:" >&5
39006 sed 's/^/| /' conftest.$ac_ext >&5
39007
39008 ac_cv_func_pthread_mutex_timedlock=no
39009 fi
39010
39011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39012 conftest$ac_exeext conftest.$ac_ext
39013 fi
39014 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39015 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39016 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39017 cat >>confdefs.h <<\_ACEOF
39018 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39019 _ACEOF
39020
39021 else
39022 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39023 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39024 fi
39025
39026
39027 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39028 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39029 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39030 echo $ECHO_N "(cached) $ECHO_C" >&6
39031 else
39032 cat >conftest.$ac_ext <<_ACEOF
39033 /* confdefs.h. */
39034 _ACEOF
39035 cat confdefs.h >>conftest.$ac_ext
39036 cat >>conftest.$ac_ext <<_ACEOF
39037 /* end confdefs.h. */
39038 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39040 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39041
39042 /* System header to define __stub macros and hopefully few prototypes,
39043 which can conflict with char pthread_attr_setstacksize (); below.
39044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39045 <limits.h> exists even on freestanding compilers. */
39046
39047 #ifdef __STDC__
39048 # include <limits.h>
39049 #else
39050 # include <assert.h>
39051 #endif
39052
39053 #undef pthread_attr_setstacksize
39054
39055 /* Override any GCC internal prototype to avoid an error.
39056 Use char because int might match the return type of a GCC
39057 builtin and then its argument prototype would still apply. */
39058 #ifdef __cplusplus
39059 extern "C"
39060 #endif
39061 char pthread_attr_setstacksize ();
39062 /* The GNU C library defines this for functions which it implements
39063 to always fail with ENOSYS. Some functions are actually named
39064 something starting with __ and the normal name is an alias. */
39065 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39066 choke me
39067 #endif
39068
39069 int
39070 main ()
39071 {
39072 return pthread_attr_setstacksize ();
39073 ;
39074 return 0;
39075 }
39076 _ACEOF
39077 rm -f conftest.$ac_objext conftest$ac_exeext
39078 if { (ac_try="$ac_link"
39079 case "(($ac_try" in
39080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39081 *) ac_try_echo=$ac_try;;
39082 esac
39083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39084 (eval "$ac_link") 2>conftest.er1
39085 ac_status=$?
39086 grep -v '^ *+' conftest.er1 >conftest.err
39087 rm -f conftest.er1
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } && {
39091 test -z "$ac_c_werror_flag" ||
39092 test ! -s conftest.err
39093 } && test -s conftest$ac_exeext &&
39094 $as_test_x conftest$ac_exeext; then
39095 ac_cv_func_pthread_attr_setstacksize=yes
39096 else
39097 echo "$as_me: failed program was:" >&5
39098 sed 's/^/| /' conftest.$ac_ext >&5
39099
39100 ac_cv_func_pthread_attr_setstacksize=no
39101 fi
39102
39103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39104 conftest$ac_exeext conftest.$ac_ext
39105 fi
39106 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39107 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39108 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39109 cat >>confdefs.h <<\_ACEOF
39110 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39111 _ACEOF
39112
39113 fi
39114
39115
39116
39117 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39118 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39119 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 else
39122
39123 cat >conftest.$ac_ext <<_ACEOF
39124 /* confdefs.h. */
39125 _ACEOF
39126 cat confdefs.h >>conftest.$ac_ext
39127 cat >>conftest.$ac_ext <<_ACEOF
39128 /* end confdefs.h. */
39129 #include <pthread.h>
39130 int
39131 main ()
39132 {
39133
39134 pthread_mutexattr_t attr;
39135 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39136
39137 ;
39138 return 0;
39139 }
39140 _ACEOF
39141 rm -f conftest.$ac_objext
39142 if { (ac_try="$ac_compile"
39143 case "(($ac_try" in
39144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39145 *) ac_try_echo=$ac_try;;
39146 esac
39147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39148 (eval "$ac_compile") 2>conftest.er1
39149 ac_status=$?
39150 grep -v '^ *+' conftest.er1 >conftest.err
39151 rm -f conftest.er1
39152 cat conftest.err >&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } && {
39155 test -z "$ac_c_werror_flag" ||
39156 test ! -s conftest.err
39157 } && test -s conftest.$ac_objext; then
39158 wx_cv_type_pthread_mutexattr_t=yes
39159 else
39160 echo "$as_me: failed program was:" >&5
39161 sed 's/^/| /' conftest.$ac_ext >&5
39162
39163 wx_cv_type_pthread_mutexattr_t=no
39164
39165 fi
39166
39167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39168
39169 fi
39170 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39171 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39172
39173 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39174 cat >>confdefs.h <<\_ACEOF
39175 #define HAVE_PTHREAD_MUTEXATTR_T 1
39176 _ACEOF
39177
39178
39179 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39180 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39181 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39182 echo $ECHO_N "(cached) $ECHO_C" >&6
39183 else
39184
39185 cat >conftest.$ac_ext <<_ACEOF
39186 /* confdefs.h. */
39187 _ACEOF
39188 cat confdefs.h >>conftest.$ac_ext
39189 cat >>conftest.$ac_ext <<_ACEOF
39190 /* end confdefs.h. */
39191 #include <pthread.h>
39192 int
39193 main ()
39194 {
39195
39196 pthread_mutexattr_t attr;
39197 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39198
39199 ;
39200 return 0;
39201 }
39202 _ACEOF
39203 rm -f conftest.$ac_objext
39204 if { (ac_try="$ac_compile"
39205 case "(($ac_try" in
39206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39207 *) ac_try_echo=$ac_try;;
39208 esac
39209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39210 (eval "$ac_compile") 2>conftest.er1
39211 ac_status=$?
39212 grep -v '^ *+' conftest.er1 >conftest.err
39213 rm -f conftest.er1
39214 cat conftest.err >&5
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); } && {
39217 test -z "$ac_c_werror_flag" ||
39218 test ! -s conftest.err
39219 } && test -s conftest.$ac_objext; then
39220 wx_cv_func_pthread_mutexattr_settype_decl=yes
39221 else
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.$ac_ext >&5
39224
39225 wx_cv_func_pthread_mutexattr_settype_decl=no
39226
39227 fi
39228
39229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39230
39231 fi
39232 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39233 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39234 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39235 cat >>confdefs.h <<\_ACEOF
39236 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39237 _ACEOF
39238
39239 fi
39240 else
39241 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39242 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39243 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39244 echo $ECHO_N "(cached) $ECHO_C" >&6
39245 else
39246
39247 cat >conftest.$ac_ext <<_ACEOF
39248 /* confdefs.h. */
39249 _ACEOF
39250 cat confdefs.h >>conftest.$ac_ext
39251 cat >>conftest.$ac_ext <<_ACEOF
39252 /* end confdefs.h. */
39253 #include <pthread.h>
39254 int
39255 main ()
39256 {
39257
39258 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39259
39260 ;
39261 return 0;
39262 }
39263 _ACEOF
39264 rm -f conftest.$ac_objext
39265 if { (ac_try="$ac_compile"
39266 case "(($ac_try" in
39267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39268 *) ac_try_echo=$ac_try;;
39269 esac
39270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39271 (eval "$ac_compile") 2>conftest.er1
39272 ac_status=$?
39273 grep -v '^ *+' conftest.er1 >conftest.err
39274 rm -f conftest.er1
39275 cat conftest.err >&5
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); } && {
39278 test -z "$ac_c_werror_flag" ||
39279 test ! -s conftest.err
39280 } && test -s conftest.$ac_objext; then
39281
39282 wx_cv_type_pthread_rec_mutex_init=yes
39283
39284 else
39285 echo "$as_me: failed program was:" >&5
39286 sed 's/^/| /' conftest.$ac_ext >&5
39287
39288
39289 wx_cv_type_pthread_rec_mutex_init=no
39290
39291
39292 fi
39293
39294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39295
39296 fi
39297 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39298 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39299 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39300 cat >>confdefs.h <<\_ACEOF
39301 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39302 _ACEOF
39303
39304 else
39305 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39306 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39307 fi
39308 fi
39309 fi
39310
39311 else
39312 if test "$wxUSE_THREADS" = "yes" ; then
39313 case "${host}" in
39314 *-*-mingw32* )
39315 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39316 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39317 if test "${wx_cv_cflags_mthread+set}" = set; then
39318 echo $ECHO_N "(cached) $ECHO_C" >&6
39319 else
39320
39321 CFLAGS_OLD="$CFLAGS"
39322 CFLAGS="-mthreads $CFLAGS"
39323 cat >conftest.$ac_ext <<_ACEOF
39324 /* confdefs.h. */
39325 _ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h. */
39329
39330 int
39331 main ()
39332 {
39333
39334 ;
39335 return 0;
39336 }
39337 _ACEOF
39338 rm -f conftest.$ac_objext
39339 if { (ac_try="$ac_compile"
39340 case "(($ac_try" in
39341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39342 *) ac_try_echo=$ac_try;;
39343 esac
39344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39345 (eval "$ac_compile") 2>conftest.er1
39346 ac_status=$?
39347 grep -v '^ *+' conftest.er1 >conftest.err
39348 rm -f conftest.er1
39349 cat conftest.err >&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); } && {
39352 test -z "$ac_c_werror_flag" ||
39353 test ! -s conftest.err
39354 } && test -s conftest.$ac_objext; then
39355 wx_cv_cflags_mthread=yes
39356 else
39357 echo "$as_me: failed program was:" >&5
39358 sed 's/^/| /' conftest.$ac_ext >&5
39359
39360 wx_cv_cflags_mthread=no
39361
39362 fi
39363
39364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39365
39366
39367 fi
39368 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39369 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39370
39371 if test "$wx_cv_cflags_mthread" = "yes"; then
39372 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39373 LDFLAGS="$LDFLAGS -mthreads"
39374 else
39375 CFLAGS="$CFLAGS_OLD"
39376 fi
39377 ;;
39378 *-pc-os2*emx )
39379 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39380 LDFLAGS="$LDFLAGS -Zmt"
39381 ;;
39382 esac
39383 fi
39384 fi
39385
39386 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39387 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39388 if test "${ac_cv_func_localtime_r+set}" = set; then
39389 echo $ECHO_N "(cached) $ECHO_C" >&6
39390 else
39391 cat >conftest.$ac_ext <<_ACEOF
39392 /* confdefs.h. */
39393 _ACEOF
39394 cat confdefs.h >>conftest.$ac_ext
39395 cat >>conftest.$ac_ext <<_ACEOF
39396 /* end confdefs.h. */
39397 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39399 #define localtime_r innocuous_localtime_r
39400
39401 /* System header to define __stub macros and hopefully few prototypes,
39402 which can conflict with char localtime_r (); below.
39403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39404 <limits.h> exists even on freestanding compilers. */
39405
39406 #ifdef __STDC__
39407 # include <limits.h>
39408 #else
39409 # include <assert.h>
39410 #endif
39411
39412 #undef localtime_r
39413
39414 /* Override any GCC internal prototype to avoid an error.
39415 Use char because int might match the return type of a GCC
39416 builtin and then its argument prototype would still apply. */
39417 #ifdef __cplusplus
39418 extern "C"
39419 #endif
39420 char localtime_r ();
39421 /* The GNU C library defines this for functions which it implements
39422 to always fail with ENOSYS. Some functions are actually named
39423 something starting with __ and the normal name is an alias. */
39424 #if defined __stub_localtime_r || defined __stub___localtime_r
39425 choke me
39426 #endif
39427
39428 int
39429 main ()
39430 {
39431 return localtime_r ();
39432 ;
39433 return 0;
39434 }
39435 _ACEOF
39436 rm -f conftest.$ac_objext conftest$ac_exeext
39437 if { (ac_try="$ac_link"
39438 case "(($ac_try" in
39439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39440 *) ac_try_echo=$ac_try;;
39441 esac
39442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39443 (eval "$ac_link") 2>conftest.er1
39444 ac_status=$?
39445 grep -v '^ *+' conftest.er1 >conftest.err
39446 rm -f conftest.er1
39447 cat conftest.err >&5
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); } && {
39450 test -z "$ac_c_werror_flag" ||
39451 test ! -s conftest.err
39452 } && test -s conftest$ac_exeext &&
39453 $as_test_x conftest$ac_exeext; then
39454 ac_cv_func_localtime_r=yes
39455 else
39456 echo "$as_me: failed program was:" >&5
39457 sed 's/^/| /' conftest.$ac_ext >&5
39458
39459 ac_cv_func_localtime_r=no
39460 fi
39461
39462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39463 conftest$ac_exeext conftest.$ac_ext
39464 fi
39465 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39466 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39467 if test $ac_cv_func_localtime_r = yes; then
39468 cat >>confdefs.h <<\_ACEOF
39469 #define HAVE_LOCALTIME_R 1
39470 _ACEOF
39471
39472 fi
39473
39474 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39475 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39476 if test "${ac_cv_func_gmtime_r+set}" = set; then
39477 echo $ECHO_N "(cached) $ECHO_C" >&6
39478 else
39479 cat >conftest.$ac_ext <<_ACEOF
39480 /* confdefs.h. */
39481 _ACEOF
39482 cat confdefs.h >>conftest.$ac_ext
39483 cat >>conftest.$ac_ext <<_ACEOF
39484 /* end confdefs.h. */
39485 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39487 #define gmtime_r innocuous_gmtime_r
39488
39489 /* System header to define __stub macros and hopefully few prototypes,
39490 which can conflict with char gmtime_r (); below.
39491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39492 <limits.h> exists even on freestanding compilers. */
39493
39494 #ifdef __STDC__
39495 # include <limits.h>
39496 #else
39497 # include <assert.h>
39498 #endif
39499
39500 #undef gmtime_r
39501
39502 /* Override any GCC internal prototype to avoid an error.
39503 Use char because int might match the return type of a GCC
39504 builtin and then its argument prototype would still apply. */
39505 #ifdef __cplusplus
39506 extern "C"
39507 #endif
39508 char gmtime_r ();
39509 /* The GNU C library defines this for functions which it implements
39510 to always fail with ENOSYS. Some functions are actually named
39511 something starting with __ and the normal name is an alias. */
39512 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39513 choke me
39514 #endif
39515
39516 int
39517 main ()
39518 {
39519 return gmtime_r ();
39520 ;
39521 return 0;
39522 }
39523 _ACEOF
39524 rm -f conftest.$ac_objext conftest$ac_exeext
39525 if { (ac_try="$ac_link"
39526 case "(($ac_try" in
39527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39528 *) ac_try_echo=$ac_try;;
39529 esac
39530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39531 (eval "$ac_link") 2>conftest.er1
39532 ac_status=$?
39533 grep -v '^ *+' conftest.er1 >conftest.err
39534 rm -f conftest.er1
39535 cat conftest.err >&5
39536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39537 (exit $ac_status); } && {
39538 test -z "$ac_c_werror_flag" ||
39539 test ! -s conftest.err
39540 } && test -s conftest$ac_exeext &&
39541 $as_test_x conftest$ac_exeext; then
39542 ac_cv_func_gmtime_r=yes
39543 else
39544 echo "$as_me: failed program was:" >&5
39545 sed 's/^/| /' conftest.$ac_ext >&5
39546
39547 ac_cv_func_gmtime_r=no
39548 fi
39549
39550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39551 conftest$ac_exeext conftest.$ac_ext
39552 fi
39553 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39554 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39555 if test $ac_cv_func_gmtime_r = yes; then
39556 cat >>confdefs.h <<\_ACEOF
39557 #define HAVE_GMTIME_R 1
39558 _ACEOF
39559
39560 fi
39561
39562 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39563 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39564 if test "${ac_cv_func_readdir_r+set}" = set; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39566 else
39567 cat >conftest.$ac_ext <<_ACEOF
39568 /* confdefs.h. */
39569 _ACEOF
39570 cat confdefs.h >>conftest.$ac_ext
39571 cat >>conftest.$ac_ext <<_ACEOF
39572 /* end confdefs.h. */
39573 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39575 #define readdir_r innocuous_readdir_r
39576
39577 /* System header to define __stub macros and hopefully few prototypes,
39578 which can conflict with char readdir_r (); below.
39579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39580 <limits.h> exists even on freestanding compilers. */
39581
39582 #ifdef __STDC__
39583 # include <limits.h>
39584 #else
39585 # include <assert.h>
39586 #endif
39587
39588 #undef readdir_r
39589
39590 /* Override any GCC internal prototype to avoid an error.
39591 Use char because int might match the return type of a GCC
39592 builtin and then its argument prototype would still apply. */
39593 #ifdef __cplusplus
39594 extern "C"
39595 #endif
39596 char readdir_r ();
39597 /* The GNU C library defines this for functions which it implements
39598 to always fail with ENOSYS. Some functions are actually named
39599 something starting with __ and the normal name is an alias. */
39600 #if defined __stub_readdir_r || defined __stub___readdir_r
39601 choke me
39602 #endif
39603
39604 int
39605 main ()
39606 {
39607 return readdir_r ();
39608 ;
39609 return 0;
39610 }
39611 _ACEOF
39612 rm -f conftest.$ac_objext conftest$ac_exeext
39613 if { (ac_try="$ac_link"
39614 case "(($ac_try" in
39615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39616 *) ac_try_echo=$ac_try;;
39617 esac
39618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39619 (eval "$ac_link") 2>conftest.er1
39620 ac_status=$?
39621 grep -v '^ *+' conftest.er1 >conftest.err
39622 rm -f conftest.er1
39623 cat conftest.err >&5
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); } && {
39626 test -z "$ac_c_werror_flag" ||
39627 test ! -s conftest.err
39628 } && test -s conftest$ac_exeext &&
39629 $as_test_x conftest$ac_exeext; then
39630 ac_cv_func_readdir_r=yes
39631 else
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.$ac_ext >&5
39634
39635 ac_cv_func_readdir_r=no
39636 fi
39637
39638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39639 conftest$ac_exeext conftest.$ac_ext
39640 fi
39641 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39642 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39643 if test $ac_cv_func_readdir_r = yes; then
39644 cat >>confdefs.h <<\_ACEOF
39645 #define HAVE_READDIR_R 1
39646 _ACEOF
39647
39648 fi
39649
39650
39651
39652
39653 ac_ext=c
39654 ac_cpp='$CPP $CPPFLAGS'
39655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39658
39659 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39660 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39661
39662 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39663 echo $ECHO_N "(cached) $ECHO_C" >&6
39664 else
39665
39666
39667 ################################################################
39668
39669 ac_cv_func_which_gethostbyname_r=unknown
39670
39671 #
39672 # ONE ARGUMENT (sanity check)
39673 #
39674
39675 # This should fail, as there is no variant of gethostbyname_r() that takes
39676 # a single argument. If it actually compiles, then we can assume that
39677 # netdb.h is not declaring the function, and the compiler is thereby
39678 # assuming an implicit prototype. In which case, we're out of luck.
39679 #
39680 cat >conftest.$ac_ext <<_ACEOF
39681 /* confdefs.h. */
39682 _ACEOF
39683 cat confdefs.h >>conftest.$ac_ext
39684 cat >>conftest.$ac_ext <<_ACEOF
39685 /* end confdefs.h. */
39686 #include <netdb.h>
39687 int
39688 main ()
39689 {
39690
39691 char *name = "www.gnu.org";
39692 (void)gethostbyname_r(name) /* ; */
39693
39694 ;
39695 return 0;
39696 }
39697 _ACEOF
39698 rm -f conftest.$ac_objext
39699 if { (ac_try="$ac_compile"
39700 case "(($ac_try" in
39701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39702 *) ac_try_echo=$ac_try;;
39703 esac
39704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39705 (eval "$ac_compile") 2>conftest.er1
39706 ac_status=$?
39707 grep -v '^ *+' conftest.er1 >conftest.err
39708 rm -f conftest.er1
39709 cat conftest.err >&5
39710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39711 (exit $ac_status); } && {
39712 test -z "$ac_c_werror_flag" ||
39713 test ! -s conftest.err
39714 } && test -s conftest.$ac_objext; then
39715 ac_cv_func_which_gethostbyname_r=no
39716 else
39717 echo "$as_me: failed program was:" >&5
39718 sed 's/^/| /' conftest.$ac_ext >&5
39719
39720
39721 fi
39722
39723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39724
39725 #
39726 # SIX ARGUMENTS
39727 # (e.g. Linux)
39728 #
39729
39730 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39731
39732 cat >conftest.$ac_ext <<_ACEOF
39733 /* confdefs.h. */
39734 _ACEOF
39735 cat confdefs.h >>conftest.$ac_ext
39736 cat >>conftest.$ac_ext <<_ACEOF
39737 /* end confdefs.h. */
39738 #include <netdb.h>
39739 int
39740 main ()
39741 {
39742
39743 char *name = "www.gnu.org";
39744 struct hostent ret, *retp;
39745 char buf[1024];
39746 int buflen = 1024;
39747 int my_h_errno;
39748 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39749
39750 ;
39751 return 0;
39752 }
39753 _ACEOF
39754 rm -f conftest.$ac_objext
39755 if { (ac_try="$ac_compile"
39756 case "(($ac_try" in
39757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39758 *) ac_try_echo=$ac_try;;
39759 esac
39760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39761 (eval "$ac_compile") 2>conftest.er1
39762 ac_status=$?
39763 grep -v '^ *+' conftest.er1 >conftest.err
39764 rm -f conftest.er1
39765 cat conftest.err >&5
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); } && {
39768 test -z "$ac_c_werror_flag" ||
39769 test ! -s conftest.err
39770 } && test -s conftest.$ac_objext; then
39771 ac_cv_func_which_gethostbyname_r=six
39772 else
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39775
39776
39777 fi
39778
39779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39780
39781 fi
39782
39783 #
39784 # FIVE ARGUMENTS
39785 # (e.g. Solaris)
39786 #
39787
39788 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39789
39790 cat >conftest.$ac_ext <<_ACEOF
39791 /* confdefs.h. */
39792 _ACEOF
39793 cat confdefs.h >>conftest.$ac_ext
39794 cat >>conftest.$ac_ext <<_ACEOF
39795 /* end confdefs.h. */
39796 #include <netdb.h>
39797 int
39798 main ()
39799 {
39800
39801 char *name = "www.gnu.org";
39802 struct hostent ret;
39803 char buf[1024];
39804 int buflen = 1024;
39805 int my_h_errno;
39806 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39807
39808 ;
39809 return 0;
39810 }
39811 _ACEOF
39812 rm -f conftest.$ac_objext
39813 if { (ac_try="$ac_compile"
39814 case "(($ac_try" in
39815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39816 *) ac_try_echo=$ac_try;;
39817 esac
39818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39819 (eval "$ac_compile") 2>conftest.er1
39820 ac_status=$?
39821 grep -v '^ *+' conftest.er1 >conftest.err
39822 rm -f conftest.er1
39823 cat conftest.err >&5
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); } && {
39826 test -z "$ac_c_werror_flag" ||
39827 test ! -s conftest.err
39828 } && test -s conftest.$ac_objext; then
39829 ac_cv_func_which_gethostbyname_r=five
39830 else
39831 echo "$as_me: failed program was:" >&5
39832 sed 's/^/| /' conftest.$ac_ext >&5
39833
39834
39835 fi
39836
39837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39838
39839 fi
39840
39841 #
39842 # THREE ARGUMENTS
39843 # (e.g. AIX, HP-UX, Tru64)
39844 #
39845
39846 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39847
39848 cat >conftest.$ac_ext <<_ACEOF
39849 /* confdefs.h. */
39850 _ACEOF
39851 cat confdefs.h >>conftest.$ac_ext
39852 cat >>conftest.$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39854 #include <netdb.h>
39855 int
39856 main ()
39857 {
39858
39859 char *name = "www.gnu.org";
39860 struct hostent ret;
39861 struct hostent_data data;
39862 (void)gethostbyname_r(name, &ret, &data) /* ; */
39863
39864 ;
39865 return 0;
39866 }
39867 _ACEOF
39868 rm -f conftest.$ac_objext
39869 if { (ac_try="$ac_compile"
39870 case "(($ac_try" in
39871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39872 *) ac_try_echo=$ac_try;;
39873 esac
39874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39875 (eval "$ac_compile") 2>conftest.er1
39876 ac_status=$?
39877 grep -v '^ *+' conftest.er1 >conftest.err
39878 rm -f conftest.er1
39879 cat conftest.err >&5
39880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881 (exit $ac_status); } && {
39882 test -z "$ac_c_werror_flag" ||
39883 test ! -s conftest.err
39884 } && test -s conftest.$ac_objext; then
39885 ac_cv_func_which_gethostbyname_r=three
39886 else
39887 echo "$as_me: failed program was:" >&5
39888 sed 's/^/| /' conftest.$ac_ext >&5
39889
39890
39891 fi
39892
39893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39894
39895 fi
39896
39897 ################################################################
39898
39899
39900 fi
39901
39902 case "$ac_cv_func_which_gethostbyname_r" in
39903 three)
39904 { echo "$as_me:$LINENO: result: three" >&5
39905 echo "${ECHO_T}three" >&6; }
39906 cat >>confdefs.h <<\_ACEOF
39907 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39908 _ACEOF
39909
39910 ;;
39911
39912 five)
39913 { echo "$as_me:$LINENO: result: five" >&5
39914 echo "${ECHO_T}five" >&6; }
39915 cat >>confdefs.h <<\_ACEOF
39916 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39917 _ACEOF
39918
39919 ;;
39920
39921 six)
39922 { echo "$as_me:$LINENO: result: six" >&5
39923 echo "${ECHO_T}six" >&6; }
39924 cat >>confdefs.h <<\_ACEOF
39925 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39926 _ACEOF
39927
39928 ;;
39929
39930 no)
39931 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39932 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39933 ;;
39934
39935 unknown)
39936 { echo "$as_me:$LINENO: result: can't tell" >&5
39937 echo "${ECHO_T}can't tell" >&6; }
39938 ;;
39939
39940 *)
39941 { { echo "$as_me:$LINENO: error: internal error" >&5
39942 echo "$as_me: error: internal error" >&2;}
39943 { (exit 1); exit 1; }; }
39944 ;;
39945 esac
39946
39947 ac_ext=c
39948 ac_cpp='$CPP $CPPFLAGS'
39949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39952
39953
39954
39955 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39956 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39957 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39958 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39959 if test "${ac_cv_func_gethostbyname+set}" = set; then
39960 echo $ECHO_N "(cached) $ECHO_C" >&6
39961 else
39962 cat >conftest.$ac_ext <<_ACEOF
39963 /* confdefs.h. */
39964 _ACEOF
39965 cat confdefs.h >>conftest.$ac_ext
39966 cat >>conftest.$ac_ext <<_ACEOF
39967 /* end confdefs.h. */
39968 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39970 #define gethostbyname innocuous_gethostbyname
39971
39972 /* System header to define __stub macros and hopefully few prototypes,
39973 which can conflict with char gethostbyname (); below.
39974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39975 <limits.h> exists even on freestanding compilers. */
39976
39977 #ifdef __STDC__
39978 # include <limits.h>
39979 #else
39980 # include <assert.h>
39981 #endif
39982
39983 #undef gethostbyname
39984
39985 /* Override any GCC internal prototype to avoid an error.
39986 Use char because int might match the return type of a GCC
39987 builtin and then its argument prototype would still apply. */
39988 #ifdef __cplusplus
39989 extern "C"
39990 #endif
39991 char gethostbyname ();
39992 /* The GNU C library defines this for functions which it implements
39993 to always fail with ENOSYS. Some functions are actually named
39994 something starting with __ and the normal name is an alias. */
39995 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39996 choke me
39997 #endif
39998
39999 int
40000 main ()
40001 {
40002 return gethostbyname ();
40003 ;
40004 return 0;
40005 }
40006 _ACEOF
40007 rm -f conftest.$ac_objext conftest$ac_exeext
40008 if { (ac_try="$ac_link"
40009 case "(($ac_try" in
40010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40011 *) ac_try_echo=$ac_try;;
40012 esac
40013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40014 (eval "$ac_link") 2>conftest.er1
40015 ac_status=$?
40016 grep -v '^ *+' conftest.er1 >conftest.err
40017 rm -f conftest.er1
40018 cat conftest.err >&5
40019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40020 (exit $ac_status); } && {
40021 test -z "$ac_c_werror_flag" ||
40022 test ! -s conftest.err
40023 } && test -s conftest$ac_exeext &&
40024 $as_test_x conftest$ac_exeext; then
40025 ac_cv_func_gethostbyname=yes
40026 else
40027 echo "$as_me: failed program was:" >&5
40028 sed 's/^/| /' conftest.$ac_ext >&5
40029
40030 ac_cv_func_gethostbyname=no
40031 fi
40032
40033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40034 conftest$ac_exeext conftest.$ac_ext
40035 fi
40036 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40037 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40038 if test $ac_cv_func_gethostbyname = yes; then
40039 cat >>confdefs.h <<\_ACEOF
40040 #define HAVE_GETHOSTBYNAME 1
40041 _ACEOF
40042
40043 fi
40044
40045 fi
40046
40047 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40048 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40049 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40050 echo $ECHO_N "(cached) $ECHO_C" >&6
40051 else
40052
40053 ac_ext=cpp
40054 ac_cpp='$CXXCPP $CPPFLAGS'
40055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40058
40059
40060 cat >conftest.$ac_ext <<_ACEOF
40061 /* confdefs.h. */
40062 _ACEOF
40063 cat confdefs.h >>conftest.$ac_ext
40064 cat >>conftest.$ac_ext <<_ACEOF
40065 /* end confdefs.h. */
40066 #include <netdb.h>
40067 int
40068 main ()
40069 {
40070
40071 char *name;
40072 char *proto;
40073 struct servent *se, *res;
40074 char buffer[2048];
40075 int buflen = 2048;
40076 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40077
40078 ;
40079 return 0;
40080 }
40081 _ACEOF
40082 rm -f conftest.$ac_objext
40083 if { (ac_try="$ac_compile"
40084 case "(($ac_try" in
40085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40086 *) ac_try_echo=$ac_try;;
40087 esac
40088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40089 (eval "$ac_compile") 2>conftest.er1
40090 ac_status=$?
40091 grep -v '^ *+' conftest.er1 >conftest.err
40092 rm -f conftest.er1
40093 cat conftest.err >&5
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); } && {
40096 test -z "$ac_cxx_werror_flag" ||
40097 test ! -s conftest.err
40098 } && test -s conftest.$ac_objext; then
40099 ac_cv_func_which_getservbyname_r=six
40100 else
40101 echo "$as_me: failed program was:" >&5
40102 sed 's/^/| /' conftest.$ac_ext >&5
40103
40104
40105 cat >conftest.$ac_ext <<_ACEOF
40106 /* confdefs.h. */
40107 _ACEOF
40108 cat confdefs.h >>conftest.$ac_ext
40109 cat >>conftest.$ac_ext <<_ACEOF
40110 /* end confdefs.h. */
40111 #include <netdb.h>
40112 int
40113 main ()
40114 {
40115
40116 char *name;
40117 char *proto;
40118 struct servent *se;
40119 char buffer[2048];
40120 int buflen = 2048;
40121 (void) getservbyname_r(name, proto, se, buffer, buflen)
40122
40123 ;
40124 return 0;
40125 }
40126 _ACEOF
40127 rm -f conftest.$ac_objext
40128 if { (ac_try="$ac_compile"
40129 case "(($ac_try" in
40130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40131 *) ac_try_echo=$ac_try;;
40132 esac
40133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40134 (eval "$ac_compile") 2>conftest.er1
40135 ac_status=$?
40136 grep -v '^ *+' conftest.er1 >conftest.err
40137 rm -f conftest.er1
40138 cat conftest.err >&5
40139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40140 (exit $ac_status); } && {
40141 test -z "$ac_cxx_werror_flag" ||
40142 test ! -s conftest.err
40143 } && test -s conftest.$ac_objext; then
40144 ac_cv_func_which_getservbyname_r=five
40145 else
40146 echo "$as_me: failed program was:" >&5
40147 sed 's/^/| /' conftest.$ac_ext >&5
40148
40149
40150 cat >conftest.$ac_ext <<_ACEOF
40151 /* confdefs.h. */
40152 _ACEOF
40153 cat confdefs.h >>conftest.$ac_ext
40154 cat >>conftest.$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40156 #include <netdb.h>
40157 int
40158 main ()
40159 {
40160
40161 char *name;
40162 char *proto;
40163 struct servent *se;
40164 struct servent_data data;
40165 (void) getservbyname_r(name, proto, se, &data);
40166
40167 ;
40168 return 0;
40169 }
40170 _ACEOF
40171 rm -f conftest.$ac_objext
40172 if { (ac_try="$ac_compile"
40173 case "(($ac_try" in
40174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40175 *) ac_try_echo=$ac_try;;
40176 esac
40177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40178 (eval "$ac_compile") 2>conftest.er1
40179 ac_status=$?
40180 grep -v '^ *+' conftest.er1 >conftest.err
40181 rm -f conftest.er1
40182 cat conftest.err >&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); } && {
40185 test -z "$ac_cxx_werror_flag" ||
40186 test ! -s conftest.err
40187 } && test -s conftest.$ac_objext; then
40188 ac_cv_func_which_getservbyname_r=four
40189 else
40190 echo "$as_me: failed program was:" >&5
40191 sed 's/^/| /' conftest.$ac_ext >&5
40192
40193 ac_cv_func_which_getservbyname_r=no
40194
40195 fi
40196
40197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40198
40199
40200 fi
40201
40202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40203
40204
40205 fi
40206
40207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40208 ac_ext=c
40209 ac_cpp='$CPP $CPPFLAGS'
40210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40213
40214
40215
40216 fi
40217 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40218 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40219
40220 if test $ac_cv_func_which_getservbyname_r = six; then
40221 cat >>confdefs.h <<\_ACEOF
40222 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40223 _ACEOF
40224
40225 elif test $ac_cv_func_which_getservbyname_r = five; then
40226 cat >>confdefs.h <<\_ACEOF
40227 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40228 _ACEOF
40229
40230 elif test $ac_cv_func_which_getservbyname_r = four; then
40231 cat >>confdefs.h <<\_ACEOF
40232 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40233 _ACEOF
40234
40235 fi
40236
40237
40238 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40239 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40240
40241 for ac_func in getservbyname
40242 do
40243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40244 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40246 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40247 echo $ECHO_N "(cached) $ECHO_C" >&6
40248 else
40249 cat >conftest.$ac_ext <<_ACEOF
40250 /* confdefs.h. */
40251 _ACEOF
40252 cat confdefs.h >>conftest.$ac_ext
40253 cat >>conftest.$ac_ext <<_ACEOF
40254 /* end confdefs.h. */
40255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40257 #define $ac_func innocuous_$ac_func
40258
40259 /* System header to define __stub macros and hopefully few prototypes,
40260 which can conflict with char $ac_func (); below.
40261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40262 <limits.h> exists even on freestanding compilers. */
40263
40264 #ifdef __STDC__
40265 # include <limits.h>
40266 #else
40267 # include <assert.h>
40268 #endif
40269
40270 #undef $ac_func
40271
40272 /* Override any GCC internal prototype to avoid an error.
40273 Use char because int might match the return type of a GCC
40274 builtin and then its argument prototype would still apply. */
40275 #ifdef __cplusplus
40276 extern "C"
40277 #endif
40278 char $ac_func ();
40279 /* The GNU C library defines this for functions which it implements
40280 to always fail with ENOSYS. Some functions are actually named
40281 something starting with __ and the normal name is an alias. */
40282 #if defined __stub_$ac_func || defined __stub___$ac_func
40283 choke me
40284 #endif
40285
40286 int
40287 main ()
40288 {
40289 return $ac_func ();
40290 ;
40291 return 0;
40292 }
40293 _ACEOF
40294 rm -f conftest.$ac_objext conftest$ac_exeext
40295 if { (ac_try="$ac_link"
40296 case "(($ac_try" in
40297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40298 *) ac_try_echo=$ac_try;;
40299 esac
40300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40301 (eval "$ac_link") 2>conftest.er1
40302 ac_status=$?
40303 grep -v '^ *+' conftest.er1 >conftest.err
40304 rm -f conftest.er1
40305 cat conftest.err >&5
40306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307 (exit $ac_status); } && {
40308 test -z "$ac_c_werror_flag" ||
40309 test ! -s conftest.err
40310 } && test -s conftest$ac_exeext &&
40311 $as_test_x conftest$ac_exeext; then
40312 eval "$as_ac_var=yes"
40313 else
40314 echo "$as_me: failed program was:" >&5
40315 sed 's/^/| /' conftest.$ac_ext >&5
40316
40317 eval "$as_ac_var=no"
40318 fi
40319
40320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40321 conftest$ac_exeext conftest.$ac_ext
40322 fi
40323 ac_res=`eval echo '${'$as_ac_var'}'`
40324 { echo "$as_me:$LINENO: result: $ac_res" >&5
40325 echo "${ECHO_T}$ac_res" >&6; }
40326 if test `eval echo '${'$as_ac_var'}'` = yes; then
40327 cat >>confdefs.h <<_ACEOF
40328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40329 _ACEOF
40330 cat >>confdefs.h <<\_ACEOF
40331 #define HAVE_GETSERVBYNAME 1
40332 _ACEOF
40333
40334 fi
40335 done
40336
40337 fi
40338
40339 if test "$wxUSE_THREADS" = "yes"; then
40340 cat >>confdefs.h <<\_ACEOF
40341 #define wxUSE_THREADS 1
40342 _ACEOF
40343
40344
40345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40346 else
40347 if test "$wx_cv_func_strtok_r" = "yes"; then
40348 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40349 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40350 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40351 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40352 { echo "$as_me:$LINENO: result: yes" >&5
40353 echo "${ECHO_T}yes" >&6; }
40354 else
40355 { echo "$as_me:$LINENO: result: no" >&5
40356 echo "${ECHO_T}no" >&6; }
40357 fi
40358 fi
40359 fi
40360
40361 if test "$WXGTK20" = 1 ; then
40362 cat >>confdefs.h <<_ACEOF
40363 #define __WXGTK20__ $WXGTK20
40364 _ACEOF
40365
40366 WXGTK12=1
40367 fi
40368
40369 if test "$WXGTK12" = 1 ; then
40370 cat >>confdefs.h <<_ACEOF
40371 #define __WXGTK12__ $WXGTK12
40372 _ACEOF
40373
40374 fi
40375
40376 if test "$WXGTK127" = 1 ; then
40377 cat >>confdefs.h <<_ACEOF
40378 #define __WXGTK127__ $WXGTK127
40379 _ACEOF
40380
40381 fi
40382
40383 if test "$WXGPE" = 1 ; then
40384 cat >>confdefs.h <<_ACEOF
40385 #define __WXGPE__ $WXGPE
40386 _ACEOF
40387
40388 fi
40389
40390 DEBUG_CFLAGS=
40391 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40392 DEBUG_CFLAGS="-g"
40393 wxUSE_OPTIMISE=no
40394 fi
40395
40396 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40397 wxUSE_DEBUG_INFO=yes
40398 if test "$GCC" = yes; then
40399 DEBUG_CFLAGS="-ggdb"
40400 fi
40401 fi
40402
40403 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40404 cat >>confdefs.h <<\_ACEOF
40405 #define WXDEBUG 1
40406 _ACEOF
40407
40408 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40409 else
40410 if test "$wxUSE_GTK" = 1 ; then
40411 if test "x$wxGTK_VERSION" = "x1" ; then
40412 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40413 fi
40414 fi
40415 fi
40416
40417 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40418 cat >>confdefs.h <<\_ACEOF
40419 #define wxUSE_MEMORY_TRACING 1
40420 _ACEOF
40421
40422 cat >>confdefs.h <<\_ACEOF
40423 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40424 _ACEOF
40425
40426 cat >>confdefs.h <<\_ACEOF
40427 #define wxUSE_DEBUG_NEW_ALWAYS 1
40428 _ACEOF
40429
40430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40431 fi
40432
40433 if test "$wxUSE_DMALLOC" = "yes" ; then
40434 DMALLOC_LIBS="-ldmallocthcxx"
40435 fi
40436
40437 PROFILE_FLAGS=
40438 if test "$wxUSE_PROFILE" = "yes" ; then
40439 PROFILE_FLAGS=" -pg"
40440 fi
40441
40442 if test "$GCC" = "yes" ; then
40443 if test "$wxUSE_NO_RTTI" = "yes" ; then
40444 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40445 fi
40446 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40447 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40448 fi
40449 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40450 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40451 fi
40452
40453 case "${host}" in
40454 powerpc*-*-aix* )
40455 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40456 ;;
40457 *-hppa* )
40458 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40459 ;;
40460 esac
40461 fi
40462
40463 OPTIMISE_CFLAGS=
40464 if test "$wxUSE_OPTIMISE" = "no" ; then
40465 if test "$GCC" = yes ; then
40466 OPTIMISE_CFLAGS="-O0"
40467 fi
40468 else
40469 if test "$GCC" = yes ; then
40470 case "${host}" in
40471 *-pc-os2_emx | *-pc-os2-emx )
40472 OPTIMISE_CFLAGS="-O2"
40473 ;;
40474 *)
40475 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40476 ;;
40477 esac
40478 else
40479 OPTIMISE_CFLAGS="-O"
40480 fi
40481 fi
40482
40483
40484 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40485 cat >>confdefs.h <<\_ACEOF
40486 #define WXWIN_COMPATIBILITY_2_6 1
40487 _ACEOF
40488
40489
40490 WXWIN_COMPATIBILITY_2_8="yes"
40491 fi
40492
40493 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40494 cat >>confdefs.h <<\_ACEOF
40495 #define WXWIN_COMPATIBILITY_2_8 1
40496 _ACEOF
40497
40498 fi
40499
40500
40501 if test "$wxUSE_GUI" = "yes"; then
40502 cat >>confdefs.h <<\_ACEOF
40503 #define wxUSE_GUI 1
40504 _ACEOF
40505
40506
40507 fi
40508
40509
40510 if test "$wxUSE_UNIX" = "yes"; then
40511 cat >>confdefs.h <<\_ACEOF
40512 #define wxUSE_UNIX 1
40513 _ACEOF
40514
40515 fi
40516
40517
40518 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40519
40520 HAVE_DL_FUNCS=0
40521 HAVE_SHL_FUNCS=0
40522 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40523 if test "$USE_DARWIN" = 1; then
40524 HAVE_DL_FUNCS=1
40525 elif test "$USE_DOS" = 1; then
40526 HAVE_DL_FUNCS=0
40527 else
40528
40529 for ac_func in dlopen
40530 do
40531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40532 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40534 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40535 echo $ECHO_N "(cached) $ECHO_C" >&6
40536 else
40537 cat >conftest.$ac_ext <<_ACEOF
40538 /* confdefs.h. */
40539 _ACEOF
40540 cat confdefs.h >>conftest.$ac_ext
40541 cat >>conftest.$ac_ext <<_ACEOF
40542 /* end confdefs.h. */
40543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40545 #define $ac_func innocuous_$ac_func
40546
40547 /* System header to define __stub macros and hopefully few prototypes,
40548 which can conflict with char $ac_func (); below.
40549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40550 <limits.h> exists even on freestanding compilers. */
40551
40552 #ifdef __STDC__
40553 # include <limits.h>
40554 #else
40555 # include <assert.h>
40556 #endif
40557
40558 #undef $ac_func
40559
40560 /* Override any GCC internal prototype to avoid an error.
40561 Use char because int might match the return type of a GCC
40562 builtin and then its argument prototype would still apply. */
40563 #ifdef __cplusplus
40564 extern "C"
40565 #endif
40566 char $ac_func ();
40567 /* The GNU C library defines this for functions which it implements
40568 to always fail with ENOSYS. Some functions are actually named
40569 something starting with __ and the normal name is an alias. */
40570 #if defined __stub_$ac_func || defined __stub___$ac_func
40571 choke me
40572 #endif
40573
40574 int
40575 main ()
40576 {
40577 return $ac_func ();
40578 ;
40579 return 0;
40580 }
40581 _ACEOF
40582 rm -f conftest.$ac_objext conftest$ac_exeext
40583 if { (ac_try="$ac_link"
40584 case "(($ac_try" in
40585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40586 *) ac_try_echo=$ac_try;;
40587 esac
40588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40589 (eval "$ac_link") 2>conftest.er1
40590 ac_status=$?
40591 grep -v '^ *+' conftest.er1 >conftest.err
40592 rm -f conftest.er1
40593 cat conftest.err >&5
40594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595 (exit $ac_status); } && {
40596 test -z "$ac_c_werror_flag" ||
40597 test ! -s conftest.err
40598 } && test -s conftest$ac_exeext &&
40599 $as_test_x conftest$ac_exeext; then
40600 eval "$as_ac_var=yes"
40601 else
40602 echo "$as_me: failed program was:" >&5
40603 sed 's/^/| /' conftest.$ac_ext >&5
40604
40605 eval "$as_ac_var=no"
40606 fi
40607
40608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40609 conftest$ac_exeext conftest.$ac_ext
40610 fi
40611 ac_res=`eval echo '${'$as_ac_var'}'`
40612 { echo "$as_me:$LINENO: result: $ac_res" >&5
40613 echo "${ECHO_T}$ac_res" >&6; }
40614 if test `eval echo '${'$as_ac_var'}'` = yes; then
40615 cat >>confdefs.h <<_ACEOF
40616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40617 _ACEOF
40618
40619 cat >>confdefs.h <<\_ACEOF
40620 #define HAVE_DLOPEN 1
40621 _ACEOF
40622
40623 HAVE_DL_FUNCS=1
40624
40625 else
40626
40627 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40628 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40629 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40630 echo $ECHO_N "(cached) $ECHO_C" >&6
40631 else
40632 ac_check_lib_save_LIBS=$LIBS
40633 LIBS="-ldl $LIBS"
40634 cat >conftest.$ac_ext <<_ACEOF
40635 /* confdefs.h. */
40636 _ACEOF
40637 cat confdefs.h >>conftest.$ac_ext
40638 cat >>conftest.$ac_ext <<_ACEOF
40639 /* end confdefs.h. */
40640
40641 /* Override any GCC internal prototype to avoid an error.
40642 Use char because int might match the return type of a GCC
40643 builtin and then its argument prototype would still apply. */
40644 #ifdef __cplusplus
40645 extern "C"
40646 #endif
40647 char dlopen ();
40648 int
40649 main ()
40650 {
40651 return dlopen ();
40652 ;
40653 return 0;
40654 }
40655 _ACEOF
40656 rm -f conftest.$ac_objext conftest$ac_exeext
40657 if { (ac_try="$ac_link"
40658 case "(($ac_try" in
40659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40660 *) ac_try_echo=$ac_try;;
40661 esac
40662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40663 (eval "$ac_link") 2>conftest.er1
40664 ac_status=$?
40665 grep -v '^ *+' conftest.er1 >conftest.err
40666 rm -f conftest.er1
40667 cat conftest.err >&5
40668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40669 (exit $ac_status); } && {
40670 test -z "$ac_c_werror_flag" ||
40671 test ! -s conftest.err
40672 } && test -s conftest$ac_exeext &&
40673 $as_test_x conftest$ac_exeext; then
40674 ac_cv_lib_dl_dlopen=yes
40675 else
40676 echo "$as_me: failed program was:" >&5
40677 sed 's/^/| /' conftest.$ac_ext >&5
40678
40679 ac_cv_lib_dl_dlopen=no
40680 fi
40681
40682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40683 conftest$ac_exeext conftest.$ac_ext
40684 LIBS=$ac_check_lib_save_LIBS
40685 fi
40686 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40687 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40688 if test $ac_cv_lib_dl_dlopen = yes; then
40689
40690 cat >>confdefs.h <<\_ACEOF
40691 #define HAVE_DLOPEN 1
40692 _ACEOF
40693
40694 HAVE_DL_FUNCS=1
40695 DL_LINK=" -ldl$DL_LINK"
40696
40697 else
40698
40699
40700 for ac_func in shl_load
40701 do
40702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40706 echo $ECHO_N "(cached) $ECHO_C" >&6
40707 else
40708 cat >conftest.$ac_ext <<_ACEOF
40709 /* confdefs.h. */
40710 _ACEOF
40711 cat confdefs.h >>conftest.$ac_ext
40712 cat >>conftest.$ac_ext <<_ACEOF
40713 /* end confdefs.h. */
40714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40716 #define $ac_func innocuous_$ac_func
40717
40718 /* System header to define __stub macros and hopefully few prototypes,
40719 which can conflict with char $ac_func (); below.
40720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40721 <limits.h> exists even on freestanding compilers. */
40722
40723 #ifdef __STDC__
40724 # include <limits.h>
40725 #else
40726 # include <assert.h>
40727 #endif
40728
40729 #undef $ac_func
40730
40731 /* Override any GCC internal prototype to avoid an error.
40732 Use char because int might match the return type of a GCC
40733 builtin and then its argument prototype would still apply. */
40734 #ifdef __cplusplus
40735 extern "C"
40736 #endif
40737 char $ac_func ();
40738 /* The GNU C library defines this for functions which it implements
40739 to always fail with ENOSYS. Some functions are actually named
40740 something starting with __ and the normal name is an alias. */
40741 #if defined __stub_$ac_func || defined __stub___$ac_func
40742 choke me
40743 #endif
40744
40745 int
40746 main ()
40747 {
40748 return $ac_func ();
40749 ;
40750 return 0;
40751 }
40752 _ACEOF
40753 rm -f conftest.$ac_objext conftest$ac_exeext
40754 if { (ac_try="$ac_link"
40755 case "(($ac_try" in
40756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40757 *) ac_try_echo=$ac_try;;
40758 esac
40759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40760 (eval "$ac_link") 2>conftest.er1
40761 ac_status=$?
40762 grep -v '^ *+' conftest.er1 >conftest.err
40763 rm -f conftest.er1
40764 cat conftest.err >&5
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); } && {
40767 test -z "$ac_c_werror_flag" ||
40768 test ! -s conftest.err
40769 } && test -s conftest$ac_exeext &&
40770 $as_test_x conftest$ac_exeext; then
40771 eval "$as_ac_var=yes"
40772 else
40773 echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.$ac_ext >&5
40775
40776 eval "$as_ac_var=no"
40777 fi
40778
40779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40780 conftest$ac_exeext conftest.$ac_ext
40781 fi
40782 ac_res=`eval echo '${'$as_ac_var'}'`
40783 { echo "$as_me:$LINENO: result: $ac_res" >&5
40784 echo "${ECHO_T}$ac_res" >&6; }
40785 if test `eval echo '${'$as_ac_var'}'` = yes; then
40786 cat >>confdefs.h <<_ACEOF
40787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40788 _ACEOF
40789
40790 cat >>confdefs.h <<\_ACEOF
40791 #define HAVE_SHL_LOAD 1
40792 _ACEOF
40793
40794 HAVE_SHL_FUNCS=1
40795
40796 else
40797
40798 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40799 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40800 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40801 echo $ECHO_N "(cached) $ECHO_C" >&6
40802 else
40803 ac_check_lib_save_LIBS=$LIBS
40804 LIBS="-lshl_load $LIBS"
40805 cat >conftest.$ac_ext <<_ACEOF
40806 /* confdefs.h. */
40807 _ACEOF
40808 cat confdefs.h >>conftest.$ac_ext
40809 cat >>conftest.$ac_ext <<_ACEOF
40810 /* end confdefs.h. */
40811
40812 /* Override any GCC internal prototype to avoid an error.
40813 Use char because int might match the return type of a GCC
40814 builtin and then its argument prototype would still apply. */
40815 #ifdef __cplusplus
40816 extern "C"
40817 #endif
40818 char dld ();
40819 int
40820 main ()
40821 {
40822 return dld ();
40823 ;
40824 return 0;
40825 }
40826 _ACEOF
40827 rm -f conftest.$ac_objext conftest$ac_exeext
40828 if { (ac_try="$ac_link"
40829 case "(($ac_try" in
40830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40831 *) ac_try_echo=$ac_try;;
40832 esac
40833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40834 (eval "$ac_link") 2>conftest.er1
40835 ac_status=$?
40836 grep -v '^ *+' conftest.er1 >conftest.err
40837 rm -f conftest.er1
40838 cat conftest.err >&5
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); } && {
40841 test -z "$ac_c_werror_flag" ||
40842 test ! -s conftest.err
40843 } && test -s conftest$ac_exeext &&
40844 $as_test_x conftest$ac_exeext; then
40845 ac_cv_lib_shl_load_dld=yes
40846 else
40847 echo "$as_me: failed program was:" >&5
40848 sed 's/^/| /' conftest.$ac_ext >&5
40849
40850 ac_cv_lib_shl_load_dld=no
40851 fi
40852
40853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40854 conftest$ac_exeext conftest.$ac_ext
40855 LIBS=$ac_check_lib_save_LIBS
40856 fi
40857 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40858 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40859 if test $ac_cv_lib_shl_load_dld = yes; then
40860
40861 HAVE_SHL_FUNCS=1
40862 DL_LINK=" -ldld$DL_LINK"
40863
40864 fi
40865
40866
40867 fi
40868 done
40869
40870
40871 fi
40872
40873
40874 fi
40875 done
40876
40877
40878 if test "$HAVE_DL_FUNCS" = 1; then
40879
40880 for ac_func in dlerror
40881 do
40882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40883 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40885 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40886 echo $ECHO_N "(cached) $ECHO_C" >&6
40887 else
40888 cat >conftest.$ac_ext <<_ACEOF
40889 /* confdefs.h. */
40890 _ACEOF
40891 cat confdefs.h >>conftest.$ac_ext
40892 cat >>conftest.$ac_ext <<_ACEOF
40893 /* end confdefs.h. */
40894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40896 #define $ac_func innocuous_$ac_func
40897
40898 /* System header to define __stub macros and hopefully few prototypes,
40899 which can conflict with char $ac_func (); below.
40900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40901 <limits.h> exists even on freestanding compilers. */
40902
40903 #ifdef __STDC__
40904 # include <limits.h>
40905 #else
40906 # include <assert.h>
40907 #endif
40908
40909 #undef $ac_func
40910
40911 /* Override any GCC internal prototype to avoid an error.
40912 Use char because int might match the return type of a GCC
40913 builtin and then its argument prototype would still apply. */
40914 #ifdef __cplusplus
40915 extern "C"
40916 #endif
40917 char $ac_func ();
40918 /* The GNU C library defines this for functions which it implements
40919 to always fail with ENOSYS. Some functions are actually named
40920 something starting with __ and the normal name is an alias. */
40921 #if defined __stub_$ac_func || defined __stub___$ac_func
40922 choke me
40923 #endif
40924
40925 int
40926 main ()
40927 {
40928 return $ac_func ();
40929 ;
40930 return 0;
40931 }
40932 _ACEOF
40933 rm -f conftest.$ac_objext conftest$ac_exeext
40934 if { (ac_try="$ac_link"
40935 case "(($ac_try" in
40936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40937 *) ac_try_echo=$ac_try;;
40938 esac
40939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40940 (eval "$ac_link") 2>conftest.er1
40941 ac_status=$?
40942 grep -v '^ *+' conftest.er1 >conftest.err
40943 rm -f conftest.er1
40944 cat conftest.err >&5
40945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40946 (exit $ac_status); } && {
40947 test -z "$ac_c_werror_flag" ||
40948 test ! -s conftest.err
40949 } && test -s conftest$ac_exeext &&
40950 $as_test_x conftest$ac_exeext; then
40951 eval "$as_ac_var=yes"
40952 else
40953 echo "$as_me: failed program was:" >&5
40954 sed 's/^/| /' conftest.$ac_ext >&5
40955
40956 eval "$as_ac_var=no"
40957 fi
40958
40959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40960 conftest$ac_exeext conftest.$ac_ext
40961 fi
40962 ac_res=`eval echo '${'$as_ac_var'}'`
40963 { echo "$as_me:$LINENO: result: $ac_res" >&5
40964 echo "${ECHO_T}$ac_res" >&6; }
40965 if test `eval echo '${'$as_ac_var'}'` = yes; then
40966 cat >>confdefs.h <<_ACEOF
40967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40968 _ACEOF
40969 cat >>confdefs.h <<\_ACEOF
40970 #define HAVE_DLERROR 1
40971 _ACEOF
40972
40973 else
40974
40975 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40976 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40977 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40978 echo $ECHO_N "(cached) $ECHO_C" >&6
40979 else
40980 ac_check_lib_save_LIBS=$LIBS
40981 LIBS="-ldl $LIBS"
40982 cat >conftest.$ac_ext <<_ACEOF
40983 /* confdefs.h. */
40984 _ACEOF
40985 cat confdefs.h >>conftest.$ac_ext
40986 cat >>conftest.$ac_ext <<_ACEOF
40987 /* end confdefs.h. */
40988
40989 /* Override any GCC internal prototype to avoid an error.
40990 Use char because int might match the return type of a GCC
40991 builtin and then its argument prototype would still apply. */
40992 #ifdef __cplusplus
40993 extern "C"
40994 #endif
40995 char dlerror ();
40996 int
40997 main ()
40998 {
40999 return dlerror ();
41000 ;
41001 return 0;
41002 }
41003 _ACEOF
41004 rm -f conftest.$ac_objext conftest$ac_exeext
41005 if { (ac_try="$ac_link"
41006 case "(($ac_try" in
41007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41008 *) ac_try_echo=$ac_try;;
41009 esac
41010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41011 (eval "$ac_link") 2>conftest.er1
41012 ac_status=$?
41013 grep -v '^ *+' conftest.er1 >conftest.err
41014 rm -f conftest.er1
41015 cat conftest.err >&5
41016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017 (exit $ac_status); } && {
41018 test -z "$ac_c_werror_flag" ||
41019 test ! -s conftest.err
41020 } && test -s conftest$ac_exeext &&
41021 $as_test_x conftest$ac_exeext; then
41022 ac_cv_lib_dl_dlerror=yes
41023 else
41024 echo "$as_me: failed program was:" >&5
41025 sed 's/^/| /' conftest.$ac_ext >&5
41026
41027 ac_cv_lib_dl_dlerror=no
41028 fi
41029
41030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41031 conftest$ac_exeext conftest.$ac_ext
41032 LIBS=$ac_check_lib_save_LIBS
41033 fi
41034 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41035 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41036 if test $ac_cv_lib_dl_dlerror = yes; then
41037 cat >>confdefs.h <<\_ACEOF
41038 #define HAVE_DLERROR 1
41039 _ACEOF
41040
41041 fi
41042
41043
41044
41045 fi
41046 done
41047
41048 fi
41049 fi
41050
41051 if test "$HAVE_DL_FUNCS" = 0; then
41052 if test "$HAVE_SHL_FUNCS" = 0; then
41053 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41054 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41055 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41056 wxUSE_DYNAMIC_LOADER=no
41057 wxUSE_DYNLIB_CLASS=no
41058 else
41059 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41060 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41061 fi
41062 fi
41063 fi
41064 fi
41065 fi
41066
41067 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41068 cat >>confdefs.h <<\_ACEOF
41069 #define wxUSE_DYNAMIC_LOADER 1
41070 _ACEOF
41071
41072 fi
41073 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41074 cat >>confdefs.h <<\_ACEOF
41075 #define wxUSE_DYNLIB_CLASS 1
41076 _ACEOF
41077
41078 fi
41079
41080
41081
41082 if test "$wxUSE_PLUGINS" = "yes" ; then
41083 if test "$wxUSE_SHARED" = "no" ; then
41084 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41085 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41086 wxUSE_PLUGINS=no
41087 fi
41088 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41089 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41090 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41091 wxUSE_PLUGINS=no
41092 fi
41093 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41094 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41095 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41096 wxUSE_PLUGINS=no
41097 fi
41098 if test "$wxUSE_PLUGINS" = "yes" ; then
41099 cat >>confdefs.h <<\_ACEOF
41100 #define wxUSE_PLUGINS 1
41101 _ACEOF
41102
41103 fi
41104 fi
41105
41106
41107 if test "$wxUSE_STL" = "yes"; then
41108 cat >>confdefs.h <<\_ACEOF
41109 #define wxUSE_STL 1
41110 _ACEOF
41111
41112 fi
41113
41114 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41115 cat >>confdefs.h <<\_ACEOF
41116 #define wxUSE_EXTENDED_RTTI 1
41117 _ACEOF
41118
41119 fi
41120
41121 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41122 cat >>confdefs.h <<\_ACEOF
41123 #define wxUSE_APPLE_IEEE 1
41124 _ACEOF
41125
41126 fi
41127
41128 if test "$wxUSE_TIMER" = "yes"; then
41129 cat >>confdefs.h <<\_ACEOF
41130 #define wxUSE_TIMER 1
41131 _ACEOF
41132
41133 fi
41134
41135 if test "$USE_UNIX" = "1" ; then
41136 if test "$wxUSE_MGL" != 1; then
41137 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41138 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41139 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41140 echo $ECHO_N "(cached) $ECHO_C" >&6
41141 else
41142
41143 cat >conftest.$ac_ext <<_ACEOF
41144 /* confdefs.h. */
41145 _ACEOF
41146 cat confdefs.h >>conftest.$ac_ext
41147 cat >>conftest.$ac_ext <<_ACEOF
41148 /* end confdefs.h. */
41149
41150 #include <sys/ioctl.h>
41151 #include <sys/soundcard.h>
41152
41153 int
41154 main ()
41155 {
41156
41157 ioctl(0, SNDCTL_DSP_SPEED, 0);
41158
41159 ;
41160 return 0;
41161 }
41162 _ACEOF
41163 rm -f conftest.$ac_objext conftest$ac_exeext
41164 if { (ac_try="$ac_link"
41165 case "(($ac_try" in
41166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41167 *) ac_try_echo=$ac_try;;
41168 esac
41169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41170 (eval "$ac_link") 2>conftest.er1
41171 ac_status=$?
41172 grep -v '^ *+' conftest.er1 >conftest.err
41173 rm -f conftest.er1
41174 cat conftest.err >&5
41175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176 (exit $ac_status); } && {
41177 test -z "$ac_c_werror_flag" ||
41178 test ! -s conftest.err
41179 } && test -s conftest$ac_exeext &&
41180 $as_test_x conftest$ac_exeext; then
41181 ac_cv_header_sys_soundcard=yes
41182 else
41183 echo "$as_me: failed program was:" >&5
41184 sed 's/^/| /' conftest.$ac_ext >&5
41185
41186
41187 saveLibs="$LIBS"
41188 LIBS="$saveLibs -lossaudio"
41189 cat >conftest.$ac_ext <<_ACEOF
41190 /* confdefs.h. */
41191 _ACEOF
41192 cat confdefs.h >>conftest.$ac_ext
41193 cat >>conftest.$ac_ext <<_ACEOF
41194 /* end confdefs.h. */
41195
41196 #include <sys/ioctl.h>
41197 #include <sys/soundcard.h>
41198
41199 int
41200 main ()
41201 {
41202
41203 ioctl(0, SNDCTL_DSP_SPEED, 0);
41204
41205 ;
41206 return 0;
41207 }
41208 _ACEOF
41209 rm -f conftest.$ac_objext conftest$ac_exeext
41210 if { (ac_try="$ac_link"
41211 case "(($ac_try" in
41212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41213 *) ac_try_echo=$ac_try;;
41214 esac
41215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41216 (eval "$ac_link") 2>conftest.er1
41217 ac_status=$?
41218 grep -v '^ *+' conftest.er1 >conftest.err
41219 rm -f conftest.er1
41220 cat conftest.err >&5
41221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41222 (exit $ac_status); } && {
41223 test -z "$ac_c_werror_flag" ||
41224 test ! -s conftest.err
41225 } && test -s conftest$ac_exeext &&
41226 $as_test_x conftest$ac_exeext; then
41227 ac_cv_header_sys_soundcard=yes
41228 else
41229 echo "$as_me: failed program was:" >&5
41230 sed 's/^/| /' conftest.$ac_ext >&5
41231
41232
41233 LIBS="$saveLibs"
41234 ac_cv_header_sys_soundcard=no
41235
41236
41237 fi
41238
41239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41240 conftest$ac_exeext conftest.$ac_ext
41241
41242
41243 fi
41244
41245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41246 conftest$ac_exeext conftest.$ac_ext
41247
41248 fi
41249 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41250 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41251 fi
41252
41253 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41254 cat >>confdefs.h <<\_ACEOF
41255 #define HAVE_SYS_SOUNDCARD_H 1
41256 _ACEOF
41257
41258 fi
41259 fi
41260
41261 WITH_PLUGIN_SDL=0
41262 if test "$wxUSE_SOUND" = "yes"; then
41263 if test "$USE_UNIX" = "1" ; then
41264 if test "$wxUSE_LIBSDL" != "no"; then
41265
41266 # Check whether --with-sdl-prefix was given.
41267 if test "${with_sdl_prefix+set}" = set; then
41268 withval=$with_sdl_prefix; sdl_prefix="$withval"
41269 else
41270 sdl_prefix=""
41271 fi
41272
41273
41274 # Check whether --with-sdl-exec-prefix was given.
41275 if test "${with_sdl_exec_prefix+set}" = set; then
41276 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41277 else
41278 sdl_exec_prefix=""
41279 fi
41280
41281 # Check whether --enable-sdltest was given.
41282 if test "${enable_sdltest+set}" = set; then
41283 enableval=$enable_sdltest;
41284 else
41285 enable_sdltest=yes
41286 fi
41287
41288
41289 if test x$sdl_exec_prefix != x ; then
41290 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41291 if test x${SDL_CONFIG+set} != xset ; then
41292 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41293 fi
41294 fi
41295 if test x$sdl_prefix != x ; then
41296 sdl_args="$sdl_args --prefix=$sdl_prefix"
41297 if test x${SDL_CONFIG+set} != xset ; then
41298 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41299 fi
41300 fi
41301
41302 if test "x$prefix" != xNONE; then
41303 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41304 fi
41305 # Extract the first word of "sdl-config", so it can be a program name with args.
41306 set dummy sdl-config; ac_word=$2
41307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41309 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41310 echo $ECHO_N "(cached) $ECHO_C" >&6
41311 else
41312 case $SDL_CONFIG in
41313 [\\/]* | ?:[\\/]*)
41314 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41315 ;;
41316 *)
41317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41318 for as_dir in $PATH
41319 do
41320 IFS=$as_save_IFS
41321 test -z "$as_dir" && as_dir=.
41322 for ac_exec_ext in '' $ac_executable_extensions; do
41323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41324 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41326 break 2
41327 fi
41328 done
41329 done
41330 IFS=$as_save_IFS
41331
41332 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41333 ;;
41334 esac
41335 fi
41336 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41337 if test -n "$SDL_CONFIG"; then
41338 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41339 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41340 else
41341 { echo "$as_me:$LINENO: result: no" >&5
41342 echo "${ECHO_T}no" >&6; }
41343 fi
41344
41345
41346 min_sdl_version=1.2.0
41347 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41348 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41349 no_sdl=""
41350 if test "$SDL_CONFIG" = "no" ; then
41351 no_sdl=yes
41352 else
41353 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41354 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41355
41356 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41358 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41360 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41362 if test "x$enable_sdltest" = "xyes" ; then
41363 ac_save_CFLAGS="$CFLAGS"
41364 ac_save_CXXFLAGS="$CXXFLAGS"
41365 ac_save_LIBS="$LIBS"
41366 CFLAGS="$CFLAGS $SDL_CFLAGS"
41367 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41368 LIBS="$LIBS $SDL_LIBS"
41369 rm -f conf.sdltest
41370 if test "$cross_compiling" = yes; then
41371 echo $ac_n "cross compiling; assumed OK... $ac_c"
41372 else
41373 cat >conftest.$ac_ext <<_ACEOF
41374 /* confdefs.h. */
41375 _ACEOF
41376 cat confdefs.h >>conftest.$ac_ext
41377 cat >>conftest.$ac_ext <<_ACEOF
41378 /* end confdefs.h. */
41379
41380 #include <stdio.h>
41381 #include <stdlib.h>
41382 #include <string.h>
41383 #include "SDL.h"
41384
41385 char*
41386 my_strdup (char *str)
41387 {
41388 char *new_str;
41389
41390 if (str)
41391 {
41392 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41393 strcpy (new_str, str);
41394 }
41395 else
41396 new_str = NULL;
41397
41398 return new_str;
41399 }
41400
41401 int main (int argc, char *argv[])
41402 {
41403 int major, minor, micro;
41404 char *tmp_version;
41405
41406 /* This hangs on some systems (?)
41407 system ("touch conf.sdltest");
41408 */
41409 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41410
41411 /* HP/UX 9 (%@#!) writes to sscanf strings */
41412 tmp_version = my_strdup("$min_sdl_version");
41413 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41414 printf("%s, bad version string\n", "$min_sdl_version");
41415 exit(1);
41416 }
41417
41418 if (($sdl_major_version > major) ||
41419 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41420 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41421 {
41422 return 0;
41423 }
41424 else
41425 {
41426 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41427 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41428 printf("*** best to upgrade to the required version.\n");
41429 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41430 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41431 printf("*** config.cache before re-running configure\n");
41432 return 1;
41433 }
41434 }
41435
41436
41437 _ACEOF
41438 rm -f conftest$ac_exeext
41439 if { (ac_try="$ac_link"
41440 case "(($ac_try" in
41441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41442 *) ac_try_echo=$ac_try;;
41443 esac
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_link") 2>&5
41446 ac_status=$?
41447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41449 { (case "(($ac_try" in
41450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41451 *) ac_try_echo=$ac_try;;
41452 esac
41453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41454 (eval "$ac_try") 2>&5
41455 ac_status=$?
41456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41457 (exit $ac_status); }; }; then
41458 :
41459 else
41460 echo "$as_me: program exited with status $ac_status" >&5
41461 echo "$as_me: failed program was:" >&5
41462 sed 's/^/| /' conftest.$ac_ext >&5
41463
41464 ( exit $ac_status )
41465 no_sdl=yes
41466 fi
41467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41468 fi
41469
41470
41471 CFLAGS="$ac_save_CFLAGS"
41472 CXXFLAGS="$ac_save_CXXFLAGS"
41473 LIBS="$ac_save_LIBS"
41474 fi
41475 fi
41476 if test "x$no_sdl" = x ; then
41477 { echo "$as_me:$LINENO: result: yes" >&5
41478 echo "${ECHO_T}yes" >&6; }
41479
41480 EXTRALIBS_SDL="$SDL_LIBS"
41481 CFLAGS="$SDL_CFLAGS $CFLAGS"
41482 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41483 cat >>confdefs.h <<\_ACEOF
41484 #define wxUSE_LIBSDL 1
41485 _ACEOF
41486
41487
41488 else
41489 { echo "$as_me:$LINENO: result: no" >&5
41490 echo "${ECHO_T}no" >&6; }
41491 if test "$SDL_CONFIG" = "no" ; then
41492 echo "*** The sdl-config script installed by SDL could not be found"
41493 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41494 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41495 echo "*** full path to sdl-config."
41496 else
41497 if test -f conf.sdltest ; then
41498 :
41499 else
41500 echo "*** Could not run SDL test program, checking why..."
41501 CFLAGS="$CFLAGS $SDL_CFLAGS"
41502 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41503 LIBS="$LIBS $SDL_LIBS"
41504 cat >conftest.$ac_ext <<_ACEOF
41505 /* confdefs.h. */
41506 _ACEOF
41507 cat confdefs.h >>conftest.$ac_ext
41508 cat >>conftest.$ac_ext <<_ACEOF
41509 /* end confdefs.h. */
41510
41511 #include <stdio.h>
41512 #include "SDL.h"
41513
41514 int main(int argc, char *argv[])
41515 { return 0; }
41516 #undef main
41517 #define main K_and_R_C_main
41518
41519 int
41520 main ()
41521 {
41522 return 0;
41523 ;
41524 return 0;
41525 }
41526 _ACEOF
41527 rm -f conftest.$ac_objext conftest$ac_exeext
41528 if { (ac_try="$ac_link"
41529 case "(($ac_try" in
41530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41531 *) ac_try_echo=$ac_try;;
41532 esac
41533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41534 (eval "$ac_link") 2>conftest.er1
41535 ac_status=$?
41536 grep -v '^ *+' conftest.er1 >conftest.err
41537 rm -f conftest.er1
41538 cat conftest.err >&5
41539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41540 (exit $ac_status); } && {
41541 test -z "$ac_c_werror_flag" ||
41542 test ! -s conftest.err
41543 } && test -s conftest$ac_exeext &&
41544 $as_test_x conftest$ac_exeext; then
41545 echo "*** The test program compiled, but did not run. This usually means"
41546 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41547 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41548 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41549 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41550 echo "*** is required on your system"
41551 echo "***"
41552 echo "*** If you have an old version installed, it is best to remove it, although"
41553 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41554 else
41555 echo "$as_me: failed program was:" >&5
41556 sed 's/^/| /' conftest.$ac_ext >&5
41557
41558 echo "*** The test program failed to compile or link. See the file config.log for the"
41559 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41560 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41561 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41562 fi
41563
41564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41565 conftest$ac_exeext conftest.$ac_ext
41566 CFLAGS="$ac_save_CFLAGS"
41567 CXXFLAGS="$ac_save_CXXFLAGS"
41568 LIBS="$ac_save_LIBS"
41569 fi
41570 fi
41571 SDL_CFLAGS=""
41572 SDL_LIBS=""
41573 wxUSE_LIBSDL="no"
41574 fi
41575
41576
41577 rm -f conf.sdltest
41578
41579 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41580 WITH_PLUGIN_SDL=1
41581 fi
41582 fi
41583 else
41584 if test "$wxUSE_MGL" = 1; then
41585 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41586 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41587 wxUSE_SOUND="no"
41588 fi
41589 fi
41590 fi
41591
41592 if test "$wxUSE_SOUND" = "yes"; then
41593 cat >>confdefs.h <<\_ACEOF
41594 #define wxUSE_SOUND 1
41595 _ACEOF
41596
41597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41598 fi
41599
41600 if test "$WXGTK20" = 1; then
41601
41602
41603 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41604 if test -n "$ac_tool_prefix"; then
41605 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41606 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41609 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41610 echo $ECHO_N "(cached) $ECHO_C" >&6
41611 else
41612 case $PKG_CONFIG in
41613 [\\/]* | ?:[\\/]*)
41614 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41615 ;;
41616 *)
41617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41618 for as_dir in $PATH
41619 do
41620 IFS=$as_save_IFS
41621 test -z "$as_dir" && as_dir=.
41622 for ac_exec_ext in '' $ac_executable_extensions; do
41623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41624 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41626 break 2
41627 fi
41628 done
41629 done
41630 IFS=$as_save_IFS
41631
41632 ;;
41633 esac
41634 fi
41635 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41636 if test -n "$PKG_CONFIG"; then
41637 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41638 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41639 else
41640 { echo "$as_me:$LINENO: result: no" >&5
41641 echo "${ECHO_T}no" >&6; }
41642 fi
41643
41644
41645 fi
41646 if test -z "$ac_cv_path_PKG_CONFIG"; then
41647 ac_pt_PKG_CONFIG=$PKG_CONFIG
41648 # Extract the first word of "pkg-config", so it can be a program name with args.
41649 set dummy pkg-config; ac_word=$2
41650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41652 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41653 echo $ECHO_N "(cached) $ECHO_C" >&6
41654 else
41655 case $ac_pt_PKG_CONFIG in
41656 [\\/]* | ?:[\\/]*)
41657 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41658 ;;
41659 *)
41660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41661 for as_dir in $PATH
41662 do
41663 IFS=$as_save_IFS
41664 test -z "$as_dir" && as_dir=.
41665 for ac_exec_ext in '' $ac_executable_extensions; do
41666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41667 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41669 break 2
41670 fi
41671 done
41672 done
41673 IFS=$as_save_IFS
41674
41675 ;;
41676 esac
41677 fi
41678 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41679 if test -n "$ac_pt_PKG_CONFIG"; then
41680 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41681 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41682 else
41683 { echo "$as_me:$LINENO: result: no" >&5
41684 echo "${ECHO_T}no" >&6; }
41685 fi
41686
41687 if test "x$ac_pt_PKG_CONFIG" = x; then
41688 PKG_CONFIG=""
41689 else
41690 case $cross_compiling:$ac_tool_warned in
41691 yes:)
41692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41693 whose name does not start with the host triplet. If you think this
41694 configuration is useful to you, please write to autoconf@gnu.org." >&5
41695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41696 whose name does not start with the host triplet. If you think this
41697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41698 ac_tool_warned=yes ;;
41699 esac
41700 PKG_CONFIG=$ac_pt_PKG_CONFIG
41701 fi
41702 else
41703 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41704 fi
41705
41706 fi
41707 if test -n "$PKG_CONFIG"; then
41708 _pkg_min_version=0.9.0
41709 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41710 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41711 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41712 { echo "$as_me:$LINENO: result: yes" >&5
41713 echo "${ECHO_T}yes" >&6; }
41714 else
41715 { echo "$as_me:$LINENO: result: no" >&5
41716 echo "${ECHO_T}no" >&6; }
41717 PKG_CONFIG=""
41718 fi
41719
41720 fi
41721
41722 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41723 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41724
41725
41726 pkg_failed=no
41727 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41728 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41729
41730 if test -n "$PKG_CONFIG"; then
41731 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41732 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41733 else
41734 if test -n "$PKG_CONFIG" && \
41735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41736 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41737 ac_status=$?
41738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41739 (exit $ac_status); }; then
41740 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41741 else
41742 pkg_failed=yes
41743 fi
41744 fi
41745 else
41746 pkg_failed=untried
41747 fi
41748 if test -n "$PKG_CONFIG"; then
41749 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41750 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41751 else
41752 if test -n "$PKG_CONFIG" && \
41753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41754 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41755 ac_status=$?
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); }; then
41758 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41759 else
41760 pkg_failed=yes
41761 fi
41762 fi
41763 else
41764 pkg_failed=untried
41765 fi
41766
41767
41768
41769 if test $pkg_failed = yes; then
41770
41771 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41772 _pkg_short_errors_supported=yes
41773 else
41774 _pkg_short_errors_supported=no
41775 fi
41776 if test $_pkg_short_errors_supported = yes; then
41777 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41778 else
41779 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41780 fi
41781 # Put the nasty error message in config.log where it belongs
41782 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41783
41784
41785 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41786 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41787 wxUSE_LIBGNOMEPRINT="no"
41788
41789
41790 elif test $pkg_failed = untried; then
41791
41792 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41793 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41794 wxUSE_LIBGNOMEPRINT="no"
41795
41796
41797 else
41798 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41799 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41800 { echo "$as_me:$LINENO: result: yes" >&5
41801 echo "${ECHO_T}yes" >&6; }
41802
41803 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41804 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41805 cat >>confdefs.h <<\_ACEOF
41806 #define wxUSE_LIBGNOMEPRINT 1
41807 _ACEOF
41808
41809
41810 fi
41811 fi
41812 fi
41813
41814 if test "$wxUSE_MIMETYPE" = "yes" ; then
41815 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41816
41817
41818 pkg_failed=no
41819 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41820 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41821
41822 if test -n "$PKG_CONFIG"; then
41823 if test -n "$GNOMEVFS_CFLAGS"; then
41824 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41825 else
41826 if test -n "$PKG_CONFIG" && \
41827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41828 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41829 ac_status=$?
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); }; then
41832 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41833 else
41834 pkg_failed=yes
41835 fi
41836 fi
41837 else
41838 pkg_failed=untried
41839 fi
41840 if test -n "$PKG_CONFIG"; then
41841 if test -n "$GNOMEVFS_LIBS"; then
41842 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41843 else
41844 if test -n "$PKG_CONFIG" && \
41845 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41846 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41847 ac_status=$?
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); }; then
41850 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41851 else
41852 pkg_failed=yes
41853 fi
41854 fi
41855 else
41856 pkg_failed=untried
41857 fi
41858
41859
41860
41861 if test $pkg_failed = yes; then
41862
41863 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41864 _pkg_short_errors_supported=yes
41865 else
41866 _pkg_short_errors_supported=no
41867 fi
41868 if test $_pkg_short_errors_supported = yes; then
41869 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41870 else
41871 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41872 fi
41873 # Put the nasty error message in config.log where it belongs
41874 echo "$GNOMEVFS_PKG_ERRORS" >&5
41875
41876
41877 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41878 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41879 wxUSE_LIBGNOMEVFS="no"
41880
41881
41882 elif test $pkg_failed = untried; then
41883
41884 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41885 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41886 wxUSE_LIBGNOMEVFS="no"
41887
41888
41889 else
41890 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41891 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41892 { echo "$as_me:$LINENO: result: yes" >&5
41893 echo "${ECHO_T}yes" >&6; }
41894
41895 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41896 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41897 cat >>confdefs.h <<\_ACEOF
41898 #define wxUSE_LIBGNOMEVFS 1
41899 _ACEOF
41900
41901
41902 fi
41903 fi
41904 fi
41905
41906 if test "$wxUSE_LIBHILDON" = "yes" ; then
41907
41908 pkg_failed=no
41909 { echo "$as_me:$LINENO: checking for HILDON" >&5
41910 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41911
41912 if test -n "$PKG_CONFIG"; then
41913 if test -n "$HILDON_CFLAGS"; then
41914 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41915 else
41916 if test -n "$PKG_CONFIG" && \
41917 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41918 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41919 ac_status=$?
41920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921 (exit $ac_status); }; then
41922 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41923 else
41924 pkg_failed=yes
41925 fi
41926 fi
41927 else
41928 pkg_failed=untried
41929 fi
41930 if test -n "$PKG_CONFIG"; then
41931 if test -n "$HILDON_LIBS"; then
41932 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41933 else
41934 if test -n "$PKG_CONFIG" && \
41935 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41936 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41937 ac_status=$?
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); }; then
41940 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41941 else
41942 pkg_failed=yes
41943 fi
41944 fi
41945 else
41946 pkg_failed=untried
41947 fi
41948
41949
41950
41951 if test $pkg_failed = yes; then
41952
41953 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41954 _pkg_short_errors_supported=yes
41955 else
41956 _pkg_short_errors_supported=no
41957 fi
41958 if test $_pkg_short_errors_supported = yes; then
41959 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41960 else
41961 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41962 fi
41963 # Put the nasty error message in config.log where it belongs
41964 echo "$HILDON_PKG_ERRORS" >&5
41965
41966
41967 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41968 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41969 wxUSE_LIBHILDON="no"
41970
41971
41972 elif test $pkg_failed = untried; then
41973
41974 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41975 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41976 wxUSE_LIBHILDON="no"
41977
41978
41979 else
41980 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41981 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41982 { echo "$as_me:$LINENO: result: yes" >&5
41983 echo "${ECHO_T}yes" >&6; }
41984
41985 EXTRALIBS_HILDON="$HILDON_LIBS"
41986 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41987 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41988 cat >>confdefs.h <<\_ACEOF
41989 #define wxUSE_LIBHILDON 1
41990 _ACEOF
41991
41992
41993 fi
41994 fi
41995 fi
41996
41997 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41998 cat >>confdefs.h <<\_ACEOF
41999 #define wxUSE_CMDLINE_PARSER 1
42000 _ACEOF
42001
42002 fi
42003
42004 if test "$wxUSE_STOPWATCH" = "yes"; then
42005 cat >>confdefs.h <<\_ACEOF
42006 #define wxUSE_STOPWATCH 1
42007 _ACEOF
42008
42009 fi
42010
42011 if test "$wxUSE_DATETIME" = "yes"; then
42012 cat >>confdefs.h <<\_ACEOF
42013 #define wxUSE_DATETIME 1
42014 _ACEOF
42015
42016 fi
42017
42018 if test "$wxUSE_FILE" = "yes"; then
42019 cat >>confdefs.h <<\_ACEOF
42020 #define wxUSE_FILE 1
42021 _ACEOF
42022
42023 fi
42024
42025 if test "$wxUSE_FFILE" = "yes"; then
42026 cat >>confdefs.h <<\_ACEOF
42027 #define wxUSE_FFILE 1
42028 _ACEOF
42029
42030 fi
42031
42032 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42033 if test "$wxUSE_STREAMS" != yes; then
42034 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42035 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42036 wxUSE_ARCHIVE_STREAMS=no
42037 else
42038 cat >>confdefs.h <<\_ACEOF
42039 #define wxUSE_ARCHIVE_STREAMS 1
42040 _ACEOF
42041
42042 fi
42043 fi
42044
42045 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42046 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42047 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42048 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42049 elif test "$wxUSE_ZLIB" = "no"; then
42050 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42051 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42052 else
42053 cat >>confdefs.h <<\_ACEOF
42054 #define wxUSE_ZIPSTREAM 1
42055 _ACEOF
42056
42057 fi
42058 fi
42059
42060 if test "$wxUSE_TARSTREAM" = "yes"; then
42061 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42062 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42063 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42064 else
42065 cat >>confdefs.h <<\_ACEOF
42066 #define wxUSE_TARSTREAM 1
42067 _ACEOF
42068
42069 fi
42070 fi
42071
42072 if test "$wxUSE_FILESYSTEM" = "yes"; then
42073 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42074 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42075 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42076 wxUSE_FILESYSTEM=no
42077 else
42078 cat >>confdefs.h <<\_ACEOF
42079 #define wxUSE_FILESYSTEM 1
42080 _ACEOF
42081
42082 fi
42083 fi
42084
42085 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42086 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42087 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42088 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42089 else
42090 cat >>confdefs.h <<\_ACEOF
42091 #define wxUSE_FS_ARCHIVE 1
42092 _ACEOF
42093
42094 fi
42095 fi
42096
42097 if test "$wxUSE_FS_ZIP" = "yes"; then
42098 if test "$wxUSE_FS_ARCHIVE" != yes; then
42099 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42100 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42101 else
42102 cat >>confdefs.h <<\_ACEOF
42103 #define wxUSE_FS_ZIP 1
42104 _ACEOF
42105
42106 fi
42107 fi
42108
42109 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42110 if test "$USE_UNIX" != 1; then
42111 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42112 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42113 wxUSE_ON_FATAL_EXCEPTION=no
42114 else
42115 cat >>confdefs.h <<\_ACEOF
42116 #define wxUSE_ON_FATAL_EXCEPTION 1
42117 _ACEOF
42118
42119 fi
42120 fi
42121
42122 if test "$wxUSE_STACKWALKER" = "yes"; then
42123 cat >>confdefs.h <<\_ACEOF
42124 #define wxUSE_STACKWALKER 1
42125 _ACEOF
42126
42127 fi
42128
42129 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42130 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42131 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42132 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42133 wxUSE_DEBUGREPORT=no
42134 else
42135 cat >>confdefs.h <<\_ACEOF
42136 #define wxUSE_DEBUGREPORT 1
42137 _ACEOF
42138
42139 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42141 fi
42142 fi
42143 fi
42144
42145 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42146 cat >>confdefs.h <<\_ACEOF
42147 #define wxUSE_SNGLINST_CHECKER 1
42148 _ACEOF
42149
42150 fi
42151
42152 if test "$wxUSE_BUSYINFO" = "yes"; then
42153 cat >>confdefs.h <<\_ACEOF
42154 #define wxUSE_BUSYINFO 1
42155 _ACEOF
42156
42157 fi
42158
42159 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42160 cat >>confdefs.h <<\_ACEOF
42161 #define wxUSE_STD_IOSTREAM 1
42162 _ACEOF
42163
42164 fi
42165
42166 if test "$wxUSE_STD_STRING" = "yes"; then
42167 cat >>confdefs.h <<\_ACEOF
42168 #define wxUSE_STD_STRING 1
42169 _ACEOF
42170
42171 fi
42172
42173 if test "$wxUSE_STDPATHS" = "yes"; then
42174 cat >>confdefs.h <<\_ACEOF
42175 #define wxUSE_STDPATHS 1
42176 _ACEOF
42177
42178 fi
42179
42180 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42181 cat >>confdefs.h <<\_ACEOF
42182 #define wxUSE_TEXTBUFFER 1
42183 _ACEOF
42184
42185 fi
42186
42187 if test "$wxUSE_TEXTFILE" = "yes"; then
42188 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42189 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42190 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42191 else
42192 cat >>confdefs.h <<\_ACEOF
42193 #define wxUSE_TEXTFILE 1
42194 _ACEOF
42195
42196 fi
42197 fi
42198
42199 if test "$wxUSE_CONFIG" = "yes" ; then
42200 if test "$wxUSE_TEXTFILE" != "yes"; then
42201 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42202 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42203 else
42204 cat >>confdefs.h <<\_ACEOF
42205 #define wxUSE_CONFIG 1
42206 _ACEOF
42207
42208 cat >>confdefs.h <<\_ACEOF
42209 #define wxUSE_CONFIG_NATIVE 1
42210 _ACEOF
42211
42212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42213 fi
42214 fi
42215
42216 if test "$wxUSE_INTL" = "yes" ; then
42217 if test "$wxUSE_FILE" != "yes"; then
42218 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42219 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42220 else
42221 cat >>confdefs.h <<\_ACEOF
42222 #define wxUSE_INTL 1
42223 _ACEOF
42224
42225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42226 GUIDIST="$GUIDIST INTL_DIST"
42227 fi
42228 fi
42229
42230 if test "$wxUSE_LOG" = "yes"; then
42231 cat >>confdefs.h <<\_ACEOF
42232 #define wxUSE_LOG 1
42233 _ACEOF
42234
42235
42236 if test "$wxUSE_LOGGUI" = "yes"; then
42237 cat >>confdefs.h <<\_ACEOF
42238 #define wxUSE_LOGGUI 1
42239 _ACEOF
42240
42241 fi
42242
42243 if test "$wxUSE_LOGWINDOW" = "yes"; then
42244 cat >>confdefs.h <<\_ACEOF
42245 #define wxUSE_LOGWINDOW 1
42246 _ACEOF
42247
42248 fi
42249
42250 if test "$wxUSE_LOGDIALOG" = "yes"; then
42251 cat >>confdefs.h <<\_ACEOF
42252 #define wxUSE_LOG_DIALOG 1
42253 _ACEOF
42254
42255 fi
42256
42257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42258 fi
42259
42260 if test "$wxUSE_LONGLONG" = "yes"; then
42261 cat >>confdefs.h <<\_ACEOF
42262 #define wxUSE_LONGLONG 1
42263 _ACEOF
42264
42265 fi
42266
42267 if test "$wxUSE_GEOMETRY" = "yes"; then
42268 cat >>confdefs.h <<\_ACEOF
42269 #define wxUSE_GEOMETRY 1
42270 _ACEOF
42271
42272 fi
42273
42274 if test "$wxUSE_STREAMS" = "yes" ; then
42275 cat >>confdefs.h <<\_ACEOF
42276 #define wxUSE_STREAMS 1
42277 _ACEOF
42278
42279 fi
42280
42281 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42282 cat >>confdefs.h <<\_ACEOF
42283 #define wxUSE_PRINTF_POS_PARAMS 1
42284 _ACEOF
42285
42286 fi
42287
42288 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42289 cat >>confdefs.h <<\_ACEOF
42290 #define wxUSE_OBJC_UNIQUIFYING 1
42291 _ACEOF
42292
42293 fi
42294
42295
42296 if test "$wxUSE_DATETIME" = "yes"; then
42297
42298 for ac_func in strptime
42299 do
42300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42303 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42304 echo $ECHO_N "(cached) $ECHO_C" >&6
42305 else
42306 cat >conftest.$ac_ext <<_ACEOF
42307 /* confdefs.h. */
42308 _ACEOF
42309 cat confdefs.h >>conftest.$ac_ext
42310 cat >>conftest.$ac_ext <<_ACEOF
42311 /* end confdefs.h. */
42312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42314 #define $ac_func innocuous_$ac_func
42315
42316 /* System header to define __stub macros and hopefully few prototypes,
42317 which can conflict with char $ac_func (); below.
42318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42319 <limits.h> exists even on freestanding compilers. */
42320
42321 #ifdef __STDC__
42322 # include <limits.h>
42323 #else
42324 # include <assert.h>
42325 #endif
42326
42327 #undef $ac_func
42328
42329 /* Override any GCC internal prototype to avoid an error.
42330 Use char because int might match the return type of a GCC
42331 builtin and then its argument prototype would still apply. */
42332 #ifdef __cplusplus
42333 extern "C"
42334 #endif
42335 char $ac_func ();
42336 /* The GNU C library defines this for functions which it implements
42337 to always fail with ENOSYS. Some functions are actually named
42338 something starting with __ and the normal name is an alias. */
42339 #if defined __stub_$ac_func || defined __stub___$ac_func
42340 choke me
42341 #endif
42342
42343 int
42344 main ()
42345 {
42346 return $ac_func ();
42347 ;
42348 return 0;
42349 }
42350 _ACEOF
42351 rm -f conftest.$ac_objext conftest$ac_exeext
42352 if { (ac_try="$ac_link"
42353 case "(($ac_try" in
42354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42355 *) ac_try_echo=$ac_try;;
42356 esac
42357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42358 (eval "$ac_link") 2>conftest.er1
42359 ac_status=$?
42360 grep -v '^ *+' conftest.er1 >conftest.err
42361 rm -f conftest.er1
42362 cat conftest.err >&5
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); } && {
42365 test -z "$ac_c_werror_flag" ||
42366 test ! -s conftest.err
42367 } && test -s conftest$ac_exeext &&
42368 $as_test_x conftest$ac_exeext; then
42369 eval "$as_ac_var=yes"
42370 else
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42373
42374 eval "$as_ac_var=no"
42375 fi
42376
42377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42378 conftest$ac_exeext conftest.$ac_ext
42379 fi
42380 ac_res=`eval echo '${'$as_ac_var'}'`
42381 { echo "$as_me:$LINENO: result: $ac_res" >&5
42382 echo "${ECHO_T}$ac_res" >&6; }
42383 if test `eval echo '${'$as_ac_var'}'` = yes; then
42384 cat >>confdefs.h <<_ACEOF
42385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42386 _ACEOF
42387
42388 fi
42389 done
42390
42391 if test "$ac_cv_func_strptime" = "yes"; then
42392 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42393 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42394 if test "${wx_cv_func_strptime_decl+set}" = set; then
42395 echo $ECHO_N "(cached) $ECHO_C" >&6
42396 else
42397
42398 ac_ext=cpp
42399 ac_cpp='$CXXCPP $CPPFLAGS'
42400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42403
42404 cat >conftest.$ac_ext <<_ACEOF
42405 /* confdefs.h. */
42406 _ACEOF
42407 cat confdefs.h >>conftest.$ac_ext
42408 cat >>conftest.$ac_ext <<_ACEOF
42409 /* end confdefs.h. */
42410
42411 #include <time.h>
42412
42413 int
42414 main ()
42415 {
42416
42417 struct tm t;
42418 strptime("foo", "bar", &t);
42419
42420 ;
42421 return 0;
42422 }
42423 _ACEOF
42424 rm -f conftest.$ac_objext
42425 if { (ac_try="$ac_compile"
42426 case "(($ac_try" in
42427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42428 *) ac_try_echo=$ac_try;;
42429 esac
42430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42431 (eval "$ac_compile") 2>conftest.er1
42432 ac_status=$?
42433 grep -v '^ *+' conftest.er1 >conftest.err
42434 rm -f conftest.er1
42435 cat conftest.err >&5
42436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42437 (exit $ac_status); } && {
42438 test -z "$ac_cxx_werror_flag" ||
42439 test ! -s conftest.err
42440 } && test -s conftest.$ac_objext; then
42441 wx_cv_func_strptime_decl=yes
42442 else
42443 echo "$as_me: failed program was:" >&5
42444 sed 's/^/| /' conftest.$ac_ext >&5
42445
42446 wx_cv_func_strptime_decl=no
42447
42448 fi
42449
42450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42451 ac_ext=c
42452 ac_cpp='$CPP $CPPFLAGS'
42453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42456
42457
42458
42459 fi
42460 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42461 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42462 fi
42463 if test "$wx_cv_func_strptime_decl" = "yes"; then
42464 cat >>confdefs.h <<\_ACEOF
42465 #define HAVE_STRPTIME_DECL 1
42466 _ACEOF
42467
42468 fi
42469
42470 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42471 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42472 if test "${wx_cv_var_timezone+set}" = set; then
42473 echo $ECHO_N "(cached) $ECHO_C" >&6
42474 else
42475
42476 ac_ext=cpp
42477 ac_cpp='$CXXCPP $CPPFLAGS'
42478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42481
42482 cat >conftest.$ac_ext <<_ACEOF
42483 /* confdefs.h. */
42484 _ACEOF
42485 cat confdefs.h >>conftest.$ac_ext
42486 cat >>conftest.$ac_ext <<_ACEOF
42487 /* end confdefs.h. */
42488
42489 #include <time.h>
42490
42491 int
42492 main ()
42493 {
42494
42495 int tz;
42496 tz = timezone;
42497
42498 ;
42499 return 0;
42500 }
42501 _ACEOF
42502 rm -f conftest.$ac_objext
42503 if { (ac_try="$ac_compile"
42504 case "(($ac_try" in
42505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42506 *) ac_try_echo=$ac_try;;
42507 esac
42508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42509 (eval "$ac_compile") 2>conftest.er1
42510 ac_status=$?
42511 grep -v '^ *+' conftest.er1 >conftest.err
42512 rm -f conftest.er1
42513 cat conftest.err >&5
42514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); } && {
42516 test -z "$ac_cxx_werror_flag" ||
42517 test ! -s conftest.err
42518 } && test -s conftest.$ac_objext; then
42519
42520 wx_cv_var_timezone=timezone
42521
42522 else
42523 echo "$as_me: failed program was:" >&5
42524 sed 's/^/| /' conftest.$ac_ext >&5
42525
42526
42527 cat >conftest.$ac_ext <<_ACEOF
42528 /* confdefs.h. */
42529 _ACEOF
42530 cat confdefs.h >>conftest.$ac_ext
42531 cat >>conftest.$ac_ext <<_ACEOF
42532 /* end confdefs.h. */
42533
42534 #include <time.h>
42535
42536 int
42537 main ()
42538 {
42539
42540 int tz;
42541 tz = _timezone;
42542
42543 ;
42544 return 0;
42545 }
42546 _ACEOF
42547 rm -f conftest.$ac_objext
42548 if { (ac_try="$ac_compile"
42549 case "(($ac_try" in
42550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42551 *) ac_try_echo=$ac_try;;
42552 esac
42553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42554 (eval "$ac_compile") 2>conftest.er1
42555 ac_status=$?
42556 grep -v '^ *+' conftest.er1 >conftest.err
42557 rm -f conftest.er1
42558 cat conftest.err >&5
42559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42560 (exit $ac_status); } && {
42561 test -z "$ac_cxx_werror_flag" ||
42562 test ! -s conftest.err
42563 } && test -s conftest.$ac_objext; then
42564
42565 wx_cv_var_timezone=_timezone
42566
42567 else
42568 echo "$as_me: failed program was:" >&5
42569 sed 's/^/| /' conftest.$ac_ext >&5
42570
42571
42572 cat >conftest.$ac_ext <<_ACEOF
42573 /* confdefs.h. */
42574 _ACEOF
42575 cat confdefs.h >>conftest.$ac_ext
42576 cat >>conftest.$ac_ext <<_ACEOF
42577 /* end confdefs.h. */
42578
42579 #include <time.h>
42580
42581 int
42582 main ()
42583 {
42584
42585 int tz;
42586 tz = __timezone;
42587
42588 ;
42589 return 0;
42590 }
42591 _ACEOF
42592 rm -f conftest.$ac_objext
42593 if { (ac_try="$ac_compile"
42594 case "(($ac_try" in
42595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42596 *) ac_try_echo=$ac_try;;
42597 esac
42598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42599 (eval "$ac_compile") 2>conftest.er1
42600 ac_status=$?
42601 grep -v '^ *+' conftest.er1 >conftest.err
42602 rm -f conftest.er1
42603 cat conftest.err >&5
42604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42605 (exit $ac_status); } && {
42606 test -z "$ac_cxx_werror_flag" ||
42607 test ! -s conftest.err
42608 } && test -s conftest.$ac_objext; then
42609
42610 wx_cv_var_timezone=__timezone
42611
42612 else
42613 echo "$as_me: failed program was:" >&5
42614 sed 's/^/| /' conftest.$ac_ext >&5
42615
42616
42617 if test "$USE_DOS" = 0 ; then
42618 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42619 echo "$as_me: WARNING: no timezone variable" >&2;}
42620 fi
42621
42622
42623 fi
42624
42625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42626
42627
42628 fi
42629
42630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42631
42632
42633 fi
42634
42635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42636 ac_ext=c
42637 ac_cpp='$CPP $CPPFLAGS'
42638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42641
42642
42643
42644 fi
42645 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42646 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42647
42648 if test "x$wx_cv_var_timezone" != x ; then
42649 cat >>confdefs.h <<_ACEOF
42650 #define WX_TIMEZONE $wx_cv_var_timezone
42651 _ACEOF
42652
42653 fi
42654
42655
42656 for ac_func in localtime
42657 do
42658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42659 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42661 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42662 echo $ECHO_N "(cached) $ECHO_C" >&6
42663 else
42664 cat >conftest.$ac_ext <<_ACEOF
42665 /* confdefs.h. */
42666 _ACEOF
42667 cat confdefs.h >>conftest.$ac_ext
42668 cat >>conftest.$ac_ext <<_ACEOF
42669 /* end confdefs.h. */
42670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42672 #define $ac_func innocuous_$ac_func
42673
42674 /* System header to define __stub macros and hopefully few prototypes,
42675 which can conflict with char $ac_func (); below.
42676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42677 <limits.h> exists even on freestanding compilers. */
42678
42679 #ifdef __STDC__
42680 # include <limits.h>
42681 #else
42682 # include <assert.h>
42683 #endif
42684
42685 #undef $ac_func
42686
42687 /* Override any GCC internal prototype to avoid an error.
42688 Use char because int might match the return type of a GCC
42689 builtin and then its argument prototype would still apply. */
42690 #ifdef __cplusplus
42691 extern "C"
42692 #endif
42693 char $ac_func ();
42694 /* The GNU C library defines this for functions which it implements
42695 to always fail with ENOSYS. Some functions are actually named
42696 something starting with __ and the normal name is an alias. */
42697 #if defined __stub_$ac_func || defined __stub___$ac_func
42698 choke me
42699 #endif
42700
42701 int
42702 main ()
42703 {
42704 return $ac_func ();
42705 ;
42706 return 0;
42707 }
42708 _ACEOF
42709 rm -f conftest.$ac_objext conftest$ac_exeext
42710 if { (ac_try="$ac_link"
42711 case "(($ac_try" in
42712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42713 *) ac_try_echo=$ac_try;;
42714 esac
42715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42716 (eval "$ac_link") 2>conftest.er1
42717 ac_status=$?
42718 grep -v '^ *+' conftest.er1 >conftest.err
42719 rm -f conftest.er1
42720 cat conftest.err >&5
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); } && {
42723 test -z "$ac_c_werror_flag" ||
42724 test ! -s conftest.err
42725 } && test -s conftest$ac_exeext &&
42726 $as_test_x conftest$ac_exeext; then
42727 eval "$as_ac_var=yes"
42728 else
42729 echo "$as_me: failed program was:" >&5
42730 sed 's/^/| /' conftest.$ac_ext >&5
42731
42732 eval "$as_ac_var=no"
42733 fi
42734
42735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42736 conftest$ac_exeext conftest.$ac_ext
42737 fi
42738 ac_res=`eval echo '${'$as_ac_var'}'`
42739 { echo "$as_me:$LINENO: result: $ac_res" >&5
42740 echo "${ECHO_T}$ac_res" >&6; }
42741 if test `eval echo '${'$as_ac_var'}'` = yes; then
42742 cat >>confdefs.h <<_ACEOF
42743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42744 _ACEOF
42745
42746 fi
42747 done
42748
42749
42750 if test "$ac_cv_func_localtime" = "yes"; then
42751 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42752 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42753 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42754 echo $ECHO_N "(cached) $ECHO_C" >&6
42755 else
42756
42757 cat >conftest.$ac_ext <<_ACEOF
42758 /* confdefs.h. */
42759 _ACEOF
42760 cat confdefs.h >>conftest.$ac_ext
42761 cat >>conftest.$ac_ext <<_ACEOF
42762 /* end confdefs.h. */
42763
42764 #include <time.h>
42765
42766 int
42767 main ()
42768 {
42769
42770 struct tm tm;
42771 tm.tm_gmtoff++;
42772
42773 ;
42774 return 0;
42775 }
42776 _ACEOF
42777 rm -f conftest.$ac_objext
42778 if { (ac_try="$ac_compile"
42779 case "(($ac_try" in
42780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42781 *) ac_try_echo=$ac_try;;
42782 esac
42783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42784 (eval "$ac_compile") 2>conftest.er1
42785 ac_status=$?
42786 grep -v '^ *+' conftest.er1 >conftest.err
42787 rm -f conftest.er1
42788 cat conftest.err >&5
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); } && {
42791 test -z "$ac_c_werror_flag" ||
42792 test ! -s conftest.err
42793 } && test -s conftest.$ac_objext; then
42794
42795 wx_cv_struct_tm_has_gmtoff=yes
42796
42797 else
42798 echo "$as_me: failed program was:" >&5
42799 sed 's/^/| /' conftest.$ac_ext >&5
42800
42801 wx_cv_struct_tm_has_gmtoff=no
42802
42803 fi
42804
42805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42806
42807 fi
42808 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42809 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42810 fi
42811
42812 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42813 cat >>confdefs.h <<\_ACEOF
42814 #define WX_GMTOFF_IN_TM 1
42815 _ACEOF
42816
42817 fi
42818
42819
42820
42821 for ac_func in gettimeofday ftime
42822 do
42823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42826 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42827 echo $ECHO_N "(cached) $ECHO_C" >&6
42828 else
42829 cat >conftest.$ac_ext <<_ACEOF
42830 /* confdefs.h. */
42831 _ACEOF
42832 cat confdefs.h >>conftest.$ac_ext
42833 cat >>conftest.$ac_ext <<_ACEOF
42834 /* end confdefs.h. */
42835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42837 #define $ac_func innocuous_$ac_func
42838
42839 /* System header to define __stub macros and hopefully few prototypes,
42840 which can conflict with char $ac_func (); below.
42841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42842 <limits.h> exists even on freestanding compilers. */
42843
42844 #ifdef __STDC__
42845 # include <limits.h>
42846 #else
42847 # include <assert.h>
42848 #endif
42849
42850 #undef $ac_func
42851
42852 /* Override any GCC internal prototype to avoid an error.
42853 Use char because int might match the return type of a GCC
42854 builtin and then its argument prototype would still apply. */
42855 #ifdef __cplusplus
42856 extern "C"
42857 #endif
42858 char $ac_func ();
42859 /* The GNU C library defines this for functions which it implements
42860 to always fail with ENOSYS. Some functions are actually named
42861 something starting with __ and the normal name is an alias. */
42862 #if defined __stub_$ac_func || defined __stub___$ac_func
42863 choke me
42864 #endif
42865
42866 int
42867 main ()
42868 {
42869 return $ac_func ();
42870 ;
42871 return 0;
42872 }
42873 _ACEOF
42874 rm -f conftest.$ac_objext conftest$ac_exeext
42875 if { (ac_try="$ac_link"
42876 case "(($ac_try" in
42877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42878 *) ac_try_echo=$ac_try;;
42879 esac
42880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42881 (eval "$ac_link") 2>conftest.er1
42882 ac_status=$?
42883 grep -v '^ *+' conftest.er1 >conftest.err
42884 rm -f conftest.er1
42885 cat conftest.err >&5
42886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42887 (exit $ac_status); } && {
42888 test -z "$ac_c_werror_flag" ||
42889 test ! -s conftest.err
42890 } && test -s conftest$ac_exeext &&
42891 $as_test_x conftest$ac_exeext; then
42892 eval "$as_ac_var=yes"
42893 else
42894 echo "$as_me: failed program was:" >&5
42895 sed 's/^/| /' conftest.$ac_ext >&5
42896
42897 eval "$as_ac_var=no"
42898 fi
42899
42900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42901 conftest$ac_exeext conftest.$ac_ext
42902 fi
42903 ac_res=`eval echo '${'$as_ac_var'}'`
42904 { echo "$as_me:$LINENO: result: $ac_res" >&5
42905 echo "${ECHO_T}$ac_res" >&6; }
42906 if test `eval echo '${'$as_ac_var'}'` = yes; then
42907 cat >>confdefs.h <<_ACEOF
42908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42909 _ACEOF
42910 break
42911 fi
42912 done
42913
42914
42915 if test "$ac_cv_func_gettimeofday" = "yes"; then
42916 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42917 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42918 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42919 echo $ECHO_N "(cached) $ECHO_C" >&6
42920 else
42921
42922 cat >conftest.$ac_ext <<_ACEOF
42923 /* confdefs.h. */
42924 _ACEOF
42925 cat confdefs.h >>conftest.$ac_ext
42926 cat >>conftest.$ac_ext <<_ACEOF
42927 /* end confdefs.h. */
42928
42929 #include <sys/time.h>
42930 #include <unistd.h>
42931
42932 int
42933 main ()
42934 {
42935
42936 struct timeval tv;
42937 gettimeofday(&tv, NULL);
42938
42939 ;
42940 return 0;
42941 }
42942 _ACEOF
42943 rm -f conftest.$ac_objext
42944 if { (ac_try="$ac_compile"
42945 case "(($ac_try" in
42946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42947 *) ac_try_echo=$ac_try;;
42948 esac
42949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42950 (eval "$ac_compile") 2>conftest.er1
42951 ac_status=$?
42952 grep -v '^ *+' conftest.er1 >conftest.err
42953 rm -f conftest.er1
42954 cat conftest.err >&5
42955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42956 (exit $ac_status); } && {
42957 test -z "$ac_c_werror_flag" ||
42958 test ! -s conftest.err
42959 } && test -s conftest.$ac_objext; then
42960 wx_cv_func_gettimeofday_has_2_args=yes
42961 else
42962 echo "$as_me: failed program was:" >&5
42963 sed 's/^/| /' conftest.$ac_ext >&5
42964
42965 cat >conftest.$ac_ext <<_ACEOF
42966 /* confdefs.h. */
42967 _ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h. */
42971
42972 #include <sys/time.h>
42973 #include <unistd.h>
42974
42975 int
42976 main ()
42977 {
42978
42979 struct timeval tv;
42980 gettimeofday(&tv);
42981
42982 ;
42983 return 0;
42984 }
42985 _ACEOF
42986 rm -f conftest.$ac_objext
42987 if { (ac_try="$ac_compile"
42988 case "(($ac_try" in
42989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42990 *) ac_try_echo=$ac_try;;
42991 esac
42992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42993 (eval "$ac_compile") 2>conftest.er1
42994 ac_status=$?
42995 grep -v '^ *+' conftest.er1 >conftest.err
42996 rm -f conftest.er1
42997 cat conftest.err >&5
42998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42999 (exit $ac_status); } && {
43000 test -z "$ac_c_werror_flag" ||
43001 test ! -s conftest.err
43002 } && test -s conftest.$ac_objext; then
43003 wx_cv_func_gettimeofday_has_2_args=no
43004 else
43005 echo "$as_me: failed program was:" >&5
43006 sed 's/^/| /' conftest.$ac_ext >&5
43007
43008
43009 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43010 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43011 wx_cv_func_gettimeofday_has_2_args=unknown
43012
43013
43014 fi
43015
43016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43017
43018 fi
43019
43020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43021
43022 fi
43023 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43024 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43025
43026 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43027 cat >>confdefs.h <<\_ACEOF
43028 #define WX_GETTIMEOFDAY_NO_TZ 1
43029 _ACEOF
43030
43031 fi
43032 fi
43033
43034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43035 fi
43036
43037
43038 if test "$wxUSE_SOCKETS" = "yes"; then
43039 if test "$wxUSE_MGL" = "1"; then
43040 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43041 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43042 wxUSE_SOCKETS="no"
43043 fi
43044 fi
43045
43046 if test "$wxUSE_SOCKETS" = "yes"; then
43047 if test "$TOOLKIT" != "MSW"; then
43048 { echo "$as_me:$LINENO: checking for socket" >&5
43049 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43050 if test "${ac_cv_func_socket+set}" = set; then
43051 echo $ECHO_N "(cached) $ECHO_C" >&6
43052 else
43053 cat >conftest.$ac_ext <<_ACEOF
43054 /* confdefs.h. */
43055 _ACEOF
43056 cat confdefs.h >>conftest.$ac_ext
43057 cat >>conftest.$ac_ext <<_ACEOF
43058 /* end confdefs.h. */
43059 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43061 #define socket innocuous_socket
43062
43063 /* System header to define __stub macros and hopefully few prototypes,
43064 which can conflict with char socket (); below.
43065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43066 <limits.h> exists even on freestanding compilers. */
43067
43068 #ifdef __STDC__
43069 # include <limits.h>
43070 #else
43071 # include <assert.h>
43072 #endif
43073
43074 #undef socket
43075
43076 /* Override any GCC internal prototype to avoid an error.
43077 Use char because int might match the return type of a GCC
43078 builtin and then its argument prototype would still apply. */
43079 #ifdef __cplusplus
43080 extern "C"
43081 #endif
43082 char socket ();
43083 /* The GNU C library defines this for functions which it implements
43084 to always fail with ENOSYS. Some functions are actually named
43085 something starting with __ and the normal name is an alias. */
43086 #if defined __stub_socket || defined __stub___socket
43087 choke me
43088 #endif
43089
43090 int
43091 main ()
43092 {
43093 return socket ();
43094 ;
43095 return 0;
43096 }
43097 _ACEOF
43098 rm -f conftest.$ac_objext conftest$ac_exeext
43099 if { (ac_try="$ac_link"
43100 case "(($ac_try" in
43101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43102 *) ac_try_echo=$ac_try;;
43103 esac
43104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43105 (eval "$ac_link") 2>conftest.er1
43106 ac_status=$?
43107 grep -v '^ *+' conftest.er1 >conftest.err
43108 rm -f conftest.er1
43109 cat conftest.err >&5
43110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43111 (exit $ac_status); } && {
43112 test -z "$ac_c_werror_flag" ||
43113 test ! -s conftest.err
43114 } && test -s conftest$ac_exeext &&
43115 $as_test_x conftest$ac_exeext; then
43116 ac_cv_func_socket=yes
43117 else
43118 echo "$as_me: failed program was:" >&5
43119 sed 's/^/| /' conftest.$ac_ext >&5
43120
43121 ac_cv_func_socket=no
43122 fi
43123
43124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43125 conftest$ac_exeext conftest.$ac_ext
43126 fi
43127 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43128 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43129 if test $ac_cv_func_socket = yes; then
43130 :
43131 else
43132
43133 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43134 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43135 if test "${ac_cv_lib_socket_socket+set}" = set; then
43136 echo $ECHO_N "(cached) $ECHO_C" >&6
43137 else
43138 ac_check_lib_save_LIBS=$LIBS
43139 LIBS="-lsocket $LIBS"
43140 cat >conftest.$ac_ext <<_ACEOF
43141 /* confdefs.h. */
43142 _ACEOF
43143 cat confdefs.h >>conftest.$ac_ext
43144 cat >>conftest.$ac_ext <<_ACEOF
43145 /* end confdefs.h. */
43146
43147 /* Override any GCC internal prototype to avoid an error.
43148 Use char because int might match the return type of a GCC
43149 builtin and then its argument prototype would still apply. */
43150 #ifdef __cplusplus
43151 extern "C"
43152 #endif
43153 char socket ();
43154 int
43155 main ()
43156 {
43157 return socket ();
43158 ;
43159 return 0;
43160 }
43161 _ACEOF
43162 rm -f conftest.$ac_objext conftest$ac_exeext
43163 if { (ac_try="$ac_link"
43164 case "(($ac_try" in
43165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43166 *) ac_try_echo=$ac_try;;
43167 esac
43168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43169 (eval "$ac_link") 2>conftest.er1
43170 ac_status=$?
43171 grep -v '^ *+' conftest.er1 >conftest.err
43172 rm -f conftest.er1
43173 cat conftest.err >&5
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); } && {
43176 test -z "$ac_c_werror_flag" ||
43177 test ! -s conftest.err
43178 } && test -s conftest$ac_exeext &&
43179 $as_test_x conftest$ac_exeext; then
43180 ac_cv_lib_socket_socket=yes
43181 else
43182 echo "$as_me: failed program was:" >&5
43183 sed 's/^/| /' conftest.$ac_ext >&5
43184
43185 ac_cv_lib_socket_socket=no
43186 fi
43187
43188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43189 conftest$ac_exeext conftest.$ac_ext
43190 LIBS=$ac_check_lib_save_LIBS
43191 fi
43192 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43193 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43194 if test $ac_cv_lib_socket_socket = yes; then
43195 if test "$INET_LINK" != " -lsocket"; then
43196 INET_LINK="$INET_LINK -lsocket"
43197 fi
43198 else
43199
43200 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43201 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43202 wxUSE_SOCKETS=no
43203
43204
43205 fi
43206
43207
43208
43209 fi
43210
43211 fi
43212 fi
43213
43214 if test "$wxUSE_SOCKETS" = "yes" ; then
43215 if test "$TOOLKIT" != "MSW"; then
43216 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43217 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43218 if test "${wx_cv_type_getsockname3+set}" = set; then
43219 echo $ECHO_N "(cached) $ECHO_C" >&6
43220 else
43221
43222 ac_ext=cpp
43223 ac_cpp='$CXXCPP $CPPFLAGS'
43224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43227
43228 cat >conftest.$ac_ext <<_ACEOF
43229 /* confdefs.h. */
43230 _ACEOF
43231 cat confdefs.h >>conftest.$ac_ext
43232 cat >>conftest.$ac_ext <<_ACEOF
43233 /* end confdefs.h. */
43234
43235 #include <sys/types.h>
43236 #include <sys/socket.h>
43237
43238 int
43239 main ()
43240 {
43241
43242 socklen_t len;
43243 getsockname(0, 0, &len);
43244
43245 ;
43246 return 0;
43247 }
43248 _ACEOF
43249 rm -f conftest.$ac_objext
43250 if { (ac_try="$ac_compile"
43251 case "(($ac_try" in
43252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43253 *) ac_try_echo=$ac_try;;
43254 esac
43255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43256 (eval "$ac_compile") 2>conftest.er1
43257 ac_status=$?
43258 grep -v '^ *+' conftest.er1 >conftest.err
43259 rm -f conftest.er1
43260 cat conftest.err >&5
43261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43262 (exit $ac_status); } && {
43263 test -z "$ac_cxx_werror_flag" ||
43264 test ! -s conftest.err
43265 } && test -s conftest.$ac_objext; then
43266 wx_cv_type_getsockname3=socklen_t
43267 else
43268 echo "$as_me: failed program was:" >&5
43269 sed 's/^/| /' conftest.$ac_ext >&5
43270
43271
43272 CFLAGS_OLD="$CFLAGS"
43273 if test "$GCC" = yes ; then
43274 CFLAGS="-Werror $CFLAGS"
43275 fi
43276
43277 cat >conftest.$ac_ext <<_ACEOF
43278 /* confdefs.h. */
43279 _ACEOF
43280 cat confdefs.h >>conftest.$ac_ext
43281 cat >>conftest.$ac_ext <<_ACEOF
43282 /* end confdefs.h. */
43283
43284 #include <sys/types.h>
43285 #include <sys/socket.h>
43286
43287 int
43288 main ()
43289 {
43290
43291 size_t len;
43292 getsockname(0, 0, &len);
43293
43294 ;
43295 return 0;
43296 }
43297 _ACEOF
43298 rm -f conftest.$ac_objext
43299 if { (ac_try="$ac_compile"
43300 case "(($ac_try" in
43301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43302 *) ac_try_echo=$ac_try;;
43303 esac
43304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43305 (eval "$ac_compile") 2>conftest.er1
43306 ac_status=$?
43307 grep -v '^ *+' conftest.er1 >conftest.err
43308 rm -f conftest.er1
43309 cat conftest.err >&5
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); } && {
43312 test -z "$ac_cxx_werror_flag" ||
43313 test ! -s conftest.err
43314 } && test -s conftest.$ac_objext; then
43315 wx_cv_type_getsockname3=size_t
43316 else
43317 echo "$as_me: failed program was:" >&5
43318 sed 's/^/| /' conftest.$ac_ext >&5
43319
43320 cat >conftest.$ac_ext <<_ACEOF
43321 /* confdefs.h. */
43322 _ACEOF
43323 cat confdefs.h >>conftest.$ac_ext
43324 cat >>conftest.$ac_ext <<_ACEOF
43325 /* end confdefs.h. */
43326
43327 #include <sys/types.h>
43328 #include <sys/socket.h>
43329
43330 int
43331 main ()
43332 {
43333
43334 int len;
43335 getsockname(0, 0, &len);
43336
43337 ;
43338 return 0;
43339 }
43340 _ACEOF
43341 rm -f conftest.$ac_objext
43342 if { (ac_try="$ac_compile"
43343 case "(($ac_try" in
43344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43345 *) ac_try_echo=$ac_try;;
43346 esac
43347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43348 (eval "$ac_compile") 2>conftest.er1
43349 ac_status=$?
43350 grep -v '^ *+' conftest.er1 >conftest.err
43351 rm -f conftest.er1
43352 cat conftest.err >&5
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); } && {
43355 test -z "$ac_cxx_werror_flag" ||
43356 test ! -s conftest.err
43357 } && test -s conftest.$ac_objext; then
43358 wx_cv_type_getsockname3=int
43359 else
43360 echo "$as_me: failed program was:" >&5
43361 sed 's/^/| /' conftest.$ac_ext >&5
43362
43363 wx_cv_type_getsockname3=unknown
43364
43365 fi
43366
43367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43368
43369 fi
43370
43371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43372
43373 CFLAGS="$CFLAGS_OLD"
43374
43375
43376 fi
43377
43378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43379 ac_ext=c
43380 ac_cpp='$CPP $CPPFLAGS'
43381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43384
43385
43386 fi
43387 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43388 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43389
43390 if test "$wx_cv_type_getsockname3" = "unknown"; then
43391 wxUSE_SOCKETS=no
43392 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43393 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43394 else
43395 cat >>confdefs.h <<_ACEOF
43396 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43397 _ACEOF
43398
43399 fi
43400 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43401 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43402 if test "${wx_cv_type_getsockopt5+set}" = set; then
43403 echo $ECHO_N "(cached) $ECHO_C" >&6
43404 else
43405
43406 ac_ext=cpp
43407 ac_cpp='$CXXCPP $CPPFLAGS'
43408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43411
43412 cat >conftest.$ac_ext <<_ACEOF
43413 /* confdefs.h. */
43414 _ACEOF
43415 cat confdefs.h >>conftest.$ac_ext
43416 cat >>conftest.$ac_ext <<_ACEOF
43417 /* end confdefs.h. */
43418
43419 #include <sys/types.h>
43420 #include <sys/socket.h>
43421
43422 int
43423 main ()
43424 {
43425
43426 socklen_t len;
43427 getsockopt(0, 0, 0, 0, &len);
43428
43429 ;
43430 return 0;
43431 }
43432 _ACEOF
43433 rm -f conftest.$ac_objext
43434 if { (ac_try="$ac_compile"
43435 case "(($ac_try" in
43436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43437 *) ac_try_echo=$ac_try;;
43438 esac
43439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43440 (eval "$ac_compile") 2>conftest.er1
43441 ac_status=$?
43442 grep -v '^ *+' conftest.er1 >conftest.err
43443 rm -f conftest.er1
43444 cat conftest.err >&5
43445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446 (exit $ac_status); } && {
43447 test -z "$ac_cxx_werror_flag" ||
43448 test ! -s conftest.err
43449 } && test -s conftest.$ac_objext; then
43450 wx_cv_type_getsockopt5=socklen_t
43451 else
43452 echo "$as_me: failed program was:" >&5
43453 sed 's/^/| /' conftest.$ac_ext >&5
43454
43455
43456 cat >conftest.$ac_ext <<_ACEOF
43457 /* confdefs.h. */
43458 _ACEOF
43459 cat confdefs.h >>conftest.$ac_ext
43460 cat >>conftest.$ac_ext <<_ACEOF
43461 /* end confdefs.h. */
43462
43463 #include <sys/types.h>
43464 #include <sys/socket.h>
43465
43466 int
43467 main ()
43468 {
43469
43470 size_t len;
43471 getsockopt(0, 0, 0, 0, &len);
43472
43473 ;
43474 return 0;
43475 }
43476 _ACEOF
43477 rm -f conftest.$ac_objext
43478 if { (ac_try="$ac_compile"
43479 case "(($ac_try" in
43480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43481 *) ac_try_echo=$ac_try;;
43482 esac
43483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43484 (eval "$ac_compile") 2>conftest.er1
43485 ac_status=$?
43486 grep -v '^ *+' conftest.er1 >conftest.err
43487 rm -f conftest.er1
43488 cat conftest.err >&5
43489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43490 (exit $ac_status); } && {
43491 test -z "$ac_cxx_werror_flag" ||
43492 test ! -s conftest.err
43493 } && test -s conftest.$ac_objext; then
43494 wx_cv_type_getsockopt5=size_t
43495 else
43496 echo "$as_me: failed program was:" >&5
43497 sed 's/^/| /' conftest.$ac_ext >&5
43498
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
43506 #include <sys/types.h>
43507 #include <sys/socket.h>
43508
43509 int
43510 main ()
43511 {
43512
43513 int len;
43514 getsockopt(0, 0, 0, 0, &len);
43515
43516 ;
43517 return 0;
43518 }
43519 _ACEOF
43520 rm -f conftest.$ac_objext
43521 if { (ac_try="$ac_compile"
43522 case "(($ac_try" in
43523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43524 *) ac_try_echo=$ac_try;;
43525 esac
43526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43527 (eval "$ac_compile") 2>conftest.er1
43528 ac_status=$?
43529 grep -v '^ *+' conftest.er1 >conftest.err
43530 rm -f conftest.er1
43531 cat conftest.err >&5
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); } && {
43534 test -z "$ac_cxx_werror_flag" ||
43535 test ! -s conftest.err
43536 } && test -s conftest.$ac_objext; then
43537 wx_cv_type_getsockopt5=int
43538 else
43539 echo "$as_me: failed program was:" >&5
43540 sed 's/^/| /' conftest.$ac_ext >&5
43541
43542 wx_cv_type_getsockopt5=unknown
43543
43544 fi
43545
43546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43547
43548 fi
43549
43550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43551
43552
43553 fi
43554
43555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43556 ac_ext=c
43557 ac_cpp='$CPP $CPPFLAGS'
43558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43561
43562
43563 fi
43564 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43565 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43566
43567 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43568 wxUSE_SOCKETS=no
43569 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43570 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43571 else
43572 cat >>confdefs.h <<_ACEOF
43573 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43574 _ACEOF
43575
43576 fi
43577 fi
43578 fi
43579
43580 if test "$wxUSE_SOCKETS" = "yes" ; then
43581 cat >>confdefs.h <<\_ACEOF
43582 #define wxUSE_SOCKETS 1
43583 _ACEOF
43584
43585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43586 fi
43587
43588 if test "$wxUSE_PROTOCOL" = "yes"; then
43589 if test "$wxUSE_SOCKETS" != "yes"; then
43590 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43591 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43592 wxUSE_PROTOCOL=no
43593 fi
43594 fi
43595
43596 if test "$wxUSE_PROTOCOL" = "yes"; then
43597 cat >>confdefs.h <<\_ACEOF
43598 #define wxUSE_PROTOCOL 1
43599 _ACEOF
43600
43601
43602 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43603 cat >>confdefs.h <<\_ACEOF
43604 #define wxUSE_PROTOCOL_HTTP 1
43605 _ACEOF
43606
43607 fi
43608 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43609 cat >>confdefs.h <<\_ACEOF
43610 #define wxUSE_PROTOCOL_FTP 1
43611 _ACEOF
43612
43613 fi
43614 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43615 cat >>confdefs.h <<\_ACEOF
43616 #define wxUSE_PROTOCOL_FILE 1
43617 _ACEOF
43618
43619 fi
43620 else
43621 if test "$wxUSE_FS_INET" = "yes"; then
43622 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43623 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43624 wxUSE_FS_INET="no"
43625 fi
43626 fi
43627
43628 if test "$wxUSE_URL" = "yes"; then
43629 if test "$wxUSE_PROTOCOL" != "yes"; then
43630 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43631 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43632 wxUSE_URL=no
43633 fi
43634 if test "$wxUSE_URL" = "yes"; then
43635 cat >>confdefs.h <<\_ACEOF
43636 #define wxUSE_URL 1
43637 _ACEOF
43638
43639 fi
43640 fi
43641
43642 if test "$wxUSE_VARIANT" = "yes"; then
43643 cat >>confdefs.h <<\_ACEOF
43644 #define wxUSE_VARIANT 1
43645 _ACEOF
43646
43647 fi
43648
43649 if test "$wxUSE_FS_INET" = "yes"; then
43650 cat >>confdefs.h <<\_ACEOF
43651 #define wxUSE_FS_INET 1
43652 _ACEOF
43653
43654 fi
43655
43656
43657 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43658 wxUSE_JOYSTICK=no
43659
43660 if test "$TOOLKIT" = "MSW"; then
43661 wxUSE_JOYSTICK=yes
43662
43663 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43664 if test "$USE_DARWIN" = 1; then
43665 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43666 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43667 ac_ext=cpp
43668 ac_cpp='$CXXCPP $CPPFLAGS'
43669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43672
43673 cat >conftest.$ac_ext <<_ACEOF
43674 /* confdefs.h. */
43675 _ACEOF
43676 cat confdefs.h >>conftest.$ac_ext
43677 cat >>conftest.$ac_ext <<_ACEOF
43678 /* end confdefs.h. */
43679 #include <IOKit/hid/IOHIDLib.h>
43680 int
43681 main ()
43682 {
43683 IOHIDQueueInterface *qi = NULL;
43684 IOHIDCallbackFunction cb = NULL;
43685 qi->setEventCallout(NULL, cb, NULL, NULL);
43686 ;
43687 return 0;
43688 }
43689 _ACEOF
43690 rm -f conftest.$ac_objext
43691 if { (ac_try="$ac_compile"
43692 case "(($ac_try" in
43693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43694 *) ac_try_echo=$ac_try;;
43695 esac
43696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43697 (eval "$ac_compile") 2>conftest.er1
43698 ac_status=$?
43699 grep -v '^ *+' conftest.er1 >conftest.err
43700 rm -f conftest.er1
43701 cat conftest.err >&5
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); } && {
43704 test -z "$ac_cxx_werror_flag" ||
43705 test ! -s conftest.err
43706 } && test -s conftest.$ac_objext; then
43707 wxUSE_JOYSTICK=yes
43708
43709 else
43710 echo "$as_me: failed program was:" >&5
43711 sed 's/^/| /' conftest.$ac_ext >&5
43712
43713
43714 fi
43715
43716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43717 ac_ext=c
43718 ac_cpp='$CPP $CPPFLAGS'
43719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43722
43723 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43724 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43725 fi
43726
43727 else
43728 if test "$wxUSE_MGL" != "1"; then
43729 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43730 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43731 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43732 echo $ECHO_N "(cached) $ECHO_C" >&6
43733 else
43734 cat >conftest.$ac_ext <<_ACEOF
43735 /* confdefs.h. */
43736 _ACEOF
43737 cat confdefs.h >>conftest.$ac_ext
43738 cat >>conftest.$ac_ext <<_ACEOF
43739 /* end confdefs.h. */
43740 $ac_includes_default
43741
43742 #include <linux/joystick.h>
43743 _ACEOF
43744 rm -f conftest.$ac_objext
43745 if { (ac_try="$ac_compile"
43746 case "(($ac_try" in
43747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43748 *) ac_try_echo=$ac_try;;
43749 esac
43750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43751 (eval "$ac_compile") 2>conftest.er1
43752 ac_status=$?
43753 grep -v '^ *+' conftest.er1 >conftest.err
43754 rm -f conftest.er1
43755 cat conftest.err >&5
43756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43757 (exit $ac_status); } && {
43758 test -z "$ac_c_werror_flag" ||
43759 test ! -s conftest.err
43760 } && test -s conftest.$ac_objext; then
43761 ac_cv_header_linux_joystick_h=yes
43762 else
43763 echo "$as_me: failed program was:" >&5
43764 sed 's/^/| /' conftest.$ac_ext >&5
43765
43766 ac_cv_header_linux_joystick_h=no
43767 fi
43768
43769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43770 fi
43771 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43772 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43773 if test $ac_cv_header_linux_joystick_h = yes; then
43774 wxUSE_JOYSTICK=yes
43775 fi
43776
43777
43778 fi
43779 fi
43780
43781 if test "$wxUSE_JOYSTICK" = "yes"; then
43782 cat >>confdefs.h <<\_ACEOF
43783 #define wxUSE_JOYSTICK 1
43784 _ACEOF
43785
43786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43787 else
43788 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43789 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43790 fi
43791 fi
43792
43793
43794
43795 if test "$wxUSE_FONTMAP" = "yes" ; then
43796 cat >>confdefs.h <<\_ACEOF
43797 #define wxUSE_FONTMAP 1
43798 _ACEOF
43799
43800 fi
43801
43802 if test "$wxUSE_UNICODE" = "yes" ; then
43803 cat >>confdefs.h <<\_ACEOF
43804 #define wxUSE_UNICODE 1
43805 _ACEOF
43806
43807
43808 if test "$USE_WIN32" != 1; then
43809 wxUSE_UNICODE_MSLU=no
43810 fi
43811
43812 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43813 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43814 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43815 if test "${ac_cv_lib_unicows_main+set}" = set; then
43816 echo $ECHO_N "(cached) $ECHO_C" >&6
43817 else
43818 ac_check_lib_save_LIBS=$LIBS
43819 LIBS="-lunicows $LIBS"
43820 cat >conftest.$ac_ext <<_ACEOF
43821 /* confdefs.h. */
43822 _ACEOF
43823 cat confdefs.h >>conftest.$ac_ext
43824 cat >>conftest.$ac_ext <<_ACEOF
43825 /* end confdefs.h. */
43826
43827
43828 int
43829 main ()
43830 {
43831 return main ();
43832 ;
43833 return 0;
43834 }
43835 _ACEOF
43836 rm -f conftest.$ac_objext conftest$ac_exeext
43837 if { (ac_try="$ac_link"
43838 case "(($ac_try" in
43839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43840 *) ac_try_echo=$ac_try;;
43841 esac
43842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43843 (eval "$ac_link") 2>conftest.er1
43844 ac_status=$?
43845 grep -v '^ *+' conftest.er1 >conftest.err
43846 rm -f conftest.er1
43847 cat conftest.err >&5
43848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43849 (exit $ac_status); } && {
43850 test -z "$ac_c_werror_flag" ||
43851 test ! -s conftest.err
43852 } && test -s conftest$ac_exeext &&
43853 $as_test_x conftest$ac_exeext; then
43854 ac_cv_lib_unicows_main=yes
43855 else
43856 echo "$as_me: failed program was:" >&5
43857 sed 's/^/| /' conftest.$ac_ext >&5
43858
43859 ac_cv_lib_unicows_main=no
43860 fi
43861
43862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43863 conftest$ac_exeext conftest.$ac_ext
43864 LIBS=$ac_check_lib_save_LIBS
43865 fi
43866 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43867 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43868 if test $ac_cv_lib_unicows_main = yes; then
43869
43870 cat >>confdefs.h <<\_ACEOF
43871 #define wxUSE_UNICODE_MSLU 1
43872 _ACEOF
43873
43874
43875 else
43876
43877 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43878 Applications will only run on Windows NT/2000/XP!" >&5
43879 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43880 Applications will only run on Windows NT/2000/XP!" >&2;}
43881 wxUSE_UNICODE_MSLU=no
43882
43883 fi
43884
43885 fi
43886 fi
43887
43888 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43889 cat >>confdefs.h <<\_ACEOF
43890 #define wxUSE_UNICODE_UTF8 1
43891 _ACEOF
43892
43893
43894 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43895 cat >>confdefs.h <<\_ACEOF
43896 #define wxUSE_UTF8_LOCALE_ONLY 1
43897 _ACEOF
43898
43899 fi
43900 fi
43901
43902 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43903 cat >>confdefs.h <<\_ACEOF
43904 #define wxUSE_EXPERIMENTAL_PRINTF 1
43905 _ACEOF
43906
43907 fi
43908
43909
43910 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_POSTSCRIPT 1
43913 _ACEOF
43914
43915 fi
43916
43917 cat >>confdefs.h <<\_ACEOF
43918 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43919 _ACEOF
43920
43921
43922 cat >>confdefs.h <<\_ACEOF
43923 #define wxUSE_NORMALIZED_PS_FONTS 1
43924 _ACEOF
43925
43926
43927
43928 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43929 cat >>confdefs.h <<\_ACEOF
43930 #define wxUSE_CONSTRAINTS 1
43931 _ACEOF
43932
43933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43934 fi
43935
43936 if test "$wxUSE_MDI" = "yes"; then
43937 cat >>confdefs.h <<\_ACEOF
43938 #define wxUSE_MDI 1
43939 _ACEOF
43940
43941
43942 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43943 cat >>confdefs.h <<\_ACEOF
43944 #define wxUSE_MDI_ARCHITECTURE 1
43945 _ACEOF
43946
43947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43948 fi
43949 fi
43950
43951 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43952 cat >>confdefs.h <<\_ACEOF
43953 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43954 _ACEOF
43955
43956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43957 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43959 fi
43960 fi
43961
43962 if test "$wxUSE_HELP" = "yes"; then
43963 cat >>confdefs.h <<\_ACEOF
43964 #define wxUSE_HELP 1
43965 _ACEOF
43966
43967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43968
43969 if test "$wxUSE_MSW" = 1; then
43970 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43971 cat >>confdefs.h <<\_ACEOF
43972 #define wxUSE_MS_HTML_HELP 1
43973 _ACEOF
43974
43975 fi
43976 fi
43977
43978 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43979 if test "$wxUSE_HTML" = "yes"; then
43980 cat >>confdefs.h <<\_ACEOF
43981 #define wxUSE_WXHTML_HELP 1
43982 _ACEOF
43983
43984 else
43985 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43986 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43987 wxUSE_WXHTML_HELP=no
43988 fi
43989 fi
43990 fi
43991
43992 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43993 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43994 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43995 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43996 else
43997 cat >>confdefs.h <<\_ACEOF
43998 #define wxUSE_PRINTING_ARCHITECTURE 1
43999 _ACEOF
44000
44001 fi
44002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44003 fi
44004
44005
44006
44007 if test "$wxUSE_METAFILE" = "yes"; then
44008 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44009 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44010 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44011 wxUSE_METAFILE=no
44012 fi
44013 fi
44014
44015
44016 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44017 -o "$wxUSE_CLIPBOARD" = "yes" \
44018 -o "$wxUSE_OLE" = "yes" \
44019 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44020 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44021 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44022 if test "${ac_cv_header_ole2_h+set}" = set; then
44023 echo $ECHO_N "(cached) $ECHO_C" >&6
44024 else
44025 cat >conftest.$ac_ext <<_ACEOF
44026 /* confdefs.h. */
44027 _ACEOF
44028 cat confdefs.h >>conftest.$ac_ext
44029 cat >>conftest.$ac_ext <<_ACEOF
44030 /* end confdefs.h. */
44031
44032
44033 #include <ole2.h>
44034 _ACEOF
44035 rm -f conftest.$ac_objext
44036 if { (ac_try="$ac_compile"
44037 case "(($ac_try" in
44038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44039 *) ac_try_echo=$ac_try;;
44040 esac
44041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44042 (eval "$ac_compile") 2>conftest.er1
44043 ac_status=$?
44044 grep -v '^ *+' conftest.er1 >conftest.err
44045 rm -f conftest.er1
44046 cat conftest.err >&5
44047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048 (exit $ac_status); } && {
44049 test -z "$ac_c_werror_flag" ||
44050 test ! -s conftest.err
44051 } && test -s conftest.$ac_objext; then
44052 ac_cv_header_ole2_h=yes
44053 else
44054 echo "$as_me: failed program was:" >&5
44055 sed 's/^/| /' conftest.$ac_ext >&5
44056
44057 ac_cv_header_ole2_h=no
44058 fi
44059
44060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44061 fi
44062 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44063 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44064
44065
44066
44067 if test "$ac_cv_header_ole2_h" = "yes" ; then
44068 if test "$GCC" = yes ; then
44069 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44070 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44071 cat >conftest.$ac_ext <<_ACEOF
44072 /* confdefs.h. */
44073 _ACEOF
44074 cat confdefs.h >>conftest.$ac_ext
44075 cat >>conftest.$ac_ext <<_ACEOF
44076 /* end confdefs.h. */
44077 #include <windows.h>
44078 #include <ole2.h>
44079 int
44080 main ()
44081 {
44082
44083 ;
44084 return 0;
44085 }
44086 _ACEOF
44087 rm -f conftest.$ac_objext
44088 if { (ac_try="$ac_compile"
44089 case "(($ac_try" in
44090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44091 *) ac_try_echo=$ac_try;;
44092 esac
44093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44094 (eval "$ac_compile") 2>conftest.er1
44095 ac_status=$?
44096 grep -v '^ *+' conftest.er1 >conftest.err
44097 rm -f conftest.er1
44098 cat conftest.err >&5
44099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44100 (exit $ac_status); } && {
44101 test -z "$ac_c_werror_flag" ||
44102 test ! -s conftest.err
44103 } && test -s conftest.$ac_objext; then
44104 { echo "$as_me:$LINENO: result: no" >&5
44105 echo "${ECHO_T}no" >&6; }
44106 else
44107 echo "$as_me: failed program was:" >&5
44108 sed 's/^/| /' conftest.$ac_ext >&5
44109
44110 { echo "$as_me:$LINENO: result: yes" >&5
44111 echo "${ECHO_T}yes" >&6; }
44112 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44113 fi
44114
44115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44116 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44117 if test "$wxUSE_OLE" = "yes" ; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_OLE 1
44120 _ACEOF
44121
44122 cat >>confdefs.h <<\_ACEOF
44123 #define wxUSE_OLE_AUTOMATION 1
44124 _ACEOF
44125
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_ACTIVEX 1
44128 _ACEOF
44129
44130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44131 fi
44132 fi
44133
44134 if test "$wxUSE_DATAOBJ" = "yes" ; then
44135 cat >>confdefs.h <<\_ACEOF
44136 #define wxUSE_DATAOBJ 1
44137 _ACEOF
44138
44139 fi
44140 else
44141 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44142 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44143
44144 wxUSE_CLIPBOARD=no
44145 wxUSE_DRAG_AND_DROP=no
44146 wxUSE_DATAOBJ=no
44147 wxUSE_OLE=no
44148 fi
44149
44150 if test "$wxUSE_METAFILE" = "yes"; then
44151 cat >>confdefs.h <<\_ACEOF
44152 #define wxUSE_METAFILE 1
44153 _ACEOF
44154
44155
44156 cat >>confdefs.h <<\_ACEOF
44157 #define wxUSE_ENH_METAFILE 1
44158 _ACEOF
44159
44160 fi
44161 fi
44162
44163 if test "$wxUSE_IPC" = "yes"; then
44164 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44165 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44166 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44167 wxUSE_IPC=no
44168 fi
44169
44170 if test "$wxUSE_IPC" = "yes"; then
44171 cat >>confdefs.h <<\_ACEOF
44172 #define wxUSE_IPC 1
44173 _ACEOF
44174
44175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44176 fi
44177 fi
44178
44179 if test "$wxUSE_DATAOBJ" = "yes"; then
44180 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44181 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44182 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44183 wxUSE_DATAOBJ=no
44184 else
44185 cat >>confdefs.h <<\_ACEOF
44186 #define wxUSE_DATAOBJ 1
44187 _ACEOF
44188
44189 fi
44190 else
44191 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44192 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44193 wxUSE_CLIPBOARD=no
44194 wxUSE_DRAG_AND_DROP=no
44195 fi
44196
44197 if test "$wxUSE_CLIPBOARD" = "yes"; then
44198 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44199 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44200 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44201 wxUSE_CLIPBOARD=no
44202 fi
44203
44204 if test "$wxUSE_CLIPBOARD" = "yes"; then
44205 cat >>confdefs.h <<\_ACEOF
44206 #define wxUSE_CLIPBOARD 1
44207 _ACEOF
44208
44209 fi
44210 fi
44211
44212 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44213 if test "$wxUSE_GTK" = 1; then
44214 if test "$WXGTK12" != 1; then
44215 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44216 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44217 wxUSE_DRAG_AND_DROP=no
44218 fi
44219 fi
44220
44221 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44222 "$wxUSE_DFB" = 1; then
44223 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44224 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44225 wxUSE_DRAG_AND_DROP=no
44226 fi
44227
44228 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44229 cat >>confdefs.h <<\_ACEOF
44230 #define wxUSE_DRAG_AND_DROP 1
44231 _ACEOF
44232
44233 fi
44234
44235 fi
44236
44237 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44239 fi
44240
44241 if test "$wxUSE_SPLINES" = "yes" ; then
44242 cat >>confdefs.h <<\_ACEOF
44243 #define wxUSE_SPLINES 1
44244 _ACEOF
44245
44246 fi
44247
44248 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44249 cat >>confdefs.h <<\_ACEOF
44250 #define wxUSE_MOUSEWHEEL 1
44251 _ACEOF
44252
44253 fi
44254
44255
44256 USES_CONTROLS=0
44257 if test "$wxUSE_CONTROLS" = "yes"; then
44258 USES_CONTROLS=1
44259 fi
44260
44261 if test "$wxUSE_ACCEL" = "yes"; then
44262 cat >>confdefs.h <<\_ACEOF
44263 #define wxUSE_ACCEL 1
44264 _ACEOF
44265
44266 USES_CONTROLS=1
44267 fi
44268
44269 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44270 cat >>confdefs.h <<\_ACEOF
44271 #define wxUSE_ANIMATIONCTRL 1
44272 _ACEOF
44273
44274 USES_CONTROLS=1
44275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44276 fi
44277
44278 if test "$wxUSE_BUTTON" = "yes"; then
44279 cat >>confdefs.h <<\_ACEOF
44280 #define wxUSE_BUTTON 1
44281 _ACEOF
44282
44283 USES_CONTROLS=1
44284 fi
44285
44286 if test "$wxUSE_BMPBUTTON" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_BMPBUTTON 1
44289 _ACEOF
44290
44291 USES_CONTROLS=1
44292 fi
44293
44294 if test "$wxUSE_CALCTRL" = "yes"; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define wxUSE_CALENDARCTRL 1
44297 _ACEOF
44298
44299 USES_CONTROLS=1
44300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44301 fi
44302
44303 if test "$wxUSE_CARET" = "yes"; then
44304 cat >>confdefs.h <<\_ACEOF
44305 #define wxUSE_CARET 1
44306 _ACEOF
44307
44308 USES_CONTROLS=1
44309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44310 fi
44311
44312 if test "$wxUSE_COLLPANE" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_COLLPANE 1
44315 _ACEOF
44316
44317 USES_CONTROLS=1
44318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44319 fi
44320
44321 if test "$wxUSE_COMBOBOX" = "yes"; then
44322 cat >>confdefs.h <<\_ACEOF
44323 #define wxUSE_COMBOBOX 1
44324 _ACEOF
44325
44326 USES_CONTROLS=1
44327 fi
44328
44329 if test "$wxUSE_COMBOCTRL" = "yes"; then
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_COMBOCTRL 1
44332 _ACEOF
44333
44334 USES_CONTROLS=1
44335 fi
44336
44337 if test "$wxUSE_CHOICE" = "yes"; then
44338 cat >>confdefs.h <<\_ACEOF
44339 #define wxUSE_CHOICE 1
44340 _ACEOF
44341
44342 USES_CONTROLS=1
44343 fi
44344
44345 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44346 cat >>confdefs.h <<\_ACEOF
44347 #define wxUSE_CHOICEBOOK 1
44348 _ACEOF
44349
44350 USES_CONTROLS=1
44351 fi
44352
44353 if test "$wxUSE_CHECKBOX" = "yes"; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define wxUSE_CHECKBOX 1
44356 _ACEOF
44357
44358 USES_CONTROLS=1
44359 fi
44360
44361 if test "$wxUSE_CHECKLST" = "yes"; then
44362 cat >>confdefs.h <<\_ACEOF
44363 #define wxUSE_CHECKLISTBOX 1
44364 _ACEOF
44365
44366 USES_CONTROLS=1
44367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44368 fi
44369
44370 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_COLOURPICKERCTRL 1
44373 _ACEOF
44374
44375 USES_CONTROLS=1
44376 fi
44377
44378 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_DATEPICKCTRL 1
44381 _ACEOF
44382
44383 USES_CONTROLS=1
44384 fi
44385
44386 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_DIRPICKERCTRL 1
44389 _ACEOF
44390
44391 USES_CONTROLS=1
44392 fi
44393
44394 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44395 cat >>confdefs.h <<\_ACEOF
44396 #define wxUSE_FILEPICKERCTRL 1
44397 _ACEOF
44398
44399 USES_CONTROLS=1
44400 fi
44401
44402 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_FONTPICKERCTRL 1
44405 _ACEOF
44406
44407 USES_CONTROLS=1
44408 fi
44409
44410 if test "$wxUSE_DISPLAY" = "yes"; then
44411 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44412 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44413 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44414 wxUSE_DISPLAY=no
44415 else
44416 cat >>confdefs.h <<\_ACEOF
44417 #define wxUSE_DISPLAY 1
44418 _ACEOF
44419
44420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44421 fi
44422 fi
44423
44424 if test "$wxUSE_DETECT_SM" = "yes"; then
44425 cat >>confdefs.h <<\_ACEOF
44426 #define wxUSE_DETECT_SM 1
44427 _ACEOF
44428
44429 fi
44430
44431 if test "$wxUSE_GAUGE" = "yes"; then
44432 cat >>confdefs.h <<\_ACEOF
44433 #define wxUSE_GAUGE 1
44434 _ACEOF
44435
44436 USES_CONTROLS=1
44437 fi
44438
44439 if test "$wxUSE_GRID" = "yes"; then
44440 cat >>confdefs.h <<\_ACEOF
44441 #define wxUSE_GRID 1
44442 _ACEOF
44443
44444 USES_CONTROLS=1
44445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44446 fi
44447
44448 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_HYPERLINKCTRL 1
44451 _ACEOF
44452
44453 USES_CONTROLS=1
44454 fi
44455
44456 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44457 cat >>confdefs.h <<\_ACEOF
44458 #define wxUSE_BITMAPCOMBOBOX 1
44459 _ACEOF
44460
44461 USES_CONTROLS=1
44462 fi
44463
44464 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_DATAVIEWCTRL 1
44467 _ACEOF
44468
44469 USES_CONTROLS=1
44470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44471 fi
44472
44473 if test "$wxUSE_IMAGLIST" = "yes"; then
44474 cat >>confdefs.h <<\_ACEOF
44475 #define wxUSE_IMAGLIST 1
44476 _ACEOF
44477
44478 fi
44479
44480 if test "$wxUSE_LISTBOOK" = "yes"; then
44481 cat >>confdefs.h <<\_ACEOF
44482 #define wxUSE_LISTBOOK 1
44483 _ACEOF
44484
44485 USES_CONTROLS=1
44486 fi
44487
44488 if test "$wxUSE_LISTBOX" = "yes"; then
44489 cat >>confdefs.h <<\_ACEOF
44490 #define wxUSE_LISTBOX 1
44491 _ACEOF
44492
44493 USES_CONTROLS=1
44494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44495 fi
44496
44497 if test "$wxUSE_LISTCTRL" = "yes"; then
44498 if test "$wxUSE_IMAGLIST" = "yes"; then
44499 cat >>confdefs.h <<\_ACEOF
44500 #define wxUSE_LISTCTRL 1
44501 _ACEOF
44502
44503 USES_CONTROLS=1
44504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44505 else
44506 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44507 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44508 fi
44509 fi
44510
44511 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44512 cat >>confdefs.h <<\_ACEOF
44513 #define wxUSE_EDITABLELISTBOX 1
44514 _ACEOF
44515
44516 USES_CONTROLS=1
44517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44518 fi
44519
44520 if test "$wxUSE_NOTEBOOK" = "yes"; then
44521 cat >>confdefs.h <<\_ACEOF
44522 #define wxUSE_NOTEBOOK 1
44523 _ACEOF
44524
44525 USES_CONTROLS=1
44526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44527 fi
44528
44529 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44530 cat >>confdefs.h <<\_ACEOF
44531 #define wxUSE_ODCOMBOBOX 1
44532 _ACEOF
44533
44534 USES_CONTROLS=1
44535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44536 fi
44537
44538
44539 if test "$wxUSE_RADIOBOX" = "yes"; then
44540 cat >>confdefs.h <<\_ACEOF
44541 #define wxUSE_RADIOBOX 1
44542 _ACEOF
44543
44544 USES_CONTROLS=1
44545 fi
44546
44547 if test "$wxUSE_RADIOBTN" = "yes"; then
44548 cat >>confdefs.h <<\_ACEOF
44549 #define wxUSE_RADIOBTN 1
44550 _ACEOF
44551
44552 USES_CONTROLS=1
44553 fi
44554
44555 if test "$wxUSE_SASH" = "yes"; then
44556 cat >>confdefs.h <<\_ACEOF
44557 #define wxUSE_SASH 1
44558 _ACEOF
44559
44560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44561 fi
44562
44563 if test "$wxUSE_SCROLLBAR" = "yes"; then
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_SCROLLBAR 1
44566 _ACEOF
44567
44568 USES_CONTROLS=1
44569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44570 fi
44571
44572 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44573 cat >>confdefs.h <<\_ACEOF
44574 #define wxUSE_SEARCHCTRL 1
44575 _ACEOF
44576
44577 USES_CONTROLS=1
44578 fi
44579
44580 if test "$wxUSE_SLIDER" = "yes"; then
44581 cat >>confdefs.h <<\_ACEOF
44582 #define wxUSE_SLIDER 1
44583 _ACEOF
44584
44585 USES_CONTROLS=1
44586 fi
44587
44588 if test "$wxUSE_SPINBTN" = "yes"; then
44589 cat >>confdefs.h <<\_ACEOF
44590 #define wxUSE_SPINBTN 1
44591 _ACEOF
44592
44593 USES_CONTROLS=1
44594 fi
44595
44596 if test "$wxUSE_SPINCTRL" = "yes"; then
44597 cat >>confdefs.h <<\_ACEOF
44598 #define wxUSE_SPINCTRL 1
44599 _ACEOF
44600
44601 USES_CONTROLS=1
44602 fi
44603
44604 if test "$wxUSE_SPLITTER" = "yes"; then
44605 cat >>confdefs.h <<\_ACEOF
44606 #define wxUSE_SPLITTER 1
44607 _ACEOF
44608
44609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44610 fi
44611
44612 if test "$wxUSE_STATBMP" = "yes"; then
44613 cat >>confdefs.h <<\_ACEOF
44614 #define wxUSE_STATBMP 1
44615 _ACEOF
44616
44617 USES_CONTROLS=1
44618 fi
44619
44620 if test "$wxUSE_STATBOX" = "yes"; then
44621 cat >>confdefs.h <<\_ACEOF
44622 #define wxUSE_STATBOX 1
44623 _ACEOF
44624
44625 USES_CONTROLS=1
44626 fi
44627
44628 if test "$wxUSE_STATTEXT" = "yes"; then
44629 cat >>confdefs.h <<\_ACEOF
44630 #define wxUSE_STATTEXT 1
44631 _ACEOF
44632
44633 USES_CONTROLS=1
44634 fi
44635
44636 if test "$wxUSE_STATLINE" = "yes"; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define wxUSE_STATLINE 1
44639 _ACEOF
44640
44641 USES_CONTROLS=1
44642 fi
44643
44644 if test "$wxUSE_STATUSBAR" = "yes"; then
44645 cat >>confdefs.h <<\_ACEOF
44646 #define wxUSE_NATIVE_STATUSBAR 1
44647 _ACEOF
44648
44649 cat >>confdefs.h <<\_ACEOF
44650 #define wxUSE_STATUSBAR 1
44651 _ACEOF
44652
44653 USES_CONTROLS=1
44654
44655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44656 fi
44657
44658 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44659 cat >>confdefs.h <<\_ACEOF
44660 #define wxUSE_TAB_DIALOG 1
44661 _ACEOF
44662
44663 fi
44664
44665 if test "$wxUSE_TEXTCTRL" = "yes"; then
44666 cat >>confdefs.h <<\_ACEOF
44667 #define wxUSE_TEXTCTRL 1
44668 _ACEOF
44669
44670 USES_CONTROLS=1
44671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44672 fi
44673
44674 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44675 if test "$wxUSE_COCOA" = 1 ; then
44676 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44677 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44678 wxUSE_TOGGLEBTN=no
44679 fi
44680
44681 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44682 cat >>confdefs.h <<\_ACEOF
44683 #define wxUSE_TOGGLEBTN 1
44684 _ACEOF
44685
44686 USES_CONTROLS=1
44687 fi
44688 fi
44689
44690 if test "$wxUSE_TOOLBAR" = "yes"; then
44691 cat >>confdefs.h <<\_ACEOF
44692 #define wxUSE_TOOLBAR 1
44693 _ACEOF
44694
44695 USES_CONTROLS=1
44696
44697 if test "$wxUSE_UNIVERSAL" = "yes"; then
44698 wxUSE_TOOLBAR_NATIVE="no"
44699 else
44700 wxUSE_TOOLBAR_NATIVE="yes"
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_TOOLBAR_NATIVE 1
44703 _ACEOF
44704
44705 fi
44706
44707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44708 fi
44709
44710 if test "$wxUSE_TOOLTIPS" = "yes"; then
44711 if test "$wxUSE_MOTIF" = 1; then
44712 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44713 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44714 else
44715 if test "$wxUSE_UNIVERSAL" = "yes"; then
44716 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44717 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44718 else
44719 cat >>confdefs.h <<\_ACEOF
44720 #define wxUSE_TOOLTIPS 1
44721 _ACEOF
44722
44723 fi
44724 fi
44725 fi
44726
44727 if test "$wxUSE_TREEBOOK" = "yes"; then
44728 cat >>confdefs.h <<\_ACEOF
44729 #define wxUSE_TREEBOOK 1
44730 _ACEOF
44731
44732 USES_CONTROLS=1
44733 fi
44734
44735 if test "$wxUSE_TOOLBOOK" = "yes"; then
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_TOOLBOOK 1
44738 _ACEOF
44739
44740 USES_CONTROLS=1
44741 fi
44742
44743 if test "$wxUSE_TREECTRL" = "yes"; then
44744 if test "$wxUSE_IMAGLIST" = "yes"; then
44745 cat >>confdefs.h <<\_ACEOF
44746 #define wxUSE_TREECTRL 1
44747 _ACEOF
44748
44749 USES_CONTROLS=1
44750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44751 else
44752 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44753 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44754 fi
44755 fi
44756
44757 if test "$wxUSE_POPUPWIN" = "yes"; then
44758 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44759 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44760 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44761 else
44762 if test "$wxUSE_PM" = 1; then
44763 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44764 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44765 else
44766 cat >>confdefs.h <<\_ACEOF
44767 #define wxUSE_POPUPWIN 1
44768 _ACEOF
44769
44770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44771
44772 USES_CONTROLS=1
44773 fi
44774 fi
44775 fi
44776
44777 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44778 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44779 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44780 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44781 else
44782 cat >>confdefs.h <<\_ACEOF
44783 #define wxUSE_DIALUP_MANAGER 1
44784 _ACEOF
44785
44786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44787 fi
44788 fi
44789
44790 if test "$wxUSE_TIPWINDOW" = "yes"; then
44791 if test "$wxUSE_PM" = 1; then
44792 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44793 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44794 else
44795 cat >>confdefs.h <<\_ACEOF
44796 #define wxUSE_TIPWINDOW 1
44797 _ACEOF
44798
44799 fi
44800 fi
44801
44802 if test "$USES_CONTROLS" = 1; then
44803 cat >>confdefs.h <<\_ACEOF
44804 #define wxUSE_CONTROLS 1
44805 _ACEOF
44806
44807 fi
44808
44809
44810 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_ACCESSIBILITY 1
44813 _ACEOF
44814
44815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44816 fi
44817
44818 if test "$wxUSE_DC_CACHEING" = "yes"; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_DC_CACHEING 1
44821 _ACEOF
44822
44823 fi
44824
44825 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44826 cat >>confdefs.h <<\_ACEOF
44827 #define wxUSE_DRAGIMAGE 1
44828 _ACEOF
44829
44830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44831 fi
44832
44833 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44834 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44835 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44836 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44837 else
44838 cat >>confdefs.h <<\_ACEOF
44839 #define wxUSE_EXCEPTIONS 1
44840 _ACEOF
44841
44842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44843 fi
44844 fi
44845
44846 USE_HTML=0
44847 if test "$wxUSE_HTML" = "yes"; then
44848 cat >>confdefs.h <<\_ACEOF
44849 #define wxUSE_HTML 1
44850 _ACEOF
44851
44852 USE_HTML=1
44853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44854 if test "$wxUSE_MAC" = 1; then
44855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44856 fi
44857 fi
44858 if test "$wxUSE_WEBKIT" = "yes"; then
44859 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44860 old_CPPFLAGS="$CPPFLAGS"
44861 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44862 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44863 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44864 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44865 echo $ECHO_N "(cached) $ECHO_C" >&6
44866 else
44867 cat >conftest.$ac_ext <<_ACEOF
44868 /* confdefs.h. */
44869 _ACEOF
44870 cat confdefs.h >>conftest.$ac_ext
44871 cat >>conftest.$ac_ext <<_ACEOF
44872 /* end confdefs.h. */
44873
44874 #include <Carbon/Carbon.h>
44875 #include <WebKit/WebKit.h>
44876
44877
44878 #include <WebKit/HIWebView.h>
44879 _ACEOF
44880 rm -f conftest.$ac_objext
44881 if { (ac_try="$ac_compile"
44882 case "(($ac_try" in
44883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44884 *) ac_try_echo=$ac_try;;
44885 esac
44886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44887 (eval "$ac_compile") 2>conftest.er1
44888 ac_status=$?
44889 grep -v '^ *+' conftest.er1 >conftest.err
44890 rm -f conftest.er1
44891 cat conftest.err >&5
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); } && {
44894 test -z "$ac_c_werror_flag" ||
44895 test ! -s conftest.err
44896 } && test -s conftest.$ac_objext; then
44897 ac_cv_header_WebKit_HIWebView_h=yes
44898 else
44899 echo "$as_me: failed program was:" >&5
44900 sed 's/^/| /' conftest.$ac_ext >&5
44901
44902 ac_cv_header_WebKit_HIWebView_h=no
44903 fi
44904
44905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44906 fi
44907 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44908 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44909 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44910
44911 cat >>confdefs.h <<\_ACEOF
44912 #define wxUSE_WEBKIT 1
44913 _ACEOF
44914
44915 WEBKIT_LINK="-framework WebKit"
44916
44917 else
44918
44919 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44920 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44921 wxUSE_WEBKIT=no
44922
44923 fi
44924
44925
44926 CPPFLAGS="$old_CPPFLAGS"
44927 elif test "$wxUSE_COCOA" = 1; then
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_WEBKIT 1
44930 _ACEOF
44931
44932 else
44933 wxUSE_WEBKIT=no
44934 fi
44935 fi
44936
44937 USE_XRC=0
44938 if test "$wxUSE_XRC" = "yes"; then
44939 if test "$wxUSE_XML" != "yes"; then
44940 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44941 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44942 wxUSE_XRC=no
44943 else
44944 cat >>confdefs.h <<\_ACEOF
44945 #define wxUSE_XRC 1
44946 _ACEOF
44947
44948 USE_XRC=1
44949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44950 fi
44951 fi
44952
44953 USE_AUI=0
44954 if test "$wxUSE_AUI" = "yes"; then
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_AUI 1
44957 _ACEOF
44958
44959 USE_AUI=1
44960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44961 fi
44962
44963 USE_STC=0
44964 if test "$wxUSE_STC" = "yes"; then
44965 cat >>confdefs.h <<\_ACEOF
44966 #define wxUSE_STC 1
44967 _ACEOF
44968
44969 USE_STC=1
44970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44971 fi
44972
44973 if test "$wxUSE_MENUS" = "yes"; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define wxUSE_MENUS 1
44976 _ACEOF
44977
44978 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44979 fi
44980
44981 if test "$wxUSE_METAFILE" = "yes"; then
44982 cat >>confdefs.h <<\_ACEOF
44983 #define wxUSE_METAFILE 1
44984 _ACEOF
44985
44986 fi
44987
44988 if test "$wxUSE_MIMETYPE" = "yes"; then
44989 cat >>confdefs.h <<\_ACEOF
44990 #define wxUSE_MIMETYPE 1
44991 _ACEOF
44992
44993 fi
44994
44995 if test "$wxUSE_MINIFRAME" = "yes"; then
44996 cat >>confdefs.h <<\_ACEOF
44997 #define wxUSE_MINIFRAME 1
44998 _ACEOF
44999
45000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45001 fi
45002
45003 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_SYSTEM_OPTIONS 1
45006 _ACEOF
45007
45008 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45009 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45011 fi
45012 fi
45013
45014
45015 if test "$wxUSE_VALIDATORS" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_VALIDATORS 1
45018 _ACEOF
45019
45020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45021 fi
45022
45023 if test "$wxUSE_PALETTE" = "yes" ; then
45024 if test "$wxUSE_DFB" = 1; then
45025 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45026 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45027 wxUSE_PALETTE=no
45028 else
45029 cat >>confdefs.h <<\_ACEOF
45030 #define wxUSE_PALETTE 1
45031 _ACEOF
45032
45033 fi
45034 fi
45035
45036 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45037 LIBS=" -lunicows $LIBS"
45038 fi
45039
45040 USE_RICHTEXT=0
45041 if test "$wxUSE_RICHTEXT" = "yes"; then
45042 cat >>confdefs.h <<\_ACEOF
45043 #define wxUSE_RICHTEXT 1
45044 _ACEOF
45045
45046 USE_RICHTEXT=1
45047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45048 fi
45049
45050
45051 if test "$wxUSE_IMAGE" = "yes" ; then
45052 cat >>confdefs.h <<\_ACEOF
45053 #define wxUSE_IMAGE 1
45054 _ACEOF
45055
45056
45057 if test "$wxUSE_GIF" = "yes" ; then
45058 cat >>confdefs.h <<\_ACEOF
45059 #define wxUSE_GIF 1
45060 _ACEOF
45061
45062 fi
45063
45064 if test "$wxUSE_PCX" = "yes" ; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_PCX 1
45067 _ACEOF
45068
45069 fi
45070
45071 if test "$wxUSE_TGA" = "yes" ; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_TGA 1
45074 _ACEOF
45075
45076 fi
45077
45078 if test "$wxUSE_IFF" = "yes" ; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_IFF 1
45081 _ACEOF
45082
45083 fi
45084
45085 if test "$wxUSE_PNM" = "yes" ; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_PNM 1
45088 _ACEOF
45089
45090 fi
45091
45092 if test "$wxUSE_XPM" = "yes" ; then
45093 cat >>confdefs.h <<\_ACEOF
45094 #define wxUSE_XPM 1
45095 _ACEOF
45096
45097 fi
45098
45099 if test "$wxUSE_ICO_CUR" = "yes" ; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_ICO_CUR 1
45102 _ACEOF
45103
45104 fi
45105 fi
45106
45107
45108 if test "$wxUSE_ABOUTDLG" = "yes"; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_ABOUTDLG 1
45111 _ACEOF
45112
45113 fi
45114
45115 if test "$wxUSE_CHOICEDLG" = "yes"; then
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_CHOICEDLG 1
45118 _ACEOF
45119
45120 fi
45121
45122 if test "$wxUSE_COLOURDLG" = "yes"; then
45123 cat >>confdefs.h <<\_ACEOF
45124 #define wxUSE_COLOURDLG 1
45125 _ACEOF
45126
45127 fi
45128
45129 if test "$wxUSE_FILEDLG" = "yes"; then
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_FILEDLG 1
45132 _ACEOF
45133
45134 fi
45135
45136 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_FINDREPLDLG 1
45139 _ACEOF
45140
45141 fi
45142
45143 if test "$wxUSE_FONTDLG" = "yes"; then
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_FONTDLG 1
45146 _ACEOF
45147
45148 fi
45149
45150 if test "$wxUSE_DIRDLG" = "yes"; then
45151 if test "$wxUSE_TREECTRL" != "yes"; then
45152 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45153 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45154 else
45155 cat >>confdefs.h <<\_ACEOF
45156 #define wxUSE_DIRDLG 1
45157 _ACEOF
45158
45159 fi
45160 fi
45161
45162 if test "$wxUSE_MSGDLG" = "yes"; then
45163 cat >>confdefs.h <<\_ACEOF
45164 #define wxUSE_MSGDLG 1
45165 _ACEOF
45166
45167 fi
45168
45169 if test "$wxUSE_NUMBERDLG" = "yes"; then
45170 cat >>confdefs.h <<\_ACEOF
45171 #define wxUSE_NUMBERDLG 1
45172 _ACEOF
45173
45174 fi
45175
45176 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45177 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45178 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45179 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45180 else
45181 cat >>confdefs.h <<\_ACEOF
45182 #define wxUSE_PROGRESSDLG 1
45183 _ACEOF
45184
45185 fi
45186 fi
45187
45188 if test "$wxUSE_SPLASH" = "yes"; then
45189 cat >>confdefs.h <<\_ACEOF
45190 #define wxUSE_SPLASH 1
45191 _ACEOF
45192
45193 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45194 fi
45195
45196 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45197 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45198 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45199 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45200 else
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_STARTUP_TIPS 1
45203 _ACEOF
45204
45205 fi
45206 fi
45207
45208 if test "$wxUSE_TEXTDLG" = "yes"; then
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_TEXTDLG 1
45211 _ACEOF
45212
45213 fi
45214
45215 if test "$wxUSE_WIZARDDLG" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_WIZARDDLG 1
45218 _ACEOF
45219
45220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45221 fi
45222
45223
45224 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45225 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_GRAPHICS_CONTEXT 1
45228 _ACEOF
45229
45230 elif test "$wxUSE_GTK" != 1; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_GRAPHICS_CONTEXT 1
45233 _ACEOF
45234
45235 else
45236
45237 pkg_failed=no
45238 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45239 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45240
45241 if test -n "$PKG_CONFIG"; then
45242 if test -n "$CAIRO_CFLAGS"; then
45243 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45244 else
45245 if test -n "$PKG_CONFIG" && \
45246 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45247 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45248 ac_status=$?
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); }; then
45251 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45252 else
45253 pkg_failed=yes
45254 fi
45255 fi
45256 else
45257 pkg_failed=untried
45258 fi
45259 if test -n "$PKG_CONFIG"; then
45260 if test -n "$CAIRO_LIBS"; then
45261 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45262 else
45263 if test -n "$PKG_CONFIG" && \
45264 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45265 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45266 ac_status=$?
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); }; then
45269 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45270 else
45271 pkg_failed=yes
45272 fi
45273 fi
45274 else
45275 pkg_failed=untried
45276 fi
45277
45278
45279
45280 if test $pkg_failed = yes; then
45281
45282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45283 _pkg_short_errors_supported=yes
45284 else
45285 _pkg_short_errors_supported=no
45286 fi
45287 if test $_pkg_short_errors_supported = yes; then
45288 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45289 else
45290 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45291 fi
45292 # Put the nasty error message in config.log where it belongs
45293 echo "$CAIRO_PKG_ERRORS" >&5
45294
45295 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45296 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45297
45298 elif test $pkg_failed = untried; then
45299 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45300 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45301
45302 else
45303 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45304 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45305 { echo "$as_me:$LINENO: result: yes" >&5
45306 echo "${ECHO_T}yes" >&6; }
45307 cat >>confdefs.h <<\_ACEOF
45308 #define wxUSE_GRAPHICS_CONTEXT 1
45309 _ACEOF
45310
45311 fi
45312 fi
45313 fi
45314
45315
45316 USE_MEDIA=0
45317
45318 if test "$wxUSE_MEDIACTRL" = "yes"; then
45319 USE_MEDIA=1
45320
45321 if test "$wxUSE_GTK" = 1; then
45322 wxUSE_GSTREAMER="no"
45323
45324 GST_VERSION_MAJOR=0
45325 GST_VERSION_MINOR=10
45326 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45327
45328 if test "$wxUSE_GSTREAMER8" = "no"; then
45329
45330 pkg_failed=no
45331 { echo "$as_me:$LINENO: checking for GST" >&5
45332 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45333
45334 if test -n "$PKG_CONFIG"; then
45335 if test -n "$GST_CFLAGS"; then
45336 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45337 else
45338 if test -n "$PKG_CONFIG" && \
45339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45340 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45341 ac_status=$?
45342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45343 (exit $ac_status); }; then
45344 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45345 else
45346 pkg_failed=yes
45347 fi
45348 fi
45349 else
45350 pkg_failed=untried
45351 fi
45352 if test -n "$PKG_CONFIG"; then
45353 if test -n "$GST_LIBS"; then
45354 pkg_cv_GST_LIBS="$GST_LIBS"
45355 else
45356 if test -n "$PKG_CONFIG" && \
45357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45358 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45359 ac_status=$?
45360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45361 (exit $ac_status); }; then
45362 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45363 else
45364 pkg_failed=yes
45365 fi
45366 fi
45367 else
45368 pkg_failed=untried
45369 fi
45370
45371
45372
45373 if test $pkg_failed = yes; then
45374
45375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45376 _pkg_short_errors_supported=yes
45377 else
45378 _pkg_short_errors_supported=no
45379 fi
45380 if test $_pkg_short_errors_supported = yes; then
45381 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45382 else
45383 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45384 fi
45385 # Put the nasty error message in config.log where it belongs
45386 echo "$GST_PKG_ERRORS" >&5
45387
45388
45389 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45390 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45391 GST_VERSION_MINOR=8
45392
45393
45394 elif test $pkg_failed = untried; then
45395
45396 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45397 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45398 GST_VERSION_MINOR=8
45399
45400
45401 else
45402 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45403 GST_LIBS=$pkg_cv_GST_LIBS
45404 { echo "$as_me:$LINENO: result: yes" >&5
45405 echo "${ECHO_T}yes" >&6; }
45406
45407 wxUSE_GSTREAMER="yes"
45408 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45409
45410 fi
45411 else
45412 GST_VERSION_MINOR=8
45413 fi
45414
45415 if test $GST_VERSION_MINOR = "8"; then
45416 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45417
45418 pkg_failed=no
45419 { echo "$as_me:$LINENO: checking for GST" >&5
45420 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45421
45422 if test -n "$PKG_CONFIG"; then
45423 if test -n "$GST_CFLAGS"; then
45424 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45425 else
45426 if test -n "$PKG_CONFIG" && \
45427 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45428 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45429 ac_status=$?
45430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45431 (exit $ac_status); }; then
45432 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45433 else
45434 pkg_failed=yes
45435 fi
45436 fi
45437 else
45438 pkg_failed=untried
45439 fi
45440 if test -n "$PKG_CONFIG"; then
45441 if test -n "$GST_LIBS"; then
45442 pkg_cv_GST_LIBS="$GST_LIBS"
45443 else
45444 if test -n "$PKG_CONFIG" && \
45445 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45446 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45447 ac_status=$?
45448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45449 (exit $ac_status); }; then
45450 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45451 else
45452 pkg_failed=yes
45453 fi
45454 fi
45455 else
45456 pkg_failed=untried
45457 fi
45458
45459
45460
45461 if test $pkg_failed = yes; then
45462
45463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45464 _pkg_short_errors_supported=yes
45465 else
45466 _pkg_short_errors_supported=no
45467 fi
45468 if test $_pkg_short_errors_supported = yes; then
45469 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45470 else
45471 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45472 fi
45473 # Put the nasty error message in config.log where it belongs
45474 echo "$GST_PKG_ERRORS" >&5
45475
45476
45477 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45478 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45479
45480 elif test $pkg_failed = untried; then
45481
45482 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45483 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45484
45485 else
45486 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45487 GST_LIBS=$pkg_cv_GST_LIBS
45488 { echo "$as_me:$LINENO: result: yes" >&5
45489 echo "${ECHO_T}yes" >&6; }
45490 wxUSE_GSTREAMER="yes"
45491 fi
45492 fi
45493
45494
45495 if test "$wxUSE_GSTREAMER" = "yes"; then
45496 case "${host}" in
45497 *-*-solaris2* )
45498 if "$GCC" = yes; then
45499 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45500 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45501 fi
45502 esac
45503
45504 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45505 LIBS="$GST_LIBS $LIBS"
45506
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_GSTREAMER 1
45509 _ACEOF
45510
45511 else
45512 USE_MEDIA=0
45513 fi
45514 fi
45515
45516 if test $USE_MEDIA = 1; then
45517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_MEDIACTRL 1
45520 _ACEOF
45521
45522 fi
45523 fi
45524
45525
45526 if test "$cross_compiling" = "yes"; then
45527 OSINFO="\"$host\""
45528 else
45529 OSINFO=`uname -s -r -m`
45530 OSINFO="\"$OSINFO\""
45531 fi
45532
45533 cat >>confdefs.h <<_ACEOF
45534 #define WXWIN_OS_DESCRIPTION $OSINFO
45535 _ACEOF
45536
45537
45538
45539 if test "x$prefix" != "xNONE"; then
45540 wxPREFIX=$prefix
45541 else
45542 wxPREFIX=$ac_default_prefix
45543 fi
45544
45545 cat >>confdefs.h <<_ACEOF
45546 #define wxINSTALL_PREFIX "$wxPREFIX"
45547 _ACEOF
45548
45549
45550
45551
45552 CORE_BASE_LIBS="net base"
45553 CORE_GUI_LIBS="adv core"
45554
45555 if test "$wxUSE_XML" = "yes" ; then
45556 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45557 fi
45558 if test "$wxUSE_ODBC" != "no" ; then
45559 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45560 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45561 fi
45562 if test "$wxUSE_HTML" = "yes" ; then
45563 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45564 fi
45565 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45566 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45567 fi
45568 if test "$wxUSE_XRC" = "yes" ; then
45569 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45570 fi
45571 if test "$wxUSE_AUI" = "yes" ; then
45572 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45573 fi
45574 if test "$wxUSE_STC" = "yes" ; then
45575 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45576 fi
45577
45578 if test "$wxUSE_GUI" != "yes"; then
45579 CORE_GUI_LIBS=""
45580 fi
45581
45582
45583
45584
45585
45586
45587 if test "$wxUSE_MAC" = 1 ; then
45588 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45589 if test "$USE_DARWIN" = 1; then
45590 LDFLAGS="$LDFLAGS -framework QuickTime"
45591 else
45592 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45593 fi
45594 fi
45595 if test "$USE_DARWIN" = 1; then
45596 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45597 else
45598 LDFLAGS="$LDFLAGS -lCarbonLib"
45599 fi
45600 fi
45601 if test "$wxUSE_COCOA" = 1 ; then
45602 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45603 if test "$wxUSE_MEDIACTRL" = "yes"; then
45604 LDFLAGS="$LDFLAGS -framework QuickTime"
45605 fi
45606 fi
45607 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45608 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45609 fi
45610
45611 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45612
45613 if test "$wxUSE_GUI" = "yes"; then
45614
45615
45616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45617 dynamic erase event exec font image minimal mobile \
45618 mobile/wxedit mobile/styles propsize render \
45619 rotate shaped svg taborder vscroll widgets"
45620
45621 if test "$wxUSE_MONOLITHIC" != "yes"; then
45622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45623 fi
45624 if test "$TOOLKIT" = "MSW"; then
45625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45626 if test "$wxUSE_UNIVERSAL" != "yes"; then
45627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45628 fi
45629 fi
45630 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45632 fi
45633 else
45634 SAMPLES_SUBDIRS="console"
45635 fi
45636
45637
45638 if test "x$INTELCC" = "xyes" ; then
45639 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45640 elif test "$GCC" = yes ; then
45641 CWARNINGS="-Wall -Wundef"
45642 fi
45643
45644 if test "x$INTELCXX" = "xyes" ; then
45645 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45646 elif test "$GXX" = yes ; then
45647 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45648 fi
45649
45650
45651 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45652 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45653
45654
45655 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45656 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45657 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45658 $CPPFLAGS `
45659
45660 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45661 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45662 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45663
45664 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45665
45666
45667 if test "x$MWCC" = "xyes"; then
45668
45669 CC="$CC -cwd source -I-"
45670 CXX="$CXX -cwd source -I-"
45671 fi
45672
45673
45674 LIBS=`echo $LIBS`
45675 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45676 EXTRALIBS_XML="$EXPAT_LINK"
45677 EXTRALIBS_HTML="$MSPACK_LINK"
45678 EXTRALIBS_ODBC="$ODBC_LINK"
45679 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45680 if test "$wxUSE_GUI" = "yes"; then
45681 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45682 fi
45683 if test "$wxUSE_OPENGL" = "yes"; then
45684 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45685 fi
45686
45687 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45688
45689 WXCONFIG_LIBS="$LIBS"
45690
45691 if test "$wxUSE_REGEX" = "builtin" ; then
45692 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45693 fi
45694 if test "$wxUSE_EXPAT" = "builtin" ; then
45695 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45696 fi
45697 if test "$wxUSE_ODBC" = "builtin" ; then
45698 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45699 fi
45700 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45701 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45702 fi
45703 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45704 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45705 fi
45706 if test "$wxUSE_LIBPNG" = "builtin" ; then
45707 wxconfig_3rdparty="png $wxconfig_3rdparty"
45708 fi
45709 if test "$wxUSE_ZLIB" = "builtin" ; then
45710 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45711 fi
45712
45713 for i in $wxconfig_3rdparty ; do
45714 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45715 done
45716
45717
45718 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45719 WXUNIV=1
45720
45721 case "$wxUNIV_THEMES" in
45722 ''|all)
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_ALL_THEMES 1
45725 _ACEOF
45726
45727 ;;
45728
45729 *)
45730 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45731 cat >>confdefs.h <<_ACEOF
45732 #define wxUSE_THEME_$t 1
45733 _ACEOF
45734
45735 done
45736 esac
45737 else
45738 WXUNIV=0
45739 fi
45740
45741
45742
45743
45744
45745
45746
45747
45748
45749 if test $wxUSE_MONOLITHIC = "yes" ; then
45750 MONOLITHIC=1
45751 else
45752 MONOLITHIC=0
45753 fi
45754
45755 if test $wxUSE_PLUGINS = "yes" ; then
45756 USE_PLUGINS=1
45757 else
45758 USE_PLUGINS=0
45759 fi
45760
45761 if test $wxUSE_ODBC != "no" ; then
45762 USE_ODBC=1
45763 else
45764 USE_ODBC=0
45765 fi
45766
45767 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45768 USE_QA=1
45769 else
45770 USE_QA=0
45771 fi
45772
45773 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45774 OFFICIAL_BUILD=1
45775 else
45776 OFFICIAL_BUILD=0
45777 fi
45778
45779
45780
45781
45782
45783
45784
45785
45786
45787
45788
45789
45790
45791
45792
45793
45794
45795
45796
45797
45798
45799
45800
45801
45802
45803
45804 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45805
45806
45807
45808
45809
45810
45811
45812
45813 case "$TOOLKIT" in
45814 GTK)
45815 TOOLKIT_DESC="GTK+"
45816 if test "$WXGTK20" = 1; then
45817 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45818 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45819 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45820 fi
45821 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45822 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45823 fi
45824 if test "$wxUSE_LIBHILDON" = "yes"; then
45825 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45826 fi
45827
45828 if test "$TOOLKIT_EXTRA" != ""; then
45829 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45830 fi
45831 fi
45832 ;;
45833
45834 ?*)
45835 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45836 ;;
45837
45838 *)
45839 TOOLKIT_DESC="base only"
45840 ;;
45841 esac
45842
45843 if test "$wxUSE_WINE" = "yes"; then
45844 BAKEFILE_FORCE_PLATFORM=win32
45845 fi
45846
45847 if test "$wxUSE_MAC" = 1 ; then
45848 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45849 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45850 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45851 else
45852 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45853 fi
45854 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45855 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45856 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45857 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45858 bk_use_pch=no
45859 fi
45860 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45861 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45862 fi
45863
45864 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45865 then
45866 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45867 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45868 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45869 echo $ECHO_N "(cached) $ECHO_C" >&6
45870 else
45871
45872 echo '#include <stdio.h>
45873 const wchar_t test_var[] = L"awidetest";' > conftest.h
45874
45875 echo '#include "conftest.h"
45876 int main()
45877 {
45878 printf("%ls", test_var);
45879 return 0;
45880 }' > conftest.cpp
45881
45882 wx_cv_gcc_pch_bug="pch not supported"
45883
45884 if $CXX conftest.h >/dev/null 2>&1
45885 then
45886 wx_cv_gcc_pch_bug=
45887
45888 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45889 then
45890 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45891 grep awidetest >/dev/null
45892 then
45893 wx_cv_gcc_pch_bug=no
45894 else
45895 wx_cv_gcc_pch_bug=yes
45896 fi
45897 fi
45898 fi
45899
45900 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45901
45902 fi
45903 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45904 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45905
45906 if test "$wx_cv_gcc_pch_bug" = yes; then
45907 bk_use_pch=no
45908 fi
45909 fi
45910
45911
45912
45913
45914 if test "x$BAKEFILE_HOST" = "x"; then
45915 if test "x${host}" = "x" ; then
45916 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45917 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45918 { (exit 1); exit 1; }; }
45919 fi
45920
45921 BAKEFILE_HOST="${host}"
45922 fi
45923
45924 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45925
45926 if test -n "$ac_tool_prefix"; then
45927 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45928 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45931 if test "${ac_cv_prog_RANLIB+set}" = set; then
45932 echo $ECHO_N "(cached) $ECHO_C" >&6
45933 else
45934 if test -n "$RANLIB"; then
45935 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45936 else
45937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45938 for as_dir in $PATH
45939 do
45940 IFS=$as_save_IFS
45941 test -z "$as_dir" && as_dir=.
45942 for ac_exec_ext in '' $ac_executable_extensions; do
45943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45944 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45946 break 2
45947 fi
45948 done
45949 done
45950 IFS=$as_save_IFS
45951
45952 fi
45953 fi
45954 RANLIB=$ac_cv_prog_RANLIB
45955 if test -n "$RANLIB"; then
45956 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45957 echo "${ECHO_T}$RANLIB" >&6; }
45958 else
45959 { echo "$as_me:$LINENO: result: no" >&5
45960 echo "${ECHO_T}no" >&6; }
45961 fi
45962
45963
45964 fi
45965 if test -z "$ac_cv_prog_RANLIB"; then
45966 ac_ct_RANLIB=$RANLIB
45967 # Extract the first word of "ranlib", so it can be a program name with args.
45968 set dummy ranlib; ac_word=$2
45969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45971 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45972 echo $ECHO_N "(cached) $ECHO_C" >&6
45973 else
45974 if test -n "$ac_ct_RANLIB"; then
45975 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45976 else
45977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45978 for as_dir in $PATH
45979 do
45980 IFS=$as_save_IFS
45981 test -z "$as_dir" && as_dir=.
45982 for ac_exec_ext in '' $ac_executable_extensions; do
45983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45984 ac_cv_prog_ac_ct_RANLIB="ranlib"
45985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45986 break 2
45987 fi
45988 done
45989 done
45990 IFS=$as_save_IFS
45991
45992 fi
45993 fi
45994 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45995 if test -n "$ac_ct_RANLIB"; then
45996 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45997 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45998 else
45999 { echo "$as_me:$LINENO: result: no" >&5
46000 echo "${ECHO_T}no" >&6; }
46001 fi
46002
46003 if test "x$ac_ct_RANLIB" = x; then
46004 RANLIB=":"
46005 else
46006 case $cross_compiling:$ac_tool_warned in
46007 yes:)
46008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46009 whose name does not start with the host triplet. If you think this
46010 configuration is useful to you, please write to autoconf@gnu.org." >&5
46011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46012 whose name does not start with the host triplet. If you think this
46013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46014 ac_tool_warned=yes ;;
46015 esac
46016 RANLIB=$ac_ct_RANLIB
46017 fi
46018 else
46019 RANLIB="$ac_cv_prog_RANLIB"
46020 fi
46021
46022 # Find a good install program. We prefer a C program (faster),
46023 # so one script is as good as another. But avoid the broken or
46024 # incompatible versions:
46025 # SysV /etc/install, /usr/sbin/install
46026 # SunOS /usr/etc/install
46027 # IRIX /sbin/install
46028 # AIX /bin/install
46029 # AmigaOS /C/install, which installs bootblocks on floppy discs
46030 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46031 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46032 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46033 # OS/2's system install, which has a completely different semantic
46034 # ./install, which can be erroneously created by make from ./install.sh.
46035 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46036 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46037 if test -z "$INSTALL"; then
46038 if test "${ac_cv_path_install+set}" = set; then
46039 echo $ECHO_N "(cached) $ECHO_C" >&6
46040 else
46041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46042 for as_dir in $PATH
46043 do
46044 IFS=$as_save_IFS
46045 test -z "$as_dir" && as_dir=.
46046 # Account for people who put trailing slashes in PATH elements.
46047 case $as_dir/ in
46048 ./ | .// | /cC/* | \
46049 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46050 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46051 /usr/ucb/* ) ;;
46052 *)
46053 # OSF1 and SCO ODT 3.0 have their own names for install.
46054 # Don't use installbsd from OSF since it installs stuff as root
46055 # by default.
46056 for ac_prog in ginstall scoinst install; do
46057 for ac_exec_ext in '' $ac_executable_extensions; do
46058 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46059 if test $ac_prog = install &&
46060 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46061 # AIX install. It has an incompatible calling convention.
46062 :
46063 elif test $ac_prog = install &&
46064 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46065 # program-specific install script used by HP pwplus--don't use.
46066 :
46067 else
46068 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46069 break 3
46070 fi
46071 fi
46072 done
46073 done
46074 ;;
46075 esac
46076 done
46077 IFS=$as_save_IFS
46078
46079
46080 fi
46081 if test "${ac_cv_path_install+set}" = set; then
46082 INSTALL=$ac_cv_path_install
46083 else
46084 # As a last resort, use the slow shell script. Don't cache a
46085 # value for INSTALL within a source directory, because that will
46086 # break other packages using the cache if that directory is
46087 # removed, or if the value is a relative name.
46088 INSTALL=$ac_install_sh
46089 fi
46090 fi
46091 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46092 echo "${ECHO_T}$INSTALL" >&6; }
46093
46094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46095 # It thinks the first close brace ends the variable substitution.
46096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46097
46098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46099
46100 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46101
46102 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46103 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46104 LN_S=$as_ln_s
46105 if test "$LN_S" = "ln -s"; then
46106 { echo "$as_me:$LINENO: result: yes" >&5
46107 echo "${ECHO_T}yes" >&6; }
46108 else
46109 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46110 echo "${ECHO_T}no, using $LN_S" >&6; }
46111 fi
46112
46113
46114 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46115 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46116 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46117 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46118 echo $ECHO_N "(cached) $ECHO_C" >&6
46119 else
46120 cat >conftest.make <<\_ACEOF
46121 SHELL = /bin/sh
46122 all:
46123 @echo '@@@%%%=$(MAKE)=@@@%%%'
46124 _ACEOF
46125 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46126 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46127 *@@@%%%=?*=@@@%%%*)
46128 eval ac_cv_prog_make_${ac_make}_set=yes;;
46129 *)
46130 eval ac_cv_prog_make_${ac_make}_set=no;;
46131 esac
46132 rm -f conftest.make
46133 fi
46134 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46135 { echo "$as_me:$LINENO: result: yes" >&5
46136 echo "${ECHO_T}yes" >&6; }
46137 SET_MAKE=
46138 else
46139 { echo "$as_me:$LINENO: result: no" >&5
46140 echo "${ECHO_T}no" >&6; }
46141 SET_MAKE="MAKE=${MAKE-make}"
46142 fi
46143
46144
46145
46146 if test "x$SUNCXX" = "xyes"; then
46147 AR=$CXX
46148 AROPTIONS="-xar -o"
46149
46150 elif test "x$SGICC" = "xyes"; then
46151 AR=$CXX
46152 AROPTIONS="-ar -o"
46153
46154 else
46155 if test -n "$ac_tool_prefix"; then
46156 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46157 set dummy ${ac_tool_prefix}ar; ac_word=$2
46158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46160 if test "${ac_cv_prog_AR+set}" = set; then
46161 echo $ECHO_N "(cached) $ECHO_C" >&6
46162 else
46163 if test -n "$AR"; then
46164 ac_cv_prog_AR="$AR" # Let the user override the test.
46165 else
46166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46167 for as_dir in $PATH
46168 do
46169 IFS=$as_save_IFS
46170 test -z "$as_dir" && as_dir=.
46171 for ac_exec_ext in '' $ac_executable_extensions; do
46172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46173 ac_cv_prog_AR="${ac_tool_prefix}ar"
46174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46175 break 2
46176 fi
46177 done
46178 done
46179 IFS=$as_save_IFS
46180
46181 fi
46182 fi
46183 AR=$ac_cv_prog_AR
46184 if test -n "$AR"; then
46185 { echo "$as_me:$LINENO: result: $AR" >&5
46186 echo "${ECHO_T}$AR" >&6; }
46187 else
46188 { echo "$as_me:$LINENO: result: no" >&5
46189 echo "${ECHO_T}no" >&6; }
46190 fi
46191
46192
46193 fi
46194 if test -z "$ac_cv_prog_AR"; then
46195 ac_ct_AR=$AR
46196 # Extract the first word of "ar", so it can be a program name with args.
46197 set dummy ar; ac_word=$2
46198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46200 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46201 echo $ECHO_N "(cached) $ECHO_C" >&6
46202 else
46203 if test -n "$ac_ct_AR"; then
46204 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46205 else
46206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46207 for as_dir in $PATH
46208 do
46209 IFS=$as_save_IFS
46210 test -z "$as_dir" && as_dir=.
46211 for ac_exec_ext in '' $ac_executable_extensions; do
46212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46213 ac_cv_prog_ac_ct_AR="ar"
46214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46215 break 2
46216 fi
46217 done
46218 done
46219 IFS=$as_save_IFS
46220
46221 fi
46222 fi
46223 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46224 if test -n "$ac_ct_AR"; then
46225 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46226 echo "${ECHO_T}$ac_ct_AR" >&6; }
46227 else
46228 { echo "$as_me:$LINENO: result: no" >&5
46229 echo "${ECHO_T}no" >&6; }
46230 fi
46231
46232 if test "x$ac_ct_AR" = x; then
46233 AR="ar"
46234 else
46235 case $cross_compiling:$ac_tool_warned in
46236 yes:)
46237 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46238 whose name does not start with the host triplet. If you think this
46239 configuration is useful to you, please write to autoconf@gnu.org." >&5
46240 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46241 whose name does not start with the host triplet. If you think this
46242 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46243 ac_tool_warned=yes ;;
46244 esac
46245 AR=$ac_ct_AR
46246 fi
46247 else
46248 AR="$ac_cv_prog_AR"
46249 fi
46250
46251 AROPTIONS=rcu
46252 fi
46253
46254
46255 if test -n "$ac_tool_prefix"; then
46256 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46257 set dummy ${ac_tool_prefix}strip; ac_word=$2
46258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46260 if test "${ac_cv_prog_STRIP+set}" = set; then
46261 echo $ECHO_N "(cached) $ECHO_C" >&6
46262 else
46263 if test -n "$STRIP"; then
46264 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46265 else
46266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46267 for as_dir in $PATH
46268 do
46269 IFS=$as_save_IFS
46270 test -z "$as_dir" && as_dir=.
46271 for ac_exec_ext in '' $ac_executable_extensions; do
46272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46273 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46275 break 2
46276 fi
46277 done
46278 done
46279 IFS=$as_save_IFS
46280
46281 fi
46282 fi
46283 STRIP=$ac_cv_prog_STRIP
46284 if test -n "$STRIP"; then
46285 { echo "$as_me:$LINENO: result: $STRIP" >&5
46286 echo "${ECHO_T}$STRIP" >&6; }
46287 else
46288 { echo "$as_me:$LINENO: result: no" >&5
46289 echo "${ECHO_T}no" >&6; }
46290 fi
46291
46292
46293 fi
46294 if test -z "$ac_cv_prog_STRIP"; then
46295 ac_ct_STRIP=$STRIP
46296 # Extract the first word of "strip", so it can be a program name with args.
46297 set dummy strip; ac_word=$2
46298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46300 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46301 echo $ECHO_N "(cached) $ECHO_C" >&6
46302 else
46303 if test -n "$ac_ct_STRIP"; then
46304 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46305 else
46306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46307 for as_dir in $PATH
46308 do
46309 IFS=$as_save_IFS
46310 test -z "$as_dir" && as_dir=.
46311 for ac_exec_ext in '' $ac_executable_extensions; do
46312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46313 ac_cv_prog_ac_ct_STRIP="strip"
46314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46315 break 2
46316 fi
46317 done
46318 done
46319 IFS=$as_save_IFS
46320
46321 fi
46322 fi
46323 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46324 if test -n "$ac_ct_STRIP"; then
46325 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46326 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46327 else
46328 { echo "$as_me:$LINENO: result: no" >&5
46329 echo "${ECHO_T}no" >&6; }
46330 fi
46331
46332 if test "x$ac_ct_STRIP" = x; then
46333 STRIP=":"
46334 else
46335 case $cross_compiling:$ac_tool_warned in
46336 yes:)
46337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46338 whose name does not start with the host triplet. If you think this
46339 configuration is useful to you, please write to autoconf@gnu.org." >&5
46340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46341 whose name does not start with the host triplet. If you think this
46342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46343 ac_tool_warned=yes ;;
46344 esac
46345 STRIP=$ac_ct_STRIP
46346 fi
46347 else
46348 STRIP="$ac_cv_prog_STRIP"
46349 fi
46350
46351 if test -n "$ac_tool_prefix"; then
46352 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46353 set dummy ${ac_tool_prefix}nm; ac_word=$2
46354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46356 if test "${ac_cv_prog_NM+set}" = set; then
46357 echo $ECHO_N "(cached) $ECHO_C" >&6
46358 else
46359 if test -n "$NM"; then
46360 ac_cv_prog_NM="$NM" # Let the user override the test.
46361 else
46362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46363 for as_dir in $PATH
46364 do
46365 IFS=$as_save_IFS
46366 test -z "$as_dir" && as_dir=.
46367 for ac_exec_ext in '' $ac_executable_extensions; do
46368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46369 ac_cv_prog_NM="${ac_tool_prefix}nm"
46370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46371 break 2
46372 fi
46373 done
46374 done
46375 IFS=$as_save_IFS
46376
46377 fi
46378 fi
46379 NM=$ac_cv_prog_NM
46380 if test -n "$NM"; then
46381 { echo "$as_me:$LINENO: result: $NM" >&5
46382 echo "${ECHO_T}$NM" >&6; }
46383 else
46384 { echo "$as_me:$LINENO: result: no" >&5
46385 echo "${ECHO_T}no" >&6; }
46386 fi
46387
46388
46389 fi
46390 if test -z "$ac_cv_prog_NM"; then
46391 ac_ct_NM=$NM
46392 # Extract the first word of "nm", so it can be a program name with args.
46393 set dummy nm; ac_word=$2
46394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46396 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46397 echo $ECHO_N "(cached) $ECHO_C" >&6
46398 else
46399 if test -n "$ac_ct_NM"; then
46400 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46401 else
46402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46403 for as_dir in $PATH
46404 do
46405 IFS=$as_save_IFS
46406 test -z "$as_dir" && as_dir=.
46407 for ac_exec_ext in '' $ac_executable_extensions; do
46408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46409 ac_cv_prog_ac_ct_NM="nm"
46410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46411 break 2
46412 fi
46413 done
46414 done
46415 IFS=$as_save_IFS
46416
46417 fi
46418 fi
46419 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46420 if test -n "$ac_ct_NM"; then
46421 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46422 echo "${ECHO_T}$ac_ct_NM" >&6; }
46423 else
46424 { echo "$as_me:$LINENO: result: no" >&5
46425 echo "${ECHO_T}no" >&6; }
46426 fi
46427
46428 if test "x$ac_ct_NM" = x; then
46429 NM=":"
46430 else
46431 case $cross_compiling:$ac_tool_warned in
46432 yes:)
46433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46434 whose name does not start with the host triplet. If you think this
46435 configuration is useful to you, please write to autoconf@gnu.org." >&5
46436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46437 whose name does not start with the host triplet. If you think this
46438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46439 ac_tool_warned=yes ;;
46440 esac
46441 NM=$ac_ct_NM
46442 fi
46443 else
46444 NM="$ac_cv_prog_NM"
46445 fi
46446
46447
46448 case ${BAKEFILE_HOST} in
46449 *-hp-hpux* )
46450 INSTALL_DIR="mkdir -p"
46451 ;;
46452 * )
46453 INSTALL_DIR='$(INSTALL) -d'
46454 ;;
46455 esac
46456
46457
46458 LDFLAGS_GUI=
46459 case ${BAKEFILE_HOST} in
46460 *-*-cygwin* | *-*-mingw32* )
46461 LDFLAGS_GUI="-mwindows"
46462 esac
46463
46464
46465 fi
46466
46467 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46468 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46469 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46470 echo $ECHO_N "(cached) $ECHO_C" >&6
46471 else
46472
46473 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46474 egrep -s GNU > /dev/null); then
46475 bakefile_cv_prog_makeisgnu="yes"
46476 else
46477 bakefile_cv_prog_makeisgnu="no"
46478 fi
46479
46480 fi
46481 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46482 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46483
46484 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46485 IF_GNU_MAKE=""
46486 else
46487 IF_GNU_MAKE="#"
46488 fi
46489
46490
46491
46492 PLATFORM_UNIX=0
46493 PLATFORM_WIN32=0
46494 PLATFORM_MSDOS=0
46495 PLATFORM_MAC=0
46496 PLATFORM_MACOS=0
46497 PLATFORM_MACOSX=0
46498 PLATFORM_OS2=0
46499 PLATFORM_BEOS=0
46500
46501 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46502 case "${BAKEFILE_HOST}" in
46503 *-*-mingw32* )
46504 PLATFORM_WIN32=1
46505 ;;
46506 *-pc-msdosdjgpp )
46507 PLATFORM_MSDOS=1
46508 ;;
46509 *-pc-os2_emx | *-pc-os2-emx )
46510 PLATFORM_OS2=1
46511 ;;
46512 *-*-darwin* )
46513 PLATFORM_MAC=1
46514 PLATFORM_MACOSX=1
46515 ;;
46516 *-*-beos* )
46517 PLATFORM_BEOS=1
46518 ;;
46519 powerpc-apple-macos* )
46520 PLATFORM_MAC=1
46521 PLATFORM_MACOS=1
46522 ;;
46523 * )
46524 PLATFORM_UNIX=1
46525 ;;
46526 esac
46527 else
46528 case "$BAKEFILE_FORCE_PLATFORM" in
46529 win32 )
46530 PLATFORM_WIN32=1
46531 ;;
46532 msdos )
46533 PLATFORM_MSDOS=1
46534 ;;
46535 os2 )
46536 PLATFORM_OS2=1
46537 ;;
46538 darwin )
46539 PLATFORM_MAC=1
46540 PLATFORM_MACOSX=1
46541 ;;
46542 unix )
46543 PLATFORM_UNIX=1
46544 ;;
46545 beos )
46546 PLATFORM_BEOS=1
46547 ;;
46548 * )
46549 ;;
46550 esac
46551 fi
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561
46562
46563 # Check whether --enable-omf was given.
46564 if test "${enable_omf+set}" = set; then
46565 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46566 fi
46567
46568
46569 case "${BAKEFILE_HOST}" in
46570 *-*-darwin* )
46571 if test "x$GCC" = "xyes"; then
46572 CFLAGS="$CFLAGS -fno-common"
46573 CXXFLAGS="$CXXFLAGS -fno-common"
46574 fi
46575 if test "x$XLCC" = "xyes"; then
46576 CFLAGS="$CFLAGS -qnocommon"
46577 CXXFLAGS="$CXXFLAGS -qnocommon"
46578 fi
46579 ;;
46580
46581 *-pc-os2_emx | *-pc-os2-emx )
46582 if test "x$bk_os2_use_omf" = "xyes" ; then
46583 AR=emxomfar
46584 RANLIB=:
46585 LDFLAGS="-Zomf $LDFLAGS"
46586 CFLAGS="-Zomf $CFLAGS"
46587 CXXFLAGS="-Zomf $CXXFLAGS"
46588 OS2_LIBEXT="lib"
46589 else
46590 OS2_LIBEXT="a"
46591 fi
46592 ;;
46593
46594 i*86-*-beos* )
46595 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46596 ;;
46597 esac
46598
46599
46600 SO_SUFFIX="so"
46601 SO_SUFFIX_MODULE="so"
46602 EXEEXT=""
46603 LIBPREFIX="lib"
46604 LIBEXT=".a"
46605 DLLPREFIX="lib"
46606 DLLPREFIX_MODULE=""
46607 DLLIMP_SUFFIX=""
46608 dlldir="$libdir"
46609
46610 case "${BAKEFILE_HOST}" in
46611 *-hp-hpux* )
46612 SO_SUFFIX="sl"
46613 SO_SUFFIX_MODULE="sl"
46614 ;;
46615 *-*-aix* )
46616 SO_SUFFIX="a"
46617 SO_SUFFIX_MODULE="a"
46618 ;;
46619 *-*-cygwin* )
46620 SO_SUFFIX="dll"
46621 SO_SUFFIX_MODULE="dll"
46622 DLLIMP_SUFFIX="dll.a"
46623 EXEEXT=".exe"
46624 DLLPREFIX="cyg"
46625 dlldir="$bindir"
46626 ;;
46627 *-*-mingw32* )
46628 SO_SUFFIX="dll"
46629 SO_SUFFIX_MODULE="dll"
46630 DLLIMP_SUFFIX="dll.a"
46631 EXEEXT=".exe"
46632 DLLPREFIX=""
46633 dlldir="$bindir"
46634 ;;
46635 *-pc-msdosdjgpp )
46636 EXEEXT=".exe"
46637 DLLPREFIX=""
46638 dlldir="$bindir"
46639 ;;
46640 *-pc-os2_emx | *-pc-os2-emx )
46641 SO_SUFFIX="dll"
46642 SO_SUFFIX_MODULE="dll"
46643 DLLIMP_SUFFIX=$OS2_LIBEXT
46644 EXEEXT=".exe"
46645 DLLPREFIX=""
46646 LIBPREFIX=""
46647 LIBEXT=".$OS2_LIBEXT"
46648 dlldir="$bindir"
46649 ;;
46650 *-*-darwin* )
46651 SO_SUFFIX="dylib"
46652 SO_SUFFIX_MODULE="bundle"
46653 ;;
46654 esac
46655
46656 if test "x$DLLIMP_SUFFIX" = "x" ; then
46657 DLLIMP_SUFFIX="$SO_SUFFIX"
46658 fi
46659
46660
46661
46662
46663
46664
46665
46666
46667
46668
46669
46670
46671 PIC_FLAG=""
46672 if test "x$GCC" = "xyes"; then
46673 PIC_FLAG="-fPIC"
46674 fi
46675
46676 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46677 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46678 WINDOWS_IMPLIB=0
46679
46680 case "${BAKEFILE_HOST}" in
46681 *-hp-hpux* )
46682 if test "x$GCC" != "xyes"; then
46683 LDFLAGS="$LDFLAGS -L/usr/lib"
46684
46685 SHARED_LD_CC="${CC} -b -o"
46686 SHARED_LD_CXX="${CXX} -b -o"
46687 PIC_FLAG="+Z"
46688 fi
46689 ;;
46690
46691 *-*-linux* )
46692 if test "x$GCC" != "xyes"; then
46693 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46694 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46695 if test "${bakefile_cv_prog_icc+set}" = set; then
46696 echo $ECHO_N "(cached) $ECHO_C" >&6
46697 else
46698
46699 cat >conftest.$ac_ext <<_ACEOF
46700 /* confdefs.h. */
46701 _ACEOF
46702 cat confdefs.h >>conftest.$ac_ext
46703 cat >>conftest.$ac_ext <<_ACEOF
46704 /* end confdefs.h. */
46705
46706 int
46707 main ()
46708 {
46709
46710 #ifndef __INTEL_COMPILER
46711 This is not ICC
46712 #endif
46713
46714 ;
46715 return 0;
46716 }
46717 _ACEOF
46718 rm -f conftest.$ac_objext
46719 if { (ac_try="$ac_compile"
46720 case "(($ac_try" in
46721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46722 *) ac_try_echo=$ac_try;;
46723 esac
46724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46725 (eval "$ac_compile") 2>conftest.er1
46726 ac_status=$?
46727 grep -v '^ *+' conftest.er1 >conftest.err
46728 rm -f conftest.er1
46729 cat conftest.err >&5
46730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46731 (exit $ac_status); } && {
46732 test -z "$ac_c_werror_flag" ||
46733 test ! -s conftest.err
46734 } && test -s conftest.$ac_objext; then
46735 bakefile_cv_prog_icc=yes
46736 else
46737 echo "$as_me: failed program was:" >&5
46738 sed 's/^/| /' conftest.$ac_ext >&5
46739
46740 bakefile_cv_prog_icc=no
46741
46742 fi
46743
46744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46745
46746 fi
46747 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46748 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46749 if test "$bakefile_cv_prog_icc" = "yes"; then
46750 PIC_FLAG="-KPIC"
46751 fi
46752 fi
46753 ;;
46754
46755 *-*-solaris2* )
46756 if test "x$GCC" != xyes ; then
46757 SHARED_LD_CC="${CC} -G -o"
46758 SHARED_LD_CXX="${CXX} -G -o"
46759 PIC_FLAG="-KPIC"
46760 fi
46761 ;;
46762
46763 *-*-darwin* )
46764
46765 D='$'
46766 cat <<EOF >shared-ld-sh
46767 #!/bin/sh
46768 #-----------------------------------------------------------------------------
46769 #-- Name: distrib/mac/shared-ld-sh
46770 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46771 #-- Author: Gilles Depeyrot
46772 #-- Copyright: (c) 2002 Gilles Depeyrot
46773 #-- Licence: any use permitted
46774 #-----------------------------------------------------------------------------
46775
46776 verbose=0
46777 args=""
46778 objects=""
46779 linking_flag="-dynamiclib"
46780 ldargs="-r -keep_private_externs -nostdlib"
46781
46782 while test ${D}# -gt 0; do
46783 case ${D}1 in
46784
46785 -v)
46786 verbose=1
46787 ;;
46788
46789 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46790 # collect these options and values
46791 args="${D}{args} ${D}1 ${D}2"
46792 shift
46793 ;;
46794
46795 -s|-Wl,*)
46796 # collect these load args
46797 ldargs="${D}{ldargs} ${D}1"
46798 ;;
46799
46800 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46801 # collect these options
46802 args="${D}{args} ${D}1"
46803 ;;
46804
46805 -dynamiclib|-bundle)
46806 linking_flag="${D}1"
46807 ;;
46808
46809 -*)
46810 echo "shared-ld: unhandled option '${D}1'"
46811 exit 1
46812 ;;
46813
46814 *.o | *.a | *.dylib)
46815 # collect object files
46816 objects="${D}{objects} ${D}1"
46817 ;;
46818
46819 *)
46820 echo "shared-ld: unhandled argument '${D}1'"
46821 exit 1
46822 ;;
46823
46824 esac
46825 shift
46826 done
46827
46828 status=0
46829
46830 #
46831 # Link one module containing all the others
46832 #
46833 if test ${D}{verbose} = 1; then
46834 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46835 fi
46836 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46837 status=${D}?
46838
46839 #
46840 # Link the shared library from the single module created, but only if the
46841 # previous command didn't fail:
46842 #
46843 if test ${D}{status} = 0; then
46844 if test ${D}{verbose} = 1; then
46845 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46846 fi
46847 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46848 status=${D}?
46849 fi
46850
46851 #
46852 # Remove intermediate module
46853 #
46854 rm -f master.${D}${D}.o
46855
46856 exit ${D}status
46857 EOF
46858
46859 chmod +x shared-ld-sh
46860
46861 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46862 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46863
46864
46865 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46866 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46867 if test "${bakefile_cv_gcc31+set}" = set; then
46868 echo $ECHO_N "(cached) $ECHO_C" >&6
46869 else
46870
46871 cat >conftest.$ac_ext <<_ACEOF
46872 /* confdefs.h. */
46873 _ACEOF
46874 cat confdefs.h >>conftest.$ac_ext
46875 cat >>conftest.$ac_ext <<_ACEOF
46876 /* end confdefs.h. */
46877
46878 int
46879 main ()
46880 {
46881
46882 #if (__GNUC__ < 3) || \
46883 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46884 This is old gcc
46885 #endif
46886
46887 ;
46888 return 0;
46889 }
46890 _ACEOF
46891 rm -f conftest.$ac_objext
46892 if { (ac_try="$ac_compile"
46893 case "(($ac_try" in
46894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46895 *) ac_try_echo=$ac_try;;
46896 esac
46897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46898 (eval "$ac_compile") 2>conftest.er1
46899 ac_status=$?
46900 grep -v '^ *+' conftest.er1 >conftest.err
46901 rm -f conftest.er1
46902 cat conftest.err >&5
46903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46904 (exit $ac_status); } && {
46905 test -z "$ac_c_werror_flag" ||
46906 test ! -s conftest.err
46907 } && test -s conftest.$ac_objext; then
46908
46909 bakefile_cv_gcc31=yes
46910
46911 else
46912 echo "$as_me: failed program was:" >&5
46913 sed 's/^/| /' conftest.$ac_ext >&5
46914
46915
46916 bakefile_cv_gcc31=no
46917
46918
46919 fi
46920
46921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46922
46923 fi
46924 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46925 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46926 if test "$bakefile_cv_gcc31" = "no"; then
46927 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46928 SHARED_LD_CXX="$SHARED_LD_CC"
46929 else
46930 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46931 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46932 fi
46933
46934 if test "x$GCC" == "xyes"; then
46935 PIC_FLAG="-dynamic -fPIC"
46936 fi
46937 if test "x$XLCC" = "xyes"; then
46938 PIC_FLAG="-dynamic -DPIC"
46939 fi
46940 ;;
46941
46942 *-*-aix* )
46943 if test "x$GCC" = "xyes"; then
46944 PIC_FLAG=""
46945
46946 case "${BAKEFILE_HOST}" in
46947 *-*-aix5* )
46948 LD_EXPFULL="-Wl,-bexpfull"
46949 ;;
46950 esac
46951
46952 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46953 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46954 else
46955 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46956 set dummy makeC++SharedLib; ac_word=$2
46957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46959 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46960 echo $ECHO_N "(cached) $ECHO_C" >&6
46961 else
46962 if test -n "$AIX_CXX_LD"; then
46963 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46964 else
46965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46966 for as_dir in $PATH
46967 do
46968 IFS=$as_save_IFS
46969 test -z "$as_dir" && as_dir=.
46970 for ac_exec_ext in '' $ac_executable_extensions; do
46971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46972 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46974 break 2
46975 fi
46976 done
46977 done
46978 IFS=$as_save_IFS
46979
46980 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46981 fi
46982 fi
46983 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46984 if test -n "$AIX_CXX_LD"; then
46985 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46986 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46987 else
46988 { echo "$as_me:$LINENO: result: no" >&5
46989 echo "${ECHO_T}no" >&6; }
46990 fi
46991
46992
46993 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46994 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46995 fi
46996 ;;
46997
46998 *-*-beos* )
46999 SHARED_LD_CC="${LD} -nostart -o"
47000 SHARED_LD_CXX="${LD} -nostart -o"
47001 ;;
47002
47003 *-*-irix* )
47004 if test "x$GCC" != "xyes"; then
47005 PIC_FLAG="-KPIC"
47006 fi
47007 ;;
47008
47009 *-*-cygwin* | *-*-mingw32* )
47010 PIC_FLAG=""
47011 SHARED_LD_CC="\$(CC) -shared -o"
47012 SHARED_LD_CXX="\$(CXX) -shared -o"
47013 WINDOWS_IMPLIB=1
47014 ;;
47015
47016 *-pc-os2_emx | *-pc-os2-emx )
47017 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47018 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47019 PIC_FLAG=""
47020
47021 D='$'
47022 cat <<EOF >dllar.sh
47023 #!/bin/sh
47024 #
47025 # dllar - a tool to build both a .dll and an .a file
47026 # from a set of object (.o) files for EMX/OS2.
47027 #
47028 # Written by Andrew Zabolotny, bit@freya.etu.ru
47029 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47030 #
47031 # This script will accept a set of files on the command line.
47032 # All the public symbols from the .o files will be exported into
47033 # a .DEF file, then linker will be run (through gcc) against them to
47034 # build a shared library consisting of all given .o files. All libraries
47035 # (.a) will be first decompressed into component .o files then act as
47036 # described above. You can optionally give a description (-d "description")
47037 # which will be put into .DLL. To see the list of accepted options (as well
47038 # as command-line format) simply run this program without options. The .DLL
47039 # is built to be imported by name (there is no guarantee that new versions
47040 # of the library you build will have same ordinals for same symbols).
47041 #
47042 # dllar is free software; you can redistribute it and/or modify
47043 # it under the terms of the GNU General Public License as published by
47044 # the Free Software Foundation; either version 2, or (at your option)
47045 # any later version.
47046 #
47047 # dllar is distributed in the hope that it will be useful,
47048 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47049 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47050 # GNU General Public License for more details.
47051 #
47052 # You should have received a copy of the GNU General Public License
47053 # along with dllar; see the file COPYING. If not, write to the Free
47054 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47055 # 02111-1307, USA.
47056
47057 # To successfuly run this program you will need:
47058 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47059 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47060 # - gcc
47061 # (used to build the .dll)
47062 # - emxexp
47063 # (used to create .def file from .o files)
47064 # - emximp
47065 # (used to create .a file from .def file)
47066 # - GNU text utilites (cat, sort, uniq)
47067 # used to process emxexp output
47068 # - GNU file utilities (mv, rm)
47069 # - GNU sed
47070 # - lxlite (optional, see flag below)
47071 # (used for general .dll cleanup)
47072 #
47073
47074 flag_USE_LXLITE=1;
47075
47076 #
47077 # helper functions
47078 # basnam, variant of basename, which does _not_ remove the path, _iff_
47079 # second argument (suffix to remove) is given
47080 basnam(){
47081 case ${D}# in
47082 1)
47083 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47084 ;;
47085 2)
47086 echo ${D}1 | sed 's/'${D}2'${D}//'
47087 ;;
47088 *)
47089 echo "error in basnam ${D}*"
47090 exit 8
47091 ;;
47092 esac
47093 }
47094
47095 # Cleanup temporary files and output
47096 CleanUp() {
47097 cd ${D}curDir
47098 for i in ${D}inputFiles ; do
47099 case ${D}i in
47100 *!)
47101 rm -rf \`basnam ${D}i !\`
47102 ;;
47103 *)
47104 ;;
47105 esac
47106 done
47107
47108 # Kill result in case of failure as there is just to many stupid make/nmake
47109 # things out there which doesn't do this.
47110 if [ ${D}# -eq 0 ]; then
47111 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47112 fi
47113 }
47114
47115 # Print usage and exit script with rc=1.
47116 PrintHelp() {
47117 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47118 echo ' [-name-mangler-script script.sh]'
47119 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47120 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47121 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47122 echo ' [*.o] [*.a]'
47123 echo '*> "output_file" should have no extension.'
47124 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47125 echo ' The import library name is derived from this and is set to "name".a,'
47126 echo ' unless overridden by -import'
47127 echo '*> "importlib_name" should have no extension.'
47128 echo ' If it has the .o, or .a extension, it is automatically removed.'
47129 echo ' This name is used as the import library name and may be longer and'
47130 echo ' more descriptive than the DLL name which has to follow the old '
47131 echo ' 8.3 convention of FAT.'
47132 echo '*> "script.sh may be given to override the output_file name by a'
47133 echo ' different name. It is mainly useful if the regular make process'
47134 echo ' of some package does not take into account OS/2 restriction of'
47135 echo ' DLL name lengths. It takes the importlib name as input and is'
47136 echo ' supposed to procude a shorter name as output. The script should'
47137 echo ' expect to get importlib_name without extension and should produce'
47138 echo ' a (max.) 8 letter name without extension.'
47139 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47140 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47141 echo ' These flags will be put at the start of GCC command line.'
47142 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47143 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47144 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47145 echo ' If the last character of a symbol is "*", all symbols beginning'
47146 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47147 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47148 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47149 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47150 echo ' C runtime DLLs.'
47151 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47152 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47153 echo ' unchanged to GCC at the end of command line.'
47154 echo '*> If you create a DLL from a library and you do not specify -o,'
47155 echo ' the basename for DLL and import library will be set to library name,'
47156 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47157 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47158 echo ' library will be renamed into gcc_s.a.'
47159 echo '--------'
47160 echo 'Example:'
47161 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47162 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47163 CleanUp
47164 exit 1
47165 }
47166
47167 # Execute a command.
47168 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47169 # @Uses Whatever CleanUp() uses.
47170 doCommand() {
47171 echo "${D}*"
47172 eval ${D}*
47173 rcCmd=${D}?
47174
47175 if [ ${D}rcCmd -ne 0 ]; then
47176 echo "command failed, exit code="${D}rcCmd
47177 CleanUp
47178 exit ${D}rcCmd
47179 fi
47180 }
47181
47182 # main routine
47183 # setup globals
47184 cmdLine=${D}*
47185 outFile=""
47186 outimpFile=""
47187 inputFiles=""
47188 renameScript=""
47189 description=""
47190 CC=gcc.exe
47191 CFLAGS="-s -Zcrtdll"
47192 EXTRA_CFLAGS=""
47193 EXPORT_BY_ORDINALS=0
47194 exclude_symbols=""
47195 library_flags=""
47196 curDir=\`pwd\`
47197 curDirS=curDir
47198 case ${D}curDirS in
47199 */)
47200 ;;
47201 *)
47202 curDirS=${D}{curDirS}"/"
47203 ;;
47204 esac
47205 # Parse commandline
47206 libsToLink=0
47207 omfLinking=0
47208 while [ ${D}1 ]; do
47209 case ${D}1 in
47210 -ord*)
47211 EXPORT_BY_ORDINALS=1;
47212 ;;
47213 -o*)
47214 shift
47215 outFile=${D}1
47216 ;;
47217 -i*)
47218 shift
47219 outimpFile=${D}1
47220 ;;
47221 -name-mangler-script)
47222 shift
47223 renameScript=${D}1
47224 ;;
47225 -d*)
47226 shift
47227 description=${D}1
47228 ;;
47229 -f*)
47230 shift
47231 CFLAGS=${D}1
47232 ;;
47233 -c*)
47234 shift
47235 CC=${D}1
47236 ;;
47237 -h*)
47238 PrintHelp
47239 ;;
47240 -ex*)
47241 shift
47242 exclude_symbols=${D}{exclude_symbols}${D}1" "
47243 ;;
47244 -libf*)
47245 shift
47246 library_flags=${D}{library_flags}${D}1" "
47247 ;;
47248 -nocrt*)
47249 CFLAGS="-s"
47250 ;;
47251 -nolxl*)
47252 flag_USE_LXLITE=0
47253 ;;
47254 -* | /*)
47255 case ${D}1 in
47256 -L* | -l*)
47257 libsToLink=1
47258 ;;
47259 -Zomf)
47260 omfLinking=1
47261 ;;
47262 *)
47263 ;;
47264 esac
47265 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47266 ;;
47267 *.dll)
47268 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47269 if [ ${D}omfLinking -eq 1 ]; then
47270 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47271 else
47272 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47273 fi
47274 ;;
47275 *)
47276 found=0;
47277 if [ ${D}libsToLink -ne 0 ]; then
47278 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47279 else
47280 for file in ${D}1 ; do
47281 if [ -f ${D}file ]; then
47282 inputFiles="${D}{inputFiles} ${D}file"
47283 found=1
47284 fi
47285 done
47286 if [ ${D}found -eq 0 ]; then
47287 echo "ERROR: No file(s) found: "${D}1
47288 exit 8
47289 fi
47290 fi
47291 ;;
47292 esac
47293 shift
47294 done # iterate cmdline words
47295
47296 #
47297 if [ -z "${D}inputFiles" ]; then
47298 echo "dllar: no input files"
47299 PrintHelp
47300 fi
47301
47302 # Now extract all .o files from .a files
47303 newInputFiles=""
47304 for file in ${D}inputFiles ; do
47305 case ${D}file in
47306 *.a | *.lib)
47307 case ${D}file in
47308 *.a)
47309 suffix=".a"
47310 AR="ar"
47311 ;;
47312 *.lib)
47313 suffix=".lib"
47314 AR="emxomfar"
47315 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47316 ;;
47317 *)
47318 ;;
47319 esac
47320 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47321 mkdir ${D}dirname
47322 if [ ${D}? -ne 0 ]; then
47323 echo "Failed to create subdirectory ./${D}dirname"
47324 CleanUp
47325 exit 8;
47326 fi
47327 # Append '!' to indicate archive
47328 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47329 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47330 cd ${D}curDir
47331 found=0;
47332 for subfile in ${D}dirname/*.o* ; do
47333 if [ -f ${D}subfile ]; then
47334 found=1
47335 if [ -s ${D}subfile ]; then
47336 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47337 newInputFiles="${D}newInputFiles ${D}subfile"
47338 fi
47339 fi
47340 done
47341 if [ ${D}found -eq 0 ]; then
47342 echo "WARNING: there are no files in archive \\'${D}file\\'"
47343 fi
47344 ;;
47345 *)
47346 newInputFiles="${D}{newInputFiles} ${D}file"
47347 ;;
47348 esac
47349 done
47350 inputFiles="${D}newInputFiles"
47351
47352 # Output filename(s).
47353 do_backup=0;
47354 if [ -z ${D}outFile ]; then
47355 do_backup=1;
47356 set outFile ${D}inputFiles; outFile=${D}2
47357 fi
47358
47359 # If it is an archive, remove the '!' and the '_%' suffixes
47360 case ${D}outFile in
47361 *_%!)
47362 outFile=\`basnam ${D}outFile _%!\`
47363 ;;
47364 *)
47365 ;;
47366 esac
47367 case ${D}outFile in
47368 *.dll)
47369 outFile=\`basnam ${D}outFile .dll\`
47370 ;;
47371 *.DLL)
47372 outFile=\`basnam ${D}outFile .DLL\`
47373 ;;
47374 *.o)
47375 outFile=\`basnam ${D}outFile .o\`
47376 ;;
47377 *.obj)
47378 outFile=\`basnam ${D}outFile .obj\`
47379 ;;
47380 *.a)
47381 outFile=\`basnam ${D}outFile .a\`
47382 ;;
47383 *.lib)
47384 outFile=\`basnam ${D}outFile .lib\`
47385 ;;
47386 *)
47387 ;;
47388 esac
47389 case ${D}outimpFile in
47390 *.a)
47391 outimpFile=\`basnam ${D}outimpFile .a\`
47392 ;;
47393 *.lib)
47394 outimpFile=\`basnam ${D}outimpFile .lib\`
47395 ;;
47396 *)
47397 ;;
47398 esac
47399 if [ -z ${D}outimpFile ]; then
47400 outimpFile=${D}outFile
47401 fi
47402 defFile="${D}{outFile}.def"
47403 arcFile="${D}{outimpFile}.a"
47404 arcFile2="${D}{outimpFile}.lib"
47405
47406 #create ${D}dllFile as something matching 8.3 restrictions,
47407 if [ -z ${D}renameScript ] ; then
47408 dllFile="${D}outFile"
47409 else
47410 dllFile=\`${D}renameScript ${D}outimpFile\`
47411 fi
47412
47413 if [ ${D}do_backup -ne 0 ] ; then
47414 if [ -f ${D}arcFile ] ; then
47415 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47416 fi
47417 if [ -f ${D}arcFile2 ] ; then
47418 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47419 fi
47420 fi
47421
47422 # Extract public symbols from all the object files.
47423 tmpdefFile=${D}{defFile}_%
47424 rm -f ${D}tmpdefFile
47425 for file in ${D}inputFiles ; do
47426 case ${D}file in
47427 *!)
47428 ;;
47429 *)
47430 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47431 ;;
47432 esac
47433 done
47434
47435 # Create the def file.
47436 rm -f ${D}defFile
47437 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47438 dllFile="${D}{dllFile}.dll"
47439 if [ ! -z ${D}description ]; then
47440 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47441 fi
47442 echo "EXPORTS" >> ${D}defFile
47443
47444 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47445 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47446
47447 # Checks if the export is ok or not.
47448 for word in ${D}exclude_symbols; do
47449 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47450 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47451 done
47452
47453
47454 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47455 sed "=" < ${D}tmpdefFile | \\
47456 sed '
47457 N
47458 : loop
47459 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47460 t loop
47461 ' > ${D}{tmpdefFile}%
47462 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47463 else
47464 rm -f ${D}{tmpdefFile}%
47465 fi
47466 cat ${D}tmpdefFile >> ${D}defFile
47467 rm -f ${D}tmpdefFile
47468
47469 # Do linking, create implib, and apply lxlite.
47470 gccCmdl="";
47471 for file in ${D}inputFiles ; do
47472 case ${D}file in
47473 *!)
47474 ;;
47475 *)
47476 gccCmdl="${D}gccCmdl ${D}file"
47477 ;;
47478 esac
47479 done
47480 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47481 touch "${D}{outFile}.dll"
47482
47483 doCommand "emximp -o ${D}arcFile ${D}defFile"
47484 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47485 add_flags="";
47486 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47487 add_flags="-ynd"
47488 fi
47489 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47490 fi
47491 doCommand "emxomf -s -l ${D}arcFile"
47492
47493 # Successful exit.
47494 CleanUp 1
47495 exit 0
47496 EOF
47497
47498 chmod +x dllar.sh
47499 ;;
47500
47501 powerpc-apple-macos* | \
47502 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47503 *-*-mirbsd* | \
47504 *-*-sunos4* | \
47505 *-*-osf* | \
47506 *-*-dgux5* | \
47507 *-*-sysv5* | \
47508 *-pc-msdosdjgpp )
47509 ;;
47510
47511 *)
47512 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47513 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47514 { (exit 1); exit 1; }; }
47515 esac
47516
47517 if test "x$PIC_FLAG" != "x" ; then
47518 PIC_FLAG="$PIC_FLAG -DPIC"
47519 fi
47520
47521 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47522 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47523 fi
47524 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47525 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47526 fi
47527
47528
47529
47530
47531
47532
47533
47534
47535
47536 USE_SOVERSION=0
47537 USE_SOVERLINUX=0
47538 USE_SOVERSOLARIS=0
47539 USE_SOVERCYGWIN=0
47540 USE_SOSYMLINKS=0
47541 USE_MACVERSION=0
47542 SONAME_FLAG=
47543
47544 case "${BAKEFILE_HOST}" in
47545 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47546 SONAME_FLAG="-Wl,-soname,"
47547 USE_SOVERSION=1
47548 USE_SOVERLINUX=1
47549 USE_SOSYMLINKS=1
47550 ;;
47551
47552 *-*-solaris2* )
47553 SONAME_FLAG="-h "
47554 USE_SOVERSION=1
47555 USE_SOVERSOLARIS=1
47556 USE_SOSYMLINKS=1
47557 ;;
47558
47559 *-*-darwin* )
47560 USE_MACVERSION=1
47561 USE_SOVERSION=1
47562 USE_SOSYMLINKS=1
47563 ;;
47564
47565 *-*-cygwin* )
47566 USE_SOVERSION=1
47567 USE_SOVERCYGWIN=1
47568 ;;
47569 esac
47570
47571
47572
47573
47574
47575
47576
47577
47578
47579
47580 # Check whether --enable-dependency-tracking was given.
47581 if test "${enable_dependency_tracking+set}" = set; then
47582 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47583 fi
47584
47585
47586 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47587 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47588
47589 BK_DEPS=""
47590 if test "x$bk_use_trackdeps" = "xno" ; then
47591 DEPS_TRACKING=0
47592 { echo "$as_me:$LINENO: result: disabled" >&5
47593 echo "${ECHO_T}disabled" >&6; }
47594 else
47595 DEPS_TRACKING=1
47596
47597 if test "x$GCC" = "xyes"; then
47598 DEPSMODE=gcc
47599 case "${BAKEFILE_HOST}" in
47600 *-*-darwin* )
47601 DEPSFLAG="-no-cpp-precomp -MMD"
47602 ;;
47603 * )
47604 DEPSFLAG="-MMD"
47605 ;;
47606 esac
47607 { echo "$as_me:$LINENO: result: gcc" >&5
47608 echo "${ECHO_T}gcc" >&6; }
47609 elif test "x$MWCC" = "xyes"; then
47610 DEPSMODE=mwcc
47611 DEPSFLAG="-MM"
47612 { echo "$as_me:$LINENO: result: mwcc" >&5
47613 echo "${ECHO_T}mwcc" >&6; }
47614 elif test "x$SUNCC" = "xyes"; then
47615 DEPSMODE=unixcc
47616 DEPSFLAG="-xM1"
47617 { echo "$as_me:$LINENO: result: Sun cc" >&5
47618 echo "${ECHO_T}Sun cc" >&6; }
47619 elif test "x$SGICC" = "xyes"; then
47620 DEPSMODE=unixcc
47621 DEPSFLAG="-M"
47622 { echo "$as_me:$LINENO: result: SGI cc" >&5
47623 echo "${ECHO_T}SGI cc" >&6; }
47624 elif test "x$HPCC" = "xyes"; then
47625 DEPSMODE=unixcc
47626 DEPSFLAG="+make"
47627 { echo "$as_me:$LINENO: result: HP cc" >&5
47628 echo "${ECHO_T}HP cc" >&6; }
47629 elif test "x$COMPAQCC" = "xyes"; then
47630 DEPSMODE=gcc
47631 DEPSFLAG="-MD"
47632 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47633 echo "${ECHO_T}Compaq cc" >&6; }
47634 else
47635 DEPS_TRACKING=0
47636 { echo "$as_me:$LINENO: result: none" >&5
47637 echo "${ECHO_T}none" >&6; }
47638 fi
47639
47640 if test $DEPS_TRACKING = 1 ; then
47641
47642 D='$'
47643 cat <<EOF >bk-deps
47644 #!/bin/sh
47645
47646 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47647 # script. It is used to track C/C++ files dependencies in portable way.
47648 #
47649 # Permission is given to use this file in any way.
47650
47651 DEPSMODE=${DEPSMODE}
47652 DEPSDIR=.deps
47653 DEPSFLAG="${DEPSFLAG}"
47654
47655 mkdir -p ${D}DEPSDIR
47656
47657 if test ${D}DEPSMODE = gcc ; then
47658 ${D}* ${D}{DEPSFLAG}
47659 status=${D}?
47660 if test ${D}{status} != 0 ; then
47661 exit ${D}{status}
47662 fi
47663 # move created file to the location we want it in:
47664 while test ${D}# -gt 0; do
47665 case "${D}1" in
47666 -o )
47667 shift
47668 objfile=${D}1
47669 ;;
47670 -* )
47671 ;;
47672 * )
47673 srcfile=${D}1
47674 ;;
47675 esac
47676 shift
47677 done
47678 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47679 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47680 if test -f ${D}depfile ; then
47681 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47682 rm -f ${D}depfile
47683 else
47684 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47685 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47686 if test ! -f ${D}depfile ; then
47687 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47688 depfile="${D}objfile.d"
47689 fi
47690 if test -f ${D}depfile ; then
47691 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47692 rm -f ${D}depfile
47693 fi
47694 fi
47695 exit 0
47696 elif test ${D}DEPSMODE = mwcc ; then
47697 ${D}* || exit ${D}?
47698 # Run mwcc again with -MM and redirect into the dep file we want
47699 # NOTE: We can't use shift here because we need ${D}* to be valid
47700 prevarg=
47701 for arg in ${D}* ; do
47702 if test "${D}prevarg" = "-o"; then
47703 objfile=${D}arg
47704 else
47705 case "${D}arg" in
47706 -* )
47707 ;;
47708 * )
47709 srcfile=${D}arg
47710 ;;
47711 esac
47712 fi
47713 prevarg="${D}arg"
47714 done
47715 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47716 exit 0
47717 elif test ${D}DEPSMODE = unixcc; then
47718 ${D}* || exit ${D}?
47719 # Run compiler again with deps flag and redirect into the dep file.
47720 # It doesn't work if the '-o FILE' option is used, but without it the
47721 # dependency file will contain the wrong name for the object. So it is
47722 # removed from the command line, and the dep file is fixed with sed.
47723 cmd=""
47724 while test ${D}# -gt 0; do
47725 case "${D}1" in
47726 -o )
47727 shift
47728 objfile=${D}1
47729 ;;
47730 * )
47731 eval arg${D}#=\\${D}1
47732 cmd="${D}cmd \\${D}arg${D}#"
47733 ;;
47734 esac
47735 shift
47736 done
47737 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47738 exit 0
47739 else
47740 ${D}*
47741 exit ${D}?
47742 fi
47743 EOF
47744
47745 chmod +x bk-deps
47746 BK_DEPS="`pwd`/bk-deps"
47747 fi
47748 fi
47749
47750
47751
47752
47753
47754 case ${BAKEFILE_HOST} in
47755 *-*-cygwin* | *-*-mingw32* )
47756 if test -n "$ac_tool_prefix"; then
47757 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47758 set dummy ${ac_tool_prefix}windres; ac_word=$2
47759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47761 if test "${ac_cv_prog_WINDRES+set}" = set; then
47762 echo $ECHO_N "(cached) $ECHO_C" >&6
47763 else
47764 if test -n "$WINDRES"; then
47765 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47766 else
47767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47768 for as_dir in $PATH
47769 do
47770 IFS=$as_save_IFS
47771 test -z "$as_dir" && as_dir=.
47772 for ac_exec_ext in '' $ac_executable_extensions; do
47773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47774 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47776 break 2
47777 fi
47778 done
47779 done
47780 IFS=$as_save_IFS
47781
47782 fi
47783 fi
47784 WINDRES=$ac_cv_prog_WINDRES
47785 if test -n "$WINDRES"; then
47786 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47787 echo "${ECHO_T}$WINDRES" >&6; }
47788 else
47789 { echo "$as_me:$LINENO: result: no" >&5
47790 echo "${ECHO_T}no" >&6; }
47791 fi
47792
47793
47794 fi
47795 if test -z "$ac_cv_prog_WINDRES"; then
47796 ac_ct_WINDRES=$WINDRES
47797 # Extract the first word of "windres", so it can be a program name with args.
47798 set dummy windres; ac_word=$2
47799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47801 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47802 echo $ECHO_N "(cached) $ECHO_C" >&6
47803 else
47804 if test -n "$ac_ct_WINDRES"; then
47805 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47806 else
47807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47808 for as_dir in $PATH
47809 do
47810 IFS=$as_save_IFS
47811 test -z "$as_dir" && as_dir=.
47812 for ac_exec_ext in '' $ac_executable_extensions; do
47813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47814 ac_cv_prog_ac_ct_WINDRES="windres"
47815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47816 break 2
47817 fi
47818 done
47819 done
47820 IFS=$as_save_IFS
47821
47822 fi
47823 fi
47824 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47825 if test -n "$ac_ct_WINDRES"; then
47826 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47827 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47828 else
47829 { echo "$as_me:$LINENO: result: no" >&5
47830 echo "${ECHO_T}no" >&6; }
47831 fi
47832
47833 if test "x$ac_ct_WINDRES" = x; then
47834 WINDRES=""
47835 else
47836 case $cross_compiling:$ac_tool_warned in
47837 yes:)
47838 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47839 whose name does not start with the host triplet. If you think this
47840 configuration is useful to you, please write to autoconf@gnu.org." >&5
47841 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47842 whose name does not start with the host triplet. If you think this
47843 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47844 ac_tool_warned=yes ;;
47845 esac
47846 WINDRES=$ac_ct_WINDRES
47847 fi
47848 else
47849 WINDRES="$ac_cv_prog_WINDRES"
47850 fi
47851
47852 ;;
47853
47854 *-*-darwin* | powerpc-apple-macos* )
47855 # Extract the first word of "Rez", so it can be a program name with args.
47856 set dummy Rez; ac_word=$2
47857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47859 if test "${ac_cv_prog_REZ+set}" = set; then
47860 echo $ECHO_N "(cached) $ECHO_C" >&6
47861 else
47862 if test -n "$REZ"; then
47863 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47864 else
47865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47866 for as_dir in $PATH
47867 do
47868 IFS=$as_save_IFS
47869 test -z "$as_dir" && as_dir=.
47870 for ac_exec_ext in '' $ac_executable_extensions; do
47871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47872 ac_cv_prog_REZ="Rez"
47873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47874 break 2
47875 fi
47876 done
47877 done
47878 IFS=$as_save_IFS
47879
47880 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47881 fi
47882 fi
47883 REZ=$ac_cv_prog_REZ
47884 if test -n "$REZ"; then
47885 { echo "$as_me:$LINENO: result: $REZ" >&5
47886 echo "${ECHO_T}$REZ" >&6; }
47887 else
47888 { echo "$as_me:$LINENO: result: no" >&5
47889 echo "${ECHO_T}no" >&6; }
47890 fi
47891
47892
47893 # Extract the first word of "SetFile", so it can be a program name with args.
47894 set dummy SetFile; ac_word=$2
47895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47897 if test "${ac_cv_prog_SETFILE+set}" = set; then
47898 echo $ECHO_N "(cached) $ECHO_C" >&6
47899 else
47900 if test -n "$SETFILE"; then
47901 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47902 else
47903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47904 for as_dir in $PATH
47905 do
47906 IFS=$as_save_IFS
47907 test -z "$as_dir" && as_dir=.
47908 for ac_exec_ext in '' $ac_executable_extensions; do
47909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47910 ac_cv_prog_SETFILE="SetFile"
47911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47912 break 2
47913 fi
47914 done
47915 done
47916 IFS=$as_save_IFS
47917
47918 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47919 fi
47920 fi
47921 SETFILE=$ac_cv_prog_SETFILE
47922 if test -n "$SETFILE"; then
47923 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47924 echo "${ECHO_T}$SETFILE" >&6; }
47925 else
47926 { echo "$as_me:$LINENO: result: no" >&5
47927 echo "${ECHO_T}no" >&6; }
47928 fi
47929
47930
47931 ;;
47932 esac
47933
47934
47935
47936
47937
47938
47939 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47940
47941
47942 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47943
47944
47945
47946 # Check whether --enable-precomp-headers was given.
47947 if test "${enable_precomp_headers+set}" = set; then
47948 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47949 fi
47950
47951
47952 GCC_PCH=0
47953 ICC_PCH=0
47954 USE_PCH=0
47955 BK_MAKE_PCH=""
47956
47957 case ${BAKEFILE_HOST} in
47958 *-*-cygwin* )
47959 bk_use_pch="no"
47960 ;;
47961 esac
47962
47963 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47964 if test "x$GCC" = "xyes"; then
47965 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47966 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47967 cat >conftest.$ac_ext <<_ACEOF
47968 /* confdefs.h. */
47969 _ACEOF
47970 cat confdefs.h >>conftest.$ac_ext
47971 cat >>conftest.$ac_ext <<_ACEOF
47972 /* end confdefs.h. */
47973
47974 int
47975 main ()
47976 {
47977
47978 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47979 There is no PCH support
47980 #endif
47981 #if (__GNUC__ < 3)
47982 There is no PCH support
47983 #endif
47984 #if (__GNUC__ == 3) && \
47985 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47986 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47987 ( defined(__INTEL_COMPILER) )
47988 There is no PCH support
47989 #endif
47990
47991 ;
47992 return 0;
47993 }
47994 _ACEOF
47995 rm -f conftest.$ac_objext
47996 if { (ac_try="$ac_compile"
47997 case "(($ac_try" in
47998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47999 *) ac_try_echo=$ac_try;;
48000 esac
48001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48002 (eval "$ac_compile") 2>conftest.er1
48003 ac_status=$?
48004 grep -v '^ *+' conftest.er1 >conftest.err
48005 rm -f conftest.er1
48006 cat conftest.err >&5
48007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48008 (exit $ac_status); } && {
48009 test -z "$ac_c_werror_flag" ||
48010 test ! -s conftest.err
48011 } && test -s conftest.$ac_objext; then
48012
48013 { echo "$as_me:$LINENO: result: yes" >&5
48014 echo "${ECHO_T}yes" >&6; }
48015 GCC_PCH=1
48016
48017 else
48018 echo "$as_me: failed program was:" >&5
48019 sed 's/^/| /' conftest.$ac_ext >&5
48020
48021
48022 cat >conftest.$ac_ext <<_ACEOF
48023 /* confdefs.h. */
48024 _ACEOF
48025 cat confdefs.h >>conftest.$ac_ext
48026 cat >>conftest.$ac_ext <<_ACEOF
48027 /* end confdefs.h. */
48028
48029 int
48030 main ()
48031 {
48032
48033 #if !defined(__INTEL_COMPILER) || \
48034 (__INTEL_COMPILER < 800)
48035 There is no PCH support
48036 #endif
48037
48038 ;
48039 return 0;
48040 }
48041 _ACEOF
48042 rm -f conftest.$ac_objext
48043 if { (ac_try="$ac_compile"
48044 case "(($ac_try" in
48045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48046 *) ac_try_echo=$ac_try;;
48047 esac
48048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48049 (eval "$ac_compile") 2>conftest.er1
48050 ac_status=$?
48051 grep -v '^ *+' conftest.er1 >conftest.err
48052 rm -f conftest.er1
48053 cat conftest.err >&5
48054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48055 (exit $ac_status); } && {
48056 test -z "$ac_c_werror_flag" ||
48057 test ! -s conftest.err
48058 } && test -s conftest.$ac_objext; then
48059
48060 { echo "$as_me:$LINENO: result: yes" >&5
48061 echo "${ECHO_T}yes" >&6; }
48062 ICC_PCH=1
48063
48064 else
48065 echo "$as_me: failed program was:" >&5
48066 sed 's/^/| /' conftest.$ac_ext >&5
48067
48068
48069 { echo "$as_me:$LINENO: result: no" >&5
48070 echo "${ECHO_T}no" >&6; }
48071
48072 fi
48073
48074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48075
48076 fi
48077
48078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48079 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48080 USE_PCH=1
48081
48082 D='$'
48083 cat <<EOF >bk-make-pch
48084 #!/bin/sh
48085
48086 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48087 # script. It is used to generated precompiled headers.
48088 #
48089 # Permission is given to use this file in any way.
48090
48091 outfile="${D}{1}"
48092 header="${D}{2}"
48093 shift
48094 shift
48095
48096 compiler=""
48097 headerfile=""
48098
48099 while test ${D}{#} -gt 0; do
48100 add_to_cmdline=1
48101 case "${D}{1}" in
48102 -I* )
48103 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48104 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48105 headerfile="${D}{incdir}/${D}{header}"
48106 fi
48107 ;;
48108 -use-pch|-use_pch )
48109 shift
48110 add_to_cmdline=0
48111 ;;
48112 esac
48113 if test ${D}add_to_cmdline = 1 ; then
48114 compiler="${D}{compiler} ${D}{1}"
48115 fi
48116 shift
48117 done
48118
48119 if test "x${D}{headerfile}" = "x" ; then
48120 echo "error: can't find header ${D}{header} in include paths" >&2
48121 else
48122 if test -f ${D}{outfile} ; then
48123 rm -f ${D}{outfile}
48124 else
48125 mkdir -p \`dirname ${D}{outfile}\`
48126 fi
48127 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48128 mkdir -p .deps
48129 if test "x${GCC_PCH}" = "x1" ; then
48130 # can do this because gcc is >= 3.4:
48131 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48132 elif test "x${ICC_PCH}" = "x1" ; then
48133 filename=pch_gen-${D}${D}
48134 file=${D}{filename}.c
48135 dfile=${D}{filename}.d
48136 cat > ${D}file <<EOT
48137 #include "${D}header"
48138 EOT
48139 # using -MF icc complains about differing command lines in creation/use
48140 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48141 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48142 rm -f ${D}file ${D}dfile ${D}{filename}.o
48143 fi
48144 exit ${D}{?}
48145 fi
48146 EOF
48147
48148 chmod +x bk-make-pch
48149 BK_MAKE_PCH="`pwd`/bk-make-pch"
48150 fi
48151 fi
48152 fi
48153
48154
48155
48156
48157
48158 COND_BUILD_DEBUG="#"
48159 if test "x$BUILD" = "xdebug" ; then
48160 COND_BUILD_DEBUG=""
48161 fi
48162
48163 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48164 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48165 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48166 fi
48167
48168 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48169 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48170 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48171 fi
48172
48173 COND_BUILD_DEBUG_UNICODE_0="#"
48174 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48175 COND_BUILD_DEBUG_UNICODE_0=""
48176 fi
48177
48178 COND_BUILD_DEBUG_UNICODE_1="#"
48179 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48180 COND_BUILD_DEBUG_UNICODE_1=""
48181 fi
48182
48183 COND_BUILD_RELEASE="#"
48184 if test "x$BUILD" = "xrelease" ; then
48185 COND_BUILD_RELEASE=""
48186 fi
48187
48188 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48189 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48190 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48191 fi
48192
48193 COND_BUILD_RELEASE_UNICODE_0="#"
48194 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48195 COND_BUILD_RELEASE_UNICODE_0=""
48196 fi
48197
48198 COND_BUILD_RELEASE_UNICODE_1="#"
48199 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48200 COND_BUILD_RELEASE_UNICODE_1=""
48201 fi
48202
48203 COND_DEBUG_FLAG_1="#"
48204 if test "x$DEBUG_FLAG" = "x1" ; then
48205 COND_DEBUG_FLAG_1=""
48206 fi
48207
48208 COND_DEBUG_INFO_0="#"
48209 if test "x$DEBUG_INFO" = "x0" ; then
48210 COND_DEBUG_INFO_0=""
48211 fi
48212
48213 COND_DEBUG_INFO_1="#"
48214 if test "x$DEBUG_INFO" = "x1" ; then
48215 COND_DEBUG_INFO_1=""
48216 fi
48217
48218 COND_DEPS_TRACKING_0="#"
48219 if test "x$DEPS_TRACKING" = "x0" ; then
48220 COND_DEPS_TRACKING_0=""
48221 fi
48222
48223 COND_DEPS_TRACKING_1="#"
48224 if test "x$DEPS_TRACKING" = "x1" ; then
48225 COND_DEPS_TRACKING_1=""
48226 fi
48227
48228 COND_GCC_PCH_1="#"
48229 if test "x$GCC_PCH" = "x1" ; then
48230 COND_GCC_PCH_1=""
48231 fi
48232
48233 COND_ICC_PCH_1="#"
48234 if test "x$ICC_PCH" = "x1" ; then
48235 COND_ICC_PCH_1=""
48236 fi
48237
48238 COND_MONOLITHIC_0="#"
48239 if test "x$MONOLITHIC" = "x0" ; then
48240 COND_MONOLITHIC_0=""
48241 fi
48242
48243 COND_MONOLITHIC_0_SHARED_0="#"
48244 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48245 COND_MONOLITHIC_0_SHARED_0=""
48246 fi
48247
48248 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48249 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48250 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48251 fi
48252
48253 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48254 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48255 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48256 fi
48257
48258 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48259 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48260 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48261 fi
48262
48263 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48264 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48265 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48266 fi
48267
48268 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48269 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48270 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48271 fi
48272
48273 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48274 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48275 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48276 fi
48277
48278 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48279 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48280 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48281 fi
48282
48283 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48284 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48285 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48286 fi
48287
48288 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48289 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48290 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48291 fi
48292
48293 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48294 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48295 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48296 fi
48297
48298 COND_MONOLITHIC_0_SHARED_1="#"
48299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48300 COND_MONOLITHIC_0_SHARED_1=""
48301 fi
48302
48303 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48305 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48306 fi
48307
48308 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48310 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48311 fi
48312
48313 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48315 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48316 fi
48317
48318 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48320 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48321 fi
48322
48323 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48325 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48326 fi
48327
48328 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48329 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48330 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48331 fi
48332
48333 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48334 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48335 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48336 fi
48337
48338 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48339 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48340 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48341 fi
48342
48343 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48344 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48345 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48346 fi
48347
48348 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48349 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48350 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48351 fi
48352
48353 COND_MONOLITHIC_0_USE_AUI_1="#"
48354 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48355 COND_MONOLITHIC_0_USE_AUI_1=""
48356 fi
48357
48358 COND_MONOLITHIC_0_USE_GUI_1="#"
48359 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48360 COND_MONOLITHIC_0_USE_GUI_1=""
48361 fi
48362
48363 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48364 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48365 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48366 fi
48367
48368 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48369 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48370 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48371 fi
48372
48373 COND_MONOLITHIC_0_USE_HTML_1="#"
48374 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48375 COND_MONOLITHIC_0_USE_HTML_1=""
48376 fi
48377
48378 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48379 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48380 COND_MONOLITHIC_0_USE_MEDIA_1=""
48381 fi
48382
48383 COND_MONOLITHIC_0_USE_ODBC_1="#"
48384 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48385 COND_MONOLITHIC_0_USE_ODBC_1=""
48386 fi
48387
48388 COND_MONOLITHIC_0_USE_QA_1="#"
48389 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48390 COND_MONOLITHIC_0_USE_QA_1=""
48391 fi
48392
48393 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48394 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48395 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48396 fi
48397
48398 COND_MONOLITHIC_0_USE_STC_1="#"
48399 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48400 COND_MONOLITHIC_0_USE_STC_1=""
48401 fi
48402
48403 COND_MONOLITHIC_0_USE_XRC_1="#"
48404 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48405 COND_MONOLITHIC_0_USE_XRC_1=""
48406 fi
48407
48408 COND_MONOLITHIC_1="#"
48409 if test "x$MONOLITHIC" = "x1" ; then
48410 COND_MONOLITHIC_1=""
48411 fi
48412
48413 COND_MONOLITHIC_1_SHARED_0="#"
48414 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48415 COND_MONOLITHIC_1_SHARED_0=""
48416 fi
48417
48418 COND_MONOLITHIC_1_SHARED_1="#"
48419 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48420 COND_MONOLITHIC_1_SHARED_1=""
48421 fi
48422
48423 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48424 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48425 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48426 fi
48427
48428 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48429 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48430 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48431 fi
48432
48433 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48434 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48435 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48436 fi
48437
48438 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48439 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48440 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48441 fi
48442
48443 COND_PLATFORM_MACOSX_1="#"
48444 if test "x$PLATFORM_MACOSX" = "x1" ; then
48445 COND_PLATFORM_MACOSX_1=""
48446 fi
48447
48448 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48449 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48450 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48451 fi
48452
48453 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48454 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48455 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48456 fi
48457
48458 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48459 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48460 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48461 fi
48462
48463 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48464 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48465 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48466 fi
48467
48468 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48469 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48470 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48471 fi
48472
48473 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48474 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48475 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48476 fi
48477
48478 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48479 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48480 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48481 fi
48482
48483 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48484 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48485 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48486 fi
48487
48488 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48489 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48490 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48491 fi
48492
48493 COND_PLATFORM_MACOS_1="#"
48494 if test "x$PLATFORM_MACOS" = "x1" ; then
48495 COND_PLATFORM_MACOS_1=""
48496 fi
48497
48498 COND_PLATFORM_MAC_1="#"
48499 if test "x$PLATFORM_MAC" = "x1" ; then
48500 COND_PLATFORM_MAC_1=""
48501 fi
48502
48503 COND_PLATFORM_MSDOS_0="#"
48504 if test "x$PLATFORM_MSDOS" = "x0" ; then
48505 COND_PLATFORM_MSDOS_0=""
48506 fi
48507
48508 COND_PLATFORM_MSDOS_1="#"
48509 if test "x$PLATFORM_MSDOS" = "x1" ; then
48510 COND_PLATFORM_MSDOS_1=""
48511 fi
48512
48513 COND_PLATFORM_OS2_1="#"
48514 if test "x$PLATFORM_OS2" = "x1" ; then
48515 COND_PLATFORM_OS2_1=""
48516 fi
48517
48518 COND_PLATFORM_UNIX_0="#"
48519 if test "x$PLATFORM_UNIX" = "x0" ; then
48520 COND_PLATFORM_UNIX_0=""
48521 fi
48522
48523 COND_PLATFORM_UNIX_1="#"
48524 if test "x$PLATFORM_UNIX" = "x1" ; then
48525 COND_PLATFORM_UNIX_1=""
48526 fi
48527
48528 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48529 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48530 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48531 fi
48532
48533 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48534 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48535 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48536 fi
48537
48538 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48539 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48540 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48541 fi
48542
48543 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48544 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48545 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48546 fi
48547
48548 COND_PLATFORM_WIN32_0="#"
48549 if test "x$PLATFORM_WIN32" = "x0" ; then
48550 COND_PLATFORM_WIN32_0=""
48551 fi
48552
48553 COND_PLATFORM_WIN32_1="#"
48554 if test "x$PLATFORM_WIN32" = "x1" ; then
48555 COND_PLATFORM_WIN32_1=""
48556 fi
48557
48558 COND_SHARED_0="#"
48559 if test "x$SHARED" = "x0" ; then
48560 COND_SHARED_0=""
48561 fi
48562
48563 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48564 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48565 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48566 fi
48567
48568 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48569 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48570 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48571 fi
48572
48573 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48574 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48575 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48576 fi
48577
48578 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48579 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48580 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48581 fi
48582
48583 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48584 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48585 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48586 fi
48587
48588 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48589 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48590 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48591 fi
48592
48593 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48594 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48595 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48596 fi
48597
48598 COND_SHARED_0_USE_STC_1="#"
48599 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48600 COND_SHARED_0_USE_STC_1=""
48601 fi
48602
48603 COND_SHARED_0_USE_XRC_1="#"
48604 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48605 COND_SHARED_0_USE_XRC_1=""
48606 fi
48607
48608 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48609 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48610 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48611 fi
48612
48613 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48614 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48615 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48616 fi
48617
48618 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48619 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48620 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48621 fi
48622
48623 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48624 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48625 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48626 fi
48627
48628 COND_SHARED_1="#"
48629 if test "x$SHARED" = "x1" ; then
48630 COND_SHARED_1=""
48631 fi
48632
48633 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48634 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48635 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48636 fi
48637
48638 COND_SHARED_1_USE_XRC_1="#"
48639 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48640 COND_SHARED_1_USE_XRC_1=""
48641 fi
48642
48643 COND_TOOLKIT_="#"
48644 if test "x$TOOLKIT" = "x" ; then
48645 COND_TOOLKIT_=""
48646 fi
48647
48648 COND_TOOLKIT_COCOA="#"
48649 if test "x$TOOLKIT" = "xCOCOA" ; then
48650 COND_TOOLKIT_COCOA=""
48651 fi
48652
48653 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48654 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48655 COND_TOOLKIT_COCOA_USE_GUI_1=""
48656 fi
48657
48658 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48659 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48660 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48661 fi
48662
48663 COND_TOOLKIT_DFB="#"
48664 if test "x$TOOLKIT" = "xDFB" ; then
48665 COND_TOOLKIT_DFB=""
48666 fi
48667
48668 COND_TOOLKIT_DFB_USE_GUI_1="#"
48669 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48670 COND_TOOLKIT_DFB_USE_GUI_1=""
48671 fi
48672
48673 COND_TOOLKIT_GTK="#"
48674 if test "x$TOOLKIT" = "xGTK" ; then
48675 COND_TOOLKIT_GTK=""
48676 fi
48677
48678 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48679 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48680 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48681 fi
48682
48683 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48684 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48685 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48686 fi
48687
48688 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48689 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48690 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48691 fi
48692
48693 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48694 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48695 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48696 fi
48697
48698 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48699 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48700 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48701 fi
48702
48703 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48704 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48705 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48706 fi
48707
48708 COND_TOOLKIT_GTK_USE_GUI_1="#"
48709 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48710 COND_TOOLKIT_GTK_USE_GUI_1=""
48711 fi
48712
48713 COND_TOOLKIT_MAC="#"
48714 if test "x$TOOLKIT" = "xMAC" ; then
48715 COND_TOOLKIT_MAC=""
48716 fi
48717
48718 COND_TOOLKIT_MAC_USE_GUI_1="#"
48719 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48720 COND_TOOLKIT_MAC_USE_GUI_1=""
48721 fi
48722
48723 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48724 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48725 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48726 fi
48727
48728 COND_TOOLKIT_MGL="#"
48729 if test "x$TOOLKIT" = "xMGL" ; then
48730 COND_TOOLKIT_MGL=""
48731 fi
48732
48733 COND_TOOLKIT_MGL_USE_GUI_1="#"
48734 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48735 COND_TOOLKIT_MGL_USE_GUI_1=""
48736 fi
48737
48738 COND_TOOLKIT_MOTIF="#"
48739 if test "x$TOOLKIT" = "xMOTIF" ; then
48740 COND_TOOLKIT_MOTIF=""
48741 fi
48742
48743 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48744 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48745 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48746 fi
48747
48748 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48749 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48750 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48751 fi
48752
48753 COND_TOOLKIT_MSW="#"
48754 if test "x$TOOLKIT" = "xMSW" ; then
48755 COND_TOOLKIT_MSW=""
48756 fi
48757
48758 COND_TOOLKIT_MSW_USE_GUI_1="#"
48759 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48760 COND_TOOLKIT_MSW_USE_GUI_1=""
48761 fi
48762
48763 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48764 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48765 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48766 fi
48767
48768 COND_TOOLKIT_MSW_WXUNIV_0="#"
48769 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48770 COND_TOOLKIT_MSW_WXUNIV_0=""
48771 fi
48772
48773 COND_TOOLKIT_PM="#"
48774 if test "x$TOOLKIT" = "xPM" ; then
48775 COND_TOOLKIT_PM=""
48776 fi
48777
48778 COND_TOOLKIT_PM_USE_GUI_1="#"
48779 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48780 COND_TOOLKIT_PM_USE_GUI_1=""
48781 fi
48782
48783 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48784 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48785 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48786 fi
48787
48788 COND_TOOLKIT_WINCE="#"
48789 if test "x$TOOLKIT" = "xWINCE" ; then
48790 COND_TOOLKIT_WINCE=""
48791 fi
48792
48793 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48794 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48795 COND_TOOLKIT_WINCE_USE_GUI_1=""
48796 fi
48797
48798 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48799 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48800 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48801 fi
48802
48803 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48804 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48805 COND_TOOLKIT_WINCE_WXUNIV_0=""
48806 fi
48807
48808 COND_TOOLKIT_X11="#"
48809 if test "x$TOOLKIT" = "xX11" ; then
48810 COND_TOOLKIT_X11=""
48811 fi
48812
48813 COND_TOOLKIT_X11_USE_GUI_1="#"
48814 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48815 COND_TOOLKIT_X11_USE_GUI_1=""
48816 fi
48817
48818 COND_UNICODE_1="#"
48819 if test "x$UNICODE" = "x1" ; then
48820 COND_UNICODE_1=""
48821 fi
48822
48823 COND_USE_EXCEPTIONS_0="#"
48824 if test "x$USE_EXCEPTIONS" = "x0" ; then
48825 COND_USE_EXCEPTIONS_0=""
48826 fi
48827
48828 COND_USE_EXCEPTIONS_1="#"
48829 if test "x$USE_EXCEPTIONS" = "x1" ; then
48830 COND_USE_EXCEPTIONS_1=""
48831 fi
48832
48833 COND_USE_GUI_0="#"
48834 if test "x$USE_GUI" = "x0" ; then
48835 COND_USE_GUI_0=""
48836 fi
48837
48838 COND_USE_GUI_1="#"
48839 if test "x$USE_GUI" = "x1" ; then
48840 COND_USE_GUI_1=""
48841 fi
48842
48843 COND_USE_GUI_1_USE_OPENGL_1="#"
48844 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48845 COND_USE_GUI_1_USE_OPENGL_1=""
48846 fi
48847
48848 COND_USE_GUI_1_WXUNIV_0="#"
48849 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48850 COND_USE_GUI_1_WXUNIV_0=""
48851 fi
48852
48853 COND_USE_GUI_1_WXUNIV_1="#"
48854 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48855 COND_USE_GUI_1_WXUNIV_1=""
48856 fi
48857
48858 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48859 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48860 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48861 fi
48862
48863 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48864 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48865 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48866 fi
48867
48868 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48869 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48870 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48871 fi
48872
48873 COND_USE_ODBC_1="#"
48874 if test "x$USE_ODBC" = "x1" ; then
48875 COND_USE_ODBC_1=""
48876 fi
48877
48878 COND_USE_OPENGL_1="#"
48879 if test "x$USE_OPENGL" = "x1" ; then
48880 COND_USE_OPENGL_1=""
48881 fi
48882
48883 COND_USE_PCH_1="#"
48884 if test "x$USE_PCH" = "x1" ; then
48885 COND_USE_PCH_1=""
48886 fi
48887
48888 COND_USE_PLUGINS_0="#"
48889 if test "x$USE_PLUGINS" = "x0" ; then
48890 COND_USE_PLUGINS_0=""
48891 fi
48892
48893 COND_USE_RTTI_0="#"
48894 if test "x$USE_RTTI" = "x0" ; then
48895 COND_USE_RTTI_0=""
48896 fi
48897
48898 COND_USE_RTTI_1="#"
48899 if test "x$USE_RTTI" = "x1" ; then
48900 COND_USE_RTTI_1=""
48901 fi
48902
48903 COND_USE_SOSYMLINKS_1="#"
48904 if test "x$USE_SOSYMLINKS" = "x1" ; then
48905 COND_USE_SOSYMLINKS_1=""
48906 fi
48907
48908 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48909 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48910 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48911 fi
48912
48913 COND_USE_SOVERLINUX_1="#"
48914 if test "x$USE_SOVERLINUX" = "x1" ; then
48915 COND_USE_SOVERLINUX_1=""
48916 fi
48917
48918 COND_USE_SOVERSION_0="#"
48919 if test "x$USE_SOVERSION" = "x0" ; then
48920 COND_USE_SOVERSION_0=""
48921 fi
48922
48923 COND_USE_SOVERSOLARIS_1="#"
48924 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48925 COND_USE_SOVERSOLARIS_1=""
48926 fi
48927
48928 COND_USE_STC_1="#"
48929 if test "x$USE_STC" = "x1" ; then
48930 COND_USE_STC_1=""
48931 fi
48932
48933 COND_USE_THREADS_0="#"
48934 if test "x$USE_THREADS" = "x0" ; then
48935 COND_USE_THREADS_0=""
48936 fi
48937
48938 COND_USE_THREADS_1="#"
48939 if test "x$USE_THREADS" = "x1" ; then
48940 COND_USE_THREADS_1=""
48941 fi
48942
48943 COND_USE_XRC_1="#"
48944 if test "x$USE_XRC" = "x1" ; then
48945 COND_USE_XRC_1=""
48946 fi
48947
48948 COND_WINDOWS_IMPLIB_1="#"
48949 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48950 COND_WINDOWS_IMPLIB_1=""
48951 fi
48952
48953 COND_WITH_PLUGIN_SDL_1="#"
48954 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48955 COND_WITH_PLUGIN_SDL_1=""
48956 fi
48957
48958 COND_WXUNIV_0="#"
48959 if test "x$WXUNIV" = "x0" ; then
48960 COND_WXUNIV_0=""
48961 fi
48962
48963 COND_WXUNIV_1="#"
48964 if test "x$WXUNIV" = "x1" ; then
48965 COND_WXUNIV_1=""
48966 fi
48967
48968 COND_WXUSE_EXPAT_BUILTIN="#"
48969 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48970 COND_WXUSE_EXPAT_BUILTIN=""
48971 fi
48972
48973 COND_WXUSE_LIBJPEG_BUILTIN="#"
48974 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48975 COND_WXUSE_LIBJPEG_BUILTIN=""
48976 fi
48977
48978 COND_WXUSE_LIBPNG_BUILTIN="#"
48979 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48980 COND_WXUSE_LIBPNG_BUILTIN=""
48981 fi
48982
48983 COND_WXUSE_LIBTIFF_BUILTIN="#"
48984 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48985 COND_WXUSE_LIBTIFF_BUILTIN=""
48986 fi
48987
48988 COND_WXUSE_ODBC_BUILTIN="#"
48989 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48990 COND_WXUSE_ODBC_BUILTIN=""
48991 fi
48992
48993 COND_WXUSE_REGEX_BUILTIN="#"
48994 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48995 COND_WXUSE_REGEX_BUILTIN=""
48996 fi
48997
48998 COND_WXUSE_ZLIB_BUILTIN="#"
48999 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49000 COND_WXUSE_ZLIB_BUILTIN=""
49001 fi
49002
49003
49004
49005 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49006 { { 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
49007 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;}
49008 { (exit 1); exit 1; }; }
49009 fi
49010
49011 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49012 { { 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
49013 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;}
49014 { (exit 1); exit 1; }; }
49015 fi
49016
49017
49018 if test $GCC_PCH = 1
49019 then
49020 if test "$wx_cv_gcc_pch_bug" = yes; then
49021 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49022 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49023 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49024 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49025 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49026 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49027 fi
49028
49029 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49030 fi
49031
49032
49033 if test "$wxUSE_MAC" = 1 ; then
49034 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49035 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49036 mv temp bk-deps
49037 chmod +x bk-deps
49038 fi
49039 fi
49040
49041 if test "$wxUSE_SHARED" = "yes"; then
49042
49043 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49044 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49045
49046 case "${host}" in
49047 *-pc-os2_emx | *-pc-os2-emx )
49048 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49049 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49050 cp -p ${srcdir}/src/os2/dllnames.sh .
49051 cp -p ${srcdir}/src/os2/dllar.sh .
49052 ;;
49053 esac
49054 else
49055
49056 EXE_LINKER="$CXX -o"
49057
49058 fi
49059 if test "$wxUSE_OMF" = "yes"; then
49060 case "${host}" in
49061 *-pc-os2_emx | *-pc-os2-emx )
49062 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49063 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49064 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49065 ;;
49066 esac
49067 fi
49068
49069 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49070
49071 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081
49082
49083
49084
49085
49086
49087
49088
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108
49109
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49134 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49135 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49136 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49137 echo $ECHO_N "(cached) $ECHO_C" >&6
49138 else
49139 cat >conftest.make <<\_ACEOF
49140 SHELL = /bin/sh
49141 all:
49142 @echo '@@@%%%=$(MAKE)=@@@%%%'
49143 _ACEOF
49144 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49145 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49146 *@@@%%%=?*=@@@%%%*)
49147 eval ac_cv_prog_make_${ac_make}_set=yes;;
49148 *)
49149 eval ac_cv_prog_make_${ac_make}_set=no;;
49150 esac
49151 rm -f conftest.make
49152 fi
49153 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49154 { echo "$as_me:$LINENO: result: yes" >&5
49155 echo "${ECHO_T}yes" >&6; }
49156 SET_MAKE=
49157 else
49158 { echo "$as_me:$LINENO: result: no" >&5
49159 echo "${ECHO_T}no" >&6; }
49160 SET_MAKE="MAKE=${MAKE-make}"
49161 fi
49162
49163
49164
49165 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49166
49167
49168 if test "$USE_WIN32" = 1; then
49169 ac_config_commands="$ac_config_commands
49170 rcdefs.h
49171 "
49172
49173 fi
49174
49175 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49176
49177
49178 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49179
49180
49181 if test "$wx_cv_version_script" = "yes"; then
49182 ac_config_files="$ac_config_files version-script"
49183
49184 fi
49185 ac_config_files="$ac_config_files Makefile"
49186
49187
49188 ac_config_commands="$ac_config_commands wx-config"
49189
49190
49191
49192 if test "$wxWITH_SUBDIRS" != "no"; then
49193 if test "$wxUSE_GUI" = "yes"; then
49194 SUBDIRS="samples demos utils"
49195 else SUBDIRS="samples utils"
49196 fi
49197
49198
49199
49200 # Check whether --with-cppunit-prefix was given.
49201 if test "${with_cppunit_prefix+set}" = set; then
49202 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49203 else
49204 cppunit_config_prefix=""
49205 fi
49206
49207
49208 # Check whether --with-cppunit-exec-prefix was given.
49209 if test "${with_cppunit_exec_prefix+set}" = set; then
49210 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49211 else
49212 cppunit_config_exec_prefix=""
49213 fi
49214
49215
49216 if test x$cppunit_config_exec_prefix != x ; then
49217 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49218 if test x${CPPUNIT_CONFIG+set} != xset ; then
49219 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49220 fi
49221 fi
49222 if test x$cppunit_config_prefix != x ; then
49223 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49224 if test x${CPPUNIT_CONFIG+set} != xset ; then
49225 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49226 fi
49227 fi
49228
49229 # Extract the first word of "cppunit-config", so it can be a program name with args.
49230 set dummy cppunit-config; ac_word=$2
49231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49233 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49234 echo $ECHO_N "(cached) $ECHO_C" >&6
49235 else
49236 case $CPPUNIT_CONFIG in
49237 [\\/]* | ?:[\\/]*)
49238 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49239 ;;
49240 *)
49241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49242 for as_dir in $PATH
49243 do
49244 IFS=$as_save_IFS
49245 test -z "$as_dir" && as_dir=.
49246 for ac_exec_ext in '' $ac_executable_extensions; do
49247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49248 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49250 break 2
49251 fi
49252 done
49253 done
49254 IFS=$as_save_IFS
49255
49256 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49257 ;;
49258 esac
49259 fi
49260 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49261 if test -n "$CPPUNIT_CONFIG"; then
49262 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49263 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49264 else
49265 { echo "$as_me:$LINENO: result: no" >&5
49266 echo "${ECHO_T}no" >&6; }
49267 fi
49268
49269
49270 cppunit_version_min=1.8.0
49271
49272 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49273 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49274 no_cppunit=""
49275 if test "$CPPUNIT_CONFIG" = "no" ; then
49276 { echo "$as_me:$LINENO: result: no" >&5
49277 echo "${ECHO_T}no" >&6; }
49278 no_cppunit=yes
49279 else
49280 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49281 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49282 cppunit_version=`$CPPUNIT_CONFIG --version`
49283
49284 cppunit_major_version=`echo $cppunit_version | \
49285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49286 cppunit_minor_version=`echo $cppunit_version | \
49287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49288 cppunit_micro_version=`echo $cppunit_version | \
49289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49290
49291 cppunit_major_min=`echo $cppunit_version_min | \
49292 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49293 cppunit_minor_min=`echo $cppunit_version_min | \
49294 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49295 cppunit_micro_min=`echo $cppunit_version_min | \
49296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49297
49298 cppunit_version_proper=`expr \
49299 $cppunit_major_version \> $cppunit_major_min \| \
49300 $cppunit_major_version \= $cppunit_major_min \& \
49301 $cppunit_minor_version \> $cppunit_minor_min \| \
49302 $cppunit_major_version \= $cppunit_major_min \& \
49303 $cppunit_minor_version \= $cppunit_minor_min \& \
49304 $cppunit_micro_version \>= $cppunit_micro_min `
49305
49306 if test "$cppunit_version_proper" = "1" ; then
49307 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49308 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49309 else
49310 { echo "$as_me:$LINENO: result: no" >&5
49311 echo "${ECHO_T}no" >&6; }
49312 no_cppunit=yes
49313 fi
49314 fi
49315
49316 if test "x$no_cppunit" = x ; then
49317 SUBDIRS="$SUBDIRS tests"
49318 else
49319 CPPUNIT_CFLAGS=""
49320 CPPUNIT_LIBS=""
49321 :
49322 fi
49323
49324
49325
49326
49327
49328 for subdir in `echo $SUBDIRS`; do
49329 if test -d ${srcdir}/${subdir} ; then
49330 if test "$wxUSE_GUI" = "yes"; then
49331 if test ${subdir} = "samples"; then
49332 makefiles="samples/Makefile.in $makefiles"
49333 for sample in `echo $SAMPLES_SUBDIRS`; do
49334 if test -d $srcdir/samples/$sample; then
49335 makefiles="samples/$sample/Makefile.in $makefiles"
49336 fi
49337 done
49338 else
49339 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49340 eval "disabled=\$$disabled_var"
49341 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49342 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49343 fi
49344 else if test ${subdir} = "samples"; then
49345 makefiles="samples/Makefile.in samples/console/Makefile.in"
49346 elif test ${subdir} = "utils"; then
49347 makefiles=""
49348 for util in HelpGen tex2rtf ; do
49349 if test -d $srcdir/utils/$util ; then
49350 makefiles="utils/$util/Makefile.in \
49351 utils/$util/src/Makefile.in \
49352 $makefiles"
49353 fi
49354 done
49355 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49356 fi
49357 fi
49358
49359 for mkin in $makefiles ; do
49360 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49361 ac_config_files="$ac_config_files $mk"
49362
49363 done
49364 fi
49365 done
49366 fi
49367 cat >confcache <<\_ACEOF
49368 # This file is a shell script that caches the results of configure
49369 # tests run on this system so they can be shared between configure
49370 # scripts and configure runs, see configure's option --config-cache.
49371 # It is not useful on other systems. If it contains results you don't
49372 # want to keep, you may remove or edit it.
49373 #
49374 # config.status only pays attention to the cache file if you give it
49375 # the --recheck option to rerun configure.
49376 #
49377 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49378 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49379 # following values.
49380
49381 _ACEOF
49382
49383 # The following way of writing the cache mishandles newlines in values,
49384 # but we know of no workaround that is simple, portable, and efficient.
49385 # So, we kill variables containing newlines.
49386 # Ultrix sh set writes to stderr and can't be redirected directly,
49387 # and sets the high bit in the cache file unless we assign to the vars.
49388 (
49389 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49390 eval ac_val=\$$ac_var
49391 case $ac_val in #(
49392 *${as_nl}*)
49393 case $ac_var in #(
49394 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49395 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49396 esac
49397 case $ac_var in #(
49398 _ | IFS | as_nl) ;; #(
49399 *) $as_unset $ac_var ;;
49400 esac ;;
49401 esac
49402 done
49403
49404 (set) 2>&1 |
49405 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49406 *${as_nl}ac_space=\ *)
49407 # `set' does not quote correctly, so add quotes (double-quote
49408 # substitution turns \\\\ into \\, and sed turns \\ into \).
49409 sed -n \
49410 "s/'/'\\\\''/g;
49411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49412 ;; #(
49413 *)
49414 # `set' quotes correctly as required by POSIX, so do not add quotes.
49415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49416 ;;
49417 esac |
49418 sort
49419 ) |
49420 sed '
49421 /^ac_cv_env_/b end
49422 t clear
49423 :clear
49424 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49425 t end
49426 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49427 :end' >>confcache
49428 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49429 if test -w "$cache_file"; then
49430 test "x$cache_file" != "x/dev/null" &&
49431 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49432 echo "$as_me: updating cache $cache_file" >&6;}
49433 cat confcache >$cache_file
49434 else
49435 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49436 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49437 fi
49438 fi
49439 rm -f confcache
49440
49441 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49442 # Let make expand exec_prefix.
49443 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49444
49445 DEFS=-DHAVE_CONFIG_H
49446
49447 ac_libobjs=
49448 ac_ltlibobjs=
49449 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49450 # 1. Remove the extension, and $U if already installed.
49451 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49452 ac_i=`echo "$ac_i" | sed "$ac_script"`
49453 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49454 # will be set to the directory where LIBOBJS objects are built.
49455 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49456 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49457 done
49458 LIBOBJS=$ac_libobjs
49459
49460 LTLIBOBJS=$ac_ltlibobjs
49461
49462
49463
49464 : ${CONFIG_STATUS=./config.status}
49465 ac_clean_files_save=$ac_clean_files
49466 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49467 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49468 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49469 cat >$CONFIG_STATUS <<_ACEOF
49470 #! $SHELL
49471 # Generated by $as_me.
49472 # Run this file to recreate the current configuration.
49473 # Compiler output produced by configure, useful for debugging
49474 # configure, is in config.log if it exists.
49475
49476 debug=false
49477 ac_cs_recheck=false
49478 ac_cs_silent=false
49479 SHELL=\${CONFIG_SHELL-$SHELL}
49480 _ACEOF
49481
49482 cat >>$CONFIG_STATUS <<\_ACEOF
49483 ## --------------------- ##
49484 ## M4sh Initialization. ##
49485 ## --------------------- ##
49486
49487 # Be more Bourne compatible
49488 DUALCASE=1; export DUALCASE # for MKS sh
49489 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49490 emulate sh
49491 NULLCMD=:
49492 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49493 # is contrary to our usage. Disable this feature.
49494 alias -g '${1+"$@"}'='"$@"'
49495 setopt NO_GLOB_SUBST
49496 else
49497 case `(set -o) 2>/dev/null` in
49498 *posix*) set -o posix ;;
49499 esac
49500
49501 fi
49502
49503
49504
49505
49506 # PATH needs CR
49507 # Avoid depending upon Character Ranges.
49508 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49509 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49510 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49511 as_cr_digits='0123456789'
49512 as_cr_alnum=$as_cr_Letters$as_cr_digits
49513
49514 # The user is always right.
49515 if test "${PATH_SEPARATOR+set}" != set; then
49516 echo "#! /bin/sh" >conf$$.sh
49517 echo "exit 0" >>conf$$.sh
49518 chmod +x conf$$.sh
49519 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49520 PATH_SEPARATOR=';'
49521 else
49522 PATH_SEPARATOR=:
49523 fi
49524 rm -f conf$$.sh
49525 fi
49526
49527 # Support unset when possible.
49528 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49529 as_unset=unset
49530 else
49531 as_unset=false
49532 fi
49533
49534
49535 # IFS
49536 # We need space, tab and new line, in precisely that order. Quoting is
49537 # there to prevent editors from complaining about space-tab.
49538 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49539 # splitting by setting IFS to empty value.)
49540 as_nl='
49541 '
49542 IFS=" "" $as_nl"
49543
49544 # Find who we are. Look in the path if we contain no directory separator.
49545 case $0 in
49546 *[\\/]* ) as_myself=$0 ;;
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 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49553 done
49554 IFS=$as_save_IFS
49555
49556 ;;
49557 esac
49558 # We did not find ourselves, most probably we were run as `sh COMMAND'
49559 # in which case we are not to be found in the path.
49560 if test "x$as_myself" = x; then
49561 as_myself=$0
49562 fi
49563 if test ! -f "$as_myself"; then
49564 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49565 { (exit 1); exit 1; }
49566 fi
49567
49568 # Work around bugs in pre-3.0 UWIN ksh.
49569 for as_var in ENV MAIL MAILPATH
49570 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49571 done
49572 PS1='$ '
49573 PS2='> '
49574 PS4='+ '
49575
49576 # NLS nuisances.
49577 for as_var in \
49578 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49579 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49580 LC_TELEPHONE LC_TIME
49581 do
49582 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49583 eval $as_var=C; export $as_var
49584 else
49585 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49586 fi
49587 done
49588
49589 # Required to use basename.
49590 if expr a : '\(a\)' >/dev/null 2>&1 &&
49591 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49592 as_expr=expr
49593 else
49594 as_expr=false
49595 fi
49596
49597 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49598 as_basename=basename
49599 else
49600 as_basename=false
49601 fi
49602
49603
49604 # Name of the executable.
49605 as_me=`$as_basename -- "$0" ||
49606 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49607 X"$0" : 'X\(//\)$' \| \
49608 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49609 echo X/"$0" |
49610 sed '/^.*\/\([^/][^/]*\)\/*$/{
49611 s//\1/
49612 q
49613 }
49614 /^X\/\(\/\/\)$/{
49615 s//\1/
49616 q
49617 }
49618 /^X\/\(\/\).*/{
49619 s//\1/
49620 q
49621 }
49622 s/.*/./; q'`
49623
49624 # CDPATH.
49625 $as_unset CDPATH
49626
49627
49628
49629 as_lineno_1=$LINENO
49630 as_lineno_2=$LINENO
49631 test "x$as_lineno_1" != "x$as_lineno_2" &&
49632 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49633
49634 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49635 # uniformly replaced by the line number. The first 'sed' inserts a
49636 # line-number line after each line using $LINENO; the second 'sed'
49637 # does the real work. The second script uses 'N' to pair each
49638 # line-number line with the line containing $LINENO, and appends
49639 # trailing '-' during substitution so that $LINENO is not a special
49640 # case at line end.
49641 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49642 # scripts with optimization help from Paolo Bonzini. Blame Lee
49643 # E. McMahon (1931-1989) for sed's syntax. :-)
49644 sed -n '
49645 p
49646 /[$]LINENO/=
49647 ' <$as_myself |
49648 sed '
49649 s/[$]LINENO.*/&-/
49650 t lineno
49651 b
49652 :lineno
49653 N
49654 :loop
49655 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49656 t loop
49657 s/-\n.*//
49658 ' >$as_me.lineno &&
49659 chmod +x "$as_me.lineno" ||
49660 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49661 { (exit 1); exit 1; }; }
49662
49663 # Don't try to exec as it changes $[0], causing all sort of problems
49664 # (the dirname of $[0] is not the place where we might find the
49665 # original and so on. Autoconf is especially sensitive to this).
49666 . "./$as_me.lineno"
49667 # Exit status is that of the last command.
49668 exit
49669 }
49670
49671
49672 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49673 as_dirname=dirname
49674 else
49675 as_dirname=false
49676 fi
49677
49678 ECHO_C= ECHO_N= ECHO_T=
49679 case `echo -n x` in
49680 -n*)
49681 case `echo 'x\c'` in
49682 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49683 *) ECHO_C='\c';;
49684 esac;;
49685 *)
49686 ECHO_N='-n';;
49687 esac
49688
49689 if expr a : '\(a\)' >/dev/null 2>&1 &&
49690 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49691 as_expr=expr
49692 else
49693 as_expr=false
49694 fi
49695
49696 rm -f conf$$ conf$$.exe conf$$.file
49697 if test -d conf$$.dir; then
49698 rm -f conf$$.dir/conf$$.file
49699 else
49700 rm -f conf$$.dir
49701 mkdir conf$$.dir
49702 fi
49703 echo >conf$$.file
49704 if ln -s conf$$.file conf$$ 2>/dev/null; then
49705 as_ln_s='ln -s'
49706 # ... but there are two gotchas:
49707 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49708 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49709 # In both cases, we have to default to `cp -p'.
49710 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49711 as_ln_s='cp -p'
49712 elif ln conf$$.file conf$$ 2>/dev/null; then
49713 as_ln_s=ln
49714 else
49715 as_ln_s='cp -p'
49716 fi
49717 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49718 rmdir conf$$.dir 2>/dev/null
49719
49720 if mkdir -p . 2>/dev/null; then
49721 as_mkdir_p=:
49722 else
49723 test -d ./-p && rmdir ./-p
49724 as_mkdir_p=false
49725 fi
49726
49727 if test -x / >/dev/null 2>&1; then
49728 as_test_x='test -x'
49729 else
49730 if ls -dL / >/dev/null 2>&1; then
49731 as_ls_L_option=L
49732 else
49733 as_ls_L_option=
49734 fi
49735 as_test_x='
49736 eval sh -c '\''
49737 if test -d "$1"; then
49738 test -d "$1/.";
49739 else
49740 case $1 in
49741 -*)set "./$1";;
49742 esac;
49743 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49744 ???[sx]*):;;*)false;;esac;fi
49745 '\'' sh
49746 '
49747 fi
49748 as_executable_p=$as_test_x
49749
49750 # Sed expression to map a string onto a valid CPP name.
49751 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49752
49753 # Sed expression to map a string onto a valid variable name.
49754 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49755
49756
49757 exec 6>&1
49758
49759 # Save the log message, to keep $[0] and so on meaningful, and to
49760 # report actual input values of CONFIG_FILES etc. instead of their
49761 # values after options handling.
49762 ac_log="
49763 This file was extended by wxWidgets $as_me 2.9.0, which was
49764 generated by GNU Autoconf 2.61. Invocation command line was
49765
49766 CONFIG_FILES = $CONFIG_FILES
49767 CONFIG_HEADERS = $CONFIG_HEADERS
49768 CONFIG_LINKS = $CONFIG_LINKS
49769 CONFIG_COMMANDS = $CONFIG_COMMANDS
49770 $ $0 $@
49771
49772 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49773 "
49774
49775 _ACEOF
49776
49777 cat >>$CONFIG_STATUS <<_ACEOF
49778 # Files that config.status was made for.
49779 config_files="$ac_config_files"
49780 config_headers="$ac_config_headers"
49781 config_commands="$ac_config_commands"
49782
49783 _ACEOF
49784
49785 cat >>$CONFIG_STATUS <<\_ACEOF
49786 ac_cs_usage="\
49787 \`$as_me' instantiates files from templates according to the
49788 current configuration.
49789
49790 Usage: $0 [OPTIONS] [FILE]...
49791
49792 -h, --help print this help, then exit
49793 -V, --version print version number and configuration settings, then exit
49794 -q, --quiet do not print progress messages
49795 -d, --debug don't remove temporary files
49796 --recheck update $as_me by reconfiguring in the same conditions
49797 --file=FILE[:TEMPLATE]
49798 instantiate the configuration file FILE
49799 --header=FILE[:TEMPLATE]
49800 instantiate the configuration header FILE
49801
49802 Configuration files:
49803 $config_files
49804
49805 Configuration headers:
49806 $config_headers
49807
49808 Configuration commands:
49809 $config_commands
49810
49811 Report bugs to <bug-autoconf@gnu.org>."
49812
49813 _ACEOF
49814 cat >>$CONFIG_STATUS <<_ACEOF
49815 ac_cs_version="\\
49816 wxWidgets config.status 2.9.0
49817 configured by $0, generated by GNU Autoconf 2.61,
49818 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49819
49820 Copyright (C) 2006 Free Software Foundation, Inc.
49821 This config.status script is free software; the Free Software Foundation
49822 gives unlimited permission to copy, distribute and modify it."
49823
49824 ac_pwd='$ac_pwd'
49825 srcdir='$srcdir'
49826 INSTALL='$INSTALL'
49827 _ACEOF
49828
49829 cat >>$CONFIG_STATUS <<\_ACEOF
49830 # If no file are specified by the user, then we need to provide default
49831 # value. By we need to know if files were specified by the user.
49832 ac_need_defaults=:
49833 while test $# != 0
49834 do
49835 case $1 in
49836 --*=*)
49837 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49838 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49839 ac_shift=:
49840 ;;
49841 *)
49842 ac_option=$1
49843 ac_optarg=$2
49844 ac_shift=shift
49845 ;;
49846 esac
49847
49848 case $ac_option in
49849 # Handling of the options.
49850 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49851 ac_cs_recheck=: ;;
49852 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49853 echo "$ac_cs_version"; exit ;;
49854 --debug | --debu | --deb | --de | --d | -d )
49855 debug=: ;;
49856 --file | --fil | --fi | --f )
49857 $ac_shift
49858 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49859 ac_need_defaults=false;;
49860 --header | --heade | --head | --hea )
49861 $ac_shift
49862 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49863 ac_need_defaults=false;;
49864 --he | --h)
49865 # Conflict between --help and --header
49866 { echo "$as_me: error: ambiguous option: $1
49867 Try \`$0 --help' for more information." >&2
49868 { (exit 1); exit 1; }; };;
49869 --help | --hel | -h )
49870 echo "$ac_cs_usage"; exit ;;
49871 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49872 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49873 ac_cs_silent=: ;;
49874
49875 # This is an error.
49876 -*) { echo "$as_me: error: unrecognized option: $1
49877 Try \`$0 --help' for more information." >&2
49878 { (exit 1); exit 1; }; } ;;
49879
49880 *) ac_config_targets="$ac_config_targets $1"
49881 ac_need_defaults=false ;;
49882
49883 esac
49884 shift
49885 done
49886
49887 ac_configure_extra_args=
49888
49889 if $ac_cs_silent; then
49890 exec 6>/dev/null
49891 ac_configure_extra_args="$ac_configure_extra_args --silent"
49892 fi
49893
49894 _ACEOF
49895 cat >>$CONFIG_STATUS <<_ACEOF
49896 if \$ac_cs_recheck; then
49897 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49898 CONFIG_SHELL=$SHELL
49899 export CONFIG_SHELL
49900 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49901 fi
49902
49903 _ACEOF
49904 cat >>$CONFIG_STATUS <<\_ACEOF
49905 exec 5>>config.log
49906 {
49907 echo
49908 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49909 ## Running $as_me. ##
49910 _ASBOX
49911 echo "$ac_log"
49912 } >&5
49913
49914 _ACEOF
49915 cat >>$CONFIG_STATUS <<_ACEOF
49916 #
49917 # INIT-COMMANDS
49918 #
49919
49920 CPP="$CPP"
49921 infile="$srcdir/include/wx/msw/genrcdefs.h"
49922 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49923
49924
49925 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49926 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49927 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49928 LN_S="${LN_S}"
49929
49930
49931 _ACEOF
49932
49933 cat >>$CONFIG_STATUS <<\_ACEOF
49934
49935 # Handling of arguments.
49936 for ac_config_target in $ac_config_targets
49937 do
49938 case $ac_config_target in
49939 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49940 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49941 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49942 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49943 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49944 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49945 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49946 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49947
49948 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49949 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49950 { (exit 1); exit 1; }; };;
49951 esac
49952 done
49953
49954
49955 # If the user did not use the arguments to specify the items to instantiate,
49956 # then the envvar interface is used. Set only those that are not.
49957 # We use the long form for the default assignment because of an extremely
49958 # bizarre bug on SunOS 4.1.3.
49959 if $ac_need_defaults; then
49960 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49961 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49962 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49963 fi
49964
49965 # Have a temporary directory for convenience. Make it in the build tree
49966 # simply because there is no reason against having it here, and in addition,
49967 # creating and moving files from /tmp can sometimes cause problems.
49968 # Hook for its removal unless debugging.
49969 # Note that there is a small window in which the directory will not be cleaned:
49970 # after its creation but before its name has been assigned to `$tmp'.
49971 $debug ||
49972 {
49973 tmp=
49974 trap 'exit_status=$?
49975 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49976 ' 0
49977 trap '{ (exit 1); exit 1; }' 1 2 13 15
49978 }
49979 # Create a (secure) tmp directory for tmp files.
49980
49981 {
49982 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49983 test -n "$tmp" && test -d "$tmp"
49984 } ||
49985 {
49986 tmp=./conf$$-$RANDOM
49987 (umask 077 && mkdir "$tmp")
49988 } ||
49989 {
49990 echo "$me: cannot create a temporary directory in ." >&2
49991 { (exit 1); exit 1; }
49992 }
49993
49994 #
49995 # Set up the sed scripts for CONFIG_FILES section.
49996 #
49997
49998 # No need to generate the scripts if there are no CONFIG_FILES.
49999 # This happens for instance when ./config.status config.h
50000 if test -n "$CONFIG_FILES"; then
50001
50002 _ACEOF
50003
50004
50005
50006 ac_delim='%!_!# '
50007 for ac_last_try in false false false false false :; do
50008 cat >conf$$subs.sed <<_ACEOF
50009 SHELL!$SHELL$ac_delim
50010 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50011 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50012 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50013 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50014 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50015 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50016 exec_prefix!$exec_prefix$ac_delim
50017 prefix!$prefix$ac_delim
50018 program_transform_name!$program_transform_name$ac_delim
50019 bindir!$bindir$ac_delim
50020 sbindir!$sbindir$ac_delim
50021 libexecdir!$libexecdir$ac_delim
50022 datarootdir!$datarootdir$ac_delim
50023 datadir!$datadir$ac_delim
50024 sysconfdir!$sysconfdir$ac_delim
50025 sharedstatedir!$sharedstatedir$ac_delim
50026 localstatedir!$localstatedir$ac_delim
50027 includedir!$includedir$ac_delim
50028 oldincludedir!$oldincludedir$ac_delim
50029 docdir!$docdir$ac_delim
50030 infodir!$infodir$ac_delim
50031 htmldir!$htmldir$ac_delim
50032 dvidir!$dvidir$ac_delim
50033 pdfdir!$pdfdir$ac_delim
50034 psdir!$psdir$ac_delim
50035 libdir!$libdir$ac_delim
50036 localedir!$localedir$ac_delim
50037 mandir!$mandir$ac_delim
50038 DEFS!$DEFS$ac_delim
50039 ECHO_C!$ECHO_C$ac_delim
50040 ECHO_N!$ECHO_N$ac_delim
50041 ECHO_T!$ECHO_T$ac_delim
50042 LIBS!$LIBS$ac_delim
50043 build_alias!$build_alias$ac_delim
50044 host_alias!$host_alias$ac_delim
50045 target_alias!$target_alias$ac_delim
50046 build!$build$ac_delim
50047 build_cpu!$build_cpu$ac_delim
50048 build_vendor!$build_vendor$ac_delim
50049 build_os!$build_os$ac_delim
50050 host!$host$ac_delim
50051 host_cpu!$host_cpu$ac_delim
50052 host_vendor!$host_vendor$ac_delim
50053 host_os!$host_os$ac_delim
50054 target!$target$ac_delim
50055 target_cpu!$target_cpu$ac_delim
50056 target_vendor!$target_vendor$ac_delim
50057 target_os!$target_os$ac_delim
50058 wx_top_builddir!$wx_top_builddir$ac_delim
50059 CC!$CC$ac_delim
50060 CFLAGS!$CFLAGS$ac_delim
50061 LDFLAGS!$LDFLAGS$ac_delim
50062 CPPFLAGS!$CPPFLAGS$ac_delim
50063 ac_ct_CC!$ac_ct_CC$ac_delim
50064 EXEEXT!$EXEEXT$ac_delim
50065 OBJEXT!$OBJEXT$ac_delim
50066 CPP!$CPP$ac_delim
50067 GREP!$GREP$ac_delim
50068 EGREP!$EGREP$ac_delim
50069 CXX!$CXX$ac_delim
50070 CXXFLAGS!$CXXFLAGS$ac_delim
50071 ac_ct_CXX!$ac_ct_CXX$ac_delim
50072 RANLIB!$RANLIB$ac_delim
50073 AR!$AR$ac_delim
50074 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50075 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50076 INSTALL_DATA!$INSTALL_DATA$ac_delim
50077 STRIP!$STRIP$ac_delim
50078 WINDRES!$WINDRES$ac_delim
50079 DLLTOOL!$DLLTOOL$ac_delim
50080 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50081 LN_S!$LN_S$ac_delim
50082 subdirs!$subdirs$ac_delim
50083 PKG_CONFIG!$PKG_CONFIG$ac_delim
50084 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50085 GTK_LIBS!$GTK_LIBS$ac_delim
50086 GTK_CONFIG!$GTK_CONFIG$ac_delim
50087 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50088 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50089 XMKMF!$XMKMF$ac_delim
50090 X_CFLAGS!$X_CFLAGS$ac_delim
50091 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50092 X_LIBS!$X_LIBS$ac_delim
50093 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50094 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50095 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50096 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50097 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50098 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50099 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50100 REZ!$REZ$ac_delim
50101 DEREZ!$DEREZ$ac_delim
50102 SETFILE!$SETFILE$ac_delim
50103 LIBICONV!$LIBICONV$ac_delim
50104 SDL_CONFIG!$SDL_CONFIG$ac_delim
50105 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50106 _ACEOF
50107
50108 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50109 break
50110 elif $ac_last_try; then
50111 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50112 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50113 { (exit 1); exit 1; }; }
50114 else
50115 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50116 fi
50117 done
50118
50119 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50120 if test -n "$ac_eof"; then
50121 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50122 ac_eof=`expr $ac_eof + 1`
50123 fi
50124
50125 cat >>$CONFIG_STATUS <<_ACEOF
50126 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50127 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50128 _ACEOF
50129 sed '
50130 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50131 s/^/s,@/; s/!/@,|#_!!_#|/
50132 :n
50133 t n
50134 s/'"$ac_delim"'$/,g/; t
50135 s/$/\\/; p
50136 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50137 ' >>$CONFIG_STATUS <conf$$subs.sed
50138 rm -f conf$$subs.sed
50139 cat >>$CONFIG_STATUS <<_ACEOF
50140 CEOF$ac_eof
50141 _ACEOF
50142
50143
50144 ac_delim='%!_!# '
50145 for ac_last_try in false false false false false :; do
50146 cat >conf$$subs.sed <<_ACEOF
50147 SDL_LIBS!$SDL_LIBS$ac_delim
50148 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50149 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50150 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50151 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50152 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50153 HILDON_LIBS!$HILDON_LIBS$ac_delim
50154 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50155 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50156 GST_CFLAGS!$GST_CFLAGS$ac_delim
50157 GST_LIBS!$GST_LIBS$ac_delim
50158 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50159 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50160 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50161 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50162 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50163 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50164 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50165 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50166 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50167 VENDOR!$VENDOR$ac_delim
50168 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50169 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50170 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50171 WXUNIV!$WXUNIV$ac_delim
50172 MONOLITHIC!$MONOLITHIC$ac_delim
50173 USE_PLUGINS!$USE_PLUGINS$ac_delim
50174 CXXWARNINGS!$CXXWARNINGS$ac_delim
50175 EXTRALIBS!$EXTRALIBS$ac_delim
50176 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50177 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50178 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50179 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50180 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50181 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50182 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50183 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50184 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50185 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50186 UNICODE!$UNICODE$ac_delim
50187 BUILD!$BUILD$ac_delim
50188 DEBUG_INFO!$DEBUG_INFO$ac_delim
50189 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50190 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50191 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50192 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50193 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50194 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50195 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50196 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50197 SET_MAKE!$SET_MAKE$ac_delim
50198 MAKE_SET!$MAKE_SET$ac_delim
50199 AROPTIONS!$AROPTIONS$ac_delim
50200 NM!$NM$ac_delim
50201 INSTALL_DIR!$INSTALL_DIR$ac_delim
50202 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50203 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50204 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50205 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50206 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50207 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50208 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50209 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50210 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50211 SO_SUFFIX!$SO_SUFFIX$ac_delim
50212 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50213 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50214 LIBPREFIX!$LIBPREFIX$ac_delim
50215 LIBEXT!$LIBEXT$ac_delim
50216 DLLPREFIX!$DLLPREFIX$ac_delim
50217 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50218 dlldir!$dlldir$ac_delim
50219 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50220 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50221 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50222 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50223 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50224 PIC_FLAG!$PIC_FLAG$ac_delim
50225 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50226 USE_SOVERSION!$USE_SOVERSION$ac_delim
50227 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50228 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50229 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50230 USE_MACVERSION!$USE_MACVERSION$ac_delim
50231 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50232 SONAME_FLAG!$SONAME_FLAG$ac_delim
50233 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50234 BK_DEPS!$BK_DEPS$ac_delim
50235 GCC_PCH!$GCC_PCH$ac_delim
50236 ICC_PCH!$ICC_PCH$ac_delim
50237 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50238 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50239 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50240 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50241 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50242 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50243 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50244 _ACEOF
50245
50246 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50247 break
50248 elif $ac_last_try; then
50249 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50250 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50251 { (exit 1); exit 1; }; }
50252 else
50253 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50254 fi
50255 done
50256
50257 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50258 if test -n "$ac_eof"; then
50259 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50260 ac_eof=`expr $ac_eof + 1`
50261 fi
50262
50263 cat >>$CONFIG_STATUS <<_ACEOF
50264 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50265 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50266 _ACEOF
50267 sed '
50268 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50269 s/^/s,@/; s/!/@,|#_!!_#|/
50270 :n
50271 t n
50272 s/'"$ac_delim"'$/,g/; t
50273 s/$/\\/; p
50274 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50275 ' >>$CONFIG_STATUS <conf$$subs.sed
50276 rm -f conf$$subs.sed
50277 cat >>$CONFIG_STATUS <<_ACEOF
50278 CEOF$ac_eof
50279 _ACEOF
50280
50281
50282 ac_delim='%!_!# '
50283 for ac_last_try in false false false false false :; do
50284 cat >conf$$subs.sed <<_ACEOF
50285 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50286 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50287 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50288 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50289 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50290 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50291 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50292 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50293 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50294 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50295 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50296 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50297 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50298 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50299 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50300 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50301 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50302 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50303 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50304 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50305 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50306 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50307 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50308 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50309 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50310 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50311 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50312 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50313 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50314 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50315 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50316 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50317 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50318 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50319 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50320 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50321 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50322 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50323 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50324 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50325 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50326 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50327 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50328 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50329 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50330 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50331 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50332 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50333 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50334 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50335 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50336 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50337 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50338 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50339 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50340 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50341 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50342 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50343 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50344 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50345 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50346 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50347 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50348 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50349 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50350 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50351 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50352 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50353 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50354 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50355 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50356 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50357 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50358 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50359 COND_SHARED_0!$COND_SHARED_0$ac_delim
50360 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50361 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50362 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50363 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50364 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50365 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50366 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50367 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50368 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50369 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50370 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50371 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50372 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50373 COND_SHARED_1!$COND_SHARED_1$ac_delim
50374 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50375 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50376 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50377 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50378 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50379 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50380 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50381 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50382 _ACEOF
50383
50384 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50385 break
50386 elif $ac_last_try; then
50387 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50388 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50389 { (exit 1); exit 1; }; }
50390 else
50391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50392 fi
50393 done
50394
50395 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50396 if test -n "$ac_eof"; then
50397 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50398 ac_eof=`expr $ac_eof + 1`
50399 fi
50400
50401 cat >>$CONFIG_STATUS <<_ACEOF
50402 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50404 _ACEOF
50405 sed '
50406 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50407 s/^/s,@/; s/!/@,|#_!!_#|/
50408 :n
50409 t n
50410 s/'"$ac_delim"'$/,g/; t
50411 s/$/\\/; p
50412 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50413 ' >>$CONFIG_STATUS <conf$$subs.sed
50414 rm -f conf$$subs.sed
50415 cat >>$CONFIG_STATUS <<_ACEOF
50416 CEOF$ac_eof
50417 _ACEOF
50418
50419
50420 ac_delim='%!_!# '
50421 for ac_last_try in false false false false false :; do
50422 cat >conf$$subs.sed <<_ACEOF
50423 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50424 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50425 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50426 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50427 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50428 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50429 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50430 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50431 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50432 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50433 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50434 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50435 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50436 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50437 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50438 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50439 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50440 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50441 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50442 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50443 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50444 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50445 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50446 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50447 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50448 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50449 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50450 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50451 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50452 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50453 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50454 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50455 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50456 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50457 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50458 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50459 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50460 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50461 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50462 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50463 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50464 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50465 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50466 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50467 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50468 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50469 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50470 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50471 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50472 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50473 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50474 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50475 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50476 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50477 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50478 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50479 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50480 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50481 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50482 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50483 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50484 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50485 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50486 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50487 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50488 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50489 SHARED!$SHARED$ac_delim
50490 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50491 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50492 USE_GUI!$USE_GUI$ac_delim
50493 AFMINSTALL!$AFMINSTALL$ac_delim
50494 WIN32INSTALL!$WIN32INSTALL$ac_delim
50495 TOOLKIT!$TOOLKIT$ac_delim
50496 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50497 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50498 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50499 cross_compiling!$cross_compiling$ac_delim
50500 WIDGET_SET!$WIDGET_SET$ac_delim
50501 WX_RELEASE!$WX_RELEASE$ac_delim
50502 WX_VERSION!$WX_VERSION$ac_delim
50503 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50504 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50505 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50506 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50507 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50508 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50509 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50510 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50511 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50512 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50513 EXE_LINKER!$EXE_LINKER$ac_delim
50514 GUIDIST!$GUIDIST$ac_delim
50515 DISTDIR!$DISTDIR$ac_delim
50516 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50517 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50518 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50519 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50520 _ACEOF
50521
50522 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50523 break
50524 elif $ac_last_try; then
50525 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50526 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50527 { (exit 1); exit 1; }; }
50528 else
50529 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50530 fi
50531 done
50532
50533 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50534 if test -n "$ac_eof"; then
50535 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50536 ac_eof=`expr $ac_eof + 1`
50537 fi
50538
50539 cat >>$CONFIG_STATUS <<_ACEOF
50540 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50541 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50542 _ACEOF
50543 sed '
50544 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50545 s/^/s,@/; s/!/@,|#_!!_#|/
50546 :n
50547 t n
50548 s/'"$ac_delim"'$/,g/; t
50549 s/$/\\/; p
50550 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50551 ' >>$CONFIG_STATUS <conf$$subs.sed
50552 rm -f conf$$subs.sed
50553 cat >>$CONFIG_STATUS <<_ACEOF
50554 CEOF$ac_eof
50555 _ACEOF
50556
50557
50558 ac_delim='%!_!# '
50559 for ac_last_try in false false false false false :; do
50560 cat >conf$$subs.sed <<_ACEOF
50561 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50562 RESCOMP!$RESCOMP$ac_delim
50563 RESFLAGS!$RESFLAGS$ac_delim
50564 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50565 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50566 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50567 LIBWXMACRES!$LIBWXMACRES$ac_delim
50568 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50569 MACSETFILE!$MACSETFILE$ac_delim
50570 GCC!$GCC$ac_delim
50571 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50572 LIBOBJS!$LIBOBJS$ac_delim
50573 LTLIBOBJS!$LTLIBOBJS$ac_delim
50574 _ACEOF
50575
50576 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50577 break
50578 elif $ac_last_try; then
50579 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50580 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50581 { (exit 1); exit 1; }; }
50582 else
50583 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50584 fi
50585 done
50586
50587 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50588 if test -n "$ac_eof"; then
50589 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50590 ac_eof=`expr $ac_eof + 1`
50591 fi
50592
50593 cat >>$CONFIG_STATUS <<_ACEOF
50594 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50595 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50596 _ACEOF
50597 sed '
50598 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50599 s/^/s,@/; s/!/@,|#_!!_#|/
50600 :n
50601 t n
50602 s/'"$ac_delim"'$/,g/; t
50603 s/$/\\/; p
50604 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50605 ' >>$CONFIG_STATUS <conf$$subs.sed
50606 rm -f conf$$subs.sed
50607 cat >>$CONFIG_STATUS <<_ACEOF
50608 :end
50609 s/|#_!!_#|//g
50610 CEOF$ac_eof
50611 _ACEOF
50612
50613
50614 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50615 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50616 # trailing colons and then remove the whole line if VPATH becomes empty
50617 # (actually we leave an empty line to preserve line numbers).
50618 if test "x$srcdir" = x.; then
50619 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50620 s/:*\$(srcdir):*/:/
50621 s/:*\${srcdir}:*/:/
50622 s/:*@srcdir@:*/:/
50623 s/^\([^=]*=[ ]*\):*/\1/
50624 s/:*$//
50625 s/^[^=]*=[ ]*$//
50626 }'
50627 fi
50628
50629 cat >>$CONFIG_STATUS <<\_ACEOF
50630 fi # test -n "$CONFIG_FILES"
50631
50632
50633 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50634 do
50635 case $ac_tag in
50636 :[FHLC]) ac_mode=$ac_tag; continue;;
50637 esac
50638 case $ac_mode$ac_tag in
50639 :[FHL]*:*);;
50640 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50641 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50642 { (exit 1); exit 1; }; };;
50643 :[FH]-) ac_tag=-:-;;
50644 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50645 esac
50646 ac_save_IFS=$IFS
50647 IFS=:
50648 set x $ac_tag
50649 IFS=$ac_save_IFS
50650 shift
50651 ac_file=$1
50652 shift
50653
50654 case $ac_mode in
50655 :L) ac_source=$1;;
50656 :[FH])
50657 ac_file_inputs=
50658 for ac_f
50659 do
50660 case $ac_f in
50661 -) ac_f="$tmp/stdin";;
50662 *) # Look for the file first in the build tree, then in the source tree
50663 # (if the path is not absolute). The absolute path cannot be DOS-style,
50664 # because $ac_f cannot contain `:'.
50665 test -f "$ac_f" ||
50666 case $ac_f in
50667 [\\/$]*) false;;
50668 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50669 esac ||
50670 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50671 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50672 { (exit 1); exit 1; }; };;
50673 esac
50674 ac_file_inputs="$ac_file_inputs $ac_f"
50675 done
50676
50677 # Let's still pretend it is `configure' which instantiates (i.e., don't
50678 # use $as_me), people would be surprised to read:
50679 # /* config.h. Generated by config.status. */
50680 configure_input="Generated from "`IFS=:
50681 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50682 if test x"$ac_file" != x-; then
50683 configure_input="$ac_file. $configure_input"
50684 { echo "$as_me:$LINENO: creating $ac_file" >&5
50685 echo "$as_me: creating $ac_file" >&6;}
50686 fi
50687
50688 case $ac_tag in
50689 *:-:* | *:-) cat >"$tmp/stdin";;
50690 esac
50691 ;;
50692 esac
50693
50694 ac_dir=`$as_dirname -- "$ac_file" ||
50695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50696 X"$ac_file" : 'X\(//\)[^/]' \| \
50697 X"$ac_file" : 'X\(//\)$' \| \
50698 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50699 echo X"$ac_file" |
50700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50701 s//\1/
50702 q
50703 }
50704 /^X\(\/\/\)[^/].*/{
50705 s//\1/
50706 q
50707 }
50708 /^X\(\/\/\)$/{
50709 s//\1/
50710 q
50711 }
50712 /^X\(\/\).*/{
50713 s//\1/
50714 q
50715 }
50716 s/.*/./; q'`
50717 { as_dir="$ac_dir"
50718 case $as_dir in #(
50719 -*) as_dir=./$as_dir;;
50720 esac
50721 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50722 as_dirs=
50723 while :; do
50724 case $as_dir in #(
50725 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50726 *) as_qdir=$as_dir;;
50727 esac
50728 as_dirs="'$as_qdir' $as_dirs"
50729 as_dir=`$as_dirname -- "$as_dir" ||
50730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50731 X"$as_dir" : 'X\(//\)[^/]' \| \
50732 X"$as_dir" : 'X\(//\)$' \| \
50733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50734 echo X"$as_dir" |
50735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50736 s//\1/
50737 q
50738 }
50739 /^X\(\/\/\)[^/].*/{
50740 s//\1/
50741 q
50742 }
50743 /^X\(\/\/\)$/{
50744 s//\1/
50745 q
50746 }
50747 /^X\(\/\).*/{
50748 s//\1/
50749 q
50750 }
50751 s/.*/./; q'`
50752 test -d "$as_dir" && break
50753 done
50754 test -z "$as_dirs" || eval "mkdir $as_dirs"
50755 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50756 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50757 { (exit 1); exit 1; }; }; }
50758 ac_builddir=.
50759
50760 case "$ac_dir" in
50761 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50762 *)
50763 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50764 # A ".." for each directory in $ac_dir_suffix.
50765 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50766 case $ac_top_builddir_sub in
50767 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50768 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50769 esac ;;
50770 esac
50771 ac_abs_top_builddir=$ac_pwd
50772 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50773 # for backward compatibility:
50774 ac_top_builddir=$ac_top_build_prefix
50775
50776 case $srcdir in
50777 .) # We are building in place.
50778 ac_srcdir=.
50779 ac_top_srcdir=$ac_top_builddir_sub
50780 ac_abs_top_srcdir=$ac_pwd ;;
50781 [\\/]* | ?:[\\/]* ) # Absolute name.
50782 ac_srcdir=$srcdir$ac_dir_suffix;
50783 ac_top_srcdir=$srcdir
50784 ac_abs_top_srcdir=$srcdir ;;
50785 *) # Relative name.
50786 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50787 ac_top_srcdir=$ac_top_build_prefix$srcdir
50788 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50789 esac
50790 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50791
50792
50793 case $ac_mode in
50794 :F)
50795 #
50796 # CONFIG_FILE
50797 #
50798
50799 case $INSTALL in
50800 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50801 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50802 esac
50803 _ACEOF
50804
50805 cat >>$CONFIG_STATUS <<\_ACEOF
50806 # If the template does not know about datarootdir, expand it.
50807 # FIXME: This hack should be removed a few years after 2.60.
50808 ac_datarootdir_hack=; ac_datarootdir_seen=
50809
50810 case `sed -n '/datarootdir/ {
50811 p
50812 q
50813 }
50814 /@datadir@/p
50815 /@docdir@/p
50816 /@infodir@/p
50817 /@localedir@/p
50818 /@mandir@/p
50819 ' $ac_file_inputs` in
50820 *datarootdir*) ac_datarootdir_seen=yes;;
50821 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50822 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50823 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50824 _ACEOF
50825 cat >>$CONFIG_STATUS <<_ACEOF
50826 ac_datarootdir_hack='
50827 s&@datadir@&$datadir&g
50828 s&@docdir@&$docdir&g
50829 s&@infodir@&$infodir&g
50830 s&@localedir@&$localedir&g
50831 s&@mandir@&$mandir&g
50832 s&\\\${datarootdir}&$datarootdir&g' ;;
50833 esac
50834 _ACEOF
50835
50836 # Neutralize VPATH when `$srcdir' = `.'.
50837 # Shell code in configure.ac might set extrasub.
50838 # FIXME: do we really want to maintain this feature?
50839 cat >>$CONFIG_STATUS <<_ACEOF
50840 sed "$ac_vpsub
50841 $extrasub
50842 _ACEOF
50843 cat >>$CONFIG_STATUS <<\_ACEOF
50844 :t
50845 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50846 s&@configure_input@&$configure_input&;t t
50847 s&@top_builddir@&$ac_top_builddir_sub&;t t
50848 s&@srcdir@&$ac_srcdir&;t t
50849 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50850 s&@top_srcdir@&$ac_top_srcdir&;t t
50851 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50852 s&@builddir@&$ac_builddir&;t t
50853 s&@abs_builddir@&$ac_abs_builddir&;t t
50854 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50855 s&@INSTALL@&$ac_INSTALL&;t t
50856 $ac_datarootdir_hack
50857 " $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
50858
50859 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50860 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50861 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50862 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50863 which seems to be undefined. Please make sure it is defined." >&5
50864 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50865 which seems to be undefined. Please make sure it is defined." >&2;}
50866
50867 rm -f "$tmp/stdin"
50868 case $ac_file in
50869 -) cat "$tmp/out"; rm -f "$tmp/out";;
50870 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50871 esac
50872 ;;
50873 :H)
50874 #
50875 # CONFIG_HEADER
50876 #
50877 _ACEOF
50878
50879 # Transform confdefs.h into a sed script `conftest.defines', that
50880 # substitutes the proper values into config.h.in to produce config.h.
50881 rm -f conftest.defines conftest.tail
50882 # First, append a space to every undef/define line, to ease matching.
50883 echo 's/$/ /' >conftest.defines
50884 # Then, protect against being on the right side of a sed subst, or in
50885 # an unquoted here document, in config.status. If some macros were
50886 # called several times there might be several #defines for the same
50887 # symbol, which is useless. But do not sort them, since the last
50888 # AC_DEFINE must be honored.
50889 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50890 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50891 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50892 # PARAMS is the parameter list in the macro definition--in most cases, it's
50893 # just an empty string.
50894 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50895 ac_dB='\\)[ (].*,\\1define\\2'
50896 ac_dC=' '
50897 ac_dD=' ,'
50898
50899 uniq confdefs.h |
50900 sed -n '
50901 t rset
50902 :rset
50903 s/^[ ]*#[ ]*define[ ][ ]*//
50904 t ok
50905 d
50906 :ok
50907 s/[\\&,]/\\&/g
50908 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50909 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50910 ' >>conftest.defines
50911
50912 # Remove the space that was appended to ease matching.
50913 # Then replace #undef with comments. This is necessary, for
50914 # example, in the case of _POSIX_SOURCE, which is predefined and required
50915 # on some systems where configure will not decide to define it.
50916 # (The regexp can be short, since the line contains either #define or #undef.)
50917 echo 's/ $//
50918 s,^[ #]*u.*,/* & */,' >>conftest.defines
50919
50920 # Break up conftest.defines:
50921 ac_max_sed_lines=50
50922
50923 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50924 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50925 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50926 # et cetera.
50927 ac_in='$ac_file_inputs'
50928 ac_out='"$tmp/out1"'
50929 ac_nxt='"$tmp/out2"'
50930
50931 while :
50932 do
50933 # Write a here document:
50934 cat >>$CONFIG_STATUS <<_ACEOF
50935 # First, check the format of the line:
50936 cat >"\$tmp/defines.sed" <<\\CEOF
50937 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50938 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50939 b
50940 :def
50941 _ACEOF
50942 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50943 echo 'CEOF
50944 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50945 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50946 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50947 grep . conftest.tail >/dev/null || break
50948 rm -f conftest.defines
50949 mv conftest.tail conftest.defines
50950 done
50951 rm -f conftest.defines conftest.tail
50952
50953 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50954 cat >>$CONFIG_STATUS <<\_ACEOF
50955 if test x"$ac_file" != x-; then
50956 echo "/* $configure_input */" >"$tmp/config.h"
50957 cat "$ac_result" >>"$tmp/config.h"
50958 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50959 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50960 echo "$as_me: $ac_file is unchanged" >&6;}
50961 else
50962 rm -f $ac_file
50963 mv "$tmp/config.h" $ac_file
50964 fi
50965 else
50966 echo "/* $configure_input */"
50967 cat "$ac_result"
50968 fi
50969 rm -f "$tmp/out12"
50970 ;;
50971
50972 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50973 echo "$as_me: executing $ac_file commands" >&6;}
50974 ;;
50975 esac
50976
50977
50978 case $ac_file$ac_mode in
50979 "rcdefs.h":C)
50980 mkdir -p $outdir &&
50981 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50982 ;;
50983 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50984 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50985 "wx-config":C) rm -f wx-config
50986 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50987 ;;
50988
50989 esac
50990 done # for ac_tag
50991
50992
50993 { (exit 0); exit 0; }
50994 _ACEOF
50995 chmod +x $CONFIG_STATUS
50996 ac_clean_files=$ac_clean_files_save
50997
50998
50999 # configure is writing to config.log, and then calls config.status.
51000 # config.status does its own redirection, appending to config.log.
51001 # Unfortunately, on DOS this fails, as config.log is still kept open
51002 # by configure, so config.status won't be able to write to it; its
51003 # output is simply discarded. So we exec the FD to /dev/null,
51004 # effectively closing config.log, so it can be properly (re)opened and
51005 # appended to by config.status. When coming back to configure, we
51006 # need to make the FD available again.
51007 if test "$no_create" != yes; then
51008 ac_cs_success=:
51009 ac_config_status_args=
51010 test "$silent" = yes &&
51011 ac_config_status_args="$ac_config_status_args --quiet"
51012 exec 5>/dev/null
51013 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51014 exec 5>>config.log
51015 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51016 # would make configure fail if this is the last instruction.
51017 $ac_cs_success || { (exit 1); exit 1; }
51018 fi
51019
51020 #
51021 # CONFIG_SUBDIRS section.
51022 #
51023 if test "$no_recursion" != yes; then
51024
51025 # Remove --cache-file and --srcdir arguments so they do not pile up.
51026 ac_sub_configure_args=
51027 ac_prev=
51028 eval "set x $ac_configure_args"
51029 shift
51030 for ac_arg
51031 do
51032 if test -n "$ac_prev"; then
51033 ac_prev=
51034 continue
51035 fi
51036 case $ac_arg in
51037 -cache-file | --cache-file | --cache-fil | --cache-fi \
51038 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51039 ac_prev=cache_file ;;
51040 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51041 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51042 | --c=*)
51043 ;;
51044 --config-cache | -C)
51045 ;;
51046 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51047 ac_prev=srcdir ;;
51048 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51049 ;;
51050 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51051 ac_prev=prefix ;;
51052 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51053 ;;
51054 *)
51055 case $ac_arg in
51056 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51057 esac
51058 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51059 esac
51060 done
51061
51062 # Always prepend --prefix to ensure using the same prefix
51063 # in subdir configurations.
51064 ac_arg="--prefix=$prefix"
51065 case $ac_arg in
51066 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51067 esac
51068 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51069
51070 # Pass --silent
51071 if test "$silent" = yes; then
51072 ac_sub_configure_args="--silent $ac_sub_configure_args"
51073 fi
51074
51075 ac_popdir=`pwd`
51076 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51077
51078 # Do not complain, so a configure script can configure whichever
51079 # parts of a large source tree are present.
51080 test -d "$srcdir/$ac_dir" || continue
51081
51082 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51083 echo "$as_me:$LINENO: $ac_msg" >&5
51084 echo "$ac_msg" >&6
51085 { as_dir="$ac_dir"
51086 case $as_dir in #(
51087 -*) as_dir=./$as_dir;;
51088 esac
51089 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51090 as_dirs=
51091 while :; do
51092 case $as_dir in #(
51093 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51094 *) as_qdir=$as_dir;;
51095 esac
51096 as_dirs="'$as_qdir' $as_dirs"
51097 as_dir=`$as_dirname -- "$as_dir" ||
51098 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51099 X"$as_dir" : 'X\(//\)[^/]' \| \
51100 X"$as_dir" : 'X\(//\)$' \| \
51101 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51102 echo X"$as_dir" |
51103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51104 s//\1/
51105 q
51106 }
51107 /^X\(\/\/\)[^/].*/{
51108 s//\1/
51109 q
51110 }
51111 /^X\(\/\/\)$/{
51112 s//\1/
51113 q
51114 }
51115 /^X\(\/\).*/{
51116 s//\1/
51117 q
51118 }
51119 s/.*/./; q'`
51120 test -d "$as_dir" && break
51121 done
51122 test -z "$as_dirs" || eval "mkdir $as_dirs"
51123 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51124 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51125 { (exit 1); exit 1; }; }; }
51126 ac_builddir=.
51127
51128 case "$ac_dir" in
51129 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51130 *)
51131 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51132 # A ".." for each directory in $ac_dir_suffix.
51133 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51134 case $ac_top_builddir_sub in
51135 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51136 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51137 esac ;;
51138 esac
51139 ac_abs_top_builddir=$ac_pwd
51140 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51141 # for backward compatibility:
51142 ac_top_builddir=$ac_top_build_prefix
51143
51144 case $srcdir in
51145 .) # We are building in place.
51146 ac_srcdir=.
51147 ac_top_srcdir=$ac_top_builddir_sub
51148 ac_abs_top_srcdir=$ac_pwd ;;
51149 [\\/]* | ?:[\\/]* ) # Absolute name.
51150 ac_srcdir=$srcdir$ac_dir_suffix;
51151 ac_top_srcdir=$srcdir
51152 ac_abs_top_srcdir=$srcdir ;;
51153 *) # Relative name.
51154 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51155 ac_top_srcdir=$ac_top_build_prefix$srcdir
51156 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51157 esac
51158 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51159
51160
51161 cd "$ac_dir"
51162
51163 # Check for guested configure; otherwise get Cygnus style configure.
51164 if test -f "$ac_srcdir/configure.gnu"; then
51165 ac_sub_configure=$ac_srcdir/configure.gnu
51166 elif test -f "$ac_srcdir/configure"; then
51167 ac_sub_configure=$ac_srcdir/configure
51168 elif test -f "$ac_srcdir/configure.in"; then
51169 # This should be Cygnus configure.
51170 ac_sub_configure=$ac_aux_dir/configure
51171 else
51172 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51173 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51174 ac_sub_configure=
51175 fi
51176
51177 # The recursion is here.
51178 if test -n "$ac_sub_configure"; then
51179 # Make the cache file name correct relative to the subdirectory.
51180 case $cache_file in
51181 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51182 *) # Relative name.
51183 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51184 esac
51185
51186 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51187 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51188 # The eval makes quoting arguments work.
51189 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51190 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51191 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51192 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51193 { (exit 1); exit 1; }; }
51194 fi
51195
51196 cd "$ac_popdir"
51197 done
51198 fi
51199
51200
51201 echo
51202 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51203 echo ""
51204 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51205 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51206
51207 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51208 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51209 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51210 if test "$wxUSE_UNICODE" = "yes"; then
51211 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51212 echo " (using UTF-8)"
51213 else
51214 echo " (using wchar_t)"
51215 fi
51216 else
51217 echo
51218 fi
51219
51220 echo " What level of wxWidgets compatibility should be enabled?"
51221 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51222 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51223
51224 echo " Which libraries should wxWidgets use?"
51225 echo " jpeg ${wxUSE_LIBJPEG-none}"
51226 echo " png ${wxUSE_LIBPNG-none}"
51227 echo " regex ${wxUSE_REGEX}"
51228 echo " tiff ${wxUSE_LIBTIFF-none}"
51229 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51230 echo " xpm ${wxUSE_LIBXPM-none}"
51231 fi
51232 echo " zlib ${wxUSE_ZLIB}"
51233 echo " odbc ${wxUSE_ODBC}"
51234 echo " expat ${wxUSE_EXPAT}"
51235 echo " libmspack ${wxUSE_LIBMSPACK}"
51236 echo " sdl ${wxUSE_LIBSDL}"
51237
51238 echo ""
51239