]> git.saurik.com Git - wxWidgets.git/blob - configure
More work on sorting in wxDataViewCtrl
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47230 2007-07-08 07:04:38Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 CFLAGS_VISIBILITY
711 CXXFLAGS_VISIBILITY
712 REZ
713 DEREZ
714 SETFILE
715 LIBICONV
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 CORE_BASE_LIBS
730 CORE_GUI_LIBS
731 wxUSE_ZLIB
732 wxUSE_REGEX
733 wxUSE_EXPAT
734 wxUSE_ODBC
735 wxUSE_LIBJPEG
736 wxUSE_LIBPNG
737 wxUSE_LIBTIFF
738 VENDOR
739 OFFICIAL_BUILD
740 WX_FLAVOUR
741 WX_LIB_FLAVOUR
742 WXUNIV
743 MONOLITHIC
744 USE_PLUGINS
745 CXXWARNINGS
746 EXTRALIBS
747 EXTRALIBS_XML
748 EXTRALIBS_HTML
749 EXTRALIBS_ODBC
750 EXTRALIBS_GUI
751 EXTRALIBS_OPENGL
752 EXTRALIBS_SDL
753 WITH_PLUGIN_SDL
754 EXTRALIBS_GNOMEPRINT
755 EXTRALIBS_GNOMEVFS
756 EXTRALIBS_HILDON
757 UNICODE
758 BUILD
759 DEBUG_INFO
760 DEBUG_FLAG
761 TOOLKIT_LOWERCASE
762 TOOLKIT_VERSION
763 SAMPLES_RPATH_FLAG
764 SAMPLES_RPATH_POSTLINK
765 HOST_SUFFIX
766 CPPUNIT_CFLAGS
767 CPPUNIT_LIBS
768 SET_MAKE
769 MAKE_SET
770 AROPTIONS
771 NM
772 INSTALL_DIR
773 LDFLAGS_GUI
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 GCC_PCH
807 ICC_PCH
808 BK_MAKE_PCH
809 COND_BUILD_DEBUG
810 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
811 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
812 COND_BUILD_DEBUG_UNICODE_0
813 COND_BUILD_DEBUG_UNICODE_1
814 COND_BUILD_RELEASE
815 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
816 COND_BUILD_RELEASE_UNICODE_0
817 COND_BUILD_RELEASE_UNICODE_1
818 COND_DEBUG_FLAG_1
819 COND_DEBUG_INFO_0
820 COND_DEBUG_INFO_1
821 COND_DEPS_TRACKING_0
822 COND_DEPS_TRACKING_1
823 COND_GCC_PCH_1
824 COND_ICC_PCH_1
825 COND_MONOLITHIC_0
826 COND_MONOLITHIC_0_SHARED_0
827 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
846 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
848 COND_MONOLITHIC_0_USE_AUI_1
849 COND_MONOLITHIC_0_USE_GUI_1
850 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_HTML_1
853 COND_MONOLITHIC_0_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_QA_1
856 COND_MONOLITHIC_0_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_USE_STC_1
858 COND_MONOLITHIC_0_USE_XRC_1
859 COND_MONOLITHIC_1
860 COND_MONOLITHIC_1_SHARED_0
861 COND_MONOLITHIC_1_SHARED_1
862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
864 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_
868 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
869 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
873 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
874 COND_PLATFORM_MACOSX_1_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
876 COND_PLATFORM_MACOS_1
877 COND_PLATFORM_MAC_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_OS2_1
881 COND_PLATFORM_UNIX_0
882 COND_PLATFORM_UNIX_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
889 COND_SHARED_0
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_USE_XRC_1
899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
900 COND_SHARED_0_WXUSE_ODBC_BUILTIN
901 COND_SHARED_0_WXUSE_REGEX_BUILTIN
902 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
903 COND_SHARED_1
904 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
905 COND_SHARED_1_USE_XRC_1
906 COND_TOOLKIT_
907 COND_TOOLKIT_COCOA
908 COND_TOOLKIT_COCOA_USE_GUI_1
909 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_DFB
911 COND_TOOLKIT_DFB_USE_GUI_1
912 COND_TOOLKIT_GTK
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_USE_GUI_1
920 COND_TOOLKIT_MAC
921 COND_TOOLKIT_MAC_USE_GUI_1
922 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MGL
924 COND_TOOLKIT_MGL_USE_GUI_1
925 COND_TOOLKIT_MOTIF
926 COND_TOOLKIT_MOTIF_USE_GUI_1
927 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW
929 COND_TOOLKIT_MSW_USE_GUI_1
930 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_WXUNIV_0
932 COND_TOOLKIT_PM
933 COND_TOOLKIT_PM_USE_GUI_1
934 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE
936 COND_TOOLKIT_WINCE_USE_GUI_1
937 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_WXUNIV_0
939 COND_TOOLKIT_X11
940 COND_TOOLKIT_X11_USE_GUI_1
941 COND_UNICODE_1
942 COND_USE_EXCEPTIONS_0
943 COND_USE_EXCEPTIONS_1
944 COND_USE_GUI_0
945 COND_USE_GUI_1
946 COND_USE_GUI_1_USE_OPENGL_1
947 COND_USE_GUI_1_WXUNIV_0
948 COND_USE_GUI_1_WXUNIV_1
949 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
952 COND_USE_ODBC_1
953 COND_USE_OPENGL_1
954 COND_USE_PCH_1
955 COND_USE_PLUGINS_0
956 COND_USE_RTTI_0
957 COND_USE_RTTI_1
958 COND_USE_SOSYMLINKS_1
959 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
960 COND_USE_SOVERLINUX_1
961 COND_USE_SOVERSION_0
962 COND_USE_SOVERSOLARIS_1
963 COND_USE_STC_1
964 COND_USE_THREADS_0
965 COND_USE_THREADS_1
966 COND_USE_XRC_1
967 COND_WINDOWS_IMPLIB_1
968 COND_WITH_PLUGIN_SDL_1
969 COND_WXUNIV_0
970 COND_WXUNIV_1
971 COND_WXUSE_EXPAT_BUILTIN
972 COND_WXUSE_LIBJPEG_BUILTIN
973 COND_WXUSE_LIBPNG_BUILTIN
974 COND_WXUSE_LIBTIFF_BUILTIN
975 COND_WXUSE_ODBC_BUILTIN
976 COND_WXUSE_REGEX_BUILTIN
977 COND_WXUSE_ZLIB_BUILTIN
978 SHARED
979 WX_LIBRARY_BASENAME_NOGUI
980 WX_LIBRARY_BASENAME_GUI
981 USE_GUI
982 AFMINSTALL
983 WIN32INSTALL
984 TOOLKIT
985 TOOLKIT_DIR
986 TOOLCHAIN_NAME
987 TOOLCHAIN_FULLNAME
988 cross_compiling
989 WIDGET_SET
990 WX_RELEASE
991 WX_VERSION
992 WX_SUBVERSION
993 WX_CHARTYPE
994 WX_DEBUGTYPE
995 WXCONFIG_CPPFLAGS
996 WXCONFIG_CFLAGS
997 WXCONFIG_CXXFLAGS
998 WXCONFIG_LIBS
999 WXCONFIG_RPATH
1000 WXCONFIG_LDFLAGS_GUI
1001 WXCONFIG_RESFLAGS
1002 EXE_LINKER
1003 GUIDIST
1004 DISTDIR
1005 SAMPLES_SUBDIRS
1006 LDFLAGS_GL
1007 OPENGL_LIBS
1008 DMALLOC_LIBS
1009 WX_VERSION_TAG
1010 RESCOMP
1011 RESFLAGS
1012 RESPROGRAMOBJ
1013 WX_RESOURCES_MACOSX_ASCII
1014 WX_RESOURCES_MACOSX_DATA
1015 LIBWXMACRES
1016 POSTLINK_COMMAND
1017 MACSETFILE
1018 GCC
1019 CPPUNIT_CONFIG
1020 LIBOBJS
1021 LTLIBOBJS'
1022 ac_subst_files=''
1023 ac_precious_vars='build_alias
1024 host_alias
1025 target_alias
1026 CC
1027 CFLAGS
1028 LDFLAGS
1029 LIBS
1030 CPPFLAGS
1031 CPP
1032 CXX
1033 CXXFLAGS
1034 CCC
1035 PKG_CONFIG
1036 DIRECTFB_CFLAGS
1037 DIRECTFB_LIBS
1038 XMKMF
1039 PANGOX_CFLAGS
1040 PANGOX_LIBS
1041 PANGOFT2_CFLAGS
1042 PANGOFT2_LIBS
1043 PANGOXFT_CFLAGS
1044 PANGOXFT_LIBS
1045 LIBGNOMEPRINTUI_CFLAGS
1046 LIBGNOMEPRINTUI_LIBS
1047 GNOMEVFS_CFLAGS
1048 GNOMEVFS_LIBS
1049 HILDON_CFLAGS
1050 HILDON_LIBS
1051 CAIRO_CFLAGS
1052 CAIRO_LIBS
1053 GST_CFLAGS
1054 GST_LIBS'
1055 ac_subdirs_all='src/expat'
1056
1057 # Initialize some variables set by options.
1058 ac_init_help=
1059 ac_init_version=false
1060 # The variables have the same names as the options, with
1061 # dashes changed to underlines.
1062 cache_file=/dev/null
1063 exec_prefix=NONE
1064 no_create=
1065 no_recursion=
1066 prefix=NONE
1067 program_prefix=NONE
1068 program_suffix=NONE
1069 program_transform_name=s,x,x,
1070 silent=
1071 site=
1072 srcdir=
1073 verbose=
1074 x_includes=NONE
1075 x_libraries=NONE
1076
1077 # Installation directory options.
1078 # These are left unexpanded so users can "make install exec_prefix=/foo"
1079 # and all the variables that are supposed to be based on exec_prefix
1080 # by default will actually change.
1081 # Use braces instead of parens because sh, perl, etc. also accept them.
1082 # (The list follows the same order as the GNU Coding Standards.)
1083 bindir='${exec_prefix}/bin'
1084 sbindir='${exec_prefix}/sbin'
1085 libexecdir='${exec_prefix}/libexec'
1086 datarootdir='${prefix}/share'
1087 datadir='${datarootdir}'
1088 sysconfdir='${prefix}/etc'
1089 sharedstatedir='${prefix}/com'
1090 localstatedir='${prefix}/var'
1091 includedir='${prefix}/include'
1092 oldincludedir='/usr/include'
1093 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1094 infodir='${datarootdir}/info'
1095 htmldir='${docdir}'
1096 dvidir='${docdir}'
1097 pdfdir='${docdir}'
1098 psdir='${docdir}'
1099 libdir='${exec_prefix}/lib'
1100 localedir='${datarootdir}/locale'
1101 mandir='${datarootdir}/man'
1102
1103 ac_prev=
1104 ac_dashdash=
1105 for ac_option
1106 do
1107 # If the previous option needs an argument, assign it.
1108 if test -n "$ac_prev"; then
1109 eval $ac_prev=\$ac_option
1110 ac_prev=
1111 continue
1112 fi
1113
1114 case $ac_option in
1115 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1116 *) ac_optarg=yes ;;
1117 esac
1118
1119 # Accept the important Cygnus configure options, so we can diagnose typos.
1120
1121 case $ac_dashdash$ac_option in
1122 --)
1123 ac_dashdash=yes ;;
1124
1125 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1126 ac_prev=bindir ;;
1127 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1128 bindir=$ac_optarg ;;
1129
1130 -build | --build | --buil | --bui | --bu)
1131 ac_prev=build_alias ;;
1132 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1133 build_alias=$ac_optarg ;;
1134
1135 -cache-file | --cache-file | --cache-fil | --cache-fi \
1136 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1137 ac_prev=cache_file ;;
1138 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1139 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1140 cache_file=$ac_optarg ;;
1141
1142 --config-cache | -C)
1143 cache_file=config.cache ;;
1144
1145 -datadir | --datadir | --datadi | --datad)
1146 ac_prev=datadir ;;
1147 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1148 datadir=$ac_optarg ;;
1149
1150 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1151 | --dataroo | --dataro | --datar)
1152 ac_prev=datarootdir ;;
1153 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1154 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1155 datarootdir=$ac_optarg ;;
1156
1157 -disable-* | --disable-*)
1158 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1162 { (exit 1); exit 1; }; }
1163 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1164 eval enable_$ac_feature=no ;;
1165
1166 -docdir | --docdir | --docdi | --doc | --do)
1167 ac_prev=docdir ;;
1168 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1169 docdir=$ac_optarg ;;
1170
1171 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1172 ac_prev=dvidir ;;
1173 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1174 dvidir=$ac_optarg ;;
1175
1176 -enable-* | --enable-*)
1177 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1181 { (exit 1); exit 1; }; }
1182 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1183 eval enable_$ac_feature=\$ac_optarg ;;
1184
1185 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1186 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1187 | --exec | --exe | --ex)
1188 ac_prev=exec_prefix ;;
1189 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1190 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1191 | --exec=* | --exe=* | --ex=*)
1192 exec_prefix=$ac_optarg ;;
1193
1194 -gas | --gas | --ga | --g)
1195 # Obsolete; use --with-gas.
1196 with_gas=yes ;;
1197
1198 -help | --help | --hel | --he | -h)
1199 ac_init_help=long ;;
1200 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1201 ac_init_help=recursive ;;
1202 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1203 ac_init_help=short ;;
1204
1205 -host | --host | --hos | --ho)
1206 ac_prev=host_alias ;;
1207 -host=* | --host=* | --hos=* | --ho=*)
1208 host_alias=$ac_optarg ;;
1209
1210 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1211 ac_prev=htmldir ;;
1212 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1213 | --ht=*)
1214 htmldir=$ac_optarg ;;
1215
1216 -includedir | --includedir | --includedi | --included | --include \
1217 | --includ | --inclu | --incl | --inc)
1218 ac_prev=includedir ;;
1219 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1220 | --includ=* | --inclu=* | --incl=* | --inc=*)
1221 includedir=$ac_optarg ;;
1222
1223 -infodir | --infodir | --infodi | --infod | --info | --inf)
1224 ac_prev=infodir ;;
1225 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1226 infodir=$ac_optarg ;;
1227
1228 -libdir | --libdir | --libdi | --libd)
1229 ac_prev=libdir ;;
1230 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1231 libdir=$ac_optarg ;;
1232
1233 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1234 | --libexe | --libex | --libe)
1235 ac_prev=libexecdir ;;
1236 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1237 | --libexe=* | --libex=* | --libe=*)
1238 libexecdir=$ac_optarg ;;
1239
1240 -localedir | --localedir | --localedi | --localed | --locale)
1241 ac_prev=localedir ;;
1242 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1243 localedir=$ac_optarg ;;
1244
1245 -localstatedir | --localstatedir | --localstatedi | --localstated \
1246 | --localstate | --localstat | --localsta | --localst | --locals)
1247 ac_prev=localstatedir ;;
1248 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1249 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1250 localstatedir=$ac_optarg ;;
1251
1252 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1253 ac_prev=mandir ;;
1254 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1255 mandir=$ac_optarg ;;
1256
1257 -nfp | --nfp | --nf)
1258 # Obsolete; use --without-fp.
1259 with_fp=no ;;
1260
1261 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1262 | --no-cr | --no-c | -n)
1263 no_create=yes ;;
1264
1265 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1266 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1267 no_recursion=yes ;;
1268
1269 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1270 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1271 | --oldin | --oldi | --old | --ol | --o)
1272 ac_prev=oldincludedir ;;
1273 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1274 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1275 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1276 oldincludedir=$ac_optarg ;;
1277
1278 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1279 ac_prev=prefix ;;
1280 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1281 prefix=$ac_optarg ;;
1282
1283 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1284 | --program-pre | --program-pr | --program-p)
1285 ac_prev=program_prefix ;;
1286 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1287 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1288 program_prefix=$ac_optarg ;;
1289
1290 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1291 | --program-suf | --program-su | --program-s)
1292 ac_prev=program_suffix ;;
1293 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1294 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1295 program_suffix=$ac_optarg ;;
1296
1297 -program-transform-name | --program-transform-name \
1298 | --program-transform-nam | --program-transform-na \
1299 | --program-transform-n | --program-transform- \
1300 | --program-transform | --program-transfor \
1301 | --program-transfo | --program-transf \
1302 | --program-trans | --program-tran \
1303 | --progr-tra | --program-tr | --program-t)
1304 ac_prev=program_transform_name ;;
1305 -program-transform-name=* | --program-transform-name=* \
1306 | --program-transform-nam=* | --program-transform-na=* \
1307 | --program-transform-n=* | --program-transform-=* \
1308 | --program-transform=* | --program-transfor=* \
1309 | --program-transfo=* | --program-transf=* \
1310 | --program-trans=* | --program-tran=* \
1311 | --progr-tra=* | --program-tr=* | --program-t=*)
1312 program_transform_name=$ac_optarg ;;
1313
1314 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1315 ac_prev=pdfdir ;;
1316 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1317 pdfdir=$ac_optarg ;;
1318
1319 -psdir | --psdir | --psdi | --psd | --ps)
1320 ac_prev=psdir ;;
1321 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1322 psdir=$ac_optarg ;;
1323
1324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1325 | -silent | --silent | --silen | --sile | --sil)
1326 silent=yes ;;
1327
1328 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1329 ac_prev=sbindir ;;
1330 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1331 | --sbi=* | --sb=*)
1332 sbindir=$ac_optarg ;;
1333
1334 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1335 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1336 | --sharedst | --shareds | --shared | --share | --shar \
1337 | --sha | --sh)
1338 ac_prev=sharedstatedir ;;
1339 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1340 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1341 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1342 | --sha=* | --sh=*)
1343 sharedstatedir=$ac_optarg ;;
1344
1345 -site | --site | --sit)
1346 ac_prev=site ;;
1347 -site=* | --site=* | --sit=*)
1348 site=$ac_optarg ;;
1349
1350 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1351 ac_prev=srcdir ;;
1352 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1353 srcdir=$ac_optarg ;;
1354
1355 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1356 | --syscon | --sysco | --sysc | --sys | --sy)
1357 ac_prev=sysconfdir ;;
1358 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1359 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1360 sysconfdir=$ac_optarg ;;
1361
1362 -target | --target | --targe | --targ | --tar | --ta | --t)
1363 ac_prev=target_alias ;;
1364 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1365 target_alias=$ac_optarg ;;
1366
1367 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1368 verbose=yes ;;
1369
1370 -version | --version | --versio | --versi | --vers | -V)
1371 ac_init_version=: ;;
1372
1373 -with-* | --with-*)
1374 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1375 # Reject names that are not valid shell variable names.
1376 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1377 { echo "$as_me: error: invalid package name: $ac_package" >&2
1378 { (exit 1); exit 1; }; }
1379 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1380 eval with_$ac_package=\$ac_optarg ;;
1381
1382 -without-* | --without-*)
1383 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1384 # Reject names that are not valid shell variable names.
1385 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1386 { echo "$as_me: error: invalid package name: $ac_package" >&2
1387 { (exit 1); exit 1; }; }
1388 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1389 eval with_$ac_package=no ;;
1390
1391 --x)
1392 # Obsolete; use --with-x.
1393 with_x=yes ;;
1394
1395 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1396 | --x-incl | --x-inc | --x-in | --x-i)
1397 ac_prev=x_includes ;;
1398 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1399 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1400 x_includes=$ac_optarg ;;
1401
1402 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1403 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1404 ac_prev=x_libraries ;;
1405 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1406 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1407 x_libraries=$ac_optarg ;;
1408
1409 -*) { echo "$as_me: error: unrecognized option: $ac_option
1410 Try \`$0 --help' for more information." >&2
1411 { (exit 1); exit 1; }; }
1412 ;;
1413
1414 *=*)
1415 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1416 # Reject names that are not valid shell variable names.
1417 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1418 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1419 { (exit 1); exit 1; }; }
1420 eval $ac_envvar=\$ac_optarg
1421 export $ac_envvar ;;
1422
1423 *)
1424 # FIXME: should be removed in autoconf 3.0.
1425 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1426 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1427 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1428 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1429 ;;
1430
1431 esac
1432 done
1433
1434 if test -n "$ac_prev"; then
1435 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1436 { echo "$as_me: error: missing argument to $ac_option" >&2
1437 { (exit 1); exit 1; }; }
1438 fi
1439
1440 # Be sure to have absolute directory names.
1441 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1442 datadir sysconfdir sharedstatedir localstatedir includedir \
1443 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1444 libdir localedir mandir
1445 do
1446 eval ac_val=\$$ac_var
1447 case $ac_val in
1448 [\\/$]* | ?:[\\/]* ) continue;;
1449 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1450 esac
1451 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1452 { (exit 1); exit 1; }; }
1453 done
1454
1455 # There might be people who depend on the old broken behavior: `$host'
1456 # used to hold the argument of --host etc.
1457 # FIXME: To remove some day.
1458 build=$build_alias
1459 host=$host_alias
1460 target=$target_alias
1461
1462 # FIXME: To remove some day.
1463 if test "x$host_alias" != x; then
1464 if test "x$build_alias" = x; then
1465 cross_compiling=maybe
1466 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1467 If a cross compiler is detected then cross compile mode will be used." >&2
1468 elif test "x$build_alias" != "x$host_alias"; then
1469 cross_compiling=yes
1470 fi
1471 fi
1472
1473 ac_tool_prefix=
1474 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1475
1476 test "$silent" = yes && exec 6>/dev/null
1477
1478
1479 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1480 ac_ls_di=`ls -di .` &&
1481 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1482 { echo "$as_me: error: Working directory cannot be determined" >&2
1483 { (exit 1); exit 1; }; }
1484 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1485 { echo "$as_me: error: pwd does not report name of working directory" >&2
1486 { (exit 1); exit 1; }; }
1487
1488
1489 # Find the source files, if location was not specified.
1490 if test -z "$srcdir"; then
1491 ac_srcdir_defaulted=yes
1492 # Try the directory containing this script, then the parent directory.
1493 ac_confdir=`$as_dirname -- "$0" ||
1494 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1495 X"$0" : 'X\(//\)[^/]' \| \
1496 X"$0" : 'X\(//\)$' \| \
1497 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1498 echo X"$0" |
1499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\/\)[^/].*/{
1504 s//\1/
1505 q
1506 }
1507 /^X\(\/\/\)$/{
1508 s//\1/
1509 q
1510 }
1511 /^X\(\/\).*/{
1512 s//\1/
1513 q
1514 }
1515 s/.*/./; q'`
1516 srcdir=$ac_confdir
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 srcdir=..
1519 fi
1520 else
1521 ac_srcdir_defaulted=no
1522 fi
1523 if test ! -r "$srcdir/$ac_unique_file"; then
1524 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1525 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1526 { (exit 1); exit 1; }; }
1527 fi
1528 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1529 ac_abs_confdir=`(
1530 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1531 { (exit 1); exit 1; }; }
1532 pwd)`
1533 # When building in place, set srcdir=.
1534 if test "$ac_abs_confdir" = "$ac_pwd"; then
1535 srcdir=.
1536 fi
1537 # Remove unnecessary trailing slashes from srcdir.
1538 # Double slashes in file names in object file debugging info
1539 # mess up M-x gdb in Emacs.
1540 case $srcdir in
1541 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1542 esac
1543 for ac_var in $ac_precious_vars; do
1544 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_env_${ac_var}_value=\$${ac_var}
1546 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1548 done
1549
1550 #
1551 # Report the --help message.
1552 #
1553 if test "$ac_init_help" = "long"; then
1554 # Omit some internal or obsolete options to make the list less imposing.
1555 # This message is too long to be a string in the A/UX 3.1 sh.
1556 cat <<_ACEOF
1557 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1558
1559 Usage: $0 [OPTION]... [VAR=VALUE]...
1560
1561 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1562 VAR=VALUE. See below for descriptions of some of the useful variables.
1563
1564 Defaults for the options are specified in brackets.
1565
1566 Configuration:
1567 -h, --help display this help and exit
1568 --help=short display options specific to this package
1569 --help=recursive display the short help of all the included packages
1570 -V, --version display version information and exit
1571 -q, --quiet, --silent do not print \`checking...' messages
1572 --cache-file=FILE cache test results in FILE [disabled]
1573 -C, --config-cache alias for \`--cache-file=config.cache'
1574 -n, --no-create do not create output files
1575 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1576
1577 Installation directories:
1578 --prefix=PREFIX install architecture-independent files in PREFIX
1579 [$ac_default_prefix]
1580 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1581 [PREFIX]
1582
1583 By default, \`make install' will install all the files in
1584 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1585 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1586 for instance \`--prefix=\$HOME'.
1587
1588 For better control, use the options below.
1589
1590 Fine tuning of the installation directories:
1591 --bindir=DIR user executables [EPREFIX/bin]
1592 --sbindir=DIR system admin executables [EPREFIX/sbin]
1593 --libexecdir=DIR program executables [EPREFIX/libexec]
1594 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1595 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1596 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1597 --libdir=DIR object code libraries [EPREFIX/lib]
1598 --includedir=DIR C header files [PREFIX/include]
1599 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1600 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1601 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1602 --infodir=DIR info documentation [DATAROOTDIR/info]
1603 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1604 --mandir=DIR man documentation [DATAROOTDIR/man]
1605 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1606 --htmldir=DIR html documentation [DOCDIR]
1607 --dvidir=DIR dvi documentation [DOCDIR]
1608 --pdfdir=DIR pdf documentation [DOCDIR]
1609 --psdir=DIR ps documentation [DOCDIR]
1610 _ACEOF
1611
1612 cat <<\_ACEOF
1613
1614 X features:
1615 --x-includes=DIR X include files are in DIR
1616 --x-libraries=DIR X library files are in DIR
1617
1618 System types:
1619 --build=BUILD configure for building on BUILD [guessed]
1620 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1621 --target=TARGET configure for building compilers for TARGET [HOST]
1622 _ACEOF
1623 fi
1624
1625 if test -n "$ac_init_help"; then
1626 case $ac_init_help in
1627 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1628 esac
1629 cat <<\_ACEOF
1630
1631 Optional Features:
1632 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1633 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1634 --enable-gui use GUI classes
1635 --enable-monolithic build wxWidgets as single library
1636 --enable-plugins build parts of wxWidgets as loadable components
1637 --enable-universal use wxWidgets GUI controls instead of native ones
1638 --enable-nanox use NanoX
1639 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1640 --enable-gpe use GNOME PDA Environment features if possible
1641 --enable-shared create shared library code
1642 --enable-optimise create optimised code
1643 --enable-debug same as debug_flag and debug_info
1644 --enable-stl use STL for containers
1645 --enable-extended_rtti use extended RTTI (XTI)
1646 --enable-omf use OMF object format
1647 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1648 --enable-debug_info create code with debugging information
1649 --enable-debug_gdb create code with extra GDB debugging information
1650 --enable-debug_cntxt use wxDebugContext
1651 --enable-mem_tracing create code with memory tracing
1652 --enable-profile create code with profiling information
1653 --enable-no_rtti create code without RTTI information
1654 --enable-no_exceptions create code without C++ exceptions handling
1655 --enable-permissive compile code disregarding strict ANSI
1656 --enable-no_deps create code without dependency information
1657 --disable-vararg_macros don't use vararg macros, even if they are supported
1658 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1659 --enable-compat26 enable wxWidgets 2.6 compatibility
1660 --disable-compat28 disable wxWidgets 2.8 compatibility
1661 --disable-rpath disable use of rpath for uninstalled builds
1662 --enable-objc_uniquifying enable Objective-C class name uniquifying
1663 --enable-intl use internationalization system
1664 --enable-config use wxConfig (and derived) classes
1665 --enable-protocols use wxProtocol and derived classes
1666 --enable-ftp use wxFTP (requires wxProtocol
1667 --enable-http use wxHTTP (requires wxProtocol
1668 --enable-fileproto use wxFileProto class (requires wxProtocol
1669 --enable-sockets use socket/network classes
1670 --enable-ole use OLE classes (Win32 only)
1671 --enable-dataobj use data object classes
1672 --enable-ipc use interprocess communication (wxSocket etc.)
1673 --enable-apple_ieee use the Apple IEEE codec
1674 --enable-arcstream use wxArchive streams
1675 --enable-backtrace use wxStackWalker class for getting backtraces
1676 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1677 --enable-cmdline use wxCmdLineParser class
1678 --enable-datetime use wxDateTime class
1679 --enable-debugreport use wxDebugReport class
1680 --enable-dialupman use dialup network classes
1681 --enable-dynlib use wxLibrary class for DLL loading
1682 --enable-dynamicloader use (new) wxDynamicLibrary class
1683 --enable-exceptions build exception-safe library
1684 --enable-ffile use wxFFile class
1685 --enable-file use wxFile class
1686 --enable-filesystem use virtual file systems classes
1687 --enable-fontmap use font encodings conversion classes
1688 --enable-fs_archive use virtual archive filesystems
1689 --enable-fs_inet use virtual HTTP/FTP filesystems
1690 --enable-fs_zip now replaced by fs_archive
1691 --enable-geometry use geometry class
1692 --enable-log use logging system
1693 --enable-longlong use wxLongLong class
1694 --enable-mimetype use wxMimeTypesManager
1695 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1696 --enable-utf8 use UTF-8 representation for strings (Unix only)
1697 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1698 --enable-snglinst use wxSingleInstanceChecker class
1699 --enable-std_iostreams use standard C++ stream classes
1700 --enable-std_string use standard C++ string classes
1701 --enable-stdpaths use wxStandardPaths class
1702 --enable-stopwatch use wxStopWatch class
1703 --enable-streams use wxStream etc classes
1704 --enable-sysoptions use wxSystemOptions
1705 --enable-tarstream use wxTar streams
1706 --enable-textbuf use wxTextBuffer class
1707 --enable-textfile use wxTextFile class
1708 --enable-timer use wxTimer class
1709 --enable-unicode compile without Unicode support
1710 --enable-sound use wxSound class
1711 --enable-mediactrl use wxMediaCtrl class
1712 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1713 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1714 --enable-zipstream use wxZip streams
1715 --enable-url use wxURL class
1716 --enable-variant use wxVariant class
1717 --enable-protocol use wxProtocol class
1718 --enable-protocol-http HTTP support in wxProtocol
1719 --enable-protocol-ftp FTP support in wxProtocol
1720 --enable-protocol-file FILE support in wxProtocol
1721 --enable-threads use threads
1722 --enable-docview use document view architecture
1723 --enable-help use help subsystem
1724 --enable-mshtmlhelp use MS HTML Help (win32)
1725 --enable-html use wxHTML sub-library
1726 --enable-htmlhelp use wxHTML-based help
1727 --enable-xrc use XRC resources sub-library
1728 --enable-aui use AUI docking library
1729 --enable-stc use wxStyledTextCtrl library
1730 --enable-constraints use layout-constraints system
1731 --enable-printarch use printing architecture
1732 --enable-mdi use multiple document interface architecture
1733 --enable-mdidoc use docview architecture with MDI
1734 --enable-loggui use standard GUI logger
1735 --enable-logwin use wxLogWindow
1736 --enable-logdialog use wxLogDialog
1737 --enable-webkit use wxWebKitCtrl (Mac)
1738 --enable-richtext use wxRichTextCtrl
1739 --enable-graphics_ctx use graphics context 2D drawing API
1740 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1741 --enable-clipboard use wxClipboard class
1742 --enable-dnd use Drag'n'Drop classes
1743 --enable-metafile use win32 metafiles
1744 --enable-controls use all usual controls
1745 --enable-accel use accelerators
1746 --enable-animatectrl use wxAnimationCtrl class
1747 --enable-button use wxButton class
1748 --enable-bmpbutton use wxBitmapButton class
1749 --enable-bmpcombobox use wxBitmapComboBox class
1750 --enable-calendar use wxCalendarCtrl class
1751 --enable-caret use wxCaret class
1752 --enable-checkbox use wxCheckBox class
1753 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1754 --enable-choice use wxChoice class
1755 --enable-choicebook use wxChoicebook class
1756 --enable-collpane use wxCollapsiblePane class
1757 --enable-colourpicker use wxColourPickerCtrl class
1758 --enable-combobox use wxComboBox class
1759 --enable-comboctrl use wxComboCtrl class
1760 --enable-datepick use wxDatePickerCtrl class
1761 --enable-dirpicker use wxDirPickerCtrl class
1762 --enable-display use wxDisplay class
1763 --enable-detect_sm use code to detect X11 session manager
1764 --enable-editablebox use wxEditableListBox class
1765 --enable-filepicker use wxFilePickerCtrl class
1766 --enable-fontpicker use wxFontPickerCtrl class
1767 --enable-gauge use wxGauge class
1768 --enable-grid use wxGrid class
1769 --enable-dataviewctrl use wxDataViewCtrl class
1770 --enable-hyperlink use wxHyperlinkCtrl class
1771 --enable-imaglist use wxImageList class
1772 --enable-listbook use wxListbook class
1773 --enable-listbox use wxListBox class
1774 --enable-listctrl use wxListCtrl class
1775 --enable-notebook use wxNotebook class
1776 --enable-odcombobox use wxOwnerDrawnComboBox class
1777 --enable-radiobox use wxRadioBox class
1778 --enable-radiobtn use wxRadioButton class
1779 --enable-sash use wxSashWindow class
1780 --enable-scrollbar use wxScrollBar class and scrollable windows
1781 --enable-searchctrl use wxSearchCtrl class
1782 --enable-slider use wxSlider class
1783 --enable-spinbtn use wxSpinButton class
1784 --enable-spinctrl use wxSpinCtrl class
1785 --enable-splitter use wxSplitterWindow class
1786 --enable-statbmp use wxStaticBitmap class
1787 --enable-statbox use wxStaticBox class
1788 --enable-statline use wxStaticLine class
1789 --enable-stattext use wxStaticText class
1790 --enable-statusbar use wxStatusBar class
1791 --enable-tabdialog use wxTabControl class
1792 --enable-textctrl use wxTextCtrl class
1793 --enable-togglebtn use wxToggleButton class
1794 --enable-toolbar use wxToolBar class
1795 --enable-tbarnative use native wxToolBar class
1796 --enable-treebook use wxTreebook class
1797 --enable-toolbook use wxToolbook class
1798 --enable-treectrl use wxTreeCtrl class
1799 --enable-tipwindow use wxTipWindow class
1800 --enable-popupwin use wxPopUpWindow class
1801 --enable-commondlg use all common dialogs
1802 --enable-aboutdlg use wxAboutBox
1803 --enable-choicedlg use wxChoiceDialog
1804 --enable-coldlg use wxColourDialog
1805 --enable-filedlg use wxFileDialog
1806 --enable-finddlg use wxFindReplaceDialog
1807 --enable-fontdlg use wxFontDialog
1808 --enable-dirdlg use wxDirDialog
1809 --enable-msgdlg use wxMessageDialog
1810 --enable-numberdlg use wxNumberEntryDialog
1811 --enable-splash use wxSplashScreen
1812 --enable-textdlg use wxTextDialog
1813 --enable-tipdlg use startup tips
1814 --enable-progressdlg use wxProgressDialog
1815 --enable-wizarddlg use wxWizard
1816 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1817 --enable-miniframe use wxMiniFrame class
1818 --enable-tooltips use wxToolTip class
1819 --enable-splines use spline drawing code
1820 --enable-mousewheel use mousewheel
1821 --enable-validators use wxValidator and derived classes
1822 --enable-busyinfo use wxBusyInfo
1823 --enable-joystick use wxJoystick
1824 --enable-metafiles use wxMetaFile (Win32 only)
1825 --enable-dragimage use wxDragImage
1826 --enable-accessibility enable accessibility support
1827 --enable-dccache cache temporary wxDC objects (Win32 only)
1828 --enable-palette use wxPalette class
1829 --enable-image use wxImage class
1830 --enable-gif use gif images (GIF file format)
1831 --enable-pcx use pcx images (PCX file format)
1832 --enable-tga use tga images (TGA file format)
1833 --enable-iff use iff images (IFF file format)
1834 --enable-pnm use pnm images (PNM file format)
1835 --enable-xpm use xpm images (XPM file format)
1836 --enable-icocur use Windows ICO and CUR formats
1837 --enable-official_build official build of wxWidgets (win32 DLL only)
1838 --enable-vendor=VENDOR vendor name (win32 DLL only)
1839 --disable-largefile omit support for large files
1840 --disable-gtktest do not try to compile and run a test GTK+ program
1841 --disable-gtktest Do not try to compile and run a test GTK program
1842 --disable-sdltest Do not try to compile and run a test SDL program
1843 --enable-omf use OMF object format (OS/2)
1844 --disable-dependency-tracking
1845 don't use dependency tracking even if the compiler
1846 can
1847 --disable-precomp-headers
1848 don't use precompiled headers even if compiler can
1849
1850 Optional Packages:
1851 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1852 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1853 --without-subdirs don't generate makefiles for samples/demos/...
1854 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1855 --with-motif use Motif/Lesstif
1856 --with-mac use Mac OS X
1857 --with-cocoa use Cocoa
1858 --with-wine use Wine
1859 --with-msw use MS-Windows
1860 --with-pm use OS/2 Presentation Manager
1861 --with-mgl use SciTech MGL
1862 --with-directfb use DirectFB
1863 --with-microwin use MicroWindows
1864 --with-x11 use X11
1865 --with-libpng use libpng (PNG image format)
1866 --with-libjpeg use libjpeg (JPEG file format)
1867 --with-libtiff use libtiff (TIFF file format)
1868 --with-libxpm use libxpm (XPM file format)
1869 --with-libmspack use libmspack (CHM help files loading)
1870 --with-sdl use SDL for audio on Unix
1871 --with-gnomeprint use GNOME print for printing under GNOME
1872 --with-gnomevfs use GNOME VFS for associating MIME types
1873 --with-hildon use Hildon framework for Nokia 770
1874 --with-opengl use OpenGL (or Mesa)
1875 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1876 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1877 --with-regex enable support for wxRegEx class
1878 --with-zlib use zlib for LZW compression
1879 --with-odbc use the IODBC and wxODBC classes
1880 --with-expat enable XML support using expat parser
1881 --with-flavour=NAME specify a name to identify this build
1882 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1883 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1884 --with-x use the X Window System
1885 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1886 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1887 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1888 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1889 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1890
1891 Some influential environment variables:
1892 CC C compiler command
1893 CFLAGS C compiler flags
1894 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1895 nonstandard directory <lib dir>
1896 LIBS libraries to pass to the linker, e.g. -l<library>
1897 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1898 you have headers in a nonstandard directory <include dir>
1899 CPP C preprocessor
1900 CXX C++ compiler command
1901 CXXFLAGS C++ compiler flags
1902 PKG_CONFIG path to pkg-config utility
1903 DIRECTFB_CFLAGS
1904 C compiler flags for DIRECTFB, overriding pkg-config
1905 DIRECTFB_LIBS
1906 linker flags for DIRECTFB, overriding pkg-config
1907 XMKMF Path to xmkmf, Makefile generator for X Window System
1908 PANGOX_CFLAGS
1909 C compiler flags for PANGOX, overriding pkg-config
1910 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1911 PANGOFT2_CFLAGS
1912 C compiler flags for PANGOFT2, overriding pkg-config
1913 PANGOFT2_LIBS
1914 linker flags for PANGOFT2, overriding pkg-config
1915 PANGOXFT_CFLAGS
1916 C compiler flags for PANGOXFT, overriding pkg-config
1917 PANGOXFT_LIBS
1918 linker flags for PANGOXFT, overriding pkg-config
1919 LIBGNOMEPRINTUI_CFLAGS
1920 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1921 LIBGNOMEPRINTUI_LIBS
1922 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1923 GNOMEVFS_CFLAGS
1924 C compiler flags for GNOMEVFS, overriding pkg-config
1925 GNOMEVFS_LIBS
1926 linker flags for GNOMEVFS, overriding pkg-config
1927 HILDON_CFLAGS
1928 C compiler flags for HILDON, overriding pkg-config
1929 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1930 CAIRO_CFLAGS
1931 C compiler flags for CAIRO, overriding pkg-config
1932 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1933 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1934 GST_LIBS linker flags for GST, overriding pkg-config
1935
1936 Use these variables to override the choices made by `configure' or to help
1937 it to find libraries and programs with nonstandard names/locations.
1938
1939 Report bugs to <wx-dev@lists.wxwidgets.org>.
1940 _ACEOF
1941 ac_status=$?
1942 fi
1943
1944 if test "$ac_init_help" = "recursive"; then
1945 # If there are subdirs, report their specific --help.
1946 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1947 test -d "$ac_dir" || continue
1948 ac_builddir=.
1949
1950 case "$ac_dir" in
1951 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1952 *)
1953 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1954 # A ".." for each directory in $ac_dir_suffix.
1955 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1956 case $ac_top_builddir_sub in
1957 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1958 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1959 esac ;;
1960 esac
1961 ac_abs_top_builddir=$ac_pwd
1962 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1963 # for backward compatibility:
1964 ac_top_builddir=$ac_top_build_prefix
1965
1966 case $srcdir in
1967 .) # We are building in place.
1968 ac_srcdir=.
1969 ac_top_srcdir=$ac_top_builddir_sub
1970 ac_abs_top_srcdir=$ac_pwd ;;
1971 [\\/]* | ?:[\\/]* ) # Absolute name.
1972 ac_srcdir=$srcdir$ac_dir_suffix;
1973 ac_top_srcdir=$srcdir
1974 ac_abs_top_srcdir=$srcdir ;;
1975 *) # Relative name.
1976 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1977 ac_top_srcdir=$ac_top_build_prefix$srcdir
1978 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1979 esac
1980 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1981
1982 cd "$ac_dir" || { ac_status=$?; continue; }
1983 # Check for guested configure.
1984 if test -f "$ac_srcdir/configure.gnu"; then
1985 echo &&
1986 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1987 elif test -f "$ac_srcdir/configure"; then
1988 echo &&
1989 $SHELL "$ac_srcdir/configure" --help=recursive
1990 else
1991 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1992 fi || ac_status=$?
1993 cd "$ac_pwd" || { ac_status=$?; break; }
1994 done
1995 fi
1996
1997 test -n "$ac_init_help" && exit $ac_status
1998 if $ac_init_version; then
1999 cat <<\_ACEOF
2000 wxWidgets configure 2.9.0
2001 generated by GNU Autoconf 2.61
2002
2003 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2004 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2005 This configure script is free software; the Free Software Foundation
2006 gives unlimited permission to copy, distribute and modify it.
2007 _ACEOF
2008 exit
2009 fi
2010 cat >config.log <<_ACEOF
2011 This file contains any messages produced by compilers while
2012 running configure, to aid debugging if configure makes a mistake.
2013
2014 It was created by wxWidgets $as_me 2.9.0, which was
2015 generated by GNU Autoconf 2.61. Invocation command line was
2016
2017 $ $0 $@
2018
2019 _ACEOF
2020 exec 5>>config.log
2021 {
2022 cat <<_ASUNAME
2023 ## --------- ##
2024 ## Platform. ##
2025 ## --------- ##
2026
2027 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2028 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2029 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2030 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2031 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2032
2033 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2034 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2035
2036 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2037 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2038 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2039 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2040 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2041 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2042 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2043
2044 _ASUNAME
2045
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 for as_dir in $PATH
2048 do
2049 IFS=$as_save_IFS
2050 test -z "$as_dir" && as_dir=.
2051 echo "PATH: $as_dir"
2052 done
2053 IFS=$as_save_IFS
2054
2055 } >&5
2056
2057 cat >&5 <<_ACEOF
2058
2059
2060 ## ----------- ##
2061 ## Core tests. ##
2062 ## ----------- ##
2063
2064 _ACEOF
2065
2066
2067 # Keep a trace of the command line.
2068 # Strip out --no-create and --no-recursion so they do not pile up.
2069 # Strip out --silent because we don't want to record it for future runs.
2070 # Also quote any args containing shell meta-characters.
2071 # Make two passes to allow for proper duplicate-argument suppression.
2072 ac_configure_args=
2073 ac_configure_args0=
2074 ac_configure_args1=
2075 ac_must_keep_next=false
2076 for ac_pass in 1 2
2077 do
2078 for ac_arg
2079 do
2080 case $ac_arg in
2081 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2083 | -silent | --silent | --silen | --sile | --sil)
2084 continue ;;
2085 *\'*)
2086 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2087 esac
2088 case $ac_pass in
2089 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2090 2)
2091 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2092 if test $ac_must_keep_next = true; then
2093 ac_must_keep_next=false # Got value, back to normal.
2094 else
2095 case $ac_arg in
2096 *=* | --config-cache | -C | -disable-* | --disable-* \
2097 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2098 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2099 | -with-* | --with-* | -without-* | --without-* | --x)
2100 case "$ac_configure_args0 " in
2101 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2102 esac
2103 ;;
2104 -* ) ac_must_keep_next=true ;;
2105 esac
2106 fi
2107 ac_configure_args="$ac_configure_args '$ac_arg'"
2108 ;;
2109 esac
2110 done
2111 done
2112 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2113 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2114
2115 # When interrupted or exit'd, cleanup temporary files, and complete
2116 # config.log. We remove comments because anyway the quotes in there
2117 # would cause problems or look ugly.
2118 # WARNING: Use '\'' to represent an apostrophe within the trap.
2119 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2120 trap 'exit_status=$?
2121 # Save into config.log some information that might help in debugging.
2122 {
2123 echo
2124
2125 cat <<\_ASBOX
2126 ## ---------------- ##
2127 ## Cache variables. ##
2128 ## ---------------- ##
2129 _ASBOX
2130 echo
2131 # The following way of writing the cache mishandles newlines in values,
2132 (
2133 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2134 eval ac_val=\$$ac_var
2135 case $ac_val in #(
2136 *${as_nl}*)
2137 case $ac_var in #(
2138 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2139 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2140 esac
2141 case $ac_var in #(
2142 _ | IFS | as_nl) ;; #(
2143 *) $as_unset $ac_var ;;
2144 esac ;;
2145 esac
2146 done
2147 (set) 2>&1 |
2148 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2149 *${as_nl}ac_space=\ *)
2150 sed -n \
2151 "s/'\''/'\''\\\\'\'''\''/g;
2152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2153 ;; #(
2154 *)
2155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2156 ;;
2157 esac |
2158 sort
2159 )
2160 echo
2161
2162 cat <<\_ASBOX
2163 ## ----------------- ##
2164 ## Output variables. ##
2165 ## ----------------- ##
2166 _ASBOX
2167 echo
2168 for ac_var in $ac_subst_vars
2169 do
2170 eval ac_val=\$$ac_var
2171 case $ac_val in
2172 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 esac
2174 echo "$ac_var='\''$ac_val'\''"
2175 done | sort
2176 echo
2177
2178 if test -n "$ac_subst_files"; then
2179 cat <<\_ASBOX
2180 ## ------------------- ##
2181 ## File substitutions. ##
2182 ## ------------------- ##
2183 _ASBOX
2184 echo
2185 for ac_var in $ac_subst_files
2186 do
2187 eval ac_val=\$$ac_var
2188 case $ac_val in
2189 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 esac
2191 echo "$ac_var='\''$ac_val'\''"
2192 done | sort
2193 echo
2194 fi
2195
2196 if test -s confdefs.h; then
2197 cat <<\_ASBOX
2198 ## ----------- ##
2199 ## confdefs.h. ##
2200 ## ----------- ##
2201 _ASBOX
2202 echo
2203 cat confdefs.h
2204 echo
2205 fi
2206 test "$ac_signal" != 0 &&
2207 echo "$as_me: caught signal $ac_signal"
2208 echo "$as_me: exit $exit_status"
2209 } >&5
2210 rm -f core *.core core.conftest.* &&
2211 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2212 exit $exit_status
2213 ' 0
2214 for ac_signal in 1 2 13 15; do
2215 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2216 done
2217 ac_signal=0
2218
2219 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2220 rm -f -r conftest* confdefs.h
2221
2222 # Predefined preprocessor variables.
2223
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_NAME "$PACKAGE_NAME"
2226 _ACEOF
2227
2228
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2231 _ACEOF
2232
2233
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2236 _ACEOF
2237
2238
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_STRING "$PACKAGE_STRING"
2241 _ACEOF
2242
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2246 _ACEOF
2247
2248
2249 # Let the site file select an alternate cache file if it wants to.
2250 # Prefer explicitly selected file to automatically selected ones.
2251 if test -n "$CONFIG_SITE"; then
2252 set x "$CONFIG_SITE"
2253 elif test "x$prefix" != xNONE; then
2254 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2255 else
2256 set x "$ac_default_prefix/share/config.site" \
2257 "$ac_default_prefix/etc/config.site"
2258 fi
2259 shift
2260 for ac_site_file
2261 do
2262 if test -r "$ac_site_file"; then
2263 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2264 echo "$as_me: loading site script $ac_site_file" >&6;}
2265 sed 's/^/| /' "$ac_site_file" >&5
2266 . "$ac_site_file"
2267 fi
2268 done
2269
2270 if test -r "$cache_file"; then
2271 # Some versions of bash will fail to source /dev/null (special
2272 # files actually), so we avoid doing that.
2273 if test -f "$cache_file"; then
2274 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2275 echo "$as_me: loading cache $cache_file" >&6;}
2276 case $cache_file in
2277 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2278 *) . "./$cache_file";;
2279 esac
2280 fi
2281 else
2282 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2283 echo "$as_me: creating cache $cache_file" >&6;}
2284 >$cache_file
2285 fi
2286
2287 # Check that the precious variables saved in the cache have kept the same
2288 # value.
2289 ac_cache_corrupted=false
2290 for ac_var in $ac_precious_vars; do
2291 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2292 eval ac_new_set=\$ac_env_${ac_var}_set
2293 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2294 eval ac_new_val=\$ac_env_${ac_var}_value
2295 case $ac_old_set,$ac_new_set in
2296 set,)
2297 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2298 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2299 ac_cache_corrupted=: ;;
2300 ,set)
2301 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2302 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2303 ac_cache_corrupted=: ;;
2304 ,);;
2305 *)
2306 if test "x$ac_old_val" != "x$ac_new_val"; then
2307 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2308 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2309 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2310 echo "$as_me: former value: $ac_old_val" >&2;}
2311 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2312 echo "$as_me: current value: $ac_new_val" >&2;}
2313 ac_cache_corrupted=:
2314 fi;;
2315 esac
2316 # Pass precious variables to config.status.
2317 if test "$ac_new_set" = set; then
2318 case $ac_new_val in
2319 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2320 *) ac_arg=$ac_var=$ac_new_val ;;
2321 esac
2322 case " $ac_configure_args " in
2323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2325 esac
2326 fi
2327 done
2328 if $ac_cache_corrupted; then
2329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2333 { (exit 1); exit 1; }; }
2334 fi
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360 ac_ext=c
2361 ac_cpp='$CPP $CPPFLAGS'
2362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2365
2366
2367
2368
2369
2370 ac_aux_dir=
2371 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2372 if test -f "$ac_dir/install-sh"; then
2373 ac_aux_dir=$ac_dir
2374 ac_install_sh="$ac_aux_dir/install-sh -c"
2375 break
2376 elif test -f "$ac_dir/install.sh"; then
2377 ac_aux_dir=$ac_dir
2378 ac_install_sh="$ac_aux_dir/install.sh -c"
2379 break
2380 elif test -f "$ac_dir/shtool"; then
2381 ac_aux_dir=$ac_dir
2382 ac_install_sh="$ac_aux_dir/shtool install -c"
2383 break
2384 fi
2385 done
2386 if test -z "$ac_aux_dir"; then
2387 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2388 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2389 { (exit 1); exit 1; }; }
2390 fi
2391
2392 # These three variables are undocumented and unsupported,
2393 # and are intended to be withdrawn in a future Autoconf release.
2394 # They can cause serious problems if a builder's source tree is in a directory
2395 # whose full name contains unusual characters.
2396 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2397 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2398 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2399
2400
2401 # Make sure we can run config.sub.
2402 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2403 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2404 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2405 { (exit 1); exit 1; }; }
2406
2407 { echo "$as_me:$LINENO: checking build system type" >&5
2408 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2409 if test "${ac_cv_build+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2411 else
2412 ac_build_alias=$build_alias
2413 test "x$ac_build_alias" = x &&
2414 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2415 test "x$ac_build_alias" = x &&
2416 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2417 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2418 { (exit 1); exit 1; }; }
2419 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2420 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2421 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2422 { (exit 1); exit 1; }; }
2423
2424 fi
2425 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2426 echo "${ECHO_T}$ac_cv_build" >&6; }
2427 case $ac_cv_build in
2428 *-*-*) ;;
2429 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2430 echo "$as_me: error: invalid value of canonical build" >&2;}
2431 { (exit 1); exit 1; }; };;
2432 esac
2433 build=$ac_cv_build
2434 ac_save_IFS=$IFS; IFS='-'
2435 set x $ac_cv_build
2436 shift
2437 build_cpu=$1
2438 build_vendor=$2
2439 shift; shift
2440 # Remember, the first character of IFS is used to create $*,
2441 # except with old shells:
2442 build_os=$*
2443 IFS=$ac_save_IFS
2444 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2445
2446
2447 { echo "$as_me:$LINENO: checking host system type" >&5
2448 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2449 if test "${ac_cv_host+set}" = set; then
2450 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 else
2452 if test "x$host_alias" = x; then
2453 ac_cv_host=$ac_cv_build
2454 else
2455 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2456 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2457 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2458 { (exit 1); exit 1; }; }
2459 fi
2460
2461 fi
2462 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2463 echo "${ECHO_T}$ac_cv_host" >&6; }
2464 case $ac_cv_host in
2465 *-*-*) ;;
2466 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2467 echo "$as_me: error: invalid value of canonical host" >&2;}
2468 { (exit 1); exit 1; }; };;
2469 esac
2470 host=$ac_cv_host
2471 ac_save_IFS=$IFS; IFS='-'
2472 set x $ac_cv_host
2473 shift
2474 host_cpu=$1
2475 host_vendor=$2
2476 shift; shift
2477 # Remember, the first character of IFS is used to create $*,
2478 # except with old shells:
2479 host_os=$*
2480 IFS=$ac_save_IFS
2481 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2482
2483
2484 { echo "$as_me:$LINENO: checking target system type" >&5
2485 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2486 if test "${ac_cv_target+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 else
2489 if test "x$target_alias" = x; then
2490 ac_cv_target=$ac_cv_host
2491 else
2492 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2493 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2494 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2495 { (exit 1); exit 1; }; }
2496 fi
2497
2498 fi
2499 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2500 echo "${ECHO_T}$ac_cv_target" >&6; }
2501 case $ac_cv_target in
2502 *-*-*) ;;
2503 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2504 echo "$as_me: error: invalid value of canonical target" >&2;}
2505 { (exit 1); exit 1; }; };;
2506 esac
2507 target=$ac_cv_target
2508 ac_save_IFS=$IFS; IFS='-'
2509 set x $ac_cv_target
2510 shift
2511 target_cpu=$1
2512 target_vendor=$2
2513 shift; shift
2514 # Remember, the first character of IFS is used to create $*,
2515 # except with old shells:
2516 target_os=$*
2517 IFS=$ac_save_IFS
2518 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2519
2520
2521 # The aliases save the names the user supplied, while $host etc.
2522 # will get canonicalized.
2523 test -n "$target_alias" &&
2524 test "$program_prefix$program_suffix$program_transform_name" = \
2525 NONENONEs,x,x, &&
2526 program_prefix=${target_alias}-
2527
2528
2529
2530 wx_major_version_number=2
2531 wx_minor_version_number=9
2532 wx_release_number=0
2533 wx_subrelease_number=0
2534
2535 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2536 WX_VERSION=$WX_RELEASE.$wx_release_number
2537 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2538
2539 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2540
2541
2542 wx_top_builddir="`pwd`"
2543
2544
2545
2546
2547 USE_UNIX=1
2548 USE_OS2=0
2549 USE_WIN32=0
2550 USE_DOS=0
2551 USE_BEOS=0
2552 USE_MAC=0
2553
2554 USE_AIX=
2555 USE_BSD= USE_DARWIN= USE_FREEBSD=
2556 USE_GNU= USE_HPUX=
2557 USE_LINUX=
2558 USE_NETBSD=
2559 USE_OPENBSD=
2560 USE_OSF= USE_SGI=
2561 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2562 USE_ULTRIX=
2563 USE_UNIXWARE=
2564
2565 USE_ALPHA=
2566
2567 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2568
2569 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2570
2571 DEFAULT_wxUSE_COCOA=0
2572 DEFAULT_wxUSE_GTK=0
2573 DEFAULT_wxUSE_MAC=0
2574 DEFAULT_wxUSE_MGL=0
2575 DEFAULT_wxUSE_MICROWIN=0
2576 DEFAULT_wxUSE_MOTIF=0
2577 DEFAULT_wxUSE_MSW=0
2578 DEFAULT_wxUSE_PM=0
2579 DEFAULT_wxUSE_X11=0
2580 DEFAULT_wxUSE_DFB=0
2581
2582 DEFAULT_DEFAULT_wxUSE_COCOA=0
2583 DEFAULT_DEFAULT_wxUSE_GTK=0
2584 DEFAULT_DEFAULT_wxUSE_MAC=0
2585 DEFAULT_DEFAULT_wxUSE_MGL=0
2586 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2587 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2588 DEFAULT_DEFAULT_wxUSE_MSW=0
2589 DEFAULT_DEFAULT_wxUSE_PM=0
2590 DEFAULT_DEFAULT_wxUSE_X11=0
2591 DEFAULT_DEFAULT_wxUSE_DFB=0
2592
2593 PROGRAM_EXT=
2594 SO_SUFFIX=so
2595 SAMPLES_RPATH_FLAG=
2596 SAMPLES_RPATH_POSTLINK=
2597
2598 DEFAULT_STD_FLAG=yes
2599
2600 case "${host}" in
2601 *-hp-hpux* )
2602 USE_HPUX=1
2603 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2604 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2605 SO_SUFFIX=sl
2606 cat >>confdefs.h <<\_ACEOF
2607 #define __HPUX__ 1
2608 _ACEOF
2609
2610
2611 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2612 ;;
2613 *-*-linux* )
2614 USE_LINUX=1
2615 cat >>confdefs.h <<\_ACEOF
2616 #define __LINUX__ 1
2617 _ACEOF
2618
2619 TMP=`uname -m`
2620 if test "x$TMP" = "xalpha"; then
2621 USE_ALPHA=1
2622 cat >>confdefs.h <<\_ACEOF
2623 #define __ALPHA__ 1
2624 _ACEOF
2625
2626 fi
2627 DEFAULT_DEFAULT_wxUSE_GTK=1
2628 ;;
2629 *-*-gnu* | *-*-k*bsd*-gnu )
2630 USE_GNU=1
2631 TMP=`uname -m`
2632 if test "x$TMP" = "xalpha"; then
2633 USE_ALPHA=1
2634 cat >>confdefs.h <<\_ACEOF
2635 #define __ALPHA__ 1
2636 _ACEOF
2637
2638 fi
2639 DEFAULT_DEFAULT_wxUSE_GTK=1
2640 ;;
2641 *-*-irix5* | *-*-irix6* )
2642 USE_SGI=1
2643 USE_SVR4=1
2644 cat >>confdefs.h <<\_ACEOF
2645 #define __SGI__ 1
2646 _ACEOF
2647
2648 cat >>confdefs.h <<\_ACEOF
2649 #define __SVR4__ 1
2650 _ACEOF
2651
2652 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2653 ;;
2654 *-*-solaris2* )
2655 USE_SUN=1
2656 USE_SOLARIS=1
2657 USE_SVR4=1
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __SUN__ 1
2660 _ACEOF
2661
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __SOLARIS__ 1
2664 _ACEOF
2665
2666 cat >>confdefs.h <<\_ACEOF
2667 #define __SVR4__ 1
2668 _ACEOF
2669
2670 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2671 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2672 ;;
2673 *-*-sunos4* )
2674 USE_SUN=1
2675 USE_SUNOS=1
2676 USE_BSD=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SUN__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SUNOS__ 1
2683 _ACEOF
2684
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __BSD__ 1
2687 _ACEOF
2688
2689 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 ;;
2691 *-*-freebsd*)
2692 USE_BSD=1
2693 USE_FREEBSD=1
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __FREEBSD__ 1
2696 _ACEOF
2697
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __BSD__ 1
2700 _ACEOF
2701
2702 DEFAULT_DEFAULT_wxUSE_GTK=1
2703 ;;
2704 *-*-openbsd*|*-*-mirbsd*)
2705 USE_BSD=1
2706 USE_OPENBSD=1
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __OPENBSD__ 1
2709 _ACEOF
2710
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __BSD__ 1
2713 _ACEOF
2714
2715 DEFAULT_DEFAULT_wxUSE_GTK=1
2716 ;;
2717 *-*-netbsd*)
2718 USE_BSD=1
2719 USE_NETBSD=1
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __NETBSD__ 1
2722 _ACEOF
2723
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __BSD__ 1
2726 _ACEOF
2727
2728 DEFAULT_DEFAULT_wxUSE_GTK=1
2729 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2730
2731 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2732 ;;
2733 *-*-osf* )
2734 USE_ALPHA=1
2735 USE_OSF=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __ALPHA__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __OSF__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2746 ;;
2747 *-*-dgux5* )
2748 USE_ALPHA=1
2749 USE_SVR4=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __ALPHA__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __SVR4__ 1
2756 _ACEOF
2757
2758 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2759 ;;
2760 *-*-sysv5* )
2761 USE_SYSV=1
2762 USE_SVR4=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __SYSV__ 1
2765 _ACEOF
2766
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __SVR4__ 1
2769 _ACEOF
2770
2771 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2772 ;;
2773 *-*-aix* )
2774 USE_AIX=1
2775 USE_SYSV=1
2776 USE_SVR4=1
2777 SO_SUFFIX=a
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __AIX__ 1
2780 _ACEOF
2781
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SYSV__ 1
2784 _ACEOF
2785
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SVR4__ 1
2788 _ACEOF
2789
2790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2791 ;;
2792
2793 *-*-*UnixWare*)
2794 USE_SYSV=1
2795 USE_SVR4=1
2796 USE_UNIXWARE=1
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __UNIXWARE__ 1
2799 _ACEOF
2800
2801 ;;
2802
2803 *-*-cygwin* | *-*-mingw32* )
2804 SO_SUFFIX=dll
2805 PROGRAM_EXT=".exe"
2806 DEFAULT_DEFAULT_wxUSE_MSW=1
2807 ;;
2808
2809 *-pc-msdosdjgpp )
2810 USE_UNIX=0
2811 USE_DOS=1
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __DOS__ 1
2814 _ACEOF
2815
2816 PROGRAM_EXT=".exe"
2817 DEFAULT_DEFAULT_wxUSE_MGL=1
2818 ;;
2819
2820 *-pc-os2_emx | *-pc-os2-emx )
2821 cat >>confdefs.h <<\_ACEOF
2822 #define __EMX__ 1
2823 _ACEOF
2824
2825 USE_OS2=1
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __OS2__ 1
2828 _ACEOF
2829
2830 PROGRAM_EXT=".exe"
2831 DEFAULT_DEFAULT_wxUSE_PM=1
2832 CXX=gcc
2833 LDFLAGS="$LDFLAGS -Zcrtdll"
2834 ac_executable_extensions=".exe"
2835 export ac_executable_extensions
2836 ac_save_IFS="$IFS"
2837 IFS='\\'
2838 ac_TEMP_PATH=
2839 for ac_dir in $PATH; do
2840 IFS=$ac_save_IFS
2841 if test -z "$ac_TEMP_PATH"; then
2842 ac_TEMP_PATH="$ac_dir"
2843 else
2844 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2845 fi
2846 done
2847 export PATH="$ac_TEMP_PATH"
2848 unset ac_TEMP_PATH
2849 DEFAULT_STD_FLAG=no
2850 ;;
2851
2852 *-*-darwin* )
2853 USE_BSD=1
2854 USE_DARWIN=1
2855 SO_SUFFIX=dylib
2856 cat >>confdefs.h <<\_ACEOF
2857 #define __BSD__ 1
2858 _ACEOF
2859
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __DARWIN__ 1
2862 _ACEOF
2863
2864 cat >>confdefs.h <<\_ACEOF
2865 #define TARGET_CARBON 1
2866 _ACEOF
2867
2868 DEFAULT_DEFAULT_wxUSE_MAC=1
2869 DEFAULT_STD_FLAG=no
2870 ;;
2871 powerpc-apple-macos* )
2872 USE_UNIX=0
2873 ac_cv_c_bigendian=yes
2874 SO_SUFFIX=shlib
2875 DEFAULT_DEFAULT_wxUSE_MAC=1
2876 DEFAULT_STD_FLAG=no
2877 ;;
2878
2879 *-*-beos* )
2880 USE_BEOS=1
2881 cat >>confdefs.h <<\_ACEOF
2882 #define __BEOS__ 1
2883 _ACEOF
2884
2885 ;;
2886
2887 *)
2888 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2889 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2890 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2891 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2892
2893 DEFAULT_DEFAULT_wxUSE_X11=1
2894 DEFAULT_wxUSE_SHARED=no
2895 esac
2896
2897
2898
2899
2900 wx_arg_cache_file="configarg.cache"
2901 echo "loading argument cache $wx_arg_cache_file"
2902 rm -f ${wx_arg_cache_file}.tmp
2903 touch ${wx_arg_cache_file}.tmp
2904 touch ${wx_arg_cache_file}
2905
2906
2907 DEBUG_CONFIGURE=0
2908 if test $DEBUG_CONFIGURE = 1; then
2909 DEFAULT_wxUSE_UNIVERSAL=no
2910 DEFAULT_wxUSE_STL=no
2911 DEFAULT_wxUSE_EXTENDED_RTTI=no
2912
2913 DEFAULT_wxUSE_NANOX=no
2914
2915 DEFAULT_wxUSE_THREADS=yes
2916
2917 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2918 DEFAULT_wxUSE_OPTIMISE=no
2919 DEFAULT_wxUSE_PROFILE=no
2920 DEFAULT_wxUSE_NO_DEPS=no
2921 DEFAULT_wxUSE_VARARG_MACROS=no
2922 DEFAULT_wxUSE_NO_RTTI=no
2923 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2924 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2925 DEFAULT_wxUSE_RPATH=yes
2926 DEFAULT_wxUSE_PERMISSIVE=no
2927 DEFAULT_wxUSE_DEBUG_FLAG=yes
2928 DEFAULT_wxUSE_DEBUG_INFO=yes
2929 DEFAULT_wxUSE_DEBUG_GDB=yes
2930 DEFAULT_wxUSE_MEM_TRACING=no
2931 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2932 DEFAULT_wxUSE_DMALLOC=no
2933 DEFAULT_wxUSE_APPLE_IEEE=no
2934
2935 DEFAULT_wxUSE_EXCEPTIONS=no
2936 DEFAULT_wxUSE_LOG=yes
2937 DEFAULT_wxUSE_LOGWINDOW=no
2938 DEFAULT_wxUSE_LOGGUI=no
2939 DEFAULT_wxUSE_LOGDIALOG=no
2940
2941 DEFAULT_wxUSE_GUI=yes
2942 DEFAULT_wxUSE_CONTROLS=no
2943
2944 DEFAULT_wxUSE_REGEX=no
2945 DEFAULT_wxUSE_XML=no
2946 DEFAULT_wxUSE_EXPAT=no
2947 DEFAULT_wxUSE_ZLIB=no
2948 DEFAULT_wxUSE_LIBPNG=no
2949 DEFAULT_wxUSE_LIBJPEG=no
2950 DEFAULT_wxUSE_LIBTIFF=no
2951 DEFAULT_wxUSE_LIBXPM=no
2952 DEFAULT_wxUSE_LIBMSPACK=no
2953 DEFAULT_wxUSE_LIBSDL=no
2954 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2955 DEFAULT_wxUSE_LIBGNOMEVFS=no
2956 DEFAULT_wxUSE_LIBHILDON=no
2957 DEFAULT_wxUSE_ODBC=no
2958 DEFAULT_wxUSE_OPENGL=no
2959
2960 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2961 DEFAULT_wxUSE_STACKWALKER=no
2962 DEFAULT_wxUSE_DEBUGREPORT=no
2963 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2964 DEFAULT_wxUSE_STD_IOSTREAM=no
2965 DEFAULT_wxUSE_STD_STRING=no
2966 DEFAULT_wxUSE_CMDLINE_PARSER=no
2967 DEFAULT_wxUSE_DATETIME=no
2968 DEFAULT_wxUSE_TIMER=no
2969 DEFAULT_wxUSE_STOPWATCH=no
2970 DEFAULT_wxUSE_FILE=no
2971 DEFAULT_wxUSE_FFILE=no
2972 DEFAULT_wxUSE_STDPATHS=no
2973 DEFAULT_wxUSE_TEXTBUFFER=no
2974 DEFAULT_wxUSE_TEXTFILE=no
2975 DEFAULT_wxUSE_SOUND=no
2976 DEFAULT_wxUSE_MEDIACTRL=no
2977 DEFAULT_wxUSE_GSTREAMER8=no
2978 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2979 DEFAULT_wxUSE_INTL=no
2980 DEFAULT_wxUSE_CONFIG=no
2981 DEFAULT_wxUSE_FONTMAP=no
2982 DEFAULT_wxUSE_STREAMS=no
2983 DEFAULT_wxUSE_SOCKETS=no
2984 DEFAULT_wxUSE_OLE=no
2985 DEFAULT_wxUSE_DATAOBJ=no
2986 DEFAULT_wxUSE_DIALUP_MANAGER=no
2987 DEFAULT_wxUSE_JOYSTICK=no
2988 DEFAULT_wxUSE_DYNLIB_CLASS=no
2989 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2990 DEFAULT_wxUSE_LONGLONG=no
2991 DEFAULT_wxUSE_GEOMETRY=no
2992
2993 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2994 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2995 DEFAULT_wxUSE_POSTSCRIPT=no
2996
2997 DEFAULT_wxUSE_CLIPBOARD=no
2998 DEFAULT_wxUSE_TOOLTIPS=no
2999 DEFAULT_wxUSE_DRAG_AND_DROP=no
3000 DEFAULT_wxUSE_DRAGIMAGE=no
3001 DEFAULT_wxUSE_SPLINES=no
3002 DEFAULT_wxUSE_MOUSEWHEEL=no
3003
3004 DEFAULT_wxUSE_MDI=no
3005 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3006 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3007 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3008
3009 DEFAULT_wxUSE_CONSTRAINTS=no
3010 DEFAULT_wxUSE_IPC=no
3011 DEFAULT_wxUSE_HELP=no
3012 DEFAULT_wxUSE_MS_HTML_HELP=no
3013 DEFAULT_wxUSE_WXHTML_HELP=no
3014 DEFAULT_wxUSE_TREELAYOUT=no
3015 DEFAULT_wxUSE_METAFILE=no
3016 DEFAULT_wxUSE_MIMETYPE=no
3017 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3018 DEFAULT_wxUSE_PROTOCOL=no
3019 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3020 DEFAULT_wxUSE_PROTOCOL_FTP=no
3021 DEFAULT_wxUSE_PROTOCOL_FILE=no
3022 DEFAULT_wxUSE_URL=no
3023 DEFAULT_wxUSE_VARIANT=no
3024
3025 DEFAULT_wxUSE_ABOUTDLG=no
3026 DEFAULT_wxUSE_COMMONDLGS=no
3027 DEFAULT_wxUSE_CHOICEDLG=no
3028 DEFAULT_wxUSE_COLOURDLG=no
3029 DEFAULT_wxUSE_DIRDLG=no
3030 DEFAULT_wxUSE_FILEDLG=no
3031 DEFAULT_wxUSE_FINDREPLDLG=no
3032 DEFAULT_wxUSE_FONTDLG=no
3033 DEFAULT_wxUSE_MSGDLG=no
3034 DEFAULT_wxUSE_NUMBERDLG=no
3035 DEFAULT_wxUSE_TEXTDLG=no
3036 DEFAULT_wxUSE_SPLASH=no
3037 DEFAULT_wxUSE_STARTUP_TIPS=no
3038 DEFAULT_wxUSE_PROGRESSDLG=no
3039 DEFAULT_wxUSE_WIZARDDLG=no
3040
3041 DEFAULT_wxUSE_MENUS=no
3042 DEFAULT_wxUSE_MINIFRAME=no
3043 DEFAULT_wxUSE_HTML=no
3044 DEFAULT_wxUSE_RICHTEXT=no
3045 DEFAULT_wxUSE_XRC=no
3046 DEFAULT_wxUSE_AUI=no
3047 DEFAULT_wxUSE_STC=no
3048 DEFAULT_wxUSE_WEBKIT=no
3049 DEFAULT_wxUSE_FILESYSTEM=no
3050 DEFAULT_wxUSE_FS_INET=no
3051 DEFAULT_wxUSE_FS_ZIP=no
3052 DEFAULT_wxUSE_FS_ARCHIVE=no
3053 DEFAULT_wxUSE_BUSYINFO=no
3054 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3055 DEFAULT_wxUSE_ZIPSTREAM=no
3056 DEFAULT_wxUSE_TARSTREAM=no
3057 DEFAULT_wxUSE_VALIDATORS=no
3058
3059 DEFAULT_wxUSE_ACCEL=no
3060 DEFAULT_wxUSE_ANIMATIONCTRL=no
3061 DEFAULT_wxUSE_BUTTON=no
3062 DEFAULT_wxUSE_BMPBUTTON=no
3063 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3064 DEFAULT_wxUSE_CALCTRL=no
3065 DEFAULT_wxUSE_CARET=no
3066 DEFAULT_wxUSE_CHECKBOX=no
3067 DEFAULT_wxUSE_CHECKLST=no
3068 DEFAULT_wxUSE_CHOICE=no
3069 DEFAULT_wxUSE_CHOICEBOOK=no
3070 DEFAULT_wxUSE_COLLPANE=no
3071 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3072 DEFAULT_wxUSE_COMBOBOX=no
3073 DEFAULT_wxUSE_COMBOCTRL=no
3074 DEFAULT_wxUSE_DATEPICKCTRL=no
3075 DEFAULT_wxUSE_DISPLAY=no
3076 DEFAULT_wxUSE_DETECT_SM=no
3077 DEFAULT_wxUSE_DIRPICKERCTRL=no
3078 DEFAULT_wxUSE_EDITABLELISTBOX=no
3079 DEFAULT_wxUSE_FILEPICKERCTRL=no
3080 DEFAULT_wxUSE_FONTPICKERCTRL=no
3081 DEFAULT_wxUSE_GAUGE=no
3082 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3083 DEFAULT_wxUSE_GRID=no
3084 DEFAULT_wxUSE_HYPERLINKCTRL=no
3085 DEFAULT_wxUSE_DATAVIEWCTRL=no
3086 DEFAULT_wxUSE_IMAGLIST=no
3087 DEFAULT_wxUSE_LISTBOOK=no
3088 DEFAULT_wxUSE_LISTBOX=no
3089 DEFAULT_wxUSE_LISTCTRL=no
3090 DEFAULT_wxUSE_NOTEBOOK=no
3091 DEFAULT_wxUSE_ODCOMBOBOX=no
3092 DEFAULT_wxUSE_RADIOBOX=no
3093 DEFAULT_wxUSE_RADIOBTN=no
3094 DEFAULT_wxUSE_SASH=no
3095 DEFAULT_wxUSE_SCROLLBAR=no
3096 DEFAULT_wxUSE_SEARCHCTRL=no
3097 DEFAULT_wxUSE_SLIDER=no
3098 DEFAULT_wxUSE_SPINBTN=no
3099 DEFAULT_wxUSE_SPINCTRL=no
3100 DEFAULT_wxUSE_SPLITTER=no
3101 DEFAULT_wxUSE_STATBMP=no
3102 DEFAULT_wxUSE_STATBOX=no
3103 DEFAULT_wxUSE_STATLINE=no
3104 DEFAULT_wxUSE_STATTEXT=no
3105 DEFAULT_wxUSE_STATUSBAR=yes
3106 DEFAULT_wxUSE_TAB_DIALOG=no
3107 DEFAULT_wxUSE_TEXTCTRL=no
3108 DEFAULT_wxUSE_TOGGLEBTN=no
3109 DEFAULT_wxUSE_TOOLBAR=no
3110 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3111 DEFAULT_wxUSE_TREEBOOK=no
3112 DEFAULT_wxUSE_TOOLBOOK=no
3113 DEFAULT_wxUSE_TREECTRL=no
3114 DEFAULT_wxUSE_POPUPWIN=no
3115 DEFAULT_wxUSE_TIPWINDOW=no
3116
3117 DEFAULT_wxUSE_UNICODE=yes
3118 DEFAULT_wxUSE_UNICODE_MSLU=no
3119 DEFAULT_wxUSE_UNICODE_UTF8=auto
3120 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3121 DEFAULT_wxUSE_WCSRTOMBS=no
3122
3123 DEFAULT_wxUSE_PALETTE=no
3124 DEFAULT_wxUSE_IMAGE=no
3125 DEFAULT_wxUSE_GIF=no
3126 DEFAULT_wxUSE_PCX=no
3127 DEFAULT_wxUSE_TGA=no
3128 DEFAULT_wxUSE_PNM=no
3129 DEFAULT_wxUSE_IFF=no
3130 DEFAULT_wxUSE_XPM=no
3131 DEFAULT_wxUSE_ICO_CUR=no
3132 DEFAULT_wxUSE_ACCESSIBILITY=no
3133
3134 DEFAULT_wxUSE_MONOLITHIC=no
3135 DEFAULT_wxUSE_PLUGINS=no
3136 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3137 else
3138 DEFAULT_wxUSE_UNIVERSAL=no
3139 DEFAULT_wxUSE_STL=no
3140 DEFAULT_wxUSE_EXTENDED_RTTI=no
3141
3142 DEFAULT_wxUSE_NANOX=no
3143
3144 DEFAULT_wxUSE_THREADS=yes
3145
3146 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3147 DEFAULT_wxUSE_OPTIMISE=yes
3148 DEFAULT_wxUSE_PROFILE=no
3149 DEFAULT_wxUSE_NO_DEPS=no
3150 DEFAULT_wxUSE_VARARG_MACROS=yes
3151 DEFAULT_wxUSE_NO_RTTI=no
3152 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3153 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3154 DEFAULT_wxUSE_RPATH=yes
3155 DEFAULT_wxUSE_PERMISSIVE=no
3156 DEFAULT_wxUSE_DEBUG_FLAG=no
3157 DEFAULT_wxUSE_DEBUG_INFO=no
3158 DEFAULT_wxUSE_DEBUG_GDB=no
3159 DEFAULT_wxUSE_MEM_TRACING=no
3160 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3161 DEFAULT_wxUSE_DMALLOC=no
3162 DEFAULT_wxUSE_APPLE_IEEE=yes
3163
3164 DEFAULT_wxUSE_EXCEPTIONS=yes
3165 DEFAULT_wxUSE_LOG=yes
3166 DEFAULT_wxUSE_LOGWINDOW=yes
3167 DEFAULT_wxUSE_LOGGUI=yes
3168 DEFAULT_wxUSE_LOGDIALOG=yes
3169
3170 DEFAULT_wxUSE_GUI=yes
3171
3172 DEFAULT_wxUSE_REGEX=yes
3173 DEFAULT_wxUSE_XML=yes
3174 DEFAULT_wxUSE_EXPAT=yes
3175 DEFAULT_wxUSE_ZLIB=yes
3176 DEFAULT_wxUSE_LIBPNG=yes
3177 DEFAULT_wxUSE_LIBJPEG=yes
3178 DEFAULT_wxUSE_LIBTIFF=yes
3179 DEFAULT_wxUSE_LIBXPM=yes
3180 DEFAULT_wxUSE_LIBMSPACK=yes
3181 DEFAULT_wxUSE_LIBSDL=no
3182 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3183 DEFAULT_wxUSE_LIBGNOMEVFS=no
3184 DEFAULT_wxUSE_LIBHILDON=no
3185 DEFAULT_wxUSE_ODBC=no
3186 DEFAULT_wxUSE_OPENGL=no
3187
3188 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3189 DEFAULT_wxUSE_STACKWALKER=yes
3190 DEFAULT_wxUSE_DEBUGREPORT=yes
3191 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3192 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3193 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3194 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3195 DEFAULT_wxUSE_DATETIME=yes
3196 DEFAULT_wxUSE_TIMER=yes
3197 DEFAULT_wxUSE_STOPWATCH=yes
3198 DEFAULT_wxUSE_FILE=yes
3199 DEFAULT_wxUSE_FFILE=yes
3200 DEFAULT_wxUSE_STDPATHS=yes
3201 DEFAULT_wxUSE_TEXTBUFFER=yes
3202 DEFAULT_wxUSE_TEXTFILE=yes
3203 DEFAULT_wxUSE_SOUND=yes
3204 DEFAULT_wxUSE_MEDIACTRL=no
3205 DEFAULT_wxUSE_GSTREAMER8=no
3206 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3207 DEFAULT_wxUSE_INTL=yes
3208 DEFAULT_wxUSE_CONFIG=yes
3209 DEFAULT_wxUSE_FONTMAP=yes
3210 DEFAULT_wxUSE_STREAMS=yes
3211 DEFAULT_wxUSE_SOCKETS=yes
3212 DEFAULT_wxUSE_OLE=yes
3213 DEFAULT_wxUSE_DATAOBJ=yes
3214 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3215 DEFAULT_wxUSE_JOYSTICK=yes
3216 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3217 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3218 DEFAULT_wxUSE_LONGLONG=yes
3219 DEFAULT_wxUSE_GEOMETRY=yes
3220
3221 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3222 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3223 DEFAULT_wxUSE_POSTSCRIPT=yes
3224
3225 DEFAULT_wxUSE_CLIPBOARD=yes
3226 DEFAULT_wxUSE_TOOLTIPS=yes
3227 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3228 DEFAULT_wxUSE_DRAGIMAGE=yes
3229 DEFAULT_wxUSE_SPLINES=yes
3230 DEFAULT_wxUSE_MOUSEWHEEL=yes
3231
3232 DEFAULT_wxUSE_MDI=yes
3233 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3234 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3235 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3236
3237 DEFAULT_wxUSE_CONSTRAINTS=yes
3238 DEFAULT_wxUSE_IPC=yes
3239 DEFAULT_wxUSE_HELP=yes
3240 DEFAULT_wxUSE_MS_HTML_HELP=yes
3241 DEFAULT_wxUSE_WXHTML_HELP=yes
3242 DEFAULT_wxUSE_TREELAYOUT=yes
3243 DEFAULT_wxUSE_METAFILE=yes
3244 DEFAULT_wxUSE_MIMETYPE=yes
3245 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3246 DEFAULT_wxUSE_PROTOCOL=yes
3247 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3248 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3249 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3250 DEFAULT_wxUSE_URL=yes
3251 DEFAULT_wxUSE_VARIANT=yes
3252
3253 DEFAULT_wxUSE_ABOUTDLG=yes
3254 DEFAULT_wxUSE_COMMONDLGS=yes
3255 DEFAULT_wxUSE_CHOICEDLG=yes
3256 DEFAULT_wxUSE_COLOURDLG=yes
3257 DEFAULT_wxUSE_DIRDLG=yes
3258 DEFAULT_wxUSE_FILEDLG=yes
3259 DEFAULT_wxUSE_FINDREPLDLG=yes
3260 DEFAULT_wxUSE_FONTDLG=yes
3261 DEFAULT_wxUSE_MSGDLG=yes
3262 DEFAULT_wxUSE_NUMBERDLG=yes
3263 DEFAULT_wxUSE_TEXTDLG=yes
3264 DEFAULT_wxUSE_SPLASH=yes
3265 DEFAULT_wxUSE_STARTUP_TIPS=yes
3266 DEFAULT_wxUSE_PROGRESSDLG=yes
3267 DEFAULT_wxUSE_WIZARDDLG=yes
3268
3269 DEFAULT_wxUSE_MENUS=yes
3270 DEFAULT_wxUSE_MINIFRAME=yes
3271 DEFAULT_wxUSE_HTML=yes
3272 DEFAULT_wxUSE_RICHTEXT=yes
3273 DEFAULT_wxUSE_XRC=yes
3274 DEFAULT_wxUSE_AUI=yes
3275 DEFAULT_wxUSE_STC=yes
3276 DEFAULT_wxUSE_WEBKIT=yes
3277 DEFAULT_wxUSE_FILESYSTEM=yes
3278 DEFAULT_wxUSE_FS_INET=yes
3279 DEFAULT_wxUSE_FS_ZIP=yes
3280 DEFAULT_wxUSE_FS_ARCHIVE=yes
3281 DEFAULT_wxUSE_BUSYINFO=yes
3282 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3283 DEFAULT_wxUSE_ZIPSTREAM=yes
3284 DEFAULT_wxUSE_TARSTREAM=yes
3285 DEFAULT_wxUSE_VALIDATORS=yes
3286
3287 DEFAULT_wxUSE_ACCEL=yes
3288 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3289 DEFAULT_wxUSE_BUTTON=yes
3290 DEFAULT_wxUSE_BMPBUTTON=yes
3291 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3292 DEFAULT_wxUSE_CALCTRL=yes
3293 DEFAULT_wxUSE_CARET=yes
3294 DEFAULT_wxUSE_CHECKBOX=yes
3295 DEFAULT_wxUSE_CHECKLST=yes
3296 DEFAULT_wxUSE_CHOICE=yes
3297 DEFAULT_wxUSE_CHOICEBOOK=yes
3298 DEFAULT_wxUSE_COLLPANE=yes
3299 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3300 DEFAULT_wxUSE_COMBOBOX=yes
3301 DEFAULT_wxUSE_COMBOCTRL=yes
3302 DEFAULT_wxUSE_DATEPICKCTRL=yes
3303 DEFAULT_wxUSE_DISPLAY=yes
3304 DEFAULT_wxUSE_DETECT_SM=yes
3305 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3306 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3307 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3308 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3309 DEFAULT_wxUSE_GAUGE=yes
3310 DEFAULT_wxUSE_GRID=yes
3311 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3312 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3313 DEFAULT_wxUSE_DATAVIEWCTRL=no
3314 DEFAULT_wxUSE_IMAGLIST=yes
3315 DEFAULT_wxUSE_LISTBOOK=yes
3316 DEFAULT_wxUSE_LISTBOX=yes
3317 DEFAULT_wxUSE_LISTCTRL=yes
3318 DEFAULT_wxUSE_NOTEBOOK=yes
3319 DEFAULT_wxUSE_ODCOMBOBOX=yes
3320 DEFAULT_wxUSE_RADIOBOX=yes
3321 DEFAULT_wxUSE_RADIOBTN=yes
3322 DEFAULT_wxUSE_SASH=yes
3323 DEFAULT_wxUSE_SCROLLBAR=yes
3324 DEFAULT_wxUSE_SEARCHCTRL=yes
3325 DEFAULT_wxUSE_SLIDER=yes
3326 DEFAULT_wxUSE_SPINBTN=yes
3327 DEFAULT_wxUSE_SPINCTRL=yes
3328 DEFAULT_wxUSE_SPLITTER=yes
3329 DEFAULT_wxUSE_STATBMP=yes
3330 DEFAULT_wxUSE_STATBOX=yes
3331 DEFAULT_wxUSE_STATLINE=yes
3332 DEFAULT_wxUSE_STATTEXT=yes
3333 DEFAULT_wxUSE_STATUSBAR=yes
3334 DEFAULT_wxUSE_TAB_DIALOG=no
3335 DEFAULT_wxUSE_TEXTCTRL=yes
3336 DEFAULT_wxUSE_TOGGLEBTN=yes
3337 DEFAULT_wxUSE_TOOLBAR=yes
3338 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3339 DEFAULT_wxUSE_TREEBOOK=yes
3340 DEFAULT_wxUSE_TOOLBOOK=yes
3341 DEFAULT_wxUSE_TREECTRL=yes
3342 DEFAULT_wxUSE_POPUPWIN=yes
3343 DEFAULT_wxUSE_TIPWINDOW=yes
3344
3345 DEFAULT_wxUSE_UNICODE=yes
3346 DEFAULT_wxUSE_UNICODE_MSLU=yes
3347 DEFAULT_wxUSE_UNICODE_UTF8=auto
3348 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3349 DEFAULT_wxUSE_WCSRTOMBS=no
3350
3351 DEFAULT_wxUSE_PALETTE=yes
3352 DEFAULT_wxUSE_IMAGE=yes
3353 DEFAULT_wxUSE_GIF=yes
3354 DEFAULT_wxUSE_PCX=yes
3355 DEFAULT_wxUSE_TGA=yes
3356 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3357 DEFAULT_wxUSE_XPM=yes
3358 DEFAULT_wxUSE_ICO_CUR=yes
3359 DEFAULT_wxUSE_ACCESSIBILITY=no
3360
3361 DEFAULT_wxUSE_MONOLITHIC=no
3362 DEFAULT_wxUSE_PLUGINS=no
3363 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3364
3365 DEFAULT_wxUSE_GTK2=yes
3366 fi
3367
3368 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3369
3370
3371
3372
3373 for toolkit in `echo $ALL_TOOLKITS`; do
3374 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3375 if test "x$LINE" != "x" ; then
3376 has_toolkit_in_cache=1
3377 eval "DEFAULT_$LINE"
3378 eval "CACHE_$toolkit=1"
3379
3380 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3381 if test "x$LINE" != "x" ; then
3382 eval "DEFAULT_$LINE"
3383 fi
3384 fi
3385 done
3386
3387
3388
3389 enablestring=
3390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3392 no_cache=0
3393 # Check whether --enable-gui was given.
3394 if test "${enable_gui+set}" = set; then
3395 enableval=$enable_gui;
3396 if test "$enableval" = yes; then
3397 ac_cv_use_gui='wxUSE_GUI=yes'
3398 else
3399 ac_cv_use_gui='wxUSE_GUI=no'
3400 fi
3401
3402 else
3403
3404 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3405 if test "x$LINE" != x ; then
3406 eval "DEFAULT_$LINE"
3407 else
3408 no_cache=1
3409 fi
3410
3411 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3412
3413 fi
3414
3415
3416 eval "$ac_cv_use_gui"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3419 fi
3420
3421 if test "$wxUSE_GUI" = yes; then
3422 { echo "$as_me:$LINENO: result: yes" >&5
3423 echo "${ECHO_T}yes" >&6; }
3424 else
3425 { echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6; }
3427 fi
3428
3429
3430 enablestring=
3431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3432 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3433 no_cache=0
3434 # Check whether --enable-monolithic was given.
3435 if test "${enable_monolithic+set}" = set; then
3436 enableval=$enable_monolithic;
3437 if test "$enableval" = yes; then
3438 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3439 else
3440 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3441 fi
3442
3443 else
3444
3445 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x ; then
3447 eval "DEFAULT_$LINE"
3448 else
3449 no_cache=1
3450 fi
3451
3452 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3453
3454 fi
3455
3456
3457 eval "$ac_cv_use_monolithic"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3460 fi
3461
3462 if test "$wxUSE_MONOLITHIC" = yes; then
3463 { echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6; }
3465 else
3466 { echo "$as_me:$LINENO: result: no" >&5
3467 echo "${ECHO_T}no" >&6; }
3468 fi
3469
3470
3471 enablestring=
3472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3474 no_cache=0
3475 # Check whether --enable-plugins was given.
3476 if test "${enable_plugins+set}" = set; then
3477 enableval=$enable_plugins;
3478 if test "$enableval" = yes; then
3479 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3480 else
3481 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3482 fi
3483
3484 else
3485
3486 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x ; then
3488 eval "DEFAULT_$LINE"
3489 else
3490 no_cache=1
3491 fi
3492
3493 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3494
3495 fi
3496
3497
3498 eval "$ac_cv_use_plugins"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3501 fi
3502
3503 if test "$wxUSE_PLUGINS" = yes; then
3504 { echo "$as_me:$LINENO: result: yes" >&5
3505 echo "${ECHO_T}yes" >&6; }
3506 else
3507 { echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6; }
3509 fi
3510
3511
3512 withstring=without
3513 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3514 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3515 no_cache=0
3516
3517 # Check whether --with-subdirs was given.
3518 if test "${with_subdirs+set}" = set; then
3519 withval=$with_subdirs;
3520 if test "$withval" = yes; then
3521 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3522 else
3523 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3524 fi
3525
3526 else
3527
3528 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3531 else
3532 no_cache=1
3533 fi
3534
3535 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3536
3537 fi
3538
3539
3540 eval "$ac_cv_use_subdirs"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxWITH_SUBDIRS" = yes; then
3546 { echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6; }
3548 else
3549 { echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6; }
3551 fi
3552
3553
3554 if test "$wxUSE_GUI" = "yes"; then
3555
3556
3557 enablestring=
3558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3559 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3560 no_cache=0
3561 # Check whether --enable-universal was given.
3562 if test "${enable_universal+set}" = set; then
3563 enableval=$enable_universal;
3564 if test "$enableval" = yes; then
3565 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3566 else
3567 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3568 fi
3569
3570 else
3571
3572 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3575 else
3576 no_cache=1
3577 fi
3578
3579 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3580
3581 fi
3582
3583
3584 eval "$ac_cv_use_universal"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3587 fi
3588
3589 if test "$wxUSE_UNIVERSAL" = yes; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3592 else
3593 { echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6; }
3595 fi
3596
3597
3598 # Check whether --with-gtk was given.
3599 if test "${with_gtk+set}" = set; then
3600 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3601 fi
3602
3603
3604 # Check whether --with-motif was given.
3605 if test "${with_motif+set}" = set; then
3606 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3607 fi
3608
3609
3610 # Check whether --with-mac was given.
3611 if test "${with_mac+set}" = set; then
3612 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3613 fi
3614
3615
3616 # Check whether --with-cocoa was given.
3617 if test "${with_cocoa+set}" = set; then
3618 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3619 fi
3620
3621
3622 # Check whether --with-wine was given.
3623 if test "${with_wine+set}" = set; then
3624 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3625 fi
3626
3627
3628 # Check whether --with-msw was given.
3629 if test "${with_msw+set}" = set; then
3630 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3631 fi
3632
3633
3634 # Check whether --with-pm was given.
3635 if test "${with_pm+set}" = set; then
3636 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3637 fi
3638
3639
3640 # Check whether --with-mgl was given.
3641 if test "${with_mgl+set}" = set; then
3642 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3643 fi
3644
3645
3646 # Check whether --with-directfb was given.
3647 if test "${with_directfb+set}" = set; then
3648 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3649 fi
3650
3651
3652 # Check whether --with-microwin was given.
3653 if test "${with_microwin+set}" = set; then
3654 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3655 fi
3656
3657
3658 # Check whether --with-x11 was given.
3659 if test "${with_x11+set}" = set; then
3660 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3661 fi
3662
3663
3664 enablestring=
3665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3666 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3667 no_cache=0
3668 # Check whether --enable-nanox was given.
3669 if test "${enable_nanox+set}" = set; then
3670 enableval=$enable_nanox;
3671 if test "$enableval" = yes; then
3672 ac_cv_use_nanox='wxUSE_NANOX=yes'
3673 else
3674 ac_cv_use_nanox='wxUSE_NANOX=no'
3675 fi
3676
3677 else
3678
3679 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x ; then
3681 eval "DEFAULT_$LINE"
3682 else
3683 no_cache=1
3684 fi
3685
3686 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3687
3688 fi
3689
3690
3691 eval "$ac_cv_use_nanox"
3692 if test "$no_cache" != 1; then
3693 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3694 fi
3695
3696 if test "$wxUSE_NANOX" = yes; then
3697 { echo "$as_me:$LINENO: result: yes" >&5
3698 echo "${ECHO_T}yes" >&6; }
3699 else
3700 { echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6; }
3702 fi
3703
3704
3705 # Check whether --enable-gtk2 was given.
3706 if test "${enable_gtk2+set}" = set; then
3707 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3708 fi
3709
3710
3711 enablestring=
3712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3713 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3714 no_cache=0
3715 # Check whether --enable-gpe was given.
3716 if test "${enable_gpe+set}" = set; then
3717 enableval=$enable_gpe;
3718 if test "$enableval" = yes; then
3719 ac_cv_use_gpe='wxUSE_GPE=yes'
3720 else
3721 ac_cv_use_gpe='wxUSE_GPE=no'
3722 fi
3723
3724 else
3725
3726 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x ; then
3728 eval "DEFAULT_$LINE"
3729 else
3730 no_cache=1
3731 fi
3732
3733 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3734
3735 fi
3736
3737
3738 eval "$ac_cv_use_gpe"
3739 if test "$no_cache" != 1; then
3740 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3741 fi
3742
3743 if test "$wxUSE_GPE" = yes; then
3744 { echo "$as_me:$LINENO: result: yes" >&5
3745 echo "${ECHO_T}yes" >&6; }
3746 else
3747 { echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6; }
3749 fi
3750
3751
3752
3753 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3754 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3755 no_cache=0
3756
3757 # Check whether --with-libpng was given.
3758 if test "${with_libpng+set}" = set; then
3759 withval=$with_libpng;
3760 if test "$withval" = yes; then
3761 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3762 elif test "$withval" = no; then
3763 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3764 elif test "$withval" = sys; then
3765 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3766 elif test "$withval" = builtin; then
3767 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3768 else
3769 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3770 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3771 { (exit 1); exit 1; }; }
3772 fi
3773
3774 else
3775
3776 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3777 if test "x$LINE" != x ; then
3778 eval "DEFAULT_$LINE"
3779 else
3780 no_cache=1
3781 fi
3782
3783 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3784
3785 fi
3786
3787
3788 eval "$ac_cv_use_libpng"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3791 fi
3792
3793 if test "$wxUSE_LIBPNG" = yes; then
3794 { echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6; }
3796 elif test "$wxUSE_LIBPNG" = no; then
3797 { echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6; }
3799 elif test "$wxUSE_LIBPNG" = sys; then
3800 { echo "$as_me:$LINENO: result: system version" >&5
3801 echo "${ECHO_T}system version" >&6; }
3802 elif test "$wxUSE_LIBPNG" = builtin; then
3803 { echo "$as_me:$LINENO: result: builtin version" >&5
3804 echo "${ECHO_T}builtin version" >&6; }
3805 else
3806 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3807 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3808 { (exit 1); exit 1; }; }
3809 fi
3810
3811
3812 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3813 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3814 no_cache=0
3815
3816 # Check whether --with-libjpeg was given.
3817 if test "${with_libjpeg+set}" = set; then
3818 withval=$with_libjpeg;
3819 if test "$withval" = yes; then
3820 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3821 elif test "$withval" = no; then
3822 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3823 elif test "$withval" = sys; then
3824 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3825 elif test "$withval" = builtin; then
3826 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3827 else
3828 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3829 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3830 { (exit 1); exit 1; }; }
3831 fi
3832
3833 else
3834
3835 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3836 if test "x$LINE" != x ; then
3837 eval "DEFAULT_$LINE"
3838 else
3839 no_cache=1
3840 fi
3841
3842 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3843
3844 fi
3845
3846
3847 eval "$ac_cv_use_libjpeg"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3850 fi
3851
3852 if test "$wxUSE_LIBJPEG" = yes; then
3853 { echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6; }
3855 elif test "$wxUSE_LIBJPEG" = no; then
3856 { echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6; }
3858 elif test "$wxUSE_LIBJPEG" = sys; then
3859 { echo "$as_me:$LINENO: result: system version" >&5
3860 echo "${ECHO_T}system version" >&6; }
3861 elif test "$wxUSE_LIBJPEG" = builtin; then
3862 { echo "$as_me:$LINENO: result: builtin version" >&5
3863 echo "${ECHO_T}builtin version" >&6; }
3864 else
3865 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3866 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3867 { (exit 1); exit 1; }; }
3868 fi
3869
3870
3871 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3872 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3873 no_cache=0
3874
3875 # Check whether --with-libtiff was given.
3876 if test "${with_libtiff+set}" = set; then
3877 withval=$with_libtiff;
3878 if test "$withval" = yes; then
3879 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3880 elif test "$withval" = no; then
3881 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3882 elif test "$withval" = sys; then
3883 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3884 elif test "$withval" = builtin; then
3885 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3886 else
3887 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3888 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3889 { (exit 1); exit 1; }; }
3890 fi
3891
3892 else
3893
3894 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3895 if test "x$LINE" != x ; then
3896 eval "DEFAULT_$LINE"
3897 else
3898 no_cache=1
3899 fi
3900
3901 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3902
3903 fi
3904
3905
3906 eval "$ac_cv_use_libtiff"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3909 fi
3910
3911 if test "$wxUSE_LIBTIFF" = yes; then
3912 { echo "$as_me:$LINENO: result: yes" >&5
3913 echo "${ECHO_T}yes" >&6; }
3914 elif test "$wxUSE_LIBTIFF" = no; then
3915 { echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6; }
3917 elif test "$wxUSE_LIBTIFF" = sys; then
3918 { echo "$as_me:$LINENO: result: system version" >&5
3919 echo "${ECHO_T}system version" >&6; }
3920 elif test "$wxUSE_LIBTIFF" = builtin; then
3921 { echo "$as_me:$LINENO: result: builtin version" >&5
3922 echo "${ECHO_T}builtin version" >&6; }
3923 else
3924 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3925 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3926 { (exit 1); exit 1; }; }
3927 fi
3928
3929
3930 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3931 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3932 no_cache=0
3933
3934 # Check whether --with-libxpm was given.
3935 if test "${with_libxpm+set}" = set; then
3936 withval=$with_libxpm;
3937 if test "$withval" = yes; then
3938 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3939 elif test "$withval" = no; then
3940 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3941 elif test "$withval" = sys; then
3942 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3943 elif test "$withval" = builtin; then
3944 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3945 else
3946 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3947 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3948 { (exit 1); exit 1; }; }
3949 fi
3950
3951 else
3952
3953 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x ; then
3955 eval "DEFAULT_$LINE"
3956 else
3957 no_cache=1
3958 fi
3959
3960 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3961
3962 fi
3963
3964
3965 eval "$ac_cv_use_libxpm"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3968 fi
3969
3970 if test "$wxUSE_LIBXPM" = yes; then
3971 { echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6; }
3973 elif test "$wxUSE_LIBXPM" = no; then
3974 { echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6; }
3976 elif test "$wxUSE_LIBXPM" = sys; then
3977 { echo "$as_me:$LINENO: result: system version" >&5
3978 echo "${ECHO_T}system version" >&6; }
3979 elif test "$wxUSE_LIBXPM" = builtin; then
3980 { echo "$as_me:$LINENO: result: builtin version" >&5
3981 echo "${ECHO_T}builtin version" >&6; }
3982 else
3983 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3984 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3985 { (exit 1); exit 1; }; }
3986 fi
3987
3988
3989 withstring=
3990 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3991 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3992 no_cache=0
3993
3994 # Check whether --with-libmspack was given.
3995 if test "${with_libmspack+set}" = set; then
3996 withval=$with_libmspack;
3997 if test "$withval" = yes; then
3998 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3999 else
4000 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
4001 fi
4002
4003 else
4004
4005 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
4006 if test "x$LINE" != x ; then
4007 eval "DEFAULT_$LINE"
4008 else
4009 no_cache=1
4010 fi
4011
4012 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4013
4014 fi
4015
4016
4017 eval "$ac_cv_use_libmspack"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4020 fi
4021
4022 if test "$wxUSE_LIBMSPACK" = yes; then
4023 { echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6; }
4025 else
4026 { echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6; }
4028 fi
4029
4030
4031 withstring=
4032 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4033 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4034 no_cache=0
4035
4036 # Check whether --with-sdl was given.
4037 if test "${with_sdl+set}" = set; then
4038 withval=$with_sdl;
4039 if test "$withval" = yes; then
4040 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4041 else
4042 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4043 fi
4044
4045 else
4046
4047 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x ; then
4049 eval "DEFAULT_$LINE"
4050 else
4051 no_cache=1
4052 fi
4053
4054 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4055
4056 fi
4057
4058
4059 eval "$ac_cv_use_sdl"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4062 fi
4063
4064 if test "$wxUSE_LIBSDL" = yes; then
4065 { echo "$as_me:$LINENO: result: yes" >&5
4066 echo "${ECHO_T}yes" >&6; }
4067 else
4068 { echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6; }
4070 fi
4071
4072
4073 withstring=
4074 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4075 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4076 no_cache=0
4077
4078 # Check whether --with-gnomeprint was given.
4079 if test "${with_gnomeprint+set}" = set; then
4080 withval=$with_gnomeprint;
4081 if test "$withval" = yes; then
4082 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4083 else
4084 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4085 fi
4086
4087 else
4088
4089 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x ; then
4091 eval "DEFAULT_$LINE"
4092 else
4093 no_cache=1
4094 fi
4095
4096 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4097
4098 fi
4099
4100
4101 eval "$ac_cv_use_gnomeprint"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4104 fi
4105
4106 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4107 { echo "$as_me:$LINENO: result: yes" >&5
4108 echo "${ECHO_T}yes" >&6; }
4109 else
4110 { echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6; }
4112 fi
4113
4114
4115 withstring=
4116 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4117 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4118 no_cache=0
4119
4120 # Check whether --with-gnomevfs was given.
4121 if test "${with_gnomevfs+set}" = set; then
4122 withval=$with_gnomevfs;
4123 if test "$withval" = yes; then
4124 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4125 else
4126 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4127 fi
4128
4129 else
4130
4131 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x ; then
4133 eval "DEFAULT_$LINE"
4134 else
4135 no_cache=1
4136 fi
4137
4138 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4139
4140 fi
4141
4142
4143 eval "$ac_cv_use_gnomevfs"
4144 if test "$no_cache" != 1; then
4145 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4146 fi
4147
4148 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4149 { echo "$as_me:$LINENO: result: yes" >&5
4150 echo "${ECHO_T}yes" >&6; }
4151 else
4152 { echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6; }
4154 fi
4155
4156
4157 withstring=
4158 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4159 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4160 no_cache=0
4161
4162 # Check whether --with-hildon was given.
4163 if test "${with_hildon+set}" = set; then
4164 withval=$with_hildon;
4165 if test "$withval" = yes; then
4166 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4167 else
4168 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4169 fi
4170
4171 else
4172
4173 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4176 else
4177 no_cache=1
4178 fi
4179
4180 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4181
4182 fi
4183
4184
4185 eval "$ac_cv_use_hildon"
4186 if test "$no_cache" != 1; then
4187 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4188 fi
4189
4190 if test "$wxUSE_LIBHILDON" = yes; then
4191 { echo "$as_me:$LINENO: result: yes" >&5
4192 echo "${ECHO_T}yes" >&6; }
4193 else
4194 { echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6; }
4196 fi
4197
4198
4199 withstring=
4200 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4201 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4202 no_cache=0
4203
4204 # Check whether --with-opengl was given.
4205 if test "${with_opengl+set}" = set; then
4206 withval=$with_opengl;
4207 if test "$withval" = yes; then
4208 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4209 else
4210 ac_cv_use_opengl='wxUSE_OPENGL=no'
4211 fi
4212
4213 else
4214
4215 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4216 if test "x$LINE" != x ; then
4217 eval "DEFAULT_$LINE"
4218 else
4219 no_cache=1
4220 fi
4221
4222 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4223
4224 fi
4225
4226
4227 eval "$ac_cv_use_opengl"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4230 fi
4231
4232 if test "$wxUSE_OPENGL" = yes; then
4233 { echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6; }
4235 else
4236 { echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6; }
4238 fi
4239
4240
4241 if test "$wxUSE_UNIVERSAL" = "yes"; then
4242
4243 # Check whether --with-themes was given.
4244 if test "${with_themes+set}" = set; then
4245 withval=$with_themes; wxUNIV_THEMES="$withval"
4246 fi
4247
4248 fi
4249
4250 fi
4251
4252
4253 withstring=
4254 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4255 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4256 no_cache=0
4257
4258 # Check whether --with-dmalloc was given.
4259 if test "${with_dmalloc+set}" = set; then
4260 withval=$with_dmalloc;
4261 if test "$withval" = yes; then
4262 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4263 else
4264 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4265 fi
4266
4267 else
4268
4269 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x ; then
4271 eval "DEFAULT_$LINE"
4272 else
4273 no_cache=1
4274 fi
4275
4276 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4277
4278 fi
4279
4280
4281 eval "$ac_cv_use_dmalloc"
4282 if test "$no_cache" != 1; then
4283 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4284 fi
4285
4286 if test "$wxUSE_DMALLOC" = yes; then
4287 { echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6; }
4289 else
4290 { echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6; }
4292 fi
4293
4294
4295 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4296 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4297 no_cache=0
4298
4299 # Check whether --with-regex was given.
4300 if test "${with_regex+set}" = set; then
4301 withval=$with_regex;
4302 if test "$withval" = yes; then
4303 ac_cv_use_regex='wxUSE_REGEX=yes'
4304 elif test "$withval" = no; then
4305 ac_cv_use_regex='wxUSE_REGEX=no'
4306 elif test "$withval" = sys; then
4307 ac_cv_use_regex='wxUSE_REGEX=sys'
4308 elif test "$withval" = builtin; then
4309 ac_cv_use_regex='wxUSE_REGEX=builtin'
4310 else
4311 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4312 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4313 { (exit 1); exit 1; }; }
4314 fi
4315
4316 else
4317
4318 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4319 if test "x$LINE" != x ; then
4320 eval "DEFAULT_$LINE"
4321 else
4322 no_cache=1
4323 fi
4324
4325 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4326
4327 fi
4328
4329
4330 eval "$ac_cv_use_regex"
4331 if test "$no_cache" != 1; then
4332 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4333 fi
4334
4335 if test "$wxUSE_REGEX" = yes; then
4336 { echo "$as_me:$LINENO: result: yes" >&5
4337 echo "${ECHO_T}yes" >&6; }
4338 elif test "$wxUSE_REGEX" = no; then
4339 { echo "$as_me:$LINENO: result: no" >&5
4340 echo "${ECHO_T}no" >&6; }
4341 elif test "$wxUSE_REGEX" = sys; then
4342 { echo "$as_me:$LINENO: result: system version" >&5
4343 echo "${ECHO_T}system version" >&6; }
4344 elif test "$wxUSE_REGEX" = builtin; then
4345 { echo "$as_me:$LINENO: result: builtin version" >&5
4346 echo "${ECHO_T}builtin version" >&6; }
4347 else
4348 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4349 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4350 { (exit 1); exit 1; }; }
4351 fi
4352
4353
4354 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4355 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4356 no_cache=0
4357
4358 # Check whether --with-zlib was given.
4359 if test "${with_zlib+set}" = set; then
4360 withval=$with_zlib;
4361 if test "$withval" = yes; then
4362 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4363 elif test "$withval" = no; then
4364 ac_cv_use_zlib='wxUSE_ZLIB=no'
4365 elif test "$withval" = sys; then
4366 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4367 elif test "$withval" = builtin; then
4368 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4369 else
4370 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4371 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4372 { (exit 1); exit 1; }; }
4373 fi
4374
4375 else
4376
4377 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x ; then
4379 eval "DEFAULT_$LINE"
4380 else
4381 no_cache=1
4382 fi
4383
4384 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4385
4386 fi
4387
4388
4389 eval "$ac_cv_use_zlib"
4390 if test "$no_cache" != 1; then
4391 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4392 fi
4393
4394 if test "$wxUSE_ZLIB" = yes; then
4395 { echo "$as_me:$LINENO: result: yes" >&5
4396 echo "${ECHO_T}yes" >&6; }
4397 elif test "$wxUSE_ZLIB" = no; then
4398 { echo "$as_me:$LINENO: result: no" >&5
4399 echo "${ECHO_T}no" >&6; }
4400 elif test "$wxUSE_ZLIB" = sys; then
4401 { echo "$as_me:$LINENO: result: system version" >&5
4402 echo "${ECHO_T}system version" >&6; }
4403 elif test "$wxUSE_ZLIB" = builtin; then
4404 { echo "$as_me:$LINENO: result: builtin version" >&5
4405 echo "${ECHO_T}builtin version" >&6; }
4406 else
4407 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4408 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4409 { (exit 1); exit 1; }; }
4410 fi
4411
4412
4413 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4414 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4415 no_cache=0
4416
4417 # Check whether --with-odbc was given.
4418 if test "${with_odbc+set}" = set; then
4419 withval=$with_odbc;
4420 if test "$withval" = yes; then
4421 ac_cv_use_odbc='wxUSE_ODBC=yes'
4422 elif test "$withval" = no; then
4423 ac_cv_use_odbc='wxUSE_ODBC=no'
4424 elif test "$withval" = sys; then
4425 ac_cv_use_odbc='wxUSE_ODBC=sys'
4426 elif test "$withval" = builtin; then
4427 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4428 else
4429 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4430 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4431 { (exit 1); exit 1; }; }
4432 fi
4433
4434 else
4435
4436 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4437 if test "x$LINE" != x ; then
4438 eval "DEFAULT_$LINE"
4439 else
4440 no_cache=1
4441 fi
4442
4443 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4444
4445 fi
4446
4447
4448 eval "$ac_cv_use_odbc"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4451 fi
4452
4453 if test "$wxUSE_ODBC" = yes; then
4454 { echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6; }
4456 elif test "$wxUSE_ODBC" = no; then
4457 { echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6; }
4459 elif test "$wxUSE_ODBC" = sys; then
4460 { echo "$as_me:$LINENO: result: system version" >&5
4461 echo "${ECHO_T}system version" >&6; }
4462 elif test "$wxUSE_ODBC" = builtin; then
4463 { echo "$as_me:$LINENO: result: builtin version" >&5
4464 echo "${ECHO_T}builtin version" >&6; }
4465 else
4466 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4467 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4468 { (exit 1); exit 1; }; }
4469 fi
4470
4471
4472 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4473 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4474 no_cache=0
4475
4476 # Check whether --with-expat was given.
4477 if test "${with_expat+set}" = set; then
4478 withval=$with_expat;
4479 if test "$withval" = yes; then
4480 ac_cv_use_expat='wxUSE_EXPAT=yes'
4481 elif test "$withval" = no; then
4482 ac_cv_use_expat='wxUSE_EXPAT=no'
4483 elif test "$withval" = sys; then
4484 ac_cv_use_expat='wxUSE_EXPAT=sys'
4485 elif test "$withval" = builtin; then
4486 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4487 else
4488 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4489 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4490 { (exit 1); exit 1; }; }
4491 fi
4492
4493 else
4494
4495 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x ; then
4497 eval "DEFAULT_$LINE"
4498 else
4499 no_cache=1
4500 fi
4501
4502 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4503
4504 fi
4505
4506
4507 eval "$ac_cv_use_expat"
4508 if test "$no_cache" != 1; then
4509 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4510 fi
4511
4512 if test "$wxUSE_EXPAT" = yes; then
4513 { echo "$as_me:$LINENO: result: yes" >&5
4514 echo "${ECHO_T}yes" >&6; }
4515 elif test "$wxUSE_EXPAT" = no; then
4516 { echo "$as_me:$LINENO: result: no" >&5
4517 echo "${ECHO_T}no" >&6; }
4518 elif test "$wxUSE_EXPAT" = sys; then
4519 { echo "$as_me:$LINENO: result: system version" >&5
4520 echo "${ECHO_T}system version" >&6; }
4521 elif test "$wxUSE_EXPAT" = builtin; then
4522 { echo "$as_me:$LINENO: result: builtin version" >&5
4523 echo "${ECHO_T}builtin version" >&6; }
4524 else
4525 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4526 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4527 { (exit 1); exit 1; }; }
4528 fi
4529
4530
4531
4532
4533 enablestring=
4534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4535 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4536 no_cache=0
4537 # Check whether --enable-shared was given.
4538 if test "${enable_shared+set}" = set; then
4539 enableval=$enable_shared;
4540 if test "$enableval" = yes; then
4541 ac_cv_use_shared='wxUSE_SHARED=yes'
4542 else
4543 ac_cv_use_shared='wxUSE_SHARED=no'
4544 fi
4545
4546 else
4547
4548 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x ; then
4550 eval "DEFAULT_$LINE"
4551 else
4552 no_cache=1
4553 fi
4554
4555 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4556
4557 fi
4558
4559
4560 eval "$ac_cv_use_shared"
4561 if test "$no_cache" != 1; then
4562 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4563 fi
4564
4565 if test "$wxUSE_SHARED" = yes; then
4566 { echo "$as_me:$LINENO: result: yes" >&5
4567 echo "${ECHO_T}yes" >&6; }
4568 else
4569 { echo "$as_me:$LINENO: result: no" >&5
4570 echo "${ECHO_T}no" >&6; }
4571 fi
4572
4573
4574 enablestring=
4575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4576 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4577 no_cache=0
4578 # Check whether --enable-optimise was given.
4579 if test "${enable_optimise+set}" = set; then
4580 enableval=$enable_optimise;
4581 if test "$enableval" = yes; then
4582 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4583 else
4584 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4585 fi
4586
4587 else
4588
4589 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4590 if test "x$LINE" != x ; then
4591 eval "DEFAULT_$LINE"
4592 else
4593 no_cache=1
4594 fi
4595
4596 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4597
4598 fi
4599
4600
4601 eval "$ac_cv_use_optimise"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4604 fi
4605
4606 if test "$wxUSE_OPTIMISE" = yes; then
4607 { echo "$as_me:$LINENO: result: yes" >&5
4608 echo "${ECHO_T}yes" >&6; }
4609 else
4610 { echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6; }
4612 fi
4613
4614
4615 enablestring=
4616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4617 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4618 no_cache=0
4619 # Check whether --enable-debug was given.
4620 if test "${enable_debug+set}" = set; then
4621 enableval=$enable_debug;
4622 if test "$enableval" = yes; then
4623 ac_cv_use_debug='wxUSE_DEBUG=yes'
4624 else
4625 ac_cv_use_debug='wxUSE_DEBUG=no'
4626 fi
4627
4628 else
4629
4630 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x ; then
4632 eval "DEFAULT_$LINE"
4633 else
4634 no_cache=1
4635 fi
4636
4637 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4638
4639 fi
4640
4641
4642 eval "$ac_cv_use_debug"
4643 if test "$no_cache" != 1; then
4644 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4645 fi
4646
4647 if test "$wxUSE_DEBUG" = yes; then
4648 { echo "$as_me:$LINENO: result: yes" >&5
4649 echo "${ECHO_T}yes" >&6; }
4650 else
4651 { echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6; }
4653 fi
4654
4655
4656 enablestring=
4657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4659 no_cache=0
4660 # Check whether --enable-stl was given.
4661 if test "${enable_stl+set}" = set; then
4662 enableval=$enable_stl;
4663 if test "$enableval" = yes; then
4664 ac_cv_use_stl='wxUSE_STL=yes'
4665 else
4666 ac_cv_use_stl='wxUSE_STL=no'
4667 fi
4668
4669 else
4670
4671 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x ; then
4673 eval "DEFAULT_$LINE"
4674 else
4675 no_cache=1
4676 fi
4677
4678 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4679
4680 fi
4681
4682
4683 eval "$ac_cv_use_stl"
4684 if test "$no_cache" != 1; then
4685 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4686 fi
4687
4688 if test "$wxUSE_STL" = yes; then
4689 { echo "$as_me:$LINENO: result: yes" >&5
4690 echo "${ECHO_T}yes" >&6; }
4691 else
4692 { echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6; }
4694 fi
4695
4696
4697 enablestring=
4698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4700 no_cache=0
4701 # Check whether --enable-extended_rtti was given.
4702 if test "${enable_extended_rtti+set}" = set; then
4703 enableval=$enable_extended_rtti;
4704 if test "$enableval" = yes; then
4705 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4706 else
4707 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4708 fi
4709
4710 else
4711
4712 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x ; then
4714 eval "DEFAULT_$LINE"
4715 else
4716 no_cache=1
4717 fi
4718
4719 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4720
4721 fi
4722
4723
4724 eval "$ac_cv_use_extended_rtti"
4725 if test "$no_cache" != 1; then
4726 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4727 fi
4728
4729 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4730 { echo "$as_me:$LINENO: result: yes" >&5
4731 echo "${ECHO_T}yes" >&6; }
4732 else
4733 { echo "$as_me:$LINENO: result: no" >&5
4734 echo "${ECHO_T}no" >&6; }
4735 fi
4736
4737 if test "$USE_OS2" = "1"; then
4738 DEFAULT_wxUSE_OMF=no
4739
4740 enablestring=
4741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4742 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4743 no_cache=0
4744 # Check whether --enable-omf was given.
4745 if test "${enable_omf+set}" = set; then
4746 enableval=$enable_omf;
4747 if test "$enableval" = yes; then
4748 ac_cv_use_omf='wxUSE_OMF=yes'
4749 else
4750 ac_cv_use_omf='wxUSE_OMF=no'
4751 fi
4752
4753 else
4754
4755 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x ; then
4757 eval "DEFAULT_$LINE"
4758 else
4759 no_cache=1
4760 fi
4761
4762 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4763
4764 fi
4765
4766
4767 eval "$ac_cv_use_omf"
4768 if test "$no_cache" != 1; then
4769 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4770 fi
4771
4772 if test "$wxUSE_OMF" = yes; then
4773 { echo "$as_me:$LINENO: result: yes" >&5
4774 echo "${ECHO_T}yes" >&6; }
4775 else
4776 { echo "$as_me:$LINENO: result: no" >&5
4777 echo "${ECHO_T}no" >&6; }
4778 fi
4779
4780 fi
4781
4782 if test "$wxUSE_DEBUG" = "yes"; then
4783 DEFAULT_wxUSE_DEBUG_FLAG=yes
4784 DEFAULT_wxUSE_DEBUG_INFO=yes
4785 BUILD=debug
4786 elif test "$wxUSE_DEBUG" = "no"; then
4787 DEFAULT_wxUSE_DEBUG_FLAG=no
4788 DEFAULT_wxUSE_DEBUG_INFO=no
4789 BUILD=release
4790 fi
4791
4792
4793 enablestring=
4794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4796 no_cache=0
4797 # Check whether --enable-debug_flag was given.
4798 if test "${enable_debug_flag+set}" = set; then
4799 enableval=$enable_debug_flag;
4800 if test "$enableval" = yes; then
4801 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4802 else
4803 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4804 fi
4805
4806 else
4807
4808 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4811 else
4812 no_cache=1
4813 fi
4814
4815 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4816
4817 fi
4818
4819
4820 eval "$ac_cv_use_debug_flag"
4821 if test "$no_cache" != 1; then
4822 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4823 fi
4824
4825 if test "$wxUSE_DEBUG_FLAG" = yes; then
4826 { echo "$as_me:$LINENO: result: yes" >&5
4827 echo "${ECHO_T}yes" >&6; }
4828 else
4829 { echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6; }
4831 fi
4832
4833
4834 enablestring=
4835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4837 no_cache=0
4838 # Check whether --enable-debug_info was given.
4839 if test "${enable_debug_info+set}" = set; then
4840 enableval=$enable_debug_info;
4841 if test "$enableval" = yes; then
4842 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4843 else
4844 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4845 fi
4846
4847 else
4848
4849 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4852 else
4853 no_cache=1
4854 fi
4855
4856 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4857
4858 fi
4859
4860
4861 eval "$ac_cv_use_debug_info"
4862 if test "$no_cache" != 1; then
4863 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4864 fi
4865
4866 if test "$wxUSE_DEBUG_INFO" = yes; then
4867 { echo "$as_me:$LINENO: result: yes" >&5
4868 echo "${ECHO_T}yes" >&6; }
4869 else
4870 { echo "$as_me:$LINENO: result: no" >&5
4871 echo "${ECHO_T}no" >&6; }
4872 fi
4873
4874
4875 enablestring=
4876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4878 no_cache=0
4879 # Check whether --enable-debug_gdb was given.
4880 if test "${enable_debug_gdb+set}" = set; then
4881 enableval=$enable_debug_gdb;
4882 if test "$enableval" = yes; then
4883 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4884 else
4885 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4886 fi
4887
4888 else
4889
4890 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x ; then
4892 eval "DEFAULT_$LINE"
4893 else
4894 no_cache=1
4895 fi
4896
4897 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4898
4899 fi
4900
4901
4902 eval "$ac_cv_use_debug_gdb"
4903 if test "$no_cache" != 1; then
4904 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4905 fi
4906
4907 if test "$wxUSE_DEBUG_GDB" = yes; then
4908 { echo "$as_me:$LINENO: result: yes" >&5
4909 echo "${ECHO_T}yes" >&6; }
4910 else
4911 { echo "$as_me:$LINENO: result: no" >&5
4912 echo "${ECHO_T}no" >&6; }
4913 fi
4914
4915
4916 enablestring=
4917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4918 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4919 no_cache=0
4920 # Check whether --enable-debug_cntxt was given.
4921 if test "${enable_debug_cntxt+set}" = set; then
4922 enableval=$enable_debug_cntxt;
4923 if test "$enableval" = yes; then
4924 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4925 else
4926 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4927 fi
4928
4929 else
4930
4931 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x ; then
4933 eval "DEFAULT_$LINE"
4934 else
4935 no_cache=1
4936 fi
4937
4938 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4939
4940 fi
4941
4942
4943 eval "$ac_cv_use_debug_cntxt"
4944 if test "$no_cache" != 1; then
4945 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4946 fi
4947
4948 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4949 { echo "$as_me:$LINENO: result: yes" >&5
4950 echo "${ECHO_T}yes" >&6; }
4951 else
4952 { echo "$as_me:$LINENO: result: no" >&5
4953 echo "${ECHO_T}no" >&6; }
4954 fi
4955
4956
4957 enablestring=
4958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4959 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4960 no_cache=0
4961 # Check whether --enable-mem_tracing was given.
4962 if test "${enable_mem_tracing+set}" = set; then
4963 enableval=$enable_mem_tracing;
4964 if test "$enableval" = yes; then
4965 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4966 else
4967 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4968 fi
4969
4970 else
4971
4972 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x ; then
4974 eval "DEFAULT_$LINE"
4975 else
4976 no_cache=1
4977 fi
4978
4979 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4980
4981 fi
4982
4983
4984 eval "$ac_cv_use_mem_tracing"
4985 if test "$no_cache" != 1; then
4986 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4987 fi
4988
4989 if test "$wxUSE_MEM_TRACING" = yes; then
4990 { echo "$as_me:$LINENO: result: yes" >&5
4991 echo "${ECHO_T}yes" >&6; }
4992 else
4993 { echo "$as_me:$LINENO: result: no" >&5
4994 echo "${ECHO_T}no" >&6; }
4995 fi
4996
4997
4998 enablestring=
4999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5000 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5001 no_cache=0
5002 # Check whether --enable-profile was given.
5003 if test "${enable_profile+set}" = set; then
5004 enableval=$enable_profile;
5005 if test "$enableval" = yes; then
5006 ac_cv_use_profile='wxUSE_PROFILE=yes'
5007 else
5008 ac_cv_use_profile='wxUSE_PROFILE=no'
5009 fi
5010
5011 else
5012
5013 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x ; then
5015 eval "DEFAULT_$LINE"
5016 else
5017 no_cache=1
5018 fi
5019
5020 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5021
5022 fi
5023
5024
5025 eval "$ac_cv_use_profile"
5026 if test "$no_cache" != 1; then
5027 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5028 fi
5029
5030 if test "$wxUSE_PROFILE" = yes; then
5031 { echo "$as_me:$LINENO: result: yes" >&5
5032 echo "${ECHO_T}yes" >&6; }
5033 else
5034 { echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6; }
5036 fi
5037
5038
5039 enablestring=
5040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5041 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5042 no_cache=0
5043 # Check whether --enable-no_rtti was given.
5044 if test "${enable_no_rtti+set}" = set; then
5045 enableval=$enable_no_rtti;
5046 if test "$enableval" = yes; then
5047 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5048 else
5049 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5050 fi
5051
5052 else
5053
5054 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5057 else
5058 no_cache=1
5059 fi
5060
5061 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5062
5063 fi
5064
5065
5066 eval "$ac_cv_use_no_rtti"
5067 if test "$no_cache" != 1; then
5068 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5069 fi
5070
5071 if test "$wxUSE_NO_RTTI" = yes; then
5072 { echo "$as_me:$LINENO: result: yes" >&5
5073 echo "${ECHO_T}yes" >&6; }
5074 else
5075 { echo "$as_me:$LINENO: result: no" >&5
5076 echo "${ECHO_T}no" >&6; }
5077 fi
5078
5079
5080 enablestring=
5081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5082 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5083 no_cache=0
5084 # Check whether --enable-no_exceptions was given.
5085 if test "${enable_no_exceptions+set}" = set; then
5086 enableval=$enable_no_exceptions;
5087 if test "$enableval" = yes; then
5088 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5089 else
5090 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5091 fi
5092
5093 else
5094
5095 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5098 else
5099 no_cache=1
5100 fi
5101
5102 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5103
5104 fi
5105
5106
5107 eval "$ac_cv_use_no_exceptions"
5108 if test "$no_cache" != 1; then
5109 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5110 fi
5111
5112 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5113 { echo "$as_me:$LINENO: result: yes" >&5
5114 echo "${ECHO_T}yes" >&6; }
5115 else
5116 { echo "$as_me:$LINENO: result: no" >&5
5117 echo "${ECHO_T}no" >&6; }
5118 fi
5119
5120
5121 enablestring=
5122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5124 no_cache=0
5125 # Check whether --enable-permissive was given.
5126 if test "${enable_permissive+set}" = set; then
5127 enableval=$enable_permissive;
5128 if test "$enableval" = yes; then
5129 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5130 else
5131 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5132 fi
5133
5134 else
5135
5136 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5139 else
5140 no_cache=1
5141 fi
5142
5143 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5144
5145 fi
5146
5147
5148 eval "$ac_cv_use_permissive"
5149 if test "$no_cache" != 1; then
5150 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5151 fi
5152
5153 if test "$wxUSE_PERMISSIVE" = yes; then
5154 { echo "$as_me:$LINENO: result: yes" >&5
5155 echo "${ECHO_T}yes" >&6; }
5156 else
5157 { echo "$as_me:$LINENO: result: no" >&5
5158 echo "${ECHO_T}no" >&6; }
5159 fi
5160
5161
5162 enablestring=
5163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5164 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5165 no_cache=0
5166 # Check whether --enable-no_deps was given.
5167 if test "${enable_no_deps+set}" = set; then
5168 enableval=$enable_no_deps;
5169 if test "$enableval" = yes; then
5170 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5171 else
5172 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5173 fi
5174
5175 else
5176
5177 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5180 else
5181 no_cache=1
5182 fi
5183
5184 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5185
5186 fi
5187
5188
5189 eval "$ac_cv_use_no_deps"
5190 if test "$no_cache" != 1; then
5191 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5192 fi
5193
5194 if test "$wxUSE_NO_DEPS" = yes; then
5195 { echo "$as_me:$LINENO: result: yes" >&5
5196 echo "${ECHO_T}yes" >&6; }
5197 else
5198 { echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6; }
5200 fi
5201
5202
5203 enablestring=
5204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5206 no_cache=0
5207 # Check whether --enable-vararg_macros was given.
5208 if test "${enable_vararg_macros+set}" = set; then
5209 enableval=$enable_vararg_macros;
5210 if test "$enableval" = yes; then
5211 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5212 else
5213 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5214 fi
5215
5216 else
5217
5218 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5221 else
5222 no_cache=1
5223 fi
5224
5225 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5226
5227 fi
5228
5229
5230 eval "$ac_cv_use_vararg_macros"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5233 fi
5234
5235 if test "$wxUSE_VARARG_MACROS" = yes; then
5236 { echo "$as_me:$LINENO: result: yes" >&5
5237 echo "${ECHO_T}yes" >&6; }
5238 else
5239 { echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6; }
5241 fi
5242
5243
5244 enablestring=
5245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5246 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5247 no_cache=0
5248 # Check whether --enable-universal_binary was given.
5249 if test "${enable_universal_binary+set}" = set; then
5250 enableval=$enable_universal_binary;
5251 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5252
5253 else
5254
5255 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5256 if test "x$LINE" != x ; then
5257 eval "DEFAULT_$LINE"
5258 else
5259 no_cache=1
5260 fi
5261
5262 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5263
5264 fi
5265
5266
5267 eval "$wx_cv_use_universal_binary"
5268 if test "$no_cache" != 1; then
5269 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5273 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5274
5275
5276
5277 enablestring=enable
5278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5279 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5280 no_cache=0
5281 # Check whether --enable-compat26 was given.
5282 if test "${enable_compat26+set}" = set; then
5283 enableval=$enable_compat26;
5284 if test "$enableval" = yes; then
5285 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5286 else
5287 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5288 fi
5289
5290 else
5291
5292 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x ; then
5294 eval "DEFAULT_$LINE"
5295 else
5296 no_cache=1
5297 fi
5298
5299 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5300
5301 fi
5302
5303
5304 eval "$ac_cv_use_compat26"
5305 if test "$no_cache" != 1; then
5306 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5307 fi
5308
5309 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5310 { echo "$as_me:$LINENO: result: yes" >&5
5311 echo "${ECHO_T}yes" >&6; }
5312 else
5313 { echo "$as_me:$LINENO: result: no" >&5
5314 echo "${ECHO_T}no" >&6; }
5315 fi
5316
5317
5318 enablestring=disable
5319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5320 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5321 no_cache=0
5322 # Check whether --enable-compat28 was given.
5323 if test "${enable_compat28+set}" = set; then
5324 enableval=$enable_compat28;
5325 if test "$enableval" = yes; then
5326 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5327 else
5328 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5329 fi
5330
5331 else
5332
5333 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5336 else
5337 no_cache=1
5338 fi
5339
5340 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5341
5342 fi
5343
5344
5345 eval "$ac_cv_use_compat28"
5346 if test "$no_cache" != 1; then
5347 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5348 fi
5349
5350 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5351 { echo "$as_me:$LINENO: result: yes" >&5
5352 echo "${ECHO_T}yes" >&6; }
5353 else
5354 { echo "$as_me:$LINENO: result: no" >&5
5355 echo "${ECHO_T}no" >&6; }
5356 fi
5357
5358
5359
5360 enablestring=
5361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5363 no_cache=0
5364 # Check whether --enable-rpath was given.
5365 if test "${enable_rpath+set}" = set; then
5366 enableval=$enable_rpath;
5367 if test "$enableval" = yes; then
5368 ac_cv_use_rpath='wxUSE_RPATH=yes'
5369 else
5370 ac_cv_use_rpath='wxUSE_RPATH=no'
5371 fi
5372
5373 else
5374
5375 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5376 if test "x$LINE" != x ; then
5377 eval "DEFAULT_$LINE"
5378 else
5379 no_cache=1
5380 fi
5381
5382 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5383
5384 fi
5385
5386
5387 eval "$ac_cv_use_rpath"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5390 fi
5391
5392 if test "$wxUSE_RPATH" = yes; then
5393 { echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6; }
5395 else
5396 { echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6; }
5398 fi
5399
5400
5401
5402 enablestring=
5403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5404 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5405 no_cache=0
5406 # Check whether --enable-objc_uniquifying was given.
5407 if test "${enable_objc_uniquifying+set}" = set; then
5408 enableval=$enable_objc_uniquifying;
5409 if test "$enableval" = yes; then
5410 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5411 else
5412 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5413 fi
5414
5415 else
5416
5417 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5420 else
5421 no_cache=1
5422 fi
5423
5424 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING='$DEFAULT_wxUSE_OBJC_UNIQUIFYING
5425
5426 fi
5427
5428
5429 eval "$ac_cv_use_objc_uniquifying"
5430 if test "$no_cache" != 1; then
5431 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5432 fi
5433
5434 if test "$wxUSE_OBJC_UNIQUIFYING" = yes; then
5435 { echo "$as_me:$LINENO: result: yes" >&5
5436 echo "${ECHO_T}yes" >&6; }
5437 else
5438 { echo "$as_me:$LINENO: result: no" >&5
5439 echo "${ECHO_T}no" >&6; }
5440 fi
5441
5442
5443
5444
5445 enablestring=
5446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5448 no_cache=0
5449 # Check whether --enable-intl was given.
5450 if test "${enable_intl+set}" = set; then
5451 enableval=$enable_intl;
5452 if test "$enableval" = yes; then
5453 ac_cv_use_intl='wxUSE_INTL=yes'
5454 else
5455 ac_cv_use_intl='wxUSE_INTL=no'
5456 fi
5457
5458 else
5459
5460 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5461 if test "x$LINE" != x ; then
5462 eval "DEFAULT_$LINE"
5463 else
5464 no_cache=1
5465 fi
5466
5467 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5468
5469 fi
5470
5471
5472 eval "$ac_cv_use_intl"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_INTL" = yes; then
5478 { echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6; }
5480 else
5481 { echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6; }
5483 fi
5484
5485
5486 enablestring=
5487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5489 no_cache=0
5490 # Check whether --enable-config was given.
5491 if test "${enable_config+set}" = set; then
5492 enableval=$enable_config;
5493 if test "$enableval" = yes; then
5494 ac_cv_use_config='wxUSE_CONFIG=yes'
5495 else
5496 ac_cv_use_config='wxUSE_CONFIG=no'
5497 fi
5498
5499 else
5500
5501 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5502 if test "x$LINE" != x ; then
5503 eval "DEFAULT_$LINE"
5504 else
5505 no_cache=1
5506 fi
5507
5508 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5509
5510 fi
5511
5512
5513 eval "$ac_cv_use_config"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test "$wxUSE_CONFIG" = yes; then
5519 { echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6; }
5521 else
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5524 fi
5525
5526
5527
5528 enablestring=
5529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5530 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5531 no_cache=0
5532 # Check whether --enable-protocols was given.
5533 if test "${enable_protocols+set}" = set; then
5534 enableval=$enable_protocols;
5535 if test "$enableval" = yes; then
5536 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5537 else
5538 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5539 fi
5540
5541 else
5542
5543 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5546 else
5547 no_cache=1
5548 fi
5549
5550 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5551
5552 fi
5553
5554
5555 eval "$ac_cv_use_protocols"
5556 if test "$no_cache" != 1; then
5557 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5558 fi
5559
5560 if test "$wxUSE_PROTOCOL" = yes; then
5561 { echo "$as_me:$LINENO: result: yes" >&5
5562 echo "${ECHO_T}yes" >&6; }
5563 else
5564 { echo "$as_me:$LINENO: result: no" >&5
5565 echo "${ECHO_T}no" >&6; }
5566 fi
5567
5568
5569 enablestring=
5570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5571 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5572 no_cache=0
5573 # Check whether --enable-ftp was given.
5574 if test "${enable_ftp+set}" = set; then
5575 enableval=$enable_ftp;
5576 if test "$enableval" = yes; then
5577 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5578 else
5579 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5580 fi
5581
5582 else
5583
5584 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 else
5588 no_cache=1
5589 fi
5590
5591 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5592
5593 fi
5594
5595
5596 eval "$ac_cv_use_ftp"
5597 if test "$no_cache" != 1; then
5598 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5599 fi
5600
5601 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5602 { echo "$as_me:$LINENO: result: yes" >&5
5603 echo "${ECHO_T}yes" >&6; }
5604 else
5605 { echo "$as_me:$LINENO: result: no" >&5
5606 echo "${ECHO_T}no" >&6; }
5607 fi
5608
5609
5610 enablestring=
5611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5612 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5613 no_cache=0
5614 # Check whether --enable-http was given.
5615 if test "${enable_http+set}" = set; then
5616 enableval=$enable_http;
5617 if test "$enableval" = yes; then
5618 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5619 else
5620 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5621 fi
5622
5623 else
5624
5625 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5633
5634 fi
5635
5636
5637 eval "$ac_cv_use_http"
5638 if test "$no_cache" != 1; then
5639 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5640 fi
5641
5642 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5643 { echo "$as_me:$LINENO: result: yes" >&5
5644 echo "${ECHO_T}yes" >&6; }
5645 else
5646 { echo "$as_me:$LINENO: result: no" >&5
5647 echo "${ECHO_T}no" >&6; }
5648 fi
5649
5650
5651 enablestring=
5652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5653 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5654 no_cache=0
5655 # Check whether --enable-fileproto was given.
5656 if test "${enable_fileproto+set}" = set; then
5657 enableval=$enable_fileproto;
5658 if test "$enableval" = yes; then
5659 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5660 else
5661 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5662 fi
5663
5664 else
5665
5666 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5669 else
5670 no_cache=1
5671 fi
5672
5673 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5674
5675 fi
5676
5677
5678 eval "$ac_cv_use_fileproto"
5679 if test "$no_cache" != 1; then
5680 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5681 fi
5682
5683 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5684 { echo "$as_me:$LINENO: result: yes" >&5
5685 echo "${ECHO_T}yes" >&6; }
5686 else
5687 { echo "$as_me:$LINENO: result: no" >&5
5688 echo "${ECHO_T}no" >&6; }
5689 fi
5690
5691
5692 enablestring=
5693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5694 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5695 no_cache=0
5696 # Check whether --enable-sockets was given.
5697 if test "${enable_sockets+set}" = set; then
5698 enableval=$enable_sockets;
5699 if test "$enableval" = yes; then
5700 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5701 else
5702 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5703 fi
5704
5705 else
5706
5707 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5715
5716 fi
5717
5718
5719 eval "$ac_cv_use_sockets"
5720 if test "$no_cache" != 1; then
5721 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5722 fi
5723
5724 if test "$wxUSE_SOCKETS" = yes; then
5725 { echo "$as_me:$LINENO: result: yes" >&5
5726 echo "${ECHO_T}yes" >&6; }
5727 else
5728 { echo "$as_me:$LINENO: result: no" >&5
5729 echo "${ECHO_T}no" >&6; }
5730 fi
5731
5732
5733 enablestring=
5734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5735 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5736 no_cache=0
5737 # Check whether --enable-ole was given.
5738 if test "${enable_ole+set}" = set; then
5739 enableval=$enable_ole;
5740 if test "$enableval" = yes; then
5741 ac_cv_use_ole='wxUSE_OLE=yes'
5742 else
5743 ac_cv_use_ole='wxUSE_OLE=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5756
5757 fi
5758
5759
5760 eval "$ac_cv_use_ole"
5761 if test "$no_cache" != 1; then
5762 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5763 fi
5764
5765 if test "$wxUSE_OLE" = yes; then
5766 { echo "$as_me:$LINENO: result: yes" >&5
5767 echo "${ECHO_T}yes" >&6; }
5768 else
5769 { echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6; }
5771 fi
5772
5773
5774 enablestring=
5775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5776 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5777 no_cache=0
5778 # Check whether --enable-dataobj was given.
5779 if test "${enable_dataobj+set}" = set; then
5780 enableval=$enable_dataobj;
5781 if test "$enableval" = yes; then
5782 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5783 else
5784 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5785 fi
5786
5787 else
5788
5789 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5792 else
5793 no_cache=1
5794 fi
5795
5796 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5797
5798 fi
5799
5800
5801 eval "$ac_cv_use_dataobj"
5802 if test "$no_cache" != 1; then
5803 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5804 fi
5805
5806 if test "$wxUSE_DATAOBJ" = yes; then
5807 { echo "$as_me:$LINENO: result: yes" >&5
5808 echo "${ECHO_T}yes" >&6; }
5809 else
5810 { echo "$as_me:$LINENO: result: no" >&5
5811 echo "${ECHO_T}no" >&6; }
5812 fi
5813
5814
5815
5816 enablestring=
5817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5818 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5819 no_cache=0
5820 # Check whether --enable-ipc was given.
5821 if test "${enable_ipc+set}" = set; then
5822 enableval=$enable_ipc;
5823 if test "$enableval" = yes; then
5824 ac_cv_use_ipc='wxUSE_IPC=yes'
5825 else
5826 ac_cv_use_ipc='wxUSE_IPC=no'
5827 fi
5828
5829 else
5830
5831 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5832 if test "x$LINE" != x ; then
5833 eval "DEFAULT_$LINE"
5834 else
5835 no_cache=1
5836 fi
5837
5838 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5839
5840 fi
5841
5842
5843 eval "$ac_cv_use_ipc"
5844 if test "$no_cache" != 1; then
5845 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5846 fi
5847
5848 if test "$wxUSE_IPC" = yes; then
5849 { echo "$as_me:$LINENO: result: yes" >&5
5850 echo "${ECHO_T}yes" >&6; }
5851 else
5852 { echo "$as_me:$LINENO: result: no" >&5
5853 echo "${ECHO_T}no" >&6; }
5854 fi
5855
5856
5857
5858 enablestring=
5859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5861 no_cache=0
5862 # Check whether --enable-apple_ieee was given.
5863 if test "${enable_apple_ieee+set}" = set; then
5864 enableval=$enable_apple_ieee;
5865 if test "$enableval" = yes; then
5866 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5867 else
5868 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5869 fi
5870
5871 else
5872
5873 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5874 if test "x$LINE" != x ; then
5875 eval "DEFAULT_$LINE"
5876 else
5877 no_cache=1
5878 fi
5879
5880 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5881
5882 fi
5883
5884
5885 eval "$ac_cv_use_apple_ieee"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5888 fi
5889
5890 if test "$wxUSE_APPLE_IEEE" = yes; then
5891 { echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6; }
5893 else
5894 { echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6; }
5896 fi
5897
5898
5899 enablestring=
5900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5902 no_cache=0
5903 # Check whether --enable-arcstream was given.
5904 if test "${enable_arcstream+set}" = set; then
5905 enableval=$enable_arcstream;
5906 if test "$enableval" = yes; then
5907 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5908 else
5909 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5910 fi
5911
5912 else
5913
5914 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x ; then
5916 eval "DEFAULT_$LINE"
5917 else
5918 no_cache=1
5919 fi
5920
5921 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5922
5923 fi
5924
5925
5926 eval "$ac_cv_use_arcstream"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5929 fi
5930
5931 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5932 { echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6; }
5934 else
5935 { echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6; }
5937 fi
5938
5939
5940 enablestring=
5941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5943 no_cache=0
5944 # Check whether --enable-backtrace was given.
5945 if test "${enable_backtrace+set}" = set; then
5946 enableval=$enable_backtrace;
5947 if test "$enableval" = yes; then
5948 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5949 else
5950 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5951 fi
5952
5953 else
5954
5955 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5956 if test "x$LINE" != x ; then
5957 eval "DEFAULT_$LINE"
5958 else
5959 no_cache=1
5960 fi
5961
5962 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5963
5964 fi
5965
5966
5967 eval "$ac_cv_use_backtrace"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5970 fi
5971
5972 if test "$wxUSE_STACKWALKER" = yes; then
5973 { echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6; }
5975 else
5976 { echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6; }
5978 fi
5979
5980
5981 enablestring=
5982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5984 no_cache=0
5985 # Check whether --enable-catch_segvs was given.
5986 if test "${enable_catch_segvs+set}" = set; then
5987 enableval=$enable_catch_segvs;
5988 if test "$enableval" = yes; then
5989 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5990 else
5991 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5992 fi
5993
5994 else
5995
5996 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5997 if test "x$LINE" != x ; then
5998 eval "DEFAULT_$LINE"
5999 else
6000 no_cache=1
6001 fi
6002
6003 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
6004
6005 fi
6006
6007
6008 eval "$ac_cv_use_catch_segvs"
6009 if test "$no_cache" != 1; then
6010 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6011 fi
6012
6013 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
6014 { echo "$as_me:$LINENO: result: yes" >&5
6015 echo "${ECHO_T}yes" >&6; }
6016 else
6017 { echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6; }
6019 fi
6020
6021
6022 enablestring=
6023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6025 no_cache=0
6026 # Check whether --enable-cmdline was given.
6027 if test "${enable_cmdline+set}" = set; then
6028 enableval=$enable_cmdline;
6029 if test "$enableval" = yes; then
6030 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6031 else
6032 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6033 fi
6034
6035 else
6036
6037 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6038 if test "x$LINE" != x ; then
6039 eval "DEFAULT_$LINE"
6040 else
6041 no_cache=1
6042 fi
6043
6044 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
6045
6046 fi
6047
6048
6049 eval "$ac_cv_use_cmdline"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6052 fi
6053
6054 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6055 { echo "$as_me:$LINENO: result: yes" >&5
6056 echo "${ECHO_T}yes" >&6; }
6057 else
6058 { echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6; }
6060 fi
6061
6062
6063 enablestring=
6064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6066 no_cache=0
6067 # Check whether --enable-datetime was given.
6068 if test "${enable_datetime+set}" = set; then
6069 enableval=$enable_datetime;
6070 if test "$enableval" = yes; then
6071 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6072 else
6073 ac_cv_use_datetime='wxUSE_DATETIME=no'
6074 fi
6075
6076 else
6077
6078 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6079 if test "x$LINE" != x ; then
6080 eval "DEFAULT_$LINE"
6081 else
6082 no_cache=1
6083 fi
6084
6085 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6086
6087 fi
6088
6089
6090 eval "$ac_cv_use_datetime"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6093 fi
6094
6095 if test "$wxUSE_DATETIME" = yes; then
6096 { echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6; }
6098 else
6099 { echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6; }
6101 fi
6102
6103
6104 enablestring=
6105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6107 no_cache=0
6108 # Check whether --enable-debugreport was given.
6109 if test "${enable_debugreport+set}" = set; then
6110 enableval=$enable_debugreport;
6111 if test "$enableval" = yes; then
6112 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6113 else
6114 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6115 fi
6116
6117 else
6118
6119 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6120 if test "x$LINE" != x ; then
6121 eval "DEFAULT_$LINE"
6122 else
6123 no_cache=1
6124 fi
6125
6126 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6127
6128 fi
6129
6130
6131 eval "$ac_cv_use_debugreport"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6134 fi
6135
6136 if test "$wxUSE_DEBUGREPORT" = yes; then
6137 { echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6; }
6139 else
6140 { echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6; }
6142 fi
6143
6144
6145 enablestring=
6146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6148 no_cache=0
6149 # Check whether --enable-dialupman was given.
6150 if test "${enable_dialupman+set}" = set; then
6151 enableval=$enable_dialupman;
6152 if test "$enableval" = yes; then
6153 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6154 else
6155 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6156 fi
6157
6158 else
6159
6160 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6161 if test "x$LINE" != x ; then
6162 eval "DEFAULT_$LINE"
6163 else
6164 no_cache=1
6165 fi
6166
6167 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6168
6169 fi
6170
6171
6172 eval "$ac_cv_use_dialupman"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6175 fi
6176
6177 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6178 { echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6; }
6180 else
6181 { echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6; }
6183 fi
6184
6185
6186 enablestring=
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6189 no_cache=0
6190 # Check whether --enable-dynlib was given.
6191 if test "${enable_dynlib+set}" = set; then
6192 enableval=$enable_dynlib;
6193 if test "$enableval" = yes; then
6194 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6195 else
6196 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6197 fi
6198
6199 else
6200
6201 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x ; then
6203 eval "DEFAULT_$LINE"
6204 else
6205 no_cache=1
6206 fi
6207
6208 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6209
6210 fi
6211
6212
6213 eval "$ac_cv_use_dynlib"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6216 fi
6217
6218 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6219 { echo "$as_me:$LINENO: result: yes" >&5
6220 echo "${ECHO_T}yes" >&6; }
6221 else
6222 { echo "$as_me:$LINENO: result: no" >&5
6223 echo "${ECHO_T}no" >&6; }
6224 fi
6225
6226
6227 enablestring=
6228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6230 no_cache=0
6231 # Check whether --enable-dynamicloader was given.
6232 if test "${enable_dynamicloader+set}" = set; then
6233 enableval=$enable_dynamicloader;
6234 if test "$enableval" = yes; then
6235 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6236 else
6237 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6238 fi
6239
6240 else
6241
6242 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6243 if test "x$LINE" != x ; then
6244 eval "DEFAULT_$LINE"
6245 else
6246 no_cache=1
6247 fi
6248
6249 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6250
6251 fi
6252
6253
6254 eval "$ac_cv_use_dynamicloader"
6255 if test "$no_cache" != 1; then
6256 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6257 fi
6258
6259 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6260 { echo "$as_me:$LINENO: result: yes" >&5
6261 echo "${ECHO_T}yes" >&6; }
6262 else
6263 { echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6; }
6265 fi
6266
6267
6268 enablestring=
6269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6271 no_cache=0
6272 # Check whether --enable-exceptions was given.
6273 if test "${enable_exceptions+set}" = set; then
6274 enableval=$enable_exceptions;
6275 if test "$enableval" = yes; then
6276 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6277 else
6278 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6279 fi
6280
6281 else
6282
6283 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x ; then
6285 eval "DEFAULT_$LINE"
6286 else
6287 no_cache=1
6288 fi
6289
6290 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6291
6292 fi
6293
6294
6295 eval "$ac_cv_use_exceptions"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6298 fi
6299
6300 if test "$wxUSE_EXCEPTIONS" = yes; then
6301 { echo "$as_me:$LINENO: result: yes" >&5
6302 echo "${ECHO_T}yes" >&6; }
6303 else
6304 { echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6; }
6306 fi
6307
6308
6309 enablestring=
6310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6311 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6312 no_cache=0
6313 # Check whether --enable-ffile was given.
6314 if test "${enable_ffile+set}" = set; then
6315 enableval=$enable_ffile;
6316 if test "$enableval" = yes; then
6317 ac_cv_use_ffile='wxUSE_FFILE=yes'
6318 else
6319 ac_cv_use_ffile='wxUSE_FFILE=no'
6320 fi
6321
6322 else
6323
6324 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6325 if test "x$LINE" != x ; then
6326 eval "DEFAULT_$LINE"
6327 else
6328 no_cache=1
6329 fi
6330
6331 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6332
6333 fi
6334
6335
6336 eval "$ac_cv_use_ffile"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6339 fi
6340
6341 if test "$wxUSE_FFILE" = yes; then
6342 { echo "$as_me:$LINENO: result: yes" >&5
6343 echo "${ECHO_T}yes" >&6; }
6344 else
6345 { echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6; }
6347 fi
6348
6349
6350 enablestring=
6351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6352 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6353 no_cache=0
6354 # Check whether --enable-file was given.
6355 if test "${enable_file+set}" = set; then
6356 enableval=$enable_file;
6357 if test "$enableval" = yes; then
6358 ac_cv_use_file='wxUSE_FILE=yes'
6359 else
6360 ac_cv_use_file='wxUSE_FILE=no'
6361 fi
6362
6363 else
6364
6365 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6366 if test "x$LINE" != x ; then
6367 eval "DEFAULT_$LINE"
6368 else
6369 no_cache=1
6370 fi
6371
6372 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6373
6374 fi
6375
6376
6377 eval "$ac_cv_use_file"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6380 fi
6381
6382 if test "$wxUSE_FILE" = yes; then
6383 { echo "$as_me:$LINENO: result: yes" >&5
6384 echo "${ECHO_T}yes" >&6; }
6385 else
6386 { echo "$as_me:$LINENO: result: no" >&5
6387 echo "${ECHO_T}no" >&6; }
6388 fi
6389
6390
6391 enablestring=
6392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6394 no_cache=0
6395 # Check whether --enable-filesystem was given.
6396 if test "${enable_filesystem+set}" = set; then
6397 enableval=$enable_filesystem;
6398 if test "$enableval" = yes; then
6399 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6400 else
6401 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6402 fi
6403
6404 else
6405
6406 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6407 if test "x$LINE" != x ; then
6408 eval "DEFAULT_$LINE"
6409 else
6410 no_cache=1
6411 fi
6412
6413 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6414
6415 fi
6416
6417
6418 eval "$ac_cv_use_filesystem"
6419 if test "$no_cache" != 1; then
6420 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6421 fi
6422
6423 if test "$wxUSE_FILESYSTEM" = yes; then
6424 { echo "$as_me:$LINENO: result: yes" >&5
6425 echo "${ECHO_T}yes" >&6; }
6426 else
6427 { echo "$as_me:$LINENO: result: no" >&5
6428 echo "${ECHO_T}no" >&6; }
6429 fi
6430
6431
6432 enablestring=
6433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6435 no_cache=0
6436 # Check whether --enable-fontmap was given.
6437 if test "${enable_fontmap+set}" = set; then
6438 enableval=$enable_fontmap;
6439 if test "$enableval" = yes; then
6440 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6441 else
6442 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6443 fi
6444
6445 else
6446
6447 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x ; then
6449 eval "DEFAULT_$LINE"
6450 else
6451 no_cache=1
6452 fi
6453
6454 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6455
6456 fi
6457
6458
6459 eval "$ac_cv_use_fontmap"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6462 fi
6463
6464 if test "$wxUSE_FONTMAP" = yes; then
6465 { echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6; }
6467 else
6468 { echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6; }
6470 fi
6471
6472
6473 enablestring=
6474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6476 no_cache=0
6477 # Check whether --enable-fs_archive was given.
6478 if test "${enable_fs_archive+set}" = set; then
6479 enableval=$enable_fs_archive;
6480 if test "$enableval" = yes; then
6481 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6482 else
6483 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6484 fi
6485
6486 else
6487
6488 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6489 if test "x$LINE" != x ; then
6490 eval "DEFAULT_$LINE"
6491 else
6492 no_cache=1
6493 fi
6494
6495 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6496
6497 fi
6498
6499
6500 eval "$ac_cv_use_fs_archive"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6503 fi
6504
6505 if test "$wxUSE_FS_ARCHIVE" = yes; then
6506 { echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6; }
6508 else
6509 { echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6; }
6511 fi
6512
6513
6514 enablestring=
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6517 no_cache=0
6518 # Check whether --enable-fs_inet was given.
6519 if test "${enable_fs_inet+set}" = set; then
6520 enableval=$enable_fs_inet;
6521 if test "$enableval" = yes; then
6522 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6523 else
6524 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6525 fi
6526
6527 else
6528
6529 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x ; then
6531 eval "DEFAULT_$LINE"
6532 else
6533 no_cache=1
6534 fi
6535
6536 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6537
6538 fi
6539
6540
6541 eval "$ac_cv_use_fs_inet"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6544 fi
6545
6546 if test "$wxUSE_FS_INET" = yes; then
6547 { echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6; }
6549 else
6550 { echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6; }
6552 fi
6553
6554
6555 enablestring=
6556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6558 no_cache=0
6559 # Check whether --enable-fs_zip was given.
6560 if test "${enable_fs_zip+set}" = set; then
6561 enableval=$enable_fs_zip;
6562 if test "$enableval" = yes; then
6563 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6564 else
6565 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6566 fi
6567
6568 else
6569
6570 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6571 if test "x$LINE" != x ; then
6572 eval "DEFAULT_$LINE"
6573 else
6574 no_cache=1
6575 fi
6576
6577 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6578
6579 fi
6580
6581
6582 eval "$ac_cv_use_fs_zip"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test "$wxUSE_FS_ZIP" = yes; then
6588 { echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6; }
6590 else
6591 { echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6; }
6593 fi
6594
6595
6596 enablestring=
6597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6599 no_cache=0
6600 # Check whether --enable-geometry was given.
6601 if test "${enable_geometry+set}" = set; then
6602 enableval=$enable_geometry;
6603 if test "$enableval" = yes; then
6604 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6605 else
6606 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6607 fi
6608
6609 else
6610
6611 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6612 if test "x$LINE" != x ; then
6613 eval "DEFAULT_$LINE"
6614 else
6615 no_cache=1
6616 fi
6617
6618 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6619
6620 fi
6621
6622
6623 eval "$ac_cv_use_geometry"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test "$wxUSE_GEOMETRY" = yes; then
6629 { echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6; }
6631 else
6632 { echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6; }
6634 fi
6635
6636
6637 enablestring=
6638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6640 no_cache=0
6641 # Check whether --enable-log was given.
6642 if test "${enable_log+set}" = set; then
6643 enableval=$enable_log;
6644 if test "$enableval" = yes; then
6645 ac_cv_use_log='wxUSE_LOG=yes'
6646 else
6647 ac_cv_use_log='wxUSE_LOG=no'
6648 fi
6649
6650 else
6651
6652 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x ; then
6654 eval "DEFAULT_$LINE"
6655 else
6656 no_cache=1
6657 fi
6658
6659 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6660
6661 fi
6662
6663
6664 eval "$ac_cv_use_log"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6667 fi
6668
6669 if test "$wxUSE_LOG" = yes; then
6670 { echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6; }
6672 else
6673 { echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6; }
6675 fi
6676
6677
6678 enablestring=
6679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6680 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6681 no_cache=0
6682 # Check whether --enable-longlong was given.
6683 if test "${enable_longlong+set}" = set; then
6684 enableval=$enable_longlong;
6685 if test "$enableval" = yes; then
6686 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6687 else
6688 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6689 fi
6690
6691 else
6692
6693 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6694 if test "x$LINE" != x ; then
6695 eval "DEFAULT_$LINE"
6696 else
6697 no_cache=1
6698 fi
6699
6700 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6701
6702 fi
6703
6704
6705 eval "$ac_cv_use_longlong"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6708 fi
6709
6710 if test "$wxUSE_LONGLONG" = yes; then
6711 { echo "$as_me:$LINENO: result: yes" >&5
6712 echo "${ECHO_T}yes" >&6; }
6713 else
6714 { echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6; }
6716 fi
6717
6718
6719 enablestring=
6720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6722 no_cache=0
6723 # Check whether --enable-mimetype was given.
6724 if test "${enable_mimetype+set}" = set; then
6725 enableval=$enable_mimetype;
6726 if test "$enableval" = yes; then
6727 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6728 else
6729 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6730 fi
6731
6732 else
6733
6734 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x ; then
6736 eval "DEFAULT_$LINE"
6737 else
6738 no_cache=1
6739 fi
6740
6741 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6742
6743 fi
6744
6745
6746 eval "$ac_cv_use_mimetype"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6749 fi
6750
6751 if test "$wxUSE_MIMETYPE" = yes; then
6752 { echo "$as_me:$LINENO: result: yes" >&5
6753 echo "${ECHO_T}yes" >&6; }
6754 else
6755 { echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6; }
6757 fi
6758
6759
6760 enablestring=
6761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6763 no_cache=0
6764 # Check whether --enable-mslu was given.
6765 if test "${enable_mslu+set}" = set; then
6766 enableval=$enable_mslu;
6767 if test "$enableval" = yes; then
6768 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6769 else
6770 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6771 fi
6772
6773 else
6774
6775 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
6776 if test "x$LINE" != x ; then
6777 eval "DEFAULT_$LINE"
6778 else
6779 no_cache=1
6780 fi
6781
6782 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6783
6784 fi
6785
6786
6787 eval "$ac_cv_use_mslu"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6790 fi
6791
6792 if test "$wxUSE_UNICODE_MSLU" = yes; then
6793 { echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6; }
6795 else
6796 { echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6; }
6798 fi
6799
6800
6801 enablestring=
6802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6804 no_cache=0
6805 # Check whether --enable-utf8 was given.
6806 if test "${enable_utf8+set}" = set; then
6807 enableval=$enable_utf8;
6808 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6809
6810 else
6811
6812 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x ; then
6814 eval "DEFAULT_$LINE"
6815 else
6816 no_cache=1
6817 fi
6818
6819 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6820
6821 fi
6822
6823
6824 eval "$wx_cv_use_utf8"
6825 if test "$no_cache" != 1; then
6826 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6830 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6831
6832
6833 enablestring=
6834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6835 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6836 no_cache=0
6837 # Check whether --enable-utf8only was given.
6838 if test "${enable_utf8only+set}" = set; then
6839 enableval=$enable_utf8only;
6840 if test "$enableval" = yes; then
6841 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6842 else
6843 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6844 fi
6845
6846 else
6847
6848 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
6849 if test "x$LINE" != x ; then
6850 eval "DEFAULT_$LINE"
6851 else
6852 no_cache=1
6853 fi
6854
6855 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6856
6857 fi
6858
6859
6860 eval "$ac_cv_use_utf8only"
6861 if test "$no_cache" != 1; then
6862 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6863 fi
6864
6865 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6866 { echo "$as_me:$LINENO: result: yes" >&5
6867 echo "${ECHO_T}yes" >&6; }
6868 else
6869 { echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6; }
6871 fi
6872
6873
6874 enablestring=
6875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6876 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6877 no_cache=0
6878 # Check whether --enable-snglinst was given.
6879 if test "${enable_snglinst+set}" = set; then
6880 enableval=$enable_snglinst;
6881 if test "$enableval" = yes; then
6882 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6883 else
6884 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6885 fi
6886
6887 else
6888
6889 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6890 if test "x$LINE" != x ; then
6891 eval "DEFAULT_$LINE"
6892 else
6893 no_cache=1
6894 fi
6895
6896 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6897
6898 fi
6899
6900
6901 eval "$ac_cv_use_snglinst"
6902 if test "$no_cache" != 1; then
6903 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6904 fi
6905
6906 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6907 { echo "$as_me:$LINENO: result: yes" >&5
6908 echo "${ECHO_T}yes" >&6; }
6909 else
6910 { echo "$as_me:$LINENO: result: no" >&5
6911 echo "${ECHO_T}no" >&6; }
6912 fi
6913
6914
6915 enablestring=
6916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6917 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6918 no_cache=0
6919 # Check whether --enable-std_iostreams was given.
6920 if test "${enable_std_iostreams+set}" = set; then
6921 enableval=$enable_std_iostreams;
6922 if test "$enableval" = yes; then
6923 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6924 else
6925 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6926 fi
6927
6928 else
6929
6930 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
6931 if test "x$LINE" != x ; then
6932 eval "DEFAULT_$LINE"
6933 else
6934 no_cache=1
6935 fi
6936
6937 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6938
6939 fi
6940
6941
6942 eval "$ac_cv_use_std_iostreams"
6943 if test "$no_cache" != 1; then
6944 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6945 fi
6946
6947 if test "$wxUSE_STD_IOSTREAM" = yes; then
6948 { echo "$as_me:$LINENO: result: yes" >&5
6949 echo "${ECHO_T}yes" >&6; }
6950 else
6951 { echo "$as_me:$LINENO: result: no" >&5
6952 echo "${ECHO_T}no" >&6; }
6953 fi
6954
6955
6956 enablestring=
6957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6958 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6959 no_cache=0
6960 # Check whether --enable-std_string was given.
6961 if test "${enable_std_string+set}" = set; then
6962 enableval=$enable_std_string;
6963 if test "$enableval" = yes; then
6964 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6965 else
6966 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6967 fi
6968
6969 else
6970
6971 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
6972 if test "x$LINE" != x ; then
6973 eval "DEFAULT_$LINE"
6974 else
6975 no_cache=1
6976 fi
6977
6978 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6979
6980 fi
6981
6982
6983 eval "$ac_cv_use_std_string"
6984 if test "$no_cache" != 1; then
6985 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6986 fi
6987
6988 if test "$wxUSE_STD_STRING" = yes; then
6989 { echo "$as_me:$LINENO: result: yes" >&5
6990 echo "${ECHO_T}yes" >&6; }
6991 else
6992 { echo "$as_me:$LINENO: result: no" >&5
6993 echo "${ECHO_T}no" >&6; }
6994 fi
6995
6996
6997 enablestring=
6998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6999 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7000 no_cache=0
7001 # Check whether --enable-stdpaths was given.
7002 if test "${enable_stdpaths+set}" = set; then
7003 enableval=$enable_stdpaths;
7004 if test "$enableval" = yes; then
7005 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7006 else
7007 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7008 fi
7009
7010 else
7011
7012 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7013 if test "x$LINE" != x ; then
7014 eval "DEFAULT_$LINE"
7015 else
7016 no_cache=1
7017 fi
7018
7019 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
7020
7021 fi
7022
7023
7024 eval "$ac_cv_use_stdpaths"
7025 if test "$no_cache" != 1; then
7026 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7027 fi
7028
7029 if test "$wxUSE_STDPATHS" = yes; then
7030 { echo "$as_me:$LINENO: result: yes" >&5
7031 echo "${ECHO_T}yes" >&6; }
7032 else
7033 { echo "$as_me:$LINENO: result: no" >&5
7034 echo "${ECHO_T}no" >&6; }
7035 fi
7036
7037
7038 enablestring=
7039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7040 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7041 no_cache=0
7042 # Check whether --enable-stopwatch was given.
7043 if test "${enable_stopwatch+set}" = set; then
7044 enableval=$enable_stopwatch;
7045 if test "$enableval" = yes; then
7046 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7047 else
7048 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7049 fi
7050
7051 else
7052
7053 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7054 if test "x$LINE" != x ; then
7055 eval "DEFAULT_$LINE"
7056 else
7057 no_cache=1
7058 fi
7059
7060 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7061
7062 fi
7063
7064
7065 eval "$ac_cv_use_stopwatch"
7066 if test "$no_cache" != 1; then
7067 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7068 fi
7069
7070 if test "$wxUSE_STOPWATCH" = yes; then
7071 { echo "$as_me:$LINENO: result: yes" >&5
7072 echo "${ECHO_T}yes" >&6; }
7073 else
7074 { echo "$as_me:$LINENO: result: no" >&5
7075 echo "${ECHO_T}no" >&6; }
7076 fi
7077
7078
7079 enablestring=
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7082 no_cache=0
7083 # Check whether --enable-streams was given.
7084 if test "${enable_streams+set}" = set; then
7085 enableval=$enable_streams;
7086 if test "$enableval" = yes; then
7087 ac_cv_use_streams='wxUSE_STREAMS=yes'
7088 else
7089 ac_cv_use_streams='wxUSE_STREAMS=no'
7090 fi
7091
7092 else
7093
7094 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x ; then
7096 eval "DEFAULT_$LINE"
7097 else
7098 no_cache=1
7099 fi
7100
7101 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7102
7103 fi
7104
7105
7106 eval "$ac_cv_use_streams"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7109 fi
7110
7111 if test "$wxUSE_STREAMS" = yes; then
7112 { echo "$as_me:$LINENO: result: yes" >&5
7113 echo "${ECHO_T}yes" >&6; }
7114 else
7115 { echo "$as_me:$LINENO: result: no" >&5
7116 echo "${ECHO_T}no" >&6; }
7117 fi
7118
7119
7120 enablestring=
7121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7123 no_cache=0
7124 # Check whether --enable-system_options was given.
7125 if test "${enable_system_options+set}" = set; then
7126 enableval=$enable_system_options;
7127 if test "$enableval" = yes; then
7128 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7129 else
7130 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7131 fi
7132
7133 else
7134
7135 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7136 if test "x$LINE" != x ; then
7137 eval "DEFAULT_$LINE"
7138 else
7139 no_cache=1
7140 fi
7141
7142 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7143
7144 fi
7145
7146
7147 eval "$ac_cv_use_system_options"
7148 if test "$no_cache" != 1; then
7149 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7150 fi
7151
7152 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7153 { echo "$as_me:$LINENO: result: yes" >&5
7154 echo "${ECHO_T}yes" >&6; }
7155 else
7156 { echo "$as_me:$LINENO: result: no" >&5
7157 echo "${ECHO_T}no" >&6; }
7158 fi
7159
7160
7161 enablestring=
7162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7163 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7164 no_cache=0
7165 # Check whether --enable-tarstream was given.
7166 if test "${enable_tarstream+set}" = set; then
7167 enableval=$enable_tarstream;
7168 if test "$enableval" = yes; then
7169 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7170 else
7171 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7172 fi
7173
7174 else
7175
7176 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7177 if test "x$LINE" != x ; then
7178 eval "DEFAULT_$LINE"
7179 else
7180 no_cache=1
7181 fi
7182
7183 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7184
7185 fi
7186
7187
7188 eval "$ac_cv_use_tarstream"
7189 if test "$no_cache" != 1; then
7190 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7191 fi
7192
7193 if test "$wxUSE_TARSTREAM" = yes; then
7194 { echo "$as_me:$LINENO: result: yes" >&5
7195 echo "${ECHO_T}yes" >&6; }
7196 else
7197 { echo "$as_me:$LINENO: result: no" >&5
7198 echo "${ECHO_T}no" >&6; }
7199 fi
7200
7201
7202 enablestring=
7203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7204 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7205 no_cache=0
7206 # Check whether --enable-textbuf was given.
7207 if test "${enable_textbuf+set}" = set; then
7208 enableval=$enable_textbuf;
7209 if test "$enableval" = yes; then
7210 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7211 else
7212 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7213 fi
7214
7215 else
7216
7217 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7218 if test "x$LINE" != x ; then
7219 eval "DEFAULT_$LINE"
7220 else
7221 no_cache=1
7222 fi
7223
7224 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7225
7226 fi
7227
7228
7229 eval "$ac_cv_use_textbuf"
7230 if test "$no_cache" != 1; then
7231 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7232 fi
7233
7234 if test "$wxUSE_TEXTBUFFER" = yes; then
7235 { echo "$as_me:$LINENO: result: yes" >&5
7236 echo "${ECHO_T}yes" >&6; }
7237 else
7238 { echo "$as_me:$LINENO: result: no" >&5
7239 echo "${ECHO_T}no" >&6; }
7240 fi
7241
7242
7243 enablestring=
7244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7245 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7246 no_cache=0
7247 # Check whether --enable-textfile was given.
7248 if test "${enable_textfile+set}" = set; then
7249 enableval=$enable_textfile;
7250 if test "$enableval" = yes; then
7251 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7252 else
7253 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7254 fi
7255
7256 else
7257
7258 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7259 if test "x$LINE" != x ; then
7260 eval "DEFAULT_$LINE"
7261 else
7262 no_cache=1
7263 fi
7264
7265 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7266
7267 fi
7268
7269
7270 eval "$ac_cv_use_textfile"
7271 if test "$no_cache" != 1; then
7272 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7273 fi
7274
7275 if test "$wxUSE_TEXTFILE" = yes; then
7276 { echo "$as_me:$LINENO: result: yes" >&5
7277 echo "${ECHO_T}yes" >&6; }
7278 else
7279 { echo "$as_me:$LINENO: result: no" >&5
7280 echo "${ECHO_T}no" >&6; }
7281 fi
7282
7283
7284 enablestring=
7285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7286 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7287 no_cache=0
7288 # Check whether --enable-timer was given.
7289 if test "${enable_timer+set}" = set; then
7290 enableval=$enable_timer;
7291 if test "$enableval" = yes; then
7292 ac_cv_use_timer='wxUSE_TIMER=yes'
7293 else
7294 ac_cv_use_timer='wxUSE_TIMER=no'
7295 fi
7296
7297 else
7298
7299 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7300 if test "x$LINE" != x ; then
7301 eval "DEFAULT_$LINE"
7302 else
7303 no_cache=1
7304 fi
7305
7306 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7307
7308 fi
7309
7310
7311 eval "$ac_cv_use_timer"
7312 if test "$no_cache" != 1; then
7313 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7314 fi
7315
7316 if test "$wxUSE_TIMER" = yes; then
7317 { echo "$as_me:$LINENO: result: yes" >&5
7318 echo "${ECHO_T}yes" >&6; }
7319 else
7320 { echo "$as_me:$LINENO: result: no" >&5
7321 echo "${ECHO_T}no" >&6; }
7322 fi
7323
7324
7325 enablestring=
7326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7327 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7328 no_cache=0
7329 # Check whether --enable-unicode was given.
7330 if test "${enable_unicode+set}" = set; then
7331 enableval=$enable_unicode;
7332 if test "$enableval" = yes; then
7333 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7334 else
7335 ac_cv_use_unicode='wxUSE_UNICODE=no'
7336 fi
7337
7338 else
7339
7340 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
7341 if test "x$LINE" != x ; then
7342 eval "DEFAULT_$LINE"
7343 else
7344 no_cache=1
7345 fi
7346
7347 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7348
7349 fi
7350
7351
7352 eval "$ac_cv_use_unicode"
7353 if test "$no_cache" != 1; then
7354 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7355 fi
7356
7357 if test "$wxUSE_UNICODE" = yes; then
7358 { echo "$as_me:$LINENO: result: yes" >&5
7359 echo "${ECHO_T}yes" >&6; }
7360 else
7361 { echo "$as_me:$LINENO: result: no" >&5
7362 echo "${ECHO_T}no" >&6; }
7363 fi
7364
7365
7366 enablestring=
7367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7368 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7369 no_cache=0
7370 # Check whether --enable-sound was given.
7371 if test "${enable_sound+set}" = set; then
7372 enableval=$enable_sound;
7373 if test "$enableval" = yes; then
7374 ac_cv_use_sound='wxUSE_SOUND=yes'
7375 else
7376 ac_cv_use_sound='wxUSE_SOUND=no'
7377 fi
7378
7379 else
7380
7381 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x ; then
7383 eval "DEFAULT_$LINE"
7384 else
7385 no_cache=1
7386 fi
7387
7388 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7389
7390 fi
7391
7392
7393 eval "$ac_cv_use_sound"
7394 if test "$no_cache" != 1; then
7395 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7396 fi
7397
7398 if test "$wxUSE_SOUND" = yes; then
7399 { echo "$as_me:$LINENO: result: yes" >&5
7400 echo "${ECHO_T}yes" >&6; }
7401 else
7402 { echo "$as_me:$LINENO: result: no" >&5
7403 echo "${ECHO_T}no" >&6; }
7404 fi
7405
7406
7407 enablestring=
7408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7409 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7410 no_cache=0
7411 # Check whether --enable-mediactrl was given.
7412 if test "${enable_mediactrl+set}" = set; then
7413 enableval=$enable_mediactrl;
7414 if test "$enableval" = yes; then
7415 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7416 else
7417 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7418 fi
7419
7420 else
7421
7422 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7423 if test "x$LINE" != x ; then
7424 eval "DEFAULT_$LINE"
7425 else
7426 no_cache=1
7427 fi
7428
7429 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7430
7431 fi
7432
7433
7434 eval "$ac_cv_use_mediactrl"
7435 if test "$no_cache" != 1; then
7436 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7437 fi
7438
7439 if test "$wxUSE_MEDIACTRL" = yes; then
7440 { echo "$as_me:$LINENO: result: yes" >&5
7441 echo "${ECHO_T}yes" >&6; }
7442 else
7443 { echo "$as_me:$LINENO: result: no" >&5
7444 echo "${ECHO_T}no" >&6; }
7445 fi
7446
7447
7448 enablestring=
7449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7450 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7451 no_cache=0
7452 # Check whether --enable-gstreamer8 was given.
7453 if test "${enable_gstreamer8+set}" = set; then
7454 enableval=$enable_gstreamer8;
7455 if test "$enableval" = yes; then
7456 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7457 else
7458 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7459 fi
7460
7461 else
7462
7463 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7464 if test "x$LINE" != x ; then
7465 eval "DEFAULT_$LINE"
7466 else
7467 no_cache=1
7468 fi
7469
7470 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7471
7472 fi
7473
7474
7475 eval "$ac_cv_use_gstreamer8"
7476 if test "$no_cache" != 1; then
7477 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7478 fi
7479
7480 if test "$wxUSE_GSTREAMER8" = yes; then
7481 { echo "$as_me:$LINENO: result: yes" >&5
7482 echo "${ECHO_T}yes" >&6; }
7483 else
7484 { echo "$as_me:$LINENO: result: no" >&5
7485 echo "${ECHO_T}no" >&6; }
7486 fi
7487
7488
7489 enablestring=
7490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7491 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7492 no_cache=0
7493 # Check whether --enable-printfposparam was given.
7494 if test "${enable_printfposparam+set}" = set; then
7495 enableval=$enable_printfposparam;
7496 if test "$enableval" = yes; then
7497 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7498 else
7499 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7500 fi
7501
7502 else
7503
7504 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7505 if test "x$LINE" != x ; then
7506 eval "DEFAULT_$LINE"
7507 else
7508 no_cache=1
7509 fi
7510
7511 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7512
7513 fi
7514
7515
7516 eval "$ac_cv_use_printfposparam"
7517 if test "$no_cache" != 1; then
7518 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7519 fi
7520
7521 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7522 { echo "$as_me:$LINENO: result: yes" >&5
7523 echo "${ECHO_T}yes" >&6; }
7524 else
7525 { echo "$as_me:$LINENO: result: no" >&5
7526 echo "${ECHO_T}no" >&6; }
7527 fi
7528
7529
7530 enablestring=
7531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7532 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7533 no_cache=0
7534 # Check whether --enable-zipstream was given.
7535 if test "${enable_zipstream+set}" = set; then
7536 enableval=$enable_zipstream;
7537 if test "$enableval" = yes; then
7538 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7539 else
7540 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7541 fi
7542
7543 else
7544
7545 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7546 if test "x$LINE" != x ; then
7547 eval "DEFAULT_$LINE"
7548 else
7549 no_cache=1
7550 fi
7551
7552 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7553
7554 fi
7555
7556
7557 eval "$ac_cv_use_zipstream"
7558 if test "$no_cache" != 1; then
7559 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7560 fi
7561
7562 if test "$wxUSE_ZIPSTREAM" = yes; then
7563 { echo "$as_me:$LINENO: result: yes" >&5
7564 echo "${ECHO_T}yes" >&6; }
7565 else
7566 { echo "$as_me:$LINENO: result: no" >&5
7567 echo "${ECHO_T}no" >&6; }
7568 fi
7569
7570
7571
7572 enablestring=
7573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7574 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7575 no_cache=0
7576 # Check whether --enable-url was given.
7577 if test "${enable_url+set}" = set; then
7578 enableval=$enable_url;
7579 if test "$enableval" = yes; then
7580 ac_cv_use_url='wxUSE_URL=yes'
7581 else
7582 ac_cv_use_url='wxUSE_URL=no'
7583 fi
7584
7585 else
7586
7587 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7588 if test "x$LINE" != x ; then
7589 eval "DEFAULT_$LINE"
7590 else
7591 no_cache=1
7592 fi
7593
7594 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7595
7596 fi
7597
7598
7599 eval "$ac_cv_use_url"
7600 if test "$no_cache" != 1; then
7601 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7602 fi
7603
7604 if test "$wxUSE_URL" = yes; then
7605 { echo "$as_me:$LINENO: result: yes" >&5
7606 echo "${ECHO_T}yes" >&6; }
7607 else
7608 { echo "$as_me:$LINENO: result: no" >&5
7609 echo "${ECHO_T}no" >&6; }
7610 fi
7611
7612
7613 enablestring=
7614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7615 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7616 no_cache=0
7617 # Check whether --enable-variant was given.
7618 if test "${enable_variant+set}" = set; then
7619 enableval=$enable_variant;
7620 if test "$enableval" = yes; then
7621 ac_cv_use_variant='wxUSE_VARIANT=yes'
7622 else
7623 ac_cv_use_variant='wxUSE_VARIANT=no'
7624 fi
7625
7626 else
7627
7628 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7629 if test "x$LINE" != x ; then
7630 eval "DEFAULT_$LINE"
7631 else
7632 no_cache=1
7633 fi
7634
7635 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7636
7637 fi
7638
7639
7640 eval "$ac_cv_use_variant"
7641 if test "$no_cache" != 1; then
7642 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7643 fi
7644
7645 if test "$wxUSE_VARIANT" = yes; then
7646 { echo "$as_me:$LINENO: result: yes" >&5
7647 echo "${ECHO_T}yes" >&6; }
7648 else
7649 { echo "$as_me:$LINENO: result: no" >&5
7650 echo "${ECHO_T}no" >&6; }
7651 fi
7652
7653
7654 enablestring=
7655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7656 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7657 no_cache=0
7658 # Check whether --enable-protocol was given.
7659 if test "${enable_protocol+set}" = set; then
7660 enableval=$enable_protocol;
7661 if test "$enableval" = yes; then
7662 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7663 else
7664 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7665 fi
7666
7667 else
7668
7669 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7670 if test "x$LINE" != x ; then
7671 eval "DEFAULT_$LINE"
7672 else
7673 no_cache=1
7674 fi
7675
7676 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7677
7678 fi
7679
7680
7681 eval "$ac_cv_use_protocol"
7682 if test "$no_cache" != 1; then
7683 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7684 fi
7685
7686 if test "$wxUSE_PROTOCOL" = yes; then
7687 { echo "$as_me:$LINENO: result: yes" >&5
7688 echo "${ECHO_T}yes" >&6; }
7689 else
7690 { echo "$as_me:$LINENO: result: no" >&5
7691 echo "${ECHO_T}no" >&6; }
7692 fi
7693
7694
7695 enablestring=
7696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7698 no_cache=0
7699 # Check whether --enable-protocol_http was given.
7700 if test "${enable_protocol_http+set}" = set; then
7701 enableval=$enable_protocol_http;
7702 if test "$enableval" = yes; then
7703 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7704 else
7705 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7706 fi
7707
7708 else
7709
7710 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7711 if test "x$LINE" != x ; then
7712 eval "DEFAULT_$LINE"
7713 else
7714 no_cache=1
7715 fi
7716
7717 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7718
7719 fi
7720
7721
7722 eval "$ac_cv_use_protocol_http"
7723 if test "$no_cache" != 1; then
7724 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7725 fi
7726
7727 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7728 { echo "$as_me:$LINENO: result: yes" >&5
7729 echo "${ECHO_T}yes" >&6; }
7730 else
7731 { echo "$as_me:$LINENO: result: no" >&5
7732 echo "${ECHO_T}no" >&6; }
7733 fi
7734
7735
7736 enablestring=
7737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7738 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7739 no_cache=0
7740 # Check whether --enable-protocol_ftp was given.
7741 if test "${enable_protocol_ftp+set}" = set; then
7742 enableval=$enable_protocol_ftp;
7743 if test "$enableval" = yes; then
7744 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7745 else
7746 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7747 fi
7748
7749 else
7750
7751 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7752 if test "x$LINE" != x ; then
7753 eval "DEFAULT_$LINE"
7754 else
7755 no_cache=1
7756 fi
7757
7758 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7759
7760 fi
7761
7762
7763 eval "$ac_cv_use_protocol_ftp"
7764 if test "$no_cache" != 1; then
7765 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7766 fi
7767
7768 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7769 { echo "$as_me:$LINENO: result: yes" >&5
7770 echo "${ECHO_T}yes" >&6; }
7771 else
7772 { echo "$as_me:$LINENO: result: no" >&5
7773 echo "${ECHO_T}no" >&6; }
7774 fi
7775
7776
7777 enablestring=
7778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7779 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7780 no_cache=0
7781 # Check whether --enable-protocol_file was given.
7782 if test "${enable_protocol_file+set}" = set; then
7783 enableval=$enable_protocol_file;
7784 if test "$enableval" = yes; then
7785 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7786 else
7787 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7788 fi
7789
7790 else
7791
7792 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
7793 if test "x$LINE" != x ; then
7794 eval "DEFAULT_$LINE"
7795 else
7796 no_cache=1
7797 fi
7798
7799 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7800
7801 fi
7802
7803
7804 eval "$ac_cv_use_protocol_file"
7805 if test "$no_cache" != 1; then
7806 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7807 fi
7808
7809 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7810 { echo "$as_me:$LINENO: result: yes" >&5
7811 echo "${ECHO_T}yes" >&6; }
7812 else
7813 { echo "$as_me:$LINENO: result: no" >&5
7814 echo "${ECHO_T}no" >&6; }
7815 fi
7816
7817
7818
7819
7820
7821 enablestring=
7822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7823 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7824 no_cache=0
7825 # Check whether --enable-threads was given.
7826 if test "${enable_threads+set}" = set; then
7827 enableval=$enable_threads;
7828 if test "$enableval" = yes; then
7829 ac_cv_use_threads='wxUSE_THREADS=yes'
7830 else
7831 ac_cv_use_threads='wxUSE_THREADS=no'
7832 fi
7833
7834 else
7835
7836 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
7837 if test "x$LINE" != x ; then
7838 eval "DEFAULT_$LINE"
7839 else
7840 no_cache=1
7841 fi
7842
7843 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7844
7845 fi
7846
7847
7848 eval "$ac_cv_use_threads"
7849 if test "$no_cache" != 1; then
7850 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7851 fi
7852
7853 if test "$wxUSE_THREADS" = yes; then
7854 { echo "$as_me:$LINENO: result: yes" >&5
7855 echo "${ECHO_T}yes" >&6; }
7856 else
7857 { echo "$as_me:$LINENO: result: no" >&5
7858 echo "${ECHO_T}no" >&6; }
7859 fi
7860
7861
7862 if test "$wxUSE_GUI" = "yes"; then
7863
7864
7865
7866 enablestring=
7867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7869 no_cache=0
7870 # Check whether --enable-docview was given.
7871 if test "${enable_docview+set}" = set; then
7872 enableval=$enable_docview;
7873 if test "$enableval" = yes; then
7874 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7875 else
7876 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7877 fi
7878
7879 else
7880
7881 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
7882 if test "x$LINE" != x ; then
7883 eval "DEFAULT_$LINE"
7884 else
7885 no_cache=1
7886 fi
7887
7888 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7889
7890 fi
7891
7892
7893 eval "$ac_cv_use_docview"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7896 fi
7897
7898 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7899 { echo "$as_me:$LINENO: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6; }
7901 else
7902 { echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6; }
7904 fi
7905
7906
7907 enablestring=
7908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7910 no_cache=0
7911 # Check whether --enable-help was given.
7912 if test "${enable_help+set}" = set; then
7913 enableval=$enable_help;
7914 if test "$enableval" = yes; then
7915 ac_cv_use_help='wxUSE_HELP=yes'
7916 else
7917 ac_cv_use_help='wxUSE_HELP=no'
7918 fi
7919
7920 else
7921
7922 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
7923 if test "x$LINE" != x ; then
7924 eval "DEFAULT_$LINE"
7925 else
7926 no_cache=1
7927 fi
7928
7929 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7930
7931 fi
7932
7933
7934 eval "$ac_cv_use_help"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7937 fi
7938
7939 if test "$wxUSE_HELP" = yes; then
7940 { echo "$as_me:$LINENO: result: yes" >&5
7941 echo "${ECHO_T}yes" >&6; }
7942 else
7943 { echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6; }
7945 fi
7946
7947
7948 enablestring=
7949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7951 no_cache=0
7952 # Check whether --enable-mshtmlhelp was given.
7953 if test "${enable_mshtmlhelp+set}" = set; then
7954 enableval=$enable_mshtmlhelp;
7955 if test "$enableval" = yes; then
7956 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7957 else
7958 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7959 fi
7960
7961 else
7962
7963 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
7964 if test "x$LINE" != x ; then
7965 eval "DEFAULT_$LINE"
7966 else
7967 no_cache=1
7968 fi
7969
7970 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7971
7972 fi
7973
7974
7975 eval "$ac_cv_use_mshtmlhelp"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7978 fi
7979
7980 if test "$wxUSE_MS_HTML_HELP" = yes; then
7981 { echo "$as_me:$LINENO: result: yes" >&5
7982 echo "${ECHO_T}yes" >&6; }
7983 else
7984 { echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6; }
7986 fi
7987
7988
7989 enablestring=
7990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7992 no_cache=0
7993 # Check whether --enable-html was given.
7994 if test "${enable_html+set}" = set; then
7995 enableval=$enable_html;
7996 if test "$enableval" = yes; then
7997 ac_cv_use_html='wxUSE_HTML=yes'
7998 else
7999 ac_cv_use_html='wxUSE_HTML=no'
8000 fi
8001
8002 else
8003
8004 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
8005 if test "x$LINE" != x ; then
8006 eval "DEFAULT_$LINE"
8007 else
8008 no_cache=1
8009 fi
8010
8011 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
8012
8013 fi
8014
8015
8016 eval "$ac_cv_use_html"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
8019 fi
8020
8021 if test "$wxUSE_HTML" = yes; then
8022 { echo "$as_me:$LINENO: result: yes" >&5
8023 echo "${ECHO_T}yes" >&6; }
8024 else
8025 { echo "$as_me:$LINENO: result: no" >&5
8026 echo "${ECHO_T}no" >&6; }
8027 fi
8028
8029
8030 enablestring=
8031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8033 no_cache=0
8034 # Check whether --enable-htmlhelp was given.
8035 if test "${enable_htmlhelp+set}" = set; then
8036 enableval=$enable_htmlhelp;
8037 if test "$enableval" = yes; then
8038 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8039 else
8040 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8041 fi
8042
8043 else
8044
8045 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x ; then
8047 eval "DEFAULT_$LINE"
8048 else
8049 no_cache=1
8050 fi
8051
8052 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8053
8054 fi
8055
8056
8057 eval "$ac_cv_use_htmlhelp"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8060 fi
8061
8062 if test "$wxUSE_WXHTML_HELP" = yes; then
8063 { echo "$as_me:$LINENO: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6; }
8065 else
8066 { echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6; }
8068 fi
8069
8070
8071 enablestring=
8072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8074 no_cache=0
8075 # Check whether --enable-xrc was given.
8076 if test "${enable_xrc+set}" = set; then
8077 enableval=$enable_xrc;
8078 if test "$enableval" = yes; then
8079 ac_cv_use_xrc='wxUSE_XRC=yes'
8080 else
8081 ac_cv_use_xrc='wxUSE_XRC=no'
8082 fi
8083
8084 else
8085
8086 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x ; then
8088 eval "DEFAULT_$LINE"
8089 else
8090 no_cache=1
8091 fi
8092
8093 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8094
8095 fi
8096
8097
8098 eval "$ac_cv_use_xrc"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8101 fi
8102
8103 if test "$wxUSE_XRC" = yes; then
8104 { echo "$as_me:$LINENO: result: yes" >&5
8105 echo "${ECHO_T}yes" >&6; }
8106 else
8107 { echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6; }
8109 fi
8110
8111
8112 enablestring=
8113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8115 no_cache=0
8116 # Check whether --enable-aui was given.
8117 if test "${enable_aui+set}" = set; then
8118 enableval=$enable_aui;
8119 if test "$enableval" = yes; then
8120 ac_cv_use_aui='wxUSE_AUI=yes'
8121 else
8122 ac_cv_use_aui='wxUSE_AUI=no'
8123 fi
8124
8125 else
8126
8127 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x ; then
8129 eval "DEFAULT_$LINE"
8130 else
8131 no_cache=1
8132 fi
8133
8134 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8135
8136 fi
8137
8138
8139 eval "$ac_cv_use_aui"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8142 fi
8143
8144 if test "$wxUSE_AUI" = yes; then
8145 { echo "$as_me:$LINENO: result: yes" >&5
8146 echo "${ECHO_T}yes" >&6; }
8147 else
8148 { echo "$as_me:$LINENO: result: no" >&5
8149 echo "${ECHO_T}no" >&6; }
8150 fi
8151
8152
8153 enablestring=
8154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8155 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8156 no_cache=0
8157 # Check whether --enable-stc was given.
8158 if test "${enable_stc+set}" = set; then
8159 enableval=$enable_stc;
8160 if test "$enableval" = yes; then
8161 ac_cv_use_stc='wxUSE_STC=yes'
8162 else
8163 ac_cv_use_stc='wxUSE_STC=no'
8164 fi
8165
8166 else
8167
8168 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x ; then
8170 eval "DEFAULT_$LINE"
8171 else
8172 no_cache=1
8173 fi
8174
8175 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8176
8177 fi
8178
8179
8180 eval "$ac_cv_use_stc"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8183 fi
8184
8185 if test "$wxUSE_STC" = yes; then
8186 { echo "$as_me:$LINENO: result: yes" >&5
8187 echo "${ECHO_T}yes" >&6; }
8188 else
8189 { echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6; }
8191 fi
8192
8193
8194 enablestring=
8195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8197 no_cache=0
8198 # Check whether --enable-constraints was given.
8199 if test "${enable_constraints+set}" = set; then
8200 enableval=$enable_constraints;
8201 if test "$enableval" = yes; then
8202 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8203 else
8204 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8205 fi
8206
8207 else
8208
8209 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 else
8213 no_cache=1
8214 fi
8215
8216 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8217
8218 fi
8219
8220
8221 eval "$ac_cv_use_constraints"
8222 if test "$no_cache" != 1; then
8223 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8224 fi
8225
8226 if test "$wxUSE_CONSTRAINTS" = yes; then
8227 { echo "$as_me:$LINENO: result: yes" >&5
8228 echo "${ECHO_T}yes" >&6; }
8229 else
8230 { echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6; }
8232 fi
8233
8234
8235 enablestring=
8236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8238 no_cache=0
8239 # Check whether --enable-printarch was given.
8240 if test "${enable_printarch+set}" = set; then
8241 enableval=$enable_printarch;
8242 if test "$enableval" = yes; then
8243 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8244 else
8245 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8246 fi
8247
8248 else
8249
8250 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8253 else
8254 no_cache=1
8255 fi
8256
8257 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8258
8259 fi
8260
8261
8262 eval "$ac_cv_use_printarch"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8265 fi
8266
8267 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8268 { echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6; }
8270 else
8271 { echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6; }
8273 fi
8274
8275
8276 enablestring=
8277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8279 no_cache=0
8280 # Check whether --enable-mdi was given.
8281 if test "${enable_mdi+set}" = set; then
8282 enableval=$enable_mdi;
8283 if test "$enableval" = yes; then
8284 ac_cv_use_mdi='wxUSE_MDI=yes'
8285 else
8286 ac_cv_use_mdi='wxUSE_MDI=no'
8287 fi
8288
8289 else
8290
8291 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x ; then
8293 eval "DEFAULT_$LINE"
8294 else
8295 no_cache=1
8296 fi
8297
8298 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8299
8300 fi
8301
8302
8303 eval "$ac_cv_use_mdi"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8306 fi
8307
8308 if test "$wxUSE_MDI" = yes; then
8309 { echo "$as_me:$LINENO: result: yes" >&5
8310 echo "${ECHO_T}yes" >&6; }
8311 else
8312 { echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6; }
8314 fi
8315
8316
8317 enablestring=
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8320 no_cache=0
8321 # Check whether --enable-mdidoc was given.
8322 if test "${enable_mdidoc+set}" = set; then
8323 enableval=$enable_mdidoc;
8324 if test "$enableval" = yes; then
8325 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8326 else
8327 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8340
8341 fi
8342
8343
8344 eval "$ac_cv_use_mdidoc"
8345 if test "$no_cache" != 1; then
8346 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8347 fi
8348
8349 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8350 { echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6; }
8352 else
8353 { echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6; }
8355 fi
8356
8357
8358 enablestring=
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8361 no_cache=0
8362 # Check whether --enable-loggui was given.
8363 if test "${enable_loggui+set}" = set; then
8364 enableval=$enable_loggui;
8365 if test "$enableval" = yes; then
8366 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8367 else
8368 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8369 fi
8370
8371 else
8372
8373 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8381
8382 fi
8383
8384
8385 eval "$ac_cv_use_loggui"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8388 fi
8389
8390 if test "$wxUSE_LOGGUI" = yes; then
8391 { echo "$as_me:$LINENO: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6; }
8393 else
8394 { echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6; }
8396 fi
8397
8398
8399 enablestring=
8400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8402 no_cache=0
8403 # Check whether --enable-logwin was given.
8404 if test "${enable_logwin+set}" = set; then
8405 enableval=$enable_logwin;
8406 if test "$enableval" = yes; then
8407 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8408 else
8409 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8410 fi
8411
8412 else
8413
8414 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8422
8423 fi
8424
8425
8426 eval "$ac_cv_use_logwin"
8427 if test "$no_cache" != 1; then
8428 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8429 fi
8430
8431 if test "$wxUSE_LOGWINDOW" = yes; then
8432 { echo "$as_me:$LINENO: result: yes" >&5
8433 echo "${ECHO_T}yes" >&6; }
8434 else
8435 { echo "$as_me:$LINENO: result: no" >&5
8436 echo "${ECHO_T}no" >&6; }
8437 fi
8438
8439
8440 enablestring=
8441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8443 no_cache=0
8444 # Check whether --enable-logdialog was given.
8445 if test "${enable_logdialog+set}" = set; then
8446 enableval=$enable_logdialog;
8447 if test "$enableval" = yes; then
8448 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8449 else
8450 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8451 fi
8452
8453 else
8454
8455 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8463
8464 fi
8465
8466
8467 eval "$ac_cv_use_logdialog"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8470 fi
8471
8472 if test "$wxUSE_LOGDIALOG" = yes; then
8473 { echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6; }
8475 else
8476 { echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6; }
8478 fi
8479
8480
8481 enablestring=
8482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8484 no_cache=0
8485 # Check whether --enable-webkit was given.
8486 if test "${enable_webkit+set}" = set; then
8487 enableval=$enable_webkit;
8488 if test "$enableval" = yes; then
8489 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8490 else
8491 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8504
8505 fi
8506
8507
8508 eval "$ac_cv_use_webkit"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8511 fi
8512
8513 if test "$wxUSE_WEBKIT" = yes; then
8514 { echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6; }
8516 else
8517 { echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6; }
8519 fi
8520
8521
8522 enablestring=
8523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8525 no_cache=0
8526 # Check whether --enable-richtext was given.
8527 if test "${enable_richtext+set}" = set; then
8528 enableval=$enable_richtext;
8529 if test "$enableval" = yes; then
8530 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8531 else
8532 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8545
8546 fi
8547
8548
8549 eval "$ac_cv_use_richtext"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8552 fi
8553
8554 if test "$wxUSE_RICHTEXT" = yes; then
8555 { echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6; }
8557 else
8558 { echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6; }
8560 fi
8561
8562
8563 enablestring=
8564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8566 no_cache=0
8567 # Check whether --enable-graphics_ctx was given.
8568 if test "${enable_graphics_ctx+set}" = set; then
8569 enableval=$enable_graphics_ctx;
8570 if test "$enableval" = yes; then
8571 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8572 else
8573 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8574 fi
8575
8576 else
8577
8578 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8586
8587 fi
8588
8589
8590 eval "$ac_cv_use_graphics_ctx"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8593 fi
8594
8595 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8596 { echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6; }
8598 else
8599 { echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6; }
8601 fi
8602
8603
8604
8605 enablestring=
8606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8607 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8608 no_cache=0
8609 # Check whether --enable-postscript was given.
8610 if test "${enable_postscript+set}" = set; then
8611 enableval=$enable_postscript;
8612 if test "$enableval" = yes; then
8613 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8614 else
8615 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8616 fi
8617
8618 else
8619
8620 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8623 else
8624 no_cache=1
8625 fi
8626
8627 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8628
8629 fi
8630
8631
8632 eval "$ac_cv_use_postscript"
8633 if test "$no_cache" != 1; then
8634 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8635 fi
8636
8637 if test "$wxUSE_POSTSCRIPT" = yes; then
8638 { echo "$as_me:$LINENO: result: yes" >&5
8639 echo "${ECHO_T}yes" >&6; }
8640 else
8641 { echo "$as_me:$LINENO: result: no" >&5
8642 echo "${ECHO_T}no" >&6; }
8643 fi
8644
8645
8646
8647
8648
8649 enablestring=
8650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8652 no_cache=0
8653 # Check whether --enable-clipboard was given.
8654 if test "${enable_clipboard+set}" = set; then
8655 enableval=$enable_clipboard;
8656 if test "$enableval" = yes; then
8657 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8658 else
8659 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8660 fi
8661
8662 else
8663
8664 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x ; then
8666 eval "DEFAULT_$LINE"
8667 else
8668 no_cache=1
8669 fi
8670
8671 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8672
8673 fi
8674
8675
8676 eval "$ac_cv_use_clipboard"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8679 fi
8680
8681 if test "$wxUSE_CLIPBOARD" = yes; then
8682 { echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6; }
8684 else
8685 { echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6; }
8687 fi
8688
8689
8690 enablestring=
8691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8693 no_cache=0
8694 # Check whether --enable-dnd was given.
8695 if test "${enable_dnd+set}" = set; then
8696 enableval=$enable_dnd;
8697 if test "$enableval" = yes; then
8698 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8699 else
8700 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8701 fi
8702
8703 else
8704
8705 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x ; then
8707 eval "DEFAULT_$LINE"
8708 else
8709 no_cache=1
8710 fi
8711
8712 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8713
8714 fi
8715
8716
8717 eval "$ac_cv_use_dnd"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8720 fi
8721
8722 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8723 { echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6; }
8725 else
8726 { echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6; }
8728 fi
8729
8730
8731 enablestring=
8732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8734 no_cache=0
8735 # Check whether --enable-metafile was given.
8736 if test "${enable_metafile+set}" = set; then
8737 enableval=$enable_metafile;
8738 if test "$enableval" = yes; then
8739 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8740 else
8741 ac_cv_use_metafile='wxUSE_METAFILE=no'
8742 fi
8743
8744 else
8745
8746 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
8747 if test "x$LINE" != x ; then
8748 eval "DEFAULT_$LINE"
8749 else
8750 no_cache=1
8751 fi
8752
8753 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8754
8755 fi
8756
8757
8758 eval "$ac_cv_use_metafile"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8761 fi
8762
8763 if test "$wxUSE_METAFILE" = yes; then
8764 { echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6; }
8766 else
8767 { echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6; }
8769 fi
8770
8771
8772
8773
8774
8775 enablestring=
8776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8778 no_cache=0
8779 # Check whether --enable-controls was given.
8780 if test "${enable_controls+set}" = set; then
8781 enableval=$enable_controls;
8782 if test "$enableval" = yes; then
8783 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8784 else
8785 ac_cv_use_controls='wxUSE_CONTROLS=no'
8786 fi
8787
8788 else
8789
8790 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
8791 if test "x$LINE" != x ; then
8792 eval "DEFAULT_$LINE"
8793 else
8794 no_cache=1
8795 fi
8796
8797 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8798
8799 fi
8800
8801
8802 eval "$ac_cv_use_controls"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8805 fi
8806
8807 if test "$wxUSE_CONTROLS" = yes; then
8808 { echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6; }
8810 else
8811 { echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6; }
8813 fi
8814
8815
8816 if test "$wxUSE_CONTROLS" = "yes"; then
8817 DEFAULT_wxUSE_ACCEL=yes
8818 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8819 DEFAULT_wxUSE_BMPBUTTON=yes
8820 DEFAULT_wxUSE_BUTTON=yes
8821 DEFAULT_wxUSE_CALCTRL=yes
8822 DEFAULT_wxUSE_CARET=yes
8823 DEFAULT_wxUSE_COMBOBOX=yes
8824 DEFAULT_wxUSE_CHECKBOX=yes
8825 DEFAULT_wxUSE_CHECKLISTBOX=yes
8826 DEFAULT_wxUSE_CHOICE=yes
8827 DEFAULT_wxUSE_CHOICEBOOK=yes
8828 DEFAULT_wxUSE_COLLPANE=yes
8829 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8830 DEFAULT_wxUSE_COMBOBOX=yes
8831 DEFAULT_wxUSE_DATEPICKCTRL=yes
8832 DEFAULT_wxUSE_DISPLAY=yes
8833 DEFAULT_wxUSE_DETECT_SM=yes
8834 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8835 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8836 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8837 DEFAULT_wxUSE_GAUGE=yes
8838 DEFAULT_wxUSE_GRID=yes
8839 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8840 DEFAULT_wxUSE_DATAVIEWCTRL=no
8841 DEFAULT_wxUSE_IMAGLIST=yes
8842 DEFAULT_wxUSE_LISTBOOK=yes
8843 DEFAULT_wxUSE_LISTBOX=yes
8844 DEFAULT_wxUSE_LISTCTRL=yes
8845 DEFAULT_wxUSE_NOTEBOOK=yes
8846 DEFAULT_wxUSE_RADIOBOX=yes
8847 DEFAULT_wxUSE_RADIOBTN=yes
8848 DEFAULT_wxUSE_SASH=yes
8849 DEFAULT_wxUSE_SCROLLBAR=yes
8850 DEFAULT_wxUSE_SEARCHCTRL=yes
8851 DEFAULT_wxUSE_SLIDER=yes
8852 DEFAULT_wxUSE_SPINBTN=yes
8853 DEFAULT_wxUSE_SPINCTRL=yes
8854 DEFAULT_wxUSE_SPLITTER=yes
8855 DEFAULT_wxUSE_STATBMP=yes
8856 DEFAULT_wxUSE_STATBOX=yes
8857 DEFAULT_wxUSE_STATLINE=yes
8858 DEFAULT_wxUSE_STATUSBAR=yes
8859 DEFAULT_wxUSE_TAB_DIALOG=yes
8860 DEFAULT_wxUSE_TOGGLEBTN=yes
8861 DEFAULT_wxUSE_TOOLBAR=yes
8862 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8863 DEFAULT_wxUSE_TOOLTIPS=yes
8864 DEFAULT_wxUSE_TREEBOOK=yes
8865 DEFAULT_wxUSE_TOOLBOOK=yes
8866 DEFAULT_wxUSE_TREECTRL=yes
8867 DEFAULT_wxUSE_POPUPWIN=yes
8868 DEFAULT_wxUSE_TIPWINDOW=yes
8869 elif test "$wxUSE_CONTROLS" = "no"; then
8870 DEFAULT_wxUSE_ACCEL=no
8871 DEFAULT_wxUSE_ANIMATIONCTRL=no
8872 DEFAULT_wxUSE_BMPBUTTON=no
8873 DEFAULT_wxUSE_BUTTON=no
8874 DEFAULT_wxUSE_CALCTRL=no
8875 DEFAULT_wxUSE_CARET=no
8876 DEFAULT_wxUSE_COLLPANE=no
8877 DEFAULT_wxUSE_COMBOBOX=no
8878 DEFAULT_wxUSE_CHECKBOX=no
8879 DEFAULT_wxUSE_CHECKLISTBOX=no
8880 DEFAULT_wxUSE_CHOICE=no
8881 DEFAULT_wxUSE_CHOICEBOOK=no
8882 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8883 DEFAULT_wxUSE_COMBOBOX=no
8884 DEFAULT_wxUSE_DATEPICKCTRL=no
8885 DEFAULT_wxUSE_DISPLAY=no
8886 DEFAULT_wxUSE_DETECT_SM=no
8887 DEFAULT_wxUSE_DIRPICKERCTRL=no
8888 DEFAULT_wxUSE_FILEPICKERCTRL=no
8889 DEFAULT_wxUSE_FONTPICKERCTRL=no
8890 DEFAULT_wxUSE_GAUGE=no
8891 DEFAULT_wxUSE_GRID=no
8892 DEFAULT_wxUSE_HYPERLINKCTRL=no
8893 DEFAULT_wxUSE_DATAVIEWCTRL=no
8894 DEFAULT_wxUSE_IMAGLIST=no
8895 DEFAULT_wxUSE_LISTBOOK=no
8896 DEFAULT_wxUSE_LISTBOX=no
8897 DEFAULT_wxUSE_LISTCTRL=no
8898 DEFAULT_wxUSE_NOTEBOOK=no
8899 DEFAULT_wxUSE_RADIOBOX=no
8900 DEFAULT_wxUSE_RADIOBTN=no
8901 DEFAULT_wxUSE_SASH=no
8902 DEFAULT_wxUSE_SCROLLBAR=no
8903 DEFAULT_wxUSE_SEARCHCTRL=no
8904 DEFAULT_wxUSE_SLIDER=no
8905 DEFAULT_wxUSE_SPINBTN=no
8906 DEFAULT_wxUSE_SPINCTRL=no
8907 DEFAULT_wxUSE_SPLITTER=no
8908 DEFAULT_wxUSE_STATBMP=no
8909 DEFAULT_wxUSE_STATBOX=no
8910 DEFAULT_wxUSE_STATLINE=no
8911 DEFAULT_wxUSE_STATUSBAR=no
8912 DEFAULT_wxUSE_TAB_DIALOG=no
8913 DEFAULT_wxUSE_TOGGLEBTN=no
8914 DEFAULT_wxUSE_TOOLBAR=no
8915 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8916 DEFAULT_wxUSE_TOOLTIPS=no
8917 DEFAULT_wxUSE_TREEBOOK=no
8918 DEFAULT_wxUSE_TOOLBOOK=no
8919 DEFAULT_wxUSE_TREECTRL=no
8920 DEFAULT_wxUSE_POPUPWIN=no
8921 DEFAULT_wxUSE_TIPWINDOW=no
8922 fi
8923
8924
8925 enablestring=
8926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8927 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8928 no_cache=0
8929 # Check whether --enable-accel was given.
8930 if test "${enable_accel+set}" = set; then
8931 enableval=$enable_accel;
8932 if test "$enableval" = yes; then
8933 ac_cv_use_accel='wxUSE_ACCEL=yes'
8934 else
8935 ac_cv_use_accel='wxUSE_ACCEL=no'
8936 fi
8937
8938 else
8939
8940 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
8941 if test "x$LINE" != x ; then
8942 eval "DEFAULT_$LINE"
8943 else
8944 no_cache=1
8945 fi
8946
8947 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8948
8949 fi
8950
8951
8952 eval "$ac_cv_use_accel"
8953 if test "$no_cache" != 1; then
8954 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8955 fi
8956
8957 if test "$wxUSE_ACCEL" = yes; then
8958 { echo "$as_me:$LINENO: result: yes" >&5
8959 echo "${ECHO_T}yes" >&6; }
8960 else
8961 { echo "$as_me:$LINENO: result: no" >&5
8962 echo "${ECHO_T}no" >&6; }
8963 fi
8964
8965
8966 enablestring=
8967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8968 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8969 no_cache=0
8970 # Check whether --enable-animatectrl was given.
8971 if test "${enable_animatectrl+set}" = set; then
8972 enableval=$enable_animatectrl;
8973 if test "$enableval" = yes; then
8974 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8975 else
8976 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8977 fi
8978
8979 else
8980
8981 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
8982 if test "x$LINE" != x ; then
8983 eval "DEFAULT_$LINE"
8984 else
8985 no_cache=1
8986 fi
8987
8988 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8989
8990 fi
8991
8992
8993 eval "$ac_cv_use_animatectrl"
8994 if test "$no_cache" != 1; then
8995 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8996 fi
8997
8998 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8999 { echo "$as_me:$LINENO: result: yes" >&5
9000 echo "${ECHO_T}yes" >&6; }
9001 else
9002 { echo "$as_me:$LINENO: result: no" >&5
9003 echo "${ECHO_T}no" >&6; }
9004 fi
9005
9006
9007 enablestring=
9008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9010 no_cache=0
9011 # Check whether --enable-button was given.
9012 if test "${enable_button+set}" = set; then
9013 enableval=$enable_button;
9014 if test "$enableval" = yes; then
9015 ac_cv_use_button='wxUSE_BUTTON=yes'
9016 else
9017 ac_cv_use_button='wxUSE_BUTTON=no'
9018 fi
9019
9020 else
9021
9022 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
9023 if test "x$LINE" != x ; then
9024 eval "DEFAULT_$LINE"
9025 else
9026 no_cache=1
9027 fi
9028
9029 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
9030
9031 fi
9032
9033
9034 eval "$ac_cv_use_button"
9035 if test "$no_cache" != 1; then
9036 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
9037 fi
9038
9039 if test "$wxUSE_BUTTON" = yes; then
9040 { echo "$as_me:$LINENO: result: yes" >&5
9041 echo "${ECHO_T}yes" >&6; }
9042 else
9043 { echo "$as_me:$LINENO: result: no" >&5
9044 echo "${ECHO_T}no" >&6; }
9045 fi
9046
9047
9048 enablestring=
9049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9050 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9051 no_cache=0
9052 # Check whether --enable-bmpbutton was given.
9053 if test "${enable_bmpbutton+set}" = set; then
9054 enableval=$enable_bmpbutton;
9055 if test "$enableval" = yes; then
9056 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9057 else
9058 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9059 fi
9060
9061 else
9062
9063 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9064 if test "x$LINE" != x ; then
9065 eval "DEFAULT_$LINE"
9066 else
9067 no_cache=1
9068 fi
9069
9070 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9071
9072 fi
9073
9074
9075 eval "$ac_cv_use_bmpbutton"
9076 if test "$no_cache" != 1; then
9077 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9078 fi
9079
9080 if test "$wxUSE_BMPBUTTON" = yes; then
9081 { echo "$as_me:$LINENO: result: yes" >&5
9082 echo "${ECHO_T}yes" >&6; }
9083 else
9084 { echo "$as_me:$LINENO: result: no" >&5
9085 echo "${ECHO_T}no" >&6; }
9086 fi
9087
9088
9089 enablestring=
9090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9091 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9092 no_cache=0
9093 # Check whether --enable-bmpcombobox was given.
9094 if test "${enable_bmpcombobox+set}" = set; then
9095 enableval=$enable_bmpcombobox;
9096 if test "$enableval" = yes; then
9097 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9098 else
9099 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9100 fi
9101
9102 else
9103
9104 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x ; then
9106 eval "DEFAULT_$LINE"
9107 else
9108 no_cache=1
9109 fi
9110
9111 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9112
9113 fi
9114
9115
9116 eval "$ac_cv_use_bmpcombobox"
9117 if test "$no_cache" != 1; then
9118 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9119 fi
9120
9121 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9122 { echo "$as_me:$LINENO: result: yes" >&5
9123 echo "${ECHO_T}yes" >&6; }
9124 else
9125 { echo "$as_me:$LINENO: result: no" >&5
9126 echo "${ECHO_T}no" >&6; }
9127 fi
9128
9129
9130 enablestring=
9131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9132 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9133 no_cache=0
9134 # Check whether --enable-calendar was given.
9135 if test "${enable_calendar+set}" = set; then
9136 enableval=$enable_calendar;
9137 if test "$enableval" = yes; then
9138 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9139 else
9140 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9141 fi
9142
9143 else
9144
9145 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9146 if test "x$LINE" != x ; then
9147 eval "DEFAULT_$LINE"
9148 else
9149 no_cache=1
9150 fi
9151
9152 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9153
9154 fi
9155
9156
9157 eval "$ac_cv_use_calendar"
9158 if test "$no_cache" != 1; then
9159 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9160 fi
9161
9162 if test "$wxUSE_CALCTRL" = yes; then
9163 { echo "$as_me:$LINENO: result: yes" >&5
9164 echo "${ECHO_T}yes" >&6; }
9165 else
9166 { echo "$as_me:$LINENO: result: no" >&5
9167 echo "${ECHO_T}no" >&6; }
9168 fi
9169
9170
9171 enablestring=
9172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9173 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9174 no_cache=0
9175 # Check whether --enable-caret was given.
9176 if test "${enable_caret+set}" = set; then
9177 enableval=$enable_caret;
9178 if test "$enableval" = yes; then
9179 ac_cv_use_caret='wxUSE_CARET=yes'
9180 else
9181 ac_cv_use_caret='wxUSE_CARET=no'
9182 fi
9183
9184 else
9185
9186 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9187 if test "x$LINE" != x ; then
9188 eval "DEFAULT_$LINE"
9189 else
9190 no_cache=1
9191 fi
9192
9193 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9194
9195 fi
9196
9197
9198 eval "$ac_cv_use_caret"
9199 if test "$no_cache" != 1; then
9200 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9201 fi
9202
9203 if test "$wxUSE_CARET" = yes; then
9204 { echo "$as_me:$LINENO: result: yes" >&5
9205 echo "${ECHO_T}yes" >&6; }
9206 else
9207 { echo "$as_me:$LINENO: result: no" >&5
9208 echo "${ECHO_T}no" >&6; }
9209 fi
9210
9211
9212 enablestring=
9213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9214 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9215 no_cache=0
9216 # Check whether --enable-checkbox was given.
9217 if test "${enable_checkbox+set}" = set; then
9218 enableval=$enable_checkbox;
9219 if test "$enableval" = yes; then
9220 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9221 else
9222 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9223 fi
9224
9225 else
9226
9227 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9228 if test "x$LINE" != x ; then
9229 eval "DEFAULT_$LINE"
9230 else
9231 no_cache=1
9232 fi
9233
9234 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9235
9236 fi
9237
9238
9239 eval "$ac_cv_use_checkbox"
9240 if test "$no_cache" != 1; then
9241 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9242 fi
9243
9244 if test "$wxUSE_CHECKBOX" = yes; then
9245 { echo "$as_me:$LINENO: result: yes" >&5
9246 echo "${ECHO_T}yes" >&6; }
9247 else
9248 { echo "$as_me:$LINENO: result: no" >&5
9249 echo "${ECHO_T}no" >&6; }
9250 fi
9251
9252
9253 enablestring=
9254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9255 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9256 no_cache=0
9257 # Check whether --enable-checklst was given.
9258 if test "${enable_checklst+set}" = set; then
9259 enableval=$enable_checklst;
9260 if test "$enableval" = yes; then
9261 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9262 else
9263 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9264 fi
9265
9266 else
9267
9268 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x ; then
9270 eval "DEFAULT_$LINE"
9271 else
9272 no_cache=1
9273 fi
9274
9275 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9276
9277 fi
9278
9279
9280 eval "$ac_cv_use_checklst"
9281 if test "$no_cache" != 1; then
9282 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9283 fi
9284
9285 if test "$wxUSE_CHECKLST" = yes; then
9286 { echo "$as_me:$LINENO: result: yes" >&5
9287 echo "${ECHO_T}yes" >&6; }
9288 else
9289 { echo "$as_me:$LINENO: result: no" >&5
9290 echo "${ECHO_T}no" >&6; }
9291 fi
9292
9293
9294 enablestring=
9295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9296 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9297 no_cache=0
9298 # Check whether --enable-choice was given.
9299 if test "${enable_choice+set}" = set; then
9300 enableval=$enable_choice;
9301 if test "$enableval" = yes; then
9302 ac_cv_use_choice='wxUSE_CHOICE=yes'
9303 else
9304 ac_cv_use_choice='wxUSE_CHOICE=no'
9305 fi
9306
9307 else
9308
9309 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
9310 if test "x$LINE" != x ; then
9311 eval "DEFAULT_$LINE"
9312 else
9313 no_cache=1
9314 fi
9315
9316 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9317
9318 fi
9319
9320
9321 eval "$ac_cv_use_choice"
9322 if test "$no_cache" != 1; then
9323 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9324 fi
9325
9326 if test "$wxUSE_CHOICE" = yes; then
9327 { echo "$as_me:$LINENO: result: yes" >&5
9328 echo "${ECHO_T}yes" >&6; }
9329 else
9330 { echo "$as_me:$LINENO: result: no" >&5
9331 echo "${ECHO_T}no" >&6; }
9332 fi
9333
9334
9335 enablestring=
9336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9337 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9338 no_cache=0
9339 # Check whether --enable-choicebook was given.
9340 if test "${enable_choicebook+set}" = set; then
9341 enableval=$enable_choicebook;
9342 if test "$enableval" = yes; then
9343 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9344 else
9345 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9346 fi
9347
9348 else
9349
9350 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x ; then
9352 eval "DEFAULT_$LINE"
9353 else
9354 no_cache=1
9355 fi
9356
9357 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9358
9359 fi
9360
9361
9362 eval "$ac_cv_use_choicebook"
9363 if test "$no_cache" != 1; then
9364 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9365 fi
9366
9367 if test "$wxUSE_CHOICEBOOK" = yes; then
9368 { echo "$as_me:$LINENO: result: yes" >&5
9369 echo "${ECHO_T}yes" >&6; }
9370 else
9371 { echo "$as_me:$LINENO: result: no" >&5
9372 echo "${ECHO_T}no" >&6; }
9373 fi
9374
9375
9376 enablestring=
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9379 no_cache=0
9380 # Check whether --enable-collpane was given.
9381 if test "${enable_collpane+set}" = set; then
9382 enableval=$enable_collpane;
9383 if test "$enableval" = yes; then
9384 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9385 else
9386 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9387 fi
9388
9389 else
9390
9391 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9394 else
9395 no_cache=1
9396 fi
9397
9398 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9399
9400 fi
9401
9402
9403 eval "$ac_cv_use_collpane"
9404 if test "$no_cache" != 1; then
9405 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9406 fi
9407
9408 if test "$wxUSE_COLLPANE" = yes; then
9409 { echo "$as_me:$LINENO: result: yes" >&5
9410 echo "${ECHO_T}yes" >&6; }
9411 else
9412 { echo "$as_me:$LINENO: result: no" >&5
9413 echo "${ECHO_T}no" >&6; }
9414 fi
9415
9416
9417 enablestring=
9418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9419 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9420 no_cache=0
9421 # Check whether --enable-colourpicker was given.
9422 if test "${enable_colourpicker+set}" = set; then
9423 enableval=$enable_colourpicker;
9424 if test "$enableval" = yes; then
9425 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9426 else
9427 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9428 fi
9429
9430 else
9431
9432 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
9433 if test "x$LINE" != x ; then
9434 eval "DEFAULT_$LINE"
9435 else
9436 no_cache=1
9437 fi
9438
9439 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9440
9441 fi
9442
9443
9444 eval "$ac_cv_use_colourpicker"
9445 if test "$no_cache" != 1; then
9446 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9447 fi
9448
9449 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9450 { echo "$as_me:$LINENO: result: yes" >&5
9451 echo "${ECHO_T}yes" >&6; }
9452 else
9453 { echo "$as_me:$LINENO: result: no" >&5
9454 echo "${ECHO_T}no" >&6; }
9455 fi
9456
9457
9458 enablestring=
9459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9460 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9461 no_cache=0
9462 # Check whether --enable-combobox was given.
9463 if test "${enable_combobox+set}" = set; then
9464 enableval=$enable_combobox;
9465 if test "$enableval" = yes; then
9466 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9467 else
9468 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9469 fi
9470
9471 else
9472
9473 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x ; then
9475 eval "DEFAULT_$LINE"
9476 else
9477 no_cache=1
9478 fi
9479
9480 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9481
9482 fi
9483
9484
9485 eval "$ac_cv_use_combobox"
9486 if test "$no_cache" != 1; then
9487 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9488 fi
9489
9490 if test "$wxUSE_COMBOBOX" = yes; then
9491 { echo "$as_me:$LINENO: result: yes" >&5
9492 echo "${ECHO_T}yes" >&6; }
9493 else
9494 { echo "$as_me:$LINENO: result: no" >&5
9495 echo "${ECHO_T}no" >&6; }
9496 fi
9497
9498
9499 enablestring=
9500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9501 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9502 no_cache=0
9503 # Check whether --enable-comboctrl was given.
9504 if test "${enable_comboctrl+set}" = set; then
9505 enableval=$enable_comboctrl;
9506 if test "$enableval" = yes; then
9507 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9508 else
9509 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9510 fi
9511
9512 else
9513
9514 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
9515 if test "x$LINE" != x ; then
9516 eval "DEFAULT_$LINE"
9517 else
9518 no_cache=1
9519 fi
9520
9521 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9522
9523 fi
9524
9525
9526 eval "$ac_cv_use_comboctrl"
9527 if test "$no_cache" != 1; then
9528 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9529 fi
9530
9531 if test "$wxUSE_COMBOCTRL" = yes; then
9532 { echo "$as_me:$LINENO: result: yes" >&5
9533 echo "${ECHO_T}yes" >&6; }
9534 else
9535 { echo "$as_me:$LINENO: result: no" >&5
9536 echo "${ECHO_T}no" >&6; }
9537 fi
9538
9539
9540 enablestring=
9541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9542 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9543 no_cache=0
9544 # Check whether --enable-datepick was given.
9545 if test "${enable_datepick+set}" = set; then
9546 enableval=$enable_datepick;
9547 if test "$enableval" = yes; then
9548 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9549 else
9550 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9551 fi
9552
9553 else
9554
9555 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
9556 if test "x$LINE" != x ; then
9557 eval "DEFAULT_$LINE"
9558 else
9559 no_cache=1
9560 fi
9561
9562 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9563
9564 fi
9565
9566
9567 eval "$ac_cv_use_datepick"
9568 if test "$no_cache" != 1; then
9569 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9570 fi
9571
9572 if test "$wxUSE_DATEPICKCTRL" = yes; then
9573 { echo "$as_me:$LINENO: result: yes" >&5
9574 echo "${ECHO_T}yes" >&6; }
9575 else
9576 { echo "$as_me:$LINENO: result: no" >&5
9577 echo "${ECHO_T}no" >&6; }
9578 fi
9579
9580
9581 enablestring=
9582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9583 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9584 no_cache=0
9585 # Check whether --enable-dirpicker was given.
9586 if test "${enable_dirpicker+set}" = set; then
9587 enableval=$enable_dirpicker;
9588 if test "$enableval" = yes; then
9589 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9590 else
9591 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9592 fi
9593
9594 else
9595
9596 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
9597 if test "x$LINE" != x ; then
9598 eval "DEFAULT_$LINE"
9599 else
9600 no_cache=1
9601 fi
9602
9603 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9604
9605 fi
9606
9607
9608 eval "$ac_cv_use_dirpicker"
9609 if test "$no_cache" != 1; then
9610 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9611 fi
9612
9613 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9614 { echo "$as_me:$LINENO: result: yes" >&5
9615 echo "${ECHO_T}yes" >&6; }
9616 else
9617 { echo "$as_me:$LINENO: result: no" >&5
9618 echo "${ECHO_T}no" >&6; }
9619 fi
9620
9621
9622 enablestring=
9623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9624 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9625 no_cache=0
9626 # Check whether --enable-display was given.
9627 if test "${enable_display+set}" = set; then
9628 enableval=$enable_display;
9629 if test "$enableval" = yes; then
9630 ac_cv_use_display='wxUSE_DISPLAY=yes'
9631 else
9632 ac_cv_use_display='wxUSE_DISPLAY=no'
9633 fi
9634
9635 else
9636
9637 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
9638 if test "x$LINE" != x ; then
9639 eval "DEFAULT_$LINE"
9640 else
9641 no_cache=1
9642 fi
9643
9644 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9645
9646 fi
9647
9648
9649 eval "$ac_cv_use_display"
9650 if test "$no_cache" != 1; then
9651 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9652 fi
9653
9654 if test "$wxUSE_DISPLAY" = yes; then
9655 { echo "$as_me:$LINENO: result: yes" >&5
9656 echo "${ECHO_T}yes" >&6; }
9657 else
9658 { echo "$as_me:$LINENO: result: no" >&5
9659 echo "${ECHO_T}no" >&6; }
9660 fi
9661
9662
9663 enablestring=
9664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9665 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9666 no_cache=0
9667 # Check whether --enable-detect_sm was given.
9668 if test "${enable_detect_sm+set}" = set; then
9669 enableval=$enable_detect_sm;
9670 if test "$enableval" = yes; then
9671 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9672 else
9673 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9674 fi
9675
9676 else
9677
9678 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
9679 if test "x$LINE" != x ; then
9680 eval "DEFAULT_$LINE"
9681 else
9682 no_cache=1
9683 fi
9684
9685 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9686
9687 fi
9688
9689
9690 eval "$ac_cv_use_detect_sm"
9691 if test "$no_cache" != 1; then
9692 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9693 fi
9694
9695 if test "$wxUSE_DETECT_SM" = yes; then
9696 { echo "$as_me:$LINENO: result: yes" >&5
9697 echo "${ECHO_T}yes" >&6; }
9698 else
9699 { echo "$as_me:$LINENO: result: no" >&5
9700 echo "${ECHO_T}no" >&6; }
9701 fi
9702
9703
9704 enablestring=
9705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9706 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9707 no_cache=0
9708 # Check whether --enable-editablebox was given.
9709 if test "${enable_editablebox+set}" = set; then
9710 enableval=$enable_editablebox;
9711 if test "$enableval" = yes; then
9712 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9713 else
9714 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9715 fi
9716
9717 else
9718
9719 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
9720 if test "x$LINE" != x ; then
9721 eval "DEFAULT_$LINE"
9722 else
9723 no_cache=1
9724 fi
9725
9726 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9727
9728 fi
9729
9730
9731 eval "$ac_cv_use_editablebox"
9732 if test "$no_cache" != 1; then
9733 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9734 fi
9735
9736 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9737 { echo "$as_me:$LINENO: result: yes" >&5
9738 echo "${ECHO_T}yes" >&6; }
9739 else
9740 { echo "$as_me:$LINENO: result: no" >&5
9741 echo "${ECHO_T}no" >&6; }
9742 fi
9743
9744
9745 enablestring=
9746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9747 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9748 no_cache=0
9749 # Check whether --enable-filepicker was given.
9750 if test "${enable_filepicker+set}" = set; then
9751 enableval=$enable_filepicker;
9752 if test "$enableval" = yes; then
9753 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9754 else
9755 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9756 fi
9757
9758 else
9759
9760 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
9761 if test "x$LINE" != x ; then
9762 eval "DEFAULT_$LINE"
9763 else
9764 no_cache=1
9765 fi
9766
9767 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9768
9769 fi
9770
9771
9772 eval "$ac_cv_use_filepicker"
9773 if test "$no_cache" != 1; then
9774 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9775 fi
9776
9777 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9778 { echo "$as_me:$LINENO: result: yes" >&5
9779 echo "${ECHO_T}yes" >&6; }
9780 else
9781 { echo "$as_me:$LINENO: result: no" >&5
9782 echo "${ECHO_T}no" >&6; }
9783 fi
9784
9785
9786 enablestring=
9787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9788 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9789 no_cache=0
9790 # Check whether --enable-fontpicker was given.
9791 if test "${enable_fontpicker+set}" = set; then
9792 enableval=$enable_fontpicker;
9793 if test "$enableval" = yes; then
9794 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9795 else
9796 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9797 fi
9798
9799 else
9800
9801 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
9802 if test "x$LINE" != x ; then
9803 eval "DEFAULT_$LINE"
9804 else
9805 no_cache=1
9806 fi
9807
9808 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9809
9810 fi
9811
9812
9813 eval "$ac_cv_use_fontpicker"
9814 if test "$no_cache" != 1; then
9815 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9816 fi
9817
9818 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9819 { echo "$as_me:$LINENO: result: yes" >&5
9820 echo "${ECHO_T}yes" >&6; }
9821 else
9822 { echo "$as_me:$LINENO: result: no" >&5
9823 echo "${ECHO_T}no" >&6; }
9824 fi
9825
9826
9827 enablestring=
9828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9829 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9830 no_cache=0
9831 # Check whether --enable-gauge was given.
9832 if test "${enable_gauge+set}" = set; then
9833 enableval=$enable_gauge;
9834 if test "$enableval" = yes; then
9835 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9836 else
9837 ac_cv_use_gauge='wxUSE_GAUGE=no'
9838 fi
9839
9840 else
9841
9842 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
9843 if test "x$LINE" != x ; then
9844 eval "DEFAULT_$LINE"
9845 else
9846 no_cache=1
9847 fi
9848
9849 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9850
9851 fi
9852
9853
9854 eval "$ac_cv_use_gauge"
9855 if test "$no_cache" != 1; then
9856 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9857 fi
9858
9859 if test "$wxUSE_GAUGE" = yes; then
9860 { echo "$as_me:$LINENO: result: yes" >&5
9861 echo "${ECHO_T}yes" >&6; }
9862 else
9863 { echo "$as_me:$LINENO: result: no" >&5
9864 echo "${ECHO_T}no" >&6; }
9865 fi
9866
9867
9868 enablestring=
9869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9870 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9871 no_cache=0
9872 # Check whether --enable-grid was given.
9873 if test "${enable_grid+set}" = set; then
9874 enableval=$enable_grid;
9875 if test "$enableval" = yes; then
9876 ac_cv_use_grid='wxUSE_GRID=yes'
9877 else
9878 ac_cv_use_grid='wxUSE_GRID=no'
9879 fi
9880
9881 else
9882
9883 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
9884 if test "x$LINE" != x ; then
9885 eval "DEFAULT_$LINE"
9886 else
9887 no_cache=1
9888 fi
9889
9890 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9891
9892 fi
9893
9894
9895 eval "$ac_cv_use_grid"
9896 if test "$no_cache" != 1; then
9897 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9898 fi
9899
9900 if test "$wxUSE_GRID" = yes; then
9901 { echo "$as_me:$LINENO: result: yes" >&5
9902 echo "${ECHO_T}yes" >&6; }
9903 else
9904 { echo "$as_me:$LINENO: result: no" >&5
9905 echo "${ECHO_T}no" >&6; }
9906 fi
9907
9908
9909 enablestring=
9910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9911 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9912 no_cache=0
9913 # Check whether --enable-dataviewctrl was given.
9914 if test "${enable_dataviewctrl+set}" = set; then
9915 enableval=$enable_dataviewctrl;
9916 if test "$enableval" = yes; then
9917 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9918 else
9919 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9920 fi
9921
9922 else
9923
9924 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
9925 if test "x$LINE" != x ; then
9926 eval "DEFAULT_$LINE"
9927 else
9928 no_cache=1
9929 fi
9930
9931 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9932
9933 fi
9934
9935
9936 eval "$ac_cv_use_dataviewctrl"
9937 if test "$no_cache" != 1; then
9938 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9939 fi
9940
9941 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9942 { echo "$as_me:$LINENO: result: yes" >&5
9943 echo "${ECHO_T}yes" >&6; }
9944 else
9945 { echo "$as_me:$LINENO: result: no" >&5
9946 echo "${ECHO_T}no" >&6; }
9947 fi
9948
9949
9950 enablestring=
9951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9952 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9953 no_cache=0
9954 # Check whether --enable-hyperlink was given.
9955 if test "${enable_hyperlink+set}" = set; then
9956 enableval=$enable_hyperlink;
9957 if test "$enableval" = yes; then
9958 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9959 else
9960 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9961 fi
9962
9963 else
9964
9965 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
9966 if test "x$LINE" != x ; then
9967 eval "DEFAULT_$LINE"
9968 else
9969 no_cache=1
9970 fi
9971
9972 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9973
9974 fi
9975
9976
9977 eval "$ac_cv_use_hyperlink"
9978 if test "$no_cache" != 1; then
9979 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9980 fi
9981
9982 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9983 { echo "$as_me:$LINENO: result: yes" >&5
9984 echo "${ECHO_T}yes" >&6; }
9985 else
9986 { echo "$as_me:$LINENO: result: no" >&5
9987 echo "${ECHO_T}no" >&6; }
9988 fi
9989
9990
9991 enablestring=
9992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9993 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9994 no_cache=0
9995 # Check whether --enable-imaglist was given.
9996 if test "${enable_imaglist+set}" = set; then
9997 enableval=$enable_imaglist;
9998 if test "$enableval" = yes; then
9999 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10000 else
10001 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
10002 fi
10003
10004 else
10005
10006 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10009 else
10010 no_cache=1
10011 fi
10012
10013 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
10014
10015 fi
10016
10017
10018 eval "$ac_cv_use_imaglist"
10019 if test "$no_cache" != 1; then
10020 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
10021 fi
10022
10023 if test "$wxUSE_IMAGLIST" = yes; then
10024 { echo "$as_me:$LINENO: result: yes" >&5
10025 echo "${ECHO_T}yes" >&6; }
10026 else
10027 { echo "$as_me:$LINENO: result: no" >&5
10028 echo "${ECHO_T}no" >&6; }
10029 fi
10030
10031
10032 enablestring=
10033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10034 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10035 no_cache=0
10036 # Check whether --enable-listbook was given.
10037 if test "${enable_listbook+set}" = set; then
10038 enableval=$enable_listbook;
10039 if test "$enableval" = yes; then
10040 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
10041 else
10042 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
10043 fi
10044
10045 else
10046
10047 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x ; then
10049 eval "DEFAULT_$LINE"
10050 else
10051 no_cache=1
10052 fi
10053
10054 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10055
10056 fi
10057
10058
10059 eval "$ac_cv_use_listbook"
10060 if test "$no_cache" != 1; then
10061 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10062 fi
10063
10064 if test "$wxUSE_LISTBOOK" = yes; then
10065 { echo "$as_me:$LINENO: result: yes" >&5
10066 echo "${ECHO_T}yes" >&6; }
10067 else
10068 { echo "$as_me:$LINENO: result: no" >&5
10069 echo "${ECHO_T}no" >&6; }
10070 fi
10071
10072
10073 enablestring=
10074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10075 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10076 no_cache=0
10077 # Check whether --enable-listbox was given.
10078 if test "${enable_listbox+set}" = set; then
10079 enableval=$enable_listbox;
10080 if test "$enableval" = yes; then
10081 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10082 else
10083 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10084 fi
10085
10086 else
10087
10088 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x ; then
10090 eval "DEFAULT_$LINE"
10091 else
10092 no_cache=1
10093 fi
10094
10095 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10096
10097 fi
10098
10099
10100 eval "$ac_cv_use_listbox"
10101 if test "$no_cache" != 1; then
10102 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10103 fi
10104
10105 if test "$wxUSE_LISTBOX" = yes; then
10106 { echo "$as_me:$LINENO: result: yes" >&5
10107 echo "${ECHO_T}yes" >&6; }
10108 else
10109 { echo "$as_me:$LINENO: result: no" >&5
10110 echo "${ECHO_T}no" >&6; }
10111 fi
10112
10113
10114 enablestring=
10115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10116 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10117 no_cache=0
10118 # Check whether --enable-listctrl was given.
10119 if test "${enable_listctrl+set}" = set; then
10120 enableval=$enable_listctrl;
10121 if test "$enableval" = yes; then
10122 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10123 else
10124 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10125 fi
10126
10127 else
10128
10129 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x ; then
10131 eval "DEFAULT_$LINE"
10132 else
10133 no_cache=1
10134 fi
10135
10136 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10137
10138 fi
10139
10140
10141 eval "$ac_cv_use_listctrl"
10142 if test "$no_cache" != 1; then
10143 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10144 fi
10145
10146 if test "$wxUSE_LISTCTRL" = yes; then
10147 { echo "$as_me:$LINENO: result: yes" >&5
10148 echo "${ECHO_T}yes" >&6; }
10149 else
10150 { echo "$as_me:$LINENO: result: no" >&5
10151 echo "${ECHO_T}no" >&6; }
10152 fi
10153
10154
10155 enablestring=
10156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10158 no_cache=0
10159 # Check whether --enable-notebook was given.
10160 if test "${enable_notebook+set}" = set; then
10161 enableval=$enable_notebook;
10162 if test "$enableval" = yes; then
10163 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10164 else
10165 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10166 fi
10167
10168 else
10169
10170 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x ; then
10172 eval "DEFAULT_$LINE"
10173 else
10174 no_cache=1
10175 fi
10176
10177 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10178
10179 fi
10180
10181
10182 eval "$ac_cv_use_notebook"
10183 if test "$no_cache" != 1; then
10184 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10185 fi
10186
10187 if test "$wxUSE_NOTEBOOK" = yes; then
10188 { echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6; }
10190 else
10191 { echo "$as_me:$LINENO: result: no" >&5
10192 echo "${ECHO_T}no" >&6; }
10193 fi
10194
10195
10196 enablestring=
10197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10199 no_cache=0
10200 # Check whether --enable-odcombobox was given.
10201 if test "${enable_odcombobox+set}" = set; then
10202 enableval=$enable_odcombobox;
10203 if test "$enableval" = yes; then
10204 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10205 else
10206 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10207 fi
10208
10209 else
10210
10211 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x ; then
10213 eval "DEFAULT_$LINE"
10214 else
10215 no_cache=1
10216 fi
10217
10218 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10219
10220 fi
10221
10222
10223 eval "$ac_cv_use_odcombobox"
10224 if test "$no_cache" != 1; then
10225 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10226 fi
10227
10228 if test "$wxUSE_ODCOMBOBOX" = yes; then
10229 { echo "$as_me:$LINENO: result: yes" >&5
10230 echo "${ECHO_T}yes" >&6; }
10231 else
10232 { echo "$as_me:$LINENO: result: no" >&5
10233 echo "${ECHO_T}no" >&6; }
10234 fi
10235
10236
10237 enablestring=
10238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10239 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10240 no_cache=0
10241 # Check whether --enable-radiobox was given.
10242 if test "${enable_radiobox+set}" = set; then
10243 enableval=$enable_radiobox;
10244 if test "$enableval" = yes; then
10245 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10246 else
10247 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10248 fi
10249
10250 else
10251
10252 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
10253 if test "x$LINE" != x ; then
10254 eval "DEFAULT_$LINE"
10255 else
10256 no_cache=1
10257 fi
10258
10259 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10260
10261 fi
10262
10263
10264 eval "$ac_cv_use_radiobox"
10265 if test "$no_cache" != 1; then
10266 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10267 fi
10268
10269 if test "$wxUSE_RADIOBOX" = yes; then
10270 { echo "$as_me:$LINENO: result: yes" >&5
10271 echo "${ECHO_T}yes" >&6; }
10272 else
10273 { echo "$as_me:$LINENO: result: no" >&5
10274 echo "${ECHO_T}no" >&6; }
10275 fi
10276
10277
10278 enablestring=
10279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10281 no_cache=0
10282 # Check whether --enable-radiobtn was given.
10283 if test "${enable_radiobtn+set}" = set; then
10284 enableval=$enable_radiobtn;
10285 if test "$enableval" = yes; then
10286 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10287 else
10288 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10289 fi
10290
10291 else
10292
10293 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
10294 if test "x$LINE" != x ; then
10295 eval "DEFAULT_$LINE"
10296 else
10297 no_cache=1
10298 fi
10299
10300 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10301
10302 fi
10303
10304
10305 eval "$ac_cv_use_radiobtn"
10306 if test "$no_cache" != 1; then
10307 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10308 fi
10309
10310 if test "$wxUSE_RADIOBTN" = yes; then
10311 { echo "$as_me:$LINENO: result: yes" >&5
10312 echo "${ECHO_T}yes" >&6; }
10313 else
10314 { echo "$as_me:$LINENO: result: no" >&5
10315 echo "${ECHO_T}no" >&6; }
10316 fi
10317
10318
10319 enablestring=
10320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10321 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10322 no_cache=0
10323 # Check whether --enable-sash was given.
10324 if test "${enable_sash+set}" = set; then
10325 enableval=$enable_sash;
10326 if test "$enableval" = yes; then
10327 ac_cv_use_sash='wxUSE_SASH=yes'
10328 else
10329 ac_cv_use_sash='wxUSE_SASH=no'
10330 fi
10331
10332 else
10333
10334 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
10335 if test "x$LINE" != x ; then
10336 eval "DEFAULT_$LINE"
10337 else
10338 no_cache=1
10339 fi
10340
10341 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10342
10343 fi
10344
10345
10346 eval "$ac_cv_use_sash"
10347 if test "$no_cache" != 1; then
10348 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10349 fi
10350
10351 if test "$wxUSE_SASH" = yes; then
10352 { echo "$as_me:$LINENO: result: yes" >&5
10353 echo "${ECHO_T}yes" >&6; }
10354 else
10355 { echo "$as_me:$LINENO: result: no" >&5
10356 echo "${ECHO_T}no" >&6; }
10357 fi
10358
10359
10360 enablestring=
10361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10362 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10363 no_cache=0
10364 # Check whether --enable-scrollbar was given.
10365 if test "${enable_scrollbar+set}" = set; then
10366 enableval=$enable_scrollbar;
10367 if test "$enableval" = yes; then
10368 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10369 else
10370 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10371 fi
10372
10373 else
10374
10375 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
10376 if test "x$LINE" != x ; then
10377 eval "DEFAULT_$LINE"
10378 else
10379 no_cache=1
10380 fi
10381
10382 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10383
10384 fi
10385
10386
10387 eval "$ac_cv_use_scrollbar"
10388 if test "$no_cache" != 1; then
10389 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10390 fi
10391
10392 if test "$wxUSE_SCROLLBAR" = yes; then
10393 { echo "$as_me:$LINENO: result: yes" >&5
10394 echo "${ECHO_T}yes" >&6; }
10395 else
10396 { echo "$as_me:$LINENO: result: no" >&5
10397 echo "${ECHO_T}no" >&6; }
10398 fi
10399
10400
10401 enablestring=
10402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10403 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10404 no_cache=0
10405 # Check whether --enable-searchctrl was given.
10406 if test "${enable_searchctrl+set}" = set; then
10407 enableval=$enable_searchctrl;
10408 if test "$enableval" = yes; then
10409 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10410 else
10411 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10412 fi
10413
10414 else
10415
10416 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
10417 if test "x$LINE" != x ; then
10418 eval "DEFAULT_$LINE"
10419 else
10420 no_cache=1
10421 fi
10422
10423 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10424
10425 fi
10426
10427
10428 eval "$ac_cv_use_searchctrl"
10429 if test "$no_cache" != 1; then
10430 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10431 fi
10432
10433 if test "$wxUSE_SEARCHCTRL" = yes; then
10434 { echo "$as_me:$LINENO: result: yes" >&5
10435 echo "${ECHO_T}yes" >&6; }
10436 else
10437 { echo "$as_me:$LINENO: result: no" >&5
10438 echo "${ECHO_T}no" >&6; }
10439 fi
10440
10441
10442 enablestring=
10443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10444 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10445 no_cache=0
10446 # Check whether --enable-slider was given.
10447 if test "${enable_slider+set}" = set; then
10448 enableval=$enable_slider;
10449 if test "$enableval" = yes; then
10450 ac_cv_use_slider='wxUSE_SLIDER=yes'
10451 else
10452 ac_cv_use_slider='wxUSE_SLIDER=no'
10453 fi
10454
10455 else
10456
10457 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
10458 if test "x$LINE" != x ; then
10459 eval "DEFAULT_$LINE"
10460 else
10461 no_cache=1
10462 fi
10463
10464 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10465
10466 fi
10467
10468
10469 eval "$ac_cv_use_slider"
10470 if test "$no_cache" != 1; then
10471 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10472 fi
10473
10474 if test "$wxUSE_SLIDER" = yes; then
10475 { echo "$as_me:$LINENO: result: yes" >&5
10476 echo "${ECHO_T}yes" >&6; }
10477 else
10478 { echo "$as_me:$LINENO: result: no" >&5
10479 echo "${ECHO_T}no" >&6; }
10480 fi
10481
10482
10483 enablestring=
10484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10485 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10486 no_cache=0
10487 # Check whether --enable-spinbtn was given.
10488 if test "${enable_spinbtn+set}" = set; then
10489 enableval=$enable_spinbtn;
10490 if test "$enableval" = yes; then
10491 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10492 else
10493 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10494 fi
10495
10496 else
10497
10498 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
10499 if test "x$LINE" != x ; then
10500 eval "DEFAULT_$LINE"
10501 else
10502 no_cache=1
10503 fi
10504
10505 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10506
10507 fi
10508
10509
10510 eval "$ac_cv_use_spinbtn"
10511 if test "$no_cache" != 1; then
10512 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10513 fi
10514
10515 if test "$wxUSE_SPINBTN" = yes; then
10516 { echo "$as_me:$LINENO: result: yes" >&5
10517 echo "${ECHO_T}yes" >&6; }
10518 else
10519 { echo "$as_me:$LINENO: result: no" >&5
10520 echo "${ECHO_T}no" >&6; }
10521 fi
10522
10523
10524 enablestring=
10525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10526 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10527 no_cache=0
10528 # Check whether --enable-spinctrl was given.
10529 if test "${enable_spinctrl+set}" = set; then
10530 enableval=$enable_spinctrl;
10531 if test "$enableval" = yes; then
10532 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10533 else
10534 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10535 fi
10536
10537 else
10538
10539 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
10540 if test "x$LINE" != x ; then
10541 eval "DEFAULT_$LINE"
10542 else
10543 no_cache=1
10544 fi
10545
10546 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10547
10548 fi
10549
10550
10551 eval "$ac_cv_use_spinctrl"
10552 if test "$no_cache" != 1; then
10553 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10554 fi
10555
10556 if test "$wxUSE_SPINCTRL" = yes; then
10557 { echo "$as_me:$LINENO: result: yes" >&5
10558 echo "${ECHO_T}yes" >&6; }
10559 else
10560 { echo "$as_me:$LINENO: result: no" >&5
10561 echo "${ECHO_T}no" >&6; }
10562 fi
10563
10564
10565 enablestring=
10566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10567 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10568 no_cache=0
10569 # Check whether --enable-splitter was given.
10570 if test "${enable_splitter+set}" = set; then
10571 enableval=$enable_splitter;
10572 if test "$enableval" = yes; then
10573 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10574 else
10575 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10576 fi
10577
10578 else
10579
10580 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
10581 if test "x$LINE" != x ; then
10582 eval "DEFAULT_$LINE"
10583 else
10584 no_cache=1
10585 fi
10586
10587 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10588
10589 fi
10590
10591
10592 eval "$ac_cv_use_splitter"
10593 if test "$no_cache" != 1; then
10594 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10595 fi
10596
10597 if test "$wxUSE_SPLITTER" = yes; then
10598 { echo "$as_me:$LINENO: result: yes" >&5
10599 echo "${ECHO_T}yes" >&6; }
10600 else
10601 { echo "$as_me:$LINENO: result: no" >&5
10602 echo "${ECHO_T}no" >&6; }
10603 fi
10604
10605
10606 enablestring=
10607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10608 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10609 no_cache=0
10610 # Check whether --enable-statbmp was given.
10611 if test "${enable_statbmp+set}" = set; then
10612 enableval=$enable_statbmp;
10613 if test "$enableval" = yes; then
10614 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10615 else
10616 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10617 fi
10618
10619 else
10620
10621 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
10622 if test "x$LINE" != x ; then
10623 eval "DEFAULT_$LINE"
10624 else
10625 no_cache=1
10626 fi
10627
10628 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10629
10630 fi
10631
10632
10633 eval "$ac_cv_use_statbmp"
10634 if test "$no_cache" != 1; then
10635 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10636 fi
10637
10638 if test "$wxUSE_STATBMP" = yes; then
10639 { echo "$as_me:$LINENO: result: yes" >&5
10640 echo "${ECHO_T}yes" >&6; }
10641 else
10642 { echo "$as_me:$LINENO: result: no" >&5
10643 echo "${ECHO_T}no" >&6; }
10644 fi
10645
10646
10647 enablestring=
10648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10649 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10650 no_cache=0
10651 # Check whether --enable-statbox was given.
10652 if test "${enable_statbox+set}" = set; then
10653 enableval=$enable_statbox;
10654 if test "$enableval" = yes; then
10655 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10656 else
10657 ac_cv_use_statbox='wxUSE_STATBOX=no'
10658 fi
10659
10660 else
10661
10662 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
10663 if test "x$LINE" != x ; then
10664 eval "DEFAULT_$LINE"
10665 else
10666 no_cache=1
10667 fi
10668
10669 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10670
10671 fi
10672
10673
10674 eval "$ac_cv_use_statbox"
10675 if test "$no_cache" != 1; then
10676 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10677 fi
10678
10679 if test "$wxUSE_STATBOX" = yes; then
10680 { echo "$as_me:$LINENO: result: yes" >&5
10681 echo "${ECHO_T}yes" >&6; }
10682 else
10683 { echo "$as_me:$LINENO: result: no" >&5
10684 echo "${ECHO_T}no" >&6; }
10685 fi
10686
10687
10688 enablestring=
10689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10690 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10691 no_cache=0
10692 # Check whether --enable-statline was given.
10693 if test "${enable_statline+set}" = set; then
10694 enableval=$enable_statline;
10695 if test "$enableval" = yes; then
10696 ac_cv_use_statline='wxUSE_STATLINE=yes'
10697 else
10698 ac_cv_use_statline='wxUSE_STATLINE=no'
10699 fi
10700
10701 else
10702
10703 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
10704 if test "x$LINE" != x ; then
10705 eval "DEFAULT_$LINE"
10706 else
10707 no_cache=1
10708 fi
10709
10710 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10711
10712 fi
10713
10714
10715 eval "$ac_cv_use_statline"
10716 if test "$no_cache" != 1; then
10717 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10718 fi
10719
10720 if test "$wxUSE_STATLINE" = yes; then
10721 { echo "$as_me:$LINENO: result: yes" >&5
10722 echo "${ECHO_T}yes" >&6; }
10723 else
10724 { echo "$as_me:$LINENO: result: no" >&5
10725 echo "${ECHO_T}no" >&6; }
10726 fi
10727
10728
10729 enablestring=
10730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10731 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10732 no_cache=0
10733 # Check whether --enable-stattext was given.
10734 if test "${enable_stattext+set}" = set; then
10735 enableval=$enable_stattext;
10736 if test "$enableval" = yes; then
10737 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10738 else
10739 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10740 fi
10741
10742 else
10743
10744 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
10745 if test "x$LINE" != x ; then
10746 eval "DEFAULT_$LINE"
10747 else
10748 no_cache=1
10749 fi
10750
10751 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10752
10753 fi
10754
10755
10756 eval "$ac_cv_use_stattext"
10757 if test "$no_cache" != 1; then
10758 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10759 fi
10760
10761 if test "$wxUSE_STATTEXT" = yes; then
10762 { echo "$as_me:$LINENO: result: yes" >&5
10763 echo "${ECHO_T}yes" >&6; }
10764 else
10765 { echo "$as_me:$LINENO: result: no" >&5
10766 echo "${ECHO_T}no" >&6; }
10767 fi
10768
10769
10770 enablestring=
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10773 no_cache=0
10774 # Check whether --enable-statusbar was given.
10775 if test "${enable_statusbar+set}" = set; then
10776 enableval=$enable_statusbar;
10777 if test "$enableval" = yes; then
10778 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10779 else
10780 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10781 fi
10782
10783 else
10784
10785 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
10786 if test "x$LINE" != x ; then
10787 eval "DEFAULT_$LINE"
10788 else
10789 no_cache=1
10790 fi
10791
10792 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10793
10794 fi
10795
10796
10797 eval "$ac_cv_use_statusbar"
10798 if test "$no_cache" != 1; then
10799 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10800 fi
10801
10802 if test "$wxUSE_STATUSBAR" = yes; then
10803 { echo "$as_me:$LINENO: result: yes" >&5
10804 echo "${ECHO_T}yes" >&6; }
10805 else
10806 { echo "$as_me:$LINENO: result: no" >&5
10807 echo "${ECHO_T}no" >&6; }
10808 fi
10809
10810
10811 enablestring=
10812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10813 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10814 no_cache=0
10815 # Check whether --enable-tabdialog was given.
10816 if test "${enable_tabdialog+set}" = set; then
10817 enableval=$enable_tabdialog;
10818 if test "$enableval" = yes; then
10819 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10820 else
10821 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10822 fi
10823
10824 else
10825
10826 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
10827 if test "x$LINE" != x ; then
10828 eval "DEFAULT_$LINE"
10829 else
10830 no_cache=1
10831 fi
10832
10833 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10834
10835 fi
10836
10837
10838 eval "$ac_cv_use_tabdialog"
10839 if test "$no_cache" != 1; then
10840 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10841 fi
10842
10843 if test "$wxUSE_TAB_DIALOG" = yes; then
10844 { echo "$as_me:$LINENO: result: yes" >&5
10845 echo "${ECHO_T}yes" >&6; }
10846 else
10847 { echo "$as_me:$LINENO: result: no" >&5
10848 echo "${ECHO_T}no" >&6; }
10849 fi
10850
10851
10852 enablestring=
10853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10854 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10855 no_cache=0
10856 # Check whether --enable-textctrl was given.
10857 if test "${enable_textctrl+set}" = set; then
10858 enableval=$enable_textctrl;
10859 if test "$enableval" = yes; then
10860 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10861 else
10862 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10863 fi
10864
10865 else
10866
10867 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
10868 if test "x$LINE" != x ; then
10869 eval "DEFAULT_$LINE"
10870 else
10871 no_cache=1
10872 fi
10873
10874 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10875
10876 fi
10877
10878
10879 eval "$ac_cv_use_textctrl"
10880 if test "$no_cache" != 1; then
10881 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10882 fi
10883
10884 if test "$wxUSE_TEXTCTRL" = yes; then
10885 { echo "$as_me:$LINENO: result: yes" >&5
10886 echo "${ECHO_T}yes" >&6; }
10887 else
10888 { echo "$as_me:$LINENO: result: no" >&5
10889 echo "${ECHO_T}no" >&6; }
10890 fi
10891
10892
10893 enablestring=
10894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10895 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10896 no_cache=0
10897 # Check whether --enable-togglebtn was given.
10898 if test "${enable_togglebtn+set}" = set; then
10899 enableval=$enable_togglebtn;
10900 if test "$enableval" = yes; then
10901 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10902 else
10903 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10904 fi
10905
10906 else
10907
10908 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
10909 if test "x$LINE" != x ; then
10910 eval "DEFAULT_$LINE"
10911 else
10912 no_cache=1
10913 fi
10914
10915 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10916
10917 fi
10918
10919
10920 eval "$ac_cv_use_togglebtn"
10921 if test "$no_cache" != 1; then
10922 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10923 fi
10924
10925 if test "$wxUSE_TOGGLEBTN" = yes; then
10926 { echo "$as_me:$LINENO: result: yes" >&5
10927 echo "${ECHO_T}yes" >&6; }
10928 else
10929 { echo "$as_me:$LINENO: result: no" >&5
10930 echo "${ECHO_T}no" >&6; }
10931 fi
10932
10933
10934 enablestring=
10935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10936 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10937 no_cache=0
10938 # Check whether --enable-toolbar was given.
10939 if test "${enable_toolbar+set}" = set; then
10940 enableval=$enable_toolbar;
10941 if test "$enableval" = yes; then
10942 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10943 else
10944 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10945 fi
10946
10947 else
10948
10949 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
10950 if test "x$LINE" != x ; then
10951 eval "DEFAULT_$LINE"
10952 else
10953 no_cache=1
10954 fi
10955
10956 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10957
10958 fi
10959
10960
10961 eval "$ac_cv_use_toolbar"
10962 if test "$no_cache" != 1; then
10963 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10964 fi
10965
10966 if test "$wxUSE_TOOLBAR" = yes; then
10967 { echo "$as_me:$LINENO: result: yes" >&5
10968 echo "${ECHO_T}yes" >&6; }
10969 else
10970 { echo "$as_me:$LINENO: result: no" >&5
10971 echo "${ECHO_T}no" >&6; }
10972 fi
10973
10974
10975 enablestring=
10976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10977 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10978 no_cache=0
10979 # Check whether --enable-tbarnative was given.
10980 if test "${enable_tbarnative+set}" = set; then
10981 enableval=$enable_tbarnative;
10982 if test "$enableval" = yes; then
10983 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10984 else
10985 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10986 fi
10987
10988 else
10989
10990 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
10991 if test "x$LINE" != x ; then
10992 eval "DEFAULT_$LINE"
10993 else
10994 no_cache=1
10995 fi
10996
10997 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10998
10999 fi
11000
11001
11002 eval "$ac_cv_use_tbarnative"
11003 if test "$no_cache" != 1; then
11004 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
11005 fi
11006
11007 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
11008 { echo "$as_me:$LINENO: result: yes" >&5
11009 echo "${ECHO_T}yes" >&6; }
11010 else
11011 { echo "$as_me:$LINENO: result: no" >&5
11012 echo "${ECHO_T}no" >&6; }
11013 fi
11014
11015
11016 enablestring=
11017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11019 no_cache=0
11020 # Check whether --enable-treebook was given.
11021 if test "${enable_treebook+set}" = set; then
11022 enableval=$enable_treebook;
11023 if test "$enableval" = yes; then
11024 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
11025 else
11026 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
11027 fi
11028
11029 else
11030
11031 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
11032 if test "x$LINE" != x ; then
11033 eval "DEFAULT_$LINE"
11034 else
11035 no_cache=1
11036 fi
11037
11038 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
11039
11040 fi
11041
11042
11043 eval "$ac_cv_use_treebook"
11044 if test "$no_cache" != 1; then
11045 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11046 fi
11047
11048 if test "$wxUSE_TREEBOOK" = yes; then
11049 { echo "$as_me:$LINENO: result: yes" >&5
11050 echo "${ECHO_T}yes" >&6; }
11051 else
11052 { echo "$as_me:$LINENO: result: no" >&5
11053 echo "${ECHO_T}no" >&6; }
11054 fi
11055
11056
11057 enablestring=
11058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11060 no_cache=0
11061 # Check whether --enable-toolbook was given.
11062 if test "${enable_toolbook+set}" = set; then
11063 enableval=$enable_toolbook;
11064 if test "$enableval" = yes; then
11065 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11066 else
11067 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11068 fi
11069
11070 else
11071
11072 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
11073 if test "x$LINE" != x ; then
11074 eval "DEFAULT_$LINE"
11075 else
11076 no_cache=1
11077 fi
11078
11079 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11080
11081 fi
11082
11083
11084 eval "$ac_cv_use_toolbook"
11085 if test "$no_cache" != 1; then
11086 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11087 fi
11088
11089 if test "$wxUSE_TOOLBOOK" = yes; then
11090 { echo "$as_me:$LINENO: result: yes" >&5
11091 echo "${ECHO_T}yes" >&6; }
11092 else
11093 { echo "$as_me:$LINENO: result: no" >&5
11094 echo "${ECHO_T}no" >&6; }
11095 fi
11096
11097
11098 enablestring=
11099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11100 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11101 no_cache=0
11102 # Check whether --enable-treectrl was given.
11103 if test "${enable_treectrl+set}" = set; then
11104 enableval=$enable_treectrl;
11105 if test "$enableval" = yes; then
11106 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11107 else
11108 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11109 fi
11110
11111 else
11112
11113 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
11114 if test "x$LINE" != x ; then
11115 eval "DEFAULT_$LINE"
11116 else
11117 no_cache=1
11118 fi
11119
11120 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11121
11122 fi
11123
11124
11125 eval "$ac_cv_use_treectrl"
11126 if test "$no_cache" != 1; then
11127 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11128 fi
11129
11130 if test "$wxUSE_TREECTRL" = yes; then
11131 { echo "$as_me:$LINENO: result: yes" >&5
11132 echo "${ECHO_T}yes" >&6; }
11133 else
11134 { echo "$as_me:$LINENO: result: no" >&5
11135 echo "${ECHO_T}no" >&6; }
11136 fi
11137
11138
11139 enablestring=
11140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11141 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11142 no_cache=0
11143 # Check whether --enable-tipwindow was given.
11144 if test "${enable_tipwindow+set}" = set; then
11145 enableval=$enable_tipwindow;
11146 if test "$enableval" = yes; then
11147 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11148 else
11149 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11150 fi
11151
11152 else
11153
11154 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
11155 if test "x$LINE" != x ; then
11156 eval "DEFAULT_$LINE"
11157 else
11158 no_cache=1
11159 fi
11160
11161 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11162
11163 fi
11164
11165
11166 eval "$ac_cv_use_tipwindow"
11167 if test "$no_cache" != 1; then
11168 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11169 fi
11170
11171 if test "$wxUSE_TIPWINDOW" = yes; then
11172 { echo "$as_me:$LINENO: result: yes" >&5
11173 echo "${ECHO_T}yes" >&6; }
11174 else
11175 { echo "$as_me:$LINENO: result: no" >&5
11176 echo "${ECHO_T}no" >&6; }
11177 fi
11178
11179
11180 enablestring=
11181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11182 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11183 no_cache=0
11184 # Check whether --enable-popupwin was given.
11185 if test "${enable_popupwin+set}" = set; then
11186 enableval=$enable_popupwin;
11187 if test "$enableval" = yes; then
11188 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11189 else
11190 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11191 fi
11192
11193 else
11194
11195 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
11196 if test "x$LINE" != x ; then
11197 eval "DEFAULT_$LINE"
11198 else
11199 no_cache=1
11200 fi
11201
11202 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11203
11204 fi
11205
11206
11207 eval "$ac_cv_use_popupwin"
11208 if test "$no_cache" != 1; then
11209 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11210 fi
11211
11212 if test "$wxUSE_POPUPWIN" = yes; then
11213 { echo "$as_me:$LINENO: result: yes" >&5
11214 echo "${ECHO_T}yes" >&6; }
11215 else
11216 { echo "$as_me:$LINENO: result: no" >&5
11217 echo "${ECHO_T}no" >&6; }
11218 fi
11219
11220
11221
11222
11223 enablestring=
11224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11225 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11226 no_cache=0
11227 # Check whether --enable-commondlg was given.
11228 if test "${enable_commondlg+set}" = set; then
11229 enableval=$enable_commondlg;
11230 if test "$enableval" = yes; then
11231 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11232 else
11233 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11234 fi
11235
11236 else
11237
11238 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
11239 if test "x$LINE" != x ; then
11240 eval "DEFAULT_$LINE"
11241 else
11242 no_cache=1
11243 fi
11244
11245 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11246
11247 fi
11248
11249
11250 eval "$ac_cv_use_commondlg"
11251 if test "$no_cache" != 1; then
11252 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11253 fi
11254
11255 if test "$wxUSE_COMMONDLGS" = yes; then
11256 { echo "$as_me:$LINENO: result: yes" >&5
11257 echo "${ECHO_T}yes" >&6; }
11258 else
11259 { echo "$as_me:$LINENO: result: no" >&5
11260 echo "${ECHO_T}no" >&6; }
11261 fi
11262
11263
11264 enablestring=
11265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11266 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11267 no_cache=0
11268 # Check whether --enable-aboutdlg was given.
11269 if test "${enable_aboutdlg+set}" = set; then
11270 enableval=$enable_aboutdlg;
11271 if test "$enableval" = yes; then
11272 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11273 else
11274 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11275 fi
11276
11277 else
11278
11279 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
11280 if test "x$LINE" != x ; then
11281 eval "DEFAULT_$LINE"
11282 else
11283 no_cache=1
11284 fi
11285
11286 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11287
11288 fi
11289
11290
11291 eval "$ac_cv_use_aboutdlg"
11292 if test "$no_cache" != 1; then
11293 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11294 fi
11295
11296 if test "$wxUSE_ABOUTDLG" = yes; then
11297 { echo "$as_me:$LINENO: result: yes" >&5
11298 echo "${ECHO_T}yes" >&6; }
11299 else
11300 { echo "$as_me:$LINENO: result: no" >&5
11301 echo "${ECHO_T}no" >&6; }
11302 fi
11303
11304
11305 enablestring=
11306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11307 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11308 no_cache=0
11309 # Check whether --enable-choicedlg was given.
11310 if test "${enable_choicedlg+set}" = set; then
11311 enableval=$enable_choicedlg;
11312 if test "$enableval" = yes; then
11313 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11314 else
11315 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11316 fi
11317
11318 else
11319
11320 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
11321 if test "x$LINE" != x ; then
11322 eval "DEFAULT_$LINE"
11323 else
11324 no_cache=1
11325 fi
11326
11327 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11328
11329 fi
11330
11331
11332 eval "$ac_cv_use_choicedlg"
11333 if test "$no_cache" != 1; then
11334 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11335 fi
11336
11337 if test "$wxUSE_CHOICEDLG" = yes; then
11338 { echo "$as_me:$LINENO: result: yes" >&5
11339 echo "${ECHO_T}yes" >&6; }
11340 else
11341 { echo "$as_me:$LINENO: result: no" >&5
11342 echo "${ECHO_T}no" >&6; }
11343 fi
11344
11345
11346 enablestring=
11347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11348 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11349 no_cache=0
11350 # Check whether --enable-coldlg was given.
11351 if test "${enable_coldlg+set}" = set; then
11352 enableval=$enable_coldlg;
11353 if test "$enableval" = yes; then
11354 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11355 else
11356 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11357 fi
11358
11359 else
11360
11361 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
11362 if test "x$LINE" != x ; then
11363 eval "DEFAULT_$LINE"
11364 else
11365 no_cache=1
11366 fi
11367
11368 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11369
11370 fi
11371
11372
11373 eval "$ac_cv_use_coldlg"
11374 if test "$no_cache" != 1; then
11375 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11376 fi
11377
11378 if test "$wxUSE_COLOURDLG" = yes; then
11379 { echo "$as_me:$LINENO: result: yes" >&5
11380 echo "${ECHO_T}yes" >&6; }
11381 else
11382 { echo "$as_me:$LINENO: result: no" >&5
11383 echo "${ECHO_T}no" >&6; }
11384 fi
11385
11386
11387 enablestring=
11388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11389 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11390 no_cache=0
11391 # Check whether --enable-filedlg was given.
11392 if test "${enable_filedlg+set}" = set; then
11393 enableval=$enable_filedlg;
11394 if test "$enableval" = yes; then
11395 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11396 else
11397 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11398 fi
11399
11400 else
11401
11402 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
11403 if test "x$LINE" != x ; then
11404 eval "DEFAULT_$LINE"
11405 else
11406 no_cache=1
11407 fi
11408
11409 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11410
11411 fi
11412
11413
11414 eval "$ac_cv_use_filedlg"
11415 if test "$no_cache" != 1; then
11416 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11417 fi
11418
11419 if test "$wxUSE_FILEDLG" = yes; then
11420 { echo "$as_me:$LINENO: result: yes" >&5
11421 echo "${ECHO_T}yes" >&6; }
11422 else
11423 { echo "$as_me:$LINENO: result: no" >&5
11424 echo "${ECHO_T}no" >&6; }
11425 fi
11426
11427
11428 enablestring=
11429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11431 no_cache=0
11432 # Check whether --enable-finddlg was given.
11433 if test "${enable_finddlg+set}" = set; then
11434 enableval=$enable_finddlg;
11435 if test "$enableval" = yes; then
11436 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11437 else
11438 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11439 fi
11440
11441 else
11442
11443 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
11444 if test "x$LINE" != x ; then
11445 eval "DEFAULT_$LINE"
11446 else
11447 no_cache=1
11448 fi
11449
11450 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11451
11452 fi
11453
11454
11455 eval "$ac_cv_use_finddlg"
11456 if test "$no_cache" != 1; then
11457 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11458 fi
11459
11460 if test "$wxUSE_FINDREPLDLG" = yes; then
11461 { echo "$as_me:$LINENO: result: yes" >&5
11462 echo "${ECHO_T}yes" >&6; }
11463 else
11464 { echo "$as_me:$LINENO: result: no" >&5
11465 echo "${ECHO_T}no" >&6; }
11466 fi
11467
11468
11469 enablestring=
11470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11471 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11472 no_cache=0
11473 # Check whether --enable-fontdlg was given.
11474 if test "${enable_fontdlg+set}" = set; then
11475 enableval=$enable_fontdlg;
11476 if test "$enableval" = yes; then
11477 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11478 else
11479 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11480 fi
11481
11482 else
11483
11484 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
11485 if test "x$LINE" != x ; then
11486 eval "DEFAULT_$LINE"
11487 else
11488 no_cache=1
11489 fi
11490
11491 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11492
11493 fi
11494
11495
11496 eval "$ac_cv_use_fontdlg"
11497 if test "$no_cache" != 1; then
11498 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11499 fi
11500
11501 if test "$wxUSE_FONTDLG" = yes; then
11502 { echo "$as_me:$LINENO: result: yes" >&5
11503 echo "${ECHO_T}yes" >&6; }
11504 else
11505 { echo "$as_me:$LINENO: result: no" >&5
11506 echo "${ECHO_T}no" >&6; }
11507 fi
11508
11509
11510 enablestring=
11511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11513 no_cache=0
11514 # Check whether --enable-dirdlg was given.
11515 if test "${enable_dirdlg+set}" = set; then
11516 enableval=$enable_dirdlg;
11517 if test "$enableval" = yes; then
11518 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11519 else
11520 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11521 fi
11522
11523 else
11524
11525 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
11526 if test "x$LINE" != x ; then
11527 eval "DEFAULT_$LINE"
11528 else
11529 no_cache=1
11530 fi
11531
11532 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11533
11534 fi
11535
11536
11537 eval "$ac_cv_use_dirdlg"
11538 if test "$no_cache" != 1; then
11539 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11540 fi
11541
11542 if test "$wxUSE_DIRDLG" = yes; then
11543 { echo "$as_me:$LINENO: result: yes" >&5
11544 echo "${ECHO_T}yes" >&6; }
11545 else
11546 { echo "$as_me:$LINENO: result: no" >&5
11547 echo "${ECHO_T}no" >&6; }
11548 fi
11549
11550
11551 enablestring=
11552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11553 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11554 no_cache=0
11555 # Check whether --enable-msgdlg was given.
11556 if test "${enable_msgdlg+set}" = set; then
11557 enableval=$enable_msgdlg;
11558 if test "$enableval" = yes; then
11559 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11560 else
11561 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11562 fi
11563
11564 else
11565
11566 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
11567 if test "x$LINE" != x ; then
11568 eval "DEFAULT_$LINE"
11569 else
11570 no_cache=1
11571 fi
11572
11573 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11574
11575 fi
11576
11577
11578 eval "$ac_cv_use_msgdlg"
11579 if test "$no_cache" != 1; then
11580 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11581 fi
11582
11583 if test "$wxUSE_MSGDLG" = yes; then
11584 { echo "$as_me:$LINENO: result: yes" >&5
11585 echo "${ECHO_T}yes" >&6; }
11586 else
11587 { echo "$as_me:$LINENO: result: no" >&5
11588 echo "${ECHO_T}no" >&6; }
11589 fi
11590
11591
11592 enablestring=
11593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11594 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11595 no_cache=0
11596 # Check whether --enable-numberdlg was given.
11597 if test "${enable_numberdlg+set}" = set; then
11598 enableval=$enable_numberdlg;
11599 if test "$enableval" = yes; then
11600 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11601 else
11602 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11603 fi
11604
11605 else
11606
11607 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
11608 if test "x$LINE" != x ; then
11609 eval "DEFAULT_$LINE"
11610 else
11611 no_cache=1
11612 fi
11613
11614 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11615
11616 fi
11617
11618
11619 eval "$ac_cv_use_numberdlg"
11620 if test "$no_cache" != 1; then
11621 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11622 fi
11623
11624 if test "$wxUSE_NUMBERDLG" = yes; then
11625 { echo "$as_me:$LINENO: result: yes" >&5
11626 echo "${ECHO_T}yes" >&6; }
11627 else
11628 { echo "$as_me:$LINENO: result: no" >&5
11629 echo "${ECHO_T}no" >&6; }
11630 fi
11631
11632
11633 enablestring=
11634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11635 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11636 no_cache=0
11637 # Check whether --enable-splash was given.
11638 if test "${enable_splash+set}" = set; then
11639 enableval=$enable_splash;
11640 if test "$enableval" = yes; then
11641 ac_cv_use_splash='wxUSE_SPLASH=yes'
11642 else
11643 ac_cv_use_splash='wxUSE_SPLASH=no'
11644 fi
11645
11646 else
11647
11648 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
11649 if test "x$LINE" != x ; then
11650 eval "DEFAULT_$LINE"
11651 else
11652 no_cache=1
11653 fi
11654
11655 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11656
11657 fi
11658
11659
11660 eval "$ac_cv_use_splash"
11661 if test "$no_cache" != 1; then
11662 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11663 fi
11664
11665 if test "$wxUSE_SPLASH" = yes; then
11666 { echo "$as_me:$LINENO: result: yes" >&5
11667 echo "${ECHO_T}yes" >&6; }
11668 else
11669 { echo "$as_me:$LINENO: result: no" >&5
11670 echo "${ECHO_T}no" >&6; }
11671 fi
11672
11673
11674 enablestring=
11675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11676 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11677 no_cache=0
11678 # Check whether --enable-textdlg was given.
11679 if test "${enable_textdlg+set}" = set; then
11680 enableval=$enable_textdlg;
11681 if test "$enableval" = yes; then
11682 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11683 else
11684 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11685 fi
11686
11687 else
11688
11689 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
11690 if test "x$LINE" != x ; then
11691 eval "DEFAULT_$LINE"
11692 else
11693 no_cache=1
11694 fi
11695
11696 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11697
11698 fi
11699
11700
11701 eval "$ac_cv_use_textdlg"
11702 if test "$no_cache" != 1; then
11703 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11704 fi
11705
11706 if test "$wxUSE_TEXTDLG" = yes; then
11707 { echo "$as_me:$LINENO: result: yes" >&5
11708 echo "${ECHO_T}yes" >&6; }
11709 else
11710 { echo "$as_me:$LINENO: result: no" >&5
11711 echo "${ECHO_T}no" >&6; }
11712 fi
11713
11714
11715 enablestring=
11716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11717 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11718 no_cache=0
11719 # Check whether --enable-tipdlg was given.
11720 if test "${enable_tipdlg+set}" = set; then
11721 enableval=$enable_tipdlg;
11722 if test "$enableval" = yes; then
11723 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11724 else
11725 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11726 fi
11727
11728 else
11729
11730 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
11731 if test "x$LINE" != x ; then
11732 eval "DEFAULT_$LINE"
11733 else
11734 no_cache=1
11735 fi
11736
11737 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11738
11739 fi
11740
11741
11742 eval "$ac_cv_use_tipdlg"
11743 if test "$no_cache" != 1; then
11744 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11745 fi
11746
11747 if test "$wxUSE_STARTUP_TIPS" = yes; then
11748 { echo "$as_me:$LINENO: result: yes" >&5
11749 echo "${ECHO_T}yes" >&6; }
11750 else
11751 { echo "$as_me:$LINENO: result: no" >&5
11752 echo "${ECHO_T}no" >&6; }
11753 fi
11754
11755
11756 enablestring=
11757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11758 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11759 no_cache=0
11760 # Check whether --enable-progressdlg was given.
11761 if test "${enable_progressdlg+set}" = set; then
11762 enableval=$enable_progressdlg;
11763 if test "$enableval" = yes; then
11764 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11765 else
11766 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11767 fi
11768
11769 else
11770
11771 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
11772 if test "x$LINE" != x ; then
11773 eval "DEFAULT_$LINE"
11774 else
11775 no_cache=1
11776 fi
11777
11778 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11779
11780 fi
11781
11782
11783 eval "$ac_cv_use_progressdlg"
11784 if test "$no_cache" != 1; then
11785 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11786 fi
11787
11788 if test "$wxUSE_PROGRESSDLG" = yes; then
11789 { echo "$as_me:$LINENO: result: yes" >&5
11790 echo "${ECHO_T}yes" >&6; }
11791 else
11792 { echo "$as_me:$LINENO: result: no" >&5
11793 echo "${ECHO_T}no" >&6; }
11794 fi
11795
11796
11797 enablestring=
11798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11799 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11800 no_cache=0
11801 # Check whether --enable-wizarddlg was given.
11802 if test "${enable_wizarddlg+set}" = set; then
11803 enableval=$enable_wizarddlg;
11804 if test "$enableval" = yes; then
11805 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11806 else
11807 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11808 fi
11809
11810 else
11811
11812 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
11813 if test "x$LINE" != x ; then
11814 eval "DEFAULT_$LINE"
11815 else
11816 no_cache=1
11817 fi
11818
11819 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11820
11821 fi
11822
11823
11824 eval "$ac_cv_use_wizarddlg"
11825 if test "$no_cache" != 1; then
11826 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11827 fi
11828
11829 if test "$wxUSE_WIZARDDLG" = yes; then
11830 { echo "$as_me:$LINENO: result: yes" >&5
11831 echo "${ECHO_T}yes" >&6; }
11832 else
11833 { echo "$as_me:$LINENO: result: no" >&5
11834 echo "${ECHO_T}no" >&6; }
11835 fi
11836
11837
11838
11839
11840 enablestring=
11841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11842 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11843 no_cache=0
11844 # Check whether --enable-menus was given.
11845 if test "${enable_menus+set}" = set; then
11846 enableval=$enable_menus;
11847 if test "$enableval" = yes; then
11848 ac_cv_use_menus='wxUSE_MENUS=yes'
11849 else
11850 ac_cv_use_menus='wxUSE_MENUS=no'
11851 fi
11852
11853 else
11854
11855 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
11856 if test "x$LINE" != x ; then
11857 eval "DEFAULT_$LINE"
11858 else
11859 no_cache=1
11860 fi
11861
11862 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11863
11864 fi
11865
11866
11867 eval "$ac_cv_use_menus"
11868 if test "$no_cache" != 1; then
11869 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11870 fi
11871
11872 if test "$wxUSE_MENUS" = yes; then
11873 { echo "$as_me:$LINENO: result: yes" >&5
11874 echo "${ECHO_T}yes" >&6; }
11875 else
11876 { echo "$as_me:$LINENO: result: no" >&5
11877 echo "${ECHO_T}no" >&6; }
11878 fi
11879
11880
11881 enablestring=
11882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11883 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11884 no_cache=0
11885 # Check whether --enable-miniframe was given.
11886 if test "${enable_miniframe+set}" = set; then
11887 enableval=$enable_miniframe;
11888 if test "$enableval" = yes; then
11889 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11890 else
11891 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11892 fi
11893
11894 else
11895
11896 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
11897 if test "x$LINE" != x ; then
11898 eval "DEFAULT_$LINE"
11899 else
11900 no_cache=1
11901 fi
11902
11903 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11904
11905 fi
11906
11907
11908 eval "$ac_cv_use_miniframe"
11909 if test "$no_cache" != 1; then
11910 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11911 fi
11912
11913 if test "$wxUSE_MINIFRAME" = yes; then
11914 { echo "$as_me:$LINENO: result: yes" >&5
11915 echo "${ECHO_T}yes" >&6; }
11916 else
11917 { echo "$as_me:$LINENO: result: no" >&5
11918 echo "${ECHO_T}no" >&6; }
11919 fi
11920
11921
11922 enablestring=
11923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11924 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11925 no_cache=0
11926 # Check whether --enable-tooltips was given.
11927 if test "${enable_tooltips+set}" = set; then
11928 enableval=$enable_tooltips;
11929 if test "$enableval" = yes; then
11930 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11931 else
11932 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11933 fi
11934
11935 else
11936
11937 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
11938 if test "x$LINE" != x ; then
11939 eval "DEFAULT_$LINE"
11940 else
11941 no_cache=1
11942 fi
11943
11944 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11945
11946 fi
11947
11948
11949 eval "$ac_cv_use_tooltips"
11950 if test "$no_cache" != 1; then
11951 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11952 fi
11953
11954 if test "$wxUSE_TOOLTIPS" = yes; then
11955 { echo "$as_me:$LINENO: result: yes" >&5
11956 echo "${ECHO_T}yes" >&6; }
11957 else
11958 { echo "$as_me:$LINENO: result: no" >&5
11959 echo "${ECHO_T}no" >&6; }
11960 fi
11961
11962
11963 enablestring=
11964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11965 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11966 no_cache=0
11967 # Check whether --enable-splines was given.
11968 if test "${enable_splines+set}" = set; then
11969 enableval=$enable_splines;
11970 if test "$enableval" = yes; then
11971 ac_cv_use_splines='wxUSE_SPLINES=yes'
11972 else
11973 ac_cv_use_splines='wxUSE_SPLINES=no'
11974 fi
11975
11976 else
11977
11978 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
11979 if test "x$LINE" != x ; then
11980 eval "DEFAULT_$LINE"
11981 else
11982 no_cache=1
11983 fi
11984
11985 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11986
11987 fi
11988
11989
11990 eval "$ac_cv_use_splines"
11991 if test "$no_cache" != 1; then
11992 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11993 fi
11994
11995 if test "$wxUSE_SPLINES" = yes; then
11996 { echo "$as_me:$LINENO: result: yes" >&5
11997 echo "${ECHO_T}yes" >&6; }
11998 else
11999 { echo "$as_me:$LINENO: result: no" >&5
12000 echo "${ECHO_T}no" >&6; }
12001 fi
12002
12003
12004 enablestring=
12005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12006 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12007 no_cache=0
12008 # Check whether --enable-mousewheel was given.
12009 if test "${enable_mousewheel+set}" = set; then
12010 enableval=$enable_mousewheel;
12011 if test "$enableval" = yes; then
12012 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12013 else
12014 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12015 fi
12016
12017 else
12018
12019 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
12020 if test "x$LINE" != x ; then
12021 eval "DEFAULT_$LINE"
12022 else
12023 no_cache=1
12024 fi
12025
12026 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
12027
12028 fi
12029
12030
12031 eval "$ac_cv_use_mousewheel"
12032 if test "$no_cache" != 1; then
12033 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
12034 fi
12035
12036 if test "$wxUSE_MOUSEWHEEL" = yes; then
12037 { echo "$as_me:$LINENO: result: yes" >&5
12038 echo "${ECHO_T}yes" >&6; }
12039 else
12040 { echo "$as_me:$LINENO: result: no" >&5
12041 echo "${ECHO_T}no" >&6; }
12042 fi
12043
12044
12045 enablestring=
12046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12047 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12048 no_cache=0
12049 # Check whether --enable-validators was given.
12050 if test "${enable_validators+set}" = set; then
12051 enableval=$enable_validators;
12052 if test "$enableval" = yes; then
12053 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12054 else
12055 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12056 fi
12057
12058 else
12059
12060 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
12061 if test "x$LINE" != x ; then
12062 eval "DEFAULT_$LINE"
12063 else
12064 no_cache=1
12065 fi
12066
12067 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12068
12069 fi
12070
12071
12072 eval "$ac_cv_use_validators"
12073 if test "$no_cache" != 1; then
12074 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12075 fi
12076
12077 if test "$wxUSE_VALIDATORS" = yes; then
12078 { echo "$as_me:$LINENO: result: yes" >&5
12079 echo "${ECHO_T}yes" >&6; }
12080 else
12081 { echo "$as_me:$LINENO: result: no" >&5
12082 echo "${ECHO_T}no" >&6; }
12083 fi
12084
12085
12086 enablestring=
12087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12088 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12089 no_cache=0
12090 # Check whether --enable-busyinfo was given.
12091 if test "${enable_busyinfo+set}" = set; then
12092 enableval=$enable_busyinfo;
12093 if test "$enableval" = yes; then
12094 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12095 else
12096 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12097 fi
12098
12099 else
12100
12101 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
12102 if test "x$LINE" != x ; then
12103 eval "DEFAULT_$LINE"
12104 else
12105 no_cache=1
12106 fi
12107
12108 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12109
12110 fi
12111
12112
12113 eval "$ac_cv_use_busyinfo"
12114 if test "$no_cache" != 1; then
12115 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12116 fi
12117
12118 if test "$wxUSE_BUSYINFO" = yes; then
12119 { echo "$as_me:$LINENO: result: yes" >&5
12120 echo "${ECHO_T}yes" >&6; }
12121 else
12122 { echo "$as_me:$LINENO: result: no" >&5
12123 echo "${ECHO_T}no" >&6; }
12124 fi
12125
12126
12127 enablestring=
12128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12129 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12130 no_cache=0
12131 # Check whether --enable-joystick was given.
12132 if test "${enable_joystick+set}" = set; then
12133 enableval=$enable_joystick;
12134 if test "$enableval" = yes; then
12135 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12136 else
12137 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12138 fi
12139
12140 else
12141
12142 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
12143 if test "x$LINE" != x ; then
12144 eval "DEFAULT_$LINE"
12145 else
12146 no_cache=1
12147 fi
12148
12149 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12150
12151 fi
12152
12153
12154 eval "$ac_cv_use_joystick"
12155 if test "$no_cache" != 1; then
12156 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12157 fi
12158
12159 if test "$wxUSE_JOYSTICK" = yes; then
12160 { echo "$as_me:$LINENO: result: yes" >&5
12161 echo "${ECHO_T}yes" >&6; }
12162 else
12163 { echo "$as_me:$LINENO: result: no" >&5
12164 echo "${ECHO_T}no" >&6; }
12165 fi
12166
12167
12168 enablestring=
12169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12170 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12171 no_cache=0
12172 # Check whether --enable-metafile was given.
12173 if test "${enable_metafile+set}" = set; then
12174 enableval=$enable_metafile;
12175 if test "$enableval" = yes; then
12176 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12177 else
12178 ac_cv_use_metafile='wxUSE_METAFILE=no'
12179 fi
12180
12181 else
12182
12183 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
12184 if test "x$LINE" != x ; then
12185 eval "DEFAULT_$LINE"
12186 else
12187 no_cache=1
12188 fi
12189
12190 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12191
12192 fi
12193
12194
12195 eval "$ac_cv_use_metafile"
12196 if test "$no_cache" != 1; then
12197 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12198 fi
12199
12200 if test "$wxUSE_METAFILE" = yes; then
12201 { echo "$as_me:$LINENO: result: yes" >&5
12202 echo "${ECHO_T}yes" >&6; }
12203 else
12204 { echo "$as_me:$LINENO: result: no" >&5
12205 echo "${ECHO_T}no" >&6; }
12206 fi
12207
12208
12209 enablestring=
12210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12211 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12212 no_cache=0
12213 # Check whether --enable-dragimage was given.
12214 if test "${enable_dragimage+set}" = set; then
12215 enableval=$enable_dragimage;
12216 if test "$enableval" = yes; then
12217 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12218 else
12219 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12220 fi
12221
12222 else
12223
12224 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
12225 if test "x$LINE" != x ; then
12226 eval "DEFAULT_$LINE"
12227 else
12228 no_cache=1
12229 fi
12230
12231 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12232
12233 fi
12234
12235
12236 eval "$ac_cv_use_dragimage"
12237 if test "$no_cache" != 1; then
12238 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12239 fi
12240
12241 if test "$wxUSE_DRAGIMAGE" = yes; then
12242 { echo "$as_me:$LINENO: result: yes" >&5
12243 echo "${ECHO_T}yes" >&6; }
12244 else
12245 { echo "$as_me:$LINENO: result: no" >&5
12246 echo "${ECHO_T}no" >&6; }
12247 fi
12248
12249
12250 enablestring=
12251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12252 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12253 no_cache=0
12254 # Check whether --enable-accessibility was given.
12255 if test "${enable_accessibility+set}" = set; then
12256 enableval=$enable_accessibility;
12257 if test "$enableval" = yes; then
12258 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12259 else
12260 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12261 fi
12262
12263 else
12264
12265 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
12266 if test "x$LINE" != x ; then
12267 eval "DEFAULT_$LINE"
12268 else
12269 no_cache=1
12270 fi
12271
12272 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12273
12274 fi
12275
12276
12277 eval "$ac_cv_use_accessibility"
12278 if test "$no_cache" != 1; then
12279 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12280 fi
12281
12282 if test "$wxUSE_ACCESSIBILITY" = yes; then
12283 { echo "$as_me:$LINENO: result: yes" >&5
12284 echo "${ECHO_T}yes" >&6; }
12285 else
12286 { echo "$as_me:$LINENO: result: no" >&5
12287 echo "${ECHO_T}no" >&6; }
12288 fi
12289
12290
12291 if test "$wxUSE_MSW" = "1"; then
12292
12293 enablestring=
12294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12295 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12296 no_cache=0
12297 # Check whether --enable-dccache was given.
12298 if test "${enable_dccache+set}" = set; then
12299 enableval=$enable_dccache;
12300 if test "$enableval" = yes; then
12301 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12302 else
12303 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12304 fi
12305
12306 else
12307
12308 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
12309 if test "x$LINE" != x ; then
12310 eval "DEFAULT_$LINE"
12311 else
12312 no_cache=1
12313 fi
12314
12315 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12316
12317 fi
12318
12319
12320 eval "$ac_cv_use_dccache"
12321 if test "$no_cache" != 1; then
12322 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12323 fi
12324
12325 if test "$wxUSE_DC_CACHEING" = yes; then
12326 { echo "$as_me:$LINENO: result: yes" >&5
12327 echo "${ECHO_T}yes" >&6; }
12328 else
12329 { echo "$as_me:$LINENO: result: no" >&5
12330 echo "${ECHO_T}no" >&6; }
12331 fi
12332
12333 fi
12334
12335
12336
12337 enablestring=
12338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12339 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12340 no_cache=0
12341 # Check whether --enable-palette was given.
12342 if test "${enable_palette+set}" = set; then
12343 enableval=$enable_palette;
12344 if test "$enableval" = yes; then
12345 ac_cv_use_palette='wxUSE_PALETTE=yes'
12346 else
12347 ac_cv_use_palette='wxUSE_PALETTE=no'
12348 fi
12349
12350 else
12351
12352 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
12353 if test "x$LINE" != x ; then
12354 eval "DEFAULT_$LINE"
12355 else
12356 no_cache=1
12357 fi
12358
12359 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12360
12361 fi
12362
12363
12364 eval "$ac_cv_use_palette"
12365 if test "$no_cache" != 1; then
12366 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12367 fi
12368
12369 if test "$wxUSE_PALETTE" = yes; then
12370 { echo "$as_me:$LINENO: result: yes" >&5
12371 echo "${ECHO_T}yes" >&6; }
12372 else
12373 { echo "$as_me:$LINENO: result: no" >&5
12374 echo "${ECHO_T}no" >&6; }
12375 fi
12376
12377
12378 enablestring=
12379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12380 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12381 no_cache=0
12382 # Check whether --enable-image was given.
12383 if test "${enable_image+set}" = set; then
12384 enableval=$enable_image;
12385 if test "$enableval" = yes; then
12386 ac_cv_use_image='wxUSE_IMAGE=yes'
12387 else
12388 ac_cv_use_image='wxUSE_IMAGE=no'
12389 fi
12390
12391 else
12392
12393 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
12394 if test "x$LINE" != x ; then
12395 eval "DEFAULT_$LINE"
12396 else
12397 no_cache=1
12398 fi
12399
12400 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12401
12402 fi
12403
12404
12405 eval "$ac_cv_use_image"
12406 if test "$no_cache" != 1; then
12407 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12408 fi
12409
12410 if test "$wxUSE_IMAGE" = yes; then
12411 { echo "$as_me:$LINENO: result: yes" >&5
12412 echo "${ECHO_T}yes" >&6; }
12413 else
12414 { echo "$as_me:$LINENO: result: no" >&5
12415 echo "${ECHO_T}no" >&6; }
12416 fi
12417
12418
12419 enablestring=
12420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12421 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12422 no_cache=0
12423 # Check whether --enable-gif was given.
12424 if test "${enable_gif+set}" = set; then
12425 enableval=$enable_gif;
12426 if test "$enableval" = yes; then
12427 ac_cv_use_gif='wxUSE_GIF=yes'
12428 else
12429 ac_cv_use_gif='wxUSE_GIF=no'
12430 fi
12431
12432 else
12433
12434 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
12435 if test "x$LINE" != x ; then
12436 eval "DEFAULT_$LINE"
12437 else
12438 no_cache=1
12439 fi
12440
12441 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12442
12443 fi
12444
12445
12446 eval "$ac_cv_use_gif"
12447 if test "$no_cache" != 1; then
12448 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12449 fi
12450
12451 if test "$wxUSE_GIF" = yes; then
12452 { echo "$as_me:$LINENO: result: yes" >&5
12453 echo "${ECHO_T}yes" >&6; }
12454 else
12455 { echo "$as_me:$LINENO: result: no" >&5
12456 echo "${ECHO_T}no" >&6; }
12457 fi
12458
12459
12460 enablestring=
12461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12462 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12463 no_cache=0
12464 # Check whether --enable-pcx was given.
12465 if test "${enable_pcx+set}" = set; then
12466 enableval=$enable_pcx;
12467 if test "$enableval" = yes; then
12468 ac_cv_use_pcx='wxUSE_PCX=yes'
12469 else
12470 ac_cv_use_pcx='wxUSE_PCX=no'
12471 fi
12472
12473 else
12474
12475 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
12476 if test "x$LINE" != x ; then
12477 eval "DEFAULT_$LINE"
12478 else
12479 no_cache=1
12480 fi
12481
12482 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12483
12484 fi
12485
12486
12487 eval "$ac_cv_use_pcx"
12488 if test "$no_cache" != 1; then
12489 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12490 fi
12491
12492 if test "$wxUSE_PCX" = yes; then
12493 { echo "$as_me:$LINENO: result: yes" >&5
12494 echo "${ECHO_T}yes" >&6; }
12495 else
12496 { echo "$as_me:$LINENO: result: no" >&5
12497 echo "${ECHO_T}no" >&6; }
12498 fi
12499
12500
12501 enablestring=
12502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12503 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12504 no_cache=0
12505 # Check whether --enable-tga was given.
12506 if test "${enable_tga+set}" = set; then
12507 enableval=$enable_tga;
12508 if test "$enableval" = yes; then
12509 ac_cv_use_tga='wxUSE_TGA=yes'
12510 else
12511 ac_cv_use_tga='wxUSE_TGA=no'
12512 fi
12513
12514 else
12515
12516 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
12517 if test "x$LINE" != x ; then
12518 eval "DEFAULT_$LINE"
12519 else
12520 no_cache=1
12521 fi
12522
12523 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12524
12525 fi
12526
12527
12528 eval "$ac_cv_use_tga"
12529 if test "$no_cache" != 1; then
12530 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12531 fi
12532
12533 if test "$wxUSE_TGA" = yes; then
12534 { echo "$as_me:$LINENO: result: yes" >&5
12535 echo "${ECHO_T}yes" >&6; }
12536 else
12537 { echo "$as_me:$LINENO: result: no" >&5
12538 echo "${ECHO_T}no" >&6; }
12539 fi
12540
12541
12542 enablestring=
12543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12544 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12545 no_cache=0
12546 # Check whether --enable-iff was given.
12547 if test "${enable_iff+set}" = set; then
12548 enableval=$enable_iff;
12549 if test "$enableval" = yes; then
12550 ac_cv_use_iff='wxUSE_IFF=yes'
12551 else
12552 ac_cv_use_iff='wxUSE_IFF=no'
12553 fi
12554
12555 else
12556
12557 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
12558 if test "x$LINE" != x ; then
12559 eval "DEFAULT_$LINE"
12560 else
12561 no_cache=1
12562 fi
12563
12564 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12565
12566 fi
12567
12568
12569 eval "$ac_cv_use_iff"
12570 if test "$no_cache" != 1; then
12571 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12572 fi
12573
12574 if test "$wxUSE_IFF" = yes; then
12575 { echo "$as_me:$LINENO: result: yes" >&5
12576 echo "${ECHO_T}yes" >&6; }
12577 else
12578 { echo "$as_me:$LINENO: result: no" >&5
12579 echo "${ECHO_T}no" >&6; }
12580 fi
12581
12582
12583 enablestring=
12584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12585 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12586 no_cache=0
12587 # Check whether --enable-pnm was given.
12588 if test "${enable_pnm+set}" = set; then
12589 enableval=$enable_pnm;
12590 if test "$enableval" = yes; then
12591 ac_cv_use_pnm='wxUSE_PNM=yes'
12592 else
12593 ac_cv_use_pnm='wxUSE_PNM=no'
12594 fi
12595
12596 else
12597
12598 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
12599 if test "x$LINE" != x ; then
12600 eval "DEFAULT_$LINE"
12601 else
12602 no_cache=1
12603 fi
12604
12605 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12606
12607 fi
12608
12609
12610 eval "$ac_cv_use_pnm"
12611 if test "$no_cache" != 1; then
12612 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12613 fi
12614
12615 if test "$wxUSE_PNM" = yes; then
12616 { echo "$as_me:$LINENO: result: yes" >&5
12617 echo "${ECHO_T}yes" >&6; }
12618 else
12619 { echo "$as_me:$LINENO: result: no" >&5
12620 echo "${ECHO_T}no" >&6; }
12621 fi
12622
12623
12624 enablestring=
12625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12626 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12627 no_cache=0
12628 # Check whether --enable-xpm was given.
12629 if test "${enable_xpm+set}" = set; then
12630 enableval=$enable_xpm;
12631 if test "$enableval" = yes; then
12632 ac_cv_use_xpm='wxUSE_XPM=yes'
12633 else
12634 ac_cv_use_xpm='wxUSE_XPM=no'
12635 fi
12636
12637 else
12638
12639 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
12640 if test "x$LINE" != x ; then
12641 eval "DEFAULT_$LINE"
12642 else
12643 no_cache=1
12644 fi
12645
12646 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12647
12648 fi
12649
12650
12651 eval "$ac_cv_use_xpm"
12652 if test "$no_cache" != 1; then
12653 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12654 fi
12655
12656 if test "$wxUSE_XPM" = yes; then
12657 { echo "$as_me:$LINENO: result: yes" >&5
12658 echo "${ECHO_T}yes" >&6; }
12659 else
12660 { echo "$as_me:$LINENO: result: no" >&5
12661 echo "${ECHO_T}no" >&6; }
12662 fi
12663
12664
12665 enablestring=
12666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12667 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12668 no_cache=0
12669 # Check whether --enable-ico_cur was given.
12670 if test "${enable_ico_cur+set}" = set; then
12671 enableval=$enable_ico_cur;
12672 if test "$enableval" = yes; then
12673 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12674 else
12675 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12676 fi
12677
12678 else
12679
12680 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
12681 if test "x$LINE" != x ; then
12682 eval "DEFAULT_$LINE"
12683 else
12684 no_cache=1
12685 fi
12686
12687 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12688
12689 fi
12690
12691
12692 eval "$ac_cv_use_ico_cur"
12693 if test "$no_cache" != 1; then
12694 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12695 fi
12696
12697 if test "$wxUSE_ICO_CUR" = yes; then
12698 { echo "$as_me:$LINENO: result: yes" >&5
12699 echo "${ECHO_T}yes" >&6; }
12700 else
12701 { echo "$as_me:$LINENO: result: no" >&5
12702 echo "${ECHO_T}no" >&6; }
12703 fi
12704
12705
12706 fi
12707
12708
12709
12710 # Check whether --with-flavour was given.
12711 if test "${with_flavour+set}" = set; then
12712 withval=$with_flavour; WX_FLAVOUR="$withval"
12713 fi
12714
12715
12716
12717
12718 enablestring=
12719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12720 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12721 no_cache=0
12722 # Check whether --enable-official_build was given.
12723 if test "${enable_official_build+set}" = set; then
12724 enableval=$enable_official_build;
12725 if test "$enableval" = yes; then
12726 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12727 else
12728 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12729 fi
12730
12731 else
12732
12733 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
12734 if test "x$LINE" != x ; then
12735 eval "DEFAULT_$LINE"
12736 else
12737 no_cache=1
12738 fi
12739
12740 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12741
12742 fi
12743
12744
12745 eval "$ac_cv_use_official_build"
12746 if test "$no_cache" != 1; then
12747 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12748 fi
12749
12750 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12751 { echo "$as_me:$LINENO: result: yes" >&5
12752 echo "${ECHO_T}yes" >&6; }
12753 else
12754 { echo "$as_me:$LINENO: result: no" >&5
12755 echo "${ECHO_T}no" >&6; }
12756 fi
12757
12758 # Check whether --enable-vendor was given.
12759 if test "${enable_vendor+set}" = set; then
12760 enableval=$enable_vendor; VENDOR="$enableval"
12761 fi
12762
12763 if test "x$VENDOR" = "x"; then
12764 VENDOR="custom"
12765 fi
12766
12767
12768
12769
12770 echo "saving argument cache $wx_arg_cache_file"
12771 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12772
12773
12774
12775 { echo "$as_me:$LINENO: checking for toolkit" >&5
12776 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12777
12778 # In Wine, we need to default to MSW, not GTK or MOTIF
12779 if test "$wxUSE_WINE" = "yes"; then
12780 DEFAULT_DEFAULT_wxUSE_GTK=0
12781 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12782 DEFAULT_DEFAULT_wxUSE_MSW=1
12783 wxUSE_SHARED=no
12784 CC=${CC:-winegcc}
12785 CXX=${CXX:-wineg++}
12786 fi
12787
12788
12789 if test "$wxUSE_GUI" = "yes"; then
12790
12791 if test "$USE_BEOS" = 1; then
12792 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12793 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12794 { (exit 1); exit 1; }; }
12795 fi
12796
12797 if test "$TOOLKIT_GIVEN" = 1; then
12798 for toolkit in `echo $ALL_TOOLKITS`; do
12799 var=wxUSE_$toolkit
12800 eval "value=\$${var}"
12801 if test "x$value" = "xno"; then
12802 eval "$var=0"
12803 elif test "x$value" != "x"; then
12804 eval "$var=1"
12805 fi
12806
12807 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12808 eval "wx${toolkit}_VERSION=$value"
12809 fi
12810 done
12811 else
12812 for toolkit in `echo $ALL_TOOLKITS`; do
12813 if test "$has_toolkit_in_cache" != 1; then
12814 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12815 else
12816 var=DEFAULT_wxUSE_$toolkit
12817
12818 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12819 if test "x$version" != "x"; then
12820 eval "wx${toolkit}_VERSION=$version"
12821 fi
12822 fi
12823 eval "wxUSE_$toolkit=\$${var}"
12824 done
12825 fi
12826
12827 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12828 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12829 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12830
12831 case "${host}" in
12832 *-pc-os2_emx | *-pc-os2-emx )
12833 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12834 esac
12835
12836 case "$NUM_TOOLKITS" in
12837 1)
12838 ;;
12839 0)
12840 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12841 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12842 { (exit 1); exit 1; }; }
12843 ;;
12844 *)
12845 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12846 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12847 { (exit 1); exit 1; }; }
12848 esac
12849
12850 # to be removed when --disable-gtk2 isn't needed
12851 if test "x$wxUSE_GTK2" = "xyes"; then
12852 wxGTK_VERSION=2
12853 elif test "x$wxUSE_GTK2" = "xno"; then
12854 wxGTK_VERSION=1
12855 fi
12856
12857 for toolkit in `echo $ALL_TOOLKITS`; do
12858 var=wxUSE_$toolkit
12859 eval "value=\$${var}"
12860 if test "x$value" != x; then
12861 cache_var=CACHE_$toolkit
12862 eval "cache=\$${cache_var}"
12863 if test "$cache" = 1; then
12864 echo "$var=$value" >> ${wx_arg_cache_file}
12865 eval "version=\$wx${toolkit}_VERSION"
12866 if test "x$version" != "x"; then
12867 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12868 fi
12869 fi
12870 if test "$value" = 1; then
12871 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12872 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12873 echo "${ECHO_T}$toolkit_echo" >&6; }
12874 fi
12875 fi
12876 done
12877 else
12878 if test "x$host_alias" != "x"; then
12879 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12880 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12881 else
12882 { echo "$as_me:$LINENO: result: base only" >&5
12883 echo "${ECHO_T}base only" >&6; }
12884 fi
12885 fi
12886
12887
12888 cat >confcache <<\_ACEOF
12889 # This file is a shell script that caches the results of configure
12890 # tests run on this system so they can be shared between configure
12891 # scripts and configure runs, see configure's option --config-cache.
12892 # It is not useful on other systems. If it contains results you don't
12893 # want to keep, you may remove or edit it.
12894 #
12895 # config.status only pays attention to the cache file if you give it
12896 # the --recheck option to rerun configure.
12897 #
12898 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12899 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12900 # following values.
12901
12902 _ACEOF
12903
12904 # The following way of writing the cache mishandles newlines in values,
12905 # but we know of no workaround that is simple, portable, and efficient.
12906 # So, we kill variables containing newlines.
12907 # Ultrix sh set writes to stderr and can't be redirected directly,
12908 # and sets the high bit in the cache file unless we assign to the vars.
12909 (
12910 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12911 eval ac_val=\$$ac_var
12912 case $ac_val in #(
12913 *${as_nl}*)
12914 case $ac_var in #(
12915 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12916 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12917 esac
12918 case $ac_var in #(
12919 _ | IFS | as_nl) ;; #(
12920 *) $as_unset $ac_var ;;
12921 esac ;;
12922 esac
12923 done
12924
12925 (set) 2>&1 |
12926 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12927 *${as_nl}ac_space=\ *)
12928 # `set' does not quote correctly, so add quotes (double-quote
12929 # substitution turns \\\\ into \\, and sed turns \\ into \).
12930 sed -n \
12931 "s/'/'\\\\''/g;
12932 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12933 ;; #(
12934 *)
12935 # `set' quotes correctly as required by POSIX, so do not add quotes.
12936 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12937 ;;
12938 esac |
12939 sort
12940 ) |
12941 sed '
12942 /^ac_cv_env_/b end
12943 t clear
12944 :clear
12945 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12946 t end
12947 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12948 :end' >>confcache
12949 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12950 if test -w "$cache_file"; then
12951 test "x$cache_file" != "x/dev/null" &&
12952 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12953 echo "$as_me: updating cache $cache_file" >&6;}
12954 cat confcache >$cache_file
12955 else
12956 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12957 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12958 fi
12959 fi
12960 rm -f confcache
12961
12962 CFLAGS=${CFLAGS:=}
12963
12964
12965
12966 ac_ext=c
12967 ac_cpp='$CPP $CPPFLAGS'
12968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12971 if test -n "$ac_tool_prefix"; then
12972 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12973 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12976 if test "${ac_cv_prog_CC+set}" = set; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 else
12979 if test -n "$CC"; then
12980 ac_cv_prog_CC="$CC" # Let the user override the test.
12981 else
12982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12983 for as_dir in $PATH
12984 do
12985 IFS=$as_save_IFS
12986 test -z "$as_dir" && as_dir=.
12987 for ac_exec_ext in '' $ac_executable_extensions; do
12988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12989 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12991 break 2
12992 fi
12993 done
12994 done
12995 IFS=$as_save_IFS
12996
12997 fi
12998 fi
12999 CC=$ac_cv_prog_CC
13000 if test -n "$CC"; then
13001 { echo "$as_me:$LINENO: result: $CC" >&5
13002 echo "${ECHO_T}$CC" >&6; }
13003 else
13004 { echo "$as_me:$LINENO: result: no" >&5
13005 echo "${ECHO_T}no" >&6; }
13006 fi
13007
13008
13009 fi
13010 if test -z "$ac_cv_prog_CC"; then
13011 ac_ct_CC=$CC
13012 # Extract the first word of "gcc", so it can be a program name with args.
13013 set dummy gcc; ac_word=$2
13014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13016 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13017 echo $ECHO_N "(cached) $ECHO_C" >&6
13018 else
13019 if test -n "$ac_ct_CC"; then
13020 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13021 else
13022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13023 for as_dir in $PATH
13024 do
13025 IFS=$as_save_IFS
13026 test -z "$as_dir" && as_dir=.
13027 for ac_exec_ext in '' $ac_executable_extensions; do
13028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13029 ac_cv_prog_ac_ct_CC="gcc"
13030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13031 break 2
13032 fi
13033 done
13034 done
13035 IFS=$as_save_IFS
13036
13037 fi
13038 fi
13039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13040 if test -n "$ac_ct_CC"; then
13041 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13042 echo "${ECHO_T}$ac_ct_CC" >&6; }
13043 else
13044 { echo "$as_me:$LINENO: result: no" >&5
13045 echo "${ECHO_T}no" >&6; }
13046 fi
13047
13048 if test "x$ac_ct_CC" = x; then
13049 CC=""
13050 else
13051 case $cross_compiling:$ac_tool_warned in
13052 yes:)
13053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13054 whose name does not start with the host triplet. If you think this
13055 configuration is useful to you, please write to autoconf@gnu.org." >&5
13056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13057 whose name does not start with the host triplet. If you think this
13058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13059 ac_tool_warned=yes ;;
13060 esac
13061 CC=$ac_ct_CC
13062 fi
13063 else
13064 CC="$ac_cv_prog_CC"
13065 fi
13066
13067 if test -z "$CC"; then
13068 if test -n "$ac_tool_prefix"; then
13069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13070 set dummy ${ac_tool_prefix}cc; ac_word=$2
13071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13073 if test "${ac_cv_prog_CC+set}" = set; then
13074 echo $ECHO_N "(cached) $ECHO_C" >&6
13075 else
13076 if test -n "$CC"; then
13077 ac_cv_prog_CC="$CC" # Let the user override the test.
13078 else
13079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13080 for as_dir in $PATH
13081 do
13082 IFS=$as_save_IFS
13083 test -z "$as_dir" && as_dir=.
13084 for ac_exec_ext in '' $ac_executable_extensions; do
13085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13086 ac_cv_prog_CC="${ac_tool_prefix}cc"
13087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13088 break 2
13089 fi
13090 done
13091 done
13092 IFS=$as_save_IFS
13093
13094 fi
13095 fi
13096 CC=$ac_cv_prog_CC
13097 if test -n "$CC"; then
13098 { echo "$as_me:$LINENO: result: $CC" >&5
13099 echo "${ECHO_T}$CC" >&6; }
13100 else
13101 { echo "$as_me:$LINENO: result: no" >&5
13102 echo "${ECHO_T}no" >&6; }
13103 fi
13104
13105
13106 fi
13107 fi
13108 if test -z "$CC"; then
13109 # Extract the first word of "cc", so it can be a program name with args.
13110 set dummy cc; ac_word=$2
13111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13113 if test "${ac_cv_prog_CC+set}" = set; then
13114 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 else
13116 if test -n "$CC"; then
13117 ac_cv_prog_CC="$CC" # Let the user override the test.
13118 else
13119 ac_prog_rejected=no
13120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121 for as_dir in $PATH
13122 do
13123 IFS=$as_save_IFS
13124 test -z "$as_dir" && as_dir=.
13125 for ac_exec_ext in '' $ac_executable_extensions; do
13126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13127 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13128 ac_prog_rejected=yes
13129 continue
13130 fi
13131 ac_cv_prog_CC="cc"
13132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13133 break 2
13134 fi
13135 done
13136 done
13137 IFS=$as_save_IFS
13138
13139 if test $ac_prog_rejected = yes; then
13140 # We found a bogon in the path, so make sure we never use it.
13141 set dummy $ac_cv_prog_CC
13142 shift
13143 if test $# != 0; then
13144 # We chose a different compiler from the bogus one.
13145 # However, it has the same basename, so the bogon will be chosen
13146 # first if we set CC to just the basename; use the full file name.
13147 shift
13148 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13149 fi
13150 fi
13151 fi
13152 fi
13153 CC=$ac_cv_prog_CC
13154 if test -n "$CC"; then
13155 { echo "$as_me:$LINENO: result: $CC" >&5
13156 echo "${ECHO_T}$CC" >&6; }
13157 else
13158 { echo "$as_me:$LINENO: result: no" >&5
13159 echo "${ECHO_T}no" >&6; }
13160 fi
13161
13162
13163 fi
13164 if test -z "$CC"; then
13165 if test -n "$ac_tool_prefix"; then
13166 for ac_prog in cl.exe
13167 do
13168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13172 if test "${ac_cv_prog_CC+set}" = set; then
13173 echo $ECHO_N "(cached) $ECHO_C" >&6
13174 else
13175 if test -n "$CC"; then
13176 ac_cv_prog_CC="$CC" # Let the user override the test.
13177 else
13178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13179 for as_dir in $PATH
13180 do
13181 IFS=$as_save_IFS
13182 test -z "$as_dir" && as_dir=.
13183 for ac_exec_ext in '' $ac_executable_extensions; do
13184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13185 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13187 break 2
13188 fi
13189 done
13190 done
13191 IFS=$as_save_IFS
13192
13193 fi
13194 fi
13195 CC=$ac_cv_prog_CC
13196 if test -n "$CC"; then
13197 { echo "$as_me:$LINENO: result: $CC" >&5
13198 echo "${ECHO_T}$CC" >&6; }
13199 else
13200 { echo "$as_me:$LINENO: result: no" >&5
13201 echo "${ECHO_T}no" >&6; }
13202 fi
13203
13204
13205 test -n "$CC" && break
13206 done
13207 fi
13208 if test -z "$CC"; then
13209 ac_ct_CC=$CC
13210 for ac_prog in cl.exe
13211 do
13212 # Extract the first word of "$ac_prog", so it can be a program name with args.
13213 set dummy $ac_prog; ac_word=$2
13214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13217 echo $ECHO_N "(cached) $ECHO_C" >&6
13218 else
13219 if test -n "$ac_ct_CC"; then
13220 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13221 else
13222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13223 for as_dir in $PATH
13224 do
13225 IFS=$as_save_IFS
13226 test -z "$as_dir" && as_dir=.
13227 for ac_exec_ext in '' $ac_executable_extensions; do
13228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13229 ac_cv_prog_ac_ct_CC="$ac_prog"
13230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13231 break 2
13232 fi
13233 done
13234 done
13235 IFS=$as_save_IFS
13236
13237 fi
13238 fi
13239 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13240 if test -n "$ac_ct_CC"; then
13241 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13242 echo "${ECHO_T}$ac_ct_CC" >&6; }
13243 else
13244 { echo "$as_me:$LINENO: result: no" >&5
13245 echo "${ECHO_T}no" >&6; }
13246 fi
13247
13248
13249 test -n "$ac_ct_CC" && break
13250 done
13251
13252 if test "x$ac_ct_CC" = x; then
13253 CC=""
13254 else
13255 case $cross_compiling:$ac_tool_warned in
13256 yes:)
13257 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13258 whose name does not start with the host triplet. If you think this
13259 configuration is useful to you, please write to autoconf@gnu.org." >&5
13260 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13261 whose name does not start with the host triplet. If you think this
13262 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13263 ac_tool_warned=yes ;;
13264 esac
13265 CC=$ac_ct_CC
13266 fi
13267 fi
13268
13269 fi
13270
13271
13272 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13273 See \`config.log' for more details." >&5
13274 echo "$as_me: error: no acceptable C compiler found in \$PATH
13275 See \`config.log' for more details." >&2;}
13276 { (exit 1); exit 1; }; }
13277
13278 # Provide some information about the compiler.
13279 echo "$as_me:$LINENO: checking for C compiler version" >&5
13280 ac_compiler=`set X $ac_compile; echo $2`
13281 { (ac_try="$ac_compiler --version >&5"
13282 case "(($ac_try" in
13283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13284 *) ac_try_echo=$ac_try;;
13285 esac
13286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13287 (eval "$ac_compiler --version >&5") 2>&5
13288 ac_status=$?
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }
13291 { (ac_try="$ac_compiler -v >&5"
13292 case "(($ac_try" in
13293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13294 *) ac_try_echo=$ac_try;;
13295 esac
13296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13297 (eval "$ac_compiler -v >&5") 2>&5
13298 ac_status=$?
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }
13301 { (ac_try="$ac_compiler -V >&5"
13302 case "(($ac_try" in
13303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13304 *) ac_try_echo=$ac_try;;
13305 esac
13306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13307 (eval "$ac_compiler -V >&5") 2>&5
13308 ac_status=$?
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }
13311
13312 cat >conftest.$ac_ext <<_ACEOF
13313 /* confdefs.h. */
13314 _ACEOF
13315 cat confdefs.h >>conftest.$ac_ext
13316 cat >>conftest.$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13318
13319 int
13320 main ()
13321 {
13322
13323 ;
13324 return 0;
13325 }
13326 _ACEOF
13327 ac_clean_files_save=$ac_clean_files
13328 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13329 # Try to create an executable without -o first, disregard a.out.
13330 # It will help us diagnose broken compilers, and finding out an intuition
13331 # of exeext.
13332 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13333 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13334 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13335 #
13336 # List of possible output files, starting from the most likely.
13337 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13338 # only as a last resort. b.out is created by i960 compilers.
13339 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13340 #
13341 # The IRIX 6 linker writes into existing files which may not be
13342 # executable, retaining their permissions. Remove them first so a
13343 # subsequent execution test works.
13344 ac_rmfiles=
13345 for ac_file in $ac_files
13346 do
13347 case $ac_file in
13348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13349 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13350 esac
13351 done
13352 rm -f $ac_rmfiles
13353
13354 if { (ac_try="$ac_link_default"
13355 case "(($ac_try" in
13356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13357 *) ac_try_echo=$ac_try;;
13358 esac
13359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13360 (eval "$ac_link_default") 2>&5
13361 ac_status=$?
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); }; then
13364 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13365 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13366 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13367 # so that the user can short-circuit this test for compilers unknown to
13368 # Autoconf.
13369 for ac_file in $ac_files ''
13370 do
13371 test -f "$ac_file" || continue
13372 case $ac_file in
13373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13374 ;;
13375 [ab].out )
13376 # We found the default executable, but exeext='' is most
13377 # certainly right.
13378 break;;
13379 *.* )
13380 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13381 then :; else
13382 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13383 fi
13384 # We set ac_cv_exeext here because the later test for it is not
13385 # safe: cross compilers may not add the suffix if given an `-o'
13386 # argument, so we may need to know it at that point already.
13387 # Even if this section looks crufty: it has the advantage of
13388 # actually working.
13389 break;;
13390 * )
13391 break;;
13392 esac
13393 done
13394 test "$ac_cv_exeext" = no && ac_cv_exeext=
13395
13396 else
13397 ac_file=''
13398 fi
13399
13400 { echo "$as_me:$LINENO: result: $ac_file" >&5
13401 echo "${ECHO_T}$ac_file" >&6; }
13402 if test -z "$ac_file"; then
13403 echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.$ac_ext >&5
13405
13406 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13407 See \`config.log' for more details." >&5
13408 echo "$as_me: error: C compiler cannot create executables
13409 See \`config.log' for more details." >&2;}
13410 { (exit 77); exit 77; }; }
13411 fi
13412
13413 ac_exeext=$ac_cv_exeext
13414
13415 # Check that the compiler produces executables we can run. If not, either
13416 # the compiler is broken, or we cross compile.
13417 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13418 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13419 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13420 # If not cross compiling, check that we can run a simple program.
13421 if test "$cross_compiling" != yes; then
13422 if { ac_try='./$ac_file'
13423 { (case "(($ac_try" in
13424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13425 *) ac_try_echo=$ac_try;;
13426 esac
13427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13428 (eval "$ac_try") 2>&5
13429 ac_status=$?
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; }; then
13432 cross_compiling=no
13433 else
13434 if test "$cross_compiling" = maybe; then
13435 cross_compiling=yes
13436 else
13437 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13438 If you meant to cross compile, use \`--host'.
13439 See \`config.log' for more details." >&5
13440 echo "$as_me: error: cannot run C compiled programs.
13441 If you meant to cross compile, use \`--host'.
13442 See \`config.log' for more details." >&2;}
13443 { (exit 1); exit 1; }; }
13444 fi
13445 fi
13446 fi
13447 { echo "$as_me:$LINENO: result: yes" >&5
13448 echo "${ECHO_T}yes" >&6; }
13449
13450 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13451 ac_clean_files=$ac_clean_files_save
13452 # Check that the compiler produces executables we can run. If not, either
13453 # the compiler is broken, or we cross compile.
13454 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13455 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13456 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13457 echo "${ECHO_T}$cross_compiling" >&6; }
13458
13459 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13460 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13461 if { (ac_try="$ac_link"
13462 case "(($ac_try" in
13463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13464 *) ac_try_echo=$ac_try;;
13465 esac
13466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13467 (eval "$ac_link") 2>&5
13468 ac_status=$?
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; then
13471 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13472 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13473 # work properly (i.e., refer to `conftest.exe'), while it won't with
13474 # `rm'.
13475 for ac_file in conftest.exe conftest conftest.*; do
13476 test -f "$ac_file" || continue
13477 case $ac_file in
13478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13479 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13480 break;;
13481 * ) break;;
13482 esac
13483 done
13484 else
13485 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13486 See \`config.log' for more details." >&5
13487 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13488 See \`config.log' for more details." >&2;}
13489 { (exit 1); exit 1; }; }
13490 fi
13491
13492 rm -f conftest$ac_cv_exeext
13493 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13494 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13495
13496 rm -f conftest.$ac_ext
13497 EXEEXT=$ac_cv_exeext
13498 ac_exeext=$EXEEXT
13499 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13500 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13501 if test "${ac_cv_objext+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 else
13504 cat >conftest.$ac_ext <<_ACEOF
13505 /* confdefs.h. */
13506 _ACEOF
13507 cat confdefs.h >>conftest.$ac_ext
13508 cat >>conftest.$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13510
13511 int
13512 main ()
13513 {
13514
13515 ;
13516 return 0;
13517 }
13518 _ACEOF
13519 rm -f conftest.o conftest.obj
13520 if { (ac_try="$ac_compile"
13521 case "(($ac_try" in
13522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13523 *) ac_try_echo=$ac_try;;
13524 esac
13525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13526 (eval "$ac_compile") 2>&5
13527 ac_status=$?
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); }; then
13530 for ac_file in conftest.o conftest.obj conftest.*; do
13531 test -f "$ac_file" || continue;
13532 case $ac_file in
13533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13534 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13535 break;;
13536 esac
13537 done
13538 else
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.$ac_ext >&5
13541
13542 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13543 See \`config.log' for more details." >&5
13544 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13545 See \`config.log' for more details." >&2;}
13546 { (exit 1); exit 1; }; }
13547 fi
13548
13549 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13550 fi
13551 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13552 echo "${ECHO_T}$ac_cv_objext" >&6; }
13553 OBJEXT=$ac_cv_objext
13554 ac_objext=$OBJEXT
13555 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13556 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13557 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13558 echo $ECHO_N "(cached) $ECHO_C" >&6
13559 else
13560 cat >conftest.$ac_ext <<_ACEOF
13561 /* confdefs.h. */
13562 _ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13566
13567 int
13568 main ()
13569 {
13570 #ifndef __GNUC__
13571 choke me
13572 #endif
13573
13574 ;
13575 return 0;
13576 }
13577 _ACEOF
13578 rm -f conftest.$ac_objext
13579 if { (ac_try="$ac_compile"
13580 case "(($ac_try" in
13581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13582 *) ac_try_echo=$ac_try;;
13583 esac
13584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13585 (eval "$ac_compile") 2>conftest.er1
13586 ac_status=$?
13587 grep -v '^ *+' conftest.er1 >conftest.err
13588 rm -f conftest.er1
13589 cat conftest.err >&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } && {
13592 test -z "$ac_c_werror_flag" ||
13593 test ! -s conftest.err
13594 } && test -s conftest.$ac_objext; then
13595 ac_compiler_gnu=yes
13596 else
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13599
13600 ac_compiler_gnu=no
13601 fi
13602
13603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13604 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13605
13606 fi
13607 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13608 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13609 GCC=`test $ac_compiler_gnu = yes && echo yes`
13610 ac_test_CFLAGS=${CFLAGS+set}
13611 ac_save_CFLAGS=$CFLAGS
13612 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13613 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13614 if test "${ac_cv_prog_cc_g+set}" = set; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 else
13617 ac_save_c_werror_flag=$ac_c_werror_flag
13618 ac_c_werror_flag=yes
13619 ac_cv_prog_cc_g=no
13620 CFLAGS="-g"
13621 cat >conftest.$ac_ext <<_ACEOF
13622 /* confdefs.h. */
13623 _ACEOF
13624 cat confdefs.h >>conftest.$ac_ext
13625 cat >>conftest.$ac_ext <<_ACEOF
13626 /* end confdefs.h. */
13627
13628 int
13629 main ()
13630 {
13631
13632 ;
13633 return 0;
13634 }
13635 _ACEOF
13636 rm -f conftest.$ac_objext
13637 if { (ac_try="$ac_compile"
13638 case "(($ac_try" in
13639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13640 *) ac_try_echo=$ac_try;;
13641 esac
13642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13643 (eval "$ac_compile") 2>conftest.er1
13644 ac_status=$?
13645 grep -v '^ *+' conftest.er1 >conftest.err
13646 rm -f conftest.er1
13647 cat conftest.err >&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); } && {
13650 test -z "$ac_c_werror_flag" ||
13651 test ! -s conftest.err
13652 } && test -s conftest.$ac_objext; then
13653 ac_cv_prog_cc_g=yes
13654 else
13655 echo "$as_me: failed program was:" >&5
13656 sed 's/^/| /' conftest.$ac_ext >&5
13657
13658 CFLAGS=""
13659 cat >conftest.$ac_ext <<_ACEOF
13660 /* confdefs.h. */
13661 _ACEOF
13662 cat confdefs.h >>conftest.$ac_ext
13663 cat >>conftest.$ac_ext <<_ACEOF
13664 /* end confdefs.h. */
13665
13666 int
13667 main ()
13668 {
13669
13670 ;
13671 return 0;
13672 }
13673 _ACEOF
13674 rm -f conftest.$ac_objext
13675 if { (ac_try="$ac_compile"
13676 case "(($ac_try" in
13677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13678 *) ac_try_echo=$ac_try;;
13679 esac
13680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13681 (eval "$ac_compile") 2>conftest.er1
13682 ac_status=$?
13683 grep -v '^ *+' conftest.er1 >conftest.err
13684 rm -f conftest.er1
13685 cat conftest.err >&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } && {
13688 test -z "$ac_c_werror_flag" ||
13689 test ! -s conftest.err
13690 } && test -s conftest.$ac_objext; then
13691 :
13692 else
13693 echo "$as_me: failed program was:" >&5
13694 sed 's/^/| /' conftest.$ac_ext >&5
13695
13696 ac_c_werror_flag=$ac_save_c_werror_flag
13697 CFLAGS="-g"
13698 cat >conftest.$ac_ext <<_ACEOF
13699 /* confdefs.h. */
13700 _ACEOF
13701 cat confdefs.h >>conftest.$ac_ext
13702 cat >>conftest.$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704
13705 int
13706 main ()
13707 {
13708
13709 ;
13710 return 0;
13711 }
13712 _ACEOF
13713 rm -f conftest.$ac_objext
13714 if { (ac_try="$ac_compile"
13715 case "(($ac_try" in
13716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13717 *) ac_try_echo=$ac_try;;
13718 esac
13719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13720 (eval "$ac_compile") 2>conftest.er1
13721 ac_status=$?
13722 grep -v '^ *+' conftest.er1 >conftest.err
13723 rm -f conftest.er1
13724 cat conftest.err >&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } && {
13727 test -z "$ac_c_werror_flag" ||
13728 test ! -s conftest.err
13729 } && test -s conftest.$ac_objext; then
13730 ac_cv_prog_cc_g=yes
13731 else
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.$ac_ext >&5
13734
13735
13736 fi
13737
13738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13739 fi
13740
13741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13742 fi
13743
13744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13745 ac_c_werror_flag=$ac_save_c_werror_flag
13746 fi
13747 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13748 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13749 if test "$ac_test_CFLAGS" = set; then
13750 CFLAGS=$ac_save_CFLAGS
13751 elif test $ac_cv_prog_cc_g = yes; then
13752 if test "$GCC" = yes; then
13753 CFLAGS="-g -O2"
13754 else
13755 CFLAGS="-g"
13756 fi
13757 else
13758 if test "$GCC" = yes; then
13759 CFLAGS="-O2"
13760 else
13761 CFLAGS=
13762 fi
13763 fi
13764 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13765 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13766 if test "${ac_cv_prog_cc_c89+set}" = set; then
13767 echo $ECHO_N "(cached) $ECHO_C" >&6
13768 else
13769 ac_cv_prog_cc_c89=no
13770 ac_save_CC=$CC
13771 cat >conftest.$ac_ext <<_ACEOF
13772 /* confdefs.h. */
13773 _ACEOF
13774 cat confdefs.h >>conftest.$ac_ext
13775 cat >>conftest.$ac_ext <<_ACEOF
13776 /* end confdefs.h. */
13777 #include <stdarg.h>
13778 #include <stdio.h>
13779 #include <sys/types.h>
13780 #include <sys/stat.h>
13781 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13782 struct buf { int x; };
13783 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13784 static char *e (p, i)
13785 char **p;
13786 int i;
13787 {
13788 return p[i];
13789 }
13790 static char *f (char * (*g) (char **, int), char **p, ...)
13791 {
13792 char *s;
13793 va_list v;
13794 va_start (v,p);
13795 s = g (p, va_arg (v,int));
13796 va_end (v);
13797 return s;
13798 }
13799
13800 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13801 function prototypes and stuff, but not '\xHH' hex character constants.
13802 These don't provoke an error unfortunately, instead are silently treated
13803 as 'x'. The following induces an error, until -std is added to get
13804 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13805 array size at least. It's necessary to write '\x00'==0 to get something
13806 that's true only with -std. */
13807 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13808
13809 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13810 inside strings and character constants. */
13811 #define FOO(x) 'x'
13812 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13813
13814 int test (int i, double x);
13815 struct s1 {int (*f) (int a);};
13816 struct s2 {int (*f) (double a);};
13817 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13818 int argc;
13819 char **argv;
13820 int
13821 main ()
13822 {
13823 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13824 ;
13825 return 0;
13826 }
13827 _ACEOF
13828 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13829 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13830 do
13831 CC="$ac_save_CC $ac_arg"
13832 rm -f conftest.$ac_objext
13833 if { (ac_try="$ac_compile"
13834 case "(($ac_try" in
13835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13836 *) ac_try_echo=$ac_try;;
13837 esac
13838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13839 (eval "$ac_compile") 2>conftest.er1
13840 ac_status=$?
13841 grep -v '^ *+' conftest.er1 >conftest.err
13842 rm -f conftest.er1
13843 cat conftest.err >&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); } && {
13846 test -z "$ac_c_werror_flag" ||
13847 test ! -s conftest.err
13848 } && test -s conftest.$ac_objext; then
13849 ac_cv_prog_cc_c89=$ac_arg
13850 else
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.$ac_ext >&5
13853
13854
13855 fi
13856
13857 rm -f core conftest.err conftest.$ac_objext
13858 test "x$ac_cv_prog_cc_c89" != "xno" && break
13859 done
13860 rm -f conftest.$ac_ext
13861 CC=$ac_save_CC
13862
13863 fi
13864 # AC_CACHE_VAL
13865 case "x$ac_cv_prog_cc_c89" in
13866 x)
13867 { echo "$as_me:$LINENO: result: none needed" >&5
13868 echo "${ECHO_T}none needed" >&6; } ;;
13869 xno)
13870 { echo "$as_me:$LINENO: result: unsupported" >&5
13871 echo "${ECHO_T}unsupported" >&6; } ;;
13872 *)
13873 CC="$CC $ac_cv_prog_cc_c89"
13874 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13875 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13876 esac
13877
13878
13879 ac_ext=c
13880 ac_cpp='$CPP $CPPFLAGS'
13881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13884
13885
13886
13887
13888 ac_ext=c
13889 ac_cpp='$CPP $CPPFLAGS'
13890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13893
13894 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13895 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13896 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13898 else
13899 cat >conftest.$ac_ext <<_ACEOF
13900 /* confdefs.h. */
13901 _ACEOF
13902 cat confdefs.h >>conftest.$ac_ext
13903 cat >>conftest.$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905
13906 int
13907 main ()
13908 {
13909
13910 #ifndef __INTEL_COMPILER
13911 choke me
13912 #endif
13913
13914 ;
13915 return 0;
13916 }
13917 _ACEOF
13918 rm -f conftest.$ac_objext
13919 if { (ac_try="$ac_compile"
13920 case "(($ac_try" in
13921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13922 *) ac_try_echo=$ac_try;;
13923 esac
13924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13925 (eval "$ac_compile") 2>conftest.er1
13926 ac_status=$?
13927 grep -v '^ *+' conftest.er1 >conftest.err
13928 rm -f conftest.er1
13929 cat conftest.err >&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); } && {
13932 test -z "$ac_c_werror_flag" ||
13933 test ! -s conftest.err
13934 } && test -s conftest.$ac_objext; then
13935 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13936 else
13937 echo "$as_me: failed program was:" >&5
13938 sed 's/^/| /' conftest.$ac_ext >&5
13939
13940 bakefile_cv_c_compiler___INTEL_COMPILER=no
13941
13942 fi
13943
13944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13945
13946
13947 fi
13948 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13949 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13950 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13951 :; INTELCC=yes
13952 else
13953 :;
13954 fi
13955 ac_ext=c
13956 ac_cpp='$CPP $CPPFLAGS'
13957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13960
13961
13962
13963
13964 if test "x$GCC" != "xyes"; then
13965 if test "xCC" = "xC"; then
13966 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13967 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13968 if test "${bakefile_cv_c_exto+set}" = set; then
13969 echo $ECHO_N "(cached) $ECHO_C" >&6
13970 else
13971 cat >conftest.$ac_ext <<_ACEOF
13972 /* confdefs.h. */
13973 _ACEOF
13974 cat confdefs.h >>conftest.$ac_ext
13975 cat >>conftest.$ac_ext <<_ACEOF
13976 /* end confdefs.h. */
13977
13978 int
13979 main ()
13980 {
13981
13982 ;
13983 return 0;
13984 }
13985 _ACEOF
13986 rm -f conftest.$ac_objext conftest.$ac_ext.o
13987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13988 (eval $ac_compile) 2>&5
13989 ac_status=$?
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; then
13992 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13993 case $ac_file in
13994 conftest.$ac_ext.o)
13995 bakefile_cv_c_exto="-ext o"
13996 ;;
13997 *)
13998 ;;
13999 esac
14000 done
14001 else
14002 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14003 See \`config.log' for more details." >&5
14004 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14005 See \`config.log' for more details." >&2;}
14006 { (exit 1); exit 1; }; }
14007
14008 fi
14009
14010 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14011
14012 fi
14013 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14014 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14015 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14016 if test "c" = "c"; then
14017 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14018 fi
14019 if test "c" = "cxx"; then
14020 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14021 fi
14022 fi
14023
14024 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14025 unset ac_cv_prog_cc_g
14026 ac_test_CFLAGS=${CFLAGS+set}
14027 ac_save_CFLAGS=$CFLAGS
14028 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14029 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14030 if test "${ac_cv_prog_cc_g+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 else
14033 ac_save_c_werror_flag=$ac_c_werror_flag
14034 ac_c_werror_flag=yes
14035 ac_cv_prog_cc_g=no
14036 CFLAGS="-g"
14037 cat >conftest.$ac_ext <<_ACEOF
14038 /* confdefs.h. */
14039 _ACEOF
14040 cat confdefs.h >>conftest.$ac_ext
14041 cat >>conftest.$ac_ext <<_ACEOF
14042 /* end confdefs.h. */
14043
14044 int
14045 main ()
14046 {
14047
14048 ;
14049 return 0;
14050 }
14051 _ACEOF
14052 rm -f conftest.$ac_objext
14053 if { (ac_try="$ac_compile"
14054 case "(($ac_try" in
14055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14056 *) ac_try_echo=$ac_try;;
14057 esac
14058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14059 (eval "$ac_compile") 2>conftest.er1
14060 ac_status=$?
14061 grep -v '^ *+' conftest.er1 >conftest.err
14062 rm -f conftest.er1
14063 cat conftest.err >&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); } && {
14066 test -z "$ac_c_werror_flag" ||
14067 test ! -s conftest.err
14068 } && test -s conftest.$ac_objext; then
14069 ac_cv_prog_cc_g=yes
14070 else
14071 echo "$as_me: failed program was:" >&5
14072 sed 's/^/| /' conftest.$ac_ext >&5
14073
14074 CFLAGS=""
14075 cat >conftest.$ac_ext <<_ACEOF
14076 /* confdefs.h. */
14077 _ACEOF
14078 cat confdefs.h >>conftest.$ac_ext
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081
14082 int
14083 main ()
14084 {
14085
14086 ;
14087 return 0;
14088 }
14089 _ACEOF
14090 rm -f conftest.$ac_objext
14091 if { (ac_try="$ac_compile"
14092 case "(($ac_try" in
14093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14094 *) ac_try_echo=$ac_try;;
14095 esac
14096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14097 (eval "$ac_compile") 2>conftest.er1
14098 ac_status=$?
14099 grep -v '^ *+' conftest.er1 >conftest.err
14100 rm -f conftest.er1
14101 cat conftest.err >&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); } && {
14104 test -z "$ac_c_werror_flag" ||
14105 test ! -s conftest.err
14106 } && test -s conftest.$ac_objext; then
14107 :
14108 else
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.$ac_ext >&5
14111
14112 ac_c_werror_flag=$ac_save_c_werror_flag
14113 CFLAGS="-g"
14114 cat >conftest.$ac_ext <<_ACEOF
14115 /* confdefs.h. */
14116 _ACEOF
14117 cat confdefs.h >>conftest.$ac_ext
14118 cat >>conftest.$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14120
14121 int
14122 main ()
14123 {
14124
14125 ;
14126 return 0;
14127 }
14128 _ACEOF
14129 rm -f conftest.$ac_objext
14130 if { (ac_try="$ac_compile"
14131 case "(($ac_try" in
14132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14133 *) ac_try_echo=$ac_try;;
14134 esac
14135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14136 (eval "$ac_compile") 2>conftest.er1
14137 ac_status=$?
14138 grep -v '^ *+' conftest.er1 >conftest.err
14139 rm -f conftest.er1
14140 cat conftest.err >&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } && {
14143 test -z "$ac_c_werror_flag" ||
14144 test ! -s conftest.err
14145 } && test -s conftest.$ac_objext; then
14146 ac_cv_prog_cc_g=yes
14147 else
14148 echo "$as_me: failed program was:" >&5
14149 sed 's/^/| /' conftest.$ac_ext >&5
14150
14151
14152 fi
14153
14154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14155 fi
14156
14157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14158 fi
14159
14160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14161 ac_c_werror_flag=$ac_save_c_werror_flag
14162 fi
14163 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14164 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14165 if test "$ac_test_CFLAGS" = set; then
14166 CFLAGS=$ac_save_CFLAGS
14167 elif test $ac_cv_prog_cc_g = yes; then
14168 if test "$GCC" = yes; then
14169 CFLAGS="-g -O2"
14170 else
14171 CFLAGS="-g"
14172 fi
14173 else
14174 if test "$GCC" = yes; then
14175 CFLAGS="-O2"
14176 else
14177 CFLAGS=
14178 fi
14179 fi
14180 fi
14181 fi
14182
14183 case `uname -s` in
14184 AIX*)
14185
14186
14187 ac_ext=c
14188 ac_cpp='$CPP $CPPFLAGS'
14189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14192
14193 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14194 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14195 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 else
14198 cat >conftest.$ac_ext <<_ACEOF
14199 /* confdefs.h. */
14200 _ACEOF
14201 cat confdefs.h >>conftest.$ac_ext
14202 cat >>conftest.$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14204
14205 int
14206 main ()
14207 {
14208
14209 #ifndef __xlC__
14210 choke me
14211 #endif
14212
14213 ;
14214 return 0;
14215 }
14216 _ACEOF
14217 rm -f conftest.$ac_objext
14218 if { (ac_try="$ac_compile"
14219 case "(($ac_try" in
14220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14221 *) ac_try_echo=$ac_try;;
14222 esac
14223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14224 (eval "$ac_compile") 2>conftest.er1
14225 ac_status=$?
14226 grep -v '^ *+' conftest.er1 >conftest.err
14227 rm -f conftest.er1
14228 cat conftest.err >&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } && {
14231 test -z "$ac_c_werror_flag" ||
14232 test ! -s conftest.err
14233 } && test -s conftest.$ac_objext; then
14234 bakefile_cv_c_compiler___xlC__=yes
14235 else
14236 echo "$as_me: failed program was:" >&5
14237 sed 's/^/| /' conftest.$ac_ext >&5
14238
14239 bakefile_cv_c_compiler___xlC__=no
14240
14241 fi
14242
14243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14244
14245
14246 fi
14247 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
14248 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
14249 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
14250 :; XLCC=yes
14251 else
14252 :;
14253 fi
14254 ac_ext=c
14255 ac_cpp='$CPP $CPPFLAGS'
14256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14259
14260
14261
14262 ;;
14263
14264 Darwin)
14265
14266
14267 ac_ext=c
14268 ac_cpp='$CPP $CPPFLAGS'
14269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14272
14273 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14274 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14275 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
14276 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 else
14278 cat >conftest.$ac_ext <<_ACEOF
14279 /* confdefs.h. */
14280 _ACEOF
14281 cat confdefs.h >>conftest.$ac_ext
14282 cat >>conftest.$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14284
14285 int
14286 main ()
14287 {
14288
14289 #ifndef __MWERKS__
14290 choke me
14291 #endif
14292
14293 ;
14294 return 0;
14295 }
14296 _ACEOF
14297 rm -f conftest.$ac_objext
14298 if { (ac_try="$ac_compile"
14299 case "(($ac_try" in
14300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14301 *) ac_try_echo=$ac_try;;
14302 esac
14303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14304 (eval "$ac_compile") 2>conftest.er1
14305 ac_status=$?
14306 grep -v '^ *+' conftest.er1 >conftest.err
14307 rm -f conftest.er1
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } && {
14311 test -z "$ac_c_werror_flag" ||
14312 test ! -s conftest.err
14313 } && test -s conftest.$ac_objext; then
14314 bakefile_cv_c_compiler___MWERKS__=yes
14315 else
14316 echo "$as_me: failed program was:" >&5
14317 sed 's/^/| /' conftest.$ac_ext >&5
14318
14319 bakefile_cv_c_compiler___MWERKS__=no
14320
14321 fi
14322
14323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14324
14325
14326 fi
14327 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
14328 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
14329 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
14330 :; MWCC=yes
14331 else
14332 :;
14333 fi
14334 ac_ext=c
14335 ac_cpp='$CPP $CPPFLAGS'
14336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14339
14340
14341
14342
14343
14344 ac_ext=c
14345 ac_cpp='$CPP $CPPFLAGS'
14346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14349
14350 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14351 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14352 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 cat >conftest.$ac_ext <<_ACEOF
14356 /* confdefs.h. */
14357 _ACEOF
14358 cat confdefs.h >>conftest.$ac_ext
14359 cat >>conftest.$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361
14362 int
14363 main ()
14364 {
14365
14366 #ifndef __xlC__
14367 choke me
14368 #endif
14369
14370 ;
14371 return 0;
14372 }
14373 _ACEOF
14374 rm -f conftest.$ac_objext
14375 if { (ac_try="$ac_compile"
14376 case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14379 esac
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_compile") 2>conftest.er1
14382 ac_status=$?
14383 grep -v '^ *+' conftest.er1 >conftest.err
14384 rm -f conftest.er1
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest.$ac_objext; then
14391 bakefile_cv_c_compiler___xlC__=yes
14392 else
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14395
14396 bakefile_cv_c_compiler___xlC__=no
14397
14398 fi
14399
14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14401
14402
14403 fi
14404 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
14405 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
14406 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
14407 :; XLCC=yes
14408 else
14409 :;
14410 fi
14411 ac_ext=c
14412 ac_cpp='$CPP $CPPFLAGS'
14413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14416
14417
14418
14419 ;;
14420
14421 IRIX*)
14422
14423
14424 ac_ext=c
14425 ac_cpp='$CPP $CPPFLAGS'
14426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14429
14430 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14431 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14432 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14433 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 else
14435 cat >conftest.$ac_ext <<_ACEOF
14436 /* confdefs.h. */
14437 _ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14441
14442 int
14443 main ()
14444 {
14445
14446 #ifndef _SGI_COMPILER_VERSION
14447 choke me
14448 #endif
14449
14450 ;
14451 return 0;
14452 }
14453 _ACEOF
14454 rm -f conftest.$ac_objext
14455 if { (ac_try="$ac_compile"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14459 esac
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_compile") 2>conftest.er1
14462 ac_status=$?
14463 grep -v '^ *+' conftest.er1 >conftest.err
14464 rm -f conftest.er1
14465 cat conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } && {
14468 test -z "$ac_c_werror_flag" ||
14469 test ! -s conftest.err
14470 } && test -s conftest.$ac_objext; then
14471 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14472 else
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.$ac_ext >&5
14475
14476 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14477
14478 fi
14479
14480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14481
14482
14483 fi
14484 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14485 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14486 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14487 :; SGICC=yes
14488 else
14489 :;
14490 fi
14491 ac_ext=c
14492 ac_cpp='$CPP $CPPFLAGS'
14493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14496
14497
14498
14499 ;;
14500
14501 Linux*)
14502
14503
14504 ac_ext=c
14505 ac_cpp='$CPP $CPPFLAGS'
14506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14509
14510 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14511 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14512 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14513 echo $ECHO_N "(cached) $ECHO_C" >&6
14514 else
14515 cat >conftest.$ac_ext <<_ACEOF
14516 /* confdefs.h. */
14517 _ACEOF
14518 cat confdefs.h >>conftest.$ac_ext
14519 cat >>conftest.$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14521
14522 int
14523 main ()
14524 {
14525
14526 #ifndef __SUNPRO_C
14527 choke me
14528 #endif
14529
14530 ;
14531 return 0;
14532 }
14533 _ACEOF
14534 rm -f conftest.$ac_objext
14535 if { (ac_try="$ac_compile"
14536 case "(($ac_try" in
14537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14538 *) ac_try_echo=$ac_try;;
14539 esac
14540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14541 (eval "$ac_compile") 2>conftest.er1
14542 ac_status=$?
14543 grep -v '^ *+' conftest.er1 >conftest.err
14544 rm -f conftest.er1
14545 cat conftest.err >&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } && {
14548 test -z "$ac_c_werror_flag" ||
14549 test ! -s conftest.err
14550 } && test -s conftest.$ac_objext; then
14551 bakefile_cv_c_compiler___SUNPRO_C=yes
14552 else
14553 echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14555
14556 bakefile_cv_c_compiler___SUNPRO_C=no
14557
14558 fi
14559
14560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14561
14562
14563 fi
14564 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14565 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14566 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14567 :; SUNCC=yes
14568 else
14569 :;
14570 fi
14571 ac_ext=c
14572 ac_cpp='$CPP $CPPFLAGS'
14573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14576
14577
14578
14579 ;;
14580
14581 HP-UX*)
14582
14583
14584 ac_ext=c
14585 ac_cpp='$CPP $CPPFLAGS'
14586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14589
14590 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14591 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14592 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14594 else
14595 cat >conftest.$ac_ext <<_ACEOF
14596 /* confdefs.h. */
14597 _ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14601
14602 int
14603 main ()
14604 {
14605
14606 #ifndef __HP_cc
14607 choke me
14608 #endif
14609
14610 ;
14611 return 0;
14612 }
14613 _ACEOF
14614 rm -f conftest.$ac_objext
14615 if { (ac_try="$ac_compile"
14616 case "(($ac_try" in
14617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14618 *) ac_try_echo=$ac_try;;
14619 esac
14620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14621 (eval "$ac_compile") 2>conftest.er1
14622 ac_status=$?
14623 grep -v '^ *+' conftest.er1 >conftest.err
14624 rm -f conftest.er1
14625 cat conftest.err >&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } && {
14628 test -z "$ac_c_werror_flag" ||
14629 test ! -s conftest.err
14630 } && test -s conftest.$ac_objext; then
14631 bakefile_cv_c_compiler___HP_cc=yes
14632 else
14633 echo "$as_me: failed program was:" >&5
14634 sed 's/^/| /' conftest.$ac_ext >&5
14635
14636 bakefile_cv_c_compiler___HP_cc=no
14637
14638 fi
14639
14640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14641
14642
14643 fi
14644 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14645 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14646 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14647 :; HPCC=yes
14648 else
14649 :;
14650 fi
14651 ac_ext=c
14652 ac_cpp='$CPP $CPPFLAGS'
14653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14656
14657
14658
14659 ;;
14660
14661 OSF1)
14662
14663
14664 ac_ext=c
14665 ac_cpp='$CPP $CPPFLAGS'
14666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14669
14670 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14671 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14672 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14674 else
14675 cat >conftest.$ac_ext <<_ACEOF
14676 /* confdefs.h. */
14677 _ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681
14682 int
14683 main ()
14684 {
14685
14686 #ifndef __DECC
14687 choke me
14688 #endif
14689
14690 ;
14691 return 0;
14692 }
14693 _ACEOF
14694 rm -f conftest.$ac_objext
14695 if { (ac_try="$ac_compile"
14696 case "(($ac_try" in
14697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14698 *) ac_try_echo=$ac_try;;
14699 esac
14700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_compile") 2>conftest.er1
14702 ac_status=$?
14703 grep -v '^ *+' conftest.er1 >conftest.err
14704 rm -f conftest.er1
14705 cat conftest.err >&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } && {
14708 test -z "$ac_c_werror_flag" ||
14709 test ! -s conftest.err
14710 } && test -s conftest.$ac_objext; then
14711 bakefile_cv_c_compiler___DECC=yes
14712 else
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14715
14716 bakefile_cv_c_compiler___DECC=no
14717
14718 fi
14719
14720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14721
14722
14723 fi
14724 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14725 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14726 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14727 :; COMPAQCC=yes
14728 else
14729 :;
14730 fi
14731 ac_ext=c
14732 ac_cpp='$CPP $CPPFLAGS'
14733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14736
14737
14738
14739 ;;
14740
14741 SunOS)
14742
14743
14744 ac_ext=c
14745 ac_cpp='$CPP $CPPFLAGS'
14746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14749
14750 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14751 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14752 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14753 echo $ECHO_N "(cached) $ECHO_C" >&6
14754 else
14755 cat >conftest.$ac_ext <<_ACEOF
14756 /* confdefs.h. */
14757 _ACEOF
14758 cat confdefs.h >>conftest.$ac_ext
14759 cat >>conftest.$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14761
14762 int
14763 main ()
14764 {
14765
14766 #ifndef __SUNPRO_C
14767 choke me
14768 #endif
14769
14770 ;
14771 return 0;
14772 }
14773 _ACEOF
14774 rm -f conftest.$ac_objext
14775 if { (ac_try="$ac_compile"
14776 case "(($ac_try" in
14777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14778 *) ac_try_echo=$ac_try;;
14779 esac
14780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14781 (eval "$ac_compile") 2>conftest.er1
14782 ac_status=$?
14783 grep -v '^ *+' conftest.er1 >conftest.err
14784 rm -f conftest.er1
14785 cat conftest.err >&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); } && {
14788 test -z "$ac_c_werror_flag" ||
14789 test ! -s conftest.err
14790 } && test -s conftest.$ac_objext; then
14791 bakefile_cv_c_compiler___SUNPRO_C=yes
14792 else
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.$ac_ext >&5
14795
14796 bakefile_cv_c_compiler___SUNPRO_C=no
14797
14798 fi
14799
14800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14801
14802
14803 fi
14804 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14805 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14806 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14807 :; SUNCC=yes
14808 else
14809 :;
14810 fi
14811 ac_ext=c
14812 ac_cpp='$CPP $CPPFLAGS'
14813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14816
14817
14818
14819 ;;
14820 esac
14821 fi
14822
14823
14824
14825 ac_ext=c
14826 ac_cpp='$CPP $CPPFLAGS'
14827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14830 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14831 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14832 # On Suns, sometimes $CPP names a directory.
14833 if test -n "$CPP" && test -d "$CPP"; then
14834 CPP=
14835 fi
14836 if test -z "$CPP"; then
14837 if test "${ac_cv_prog_CPP+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 else
14840 # Double quotes because CPP needs to be expanded
14841 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14842 do
14843 ac_preproc_ok=false
14844 for ac_c_preproc_warn_flag in '' yes
14845 do
14846 # Use a header file that comes with gcc, so configuring glibc
14847 # with a fresh cross-compiler works.
14848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14849 # <limits.h> exists even on freestanding compilers.
14850 # On the NeXT, cc -E runs the code through the compiler's parser,
14851 # not just through cpp. "Syntax error" is here to catch this case.
14852 cat >conftest.$ac_ext <<_ACEOF
14853 /* confdefs.h. */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 #ifdef __STDC__
14859 # include <limits.h>
14860 #else
14861 # include <assert.h>
14862 #endif
14863 Syntax error
14864 _ACEOF
14865 if { (ac_try="$ac_cpp conftest.$ac_ext"
14866 case "(($ac_try" in
14867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14868 *) ac_try_echo=$ac_try;;
14869 esac
14870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14872 ac_status=$?
14873 grep -v '^ *+' conftest.er1 >conftest.err
14874 rm -f conftest.er1
14875 cat conftest.err >&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); } >/dev/null && {
14878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14879 test ! -s conftest.err
14880 }; then
14881 :
14882 else
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.$ac_ext >&5
14885
14886 # Broken: fails on valid input.
14887 continue
14888 fi
14889
14890 rm -f conftest.err conftest.$ac_ext
14891
14892 # OK, works on sane cases. Now check whether nonexistent headers
14893 # can be detected and how.
14894 cat >conftest.$ac_ext <<_ACEOF
14895 /* confdefs.h. */
14896 _ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900 #include <ac_nonexistent.h>
14901 _ACEOF
14902 if { (ac_try="$ac_cpp conftest.$ac_ext"
14903 case "(($ac_try" in
14904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14905 *) ac_try_echo=$ac_try;;
14906 esac
14907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14909 ac_status=$?
14910 grep -v '^ *+' conftest.er1 >conftest.err
14911 rm -f conftest.er1
14912 cat conftest.err >&5
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); } >/dev/null && {
14915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14916 test ! -s conftest.err
14917 }; then
14918 # Broken: success on invalid input.
14919 continue
14920 else
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.$ac_ext >&5
14923
14924 # Passes both tests.
14925 ac_preproc_ok=:
14926 break
14927 fi
14928
14929 rm -f conftest.err conftest.$ac_ext
14930
14931 done
14932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14933 rm -f conftest.err conftest.$ac_ext
14934 if $ac_preproc_ok; then
14935 break
14936 fi
14937
14938 done
14939 ac_cv_prog_CPP=$CPP
14940
14941 fi
14942 CPP=$ac_cv_prog_CPP
14943 else
14944 ac_cv_prog_CPP=$CPP
14945 fi
14946 { echo "$as_me:$LINENO: result: $CPP" >&5
14947 echo "${ECHO_T}$CPP" >&6; }
14948 ac_preproc_ok=false
14949 for ac_c_preproc_warn_flag in '' yes
14950 do
14951 # Use a header file that comes with gcc, so configuring glibc
14952 # with a fresh cross-compiler works.
14953 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14954 # <limits.h> exists even on freestanding compilers.
14955 # On the NeXT, cc -E runs the code through the compiler's parser,
14956 # not just through cpp. "Syntax error" is here to catch this case.
14957 cat >conftest.$ac_ext <<_ACEOF
14958 /* confdefs.h. */
14959 _ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14963 #ifdef __STDC__
14964 # include <limits.h>
14965 #else
14966 # include <assert.h>
14967 #endif
14968 Syntax error
14969 _ACEOF
14970 if { (ac_try="$ac_cpp conftest.$ac_ext"
14971 case "(($ac_try" in
14972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14973 *) ac_try_echo=$ac_try;;
14974 esac
14975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14977 ac_status=$?
14978 grep -v '^ *+' conftest.er1 >conftest.err
14979 rm -f conftest.er1
14980 cat conftest.err >&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } >/dev/null && {
14983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14984 test ! -s conftest.err
14985 }; then
14986 :
14987 else
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.$ac_ext >&5
14990
14991 # Broken: fails on valid input.
14992 continue
14993 fi
14994
14995 rm -f conftest.err conftest.$ac_ext
14996
14997 # OK, works on sane cases. Now check whether nonexistent headers
14998 # can be detected and how.
14999 cat >conftest.$ac_ext <<_ACEOF
15000 /* confdefs.h. */
15001 _ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 #include <ac_nonexistent.h>
15006 _ACEOF
15007 if { (ac_try="$ac_cpp conftest.$ac_ext"
15008 case "(($ac_try" in
15009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15010 *) ac_try_echo=$ac_try;;
15011 esac
15012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15014 ac_status=$?
15015 grep -v '^ *+' conftest.er1 >conftest.err
15016 rm -f conftest.er1
15017 cat conftest.err >&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } >/dev/null && {
15020 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15021 test ! -s conftest.err
15022 }; then
15023 # Broken: success on invalid input.
15024 continue
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15028
15029 # Passes both tests.
15030 ac_preproc_ok=:
15031 break
15032 fi
15033
15034 rm -f conftest.err conftest.$ac_ext
15035
15036 done
15037 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15038 rm -f conftest.err conftest.$ac_ext
15039 if $ac_preproc_ok; then
15040 :
15041 else
15042 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15043 See \`config.log' for more details." >&5
15044 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15045 See \`config.log' for more details." >&2;}
15046 { (exit 1); exit 1; }; }
15047 fi
15048
15049 ac_ext=c
15050 ac_cpp='$CPP $CPPFLAGS'
15051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15054
15055
15056 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15057 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15058 if test "${ac_cv_path_GREP+set}" = set; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 else
15061 # Extract the first word of "grep ggrep" to use in msg output
15062 if test -z "$GREP"; then
15063 set dummy grep ggrep; ac_prog_name=$2
15064 if test "${ac_cv_path_GREP+set}" = set; then
15065 echo $ECHO_N "(cached) $ECHO_C" >&6
15066 else
15067 ac_path_GREP_found=false
15068 # Loop through the user's path and test for each of PROGNAME-LIST
15069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15070 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15071 do
15072 IFS=$as_save_IFS
15073 test -z "$as_dir" && as_dir=.
15074 for ac_prog in grep ggrep; do
15075 for ac_exec_ext in '' $ac_executable_extensions; do
15076 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15077 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15078 # Check for GNU ac_path_GREP and select it if it is found.
15079 # Check for GNU $ac_path_GREP
15080 case `"$ac_path_GREP" --version 2>&1` in
15081 *GNU*)
15082 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15083 *)
15084 ac_count=0
15085 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15086 while :
15087 do
15088 cat "conftest.in" "conftest.in" >"conftest.tmp"
15089 mv "conftest.tmp" "conftest.in"
15090 cp "conftest.in" "conftest.nl"
15091 echo 'GREP' >> "conftest.nl"
15092 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15093 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15094 ac_count=`expr $ac_count + 1`
15095 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15096 # Best one so far, save it but keep looking for a better one
15097 ac_cv_path_GREP="$ac_path_GREP"
15098 ac_path_GREP_max=$ac_count
15099 fi
15100 # 10*(2^10) chars as input seems more than enough
15101 test $ac_count -gt 10 && break
15102 done
15103 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15104 esac
15105
15106
15107 $ac_path_GREP_found && break 3
15108 done
15109 done
15110
15111 done
15112 IFS=$as_save_IFS
15113
15114
15115 fi
15116
15117 GREP="$ac_cv_path_GREP"
15118 if test -z "$GREP"; then
15119 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15120 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15121 { (exit 1); exit 1; }; }
15122 fi
15123
15124 else
15125 ac_cv_path_GREP=$GREP
15126 fi
15127
15128
15129 fi
15130 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15131 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15132 GREP="$ac_cv_path_GREP"
15133
15134
15135 { echo "$as_me:$LINENO: checking for egrep" >&5
15136 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15137 if test "${ac_cv_path_EGREP+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 else
15140 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15141 then ac_cv_path_EGREP="$GREP -E"
15142 else
15143 # Extract the first word of "egrep" to use in msg output
15144 if test -z "$EGREP"; then
15145 set dummy egrep; ac_prog_name=$2
15146 if test "${ac_cv_path_EGREP+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 ac_path_EGREP_found=false
15150 # Loop through the user's path and test for each of PROGNAME-LIST
15151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15152 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15153 do
15154 IFS=$as_save_IFS
15155 test -z "$as_dir" && as_dir=.
15156 for ac_prog in egrep; do
15157 for ac_exec_ext in '' $ac_executable_extensions; do
15158 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15159 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15160 # Check for GNU ac_path_EGREP and select it if it is found.
15161 # Check for GNU $ac_path_EGREP
15162 case `"$ac_path_EGREP" --version 2>&1` in
15163 *GNU*)
15164 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15165 *)
15166 ac_count=0
15167 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15168 while :
15169 do
15170 cat "conftest.in" "conftest.in" >"conftest.tmp"
15171 mv "conftest.tmp" "conftest.in"
15172 cp "conftest.in" "conftest.nl"
15173 echo 'EGREP' >> "conftest.nl"
15174 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15175 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15176 ac_count=`expr $ac_count + 1`
15177 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15178 # Best one so far, save it but keep looking for a better one
15179 ac_cv_path_EGREP="$ac_path_EGREP"
15180 ac_path_EGREP_max=$ac_count
15181 fi
15182 # 10*(2^10) chars as input seems more than enough
15183 test $ac_count -gt 10 && break
15184 done
15185 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15186 esac
15187
15188
15189 $ac_path_EGREP_found && break 3
15190 done
15191 done
15192
15193 done
15194 IFS=$as_save_IFS
15195
15196
15197 fi
15198
15199 EGREP="$ac_cv_path_EGREP"
15200 if test -z "$EGREP"; then
15201 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15202 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15203 { (exit 1); exit 1; }; }
15204 fi
15205
15206 else
15207 ac_cv_path_EGREP=$EGREP
15208 fi
15209
15210
15211 fi
15212 fi
15213 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15214 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15215 EGREP="$ac_cv_path_EGREP"
15216
15217
15218 if test $ac_cv_c_compiler_gnu = yes; then
15219 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15220 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15221 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 else
15224 ac_pattern="Autoconf.*'x'"
15225 cat >conftest.$ac_ext <<_ACEOF
15226 /* confdefs.h. */
15227 _ACEOF
15228 cat confdefs.h >>conftest.$ac_ext
15229 cat >>conftest.$ac_ext <<_ACEOF
15230 /* end confdefs.h. */
15231 #include <sgtty.h>
15232 Autoconf TIOCGETP
15233 _ACEOF
15234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15235 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15236 ac_cv_prog_gcc_traditional=yes
15237 else
15238 ac_cv_prog_gcc_traditional=no
15239 fi
15240 rm -f conftest*
15241
15242
15243 if test $ac_cv_prog_gcc_traditional = no; then
15244 cat >conftest.$ac_ext <<_ACEOF
15245 /* confdefs.h. */
15246 _ACEOF
15247 cat confdefs.h >>conftest.$ac_ext
15248 cat >>conftest.$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15250 #include <termio.h>
15251 Autoconf TCGETA
15252 _ACEOF
15253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15254 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15255 ac_cv_prog_gcc_traditional=yes
15256 fi
15257 rm -f conftest*
15258
15259 fi
15260 fi
15261 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15262 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15263 if test $ac_cv_prog_gcc_traditional = yes; then
15264 CC="$CC -traditional"
15265 fi
15266 fi
15267
15268
15269 CXXFLAGS=${CXXFLAGS:=}
15270
15271
15272
15273 ac_ext=cpp
15274 ac_cpp='$CXXCPP $CPPFLAGS'
15275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15278 if test -z "$CXX"; then
15279 if test -n "$CCC"; then
15280 CXX=$CCC
15281 else
15282 if test -n "$ac_tool_prefix"; then
15283 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15284 do
15285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15289 if test "${ac_cv_prog_CXX+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 else
15292 if test -n "$CXX"; then
15293 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15294 else
15295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15296 for as_dir in $PATH
15297 do
15298 IFS=$as_save_IFS
15299 test -z "$as_dir" && as_dir=.
15300 for ac_exec_ext in '' $ac_executable_extensions; do
15301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15302 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15304 break 2
15305 fi
15306 done
15307 done
15308 IFS=$as_save_IFS
15309
15310 fi
15311 fi
15312 CXX=$ac_cv_prog_CXX
15313 if test -n "$CXX"; then
15314 { echo "$as_me:$LINENO: result: $CXX" >&5
15315 echo "${ECHO_T}$CXX" >&6; }
15316 else
15317 { echo "$as_me:$LINENO: result: no" >&5
15318 echo "${ECHO_T}no" >&6; }
15319 fi
15320
15321
15322 test -n "$CXX" && break
15323 done
15324 fi
15325 if test -z "$CXX"; then
15326 ac_ct_CXX=$CXX
15327 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15328 do
15329 # Extract the first word of "$ac_prog", so it can be a program name with args.
15330 set dummy $ac_prog; ac_word=$2
15331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15333 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 else
15336 if test -n "$ac_ct_CXX"; then
15337 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15338 else
15339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15340 for as_dir in $PATH
15341 do
15342 IFS=$as_save_IFS
15343 test -z "$as_dir" && as_dir=.
15344 for ac_exec_ext in '' $ac_executable_extensions; do
15345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15346 ac_cv_prog_ac_ct_CXX="$ac_prog"
15347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15348 break 2
15349 fi
15350 done
15351 done
15352 IFS=$as_save_IFS
15353
15354 fi
15355 fi
15356 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15357 if test -n "$ac_ct_CXX"; then
15358 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15359 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15360 else
15361 { echo "$as_me:$LINENO: result: no" >&5
15362 echo "${ECHO_T}no" >&6; }
15363 fi
15364
15365
15366 test -n "$ac_ct_CXX" && break
15367 done
15368
15369 if test "x$ac_ct_CXX" = x; then
15370 CXX="g++"
15371 else
15372 case $cross_compiling:$ac_tool_warned in
15373 yes:)
15374 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15375 whose name does not start with the host triplet. If you think this
15376 configuration is useful to you, please write to autoconf@gnu.org." >&5
15377 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15378 whose name does not start with the host triplet. If you think this
15379 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15380 ac_tool_warned=yes ;;
15381 esac
15382 CXX=$ac_ct_CXX
15383 fi
15384 fi
15385
15386 fi
15387 fi
15388 # Provide some information about the compiler.
15389 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15390 ac_compiler=`set X $ac_compile; echo $2`
15391 { (ac_try="$ac_compiler --version >&5"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15395 esac
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_compiler --version >&5") 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }
15401 { (ac_try="$ac_compiler -v >&5"
15402 case "(($ac_try" in
15403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15404 *) ac_try_echo=$ac_try;;
15405 esac
15406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15407 (eval "$ac_compiler -v >&5") 2>&5
15408 ac_status=$?
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }
15411 { (ac_try="$ac_compiler -V >&5"
15412 case "(($ac_try" in
15413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15414 *) ac_try_echo=$ac_try;;
15415 esac
15416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15417 (eval "$ac_compiler -V >&5") 2>&5
15418 ac_status=$?
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); }
15421
15422 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15423 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15424 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15425 echo $ECHO_N "(cached) $ECHO_C" >&6
15426 else
15427 cat >conftest.$ac_ext <<_ACEOF
15428 /* confdefs.h. */
15429 _ACEOF
15430 cat confdefs.h >>conftest.$ac_ext
15431 cat >>conftest.$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15433
15434 int
15435 main ()
15436 {
15437 #ifndef __GNUC__
15438 choke me
15439 #endif
15440
15441 ;
15442 return 0;
15443 }
15444 _ACEOF
15445 rm -f conftest.$ac_objext
15446 if { (ac_try="$ac_compile"
15447 case "(($ac_try" in
15448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15449 *) ac_try_echo=$ac_try;;
15450 esac
15451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15452 (eval "$ac_compile") 2>conftest.er1
15453 ac_status=$?
15454 grep -v '^ *+' conftest.er1 >conftest.err
15455 rm -f conftest.er1
15456 cat conftest.err >&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } && {
15459 test -z "$ac_cxx_werror_flag" ||
15460 test ! -s conftest.err
15461 } && test -s conftest.$ac_objext; then
15462 ac_compiler_gnu=yes
15463 else
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.$ac_ext >&5
15466
15467 ac_compiler_gnu=no
15468 fi
15469
15470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15471 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15472
15473 fi
15474 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15475 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15476 GXX=`test $ac_compiler_gnu = yes && echo yes`
15477 ac_test_CXXFLAGS=${CXXFLAGS+set}
15478 ac_save_CXXFLAGS=$CXXFLAGS
15479 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15480 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15481 if test "${ac_cv_prog_cxx_g+set}" = set; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15483 else
15484 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15485 ac_cxx_werror_flag=yes
15486 ac_cv_prog_cxx_g=no
15487 CXXFLAGS="-g"
15488 cat >conftest.$ac_ext <<_ACEOF
15489 /* confdefs.h. */
15490 _ACEOF
15491 cat confdefs.h >>conftest.$ac_ext
15492 cat >>conftest.$ac_ext <<_ACEOF
15493 /* end confdefs.h. */
15494
15495 int
15496 main ()
15497 {
15498
15499 ;
15500 return 0;
15501 }
15502 _ACEOF
15503 rm -f conftest.$ac_objext
15504 if { (ac_try="$ac_compile"
15505 case "(($ac_try" in
15506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15507 *) ac_try_echo=$ac_try;;
15508 esac
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_compile") 2>conftest.er1
15511 ac_status=$?
15512 grep -v '^ *+' conftest.er1 >conftest.err
15513 rm -f conftest.er1
15514 cat conftest.err >&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } && {
15517 test -z "$ac_cxx_werror_flag" ||
15518 test ! -s conftest.err
15519 } && test -s conftest.$ac_objext; then
15520 ac_cv_prog_cxx_g=yes
15521 else
15522 echo "$as_me: failed program was:" >&5
15523 sed 's/^/| /' conftest.$ac_ext >&5
15524
15525 CXXFLAGS=""
15526 cat >conftest.$ac_ext <<_ACEOF
15527 /* confdefs.h. */
15528 _ACEOF
15529 cat confdefs.h >>conftest.$ac_ext
15530 cat >>conftest.$ac_ext <<_ACEOF
15531 /* end confdefs.h. */
15532
15533 int
15534 main ()
15535 {
15536
15537 ;
15538 return 0;
15539 }
15540 _ACEOF
15541 rm -f conftest.$ac_objext
15542 if { (ac_try="$ac_compile"
15543 case "(($ac_try" in
15544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15545 *) ac_try_echo=$ac_try;;
15546 esac
15547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15548 (eval "$ac_compile") 2>conftest.er1
15549 ac_status=$?
15550 grep -v '^ *+' conftest.er1 >conftest.err
15551 rm -f conftest.er1
15552 cat conftest.err >&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } && {
15555 test -z "$ac_cxx_werror_flag" ||
15556 test ! -s conftest.err
15557 } && test -s conftest.$ac_objext; then
15558 :
15559 else
15560 echo "$as_me: failed program was:" >&5
15561 sed 's/^/| /' conftest.$ac_ext >&5
15562
15563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15564 CXXFLAGS="-g"
15565 cat >conftest.$ac_ext <<_ACEOF
15566 /* confdefs.h. */
15567 _ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15571
15572 int
15573 main ()
15574 {
15575
15576 ;
15577 return 0;
15578 }
15579 _ACEOF
15580 rm -f conftest.$ac_objext
15581 if { (ac_try="$ac_compile"
15582 case "(($ac_try" in
15583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15584 *) ac_try_echo=$ac_try;;
15585 esac
15586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15587 (eval "$ac_compile") 2>conftest.er1
15588 ac_status=$?
15589 grep -v '^ *+' conftest.er1 >conftest.err
15590 rm -f conftest.er1
15591 cat conftest.err >&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } && {
15594 test -z "$ac_cxx_werror_flag" ||
15595 test ! -s conftest.err
15596 } && test -s conftest.$ac_objext; then
15597 ac_cv_prog_cxx_g=yes
15598 else
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15601
15602
15603 fi
15604
15605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15606 fi
15607
15608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15609 fi
15610
15611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15612 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15613 fi
15614 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15615 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15616 if test "$ac_test_CXXFLAGS" = set; then
15617 CXXFLAGS=$ac_save_CXXFLAGS
15618 elif test $ac_cv_prog_cxx_g = yes; then
15619 if test "$GXX" = yes; then
15620 CXXFLAGS="-g -O2"
15621 else
15622 CXXFLAGS="-g"
15623 fi
15624 else
15625 if test "$GXX" = yes; then
15626 CXXFLAGS="-O2"
15627 else
15628 CXXFLAGS=
15629 fi
15630 fi
15631 ac_ext=c
15632 ac_cpp='$CPP $CPPFLAGS'
15633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15636
15637
15638
15639
15640 ac_ext=cpp
15641 ac_cpp='$CXXCPP $CPPFLAGS'
15642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15645
15646 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15647 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15648 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15650 else
15651 cat >conftest.$ac_ext <<_ACEOF
15652 /* confdefs.h. */
15653 _ACEOF
15654 cat confdefs.h >>conftest.$ac_ext
15655 cat >>conftest.$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657
15658 int
15659 main ()
15660 {
15661
15662 #ifndef __INTEL_COMPILER
15663 choke me
15664 #endif
15665
15666 ;
15667 return 0;
15668 }
15669 _ACEOF
15670 rm -f conftest.$ac_objext
15671 if { (ac_try="$ac_compile"
15672 case "(($ac_try" in
15673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15674 *) ac_try_echo=$ac_try;;
15675 esac
15676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15677 (eval "$ac_compile") 2>conftest.er1
15678 ac_status=$?
15679 grep -v '^ *+' conftest.er1 >conftest.err
15680 rm -f conftest.er1
15681 cat conftest.err >&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } && {
15684 test -z "$ac_cxx_werror_flag" ||
15685 test ! -s conftest.err
15686 } && test -s conftest.$ac_objext; then
15687 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15688 else
15689 echo "$as_me: failed program was:" >&5
15690 sed 's/^/| /' conftest.$ac_ext >&5
15691
15692 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15693
15694 fi
15695
15696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15697
15698
15699 fi
15700 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15701 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15702 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15703 :; INTELCXX=yes
15704 else
15705 :;
15706 fi
15707 ac_ext=c
15708 ac_cpp='$CPP $CPPFLAGS'
15709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15712
15713
15714
15715
15716 if test "x$GCXX" != "xyes"; then
15717 if test "xCXX" = "xC"; then
15718 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15719 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15720 if test "${bakefile_cv_c_exto+set}" = set; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 else
15723 cat >conftest.$ac_ext <<_ACEOF
15724 /* confdefs.h. */
15725 _ACEOF
15726 cat confdefs.h >>conftest.$ac_ext
15727 cat >>conftest.$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729
15730 int
15731 main ()
15732 {
15733
15734 ;
15735 return 0;
15736 }
15737 _ACEOF
15738 rm -f conftest.$ac_objext conftest.$ac_ext.o
15739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15740 (eval $ac_compile) 2>&5
15741 ac_status=$?
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; then
15744 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15745 case $ac_file in
15746 conftest.$ac_ext.o)
15747 bakefile_cv_c_exto="-ext o"
15748 ;;
15749 *)
15750 ;;
15751 esac
15752 done
15753 else
15754 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15755 See \`config.log' for more details." >&5
15756 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15757 See \`config.log' for more details." >&2;}
15758 { (exit 1); exit 1; }; }
15759
15760 fi
15761
15762 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15763
15764 fi
15765 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15766 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15767 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15768 if test "c" = "c"; then
15769 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15770 fi
15771 if test "c" = "cxx"; then
15772 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15773 fi
15774 fi
15775
15776 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15777 unset ac_cv_prog_cc_g
15778 ac_test_CFLAGS=${CFLAGS+set}
15779 ac_save_CFLAGS=$CFLAGS
15780 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15781 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15782 if test "${ac_cv_prog_cc_g+set}" = set; then
15783 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 else
15785 ac_save_c_werror_flag=$ac_c_werror_flag
15786 ac_c_werror_flag=yes
15787 ac_cv_prog_cc_g=no
15788 CFLAGS="-g"
15789 cat >conftest.$ac_ext <<_ACEOF
15790 /* confdefs.h. */
15791 _ACEOF
15792 cat confdefs.h >>conftest.$ac_ext
15793 cat >>conftest.$ac_ext <<_ACEOF
15794 /* end confdefs.h. */
15795
15796 int
15797 main ()
15798 {
15799
15800 ;
15801 return 0;
15802 }
15803 _ACEOF
15804 rm -f conftest.$ac_objext
15805 if { (ac_try="$ac_compile"
15806 case "(($ac_try" in
15807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15808 *) ac_try_echo=$ac_try;;
15809 esac
15810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15811 (eval "$ac_compile") 2>conftest.er1
15812 ac_status=$?
15813 grep -v '^ *+' conftest.er1 >conftest.err
15814 rm -f conftest.er1
15815 cat conftest.err >&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } && {
15818 test -z "$ac_c_werror_flag" ||
15819 test ! -s conftest.err
15820 } && test -s conftest.$ac_objext; then
15821 ac_cv_prog_cc_g=yes
15822 else
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.$ac_ext >&5
15825
15826 CFLAGS=""
15827 cat >conftest.$ac_ext <<_ACEOF
15828 /* confdefs.h. */
15829 _ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15833
15834 int
15835 main ()
15836 {
15837
15838 ;
15839 return 0;
15840 }
15841 _ACEOF
15842 rm -f conftest.$ac_objext
15843 if { (ac_try="$ac_compile"
15844 case "(($ac_try" in
15845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15846 *) ac_try_echo=$ac_try;;
15847 esac
15848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15849 (eval "$ac_compile") 2>conftest.er1
15850 ac_status=$?
15851 grep -v '^ *+' conftest.er1 >conftest.err
15852 rm -f conftest.er1
15853 cat conftest.err >&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); } && {
15856 test -z "$ac_c_werror_flag" ||
15857 test ! -s conftest.err
15858 } && test -s conftest.$ac_objext; then
15859 :
15860 else
15861 echo "$as_me: failed program was:" >&5
15862 sed 's/^/| /' conftest.$ac_ext >&5
15863
15864 ac_c_werror_flag=$ac_save_c_werror_flag
15865 CFLAGS="-g"
15866 cat >conftest.$ac_ext <<_ACEOF
15867 /* confdefs.h. */
15868 _ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872
15873 int
15874 main ()
15875 {
15876
15877 ;
15878 return 0;
15879 }
15880 _ACEOF
15881 rm -f conftest.$ac_objext
15882 if { (ac_try="$ac_compile"
15883 case "(($ac_try" in
15884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15885 *) ac_try_echo=$ac_try;;
15886 esac
15887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15888 (eval "$ac_compile") 2>conftest.er1
15889 ac_status=$?
15890 grep -v '^ *+' conftest.er1 >conftest.err
15891 rm -f conftest.er1
15892 cat conftest.err >&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } && {
15895 test -z "$ac_c_werror_flag" ||
15896 test ! -s conftest.err
15897 } && test -s conftest.$ac_objext; then
15898 ac_cv_prog_cc_g=yes
15899 else
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15902
15903
15904 fi
15905
15906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15907 fi
15908
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 fi
15911
15912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15913 ac_c_werror_flag=$ac_save_c_werror_flag
15914 fi
15915 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15916 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15917 if test "$ac_test_CFLAGS" = set; then
15918 CFLAGS=$ac_save_CFLAGS
15919 elif test $ac_cv_prog_cc_g = yes; then
15920 if test "$GCC" = yes; then
15921 CFLAGS="-g -O2"
15922 else
15923 CFLAGS="-g"
15924 fi
15925 else
15926 if test "$GCC" = yes; then
15927 CFLAGS="-O2"
15928 else
15929 CFLAGS=
15930 fi
15931 fi
15932 fi
15933 fi
15934
15935 case `uname -s` in
15936 AIX*)
15937
15938
15939 ac_ext=cpp
15940 ac_cpp='$CXXCPP $CPPFLAGS'
15941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15944
15945 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15946 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15947 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15949 else
15950 cat >conftest.$ac_ext <<_ACEOF
15951 /* confdefs.h. */
15952 _ACEOF
15953 cat confdefs.h >>conftest.$ac_ext
15954 cat >>conftest.$ac_ext <<_ACEOF
15955 /* end confdefs.h. */
15956
15957 int
15958 main ()
15959 {
15960
15961 #ifndef __xlC__
15962 choke me
15963 #endif
15964
15965 ;
15966 return 0;
15967 }
15968 _ACEOF
15969 rm -f conftest.$ac_objext
15970 if { (ac_try="$ac_compile"
15971 case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15974 esac
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_compile") 2>conftest.er1
15977 ac_status=$?
15978 grep -v '^ *+' conftest.er1 >conftest.err
15979 rm -f conftest.er1
15980 cat conftest.err >&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } && {
15983 test -z "$ac_cxx_werror_flag" ||
15984 test ! -s conftest.err
15985 } && test -s conftest.$ac_objext; then
15986 bakefile_cv_cxx_compiler___xlC__=yes
15987 else
15988 echo "$as_me: failed program was:" >&5
15989 sed 's/^/| /' conftest.$ac_ext >&5
15990
15991 bakefile_cv_cxx_compiler___xlC__=no
15992
15993 fi
15994
15995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15996
15997
15998 fi
15999 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16000 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16001 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16002 :; XLCXX=yes
16003 else
16004 :;
16005 fi
16006 ac_ext=c
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011
16012
16013
16014 ;;
16015
16016 Darwin)
16017
16018
16019 ac_ext=cpp
16020 ac_cpp='$CXXCPP $CPPFLAGS'
16021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16024
16025 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16026 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16027 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 else
16030 cat >conftest.$ac_ext <<_ACEOF
16031 /* confdefs.h. */
16032 _ACEOF
16033 cat confdefs.h >>conftest.$ac_ext
16034 cat >>conftest.$ac_ext <<_ACEOF
16035 /* end confdefs.h. */
16036
16037 int
16038 main ()
16039 {
16040
16041 #ifndef __MWERKS__
16042 choke me
16043 #endif
16044
16045 ;
16046 return 0;
16047 }
16048 _ACEOF
16049 rm -f conftest.$ac_objext
16050 if { (ac_try="$ac_compile"
16051 case "(($ac_try" in
16052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16053 *) ac_try_echo=$ac_try;;
16054 esac
16055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16056 (eval "$ac_compile") 2>conftest.er1
16057 ac_status=$?
16058 grep -v '^ *+' conftest.er1 >conftest.err
16059 rm -f conftest.er1
16060 cat conftest.err >&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); } && {
16063 test -z "$ac_cxx_werror_flag" ||
16064 test ! -s conftest.err
16065 } && test -s conftest.$ac_objext; then
16066 bakefile_cv_cxx_compiler___MWERKS__=yes
16067 else
16068 echo "$as_me: failed program was:" >&5
16069 sed 's/^/| /' conftest.$ac_ext >&5
16070
16071 bakefile_cv_cxx_compiler___MWERKS__=no
16072
16073 fi
16074
16075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16076
16077
16078 fi
16079 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16080 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16081 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16082 :; MWCXX=yes
16083 else
16084 :;
16085 fi
16086 ac_ext=c
16087 ac_cpp='$CPP $CPPFLAGS'
16088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16091
16092
16093
16094
16095
16096 ac_ext=cpp
16097 ac_cpp='$CXXCPP $CPPFLAGS'
16098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16101
16102 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16103 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16104 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16105 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 else
16107 cat >conftest.$ac_ext <<_ACEOF
16108 /* confdefs.h. */
16109 _ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113
16114 int
16115 main ()
16116 {
16117
16118 #ifndef __xlC__
16119 choke me
16120 #endif
16121
16122 ;
16123 return 0;
16124 }
16125 _ACEOF
16126 rm -f conftest.$ac_objext
16127 if { (ac_try="$ac_compile"
16128 case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16131 esac
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_compile") 2>conftest.er1
16134 ac_status=$?
16135 grep -v '^ *+' conftest.er1 >conftest.err
16136 rm -f conftest.er1
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } && {
16140 test -z "$ac_cxx_werror_flag" ||
16141 test ! -s conftest.err
16142 } && test -s conftest.$ac_objext; then
16143 bakefile_cv_cxx_compiler___xlC__=yes
16144 else
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16147
16148 bakefile_cv_cxx_compiler___xlC__=no
16149
16150 fi
16151
16152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153
16154
16155 fi
16156 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16157 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16158 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16159 :; XLCXX=yes
16160 else
16161 :;
16162 fi
16163 ac_ext=c
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16168
16169
16170
16171 ;;
16172
16173 IRIX*)
16174
16175
16176 ac_ext=cpp
16177 ac_cpp='$CXXCPP $CPPFLAGS'
16178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16181
16182 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16183 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16184 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16185 echo $ECHO_N "(cached) $ECHO_C" >&6
16186 else
16187 cat >conftest.$ac_ext <<_ACEOF
16188 /* confdefs.h. */
16189 _ACEOF
16190 cat confdefs.h >>conftest.$ac_ext
16191 cat >>conftest.$ac_ext <<_ACEOF
16192 /* end confdefs.h. */
16193
16194 int
16195 main ()
16196 {
16197
16198 #ifndef _SGI_COMPILER_VERSION
16199 choke me
16200 #endif
16201
16202 ;
16203 return 0;
16204 }
16205 _ACEOF
16206 rm -f conftest.$ac_objext
16207 if { (ac_try="$ac_compile"
16208 case "(($ac_try" in
16209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16210 *) ac_try_echo=$ac_try;;
16211 esac
16212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16213 (eval "$ac_compile") 2>conftest.er1
16214 ac_status=$?
16215 grep -v '^ *+' conftest.er1 >conftest.err
16216 rm -f conftest.er1
16217 cat conftest.err >&5
16218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16219 (exit $ac_status); } && {
16220 test -z "$ac_cxx_werror_flag" ||
16221 test ! -s conftest.err
16222 } && test -s conftest.$ac_objext; then
16223 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16224 else
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.$ac_ext >&5
16227
16228 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16229
16230 fi
16231
16232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16233
16234
16235 fi
16236 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16237 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16238 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16239 :; SGICXX=yes
16240 else
16241 :;
16242 fi
16243 ac_ext=c
16244 ac_cpp='$CPP $CPPFLAGS'
16245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16248
16249
16250
16251 ;;
16252
16253 Linux*)
16254
16255
16256 ac_ext=cpp
16257 ac_cpp='$CXXCPP $CPPFLAGS'
16258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16261
16262 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16263 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16264 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16265 echo $ECHO_N "(cached) $ECHO_C" >&6
16266 else
16267 cat >conftest.$ac_ext <<_ACEOF
16268 /* confdefs.h. */
16269 _ACEOF
16270 cat confdefs.h >>conftest.$ac_ext
16271 cat >>conftest.$ac_ext <<_ACEOF
16272 /* end confdefs.h. */
16273
16274 int
16275 main ()
16276 {
16277
16278 #ifndef __SUNPRO_CC
16279 choke me
16280 #endif
16281
16282 ;
16283 return 0;
16284 }
16285 _ACEOF
16286 rm -f conftest.$ac_objext
16287 if { (ac_try="$ac_compile"
16288 case "(($ac_try" in
16289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16290 *) ac_try_echo=$ac_try;;
16291 esac
16292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16293 (eval "$ac_compile") 2>conftest.er1
16294 ac_status=$?
16295 grep -v '^ *+' conftest.er1 >conftest.err
16296 rm -f conftest.er1
16297 cat conftest.err >&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } && {
16300 test -z "$ac_cxx_werror_flag" ||
16301 test ! -s conftest.err
16302 } && test -s conftest.$ac_objext; then
16303 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16304 else
16305 echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.$ac_ext >&5
16307
16308 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16309
16310 fi
16311
16312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16313
16314
16315 fi
16316 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16317 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16318 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16319 :; SUNCXX=yes
16320 else
16321 :;
16322 fi
16323 ac_ext=c
16324 ac_cpp='$CPP $CPPFLAGS'
16325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16328
16329
16330
16331 ;;
16332
16333 HP-UX*)
16334
16335
16336 ac_ext=cpp
16337 ac_cpp='$CXXCPP $CPPFLAGS'
16338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16341
16342 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16343 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16344 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16345 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 else
16347 cat >conftest.$ac_ext <<_ACEOF
16348 /* confdefs.h. */
16349 _ACEOF
16350 cat confdefs.h >>conftest.$ac_ext
16351 cat >>conftest.$ac_ext <<_ACEOF
16352 /* end confdefs.h. */
16353
16354 int
16355 main ()
16356 {
16357
16358 #ifndef __HP_aCC
16359 choke me
16360 #endif
16361
16362 ;
16363 return 0;
16364 }
16365 _ACEOF
16366 rm -f conftest.$ac_objext
16367 if { (ac_try="$ac_compile"
16368 case "(($ac_try" in
16369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16370 *) ac_try_echo=$ac_try;;
16371 esac
16372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16373 (eval "$ac_compile") 2>conftest.er1
16374 ac_status=$?
16375 grep -v '^ *+' conftest.er1 >conftest.err
16376 rm -f conftest.er1
16377 cat conftest.err >&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } && {
16380 test -z "$ac_cxx_werror_flag" ||
16381 test ! -s conftest.err
16382 } && test -s conftest.$ac_objext; then
16383 bakefile_cv_cxx_compiler___HP_aCC=yes
16384 else
16385 echo "$as_me: failed program was:" >&5
16386 sed 's/^/| /' conftest.$ac_ext >&5
16387
16388 bakefile_cv_cxx_compiler___HP_aCC=no
16389
16390 fi
16391
16392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16393
16394
16395 fi
16396 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16397 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16398 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
16399 :; HPCXX=yes
16400 else
16401 :;
16402 fi
16403 ac_ext=c
16404 ac_cpp='$CPP $CPPFLAGS'
16405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16408
16409
16410
16411 ;;
16412
16413 OSF1)
16414
16415
16416 ac_ext=cpp
16417 ac_cpp='$CXXCPP $CPPFLAGS'
16418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16421
16422 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16423 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16424 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16425 echo $ECHO_N "(cached) $ECHO_C" >&6
16426 else
16427 cat >conftest.$ac_ext <<_ACEOF
16428 /* confdefs.h. */
16429 _ACEOF
16430 cat confdefs.h >>conftest.$ac_ext
16431 cat >>conftest.$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16433
16434 int
16435 main ()
16436 {
16437
16438 #ifndef __DECCXX
16439 choke me
16440 #endif
16441
16442 ;
16443 return 0;
16444 }
16445 _ACEOF
16446 rm -f conftest.$ac_objext
16447 if { (ac_try="$ac_compile"
16448 case "(($ac_try" in
16449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16450 *) ac_try_echo=$ac_try;;
16451 esac
16452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16453 (eval "$ac_compile") 2>conftest.er1
16454 ac_status=$?
16455 grep -v '^ *+' conftest.er1 >conftest.err
16456 rm -f conftest.er1
16457 cat conftest.err >&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } && {
16460 test -z "$ac_cxx_werror_flag" ||
16461 test ! -s conftest.err
16462 } && test -s conftest.$ac_objext; then
16463 bakefile_cv_cxx_compiler___DECCXX=yes
16464 else
16465 echo "$as_me: failed program was:" >&5
16466 sed 's/^/| /' conftest.$ac_ext >&5
16467
16468 bakefile_cv_cxx_compiler___DECCXX=no
16469
16470 fi
16471
16472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16473
16474
16475 fi
16476 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16477 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16478 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
16479 :; COMPAQCXX=yes
16480 else
16481 :;
16482 fi
16483 ac_ext=c
16484 ac_cpp='$CPP $CPPFLAGS'
16485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16488
16489
16490
16491 ;;
16492
16493 SunOS)
16494
16495
16496 ac_ext=cpp
16497 ac_cpp='$CXXCPP $CPPFLAGS'
16498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16501
16502 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16503 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16504 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16505 echo $ECHO_N "(cached) $ECHO_C" >&6
16506 else
16507 cat >conftest.$ac_ext <<_ACEOF
16508 /* confdefs.h. */
16509 _ACEOF
16510 cat confdefs.h >>conftest.$ac_ext
16511 cat >>conftest.$ac_ext <<_ACEOF
16512 /* end confdefs.h. */
16513
16514 int
16515 main ()
16516 {
16517
16518 #ifndef __SUNPRO_CC
16519 choke me
16520 #endif
16521
16522 ;
16523 return 0;
16524 }
16525 _ACEOF
16526 rm -f conftest.$ac_objext
16527 if { (ac_try="$ac_compile"
16528 case "(($ac_try" in
16529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16530 *) ac_try_echo=$ac_try;;
16531 esac
16532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16533 (eval "$ac_compile") 2>conftest.er1
16534 ac_status=$?
16535 grep -v '^ *+' conftest.er1 >conftest.err
16536 rm -f conftest.er1
16537 cat conftest.err >&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } && {
16540 test -z "$ac_cxx_werror_flag" ||
16541 test ! -s conftest.err
16542 } && test -s conftest.$ac_objext; then
16543 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16544 else
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.$ac_ext >&5
16547
16548 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16549
16550 fi
16551
16552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16553
16554
16555 fi
16556 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16557 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16558 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16559 :; SUNCXX=yes
16560 else
16561 :;
16562 fi
16563 ac_ext=c
16564 ac_cpp='$CPP $CPPFLAGS'
16565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16568
16569
16570
16571 ;;
16572 esac
16573 fi
16574
16575
16576
16577 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16578 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16579 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16580 { (exit 1); exit 1; }; }
16581 fi
16582
16583 if test -n "$ac_tool_prefix"; then
16584 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16585 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16588 if test "${ac_cv_prog_RANLIB+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 else
16591 if test -n "$RANLIB"; then
16592 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16593 else
16594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16595 for as_dir in $PATH
16596 do
16597 IFS=$as_save_IFS
16598 test -z "$as_dir" && as_dir=.
16599 for ac_exec_ext in '' $ac_executable_extensions; do
16600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16601 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16603 break 2
16604 fi
16605 done
16606 done
16607 IFS=$as_save_IFS
16608
16609 fi
16610 fi
16611 RANLIB=$ac_cv_prog_RANLIB
16612 if test -n "$RANLIB"; then
16613 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16614 echo "${ECHO_T}$RANLIB" >&6; }
16615 else
16616 { echo "$as_me:$LINENO: result: no" >&5
16617 echo "${ECHO_T}no" >&6; }
16618 fi
16619
16620
16621 fi
16622 if test -z "$ac_cv_prog_RANLIB"; then
16623 ac_ct_RANLIB=$RANLIB
16624 # Extract the first word of "ranlib", so it can be a program name with args.
16625 set dummy ranlib; ac_word=$2
16626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16628 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 else
16631 if test -n "$ac_ct_RANLIB"; then
16632 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16633 else
16634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16635 for as_dir in $PATH
16636 do
16637 IFS=$as_save_IFS
16638 test -z "$as_dir" && as_dir=.
16639 for ac_exec_ext in '' $ac_executable_extensions; do
16640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16641 ac_cv_prog_ac_ct_RANLIB="ranlib"
16642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16643 break 2
16644 fi
16645 done
16646 done
16647 IFS=$as_save_IFS
16648
16649 fi
16650 fi
16651 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16652 if test -n "$ac_ct_RANLIB"; then
16653 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16654 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16655 else
16656 { echo "$as_me:$LINENO: result: no" >&5
16657 echo "${ECHO_T}no" >&6; }
16658 fi
16659
16660 if test "x$ac_ct_RANLIB" = x; then
16661 RANLIB=":"
16662 else
16663 case $cross_compiling:$ac_tool_warned in
16664 yes:)
16665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16666 whose name does not start with the host triplet. If you think this
16667 configuration is useful to you, please write to autoconf@gnu.org." >&5
16668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16669 whose name does not start with the host triplet. If you think this
16670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16671 ac_tool_warned=yes ;;
16672 esac
16673 RANLIB=$ac_ct_RANLIB
16674 fi
16675 else
16676 RANLIB="$ac_cv_prog_RANLIB"
16677 fi
16678
16679
16680 if test "x$SUNCXX" != xyes; then
16681 if test -n "$ac_tool_prefix"; then
16682 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16683 set dummy ${ac_tool_prefix}ar; ac_word=$2
16684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16686 if test "${ac_cv_prog_AR+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 else
16689 if test -n "$AR"; then
16690 ac_cv_prog_AR="$AR" # Let the user override the test.
16691 else
16692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16693 for as_dir in $PATH
16694 do
16695 IFS=$as_save_IFS
16696 test -z "$as_dir" && as_dir=.
16697 for ac_exec_ext in '' $ac_executable_extensions; do
16698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16699 ac_cv_prog_AR="${ac_tool_prefix}ar"
16700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16701 break 2
16702 fi
16703 done
16704 done
16705 IFS=$as_save_IFS
16706
16707 fi
16708 fi
16709 AR=$ac_cv_prog_AR
16710 if test -n "$AR"; then
16711 { echo "$as_me:$LINENO: result: $AR" >&5
16712 echo "${ECHO_T}$AR" >&6; }
16713 else
16714 { echo "$as_me:$LINENO: result: no" >&5
16715 echo "${ECHO_T}no" >&6; }
16716 fi
16717
16718
16719 fi
16720 if test -z "$ac_cv_prog_AR"; then
16721 ac_ct_AR=$AR
16722 # Extract the first word of "ar", so it can be a program name with args.
16723 set dummy ar; ac_word=$2
16724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16726 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16727 echo $ECHO_N "(cached) $ECHO_C" >&6
16728 else
16729 if test -n "$ac_ct_AR"; then
16730 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16731 else
16732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16733 for as_dir in $PATH
16734 do
16735 IFS=$as_save_IFS
16736 test -z "$as_dir" && as_dir=.
16737 for ac_exec_ext in '' $ac_executable_extensions; do
16738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16739 ac_cv_prog_ac_ct_AR="ar"
16740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16741 break 2
16742 fi
16743 done
16744 done
16745 IFS=$as_save_IFS
16746
16747 fi
16748 fi
16749 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16750 if test -n "$ac_ct_AR"; then
16751 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16752 echo "${ECHO_T}$ac_ct_AR" >&6; }
16753 else
16754 { echo "$as_me:$LINENO: result: no" >&5
16755 echo "${ECHO_T}no" >&6; }
16756 fi
16757
16758 if test "x$ac_ct_AR" = x; then
16759 AR=""
16760 else
16761 case $cross_compiling:$ac_tool_warned in
16762 yes:)
16763 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16764 whose name does not start with the host triplet. If you think this
16765 configuration is useful to you, please write to autoconf@gnu.org." >&5
16766 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16767 whose name does not start with the host triplet. If you think this
16768 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16769 ac_tool_warned=yes ;;
16770 esac
16771 AR=$ac_ct_AR
16772 fi
16773 else
16774 AR="$ac_cv_prog_AR"
16775 fi
16776
16777 if test "x$AR" = "x" ; then
16778 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16779 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16780 { (exit 1); exit 1; }; }
16781 fi
16782 fi
16783
16784 # Find a good install program. We prefer a C program (faster),
16785 # so one script is as good as another. But avoid the broken or
16786 # incompatible versions:
16787 # SysV /etc/install, /usr/sbin/install
16788 # SunOS /usr/etc/install
16789 # IRIX /sbin/install
16790 # AIX /bin/install
16791 # AmigaOS /C/install, which installs bootblocks on floppy discs
16792 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16793 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16794 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16795 # OS/2's system install, which has a completely different semantic
16796 # ./install, which can be erroneously created by make from ./install.sh.
16797 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16798 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16799 if test -z "$INSTALL"; then
16800 if test "${ac_cv_path_install+set}" = set; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 else
16803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16804 for as_dir in $PATH
16805 do
16806 IFS=$as_save_IFS
16807 test -z "$as_dir" && as_dir=.
16808 # Account for people who put trailing slashes in PATH elements.
16809 case $as_dir/ in
16810 ./ | .// | /cC/* | \
16811 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16812 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16813 /usr/ucb/* ) ;;
16814 *)
16815 # OSF1 and SCO ODT 3.0 have their own names for install.
16816 # Don't use installbsd from OSF since it installs stuff as root
16817 # by default.
16818 for ac_prog in ginstall scoinst install; do
16819 for ac_exec_ext in '' $ac_executable_extensions; do
16820 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16821 if test $ac_prog = install &&
16822 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16823 # AIX install. It has an incompatible calling convention.
16824 :
16825 elif test $ac_prog = install &&
16826 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16827 # program-specific install script used by HP pwplus--don't use.
16828 :
16829 else
16830 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16831 break 3
16832 fi
16833 fi
16834 done
16835 done
16836 ;;
16837 esac
16838 done
16839 IFS=$as_save_IFS
16840
16841
16842 fi
16843 if test "${ac_cv_path_install+set}" = set; then
16844 INSTALL=$ac_cv_path_install
16845 else
16846 # As a last resort, use the slow shell script. Don't cache a
16847 # value for INSTALL within a source directory, because that will
16848 # break other packages using the cache if that directory is
16849 # removed, or if the value is a relative name.
16850 INSTALL=$ac_install_sh
16851 fi
16852 fi
16853 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16854 echo "${ECHO_T}$INSTALL" >&6; }
16855
16856 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16857 # It thinks the first close brace ends the variable substitution.
16858 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16859
16860 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16861
16862 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16863
16864
16865 case ${INSTALL} in
16866 /* ) # Absolute
16867 ;;
16868 ?:* ) # Drive letter, considered as absolute.
16869 ;;
16870 *)
16871 INSTALL=`pwd`/${INSTALL} ;;
16872 esac
16873
16874
16875 case "${host}" in
16876
16877 *-*-darwin* )
16878 INSTALL_PROGRAM="cp -fp"
16879 INSTALL_DATA="cp -fp"
16880 ;;
16881 *)
16882 ;;
16883 esac
16884
16885 if test -n "$ac_tool_prefix"; then
16886 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16887 set dummy ${ac_tool_prefix}strip; ac_word=$2
16888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16890 if test "${ac_cv_prog_STRIP+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 else
16893 if test -n "$STRIP"; then
16894 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16895 else
16896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16897 for as_dir in $PATH
16898 do
16899 IFS=$as_save_IFS
16900 test -z "$as_dir" && as_dir=.
16901 for ac_exec_ext in '' $ac_executable_extensions; do
16902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16903 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16905 break 2
16906 fi
16907 done
16908 done
16909 IFS=$as_save_IFS
16910
16911 fi
16912 fi
16913 STRIP=$ac_cv_prog_STRIP
16914 if test -n "$STRIP"; then
16915 { echo "$as_me:$LINENO: result: $STRIP" >&5
16916 echo "${ECHO_T}$STRIP" >&6; }
16917 else
16918 { echo "$as_me:$LINENO: result: no" >&5
16919 echo "${ECHO_T}no" >&6; }
16920 fi
16921
16922
16923 fi
16924 if test -z "$ac_cv_prog_STRIP"; then
16925 ac_ct_STRIP=$STRIP
16926 # Extract the first word of "strip", so it can be a program name with args.
16927 set dummy strip; ac_word=$2
16928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16930 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16932 else
16933 if test -n "$ac_ct_STRIP"; then
16934 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16935 else
16936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16937 for as_dir in $PATH
16938 do
16939 IFS=$as_save_IFS
16940 test -z "$as_dir" && as_dir=.
16941 for ac_exec_ext in '' $ac_executable_extensions; do
16942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16943 ac_cv_prog_ac_ct_STRIP="strip"
16944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16945 break 2
16946 fi
16947 done
16948 done
16949 IFS=$as_save_IFS
16950
16951 fi
16952 fi
16953 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16954 if test -n "$ac_ct_STRIP"; then
16955 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16956 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16957 else
16958 { echo "$as_me:$LINENO: result: no" >&5
16959 echo "${ECHO_T}no" >&6; }
16960 fi
16961
16962 if test "x$ac_ct_STRIP" = x; then
16963 STRIP="true"
16964 else
16965 case $cross_compiling:$ac_tool_warned in
16966 yes:)
16967 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16968 whose name does not start with the host triplet. If you think this
16969 configuration is useful to you, please write to autoconf@gnu.org." >&5
16970 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16971 whose name does not start with the host triplet. If you think this
16972 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16973 ac_tool_warned=yes ;;
16974 esac
16975 STRIP=$ac_ct_STRIP
16976 fi
16977 else
16978 STRIP="$ac_cv_prog_STRIP"
16979 fi
16980
16981
16982 if test "$wxUSE_WINE" = "yes"; then
16983 if test -n "$ac_tool_prefix"; then
16984 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16985 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16988 if test "${ac_cv_prog_WINDRES+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16990 else
16991 if test -n "$WINDRES"; then
16992 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16993 else
16994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16995 for as_dir in $PATH
16996 do
16997 IFS=$as_save_IFS
16998 test -z "$as_dir" && as_dir=.
16999 for ac_exec_ext in '' $ac_executable_extensions; do
17000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17001 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
17002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17003 break 2
17004 fi
17005 done
17006 done
17007 IFS=$as_save_IFS
17008
17009 fi
17010 fi
17011 WINDRES=$ac_cv_prog_WINDRES
17012 if test -n "$WINDRES"; then
17013 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17014 echo "${ECHO_T}$WINDRES" >&6; }
17015 else
17016 { echo "$as_me:$LINENO: result: no" >&5
17017 echo "${ECHO_T}no" >&6; }
17018 fi
17019
17020
17021 fi
17022 if test -z "$ac_cv_prog_WINDRES"; then
17023 ac_ct_WINDRES=$WINDRES
17024 # Extract the first word of "wrc", so it can be a program name with args.
17025 set dummy wrc; ac_word=$2
17026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17028 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 else
17031 if test -n "$ac_ct_WINDRES"; then
17032 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17033 else
17034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17035 for as_dir in $PATH
17036 do
17037 IFS=$as_save_IFS
17038 test -z "$as_dir" && as_dir=.
17039 for ac_exec_ext in '' $ac_executable_extensions; do
17040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17041 ac_cv_prog_ac_ct_WINDRES="wrc"
17042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17043 break 2
17044 fi
17045 done
17046 done
17047 IFS=$as_save_IFS
17048
17049 fi
17050 fi
17051 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17052 if test -n "$ac_ct_WINDRES"; then
17053 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17054 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17055 else
17056 { echo "$as_me:$LINENO: result: no" >&5
17057 echo "${ECHO_T}no" >&6; }
17058 fi
17059
17060 if test "x$ac_ct_WINDRES" = x; then
17061 WINDRES=""
17062 else
17063 case $cross_compiling:$ac_tool_warned in
17064 yes:)
17065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17066 whose name does not start with the host triplet. If you think this
17067 configuration is useful to you, please write to autoconf@gnu.org." >&5
17068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17069 whose name does not start with the host triplet. If you think this
17070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17071 ac_tool_warned=yes ;;
17072 esac
17073 WINDRES=$ac_ct_WINDRES
17074 fi
17075 else
17076 WINDRES="$ac_cv_prog_WINDRES"
17077 fi
17078
17079 RESCOMP="$WINDRES"
17080 else
17081 case "${host}" in
17082 *-*-cygwin* | *-*-mingw32* )
17083 if test -n "$ac_tool_prefix"; then
17084 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17085 set dummy ${ac_tool_prefix}windres; ac_word=$2
17086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17088 if test "${ac_cv_prog_WINDRES+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 else
17091 if test -n "$WINDRES"; then
17092 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17093 else
17094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17095 for as_dir in $PATH
17096 do
17097 IFS=$as_save_IFS
17098 test -z "$as_dir" && as_dir=.
17099 for ac_exec_ext in '' $ac_executable_extensions; do
17100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17101 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17103 break 2
17104 fi
17105 done
17106 done
17107 IFS=$as_save_IFS
17108
17109 fi
17110 fi
17111 WINDRES=$ac_cv_prog_WINDRES
17112 if test -n "$WINDRES"; then
17113 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17114 echo "${ECHO_T}$WINDRES" >&6; }
17115 else
17116 { echo "$as_me:$LINENO: result: no" >&5
17117 echo "${ECHO_T}no" >&6; }
17118 fi
17119
17120
17121 fi
17122 if test -z "$ac_cv_prog_WINDRES"; then
17123 ac_ct_WINDRES=$WINDRES
17124 # Extract the first word of "windres", so it can be a program name with args.
17125 set dummy windres; ac_word=$2
17126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17128 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 else
17131 if test -n "$ac_ct_WINDRES"; then
17132 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17133 else
17134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17135 for as_dir in $PATH
17136 do
17137 IFS=$as_save_IFS
17138 test -z "$as_dir" && as_dir=.
17139 for ac_exec_ext in '' $ac_executable_extensions; do
17140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17141 ac_cv_prog_ac_ct_WINDRES="windres"
17142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17143 break 2
17144 fi
17145 done
17146 done
17147 IFS=$as_save_IFS
17148
17149 fi
17150 fi
17151 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17152 if test -n "$ac_ct_WINDRES"; then
17153 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17154 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17155 else
17156 { echo "$as_me:$LINENO: result: no" >&5
17157 echo "${ECHO_T}no" >&6; }
17158 fi
17159
17160 if test "x$ac_ct_WINDRES" = x; then
17161 WINDRES=""
17162 else
17163 case $cross_compiling:$ac_tool_warned in
17164 yes:)
17165 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17166 whose name does not start with the host triplet. If you think this
17167 configuration is useful to you, please write to autoconf@gnu.org." >&5
17168 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17169 whose name does not start with the host triplet. If you think this
17170 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17171 ac_tool_warned=yes ;;
17172 esac
17173 WINDRES=$ac_ct_WINDRES
17174 fi
17175 else
17176 WINDRES="$ac_cv_prog_WINDRES"
17177 fi
17178
17179 RESCOMP="$WINDRES"
17180 if test -n "$ac_tool_prefix"; then
17181 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17182 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
17183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17185 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 else
17188 if test -n "$DLLTOOL"; then
17189 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17190 else
17191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17192 for as_dir in $PATH
17193 do
17194 IFS=$as_save_IFS
17195 test -z "$as_dir" && as_dir=.
17196 for ac_exec_ext in '' $ac_executable_extensions; do
17197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17198 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
17199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17200 break 2
17201 fi
17202 done
17203 done
17204 IFS=$as_save_IFS
17205
17206 fi
17207 fi
17208 DLLTOOL=$ac_cv_prog_DLLTOOL
17209 if test -n "$DLLTOOL"; then
17210 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17211 echo "${ECHO_T}$DLLTOOL" >&6; }
17212 else
17213 { echo "$as_me:$LINENO: result: no" >&5
17214 echo "${ECHO_T}no" >&6; }
17215 fi
17216
17217
17218 fi
17219 if test -z "$ac_cv_prog_DLLTOOL"; then
17220 ac_ct_DLLTOOL=$DLLTOOL
17221 # Extract the first word of "dlltool", so it can be a program name with args.
17222 set dummy dlltool; ac_word=$2
17223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17225 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228 if test -n "$ac_ct_DLLTOOL"; then
17229 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17230 else
17231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17232 for as_dir in $PATH
17233 do
17234 IFS=$as_save_IFS
17235 test -z "$as_dir" && as_dir=.
17236 for ac_exec_ext in '' $ac_executable_extensions; do
17237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17238 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17240 break 2
17241 fi
17242 done
17243 done
17244 IFS=$as_save_IFS
17245
17246 fi
17247 fi
17248 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17249 if test -n "$ac_ct_DLLTOOL"; then
17250 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17251 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17252 else
17253 { echo "$as_me:$LINENO: result: no" >&5
17254 echo "${ECHO_T}no" >&6; }
17255 fi
17256
17257 if test "x$ac_ct_DLLTOOL" = x; then
17258 DLLTOOL=""
17259 else
17260 case $cross_compiling:$ac_tool_warned in
17261 yes:)
17262 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17263 whose name does not start with the host triplet. If you think this
17264 configuration is useful to you, please write to autoconf@gnu.org." >&5
17265 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17266 whose name does not start with the host triplet. If you think this
17267 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17268 ac_tool_warned=yes ;;
17269 esac
17270 DLLTOOL=$ac_ct_DLLTOOL
17271 fi
17272 else
17273 DLLTOOL="$ac_cv_prog_DLLTOOL"
17274 fi
17275
17276 ;;
17277 esac
17278 fi
17279
17280 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17281 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17282 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 else
17285
17286 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17287 $EGREP -s GNU > /dev/null); then
17288 wx_cv_prog_makeisgnu="yes"
17289 else
17290 wx_cv_prog_makeisgnu="no"
17291 fi
17292
17293 fi
17294 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17295 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17296
17297 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17298 IF_GNU_MAKE=""
17299 else
17300 IF_GNU_MAKE="#"
17301 fi
17302
17303
17304
17305 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17306 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17307 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17308 if test "${wx_cv_prog_makevpath+set}" = set; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 else
17311
17312 cat - << EOF > confMake
17313 check : file
17314 cp \$? \$@
17315 cp \$? final_file
17316 EOF
17317
17318 if test ! -d sub ; then
17319 mkdir sub
17320 fi
17321 echo dummy > sub/file
17322 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17323 RESULT=$?
17324 rm -f sub/file check final_file confMake
17325 rmdir sub
17326 if test "$RESULT" = 0; then
17327 wx_cv_prog_makevpath="yes"
17328 else
17329 wx_cv_prog_makevpath="no"
17330 fi
17331
17332 fi
17333 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17334 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17335
17336 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17337 { { echo "$as_me:$LINENO: error:
17338 You need a make-utility that is able to use the variable
17339 VPATH correctly.
17340 If your version of make does not support VPATH correctly,
17341 please install GNU-make (possibly as gmake), and start
17342 configure with the following command:
17343 export MAKE=gmake; ./configure for sh-type shells
17344 setenv MAKE gmake; ./configure for csh-type shells
17345 Also please do remember to use gmake in this case every time
17346 you are trying to compile.
17347 " >&5
17348 echo "$as_me: error:
17349 You need a make-utility that is able to use the variable
17350 VPATH correctly.
17351 If your version of make does not support VPATH correctly,
17352 please install GNU-make (possibly as gmake), and start
17353 configure with the following command:
17354 export MAKE=gmake; ./configure for sh-type shells
17355 setenv MAKE gmake; ./configure for csh-type shells
17356 Also please do remember to use gmake in this case every time
17357 you are trying to compile.
17358 " >&2;}
17359 { (exit 1); exit 1; }; }
17360 fi fi
17361 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17362 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17363 LN_S=$as_ln_s
17364 if test "$LN_S" = "ln -s"; then
17365 { echo "$as_me:$LINENO: result: yes" >&5
17366 echo "${ECHO_T}yes" >&6; }
17367 else
17368 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17369 echo "${ECHO_T}no, using $LN_S" >&6; }
17370 fi
17371
17372
17373
17374
17375 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17376 CXXFLAGS="-qunique $CXXFLAGS"
17377 fi
17378
17379 case "${host}" in
17380 powerpc-*-darwin* )
17381 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17382 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17383 cat >conftest.$ac_ext <<_ACEOF
17384 /* confdefs.h. */
17385 _ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17389
17390 int
17391 main ()
17392 {
17393 #ifndef __POWERPC__
17394 choke me for lack of PowerPC
17395 #endif
17396
17397 ;
17398 return 0;
17399 }
17400 _ACEOF
17401 rm -f conftest.$ac_objext
17402 if { (ac_try="$ac_compile"
17403 case "(($ac_try" in
17404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17405 *) ac_try_echo=$ac_try;;
17406 esac
17407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17408 (eval "$ac_compile") 2>conftest.er1
17409 ac_status=$?
17410 grep -v '^ *+' conftest.er1 >conftest.err
17411 rm -f conftest.er1
17412 cat conftest.err >&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } && {
17415 test -z "$ac_c_werror_flag" ||
17416 test ! -s conftest.err
17417 } && test -s conftest.$ac_objext; then
17418 { echo "$as_me:$LINENO: result: yes" >&5
17419 echo "${ECHO_T}yes" >&6; }
17420 else
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17423
17424 { echo "$as_me:$LINENO: result: no" >&5
17425 echo "${ECHO_T}no" >&6; }
17426 cat >>confdefs.h <<\_ACEOF
17427 #define __POWERPC__ 1
17428 _ACEOF
17429
17430
17431 fi
17432
17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17434 ;;
17435 esac
17436
17437 case "${host}" in
17438 *-*-darwin* )
17439 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17440 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17441 cat >conftest.$ac_ext <<_ACEOF
17442 /* confdefs.h. */
17443 _ACEOF
17444 cat confdefs.h >>conftest.$ac_ext
17445 cat >>conftest.$ac_ext <<_ACEOF
17446 /* end confdefs.h. */
17447 #include <CoreFoundation/CFBase.h>
17448
17449 int
17450 main ()
17451 {
17452
17453 ;
17454 return 0;
17455 }
17456 _ACEOF
17457 rm -f conftest.$ac_objext
17458 if { (ac_try="$ac_compile"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17462 esac
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_compile") 2>conftest.er1
17465 ac_status=$?
17466 grep -v '^ *+' conftest.er1 >conftest.err
17467 rm -f conftest.er1
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_c_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest.$ac_objext; then
17474 { echo "$as_me:$LINENO: result: yes" >&5
17475 echo "${ECHO_T}yes" >&6; }
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17479
17480 { echo "$as_me:$LINENO: result: no" >&5
17481 echo "${ECHO_T}no" >&6; }
17482 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17483 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17484 cat >conftest.$ac_ext <<_ACEOF
17485 /* confdefs.h. */
17486 _ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490 #define __CF_USE_FRAMEWORK_INCLUDES__
17491 #include <CoreFoundation/CFBase.h>
17492
17493 int
17494 main ()
17495 {
17496
17497 ;
17498 return 0;
17499 }
17500 _ACEOF
17501 rm -f conftest.$ac_objext
17502 if { (ac_try="$ac_compile"
17503 case "(($ac_try" in
17504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17505 *) ac_try_echo=$ac_try;;
17506 esac
17507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17508 (eval "$ac_compile") 2>conftest.er1
17509 ac_status=$?
17510 grep -v '^ *+' conftest.er1 >conftest.err
17511 rm -f conftest.er1
17512 cat conftest.err >&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } && {
17515 test -z "$ac_c_werror_flag" ||
17516 test ! -s conftest.err
17517 } && test -s conftest.$ac_objext; then
17518 { echo "$as_me:$LINENO: result: yes" >&5
17519 echo "${ECHO_T}yes" >&6; }
17520 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17521 else
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17524
17525 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17526 See \`config.log' for more details." >&5
17527 echo "$as_me: error: no. CoreFoundation not available.
17528 See \`config.log' for more details." >&2;}
17529 { (exit 1); exit 1; }; }
17530
17531 fi
17532
17533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17534
17535
17536 fi
17537
17538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17539 ;;
17540 esac
17541
17542 wants_win32=0
17543 doesnt_want_win32=0
17544 case "${host}" in
17545 *-*-cygwin*)
17546 if test "$wxUSE_MSW" = 1 ; then
17547 wants_win32=1
17548 else
17549 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17550 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17551 if test "${wx_cv_nocygwin+set}" = set; then
17552 echo $ECHO_N "(cached) $ECHO_C" >&6
17553 else
17554
17555 cat >conftest.$ac_ext <<_ACEOF
17556 /* confdefs.h. */
17557 _ACEOF
17558 cat confdefs.h >>conftest.$ac_ext
17559 cat >>conftest.$ac_ext <<_ACEOF
17560 /* end confdefs.h. */
17561
17562 int
17563 main ()
17564 {
17565
17566 #ifdef __MINGW32__
17567 choke me
17568 #endif
17569
17570 ;
17571 return 0;
17572 }
17573 _ACEOF
17574 rm -f conftest.$ac_objext
17575 if { (ac_try="$ac_compile"
17576 case "(($ac_try" in
17577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17578 *) ac_try_echo=$ac_try;;
17579 esac
17580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17581 (eval "$ac_compile") 2>conftest.er1
17582 ac_status=$?
17583 grep -v '^ *+' conftest.er1 >conftest.err
17584 rm -f conftest.er1
17585 cat conftest.err >&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } && {
17588 test -z "$ac_c_werror_flag" ||
17589 test ! -s conftest.err
17590 } && test -s conftest.$ac_objext; then
17591 wx_cv_nocygwin=no
17592 else
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.$ac_ext >&5
17595
17596 wx_cv_nocygwin=yes
17597
17598 fi
17599
17600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601
17602
17603 fi
17604 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17605 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17606
17607 if test "$wx_cv_nocygwin" = "yes"; then
17608 wants_win32=1
17609 else
17610 doesnt_want_win32=1
17611 fi
17612 fi
17613 if test "$wants_win32" = 1 ; then
17614 BAKEFILE_FORCE_PLATFORM=win32
17615 fi
17616 ;;
17617 *-*-mingw*)
17618 wants_win32=1
17619 ;;
17620 esac
17621
17622 if test "$wxUSE_WINE" = "yes"; then
17623 wants_win32=1
17624 LDFLAGS_GUI="-mwindows"
17625 fi
17626
17627 if test "$wants_win32" = 1 ; then
17628 USE_UNIX=0
17629 USE_WIN32=1
17630 cat >>confdefs.h <<\_ACEOF
17631 #define __WIN32__ 1
17632 _ACEOF
17633
17634 cat >>confdefs.h <<\_ACEOF
17635 #define __WIN95__ 1
17636 _ACEOF
17637
17638 cat >>confdefs.h <<\_ACEOF
17639 #define __WINDOWS__ 1
17640 _ACEOF
17641
17642 cat >>confdefs.h <<\_ACEOF
17643 #define __GNUWIN32__ 1
17644 _ACEOF
17645
17646 cat >>confdefs.h <<\_ACEOF
17647 #define STRICT 1
17648 _ACEOF
17649
17650 fi
17651 if test "$doesnt_want_win32" = 1 ; then
17652 USE_UNIX=1
17653 USE_WIN32=0
17654 fi
17655
17656 if test "$USE_UNIX" = 1 ; then
17657 wxUSE_UNIX=yes
17658 cat >>confdefs.h <<\_ACEOF
17659 #define __UNIX__ 1
17660 _ACEOF
17661
17662 fi
17663
17664 case "${host}" in
17665 *-pc-os2_emx | *-pc-os2-emx )
17666 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17667 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17668 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17669 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 else
17672 ac_check_lib_save_LIBS=$LIBS
17673 LIBS="-lcExt $LIBS"
17674 cat >conftest.$ac_ext <<_ACEOF
17675 /* confdefs.h. */
17676 _ACEOF
17677 cat confdefs.h >>conftest.$ac_ext
17678 cat >>conftest.$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680
17681 /* Override any GCC internal prototype to avoid an error.
17682 Use char because int might match the return type of a GCC
17683 builtin and then its argument prototype would still apply. */
17684 #ifdef __cplusplus
17685 extern "C"
17686 #endif
17687 char drand48 ();
17688 int
17689 main ()
17690 {
17691 return drand48 ();
17692 ;
17693 return 0;
17694 }
17695 _ACEOF
17696 rm -f conftest.$ac_objext conftest$ac_exeext
17697 if { (ac_try="$ac_link"
17698 case "(($ac_try" in
17699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17700 *) ac_try_echo=$ac_try;;
17701 esac
17702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17703 (eval "$ac_link") 2>conftest.er1
17704 ac_status=$?
17705 grep -v '^ *+' conftest.er1 >conftest.err
17706 rm -f conftest.er1
17707 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } && {
17710 test -z "$ac_c_werror_flag" ||
17711 test ! -s conftest.err
17712 } && test -s conftest$ac_exeext &&
17713 $as_test_x conftest$ac_exeext; then
17714 ac_cv_lib_cExt_drand48=yes
17715 else
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17718
17719 ac_cv_lib_cExt_drand48=no
17720 fi
17721
17722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17723 conftest$ac_exeext conftest.$ac_ext
17724 LIBS=$ac_check_lib_save_LIBS
17725 fi
17726 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17727 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17728 if test $ac_cv_lib_cExt_drand48 = yes; then
17729 LIBS="$LIBS -lcExt"
17730 fi
17731
17732 else
17733 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17734 fi
17735 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17736 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17737 if test "${wx_cv_gccversion+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 else
17740
17741 if test "$cross_compiling" = yes; then
17742 wx_cv_gccversion="EMX2"
17743
17744 else
17745 cat >conftest.$ac_ext <<_ACEOF
17746 /* confdefs.h. */
17747 _ACEOF
17748 cat confdefs.h >>conftest.$ac_ext
17749 cat >>conftest.$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17751
17752 #include <stdio.h>
17753
17754 int main()
17755 {
17756 FILE *f=fopen("conftestval", "w");
17757 if (!f) exit(1);
17758 fprintf(f,
17759 #if (__GNUC__ < 3)
17760 "EMX2"
17761 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17762 "EMX3"
17763 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17764 "Innotek5"
17765 #else
17766 "Innotek6"
17767 #endif
17768 );
17769 exit(0);
17770 }
17771
17772 _ACEOF
17773 rm -f conftest$ac_exeext
17774 if { (ac_try="$ac_link"
17775 case "(($ac_try" in
17776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17777 *) ac_try_echo=$ac_try;;
17778 esac
17779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17780 (eval "$ac_link") 2>&5
17781 ac_status=$?
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17784 { (case "(($ac_try" in
17785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17786 *) ac_try_echo=$ac_try;;
17787 esac
17788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17789 (eval "$ac_try") 2>&5
17790 ac_status=$?
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; }; then
17793 wx_cv_gccversion=`cat conftestval`
17794 else
17795 echo "$as_me: program exited with status $ac_status" >&5
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17798
17799 ( exit $ac_status )
17800 wx_cv_gccversion="EMX2"
17801 fi
17802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17803 fi
17804
17805
17806
17807 fi
17808 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17809 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17810 if test "$wx_cv_gccversion" = "EMX2"; then
17811 LIBS="$LIBS -lstdcpp"
17812 LDFLAGS="$LDFLAGS -Zsysv-signals"
17813 else
17814 if test "$wx_cv_gccversion" = "EMX3"; then
17815 LIBS="$LIBS -lstdcxx -lgcc"
17816 LDFLAGS="$LDFLAGS -Zsysv-signals"
17817 else
17818 LIBS="$LIBS -lstdc++"
17819 fi
17820 fi
17821 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17822 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17823 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17824 wxUSE_OMF=yes
17825 enable_omf=yes
17826 fi
17827 ;;
17828 *)
17829
17830 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17831 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17832 if test "${ac_cv_string_strcasecmp+set}" = set; then
17833 echo $ECHO_N "(cached) $ECHO_C" >&6
17834 else
17835
17836 cat >conftest.$ac_ext <<_ACEOF
17837 /* confdefs.h. */
17838 _ACEOF
17839 cat confdefs.h >>conftest.$ac_ext
17840 cat >>conftest.$ac_ext <<_ACEOF
17841 /* end confdefs.h. */
17842
17843 #include <string.h>
17844
17845 int
17846 main ()
17847 {
17848
17849 strcasecmp("foo", "bar");
17850
17851 ;
17852 return 0;
17853 }
17854 _ACEOF
17855 rm -f conftest.$ac_objext conftest$ac_exeext
17856 if { (ac_try="$ac_link"
17857 case "(($ac_try" in
17858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17859 *) ac_try_echo=$ac_try;;
17860 esac
17861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17862 (eval "$ac_link") 2>conftest.er1
17863 ac_status=$?
17864 grep -v '^ *+' conftest.er1 >conftest.err
17865 rm -f conftest.er1
17866 cat conftest.err >&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } && {
17869 test -z "$ac_c_werror_flag" ||
17870 test ! -s conftest.err
17871 } && test -s conftest$ac_exeext &&
17872 $as_test_x conftest$ac_exeext; then
17873 ac_cv_string_strcasecmp=yes
17874 else
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.$ac_ext >&5
17877
17878 ac_cv_string_strcasecmp=no
17879
17880 fi
17881
17882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17883 conftest$ac_exeext conftest.$ac_ext
17884
17885 fi
17886 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17887 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17888
17889 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17890 cat >>confdefs.h <<\_ACEOF
17891 #define HAVE_STRCASECMP_IN_STRING_H 1
17892 _ACEOF
17893
17894 else
17895 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17896 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17897 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17898 echo $ECHO_N "(cached) $ECHO_C" >&6
17899 else
17900
17901 cat >conftest.$ac_ext <<_ACEOF
17902 /* confdefs.h. */
17903 _ACEOF
17904 cat confdefs.h >>conftest.$ac_ext
17905 cat >>conftest.$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17907
17908 #include <strings.h>
17909
17910 int
17911 main ()
17912 {
17913
17914 strcasecmp("foo", "bar");
17915
17916 ;
17917 return 0;
17918 }
17919 _ACEOF
17920 rm -f conftest.$ac_objext conftest$ac_exeext
17921 if { (ac_try="$ac_link"
17922 case "(($ac_try" in
17923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17924 *) ac_try_echo=$ac_try;;
17925 esac
17926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17927 (eval "$ac_link") 2>conftest.er1
17928 ac_status=$?
17929 grep -v '^ *+' conftest.er1 >conftest.err
17930 rm -f conftest.er1
17931 cat conftest.err >&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } && {
17934 test -z "$ac_c_werror_flag" ||
17935 test ! -s conftest.err
17936 } && test -s conftest$ac_exeext &&
17937 $as_test_x conftest$ac_exeext; then
17938 ac_cv_strings_strcasecmp=yes
17939 else
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.$ac_ext >&5
17942
17943 ac_cv_strings_strcasecmp=no
17944
17945 fi
17946
17947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17948 conftest$ac_exeext conftest.$ac_ext
17949
17950 fi
17951 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17952 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17953
17954 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17955 cat >>confdefs.h <<\_ACEOF
17956 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17957 _ACEOF
17958
17959 else
17960 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17961 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17962 { (exit 1); exit 1; }; }
17963 fi
17964 fi
17965
17966 ;;
17967 esac
17968
17969
17970 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17971 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17972 if test "${ac_cv_header_stdc+set}" = set; then
17973 echo $ECHO_N "(cached) $ECHO_C" >&6
17974 else
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h. */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981 #include <stdlib.h>
17982 #include <stdarg.h>
17983 #include <string.h>
17984 #include <float.h>
17985
17986 int
17987 main ()
17988 {
17989
17990 ;
17991 return 0;
17992 }
17993 _ACEOF
17994 rm -f conftest.$ac_objext
17995 if { (ac_try="$ac_compile"
17996 case "(($ac_try" in
17997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17998 *) ac_try_echo=$ac_try;;
17999 esac
18000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18001 (eval "$ac_compile") 2>conftest.er1
18002 ac_status=$?
18003 grep -v '^ *+' conftest.er1 >conftest.err
18004 rm -f conftest.er1
18005 cat conftest.err >&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); } && {
18008 test -z "$ac_c_werror_flag" ||
18009 test ! -s conftest.err
18010 } && test -s conftest.$ac_objext; then
18011 ac_cv_header_stdc=yes
18012 else
18013 echo "$as_me: failed program was:" >&5
18014 sed 's/^/| /' conftest.$ac_ext >&5
18015
18016 ac_cv_header_stdc=no
18017 fi
18018
18019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18020
18021 if test $ac_cv_header_stdc = yes; then
18022 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18023 cat >conftest.$ac_ext <<_ACEOF
18024 /* confdefs.h. */
18025 _ACEOF
18026 cat confdefs.h >>conftest.$ac_ext
18027 cat >>conftest.$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18029 #include <string.h>
18030
18031 _ACEOF
18032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18033 $EGREP "memchr" >/dev/null 2>&1; then
18034 :
18035 else
18036 ac_cv_header_stdc=no
18037 fi
18038 rm -f conftest*
18039
18040 fi
18041
18042 if test $ac_cv_header_stdc = yes; then
18043 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18044 cat >conftest.$ac_ext <<_ACEOF
18045 /* confdefs.h. */
18046 _ACEOF
18047 cat confdefs.h >>conftest.$ac_ext
18048 cat >>conftest.$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18050 #include <stdlib.h>
18051
18052 _ACEOF
18053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18054 $EGREP "free" >/dev/null 2>&1; then
18055 :
18056 else
18057 ac_cv_header_stdc=no
18058 fi
18059 rm -f conftest*
18060
18061 fi
18062
18063 if test $ac_cv_header_stdc = yes; then
18064 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18065 if test "$cross_compiling" = yes; then
18066 :
18067 else
18068 cat >conftest.$ac_ext <<_ACEOF
18069 /* confdefs.h. */
18070 _ACEOF
18071 cat confdefs.h >>conftest.$ac_ext
18072 cat >>conftest.$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18074 #include <ctype.h>
18075 #include <stdlib.h>
18076 #if ((' ' & 0x0FF) == 0x020)
18077 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18078 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18079 #else
18080 # define ISLOWER(c) \
18081 (('a' <= (c) && (c) <= 'i') \
18082 || ('j' <= (c) && (c) <= 'r') \
18083 || ('s' <= (c) && (c) <= 'z'))
18084 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18085 #endif
18086
18087 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18088 int
18089 main ()
18090 {
18091 int i;
18092 for (i = 0; i < 256; i++)
18093 if (XOR (islower (i), ISLOWER (i))
18094 || toupper (i) != TOUPPER (i))
18095 return 2;
18096 return 0;
18097 }
18098 _ACEOF
18099 rm -f conftest$ac_exeext
18100 if { (ac_try="$ac_link"
18101 case "(($ac_try" in
18102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18103 *) ac_try_echo=$ac_try;;
18104 esac
18105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18106 (eval "$ac_link") 2>&5
18107 ac_status=$?
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18110 { (case "(($ac_try" in
18111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18112 *) ac_try_echo=$ac_try;;
18113 esac
18114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18115 (eval "$ac_try") 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18119 :
18120 else
18121 echo "$as_me: program exited with status $ac_status" >&5
18122 echo "$as_me: failed program was:" >&5
18123 sed 's/^/| /' conftest.$ac_ext >&5
18124
18125 ( exit $ac_status )
18126 ac_cv_header_stdc=no
18127 fi
18128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18129 fi
18130
18131
18132 fi
18133 fi
18134 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18135 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18136 if test $ac_cv_header_stdc = yes; then
18137
18138 cat >>confdefs.h <<\_ACEOF
18139 #define STDC_HEADERS 1
18140 _ACEOF
18141
18142 fi
18143
18144 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18155 inttypes.h stdint.h unistd.h
18156 do
18157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18161 echo $ECHO_N "(cached) $ECHO_C" >&6
18162 else
18163 cat >conftest.$ac_ext <<_ACEOF
18164 /* confdefs.h. */
18165 _ACEOF
18166 cat confdefs.h >>conftest.$ac_ext
18167 cat >>conftest.$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18169 $ac_includes_default
18170
18171 #include <$ac_header>
18172 _ACEOF
18173 rm -f conftest.$ac_objext
18174 if { (ac_try="$ac_compile"
18175 case "(($ac_try" in
18176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18177 *) ac_try_echo=$ac_try;;
18178 esac
18179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18180 (eval "$ac_compile") 2>conftest.er1
18181 ac_status=$?
18182 grep -v '^ *+' conftest.er1 >conftest.err
18183 rm -f conftest.er1
18184 cat conftest.err >&5
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); } && {
18187 test -z "$ac_c_werror_flag" ||
18188 test ! -s conftest.err
18189 } && test -s conftest.$ac_objext; then
18190 eval "$as_ac_Header=yes"
18191 else
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18194
18195 eval "$as_ac_Header=no"
18196 fi
18197
18198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18199 fi
18200 ac_res=`eval echo '${'$as_ac_Header'}'`
18201 { echo "$as_me:$LINENO: result: $ac_res" >&5
18202 echo "${ECHO_T}$ac_res" >&6; }
18203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18204 cat >>confdefs.h <<_ACEOF
18205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18206 _ACEOF
18207
18208 fi
18209
18210 done
18211
18212
18213
18214
18215
18216
18217
18218
18219 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18220 do
18221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 else
18227 cat >conftest.$ac_ext <<_ACEOF
18228 /* confdefs.h. */
18229 _ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 $ac_includes_default
18234
18235 #include <$ac_header>
18236 _ACEOF
18237 rm -f conftest.$ac_objext
18238 if { (ac_try="$ac_compile"
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_compile") 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); } && {
18251 test -z "$ac_c_werror_flag" ||
18252 test ! -s conftest.err
18253 } && test -s conftest.$ac_objext; then
18254 eval "$as_ac_Header=yes"
18255 else
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.$ac_ext >&5
18258
18259 eval "$as_ac_Header=no"
18260 fi
18261
18262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18263 fi
18264 ac_res=`eval echo '${'$as_ac_Header'}'`
18265 { echo "$as_me:$LINENO: result: $ac_res" >&5
18266 echo "${ECHO_T}$ac_res" >&6; }
18267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18268 cat >>confdefs.h <<_ACEOF
18269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18270 _ACEOF
18271
18272 fi
18273
18274 done
18275
18276
18277 if test "$ac_cv_header_wchar_h" != "yes"; then
18278 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18279 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18280 if test "${ac_cv_header_wcstr_h+set}" = set; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 else
18283 cat >conftest.$ac_ext <<_ACEOF
18284 /* confdefs.h. */
18285 _ACEOF
18286 cat confdefs.h >>conftest.$ac_ext
18287 cat >>conftest.$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18289 $ac_includes_default
18290
18291 #include <wcstr.h>
18292 _ACEOF
18293 rm -f conftest.$ac_objext
18294 if { (ac_try="$ac_compile"
18295 case "(($ac_try" in
18296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18297 *) ac_try_echo=$ac_try;;
18298 esac
18299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18300 (eval "$ac_compile") 2>conftest.er1
18301 ac_status=$?
18302 grep -v '^ *+' conftest.er1 >conftest.err
18303 rm -f conftest.er1
18304 cat conftest.err >&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } && {
18307 test -z "$ac_c_werror_flag" ||
18308 test ! -s conftest.err
18309 } && test -s conftest.$ac_objext; then
18310 ac_cv_header_wcstr_h=yes
18311 else
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.$ac_ext >&5
18314
18315 ac_cv_header_wcstr_h=no
18316 fi
18317
18318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18319 fi
18320 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18321 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18322
18323
18324 fi
18325
18326 case "${host}" in
18327 *-pc-os2_emx | *-pc-os2-emx )
18328 if test $ac_cv_header_langinfo_h = "yes" \
18329 -a \( "$wx_cv_gccversion" = "EMX2" \
18330 -o "$wx_cv_gccversion" = "EMX3" \
18331 -o "$wx_cv_gccversion" = "Innotek5" \); then
18332 LIBS="$LIBS -lintl"
18333 fi
18334 ;;
18335 esac
18336
18337 if test "$USE_UNIX" = 1 ; then
18338 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18339 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18340 if test "${ac_cv_header_sys_select_h+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18342 else
18343 cat >conftest.$ac_ext <<_ACEOF
18344 /* confdefs.h. */
18345 _ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349 $ac_includes_default
18350
18351 #include <sys/select.h>
18352 _ACEOF
18353 rm -f conftest.$ac_objext
18354 if { (ac_try="$ac_compile"
18355 case "(($ac_try" in
18356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18357 *) ac_try_echo=$ac_try;;
18358 esac
18359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18360 (eval "$ac_compile") 2>conftest.er1
18361 ac_status=$?
18362 grep -v '^ *+' conftest.er1 >conftest.err
18363 rm -f conftest.er1
18364 cat conftest.err >&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } && {
18367 test -z "$ac_c_werror_flag" ||
18368 test ! -s conftest.err
18369 } && test -s conftest.$ac_objext; then
18370 ac_cv_header_sys_select_h=yes
18371 else
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18374
18375 ac_cv_header_sys_select_h=no
18376 fi
18377
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18379 fi
18380 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18381 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18382
18383
18384 fi
18385
18386
18387 for ac_header in sys/epoll.h
18388 do
18389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18391 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18394 echo $ECHO_N "(cached) $ECHO_C" >&6
18395 fi
18396 ac_res=`eval echo '${'$as_ac_Header'}'`
18397 { echo "$as_me:$LINENO: result: $ac_res" >&5
18398 echo "${ECHO_T}$ac_res" >&6; }
18399 else
18400 # Is the header compilable?
18401 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18403 cat >conftest.$ac_ext <<_ACEOF
18404 /* confdefs.h. */
18405 _ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 $ac_includes_default
18410 #include <$ac_header>
18411 _ACEOF
18412 rm -f conftest.$ac_objext
18413 if { (ac_try="$ac_compile"
18414 case "(($ac_try" in
18415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18416 *) ac_try_echo=$ac_try;;
18417 esac
18418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18419 (eval "$ac_compile") 2>conftest.er1
18420 ac_status=$?
18421 grep -v '^ *+' conftest.er1 >conftest.err
18422 rm -f conftest.er1
18423 cat conftest.err >&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } && {
18426 test -z "$ac_c_werror_flag" ||
18427 test ! -s conftest.err
18428 } && test -s conftest.$ac_objext; then
18429 ac_header_compiler=yes
18430 else
18431 echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.$ac_ext >&5
18433
18434 ac_header_compiler=no
18435 fi
18436
18437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18438 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18439 echo "${ECHO_T}$ac_header_compiler" >&6; }
18440
18441 # Is the header present?
18442 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18444 cat >conftest.$ac_ext <<_ACEOF
18445 /* confdefs.h. */
18446 _ACEOF
18447 cat confdefs.h >>conftest.$ac_ext
18448 cat >>conftest.$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18450 #include <$ac_header>
18451 _ACEOF
18452 if { (ac_try="$ac_cpp conftest.$ac_ext"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18456 esac
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18459 ac_status=$?
18460 grep -v '^ *+' conftest.er1 >conftest.err
18461 rm -f conftest.er1
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } >/dev/null && {
18465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 }; then
18468 ac_header_preproc=yes
18469 else
18470 echo "$as_me: failed program was:" >&5
18471 sed 's/^/| /' conftest.$ac_ext >&5
18472
18473 ac_header_preproc=no
18474 fi
18475
18476 rm -f conftest.err conftest.$ac_ext
18477 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18478 echo "${ECHO_T}$ac_header_preproc" >&6; }
18479
18480 # So? What about this header?
18481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18482 yes:no: )
18483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18487 ac_header_preproc=yes
18488 ;;
18489 no:yes:* )
18490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18494 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18496 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18497 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18500 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18502 ( cat <<\_ASBOX
18503 ## ----------------------------------------- ##
18504 ## Report this to wx-dev@lists.wxwidgets.org ##
18505 ## ----------------------------------------- ##
18506 _ASBOX
18507 ) | sed "s/^/$as_me: WARNING: /" >&2
18508 ;;
18509 esac
18510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 else
18515 eval "$as_ac_Header=\$ac_header_preproc"
18516 fi
18517 ac_res=`eval echo '${'$as_ac_Header'}'`
18518 { echo "$as_me:$LINENO: result: $ac_res" >&5
18519 echo "${ECHO_T}$ac_res" >&6; }
18520
18521 fi
18522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18523 cat >>confdefs.h <<_ACEOF
18524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18525 _ACEOF
18526
18527 fi
18528
18529 done
18530
18531
18532
18533 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18534 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18535 if test "${ac_cv_c_const+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18537 else
18538 cat >conftest.$ac_ext <<_ACEOF
18539 /* confdefs.h. */
18540 _ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544
18545 int
18546 main ()
18547 {
18548 /* FIXME: Include the comments suggested by Paul. */
18549 #ifndef __cplusplus
18550 /* Ultrix mips cc rejects this. */
18551 typedef int charset[2];
18552 const charset cs;
18553 /* SunOS 4.1.1 cc rejects this. */
18554 char const *const *pcpcc;
18555 char **ppc;
18556 /* NEC SVR4.0.2 mips cc rejects this. */
18557 struct point {int x, y;};
18558 static struct point const zero = {0,0};
18559 /* AIX XL C 1.02.0.0 rejects this.
18560 It does not let you subtract one const X* pointer from another in
18561 an arm of an if-expression whose if-part is not a constant
18562 expression */
18563 const char *g = "string";
18564 pcpcc = &g + (g ? g-g : 0);
18565 /* HPUX 7.0 cc rejects these. */
18566 ++pcpcc;
18567 ppc = (char**) pcpcc;
18568 pcpcc = (char const *const *) ppc;
18569 { /* SCO 3.2v4 cc rejects this. */
18570 char *t;
18571 char const *s = 0 ? (char *) 0 : (char const *) 0;
18572
18573 *t++ = 0;
18574 if (s) return 0;
18575 }
18576 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18577 int x[] = {25, 17};
18578 const int *foo = &x[0];
18579 ++foo;
18580 }
18581 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18582 typedef const int *iptr;
18583 iptr p = 0;
18584 ++p;
18585 }
18586 { /* AIX XL C 1.02.0.0 rejects this saying
18587 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18588 struct s { int j; const int *ap[3]; };
18589 struct s *b; b->j = 5;
18590 }
18591 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18592 const int foo = 10;
18593 if (!foo) return 0;
18594 }
18595 return !cs[0] && !zero.x;
18596 #endif
18597
18598 ;
18599 return 0;
18600 }
18601 _ACEOF
18602 rm -f conftest.$ac_objext
18603 if { (ac_try="$ac_compile"
18604 case "(($ac_try" in
18605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18606 *) ac_try_echo=$ac_try;;
18607 esac
18608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18609 (eval "$ac_compile") 2>conftest.er1
18610 ac_status=$?
18611 grep -v '^ *+' conftest.er1 >conftest.err
18612 rm -f conftest.er1
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } && {
18616 test -z "$ac_c_werror_flag" ||
18617 test ! -s conftest.err
18618 } && test -s conftest.$ac_objext; then
18619 ac_cv_c_const=yes
18620 else
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.$ac_ext >&5
18623
18624 ac_cv_c_const=no
18625 fi
18626
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 fi
18629 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18630 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18631 if test $ac_cv_c_const = no; then
18632
18633 cat >>confdefs.h <<\_ACEOF
18634 #define const
18635 _ACEOF
18636
18637 fi
18638
18639 { echo "$as_me:$LINENO: checking for inline" >&5
18640 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18641 if test "${ac_cv_c_inline+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18643 else
18644 ac_cv_c_inline=no
18645 for ac_kw in inline __inline__ __inline; do
18646 cat >conftest.$ac_ext <<_ACEOF
18647 /* confdefs.h. */
18648 _ACEOF
18649 cat confdefs.h >>conftest.$ac_ext
18650 cat >>conftest.$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18652 #ifndef __cplusplus
18653 typedef int foo_t;
18654 static $ac_kw foo_t static_foo () {return 0; }
18655 $ac_kw foo_t foo () {return 0; }
18656 #endif
18657
18658 _ACEOF
18659 rm -f conftest.$ac_objext
18660 if { (ac_try="$ac_compile"
18661 case "(($ac_try" in
18662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18664 esac
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_compile") 2>conftest.er1
18667 ac_status=$?
18668 grep -v '^ *+' conftest.er1 >conftest.err
18669 rm -f conftest.er1
18670 cat conftest.err >&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); } && {
18673 test -z "$ac_c_werror_flag" ||
18674 test ! -s conftest.err
18675 } && test -s conftest.$ac_objext; then
18676 ac_cv_c_inline=$ac_kw
18677 else
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18680
18681
18682 fi
18683
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 test "$ac_cv_c_inline" != no && break
18686 done
18687
18688 fi
18689 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18690 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18691
18692
18693 case $ac_cv_c_inline in
18694 inline | yes) ;;
18695 *)
18696 case $ac_cv_c_inline in
18697 no) ac_val=;;
18698 *) ac_val=$ac_cv_c_inline;;
18699 esac
18700 cat >>confdefs.h <<_ACEOF
18701 #ifndef __cplusplus
18702 #define inline $ac_val
18703 #endif
18704 _ACEOF
18705 ;;
18706 esac
18707
18708
18709 { echo "$as_me:$LINENO: checking for short" >&5
18710 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18711 if test "${ac_cv_type_short+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 else
18714 cat >conftest.$ac_ext <<_ACEOF
18715 /* confdefs.h. */
18716 _ACEOF
18717 cat confdefs.h >>conftest.$ac_ext
18718 cat >>conftest.$ac_ext <<_ACEOF
18719 /* end confdefs.h. */
18720 $ac_includes_default
18721 typedef short ac__type_new_;
18722 int
18723 main ()
18724 {
18725 if ((ac__type_new_ *) 0)
18726 return 0;
18727 if (sizeof (ac__type_new_))
18728 return 0;
18729 ;
18730 return 0;
18731 }
18732 _ACEOF
18733 rm -f conftest.$ac_objext
18734 if { (ac_try="$ac_compile"
18735 case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18738 esac
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_compile") 2>conftest.er1
18741 ac_status=$?
18742 grep -v '^ *+' conftest.er1 >conftest.err
18743 rm -f conftest.er1
18744 cat conftest.err >&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); } && {
18747 test -z "$ac_c_werror_flag" ||
18748 test ! -s conftest.err
18749 } && test -s conftest.$ac_objext; then
18750 ac_cv_type_short=yes
18751 else
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.$ac_ext >&5
18754
18755 ac_cv_type_short=no
18756 fi
18757
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18759 fi
18760 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18761 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18762
18763 # The cast to long int works around a bug in the HP C Compiler
18764 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18765 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18766 # This bug is HP SR number 8606223364.
18767 { echo "$as_me:$LINENO: checking size of short" >&5
18768 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18769 if test "${ac_cv_sizeof_short+set}" = set; then
18770 echo $ECHO_N "(cached) $ECHO_C" >&6
18771 else
18772 if test "$cross_compiling" = yes; then
18773 # Depending upon the size, compute the lo and hi bounds.
18774 cat >conftest.$ac_ext <<_ACEOF
18775 /* confdefs.h. */
18776 _ACEOF
18777 cat confdefs.h >>conftest.$ac_ext
18778 cat >>conftest.$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 $ac_includes_default
18781 typedef short ac__type_sizeof_;
18782 int
18783 main ()
18784 {
18785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18786 test_array [0] = 0
18787
18788 ;
18789 return 0;
18790 }
18791 _ACEOF
18792 rm -f conftest.$ac_objext
18793 if { (ac_try="$ac_compile"
18794 case "(($ac_try" in
18795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18796 *) ac_try_echo=$ac_try;;
18797 esac
18798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18799 (eval "$ac_compile") 2>conftest.er1
18800 ac_status=$?
18801 grep -v '^ *+' conftest.er1 >conftest.err
18802 rm -f conftest.er1
18803 cat conftest.err >&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } && {
18806 test -z "$ac_c_werror_flag" ||
18807 test ! -s conftest.err
18808 } && test -s conftest.$ac_objext; then
18809 ac_lo=0 ac_mid=0
18810 while :; do
18811 cat >conftest.$ac_ext <<_ACEOF
18812 /* confdefs.h. */
18813 _ACEOF
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18817 $ac_includes_default
18818 typedef short ac__type_sizeof_;
18819 int
18820 main ()
18821 {
18822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18823 test_array [0] = 0
18824
18825 ;
18826 return 0;
18827 }
18828 _ACEOF
18829 rm -f conftest.$ac_objext
18830 if { (ac_try="$ac_compile"
18831 case "(($ac_try" in
18832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18833 *) ac_try_echo=$ac_try;;
18834 esac
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836 (eval "$ac_compile") 2>conftest.er1
18837 ac_status=$?
18838 grep -v '^ *+' conftest.er1 >conftest.err
18839 rm -f conftest.er1
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } && {
18843 test -z "$ac_c_werror_flag" ||
18844 test ! -s conftest.err
18845 } && test -s conftest.$ac_objext; then
18846 ac_hi=$ac_mid; break
18847 else
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18850
18851 ac_lo=`expr $ac_mid + 1`
18852 if test $ac_lo -le $ac_mid; then
18853 ac_lo= ac_hi=
18854 break
18855 fi
18856 ac_mid=`expr 2 '*' $ac_mid + 1`
18857 fi
18858
18859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18860 done
18861 else
18862 echo "$as_me: failed program was:" >&5
18863 sed 's/^/| /' conftest.$ac_ext >&5
18864
18865 cat >conftest.$ac_ext <<_ACEOF
18866 /* confdefs.h. */
18867 _ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 $ac_includes_default
18872 typedef short ac__type_sizeof_;
18873 int
18874 main ()
18875 {
18876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18877 test_array [0] = 0
18878
18879 ;
18880 return 0;
18881 }
18882 _ACEOF
18883 rm -f conftest.$ac_objext
18884 if { (ac_try="$ac_compile"
18885 case "(($ac_try" in
18886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18887 *) ac_try_echo=$ac_try;;
18888 esac
18889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18890 (eval "$ac_compile") 2>conftest.er1
18891 ac_status=$?
18892 grep -v '^ *+' conftest.er1 >conftest.err
18893 rm -f conftest.er1
18894 cat conftest.err >&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } && {
18897 test -z "$ac_c_werror_flag" ||
18898 test ! -s conftest.err
18899 } && test -s conftest.$ac_objext; then
18900 ac_hi=-1 ac_mid=-1
18901 while :; do
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 $ac_includes_default
18909 typedef short ac__type_sizeof_;
18910 int
18911 main ()
18912 {
18913 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18914 test_array [0] = 0
18915
18916 ;
18917 return 0;
18918 }
18919 _ACEOF
18920 rm -f conftest.$ac_objext
18921 if { (ac_try="$ac_compile"
18922 case "(($ac_try" in
18923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18924 *) ac_try_echo=$ac_try;;
18925 esac
18926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18927 (eval "$ac_compile") 2>conftest.er1
18928 ac_status=$?
18929 grep -v '^ *+' conftest.er1 >conftest.err
18930 rm -f conftest.er1
18931 cat conftest.err >&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } && {
18934 test -z "$ac_c_werror_flag" ||
18935 test ! -s conftest.err
18936 } && test -s conftest.$ac_objext; then
18937 ac_lo=$ac_mid; break
18938 else
18939 echo "$as_me: failed program was:" >&5
18940 sed 's/^/| /' conftest.$ac_ext >&5
18941
18942 ac_hi=`expr '(' $ac_mid ')' - 1`
18943 if test $ac_mid -le $ac_hi; then
18944 ac_lo= ac_hi=
18945 break
18946 fi
18947 ac_mid=`expr 2 '*' $ac_mid`
18948 fi
18949
18950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 done
18952 else
18953 echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.$ac_ext >&5
18955
18956 ac_lo= ac_hi=
18957 fi
18958
18959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 fi
18961
18962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18963 # Binary search between lo and hi bounds.
18964 while test "x$ac_lo" != "x$ac_hi"; do
18965 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18966 cat >conftest.$ac_ext <<_ACEOF
18967 /* confdefs.h. */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 $ac_includes_default
18973 typedef short ac__type_sizeof_;
18974 int
18975 main ()
18976 {
18977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18978 test_array [0] = 0
18979
18980 ;
18981 return 0;
18982 }
18983 _ACEOF
18984 rm -f conftest.$ac_objext
18985 if { (ac_try="$ac_compile"
18986 case "(($ac_try" in
18987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18988 *) ac_try_echo=$ac_try;;
18989 esac
18990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18991 (eval "$ac_compile") 2>conftest.er1
18992 ac_status=$?
18993 grep -v '^ *+' conftest.er1 >conftest.err
18994 rm -f conftest.er1
18995 cat conftest.err >&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); } && {
18998 test -z "$ac_c_werror_flag" ||
18999 test ! -s conftest.err
19000 } && test -s conftest.$ac_objext; then
19001 ac_hi=$ac_mid
19002 else
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.$ac_ext >&5
19005
19006 ac_lo=`expr '(' $ac_mid ')' + 1`
19007 fi
19008
19009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19010 done
19011 case $ac_lo in
19012 ?*) ac_cv_sizeof_short=$ac_lo;;
19013 '') if test "$ac_cv_type_short" = yes; then
19014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19015 See \`config.log' for more details." >&5
19016 echo "$as_me: error: cannot compute sizeof (short)
19017 See \`config.log' for more details." >&2;}
19018 { (exit 77); exit 77; }; }
19019 else
19020 ac_cv_sizeof_short=0
19021 fi ;;
19022 esac
19023 else
19024 cat >conftest.$ac_ext <<_ACEOF
19025 /* confdefs.h. */
19026 _ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030 $ac_includes_default
19031 typedef short ac__type_sizeof_;
19032 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19033 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19034 #include <stdio.h>
19035 #include <stdlib.h>
19036 int
19037 main ()
19038 {
19039
19040 FILE *f = fopen ("conftest.val", "w");
19041 if (! f)
19042 return 1;
19043 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19044 {
19045 long int i = longval ();
19046 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19047 return 1;
19048 fprintf (f, "%ld\n", i);
19049 }
19050 else
19051 {
19052 unsigned long int i = ulongval ();
19053 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19054 return 1;
19055 fprintf (f, "%lu\n", i);
19056 }
19057 return ferror (f) || fclose (f) != 0;
19058
19059 ;
19060 return 0;
19061 }
19062 _ACEOF
19063 rm -f conftest$ac_exeext
19064 if { (ac_try="$ac_link"
19065 case "(($ac_try" in
19066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19067 *) ac_try_echo=$ac_try;;
19068 esac
19069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19070 (eval "$ac_link") 2>&5
19071 ac_status=$?
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19074 { (case "(($ac_try" in
19075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19076 *) ac_try_echo=$ac_try;;
19077 esac
19078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19079 (eval "$ac_try") 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_cv_sizeof_short=`cat conftest.val`
19084 else
19085 echo "$as_me: program exited with status $ac_status" >&5
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.$ac_ext >&5
19088
19089 ( exit $ac_status )
19090 if test "$ac_cv_type_short" = yes; then
19091 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19092 See \`config.log' for more details." >&5
19093 echo "$as_me: error: cannot compute sizeof (short)
19094 See \`config.log' for more details." >&2;}
19095 { (exit 77); exit 77; }; }
19096 else
19097 ac_cv_sizeof_short=0
19098 fi
19099 fi
19100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19101 fi
19102 rm -f conftest.val
19103 fi
19104 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19105 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19106
19107
19108
19109 cat >>confdefs.h <<_ACEOF
19110 #define SIZEOF_SHORT $ac_cv_sizeof_short
19111 _ACEOF
19112
19113
19114 { echo "$as_me:$LINENO: checking for void *" >&5
19115 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19116 if test "${ac_cv_type_void_p+set}" = set; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19118 else
19119 cat >conftest.$ac_ext <<_ACEOF
19120 /* confdefs.h. */
19121 _ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 $ac_includes_default
19126 typedef void * ac__type_new_;
19127 int
19128 main ()
19129 {
19130 if ((ac__type_new_ *) 0)
19131 return 0;
19132 if (sizeof (ac__type_new_))
19133 return 0;
19134 ;
19135 return 0;
19136 }
19137 _ACEOF
19138 rm -f conftest.$ac_objext
19139 if { (ac_try="$ac_compile"
19140 case "(($ac_try" in
19141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19142 *) ac_try_echo=$ac_try;;
19143 esac
19144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19145 (eval "$ac_compile") 2>conftest.er1
19146 ac_status=$?
19147 grep -v '^ *+' conftest.er1 >conftest.err
19148 rm -f conftest.er1
19149 cat conftest.err >&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); } && {
19152 test -z "$ac_c_werror_flag" ||
19153 test ! -s conftest.err
19154 } && test -s conftest.$ac_objext; then
19155 ac_cv_type_void_p=yes
19156 else
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.$ac_ext >&5
19159
19160 ac_cv_type_void_p=no
19161 fi
19162
19163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164 fi
19165 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19166 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19167
19168 # The cast to long int works around a bug in the HP C Compiler
19169 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19170 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19171 # This bug is HP SR number 8606223364.
19172 { echo "$as_me:$LINENO: checking size of void *" >&5
19173 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19174 if test "${ac_cv_sizeof_void_p+set}" = set; then
19175 echo $ECHO_N "(cached) $ECHO_C" >&6
19176 else
19177 if test "$cross_compiling" = yes; then
19178 # Depending upon the size, compute the lo and hi bounds.
19179 cat >conftest.$ac_ext <<_ACEOF
19180 /* confdefs.h. */
19181 _ACEOF
19182 cat confdefs.h >>conftest.$ac_ext
19183 cat >>conftest.$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19185 $ac_includes_default
19186 typedef void * ac__type_sizeof_;
19187 int
19188 main ()
19189 {
19190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19191 test_array [0] = 0
19192
19193 ;
19194 return 0;
19195 }
19196 _ACEOF
19197 rm -f conftest.$ac_objext
19198 if { (ac_try="$ac_compile"
19199 case "(($ac_try" in
19200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19201 *) ac_try_echo=$ac_try;;
19202 esac
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_compile") 2>conftest.er1
19205 ac_status=$?
19206 grep -v '^ *+' conftest.er1 >conftest.err
19207 rm -f conftest.er1
19208 cat conftest.err >&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } && {
19211 test -z "$ac_c_werror_flag" ||
19212 test ! -s conftest.err
19213 } && test -s conftest.$ac_objext; then
19214 ac_lo=0 ac_mid=0
19215 while :; do
19216 cat >conftest.$ac_ext <<_ACEOF
19217 /* confdefs.h. */
19218 _ACEOF
19219 cat confdefs.h >>conftest.$ac_ext
19220 cat >>conftest.$ac_ext <<_ACEOF
19221 /* end confdefs.h. */
19222 $ac_includes_default
19223 typedef void * ac__type_sizeof_;
19224 int
19225 main ()
19226 {
19227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19228 test_array [0] = 0
19229
19230 ;
19231 return 0;
19232 }
19233 _ACEOF
19234 rm -f conftest.$ac_objext
19235 if { (ac_try="$ac_compile"
19236 case "(($ac_try" in
19237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19238 *) ac_try_echo=$ac_try;;
19239 esac
19240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19241 (eval "$ac_compile") 2>conftest.er1
19242 ac_status=$?
19243 grep -v '^ *+' conftest.er1 >conftest.err
19244 rm -f conftest.er1
19245 cat conftest.err >&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); } && {
19248 test -z "$ac_c_werror_flag" ||
19249 test ! -s conftest.err
19250 } && test -s conftest.$ac_objext; then
19251 ac_hi=$ac_mid; break
19252 else
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19255
19256 ac_lo=`expr $ac_mid + 1`
19257 if test $ac_lo -le $ac_mid; then
19258 ac_lo= ac_hi=
19259 break
19260 fi
19261 ac_mid=`expr 2 '*' $ac_mid + 1`
19262 fi
19263
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19265 done
19266 else
19267 echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19269
19270 cat >conftest.$ac_ext <<_ACEOF
19271 /* confdefs.h. */
19272 _ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276 $ac_includes_default
19277 typedef void * ac__type_sizeof_;
19278 int
19279 main ()
19280 {
19281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19282 test_array [0] = 0
19283
19284 ;
19285 return 0;
19286 }
19287 _ACEOF
19288 rm -f conftest.$ac_objext
19289 if { (ac_try="$ac_compile"
19290 case "(($ac_try" in
19291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19292 *) ac_try_echo=$ac_try;;
19293 esac
19294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19295 (eval "$ac_compile") 2>conftest.er1
19296 ac_status=$?
19297 grep -v '^ *+' conftest.er1 >conftest.err
19298 rm -f conftest.er1
19299 cat conftest.err >&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } && {
19302 test -z "$ac_c_werror_flag" ||
19303 test ! -s conftest.err
19304 } && test -s conftest.$ac_objext; then
19305 ac_hi=-1 ac_mid=-1
19306 while :; do
19307 cat >conftest.$ac_ext <<_ACEOF
19308 /* confdefs.h. */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19314 typedef void * ac__type_sizeof_;
19315 int
19316 main ()
19317 {
19318 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19319 test_array [0] = 0
19320
19321 ;
19322 return 0;
19323 }
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (ac_try="$ac_compile"
19327 case "(($ac_try" in
19328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19329 *) ac_try_echo=$ac_try;;
19330 esac
19331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_compile") 2>conftest.er1
19333 ac_status=$?
19334 grep -v '^ *+' conftest.er1 >conftest.err
19335 rm -f conftest.er1
19336 cat conftest.err >&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); } && {
19339 test -z "$ac_c_werror_flag" ||
19340 test ! -s conftest.err
19341 } && test -s conftest.$ac_objext; then
19342 ac_lo=$ac_mid; break
19343 else
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19346
19347 ac_hi=`expr '(' $ac_mid ')' - 1`
19348 if test $ac_mid -le $ac_hi; then
19349 ac_lo= ac_hi=
19350 break
19351 fi
19352 ac_mid=`expr 2 '*' $ac_mid`
19353 fi
19354
19355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19356 done
19357 else
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19360
19361 ac_lo= ac_hi=
19362 fi
19363
19364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19365 fi
19366
19367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19368 # Binary search between lo and hi bounds.
19369 while test "x$ac_lo" != "x$ac_hi"; do
19370 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19371 cat >conftest.$ac_ext <<_ACEOF
19372 /* confdefs.h. */
19373 _ACEOF
19374 cat confdefs.h >>conftest.$ac_ext
19375 cat >>conftest.$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 $ac_includes_default
19378 typedef void * ac__type_sizeof_;
19379 int
19380 main ()
19381 {
19382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19383 test_array [0] = 0
19384
19385 ;
19386 return 0;
19387 }
19388 _ACEOF
19389 rm -f conftest.$ac_objext
19390 if { (ac_try="$ac_compile"
19391 case "(($ac_try" in
19392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19393 *) ac_try_echo=$ac_try;;
19394 esac
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396 (eval "$ac_compile") 2>conftest.er1
19397 ac_status=$?
19398 grep -v '^ *+' conftest.er1 >conftest.err
19399 rm -f conftest.er1
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } && {
19403 test -z "$ac_c_werror_flag" ||
19404 test ! -s conftest.err
19405 } && test -s conftest.$ac_objext; then
19406 ac_hi=$ac_mid
19407 else
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19410
19411 ac_lo=`expr '(' $ac_mid ')' + 1`
19412 fi
19413
19414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19415 done
19416 case $ac_lo in
19417 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19418 '') if test "$ac_cv_type_void_p" = yes; then
19419 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19420 See \`config.log' for more details." >&5
19421 echo "$as_me: error: cannot compute sizeof (void *)
19422 See \`config.log' for more details." >&2;}
19423 { (exit 77); exit 77; }; }
19424 else
19425 ac_cv_sizeof_void_p=0
19426 fi ;;
19427 esac
19428 else
19429 cat >conftest.$ac_ext <<_ACEOF
19430 /* confdefs.h. */
19431 _ACEOF
19432 cat confdefs.h >>conftest.$ac_ext
19433 cat >>conftest.$ac_ext <<_ACEOF
19434 /* end confdefs.h. */
19435 $ac_includes_default
19436 typedef void * ac__type_sizeof_;
19437 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19438 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19439 #include <stdio.h>
19440 #include <stdlib.h>
19441 int
19442 main ()
19443 {
19444
19445 FILE *f = fopen ("conftest.val", "w");
19446 if (! f)
19447 return 1;
19448 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19449 {
19450 long int i = longval ();
19451 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19452 return 1;
19453 fprintf (f, "%ld\n", i);
19454 }
19455 else
19456 {
19457 unsigned long int i = ulongval ();
19458 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19459 return 1;
19460 fprintf (f, "%lu\n", i);
19461 }
19462 return ferror (f) || fclose (f) != 0;
19463
19464 ;
19465 return 0;
19466 }
19467 _ACEOF
19468 rm -f conftest$ac_exeext
19469 if { (ac_try="$ac_link"
19470 case "(($ac_try" in
19471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19472 *) ac_try_echo=$ac_try;;
19473 esac
19474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19475 (eval "$ac_link") 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19479 { (case "(($ac_try" in
19480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19481 *) ac_try_echo=$ac_try;;
19482 esac
19483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19484 (eval "$ac_try") 2>&5
19485 ac_status=$?
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; }; then
19488 ac_cv_sizeof_void_p=`cat conftest.val`
19489 else
19490 echo "$as_me: program exited with status $ac_status" >&5
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19493
19494 ( exit $ac_status )
19495 if test "$ac_cv_type_void_p" = yes; then
19496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19497 See \`config.log' for more details." >&5
19498 echo "$as_me: error: cannot compute sizeof (void *)
19499 See \`config.log' for more details." >&2;}
19500 { (exit 77); exit 77; }; }
19501 else
19502 ac_cv_sizeof_void_p=0
19503 fi
19504 fi
19505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19506 fi
19507 rm -f conftest.val
19508 fi
19509 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19510 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19511
19512
19513
19514 cat >>confdefs.h <<_ACEOF
19515 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19516 _ACEOF
19517
19518
19519 { echo "$as_me:$LINENO: checking for int" >&5
19520 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19521 if test "${ac_cv_type_int+set}" = set; then
19522 echo $ECHO_N "(cached) $ECHO_C" >&6
19523 else
19524 cat >conftest.$ac_ext <<_ACEOF
19525 /* confdefs.h. */
19526 _ACEOF
19527 cat confdefs.h >>conftest.$ac_ext
19528 cat >>conftest.$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19530 $ac_includes_default
19531 typedef int ac__type_new_;
19532 int
19533 main ()
19534 {
19535 if ((ac__type_new_ *) 0)
19536 return 0;
19537 if (sizeof (ac__type_new_))
19538 return 0;
19539 ;
19540 return 0;
19541 }
19542 _ACEOF
19543 rm -f conftest.$ac_objext
19544 if { (ac_try="$ac_compile"
19545 case "(($ac_try" in
19546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19547 *) ac_try_echo=$ac_try;;
19548 esac
19549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19550 (eval "$ac_compile") 2>conftest.er1
19551 ac_status=$?
19552 grep -v '^ *+' conftest.er1 >conftest.err
19553 rm -f conftest.er1
19554 cat conftest.err >&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } && {
19557 test -z "$ac_c_werror_flag" ||
19558 test ! -s conftest.err
19559 } && test -s conftest.$ac_objext; then
19560 ac_cv_type_int=yes
19561 else
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19564
19565 ac_cv_type_int=no
19566 fi
19567
19568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19569 fi
19570 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19571 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19572
19573 # The cast to long int works around a bug in the HP C Compiler
19574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19576 # This bug is HP SR number 8606223364.
19577 { echo "$as_me:$LINENO: checking size of int" >&5
19578 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19579 if test "${ac_cv_sizeof_int+set}" = set; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 else
19582 if test "$cross_compiling" = yes; then
19583 # Depending upon the size, compute the lo and hi bounds.
19584 cat >conftest.$ac_ext <<_ACEOF
19585 /* confdefs.h. */
19586 _ACEOF
19587 cat confdefs.h >>conftest.$ac_ext
19588 cat >>conftest.$ac_ext <<_ACEOF
19589 /* end confdefs.h. */
19590 $ac_includes_default
19591 typedef int ac__type_sizeof_;
19592 int
19593 main ()
19594 {
19595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19596 test_array [0] = 0
19597
19598 ;
19599 return 0;
19600 }
19601 _ACEOF
19602 rm -f conftest.$ac_objext
19603 if { (ac_try="$ac_compile"
19604 case "(($ac_try" in
19605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19606 *) ac_try_echo=$ac_try;;
19607 esac
19608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19609 (eval "$ac_compile") 2>conftest.er1
19610 ac_status=$?
19611 grep -v '^ *+' conftest.er1 >conftest.err
19612 rm -f conftest.er1
19613 cat conftest.err >&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } && {
19616 test -z "$ac_c_werror_flag" ||
19617 test ! -s conftest.err
19618 } && test -s conftest.$ac_objext; then
19619 ac_lo=0 ac_mid=0
19620 while :; do
19621 cat >conftest.$ac_ext <<_ACEOF
19622 /* confdefs.h. */
19623 _ACEOF
19624 cat confdefs.h >>conftest.$ac_ext
19625 cat >>conftest.$ac_ext <<_ACEOF
19626 /* end confdefs.h. */
19627 $ac_includes_default
19628 typedef int ac__type_sizeof_;
19629 int
19630 main ()
19631 {
19632 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19633 test_array [0] = 0
19634
19635 ;
19636 return 0;
19637 }
19638 _ACEOF
19639 rm -f conftest.$ac_objext
19640 if { (ac_try="$ac_compile"
19641 case "(($ac_try" in
19642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19643 *) ac_try_echo=$ac_try;;
19644 esac
19645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19646 (eval "$ac_compile") 2>conftest.er1
19647 ac_status=$?
19648 grep -v '^ *+' conftest.er1 >conftest.err
19649 rm -f conftest.er1
19650 cat conftest.err >&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); } && {
19653 test -z "$ac_c_werror_flag" ||
19654 test ! -s conftest.err
19655 } && test -s conftest.$ac_objext; then
19656 ac_hi=$ac_mid; break
19657 else
19658 echo "$as_me: failed program was:" >&5
19659 sed 's/^/| /' conftest.$ac_ext >&5
19660
19661 ac_lo=`expr $ac_mid + 1`
19662 if test $ac_lo -le $ac_mid; then
19663 ac_lo= ac_hi=
19664 break
19665 fi
19666 ac_mid=`expr 2 '*' $ac_mid + 1`
19667 fi
19668
19669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19670 done
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19674
19675 cat >conftest.$ac_ext <<_ACEOF
19676 /* confdefs.h. */
19677 _ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19682 typedef int ac__type_sizeof_;
19683 int
19684 main ()
19685 {
19686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19687 test_array [0] = 0
19688
19689 ;
19690 return 0;
19691 }
19692 _ACEOF
19693 rm -f conftest.$ac_objext
19694 if { (ac_try="$ac_compile"
19695 case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19698 esac
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_compile") 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } && {
19707 test -z "$ac_c_werror_flag" ||
19708 test ! -s conftest.err
19709 } && test -s conftest.$ac_objext; then
19710 ac_hi=-1 ac_mid=-1
19711 while :; do
19712 cat >conftest.$ac_ext <<_ACEOF
19713 /* confdefs.h. */
19714 _ACEOF
19715 cat confdefs.h >>conftest.$ac_ext
19716 cat >>conftest.$ac_ext <<_ACEOF
19717 /* end confdefs.h. */
19718 $ac_includes_default
19719 typedef int ac__type_sizeof_;
19720 int
19721 main ()
19722 {
19723 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19724 test_array [0] = 0
19725
19726 ;
19727 return 0;
19728 }
19729 _ACEOF
19730 rm -f conftest.$ac_objext
19731 if { (ac_try="$ac_compile"
19732 case "(($ac_try" in
19733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19734 *) ac_try_echo=$ac_try;;
19735 esac
19736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_compile") 2>conftest.er1
19738 ac_status=$?
19739 grep -v '^ *+' conftest.er1 >conftest.err
19740 rm -f conftest.er1
19741 cat conftest.err >&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && {
19744 test -z "$ac_c_werror_flag" ||
19745 test ! -s conftest.err
19746 } && test -s conftest.$ac_objext; then
19747 ac_lo=$ac_mid; break
19748 else
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19751
19752 ac_hi=`expr '(' $ac_mid ')' - 1`
19753 if test $ac_mid -le $ac_hi; then
19754 ac_lo= ac_hi=
19755 break
19756 fi
19757 ac_mid=`expr 2 '*' $ac_mid`
19758 fi
19759
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19761 done
19762 else
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19765
19766 ac_lo= ac_hi=
19767 fi
19768
19769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19770 fi
19771
19772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19773 # Binary search between lo and hi bounds.
19774 while test "x$ac_lo" != "x$ac_hi"; do
19775 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19776 cat >conftest.$ac_ext <<_ACEOF
19777 /* confdefs.h. */
19778 _ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782 $ac_includes_default
19783 typedef int ac__type_sizeof_;
19784 int
19785 main ()
19786 {
19787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19788 test_array [0] = 0
19789
19790 ;
19791 return 0;
19792 }
19793 _ACEOF
19794 rm -f conftest.$ac_objext
19795 if { (ac_try="$ac_compile"
19796 case "(($ac_try" in
19797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19798 *) ac_try_echo=$ac_try;;
19799 esac
19800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19801 (eval "$ac_compile") 2>conftest.er1
19802 ac_status=$?
19803 grep -v '^ *+' conftest.er1 >conftest.err
19804 rm -f conftest.er1
19805 cat conftest.err >&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); } && {
19808 test -z "$ac_c_werror_flag" ||
19809 test ! -s conftest.err
19810 } && test -s conftest.$ac_objext; then
19811 ac_hi=$ac_mid
19812 else
19813 echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.$ac_ext >&5
19815
19816 ac_lo=`expr '(' $ac_mid ')' + 1`
19817 fi
19818
19819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19820 done
19821 case $ac_lo in
19822 ?*) ac_cv_sizeof_int=$ac_lo;;
19823 '') if test "$ac_cv_type_int" = yes; then
19824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19825 See \`config.log' for more details." >&5
19826 echo "$as_me: error: cannot compute sizeof (int)
19827 See \`config.log' for more details." >&2;}
19828 { (exit 77); exit 77; }; }
19829 else
19830 ac_cv_sizeof_int=0
19831 fi ;;
19832 esac
19833 else
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19841 typedef int ac__type_sizeof_;
19842 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19843 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19844 #include <stdio.h>
19845 #include <stdlib.h>
19846 int
19847 main ()
19848 {
19849
19850 FILE *f = fopen ("conftest.val", "w");
19851 if (! f)
19852 return 1;
19853 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19854 {
19855 long int i = longval ();
19856 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19857 return 1;
19858 fprintf (f, "%ld\n", i);
19859 }
19860 else
19861 {
19862 unsigned long int i = ulongval ();
19863 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19864 return 1;
19865 fprintf (f, "%lu\n", i);
19866 }
19867 return ferror (f) || fclose (f) != 0;
19868
19869 ;
19870 return 0;
19871 }
19872 _ACEOF
19873 rm -f conftest$ac_exeext
19874 if { (ac_try="$ac_link"
19875 case "(($ac_try" in
19876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19877 *) ac_try_echo=$ac_try;;
19878 esac
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_link") 2>&5
19881 ac_status=$?
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19884 { (case "(($ac_try" in
19885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19886 *) ac_try_echo=$ac_try;;
19887 esac
19888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19889 (eval "$ac_try") 2>&5
19890 ac_status=$?
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; }; then
19893 ac_cv_sizeof_int=`cat conftest.val`
19894 else
19895 echo "$as_me: program exited with status $ac_status" >&5
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19898
19899 ( exit $ac_status )
19900 if test "$ac_cv_type_int" = yes; then
19901 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19902 See \`config.log' for more details." >&5
19903 echo "$as_me: error: cannot compute sizeof (int)
19904 See \`config.log' for more details." >&2;}
19905 { (exit 77); exit 77; }; }
19906 else
19907 ac_cv_sizeof_int=0
19908 fi
19909 fi
19910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19911 fi
19912 rm -f conftest.val
19913 fi
19914 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19915 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19916
19917
19918
19919 cat >>confdefs.h <<_ACEOF
19920 #define SIZEOF_INT $ac_cv_sizeof_int
19921 _ACEOF
19922
19923
19924 { echo "$as_me:$LINENO: checking for long" >&5
19925 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19926 if test "${ac_cv_type_long+set}" = set; then
19927 echo $ECHO_N "(cached) $ECHO_C" >&6
19928 else
19929 cat >conftest.$ac_ext <<_ACEOF
19930 /* confdefs.h. */
19931 _ACEOF
19932 cat confdefs.h >>conftest.$ac_ext
19933 cat >>conftest.$ac_ext <<_ACEOF
19934 /* end confdefs.h. */
19935 $ac_includes_default
19936 typedef long ac__type_new_;
19937 int
19938 main ()
19939 {
19940 if ((ac__type_new_ *) 0)
19941 return 0;
19942 if (sizeof (ac__type_new_))
19943 return 0;
19944 ;
19945 return 0;
19946 }
19947 _ACEOF
19948 rm -f conftest.$ac_objext
19949 if { (ac_try="$ac_compile"
19950 case "(($ac_try" in
19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19953 esac
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_compile") 2>conftest.er1
19956 ac_status=$?
19957 grep -v '^ *+' conftest.er1 >conftest.err
19958 rm -f conftest.er1
19959 cat conftest.err >&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } && {
19962 test -z "$ac_c_werror_flag" ||
19963 test ! -s conftest.err
19964 } && test -s conftest.$ac_objext; then
19965 ac_cv_type_long=yes
19966 else
19967 echo "$as_me: failed program was:" >&5
19968 sed 's/^/| /' conftest.$ac_ext >&5
19969
19970 ac_cv_type_long=no
19971 fi
19972
19973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19974 fi
19975 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19976 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19977
19978 # The cast to long int works around a bug in the HP C Compiler
19979 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19980 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19981 # This bug is HP SR number 8606223364.
19982 { echo "$as_me:$LINENO: checking size of long" >&5
19983 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19984 if test "${ac_cv_sizeof_long+set}" = set; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 else
19987 if test "$cross_compiling" = yes; then
19988 # Depending upon the size, compute the lo and hi bounds.
19989 cat >conftest.$ac_ext <<_ACEOF
19990 /* confdefs.h. */
19991 _ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 $ac_includes_default
19996 typedef long ac__type_sizeof_;
19997 int
19998 main ()
19999 {
20000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20001 test_array [0] = 0
20002
20003 ;
20004 return 0;
20005 }
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (ac_try="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20012 esac
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.$ac_objext; then
20024 ac_lo=0 ac_mid=0
20025 while :; do
20026 cat >conftest.$ac_ext <<_ACEOF
20027 /* confdefs.h. */
20028 _ACEOF
20029 cat confdefs.h >>conftest.$ac_ext
20030 cat >>conftest.$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20032 $ac_includes_default
20033 typedef long ac__type_sizeof_;
20034 int
20035 main ()
20036 {
20037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20038 test_array [0] = 0
20039
20040 ;
20041 return 0;
20042 }
20043 _ACEOF
20044 rm -f conftest.$ac_objext
20045 if { (ac_try="$ac_compile"
20046 case "(($ac_try" in
20047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20048 *) ac_try_echo=$ac_try;;
20049 esac
20050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20051 (eval "$ac_compile") 2>conftest.er1
20052 ac_status=$?
20053 grep -v '^ *+' conftest.er1 >conftest.err
20054 rm -f conftest.er1
20055 cat conftest.err >&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); } && {
20058 test -z "$ac_c_werror_flag" ||
20059 test ! -s conftest.err
20060 } && test -s conftest.$ac_objext; then
20061 ac_hi=$ac_mid; break
20062 else
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20065
20066 ac_lo=`expr $ac_mid + 1`
20067 if test $ac_lo -le $ac_mid; then
20068 ac_lo= ac_hi=
20069 break
20070 fi
20071 ac_mid=`expr 2 '*' $ac_mid + 1`
20072 fi
20073
20074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075 done
20076 else
20077 echo "$as_me: failed program was:" >&5
20078 sed 's/^/| /' conftest.$ac_ext >&5
20079
20080 cat >conftest.$ac_ext <<_ACEOF
20081 /* confdefs.h. */
20082 _ACEOF
20083 cat confdefs.h >>conftest.$ac_ext
20084 cat >>conftest.$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 $ac_includes_default
20087 typedef long ac__type_sizeof_;
20088 int
20089 main ()
20090 {
20091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20092 test_array [0] = 0
20093
20094 ;
20095 return 0;
20096 }
20097 _ACEOF
20098 rm -f conftest.$ac_objext
20099 if { (ac_try="$ac_compile"
20100 case "(($ac_try" in
20101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20102 *) ac_try_echo=$ac_try;;
20103 esac
20104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20105 (eval "$ac_compile") 2>conftest.er1
20106 ac_status=$?
20107 grep -v '^ *+' conftest.er1 >conftest.err
20108 rm -f conftest.er1
20109 cat conftest.err >&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } && {
20112 test -z "$ac_c_werror_flag" ||
20113 test ! -s conftest.err
20114 } && test -s conftest.$ac_objext; then
20115 ac_hi=-1 ac_mid=-1
20116 while :; do
20117 cat >conftest.$ac_ext <<_ACEOF
20118 /* confdefs.h. */
20119 _ACEOF
20120 cat confdefs.h >>conftest.$ac_ext
20121 cat >>conftest.$ac_ext <<_ACEOF
20122 /* end confdefs.h. */
20123 $ac_includes_default
20124 typedef long ac__type_sizeof_;
20125 int
20126 main ()
20127 {
20128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20129 test_array [0] = 0
20130
20131 ;
20132 return 0;
20133 }
20134 _ACEOF
20135 rm -f conftest.$ac_objext
20136 if { (ac_try="$ac_compile"
20137 case "(($ac_try" in
20138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20139 *) ac_try_echo=$ac_try;;
20140 esac
20141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20142 (eval "$ac_compile") 2>conftest.er1
20143 ac_status=$?
20144 grep -v '^ *+' conftest.er1 >conftest.err
20145 rm -f conftest.er1
20146 cat conftest.err >&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } && {
20149 test -z "$ac_c_werror_flag" ||
20150 test ! -s conftest.err
20151 } && test -s conftest.$ac_objext; then
20152 ac_lo=$ac_mid; break
20153 else
20154 echo "$as_me: failed program was:" >&5
20155 sed 's/^/| /' conftest.$ac_ext >&5
20156
20157 ac_hi=`expr '(' $ac_mid ')' - 1`
20158 if test $ac_mid -le $ac_hi; then
20159 ac_lo= ac_hi=
20160 break
20161 fi
20162 ac_mid=`expr 2 '*' $ac_mid`
20163 fi
20164
20165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20166 done
20167 else
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20170
20171 ac_lo= ac_hi=
20172 fi
20173
20174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20175 fi
20176
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 # Binary search between lo and hi bounds.
20179 while test "x$ac_lo" != "x$ac_hi"; do
20180 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20181 cat >conftest.$ac_ext <<_ACEOF
20182 /* confdefs.h. */
20183 _ACEOF
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h. */
20187 $ac_includes_default
20188 typedef long ac__type_sizeof_;
20189 int
20190 main ()
20191 {
20192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20193 test_array [0] = 0
20194
20195 ;
20196 return 0;
20197 }
20198 _ACEOF
20199 rm -f conftest.$ac_objext
20200 if { (ac_try="$ac_compile"
20201 case "(($ac_try" in
20202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20203 *) ac_try_echo=$ac_try;;
20204 esac
20205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20206 (eval "$ac_compile") 2>conftest.er1
20207 ac_status=$?
20208 grep -v '^ *+' conftest.er1 >conftest.err
20209 rm -f conftest.er1
20210 cat conftest.err >&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } && {
20213 test -z "$ac_c_werror_flag" ||
20214 test ! -s conftest.err
20215 } && test -s conftest.$ac_objext; then
20216 ac_hi=$ac_mid
20217 else
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.$ac_ext >&5
20220
20221 ac_lo=`expr '(' $ac_mid ')' + 1`
20222 fi
20223
20224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 done
20226 case $ac_lo in
20227 ?*) ac_cv_sizeof_long=$ac_lo;;
20228 '') if test "$ac_cv_type_long" = yes; then
20229 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20230 See \`config.log' for more details." >&5
20231 echo "$as_me: error: cannot compute sizeof (long)
20232 See \`config.log' for more details." >&2;}
20233 { (exit 77); exit 77; }; }
20234 else
20235 ac_cv_sizeof_long=0
20236 fi ;;
20237 esac
20238 else
20239 cat >conftest.$ac_ext <<_ACEOF
20240 /* confdefs.h. */
20241 _ACEOF
20242 cat confdefs.h >>conftest.$ac_ext
20243 cat >>conftest.$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 $ac_includes_default
20246 typedef long ac__type_sizeof_;
20247 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20248 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20249 #include <stdio.h>
20250 #include <stdlib.h>
20251 int
20252 main ()
20253 {
20254
20255 FILE *f = fopen ("conftest.val", "w");
20256 if (! f)
20257 return 1;
20258 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20259 {
20260 long int i = longval ();
20261 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20262 return 1;
20263 fprintf (f, "%ld\n", i);
20264 }
20265 else
20266 {
20267 unsigned long int i = ulongval ();
20268 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20269 return 1;
20270 fprintf (f, "%lu\n", i);
20271 }
20272 return ferror (f) || fclose (f) != 0;
20273
20274 ;
20275 return 0;
20276 }
20277 _ACEOF
20278 rm -f conftest$ac_exeext
20279 if { (ac_try="$ac_link"
20280 case "(($ac_try" in
20281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20282 *) ac_try_echo=$ac_try;;
20283 esac
20284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20285 (eval "$ac_link") 2>&5
20286 ac_status=$?
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20289 { (case "(($ac_try" in
20290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20291 *) ac_try_echo=$ac_try;;
20292 esac
20293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20294 (eval "$ac_try") 2>&5
20295 ac_status=$?
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; }; then
20298 ac_cv_sizeof_long=`cat conftest.val`
20299 else
20300 echo "$as_me: program exited with status $ac_status" >&5
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20303
20304 ( exit $ac_status )
20305 if test "$ac_cv_type_long" = yes; then
20306 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20307 See \`config.log' for more details." >&5
20308 echo "$as_me: error: cannot compute sizeof (long)
20309 See \`config.log' for more details." >&2;}
20310 { (exit 77); exit 77; }; }
20311 else
20312 ac_cv_sizeof_long=0
20313 fi
20314 fi
20315 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20316 fi
20317 rm -f conftest.val
20318 fi
20319 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20320 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20321
20322
20323
20324 cat >>confdefs.h <<_ACEOF
20325 #define SIZEOF_LONG $ac_cv_sizeof_long
20326 _ACEOF
20327
20328
20329 { echo "$as_me:$LINENO: checking for size_t" >&5
20330 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20331 if test "${ac_cv_type_size_t+set}" = set; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20333 else
20334 cat >conftest.$ac_ext <<_ACEOF
20335 /* confdefs.h. */
20336 _ACEOF
20337 cat confdefs.h >>conftest.$ac_ext
20338 cat >>conftest.$ac_ext <<_ACEOF
20339 /* end confdefs.h. */
20340 $ac_includes_default
20341 typedef size_t ac__type_new_;
20342 int
20343 main ()
20344 {
20345 if ((ac__type_new_ *) 0)
20346 return 0;
20347 if (sizeof (ac__type_new_))
20348 return 0;
20349 ;
20350 return 0;
20351 }
20352 _ACEOF
20353 rm -f conftest.$ac_objext
20354 if { (ac_try="$ac_compile"
20355 case "(($ac_try" in
20356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20357 *) ac_try_echo=$ac_try;;
20358 esac
20359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20360 (eval "$ac_compile") 2>conftest.er1
20361 ac_status=$?
20362 grep -v '^ *+' conftest.er1 >conftest.err
20363 rm -f conftest.er1
20364 cat conftest.err >&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); } && {
20367 test -z "$ac_c_werror_flag" ||
20368 test ! -s conftest.err
20369 } && test -s conftest.$ac_objext; then
20370 ac_cv_type_size_t=yes
20371 else
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.$ac_ext >&5
20374
20375 ac_cv_type_size_t=no
20376 fi
20377
20378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20379 fi
20380 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20381 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20382
20383 # The cast to long int works around a bug in the HP C Compiler
20384 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20385 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20386 # This bug is HP SR number 8606223364.
20387 { echo "$as_me:$LINENO: checking size of size_t" >&5
20388 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20389 if test "${ac_cv_sizeof_size_t+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 else
20392 if test "$cross_compiling" = yes; then
20393 # Depending upon the size, compute the lo and hi bounds.
20394 cat >conftest.$ac_ext <<_ACEOF
20395 /* confdefs.h. */
20396 _ACEOF
20397 cat confdefs.h >>conftest.$ac_ext
20398 cat >>conftest.$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20400 $ac_includes_default
20401 typedef size_t ac__type_sizeof_;
20402 int
20403 main ()
20404 {
20405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20406 test_array [0] = 0
20407
20408 ;
20409 return 0;
20410 }
20411 _ACEOF
20412 rm -f conftest.$ac_objext
20413 if { (ac_try="$ac_compile"
20414 case "(($ac_try" in
20415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20416 *) ac_try_echo=$ac_try;;
20417 esac
20418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20419 (eval "$ac_compile") 2>conftest.er1
20420 ac_status=$?
20421 grep -v '^ *+' conftest.er1 >conftest.err
20422 rm -f conftest.er1
20423 cat conftest.err >&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } && {
20426 test -z "$ac_c_werror_flag" ||
20427 test ! -s conftest.err
20428 } && test -s conftest.$ac_objext; then
20429 ac_lo=0 ac_mid=0
20430 while :; do
20431 cat >conftest.$ac_ext <<_ACEOF
20432 /* confdefs.h. */
20433 _ACEOF
20434 cat confdefs.h >>conftest.$ac_ext
20435 cat >>conftest.$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20437 $ac_includes_default
20438 typedef size_t ac__type_sizeof_;
20439 int
20440 main ()
20441 {
20442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20443 test_array [0] = 0
20444
20445 ;
20446 return 0;
20447 }
20448 _ACEOF
20449 rm -f conftest.$ac_objext
20450 if { (ac_try="$ac_compile"
20451 case "(($ac_try" in
20452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20453 *) ac_try_echo=$ac_try;;
20454 esac
20455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20456 (eval "$ac_compile") 2>conftest.er1
20457 ac_status=$?
20458 grep -v '^ *+' conftest.er1 >conftest.err
20459 rm -f conftest.er1
20460 cat conftest.err >&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } && {
20463 test -z "$ac_c_werror_flag" ||
20464 test ! -s conftest.err
20465 } && test -s conftest.$ac_objext; then
20466 ac_hi=$ac_mid; break
20467 else
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20470
20471 ac_lo=`expr $ac_mid + 1`
20472 if test $ac_lo -le $ac_mid; then
20473 ac_lo= ac_hi=
20474 break
20475 fi
20476 ac_mid=`expr 2 '*' $ac_mid + 1`
20477 fi
20478
20479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20480 done
20481 else
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.$ac_ext >&5
20484
20485 cat >conftest.$ac_ext <<_ACEOF
20486 /* confdefs.h. */
20487 _ACEOF
20488 cat confdefs.h >>conftest.$ac_ext
20489 cat >>conftest.$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 $ac_includes_default
20492 typedef size_t ac__type_sizeof_;
20493 int
20494 main ()
20495 {
20496 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20497 test_array [0] = 0
20498
20499 ;
20500 return 0;
20501 }
20502 _ACEOF
20503 rm -f conftest.$ac_objext
20504 if { (ac_try="$ac_compile"
20505 case "(($ac_try" in
20506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20508 esac
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_compile") 2>conftest.er1
20511 ac_status=$?
20512 grep -v '^ *+' conftest.er1 >conftest.err
20513 rm -f conftest.er1
20514 cat conftest.err >&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } && {
20517 test -z "$ac_c_werror_flag" ||
20518 test ! -s conftest.err
20519 } && test -s conftest.$ac_objext; then
20520 ac_hi=-1 ac_mid=-1
20521 while :; do
20522 cat >conftest.$ac_ext <<_ACEOF
20523 /* confdefs.h. */
20524 _ACEOF
20525 cat confdefs.h >>conftest.$ac_ext
20526 cat >>conftest.$ac_ext <<_ACEOF
20527 /* end confdefs.h. */
20528 $ac_includes_default
20529 typedef size_t ac__type_sizeof_;
20530 int
20531 main ()
20532 {
20533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20534 test_array [0] = 0
20535
20536 ;
20537 return 0;
20538 }
20539 _ACEOF
20540 rm -f conftest.$ac_objext
20541 if { (ac_try="$ac_compile"
20542 case "(($ac_try" in
20543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20544 *) ac_try_echo=$ac_try;;
20545 esac
20546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20547 (eval "$ac_compile") 2>conftest.er1
20548 ac_status=$?
20549 grep -v '^ *+' conftest.er1 >conftest.err
20550 rm -f conftest.er1
20551 cat conftest.err >&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); } && {
20554 test -z "$ac_c_werror_flag" ||
20555 test ! -s conftest.err
20556 } && test -s conftest.$ac_objext; then
20557 ac_lo=$ac_mid; break
20558 else
20559 echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.$ac_ext >&5
20561
20562 ac_hi=`expr '(' $ac_mid ')' - 1`
20563 if test $ac_mid -le $ac_hi; then
20564 ac_lo= ac_hi=
20565 break
20566 fi
20567 ac_mid=`expr 2 '*' $ac_mid`
20568 fi
20569
20570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20571 done
20572 else
20573 echo "$as_me: failed program was:" >&5
20574 sed 's/^/| /' conftest.$ac_ext >&5
20575
20576 ac_lo= ac_hi=
20577 fi
20578
20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20580 fi
20581
20582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20583 # Binary search between lo and hi bounds.
20584 while test "x$ac_lo" != "x$ac_hi"; do
20585 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20586 cat >conftest.$ac_ext <<_ACEOF
20587 /* confdefs.h. */
20588 _ACEOF
20589 cat confdefs.h >>conftest.$ac_ext
20590 cat >>conftest.$ac_ext <<_ACEOF
20591 /* end confdefs.h. */
20592 $ac_includes_default
20593 typedef size_t ac__type_sizeof_;
20594 int
20595 main ()
20596 {
20597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20598 test_array [0] = 0
20599
20600 ;
20601 return 0;
20602 }
20603 _ACEOF
20604 rm -f conftest.$ac_objext
20605 if { (ac_try="$ac_compile"
20606 case "(($ac_try" in
20607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20608 *) ac_try_echo=$ac_try;;
20609 esac
20610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20611 (eval "$ac_compile") 2>conftest.er1
20612 ac_status=$?
20613 grep -v '^ *+' conftest.er1 >conftest.err
20614 rm -f conftest.er1
20615 cat conftest.err >&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } && {
20618 test -z "$ac_c_werror_flag" ||
20619 test ! -s conftest.err
20620 } && test -s conftest.$ac_objext; then
20621 ac_hi=$ac_mid
20622 else
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20625
20626 ac_lo=`expr '(' $ac_mid ')' + 1`
20627 fi
20628
20629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 done
20631 case $ac_lo in
20632 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20633 '') if test "$ac_cv_type_size_t" = yes; then
20634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20635 See \`config.log' for more details." >&5
20636 echo "$as_me: error: cannot compute sizeof (size_t)
20637 See \`config.log' for more details." >&2;}
20638 { (exit 77); exit 77; }; }
20639 else
20640 ac_cv_sizeof_size_t=0
20641 fi ;;
20642 esac
20643 else
20644 cat >conftest.$ac_ext <<_ACEOF
20645 /* confdefs.h. */
20646 _ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 $ac_includes_default
20651 typedef size_t ac__type_sizeof_;
20652 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20653 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20654 #include <stdio.h>
20655 #include <stdlib.h>
20656 int
20657 main ()
20658 {
20659
20660 FILE *f = fopen ("conftest.val", "w");
20661 if (! f)
20662 return 1;
20663 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20664 {
20665 long int i = longval ();
20666 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20667 return 1;
20668 fprintf (f, "%ld\n", i);
20669 }
20670 else
20671 {
20672 unsigned long int i = ulongval ();
20673 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20674 return 1;
20675 fprintf (f, "%lu\n", i);
20676 }
20677 return ferror (f) || fclose (f) != 0;
20678
20679 ;
20680 return 0;
20681 }
20682 _ACEOF
20683 rm -f conftest$ac_exeext
20684 if { (ac_try="$ac_link"
20685 case "(($ac_try" in
20686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20687 *) ac_try_echo=$ac_try;;
20688 esac
20689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20690 (eval "$ac_link") 2>&5
20691 ac_status=$?
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20694 { (case "(($ac_try" in
20695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20696 *) ac_try_echo=$ac_try;;
20697 esac
20698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20699 (eval "$ac_try") 2>&5
20700 ac_status=$?
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; }; then
20703 ac_cv_sizeof_size_t=`cat conftest.val`
20704 else
20705 echo "$as_me: program exited with status $ac_status" >&5
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20708
20709 ( exit $ac_status )
20710 if test "$ac_cv_type_size_t" = yes; then
20711 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20712 See \`config.log' for more details." >&5
20713 echo "$as_me: error: cannot compute sizeof (size_t)
20714 See \`config.log' for more details." >&2;}
20715 { (exit 77); exit 77; }; }
20716 else
20717 ac_cv_sizeof_size_t=0
20718 fi
20719 fi
20720 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20721 fi
20722 rm -f conftest.val
20723 fi
20724 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20725 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20726
20727
20728
20729 cat >>confdefs.h <<_ACEOF
20730 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20731 _ACEOF
20732
20733
20734
20735 case "${host}" in
20736 arm-*-linux* )
20737 { echo "$as_me:$LINENO: checking for long long" >&5
20738 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20739 if test "${ac_cv_type_long_long+set}" = set; then
20740 echo $ECHO_N "(cached) $ECHO_C" >&6
20741 else
20742 cat >conftest.$ac_ext <<_ACEOF
20743 /* confdefs.h. */
20744 _ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748 $ac_includes_default
20749 typedef long long ac__type_new_;
20750 int
20751 main ()
20752 {
20753 if ((ac__type_new_ *) 0)
20754 return 0;
20755 if (sizeof (ac__type_new_))
20756 return 0;
20757 ;
20758 return 0;
20759 }
20760 _ACEOF
20761 rm -f conftest.$ac_objext
20762 if { (ac_try="$ac_compile"
20763 case "(($ac_try" in
20764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20765 *) ac_try_echo=$ac_try;;
20766 esac
20767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20768 (eval "$ac_compile") 2>conftest.er1
20769 ac_status=$?
20770 grep -v '^ *+' conftest.er1 >conftest.err
20771 rm -f conftest.er1
20772 cat conftest.err >&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } && {
20775 test -z "$ac_c_werror_flag" ||
20776 test ! -s conftest.err
20777 } && test -s conftest.$ac_objext; then
20778 ac_cv_type_long_long=yes
20779 else
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.$ac_ext >&5
20782
20783 ac_cv_type_long_long=no
20784 fi
20785
20786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20787 fi
20788 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20789 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20790
20791 # The cast to long int works around a bug in the HP C Compiler
20792 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20793 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20794 # This bug is HP SR number 8606223364.
20795 { echo "$as_me:$LINENO: checking size of long long" >&5
20796 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20797 if test "${ac_cv_sizeof_long_long+set}" = set; then
20798 echo $ECHO_N "(cached) $ECHO_C" >&6
20799 else
20800 if test "$cross_compiling" = yes; then
20801 # Depending upon the size, compute the lo and hi bounds.
20802 cat >conftest.$ac_ext <<_ACEOF
20803 /* confdefs.h. */
20804 _ACEOF
20805 cat confdefs.h >>conftest.$ac_ext
20806 cat >>conftest.$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 $ac_includes_default
20809 typedef long long ac__type_sizeof_;
20810 int
20811 main ()
20812 {
20813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20814 test_array [0] = 0
20815
20816 ;
20817 return 0;
20818 }
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (ac_try="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20825 esac
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20828 ac_status=$?
20829 grep -v '^ *+' conftest.er1 >conftest.err
20830 rm -f conftest.er1
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_lo=0 ac_mid=0
20838 while :; do
20839 cat >conftest.$ac_ext <<_ACEOF
20840 /* confdefs.h. */
20841 _ACEOF
20842 cat confdefs.h >>conftest.$ac_ext
20843 cat >>conftest.$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20845 $ac_includes_default
20846 typedef long long ac__type_sizeof_;
20847 int
20848 main ()
20849 {
20850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20851 test_array [0] = 0
20852
20853 ;
20854 return 0;
20855 }
20856 _ACEOF
20857 rm -f conftest.$ac_objext
20858 if { (ac_try="$ac_compile"
20859 case "(($ac_try" in
20860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20861 *) ac_try_echo=$ac_try;;
20862 esac
20863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20864 (eval "$ac_compile") 2>conftest.er1
20865 ac_status=$?
20866 grep -v '^ *+' conftest.er1 >conftest.err
20867 rm -f conftest.er1
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } && {
20871 test -z "$ac_c_werror_flag" ||
20872 test ! -s conftest.err
20873 } && test -s conftest.$ac_objext; then
20874 ac_hi=$ac_mid; break
20875 else
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.$ac_ext >&5
20878
20879 ac_lo=`expr $ac_mid + 1`
20880 if test $ac_lo -le $ac_mid; then
20881 ac_lo= ac_hi=
20882 break
20883 fi
20884 ac_mid=`expr 2 '*' $ac_mid + 1`
20885 fi
20886
20887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20888 done
20889 else
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20892
20893 cat >conftest.$ac_ext <<_ACEOF
20894 /* confdefs.h. */
20895 _ACEOF
20896 cat confdefs.h >>conftest.$ac_ext
20897 cat >>conftest.$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 $ac_includes_default
20900 typedef long long ac__type_sizeof_;
20901 int
20902 main ()
20903 {
20904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20905 test_array [0] = 0
20906
20907 ;
20908 return 0;
20909 }
20910 _ACEOF
20911 rm -f conftest.$ac_objext
20912 if { (ac_try="$ac_compile"
20913 case "(($ac_try" in
20914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20915 *) ac_try_echo=$ac_try;;
20916 esac
20917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20918 (eval "$ac_compile") 2>conftest.er1
20919 ac_status=$?
20920 grep -v '^ *+' conftest.er1 >conftest.err
20921 rm -f conftest.er1
20922 cat conftest.err >&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } && {
20925 test -z "$ac_c_werror_flag" ||
20926 test ! -s conftest.err
20927 } && test -s conftest.$ac_objext; then
20928 ac_hi=-1 ac_mid=-1
20929 while :; do
20930 cat >conftest.$ac_ext <<_ACEOF
20931 /* confdefs.h. */
20932 _ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 $ac_includes_default
20937 typedef long long ac__type_sizeof_;
20938 int
20939 main ()
20940 {
20941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20942 test_array [0] = 0
20943
20944 ;
20945 return 0;
20946 }
20947 _ACEOF
20948 rm -f conftest.$ac_objext
20949 if { (ac_try="$ac_compile"
20950 case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20953 esac
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_compile") 2>conftest.er1
20956 ac_status=$?
20957 grep -v '^ *+' conftest.er1 >conftest.err
20958 rm -f conftest.er1
20959 cat conftest.err >&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && {
20962 test -z "$ac_c_werror_flag" ||
20963 test ! -s conftest.err
20964 } && test -s conftest.$ac_objext; then
20965 ac_lo=$ac_mid; break
20966 else
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.$ac_ext >&5
20969
20970 ac_hi=`expr '(' $ac_mid ')' - 1`
20971 if test $ac_mid -le $ac_hi; then
20972 ac_lo= ac_hi=
20973 break
20974 fi
20975 ac_mid=`expr 2 '*' $ac_mid`
20976 fi
20977
20978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20979 done
20980 else
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20983
20984 ac_lo= ac_hi=
20985 fi
20986
20987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20988 fi
20989
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 # Binary search between lo and hi bounds.
20992 while test "x$ac_lo" != "x$ac_hi"; do
20993 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20994 cat >conftest.$ac_ext <<_ACEOF
20995 /* confdefs.h. */
20996 _ACEOF
20997 cat confdefs.h >>conftest.$ac_ext
20998 cat >>conftest.$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21000 $ac_includes_default
21001 typedef long long ac__type_sizeof_;
21002 int
21003 main ()
21004 {
21005 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21006 test_array [0] = 0
21007
21008 ;
21009 return 0;
21010 }
21011 _ACEOF
21012 rm -f conftest.$ac_objext
21013 if { (ac_try="$ac_compile"
21014 case "(($ac_try" in
21015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21016 *) ac_try_echo=$ac_try;;
21017 esac
21018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21019 (eval "$ac_compile") 2>conftest.er1
21020 ac_status=$?
21021 grep -v '^ *+' conftest.er1 >conftest.err
21022 rm -f conftest.er1
21023 cat conftest.err >&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); } && {
21026 test -z "$ac_c_werror_flag" ||
21027 test ! -s conftest.err
21028 } && test -s conftest.$ac_objext; then
21029 ac_hi=$ac_mid
21030 else
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21033
21034 ac_lo=`expr '(' $ac_mid ')' + 1`
21035 fi
21036
21037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 done
21039 case $ac_lo in
21040 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21041 '') if test "$ac_cv_type_long_long" = yes; then
21042 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21043 See \`config.log' for more details." >&5
21044 echo "$as_me: error: cannot compute sizeof (long long)
21045 See \`config.log' for more details." >&2;}
21046 { (exit 77); exit 77; }; }
21047 else
21048 ac_cv_sizeof_long_long=0
21049 fi ;;
21050 esac
21051 else
21052 cat >conftest.$ac_ext <<_ACEOF
21053 /* confdefs.h. */
21054 _ACEOF
21055 cat confdefs.h >>conftest.$ac_ext
21056 cat >>conftest.$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21058 $ac_includes_default
21059 typedef long long ac__type_sizeof_;
21060 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21061 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21062 #include <stdio.h>
21063 #include <stdlib.h>
21064 int
21065 main ()
21066 {
21067
21068 FILE *f = fopen ("conftest.val", "w");
21069 if (! f)
21070 return 1;
21071 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21072 {
21073 long int i = longval ();
21074 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21075 return 1;
21076 fprintf (f, "%ld\n", i);
21077 }
21078 else
21079 {
21080 unsigned long int i = ulongval ();
21081 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21082 return 1;
21083 fprintf (f, "%lu\n", i);
21084 }
21085 return ferror (f) || fclose (f) != 0;
21086
21087 ;
21088 return 0;
21089 }
21090 _ACEOF
21091 rm -f conftest$ac_exeext
21092 if { (ac_try="$ac_link"
21093 case "(($ac_try" in
21094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21095 *) ac_try_echo=$ac_try;;
21096 esac
21097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21098 (eval "$ac_link") 2>&5
21099 ac_status=$?
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21102 { (case "(($ac_try" in
21103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21104 *) ac_try_echo=$ac_try;;
21105 esac
21106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21107 (eval "$ac_try") 2>&5
21108 ac_status=$?
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); }; }; then
21111 ac_cv_sizeof_long_long=`cat conftest.val`
21112 else
21113 echo "$as_me: program exited with status $ac_status" >&5
21114 echo "$as_me: failed program was:" >&5
21115 sed 's/^/| /' conftest.$ac_ext >&5
21116
21117 ( exit $ac_status )
21118 if test "$ac_cv_type_long_long" = yes; then
21119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21120 See \`config.log' for more details." >&5
21121 echo "$as_me: error: cannot compute sizeof (long long)
21122 See \`config.log' for more details." >&2;}
21123 { (exit 77); exit 77; }; }
21124 else
21125 ac_cv_sizeof_long_long=0
21126 fi
21127 fi
21128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21129 fi
21130 rm -f conftest.val
21131 fi
21132 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21133 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21134
21135
21136
21137 cat >>confdefs.h <<_ACEOF
21138 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21139 _ACEOF
21140
21141
21142 ;;
21143 *-hp-hpux* )
21144 { echo "$as_me:$LINENO: checking for long long" >&5
21145 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21146 if test "${ac_cv_type_long_long+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 else
21149 cat >conftest.$ac_ext <<_ACEOF
21150 /* confdefs.h. */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef long long ac__type_new_;
21157 int
21158 main ()
21159 {
21160 if ((ac__type_new_ *) 0)
21161 return 0;
21162 if (sizeof (ac__type_new_))
21163 return 0;
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21176 ac_status=$?
21177 grep -v '^ *+' conftest.er1 >conftest.err
21178 rm -f conftest.er1
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } && {
21182 test -z "$ac_c_werror_flag" ||
21183 test ! -s conftest.err
21184 } && test -s conftest.$ac_objext; then
21185 ac_cv_type_long_long=yes
21186 else
21187 echo "$as_me: failed program was:" >&5
21188 sed 's/^/| /' conftest.$ac_ext >&5
21189
21190 ac_cv_type_long_long=no
21191 fi
21192
21193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21194 fi
21195 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21196 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21197
21198 # The cast to long int works around a bug in the HP C Compiler
21199 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21200 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21201 # This bug is HP SR number 8606223364.
21202 { echo "$as_me:$LINENO: checking size of long long" >&5
21203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21204 if test "${ac_cv_sizeof_long_long+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 else
21207 if test "$cross_compiling" = yes; then
21208 # Depending upon the size, compute the lo and hi bounds.
21209 cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h. */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 $ac_includes_default
21216 typedef long long ac__type_sizeof_;
21217 int
21218 main ()
21219 {
21220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21221 test_array [0] = 0
21222
21223 ;
21224 return 0;
21225 }
21226 _ACEOF
21227 rm -f conftest.$ac_objext
21228 if { (ac_try="$ac_compile"
21229 case "(($ac_try" in
21230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21232 esac
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_compile") 2>conftest.er1
21235 ac_status=$?
21236 grep -v '^ *+' conftest.er1 >conftest.err
21237 rm -f conftest.er1
21238 cat conftest.err >&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } && {
21241 test -z "$ac_c_werror_flag" ||
21242 test ! -s conftest.err
21243 } && test -s conftest.$ac_objext; then
21244 ac_lo=0 ac_mid=0
21245 while :; do
21246 cat >conftest.$ac_ext <<_ACEOF
21247 /* confdefs.h. */
21248 _ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 $ac_includes_default
21253 typedef long long ac__type_sizeof_;
21254 int
21255 main ()
21256 {
21257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21258 test_array [0] = 0
21259
21260 ;
21261 return 0;
21262 }
21263 _ACEOF
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21269 esac
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21272 ac_status=$?
21273 grep -v '^ *+' conftest.er1 >conftest.err
21274 rm -f conftest.er1
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && {
21278 test -z "$ac_c_werror_flag" ||
21279 test ! -s conftest.err
21280 } && test -s conftest.$ac_objext; then
21281 ac_hi=$ac_mid; break
21282 else
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.$ac_ext >&5
21285
21286 ac_lo=`expr $ac_mid + 1`
21287 if test $ac_lo -le $ac_mid; then
21288 ac_lo= ac_hi=
21289 break
21290 fi
21291 ac_mid=`expr 2 '*' $ac_mid + 1`
21292 fi
21293
21294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21295 done
21296 else
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21299
21300 cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h. */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef long long ac__type_sizeof_;
21308 int
21309 main ()
21310 {
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21312 test_array [0] = 0
21313
21314 ;
21315 return 0;
21316 }
21317 _ACEOF
21318 rm -f conftest.$ac_objext
21319 if { (ac_try="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21323 esac
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21326 ac_status=$?
21327 grep -v '^ *+' conftest.er1 >conftest.err
21328 rm -f conftest.er1
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.$ac_objext; then
21335 ac_hi=-1 ac_mid=-1
21336 while :; do
21337 cat >conftest.$ac_ext <<_ACEOF
21338 /* confdefs.h. */
21339 _ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 $ac_includes_default
21344 typedef long long ac__type_sizeof_;
21345 int
21346 main ()
21347 {
21348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21349 test_array [0] = 0
21350
21351 ;
21352 return 0;
21353 }
21354 _ACEOF
21355 rm -f conftest.$ac_objext
21356 if { (ac_try="$ac_compile"
21357 case "(($ac_try" in
21358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21359 *) ac_try_echo=$ac_try;;
21360 esac
21361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21362 (eval "$ac_compile") 2>conftest.er1
21363 ac_status=$?
21364 grep -v '^ *+' conftest.er1 >conftest.err
21365 rm -f conftest.er1
21366 cat conftest.err >&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } && {
21369 test -z "$ac_c_werror_flag" ||
21370 test ! -s conftest.err
21371 } && test -s conftest.$ac_objext; then
21372 ac_lo=$ac_mid; break
21373 else
21374 echo "$as_me: failed program was:" >&5
21375 sed 's/^/| /' conftest.$ac_ext >&5
21376
21377 ac_hi=`expr '(' $ac_mid ')' - 1`
21378 if test $ac_mid -le $ac_hi; then
21379 ac_lo= ac_hi=
21380 break
21381 fi
21382 ac_mid=`expr 2 '*' $ac_mid`
21383 fi
21384
21385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21386 done
21387 else
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.$ac_ext >&5
21390
21391 ac_lo= ac_hi=
21392 fi
21393
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 fi
21396
21397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 # Binary search between lo and hi bounds.
21399 while test "x$ac_lo" != "x$ac_hi"; do
21400 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21401 cat >conftest.$ac_ext <<_ACEOF
21402 /* confdefs.h. */
21403 _ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21408 typedef long long ac__type_sizeof_;
21409 int
21410 main ()
21411 {
21412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21413 test_array [0] = 0
21414
21415 ;
21416 return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest.$ac_objext
21420 if { (ac_try="$ac_compile"
21421 case "(($ac_try" in
21422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21424 esac
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_compile") 2>conftest.er1
21427 ac_status=$?
21428 grep -v '^ *+' conftest.er1 >conftest.err
21429 rm -f conftest.er1
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } && {
21433 test -z "$ac_c_werror_flag" ||
21434 test ! -s conftest.err
21435 } && test -s conftest.$ac_objext; then
21436 ac_hi=$ac_mid
21437 else
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 ac_lo=`expr '(' $ac_mid ')' + 1`
21442 fi
21443
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 done
21446 case $ac_lo in
21447 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21448 '') if test "$ac_cv_type_long_long" = yes; then
21449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21450 See \`config.log' for more details." >&5
21451 echo "$as_me: error: cannot compute sizeof (long long)
21452 See \`config.log' for more details." >&2;}
21453 { (exit 77); exit 77; }; }
21454 else
21455 ac_cv_sizeof_long_long=0
21456 fi ;;
21457 esac
21458 else
21459 cat >conftest.$ac_ext <<_ACEOF
21460 /* confdefs.h. */
21461 _ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 $ac_includes_default
21466 typedef long long ac__type_sizeof_;
21467 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21468 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21469 #include <stdio.h>
21470 #include <stdlib.h>
21471 int
21472 main ()
21473 {
21474
21475 FILE *f = fopen ("conftest.val", "w");
21476 if (! f)
21477 return 1;
21478 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21479 {
21480 long int i = longval ();
21481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21482 return 1;
21483 fprintf (f, "%ld\n", i);
21484 }
21485 else
21486 {
21487 unsigned long int i = ulongval ();
21488 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21489 return 1;
21490 fprintf (f, "%lu\n", i);
21491 }
21492 return ferror (f) || fclose (f) != 0;
21493
21494 ;
21495 return 0;
21496 }
21497 _ACEOF
21498 rm -f conftest$ac_exeext
21499 if { (ac_try="$ac_link"
21500 case "(($ac_try" in
21501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21503 esac
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_link") 2>&5
21506 ac_status=$?
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21509 { (case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_try") 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_sizeof_long_long=`cat conftest.val`
21519 else
21520 echo "$as_me: program exited with status $ac_status" >&5
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21523
21524 ( exit $ac_status )
21525 if test "$ac_cv_type_long_long" = yes; then
21526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21527 See \`config.log' for more details." >&5
21528 echo "$as_me: error: cannot compute sizeof (long long)
21529 See \`config.log' for more details." >&2;}
21530 { (exit 77); exit 77; }; }
21531 else
21532 ac_cv_sizeof_long_long=0
21533 fi
21534 fi
21535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21536 fi
21537 rm -f conftest.val
21538 fi
21539 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21540 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21541
21542
21543
21544 cat >>confdefs.h <<_ACEOF
21545 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21546 _ACEOF
21547
21548
21549 if test "$ac_cv_sizeof_long_long" != "0"; then
21550 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21551 fi
21552 ;;
21553 * )
21554 { echo "$as_me:$LINENO: checking for long long" >&5
21555 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21556 if test "${ac_cv_type_long_long+set}" = set; then
21557 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 else
21559 cat >conftest.$ac_ext <<_ACEOF
21560 /* confdefs.h. */
21561 _ACEOF
21562 cat confdefs.h >>conftest.$ac_ext
21563 cat >>conftest.$ac_ext <<_ACEOF
21564 /* end confdefs.h. */
21565 $ac_includes_default
21566 typedef long long ac__type_new_;
21567 int
21568 main ()
21569 {
21570 if ((ac__type_new_ *) 0)
21571 return 0;
21572 if (sizeof (ac__type_new_))
21573 return 0;
21574 ;
21575 return 0;
21576 }
21577 _ACEOF
21578 rm -f conftest.$ac_objext
21579 if { (ac_try="$ac_compile"
21580 case "(($ac_try" in
21581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21582 *) ac_try_echo=$ac_try;;
21583 esac
21584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21585 (eval "$ac_compile") 2>conftest.er1
21586 ac_status=$?
21587 grep -v '^ *+' conftest.er1 >conftest.err
21588 rm -f conftest.er1
21589 cat conftest.err >&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); } && {
21592 test -z "$ac_c_werror_flag" ||
21593 test ! -s conftest.err
21594 } && test -s conftest.$ac_objext; then
21595 ac_cv_type_long_long=yes
21596 else
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21599
21600 ac_cv_type_long_long=no
21601 fi
21602
21603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21604 fi
21605 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21606 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21607
21608 # The cast to long int works around a bug in the HP C Compiler
21609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21610 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21611 # This bug is HP SR number 8606223364.
21612 { echo "$as_me:$LINENO: checking size of long long" >&5
21613 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21614 if test "${ac_cv_sizeof_long_long+set}" = set; then
21615 echo $ECHO_N "(cached) $ECHO_C" >&6
21616 else
21617 if test "$cross_compiling" = yes; then
21618 # Depending upon the size, compute the lo and hi bounds.
21619 cat >conftest.$ac_ext <<_ACEOF
21620 /* confdefs.h. */
21621 _ACEOF
21622 cat confdefs.h >>conftest.$ac_ext
21623 cat >>conftest.$ac_ext <<_ACEOF
21624 /* end confdefs.h. */
21625 $ac_includes_default
21626 typedef long long ac__type_sizeof_;
21627 int
21628 main ()
21629 {
21630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21631 test_array [0] = 0
21632
21633 ;
21634 return 0;
21635 }
21636 _ACEOF
21637 rm -f conftest.$ac_objext
21638 if { (ac_try="$ac_compile"
21639 case "(($ac_try" in
21640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21641 *) ac_try_echo=$ac_try;;
21642 esac
21643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21644 (eval "$ac_compile") 2>conftest.er1
21645 ac_status=$?
21646 grep -v '^ *+' conftest.er1 >conftest.err
21647 rm -f conftest.er1
21648 cat conftest.err >&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } && {
21651 test -z "$ac_c_werror_flag" ||
21652 test ! -s conftest.err
21653 } && test -s conftest.$ac_objext; then
21654 ac_lo=0 ac_mid=0
21655 while :; do
21656 cat >conftest.$ac_ext <<_ACEOF
21657 /* confdefs.h. */
21658 _ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21663 typedef long long ac__type_sizeof_;
21664 int
21665 main ()
21666 {
21667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21668 test_array [0] = 0
21669
21670 ;
21671 return 0;
21672 }
21673 _ACEOF
21674 rm -f conftest.$ac_objext
21675 if { (ac_try="$ac_compile"
21676 case "(($ac_try" in
21677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21679 esac
21680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_compile") 2>conftest.er1
21682 ac_status=$?
21683 grep -v '^ *+' conftest.er1 >conftest.err
21684 rm -f conftest.er1
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest.$ac_objext; then
21691 ac_hi=$ac_mid; break
21692 else
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.$ac_ext >&5
21695
21696 ac_lo=`expr $ac_mid + 1`
21697 if test $ac_lo -le $ac_mid; then
21698 ac_lo= ac_hi=
21699 break
21700 fi
21701 ac_mid=`expr 2 '*' $ac_mid + 1`
21702 fi
21703
21704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21705 done
21706 else
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21709
21710 cat >conftest.$ac_ext <<_ACEOF
21711 /* confdefs.h. */
21712 _ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 $ac_includes_default
21717 typedef long long ac__type_sizeof_;
21718 int
21719 main ()
21720 {
21721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21722 test_array [0] = 0
21723
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 rm -f conftest.$ac_objext
21729 if { (ac_try="$ac_compile"
21730 case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21732 *) ac_try_echo=$ac_try;;
21733 esac
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21736 ac_status=$?
21737 grep -v '^ *+' conftest.er1 >conftest.err
21738 rm -f conftest.er1
21739 cat conftest.err >&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.$ac_objext; then
21745 ac_hi=-1 ac_mid=-1
21746 while :; do
21747 cat >conftest.$ac_ext <<_ACEOF
21748 /* confdefs.h. */
21749 _ACEOF
21750 cat confdefs.h >>conftest.$ac_ext
21751 cat >>conftest.$ac_ext <<_ACEOF
21752 /* end confdefs.h. */
21753 $ac_includes_default
21754 typedef long long ac__type_sizeof_;
21755 int
21756 main ()
21757 {
21758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21759 test_array [0] = 0
21760
21761 ;
21762 return 0;
21763 }
21764 _ACEOF
21765 rm -f conftest.$ac_objext
21766 if { (ac_try="$ac_compile"
21767 case "(($ac_try" in
21768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21769 *) ac_try_echo=$ac_try;;
21770 esac
21771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21772 (eval "$ac_compile") 2>conftest.er1
21773 ac_status=$?
21774 grep -v '^ *+' conftest.er1 >conftest.err
21775 rm -f conftest.er1
21776 cat conftest.err >&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } && {
21779 test -z "$ac_c_werror_flag" ||
21780 test ! -s conftest.err
21781 } && test -s conftest.$ac_objext; then
21782 ac_lo=$ac_mid; break
21783 else
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787 ac_hi=`expr '(' $ac_mid ')' - 1`
21788 if test $ac_mid -le $ac_hi; then
21789 ac_lo= ac_hi=
21790 break
21791 fi
21792 ac_mid=`expr 2 '*' $ac_mid`
21793 fi
21794
21795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21796 done
21797 else
21798 echo "$as_me: failed program was:" >&5
21799 sed 's/^/| /' conftest.$ac_ext >&5
21800
21801 ac_lo= ac_hi=
21802 fi
21803
21804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21805 fi
21806
21807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21808 # Binary search between lo and hi bounds.
21809 while test "x$ac_lo" != "x$ac_hi"; do
21810 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21811 cat >conftest.$ac_ext <<_ACEOF
21812 /* confdefs.h. */
21813 _ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21817 $ac_includes_default
21818 typedef long long ac__type_sizeof_;
21819 int
21820 main ()
21821 {
21822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21823 test_array [0] = 0
21824
21825 ;
21826 return 0;
21827 }
21828 _ACEOF
21829 rm -f conftest.$ac_objext
21830 if { (ac_try="$ac_compile"
21831 case "(($ac_try" in
21832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21833 *) ac_try_echo=$ac_try;;
21834 esac
21835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21836 (eval "$ac_compile") 2>conftest.er1
21837 ac_status=$?
21838 grep -v '^ *+' conftest.er1 >conftest.err
21839 rm -f conftest.er1
21840 cat conftest.err >&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } && {
21843 test -z "$ac_c_werror_flag" ||
21844 test ! -s conftest.err
21845 } && test -s conftest.$ac_objext; then
21846 ac_hi=$ac_mid
21847 else
21848 echo "$as_me: failed program was:" >&5
21849 sed 's/^/| /' conftest.$ac_ext >&5
21850
21851 ac_lo=`expr '(' $ac_mid ')' + 1`
21852 fi
21853
21854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21855 done
21856 case $ac_lo in
21857 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21858 '') if test "$ac_cv_type_long_long" = yes; then
21859 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21860 See \`config.log' for more details." >&5
21861 echo "$as_me: error: cannot compute sizeof (long long)
21862 See \`config.log' for more details." >&2;}
21863 { (exit 77); exit 77; }; }
21864 else
21865 ac_cv_sizeof_long_long=0
21866 fi ;;
21867 esac
21868 else
21869 cat >conftest.$ac_ext <<_ACEOF
21870 /* confdefs.h. */
21871 _ACEOF
21872 cat confdefs.h >>conftest.$ac_ext
21873 cat >>conftest.$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21875 $ac_includes_default
21876 typedef long long ac__type_sizeof_;
21877 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21878 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21879 #include <stdio.h>
21880 #include <stdlib.h>
21881 int
21882 main ()
21883 {
21884
21885 FILE *f = fopen ("conftest.val", "w");
21886 if (! f)
21887 return 1;
21888 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21889 {
21890 long int i = longval ();
21891 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21892 return 1;
21893 fprintf (f, "%ld\n", i);
21894 }
21895 else
21896 {
21897 unsigned long int i = ulongval ();
21898 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21899 return 1;
21900 fprintf (f, "%lu\n", i);
21901 }
21902 return ferror (f) || fclose (f) != 0;
21903
21904 ;
21905 return 0;
21906 }
21907 _ACEOF
21908 rm -f conftest$ac_exeext
21909 if { (ac_try="$ac_link"
21910 case "(($ac_try" in
21911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21912 *) ac_try_echo=$ac_try;;
21913 esac
21914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21915 (eval "$ac_link") 2>&5
21916 ac_status=$?
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21919 { (case "(($ac_try" in
21920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21921 *) ac_try_echo=$ac_try;;
21922 esac
21923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21924 (eval "$ac_try") 2>&5
21925 ac_status=$?
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21928 ac_cv_sizeof_long_long=`cat conftest.val`
21929 else
21930 echo "$as_me: program exited with status $ac_status" >&5
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21933
21934 ( exit $ac_status )
21935 if test "$ac_cv_type_long_long" = yes; then
21936 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21937 See \`config.log' for more details." >&5
21938 echo "$as_me: error: cannot compute sizeof (long long)
21939 See \`config.log' for more details." >&2;}
21940 { (exit 77); exit 77; }; }
21941 else
21942 ac_cv_sizeof_long_long=0
21943 fi
21944 fi
21945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21946 fi
21947 rm -f conftest.val
21948 fi
21949 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21950 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21951
21952
21953
21954 cat >>confdefs.h <<_ACEOF
21955 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21956 _ACEOF
21957
21958
21959 esac
21960
21961 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21962 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21963 if test "${ac_cv_type_wchar_t+set}" = set; then
21964 echo $ECHO_N "(cached) $ECHO_C" >&6
21965 else
21966 cat >conftest.$ac_ext <<_ACEOF
21967 /* confdefs.h. */
21968 _ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21972
21973 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21974 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21975 # error "fake wchar_t"
21976 #endif
21977 #ifdef HAVE_WCHAR_H
21978 # ifdef __CYGWIN__
21979 # include <stddef.h>
21980 # endif
21981 # include <wchar.h>
21982 #endif
21983 #ifdef HAVE_STDLIB_H
21984 # include <stdlib.h>
21985 #endif
21986 #include <stdio.h>
21987
21988
21989
21990 typedef wchar_t ac__type_new_;
21991 int
21992 main ()
21993 {
21994 if ((ac__type_new_ *) 0)
21995 return 0;
21996 if (sizeof (ac__type_new_))
21997 return 0;
21998 ;
21999 return 0;
22000 }
22001 _ACEOF
22002 rm -f conftest.$ac_objext
22003 if { (ac_try="$ac_compile"
22004 case "(($ac_try" in
22005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22006 *) ac_try_echo=$ac_try;;
22007 esac
22008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22009 (eval "$ac_compile") 2>conftest.er1
22010 ac_status=$?
22011 grep -v '^ *+' conftest.er1 >conftest.err
22012 rm -f conftest.er1
22013 cat conftest.err >&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } && {
22016 test -z "$ac_c_werror_flag" ||
22017 test ! -s conftest.err
22018 } && test -s conftest.$ac_objext; then
22019 ac_cv_type_wchar_t=yes
22020 else
22021 echo "$as_me: failed program was:" >&5
22022 sed 's/^/| /' conftest.$ac_ext >&5
22023
22024 ac_cv_type_wchar_t=no
22025 fi
22026
22027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22028 fi
22029 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22030 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22031
22032 # The cast to long int works around a bug in the HP C Compiler
22033 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22034 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22035 # This bug is HP SR number 8606223364.
22036 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22037 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22038 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 else
22041 if test "$cross_compiling" = yes; then
22042 # Depending upon the size, compute the lo and hi bounds.
22043 cat >conftest.$ac_ext <<_ACEOF
22044 /* confdefs.h. */
22045 _ACEOF
22046 cat confdefs.h >>conftest.$ac_ext
22047 cat >>conftest.$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049
22050 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22051 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22052 # error "fake wchar_t"
22053 #endif
22054 #ifdef HAVE_WCHAR_H
22055 # ifdef __CYGWIN__
22056 # include <stddef.h>
22057 # endif
22058 # include <wchar.h>
22059 #endif
22060 #ifdef HAVE_STDLIB_H
22061 # include <stdlib.h>
22062 #endif
22063 #include <stdio.h>
22064
22065
22066
22067 typedef wchar_t ac__type_sizeof_;
22068 int
22069 main ()
22070 {
22071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22072 test_array [0] = 0
22073
22074 ;
22075 return 0;
22076 }
22077 _ACEOF
22078 rm -f conftest.$ac_objext
22079 if { (ac_try="$ac_compile"
22080 case "(($ac_try" in
22081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22082 *) ac_try_echo=$ac_try;;
22083 esac
22084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22085 (eval "$ac_compile") 2>conftest.er1
22086 ac_status=$?
22087 grep -v '^ *+' conftest.er1 >conftest.err
22088 rm -f conftest.er1
22089 cat conftest.err >&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); } && {
22092 test -z "$ac_c_werror_flag" ||
22093 test ! -s conftest.err
22094 } && test -s conftest.$ac_objext; then
22095 ac_lo=0 ac_mid=0
22096 while :; do
22097 cat >conftest.$ac_ext <<_ACEOF
22098 /* confdefs.h. */
22099 _ACEOF
22100 cat confdefs.h >>conftest.$ac_ext
22101 cat >>conftest.$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103
22104 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22105 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22106 # error "fake wchar_t"
22107 #endif
22108 #ifdef HAVE_WCHAR_H
22109 # ifdef __CYGWIN__
22110 # include <stddef.h>
22111 # endif
22112 # include <wchar.h>
22113 #endif
22114 #ifdef HAVE_STDLIB_H
22115 # include <stdlib.h>
22116 #endif
22117 #include <stdio.h>
22118
22119
22120
22121 typedef wchar_t ac__type_sizeof_;
22122 int
22123 main ()
22124 {
22125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22126 test_array [0] = 0
22127
22128 ;
22129 return 0;
22130 }
22131 _ACEOF
22132 rm -f conftest.$ac_objext
22133 if { (ac_try="$ac_compile"
22134 case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22137 esac
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_compile") 2>conftest.er1
22140 ac_status=$?
22141 grep -v '^ *+' conftest.er1 >conftest.err
22142 rm -f conftest.er1
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } && {
22146 test -z "$ac_c_werror_flag" ||
22147 test ! -s conftest.err
22148 } && test -s conftest.$ac_objext; then
22149 ac_hi=$ac_mid; break
22150 else
22151 echo "$as_me: failed program was:" >&5
22152 sed 's/^/| /' conftest.$ac_ext >&5
22153
22154 ac_lo=`expr $ac_mid + 1`
22155 if test $ac_lo -le $ac_mid; then
22156 ac_lo= ac_hi=
22157 break
22158 fi
22159 ac_mid=`expr 2 '*' $ac_mid + 1`
22160 fi
22161
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22163 done
22164 else
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.$ac_ext >&5
22167
22168 cat >conftest.$ac_ext <<_ACEOF
22169 /* confdefs.h. */
22170 _ACEOF
22171 cat confdefs.h >>conftest.$ac_ext
22172 cat >>conftest.$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22174
22175 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22176 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22177 # error "fake wchar_t"
22178 #endif
22179 #ifdef HAVE_WCHAR_H
22180 # ifdef __CYGWIN__
22181 # include <stddef.h>
22182 # endif
22183 # include <wchar.h>
22184 #endif
22185 #ifdef HAVE_STDLIB_H
22186 # include <stdlib.h>
22187 #endif
22188 #include <stdio.h>
22189
22190
22191
22192 typedef wchar_t ac__type_sizeof_;
22193 int
22194 main ()
22195 {
22196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22197 test_array [0] = 0
22198
22199 ;
22200 return 0;
22201 }
22202 _ACEOF
22203 rm -f conftest.$ac_objext
22204 if { (ac_try="$ac_compile"
22205 case "(($ac_try" in
22206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22207 *) ac_try_echo=$ac_try;;
22208 esac
22209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22210 (eval "$ac_compile") 2>conftest.er1
22211 ac_status=$?
22212 grep -v '^ *+' conftest.er1 >conftest.err
22213 rm -f conftest.er1
22214 cat conftest.err >&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && {
22217 test -z "$ac_c_werror_flag" ||
22218 test ! -s conftest.err
22219 } && test -s conftest.$ac_objext; then
22220 ac_hi=-1 ac_mid=-1
22221 while :; do
22222 cat >conftest.$ac_ext <<_ACEOF
22223 /* confdefs.h. */
22224 _ACEOF
22225 cat confdefs.h >>conftest.$ac_ext
22226 cat >>conftest.$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22228
22229 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22230 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22231 # error "fake wchar_t"
22232 #endif
22233 #ifdef HAVE_WCHAR_H
22234 # ifdef __CYGWIN__
22235 # include <stddef.h>
22236 # endif
22237 # include <wchar.h>
22238 #endif
22239 #ifdef HAVE_STDLIB_H
22240 # include <stdlib.h>
22241 #endif
22242 #include <stdio.h>
22243
22244
22245
22246 typedef wchar_t ac__type_sizeof_;
22247 int
22248 main ()
22249 {
22250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22251 test_array [0] = 0
22252
22253 ;
22254 return 0;
22255 }
22256 _ACEOF
22257 rm -f conftest.$ac_objext
22258 if { (ac_try="$ac_compile"
22259 case "(($ac_try" in
22260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22261 *) ac_try_echo=$ac_try;;
22262 esac
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_compile") 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } && {
22271 test -z "$ac_c_werror_flag" ||
22272 test ! -s conftest.err
22273 } && test -s conftest.$ac_objext; then
22274 ac_lo=$ac_mid; break
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 ac_hi=`expr '(' $ac_mid ')' - 1`
22280 if test $ac_mid -le $ac_hi; then
22281 ac_lo= ac_hi=
22282 break
22283 fi
22284 ac_mid=`expr 2 '*' $ac_mid`
22285 fi
22286
22287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22288 done
22289 else
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22292
22293 ac_lo= ac_hi=
22294 fi
22295
22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22297 fi
22298
22299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22300 # Binary search between lo and hi bounds.
22301 while test "x$ac_lo" != "x$ac_hi"; do
22302 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22303 cat >conftest.$ac_ext <<_ACEOF
22304 /* confdefs.h. */
22305 _ACEOF
22306 cat confdefs.h >>conftest.$ac_ext
22307 cat >>conftest.$ac_ext <<_ACEOF
22308 /* end confdefs.h. */
22309
22310 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22311 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22312 # error "fake wchar_t"
22313 #endif
22314 #ifdef HAVE_WCHAR_H
22315 # ifdef __CYGWIN__
22316 # include <stddef.h>
22317 # endif
22318 # include <wchar.h>
22319 #endif
22320 #ifdef HAVE_STDLIB_H
22321 # include <stdlib.h>
22322 #endif
22323 #include <stdio.h>
22324
22325
22326
22327 typedef wchar_t ac__type_sizeof_;
22328 int
22329 main ()
22330 {
22331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22332 test_array [0] = 0
22333
22334 ;
22335 return 0;
22336 }
22337 _ACEOF
22338 rm -f conftest.$ac_objext
22339 if { (ac_try="$ac_compile"
22340 case "(($ac_try" in
22341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22342 *) ac_try_echo=$ac_try;;
22343 esac
22344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22345 (eval "$ac_compile") 2>conftest.er1
22346 ac_status=$?
22347 grep -v '^ *+' conftest.er1 >conftest.err
22348 rm -f conftest.er1
22349 cat conftest.err >&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } && {
22352 test -z "$ac_c_werror_flag" ||
22353 test ! -s conftest.err
22354 } && test -s conftest.$ac_objext; then
22355 ac_hi=$ac_mid
22356 else
22357 echo "$as_me: failed program was:" >&5
22358 sed 's/^/| /' conftest.$ac_ext >&5
22359
22360 ac_lo=`expr '(' $ac_mid ')' + 1`
22361 fi
22362
22363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22364 done
22365 case $ac_lo in
22366 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22367 '') if test "$ac_cv_type_wchar_t" = yes; then
22368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22369 See \`config.log' for more details." >&5
22370 echo "$as_me: error: cannot compute sizeof (wchar_t)
22371 See \`config.log' for more details." >&2;}
22372 { (exit 77); exit 77; }; }
22373 else
22374 ac_cv_sizeof_wchar_t=0
22375 fi ;;
22376 esac
22377 else
22378 cat >conftest.$ac_ext <<_ACEOF
22379 /* confdefs.h. */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384
22385 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22386 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22387 # error "fake wchar_t"
22388 #endif
22389 #ifdef HAVE_WCHAR_H
22390 # ifdef __CYGWIN__
22391 # include <stddef.h>
22392 # endif
22393 # include <wchar.h>
22394 #endif
22395 #ifdef HAVE_STDLIB_H
22396 # include <stdlib.h>
22397 #endif
22398 #include <stdio.h>
22399
22400
22401
22402 typedef wchar_t ac__type_sizeof_;
22403 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22404 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22405 #include <stdio.h>
22406 #include <stdlib.h>
22407 int
22408 main ()
22409 {
22410
22411 FILE *f = fopen ("conftest.val", "w");
22412 if (! f)
22413 return 1;
22414 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22415 {
22416 long int i = longval ();
22417 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22418 return 1;
22419 fprintf (f, "%ld\n", i);
22420 }
22421 else
22422 {
22423 unsigned long int i = ulongval ();
22424 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22425 return 1;
22426 fprintf (f, "%lu\n", i);
22427 }
22428 return ferror (f) || fclose (f) != 0;
22429
22430 ;
22431 return 0;
22432 }
22433 _ACEOF
22434 rm -f conftest$ac_exeext
22435 if { (ac_try="$ac_link"
22436 case "(($ac_try" in
22437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22438 *) ac_try_echo=$ac_try;;
22439 esac
22440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22441 (eval "$ac_link") 2>&5
22442 ac_status=$?
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22445 { (case "(($ac_try" in
22446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22447 *) ac_try_echo=$ac_try;;
22448 esac
22449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22450 (eval "$ac_try") 2>&5
22451 ac_status=$?
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); }; }; then
22454 ac_cv_sizeof_wchar_t=`cat conftest.val`
22455 else
22456 echo "$as_me: program exited with status $ac_status" >&5
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.$ac_ext >&5
22459
22460 ( exit $ac_status )
22461 if test "$ac_cv_type_wchar_t" = yes; then
22462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22463 See \`config.log' for more details." >&5
22464 echo "$as_me: error: cannot compute sizeof (wchar_t)
22465 See \`config.log' for more details." >&2;}
22466 { (exit 77); exit 77; }; }
22467 else
22468 ac_cv_sizeof_wchar_t=0
22469 fi
22470 fi
22471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22472 fi
22473 rm -f conftest.val
22474 fi
22475 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22476 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22477
22478
22479
22480 cat >>confdefs.h <<_ACEOF
22481 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22482 _ACEOF
22483
22484
22485 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22486 wxUSE_WCHAR_T=yes
22487 else
22488 wxUSE_WCHAR_T=no
22489 fi
22490
22491 { echo "$as_me:$LINENO: checking for va_copy" >&5
22492 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22493 if test "${wx_cv_func_va_copy+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22495 else
22496
22497 ac_ext=cpp
22498 ac_cpp='$CXXCPP $CPPFLAGS'
22499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22502
22503 cat >conftest.$ac_ext <<_ACEOF
22504
22505 #include <stdarg.h>
22506 void foo(char *f, ...)
22507 {
22508 va_list ap1, ap2;
22509 va_start(ap1, f);
22510 va_copy(ap2, ap1);
22511 va_end(ap2);
22512 va_end(ap1);
22513 }
22514 int main()
22515 {
22516 foo("hi", 17);
22517 return 0;
22518 }
22519 _ACEOF
22520 rm -f conftest.$ac_objext conftest$ac_exeext
22521 if { (ac_try="$ac_link"
22522 case "(($ac_try" in
22523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22525 esac
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_link") 2>conftest.er1
22528 ac_status=$?
22529 grep -v '^ *+' conftest.er1 >conftest.err
22530 rm -f conftest.er1
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } && {
22534 test -z "$ac_cxx_werror_flag" ||
22535 test ! -s conftest.err
22536 } && test -s conftest$ac_exeext &&
22537 $as_test_x conftest$ac_exeext; then
22538 wx_cv_func_va_copy=yes
22539 else
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.$ac_ext >&5
22542
22543 wx_cv_func_va_copy=no
22544
22545 fi
22546
22547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22548 conftest$ac_exeext conftest.$ac_ext
22549 ac_ext=c
22550 ac_cpp='$CPP $CPPFLAGS'
22551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22554
22555
22556
22557 fi
22558 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22559 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22560
22561 if test $wx_cv_func_va_copy = "yes"; then
22562 cat >>confdefs.h <<\_ACEOF
22563 #define HAVE_VA_COPY 1
22564 _ACEOF
22565
22566 else
22567 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22568 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22569 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 else
22572
22573 if test "$cross_compiling" = yes; then
22574 wx_cv_type_va_list_lvalue=yes
22575
22576 else
22577 cat >conftest.$ac_ext <<_ACEOF
22578
22579 #include <stdarg.h>
22580 int foo(char *f, ...)
22581 {
22582 va_list ap1, ap2;
22583 va_start(ap1, f);
22584 ap2 = ap1;
22585 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22586 return 1;
22587 va_end(ap2);
22588 va_end(ap1);
22589 return 0;
22590 }
22591 int main()
22592 {
22593 return foo("hi", 17);
22594 }
22595 _ACEOF
22596 rm -f conftest$ac_exeext
22597 if { (ac_try="$ac_link"
22598 case "(($ac_try" in
22599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22601 esac
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_link") 2>&5
22604 ac_status=$?
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22607 { (case "(($ac_try" in
22608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22609 *) ac_try_echo=$ac_try;;
22610 esac
22611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22612 (eval "$ac_try") 2>&5
22613 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then
22616 wx_cv_type_va_list_lvalue=yes
22617 else
22618 echo "$as_me: program exited with status $ac_status" >&5
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22621
22622 ( exit $ac_status )
22623 wx_cv_type_va_list_lvalue=no
22624 fi
22625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22626 fi
22627
22628
22629
22630
22631 fi
22632 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22633 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22634
22635 if test $wx_cv_type_va_list_lvalue != "yes"; then
22636 cat >>confdefs.h <<\_ACEOF
22637 #define VA_LIST_IS_ARRAY 1
22638 _ACEOF
22639
22640 fi
22641 fi
22642
22643 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22644
22645 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22646 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22647 if test "${wx_cv_have_variadic_macros+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22650
22651 ac_ext=cpp
22652 ac_cpp='$CXXCPP $CPPFLAGS'
22653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22656
22657 cat >conftest.$ac_ext <<_ACEOF
22658 /* confdefs.h. */
22659 _ACEOF
22660 cat confdefs.h >>conftest.$ac_ext
22661 cat >>conftest.$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22663
22664 #include <stdio.h>
22665 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22666
22667 int
22668 main ()
22669 {
22670
22671 test("%s %d %p", "test", 1, 0);
22672
22673
22674 ;
22675 return 0;
22676 }
22677 _ACEOF
22678 rm -f conftest.$ac_objext
22679 if { (ac_try="$ac_compile"
22680 case "(($ac_try" in
22681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22682 *) ac_try_echo=$ac_try;;
22683 esac
22684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22685 (eval "$ac_compile") 2>conftest.er1
22686 ac_status=$?
22687 grep -v '^ *+' conftest.er1 >conftest.err
22688 rm -f conftest.er1
22689 cat conftest.err >&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); } && {
22692 test -z "$ac_cxx_werror_flag" ||
22693 test ! -s conftest.err
22694 } && test -s conftest.$ac_objext; then
22695 wx_cv_have_variadic_macros=yes
22696 else
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.$ac_ext >&5
22699
22700 wx_cv_have_variadic_macros=no
22701
22702 fi
22703
22704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22705 ac_ext=c
22706 ac_cpp='$CPP $CPPFLAGS'
22707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22710
22711
22712
22713 fi
22714 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22715 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22716
22717 if test $wx_cv_have_variadic_macros = "yes"; then
22718 cat >>confdefs.h <<\_ACEOF
22719 #define HAVE_VARIADIC_MACROS 1
22720 _ACEOF
22721
22722 fi
22723
22724 fi
22725 # Check whether --enable-largefile was given.
22726 if test "${enable_largefile+set}" = set; then
22727 enableval=$enable_largefile;
22728 fi
22729
22730 if test "$enable_largefile" != no; then
22731 wx_largefile=no
22732
22733 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22734 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22735 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22736 echo $ECHO_N "(cached) $ECHO_C" >&6
22737 else
22738
22739 cat >conftest.$ac_ext <<_ACEOF
22740 /* confdefs.h. */
22741 _ACEOF
22742 cat confdefs.h >>conftest.$ac_ext
22743 cat >>conftest.$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22745 #define _FILE_OFFSET_BITS 64
22746 #include <sys/types.h>
22747 int
22748 main ()
22749 {
22750 typedef struct {
22751 unsigned int field: sizeof(off_t) == 8;
22752 } wxlf;
22753
22754 ;
22755 return 0;
22756 }
22757 _ACEOF
22758 rm -f conftest.$ac_objext
22759 if { (ac_try="$ac_compile"
22760 case "(($ac_try" in
22761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22762 *) ac_try_echo=$ac_try;;
22763 esac
22764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22765 (eval "$ac_compile") 2>conftest.er1
22766 ac_status=$?
22767 grep -v '^ *+' conftest.er1 >conftest.err
22768 rm -f conftest.er1
22769 cat conftest.err >&5
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); } && {
22772 test -z "$ac_c_werror_flag" ||
22773 test ! -s conftest.err
22774 } && test -s conftest.$ac_objext; then
22775 ac_cv_sys_file_offset_bits=64
22776 else
22777 echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.$ac_ext >&5
22779
22780 ac_cv_sys_file_offset_bits=no
22781 fi
22782
22783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22784
22785
22786 fi
22787 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22788 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22789
22790 if test "$ac_cv_sys_file_offset_bits" != no; then
22791 wx_largefile=yes
22792 cat >>confdefs.h <<_ACEOF
22793 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22794 _ACEOF
22795
22796 fi
22797
22798 if test "x$wx_largefile" != "xyes"; then
22799
22800 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22801 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22802 if test "${ac_cv_sys_large_files+set}" = set; then
22803 echo $ECHO_N "(cached) $ECHO_C" >&6
22804 else
22805
22806 cat >conftest.$ac_ext <<_ACEOF
22807 /* confdefs.h. */
22808 _ACEOF
22809 cat confdefs.h >>conftest.$ac_ext
22810 cat >>conftest.$ac_ext <<_ACEOF
22811 /* end confdefs.h. */
22812 #define _LARGE_FILES 1
22813 #include <sys/types.h>
22814 int
22815 main ()
22816 {
22817 typedef struct {
22818 unsigned int field: sizeof(off_t) == 8;
22819 } wxlf;
22820
22821 ;
22822 return 0;
22823 }
22824 _ACEOF
22825 rm -f conftest.$ac_objext
22826 if { (ac_try="$ac_compile"
22827 case "(($ac_try" in
22828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22829 *) ac_try_echo=$ac_try;;
22830 esac
22831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22832 (eval "$ac_compile") 2>conftest.er1
22833 ac_status=$?
22834 grep -v '^ *+' conftest.er1 >conftest.err
22835 rm -f conftest.er1
22836 cat conftest.err >&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } && {
22839 test -z "$ac_c_werror_flag" ||
22840 test ! -s conftest.err
22841 } && test -s conftest.$ac_objext; then
22842 ac_cv_sys_large_files=1
22843 else
22844 echo "$as_me: failed program was:" >&5
22845 sed 's/^/| /' conftest.$ac_ext >&5
22846
22847 ac_cv_sys_large_files=no
22848 fi
22849
22850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22851
22852
22853 fi
22854 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22855 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22856
22857 if test "$ac_cv_sys_large_files" != no; then
22858 wx_largefile=yes
22859 cat >>confdefs.h <<_ACEOF
22860 #define _LARGE_FILES $ac_cv_sys_large_files
22861 _ACEOF
22862
22863 fi
22864
22865 fi
22866
22867 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22868 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22869 if test "x$wx_largefile" = "xyes"; then
22870 cat >>confdefs.h <<\_ACEOF
22871 #define HAVE_LARGEFILE_SUPPORT 1
22872 _ACEOF
22873
22874 fi
22875 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22876 echo "${ECHO_T}$wx_largefile" >&6; }
22877 fi
22878
22879
22880 if test "x$wx_largefile" = "xyes"; then
22881 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22882 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22883
22884 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22885 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22886 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22887 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22888 echo $ECHO_N "(cached) $ECHO_C" >&6
22889 else
22890
22891 ac_ext=cpp
22892 ac_cpp='$CXXCPP $CPPFLAGS'
22893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22896
22897 cat >conftest.$ac_ext <<_ACEOF
22898 /* confdefs.h. */
22899 _ACEOF
22900 cat confdefs.h >>conftest.$ac_ext
22901 cat >>conftest.$ac_ext <<_ACEOF
22902 /* end confdefs.h. */
22903
22904 int
22905 main ()
22906 {
22907
22908 #ifndef __STDC_EXT__
22909 choke me
22910 #endif
22911
22912 ;
22913 return 0;
22914 }
22915 _ACEOF
22916 rm -f conftest.$ac_objext
22917 if { (ac_try="$ac_compile"
22918 case "(($ac_try" in
22919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22920 *) ac_try_echo=$ac_try;;
22921 esac
22922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22923 (eval "$ac_compile") 2>conftest.er1
22924 ac_status=$?
22925 grep -v '^ *+' conftest.er1 >conftest.err
22926 rm -f conftest.er1
22927 cat conftest.err >&5
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); } && {
22930 test -z "$ac_cxx_werror_flag" ||
22931 test ! -s conftest.err
22932 } && test -s conftest.$ac_objext; then
22933 wx_cv_STDC_EXT_required=no
22934 else
22935 echo "$as_me: failed program was:" >&5
22936 sed 's/^/| /' conftest.$ac_ext >&5
22937
22938 wx_cv_STDC_EXT_required=yes
22939
22940 fi
22941
22942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22943 ac_ext=c
22944 ac_cpp='$CPP $CPPFLAGS'
22945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22948
22949
22950
22951 fi
22952 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22953 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22954 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22955 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22956 fi
22957 fi
22958 else
22959 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22960 fi
22961 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22962 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22963 if test "${ac_cv_sys_largefile_source+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22965 else
22966 while :; do
22967 cat >conftest.$ac_ext <<_ACEOF
22968 /* confdefs.h. */
22969 _ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973 #include <stdio.h>
22974 int
22975 main ()
22976 {
22977 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22978 ;
22979 return 0;
22980 }
22981 _ACEOF
22982 rm -f conftest.$ac_objext conftest$ac_exeext
22983 if { (ac_try="$ac_link"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22987 esac
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_link") 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_c_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest$ac_exeext &&
22999 $as_test_x conftest$ac_exeext; then
23000 ac_cv_sys_largefile_source=no; break
23001 else
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.$ac_ext >&5
23004
23005
23006 fi
23007
23008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23009 conftest$ac_exeext conftest.$ac_ext
23010 cat >conftest.$ac_ext <<_ACEOF
23011 /* confdefs.h. */
23012 _ACEOF
23013 cat confdefs.h >>conftest.$ac_ext
23014 cat >>conftest.$ac_ext <<_ACEOF
23015 /* end confdefs.h. */
23016 #define _LARGEFILE_SOURCE 1
23017 #include <stdio.h>
23018 int
23019 main ()
23020 {
23021 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
23022 ;
23023 return 0;
23024 }
23025 _ACEOF
23026 rm -f conftest.$ac_objext conftest$ac_exeext
23027 if { (ac_try="$ac_link"
23028 case "(($ac_try" in
23029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23030 *) ac_try_echo=$ac_try;;
23031 esac
23032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23033 (eval "$ac_link") 2>conftest.er1
23034 ac_status=$?
23035 grep -v '^ *+' conftest.er1 >conftest.err
23036 rm -f conftest.er1
23037 cat conftest.err >&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); } && {
23040 test -z "$ac_c_werror_flag" ||
23041 test ! -s conftest.err
23042 } && test -s conftest$ac_exeext &&
23043 $as_test_x conftest$ac_exeext; then
23044 ac_cv_sys_largefile_source=1; break
23045 else
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.$ac_ext >&5
23048
23049
23050 fi
23051
23052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23053 conftest$ac_exeext conftest.$ac_ext
23054 ac_cv_sys_largefile_source=unknown
23055 break
23056 done
23057 fi
23058 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23059 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23060 case $ac_cv_sys_largefile_source in #(
23061 no | unknown) ;;
23062 *)
23063 cat >>confdefs.h <<_ACEOF
23064 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23065 _ACEOF
23066 ;;
23067 esac
23068 rm -f conftest*
23069
23070 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23071 # in glibc 2.1.3, but that breaks too many other things.
23072 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23073 if test $ac_cv_sys_largefile_source != unknown; then
23074
23075 cat >>confdefs.h <<\_ACEOF
23076 #define HAVE_FSEEKO 1
23077 _ACEOF
23078
23079 fi
23080
23081 if test "$ac_cv_sys_largefile_source" != no; then
23082 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23083 fi
23084 fi
23085
23086 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23087 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23088 if test "${ac_cv_c_bigendian+set}" = set; then
23089 echo $ECHO_N "(cached) $ECHO_C" >&6
23090 else
23091 ac_cv_c_bigendian=unknown
23092 # See if sys/param.h defines the BYTE_ORDER macro.
23093 cat >conftest.$ac_ext <<_ACEOF
23094 /* confdefs.h. */
23095 _ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 #include <sys/types.h>
23100 #include <sys/param.h>
23101 int
23102 main ()
23103 {
23104
23105 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23106 bogus endian macros
23107 #endif
23108 ;
23109 return 0;
23110 }
23111 _ACEOF
23112 rm -f conftest.$ac_objext
23113 if { (ac_try="$ac_compile"
23114 case "(($ac_try" in
23115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23116 *) ac_try_echo=$ac_try;;
23117 esac
23118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23119 (eval "$ac_compile") 2>conftest.er1
23120 ac_status=$?
23121 grep -v '^ *+' conftest.er1 >conftest.err
23122 rm -f conftest.er1
23123 cat conftest.err >&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } && {
23126 test -z "$ac_c_werror_flag" ||
23127 test ! -s conftest.err
23128 } && test -s conftest.$ac_objext; then
23129 # It does; now see whether it defined to BIG_ENDIAN or not.
23130 cat >conftest.$ac_ext <<_ACEOF
23131 /* confdefs.h. */
23132 _ACEOF
23133 cat confdefs.h >>conftest.$ac_ext
23134 cat >>conftest.$ac_ext <<_ACEOF
23135 /* end confdefs.h. */
23136 #include <sys/types.h>
23137 #include <sys/param.h>
23138 int
23139 main ()
23140 {
23141
23142 #if BYTE_ORDER != BIG_ENDIAN
23143 not big endian
23144 #endif
23145 ;
23146 return 0;
23147 }
23148 _ACEOF
23149 rm -f conftest.$ac_objext
23150 if { (ac_try="$ac_compile"
23151 case "(($ac_try" in
23152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23153 *) ac_try_echo=$ac_try;;
23154 esac
23155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23156 (eval "$ac_compile") 2>conftest.er1
23157 ac_status=$?
23158 grep -v '^ *+' conftest.er1 >conftest.err
23159 rm -f conftest.er1
23160 cat conftest.err >&5
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); } && {
23163 test -z "$ac_c_werror_flag" ||
23164 test ! -s conftest.err
23165 } && test -s conftest.$ac_objext; then
23166 ac_cv_c_bigendian=yes
23167 else
23168 echo "$as_me: failed program was:" >&5
23169 sed 's/^/| /' conftest.$ac_ext >&5
23170
23171 ac_cv_c_bigendian=no
23172 fi
23173
23174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 else
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.$ac_ext >&5
23178
23179
23180 fi
23181
23182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23183 if test $ac_cv_c_bigendian = unknown; then
23184 if test "$cross_compiling" = yes; then
23185 ac_cv_c_bigendian=unknown
23186 else
23187 cat >conftest.$ac_ext <<_ACEOF
23188 /* confdefs.h. */
23189 _ACEOF
23190 cat confdefs.h >>conftest.$ac_ext
23191 cat >>conftest.$ac_ext <<_ACEOF
23192 /* end confdefs.h. */
23193 main () {
23194 /* Are we little or big endian? From Harbison&Steele. */
23195 union
23196 {
23197 long l;
23198 char c[sizeof (long)];
23199 } u;
23200 u.l = 1;
23201 exit (u.c[sizeof (long) - 1] == 1);
23202 }
23203 _ACEOF
23204 rm -f conftest$ac_exeext
23205 if { (ac_try="$ac_link"
23206 case "(($ac_try" in
23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23208 *) ac_try_echo=$ac_try;;
23209 esac
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211 (eval "$ac_link") 2>&5
23212 ac_status=$?
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23215 { (case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218 esac
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_try") 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; }; then
23224 ac_cv_c_bigendian=no
23225 else
23226 echo "$as_me: program exited with status $ac_status" >&5
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23229
23230 ( exit $ac_status )
23231 ac_cv_c_bigendian=yes
23232 fi
23233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23234 fi
23235
23236
23237 fi
23238 fi
23239 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23240 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23241 if test $ac_cv_c_bigendian = unknown; then
23242 { 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
23243 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;}
23244 fi
23245 if test $ac_cv_c_bigendian = yes; then
23246 cat >>confdefs.h <<\_ACEOF
23247 #define WORDS_BIGENDIAN 1
23248 _ACEOF
23249
23250 fi
23251
23252
23253
23254
23255 ac_ext=cpp
23256 ac_cpp='$CXXCPP $CPPFLAGS'
23257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23260
23261
23262 { echo "$as_me:$LINENO: checking for iostream" >&5
23263 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
23264 if test "${ac_cv_header_iostream+set}" = set; then
23265 echo $ECHO_N "(cached) $ECHO_C" >&6
23266 else
23267 cat >conftest.$ac_ext <<_ACEOF
23268 /* confdefs.h. */
23269 _ACEOF
23270 cat confdefs.h >>conftest.$ac_ext
23271 cat >>conftest.$ac_ext <<_ACEOF
23272 /* end confdefs.h. */
23273
23274
23275 #include <iostream>
23276 _ACEOF
23277 rm -f conftest.$ac_objext
23278 if { (ac_try="$ac_compile"
23279 case "(($ac_try" in
23280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23281 *) ac_try_echo=$ac_try;;
23282 esac
23283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23284 (eval "$ac_compile") 2>conftest.er1
23285 ac_status=$?
23286 grep -v '^ *+' conftest.er1 >conftest.err
23287 rm -f conftest.er1
23288 cat conftest.err >&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); } && {
23291 test -z "$ac_cxx_werror_flag" ||
23292 test ! -s conftest.err
23293 } && test -s conftest.$ac_objext; then
23294 ac_cv_header_iostream=yes
23295 else
23296 echo "$as_me: failed program was:" >&5
23297 sed 's/^/| /' conftest.$ac_ext >&5
23298
23299 ac_cv_header_iostream=no
23300 fi
23301
23302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23303 fi
23304 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23305 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23306
23307
23308
23309 if test "$ac_cv_header_iostream" = "yes" ; then
23310 :
23311 else
23312 cat >>confdefs.h <<\_ACEOF
23313 #define wxUSE_IOSTREAMH 1
23314 _ACEOF
23315
23316 fi
23317
23318 ac_ext=c
23319 ac_cpp='$CPP $CPPFLAGS'
23320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23323
23324
23325
23326
23327 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23328 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23329 if test "${wx_cv_cpp_bool+set}" = set; then
23330 echo $ECHO_N "(cached) $ECHO_C" >&6
23331 else
23332
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
23341 cat >conftest.$ac_ext <<_ACEOF
23342 /* confdefs.h. */
23343 _ACEOF
23344 cat confdefs.h >>conftest.$ac_ext
23345 cat >>conftest.$ac_ext <<_ACEOF
23346 /* end confdefs.h. */
23347
23348
23349 int
23350 main ()
23351 {
23352
23353 bool b = true;
23354
23355 return 0;
23356
23357 ;
23358 return 0;
23359 }
23360 _ACEOF
23361 rm -f conftest.$ac_objext
23362 if { (ac_try="$ac_compile"
23363 case "(($ac_try" in
23364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23365 *) ac_try_echo=$ac_try;;
23366 esac
23367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23368 (eval "$ac_compile") 2>conftest.er1
23369 ac_status=$?
23370 grep -v '^ *+' conftest.er1 >conftest.err
23371 rm -f conftest.er1
23372 cat conftest.err >&5
23373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23374 (exit $ac_status); } && {
23375 test -z "$ac_cxx_werror_flag" ||
23376 test ! -s conftest.err
23377 } && test -s conftest.$ac_objext; then
23378
23379 wx_cv_cpp_bool=yes
23380
23381 else
23382 echo "$as_me: failed program was:" >&5
23383 sed 's/^/| /' conftest.$ac_ext >&5
23384
23385
23386 wx_cv_cpp_bool=no
23387
23388
23389 fi
23390
23391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23392
23393 ac_ext=c
23394 ac_cpp='$CPP $CPPFLAGS'
23395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23398
23399
23400 fi
23401 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23402 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23403
23404 if test "$wx_cv_cpp_bool" = "yes"; then
23405 cat >>confdefs.h <<\_ACEOF
23406 #define HAVE_BOOL 1
23407 _ACEOF
23408
23409 fi
23410
23411
23412
23413 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23414 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23415 if test "${wx_cv_explicit+set}" = set; then
23416 echo $ECHO_N "(cached) $ECHO_C" >&6
23417 else
23418
23419
23420 ac_ext=cpp
23421 ac_cpp='$CXXCPP $CPPFLAGS'
23422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23425
23426
23427 cat >conftest.$ac_ext <<_ACEOF
23428 /* confdefs.h. */
23429 _ACEOF
23430 cat confdefs.h >>conftest.$ac_ext
23431 cat >>conftest.$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23433
23434 class Foo { public: explicit Foo(int) {} };
23435
23436 int
23437 main ()
23438 {
23439
23440 return 0;
23441
23442 ;
23443 return 0;
23444 }
23445 _ACEOF
23446 rm -f conftest.$ac_objext
23447 if { (ac_try="$ac_compile"
23448 case "(($ac_try" in
23449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23450 *) ac_try_echo=$ac_try;;
23451 esac
23452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23453 (eval "$ac_compile") 2>conftest.er1
23454 ac_status=$?
23455 grep -v '^ *+' conftest.er1 >conftest.err
23456 rm -f conftest.er1
23457 cat conftest.err >&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } && {
23460 test -z "$ac_cxx_werror_flag" ||
23461 test ! -s conftest.err
23462 } && test -s conftest.$ac_objext; then
23463
23464 cat >conftest.$ac_ext <<_ACEOF
23465 /* confdefs.h. */
23466 _ACEOF
23467 cat confdefs.h >>conftest.$ac_ext
23468 cat >>conftest.$ac_ext <<_ACEOF
23469 /* end confdefs.h. */
23470
23471 class Foo { public: explicit Foo(int) {} };
23472 static void TakeFoo(const Foo& foo) { }
23473
23474 int
23475 main ()
23476 {
23477
23478 TakeFoo(17);
23479 return 0;
23480
23481 ;
23482 return 0;
23483 }
23484 _ACEOF
23485 rm -f conftest.$ac_objext
23486 if { (ac_try="$ac_compile"
23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23490 esac
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_compile") 2>conftest.er1
23493 ac_status=$?
23494 grep -v '^ *+' conftest.er1 >conftest.err
23495 rm -f conftest.er1
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } && {
23499 test -z "$ac_cxx_werror_flag" ||
23500 test ! -s conftest.err
23501 } && test -s conftest.$ac_objext; then
23502 wx_cv_explicit=no
23503 else
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.$ac_ext >&5
23506
23507 wx_cv_explicit=yes
23508
23509 fi
23510
23511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23512
23513 else
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.$ac_ext >&5
23516
23517 wx_cv_explicit=no
23518
23519 fi
23520
23521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23522
23523 ac_ext=c
23524 ac_cpp='$CPP $CPPFLAGS'
23525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23528
23529
23530 fi
23531 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23532 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23533
23534 if test "$wx_cv_explicit" = "yes"; then
23535 cat >>confdefs.h <<\_ACEOF
23536 #define HAVE_EXPLICIT 1
23537 _ACEOF
23538
23539 fi
23540
23541
23542 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23543 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23544 if test "${ac_cv_cxx_const_cast+set}" = set; then
23545 echo $ECHO_N "(cached) $ECHO_C" >&6
23546 else
23547
23548 ac_ext=cpp
23549 ac_cpp='$CXXCPP $CPPFLAGS'
23550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23553
23554 cat >conftest.$ac_ext <<_ACEOF
23555 /* confdefs.h. */
23556 _ACEOF
23557 cat confdefs.h >>conftest.$ac_ext
23558 cat >>conftest.$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560
23561 int
23562 main ()
23563 {
23564 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23565 ;
23566 return 0;
23567 }
23568 _ACEOF
23569 rm -f conftest.$ac_objext
23570 if { (ac_try="$ac_compile"
23571 case "(($ac_try" in
23572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23573 *) ac_try_echo=$ac_try;;
23574 esac
23575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23576 (eval "$ac_compile") 2>conftest.er1
23577 ac_status=$?
23578 grep -v '^ *+' conftest.er1 >conftest.err
23579 rm -f conftest.er1
23580 cat conftest.err >&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } && {
23583 test -z "$ac_cxx_werror_flag" ||
23584 test ! -s conftest.err
23585 } && test -s conftest.$ac_objext; then
23586 ac_cv_cxx_const_cast=yes
23587 else
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23590
23591 ac_cv_cxx_const_cast=no
23592 fi
23593
23594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23595 ac_ext=c
23596 ac_cpp='$CPP $CPPFLAGS'
23597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23600
23601
23602 fi
23603 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23604 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23605 if test "$ac_cv_cxx_const_cast" = yes; then
23606
23607 cat >>confdefs.h <<\_ACEOF
23608 #define HAVE_CONST_CAST
23609 _ACEOF
23610
23611 fi
23612
23613 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23614 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23615 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23616 echo $ECHO_N "(cached) $ECHO_C" >&6
23617 else
23618
23619 ac_ext=cpp
23620 ac_cpp='$CXXCPP $CPPFLAGS'
23621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23624
23625 cat >conftest.$ac_ext <<_ACEOF
23626 /* confdefs.h. */
23627 _ACEOF
23628 cat confdefs.h >>conftest.$ac_ext
23629 cat >>conftest.$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23631 #include <typeinfo>
23632 class Base { public : Base () {} virtual void f () = 0;};
23633 class Derived : public Base { public : Derived () {} virtual void f () {} };
23634 class Unrelated { public : Unrelated () {} };
23635 int g (Unrelated&) { return 0; }
23636 int
23637 main ()
23638 {
23639
23640 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23641 ;
23642 return 0;
23643 }
23644 _ACEOF
23645 rm -f conftest.$ac_objext
23646 if { (ac_try="$ac_compile"
23647 case "(($ac_try" in
23648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23649 *) ac_try_echo=$ac_try;;
23650 esac
23651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23652 (eval "$ac_compile") 2>conftest.er1
23653 ac_status=$?
23654 grep -v '^ *+' conftest.er1 >conftest.err
23655 rm -f conftest.er1
23656 cat conftest.err >&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } && {
23659 test -z "$ac_cxx_werror_flag" ||
23660 test ! -s conftest.err
23661 } && test -s conftest.$ac_objext; then
23662 ac_cv_cxx_reinterpret_cast=yes
23663 else
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.$ac_ext >&5
23666
23667 ac_cv_cxx_reinterpret_cast=no
23668 fi
23669
23670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23671 ac_ext=c
23672 ac_cpp='$CPP $CPPFLAGS'
23673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23676
23677
23678 fi
23679 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23680 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23681 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23682
23683 cat >>confdefs.h <<\_ACEOF
23684 #define HAVE_REINTERPRET_CAST
23685 _ACEOF
23686
23687 fi
23688
23689 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23690 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23691 if test "${ac_cv_cxx_static_cast+set}" = set; then
23692 echo $ECHO_N "(cached) $ECHO_C" >&6
23693 else
23694
23695 ac_ext=cpp
23696 ac_cpp='$CXXCPP $CPPFLAGS'
23697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23700
23701 cat >conftest.$ac_ext <<_ACEOF
23702 /* confdefs.h. */
23703 _ACEOF
23704 cat confdefs.h >>conftest.$ac_ext
23705 cat >>conftest.$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23707 #include <typeinfo>
23708 class Base { public : Base () {} virtual void f () = 0; };
23709 class Derived : public Base { public : Derived () {} virtual void f () {} };
23710 int g (Derived&) { return 0; }
23711 int
23712 main ()
23713 {
23714
23715 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23716 ;
23717 return 0;
23718 }
23719 _ACEOF
23720 rm -f conftest.$ac_objext
23721 if { (ac_try="$ac_compile"
23722 case "(($ac_try" in
23723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23724 *) ac_try_echo=$ac_try;;
23725 esac
23726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23727 (eval "$ac_compile") 2>conftest.er1
23728 ac_status=$?
23729 grep -v '^ *+' conftest.er1 >conftest.err
23730 rm -f conftest.er1
23731 cat conftest.err >&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); } && {
23734 test -z "$ac_cxx_werror_flag" ||
23735 test ! -s conftest.err
23736 } && test -s conftest.$ac_objext; then
23737 ac_cv_cxx_static_cast=yes
23738 else
23739 echo "$as_me: failed program was:" >&5
23740 sed 's/^/| /' conftest.$ac_ext >&5
23741
23742 ac_cv_cxx_static_cast=no
23743 fi
23744
23745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23746 ac_ext=c
23747 ac_cpp='$CPP $CPPFLAGS'
23748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23751
23752
23753 fi
23754 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23755 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23756 if test "$ac_cv_cxx_static_cast" = yes; then
23757
23758 cat >>confdefs.h <<\_ACEOF
23759 #define HAVE_STATIC_CAST
23760 _ACEOF
23761
23762 fi
23763
23764
23765 if test "x$SUNCXX" = xyes; then
23766 CXXFLAGS="-features=tmplife $CXXFLAGS"
23767 fi
23768
23769 if test "x$SUNCC" = xyes; then
23770 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23771 fi
23772
23773 if test "x$SGICC" = "xyes"; then
23774 CFLAGS="-woff 3970 $CFLAGS"
23775 fi
23776 if test "x$SGICXX" = "xyes"; then
23777 CXXFLAGS="-woff 3970 $CXXFLAGS"
23778 fi
23779
23780 if test "x$HPCC" = "xyes"; then
23781 CFLAGS="+W 2011,2450 $CFLAGS"
23782 fi
23783 if test "x$HPCXX" = "xyes"; then
23784 CXXFLAGS="+W 2340 $CXXFLAGS"
23785 fi
23786
23787 if test "x$COMPAQCXX" = "xyes"; then
23788 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23789 fi
23790
23791 ac_ext=cpp
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796
23797
23798 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23799 if test "$wxUSE_UNICODE" = "yes"; then
23800 std_string="std::wstring"
23801 char_type="wchar_t"
23802 else
23803 std_string="std::string"
23804 char_type="char"
23805 fi
23806
23807 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23808 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23809 if test "${wx_cv_class_stdstring+set}" = set; then
23810 echo $ECHO_N "(cached) $ECHO_C" >&6
23811 else
23812
23813 cat >conftest.$ac_ext <<_ACEOF
23814 /* confdefs.h. */
23815 _ACEOF
23816 cat confdefs.h >>conftest.$ac_ext
23817 cat >>conftest.$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23819 #include <string>
23820 int
23821 main ()
23822 {
23823 $std_string foo;
23824 ;
23825 return 0;
23826 }
23827 _ACEOF
23828 rm -f conftest.$ac_objext
23829 if { (ac_try="$ac_compile"
23830 case "(($ac_try" in
23831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23832 *) ac_try_echo=$ac_try;;
23833 esac
23834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23835 (eval "$ac_compile") 2>conftest.er1
23836 ac_status=$?
23837 grep -v '^ *+' conftest.er1 >conftest.err
23838 rm -f conftest.er1
23839 cat conftest.err >&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } && {
23842 test -z "$ac_cxx_werror_flag" ||
23843 test ! -s conftest.err
23844 } && test -s conftest.$ac_objext; then
23845 wx_cv_class_stdstring=yes
23846 else
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.$ac_ext >&5
23849
23850 wx_cv_class_stdstring=no
23851
23852 fi
23853
23854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855
23856
23857 fi
23858 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23859 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23860
23861 if test "$wx_cv_class_stdstring" = yes; then
23862 if test "$wxUSE_UNICODE" = "yes"; then
23863 cat >>confdefs.h <<\_ACEOF
23864 #define HAVE_STD_WSTRING 1
23865 _ACEOF
23866
23867 fi
23868 else
23869 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23870 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23871 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23872 echo $ECHO_N "(cached) $ECHO_C" >&6
23873 else
23874
23875 cat >conftest.$ac_ext <<_ACEOF
23876 /* confdefs.h. */
23877 _ACEOF
23878 cat confdefs.h >>conftest.$ac_ext
23879 cat >>conftest.$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23881
23882 #ifdef HAVE_WCHAR_H
23883 # ifdef __CYGWIN__
23884 # include <stddef.h>
23885 # endif
23886 # include <wchar.h>
23887 #endif
23888 #ifdef HAVE_STDLIB_H
23889 # include <stdlib.h>
23890 #endif
23891 #include <stdio.h>
23892 #include <string>
23893
23894 int
23895 main ()
23896 {
23897 std::basic_string<$char_type> foo;
23898 const $char_type* dummy = foo.c_str();
23899 ;
23900 return 0;
23901 }
23902 _ACEOF
23903 rm -f conftest.$ac_objext
23904 if { (ac_try="$ac_compile"
23905 case "(($ac_try" in
23906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23907 *) ac_try_echo=$ac_try;;
23908 esac
23909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23910 (eval "$ac_compile") 2>conftest.er1
23911 ac_status=$?
23912 grep -v '^ *+' conftest.er1 >conftest.err
23913 rm -f conftest.er1
23914 cat conftest.err >&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } && {
23917 test -z "$ac_cxx_werror_flag" ||
23918 test ! -s conftest.err
23919 } && test -s conftest.$ac_objext; then
23920 wx_cv_class_stdbasicstring=yes
23921 else
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.$ac_ext >&5
23924
23925 wx_cv_class_stdbasicstring=no
23926
23927 fi
23928
23929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23930
23931
23932 fi
23933 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23934 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23935
23936 if test "$wx_cv_class_stdbasicstring" != yes; then
23937 if test "$wxUSE_STL" = "yes"; then
23938 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23939 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23940 { (exit 1); exit 1; }; }
23941 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23942 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23943 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23944 { (exit 1); exit 1; }; }
23945 else
23946 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23947 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23948 wxUSE_STD_STRING=no
23949 fi
23950 fi
23951 fi
23952 fi
23953
23954 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23955 { echo "$as_me:$LINENO: checking for std::istream" >&5
23956 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23957 if test "${ac_cv_type_std__istream+set}" = set; then
23958 echo $ECHO_N "(cached) $ECHO_C" >&6
23959 else
23960 cat >conftest.$ac_ext <<_ACEOF
23961 /* confdefs.h. */
23962 _ACEOF
23963 cat confdefs.h >>conftest.$ac_ext
23964 cat >>conftest.$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 #include <iostream>
23967
23968 typedef std::istream ac__type_new_;
23969 int
23970 main ()
23971 {
23972 if ((ac__type_new_ *) 0)
23973 return 0;
23974 if (sizeof (ac__type_new_))
23975 return 0;
23976 ;
23977 return 0;
23978 }
23979 _ACEOF
23980 rm -f conftest.$ac_objext
23981 if { (ac_try="$ac_compile"
23982 case "(($ac_try" in
23983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23984 *) ac_try_echo=$ac_try;;
23985 esac
23986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23987 (eval "$ac_compile") 2>conftest.er1
23988 ac_status=$?
23989 grep -v '^ *+' conftest.er1 >conftest.err
23990 rm -f conftest.er1
23991 cat conftest.err >&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); } && {
23994 test -z "$ac_cxx_werror_flag" ||
23995 test ! -s conftest.err
23996 } && test -s conftest.$ac_objext; then
23997 ac_cv_type_std__istream=yes
23998 else
23999 echo "$as_me: failed program was:" >&5
24000 sed 's/^/| /' conftest.$ac_ext >&5
24001
24002 ac_cv_type_std__istream=no
24003 fi
24004
24005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24006 fi
24007 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24008 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24009 if test $ac_cv_type_std__istream = yes; then
24010
24011 cat >>confdefs.h <<_ACEOF
24012 #define HAVE_STD__ISTREAM 1
24013 _ACEOF
24014
24015
24016 else
24017 wxUSE_STD_IOSTREAM=no
24018 fi
24019 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24020 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24021 if test "${ac_cv_type_std__ostream+set}" = set; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6
24023 else
24024 cat >conftest.$ac_ext <<_ACEOF
24025 /* confdefs.h. */
24026 _ACEOF
24027 cat confdefs.h >>conftest.$ac_ext
24028 cat >>conftest.$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030 #include <iostream>
24031
24032 typedef std::ostream ac__type_new_;
24033 int
24034 main ()
24035 {
24036 if ((ac__type_new_ *) 0)
24037 return 0;
24038 if (sizeof (ac__type_new_))
24039 return 0;
24040 ;
24041 return 0;
24042 }
24043 _ACEOF
24044 rm -f conftest.$ac_objext
24045 if { (ac_try="$ac_compile"
24046 case "(($ac_try" in
24047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24048 *) ac_try_echo=$ac_try;;
24049 esac
24050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24051 (eval "$ac_compile") 2>conftest.er1
24052 ac_status=$?
24053 grep -v '^ *+' conftest.er1 >conftest.err
24054 rm -f conftest.er1
24055 cat conftest.err >&5
24056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057 (exit $ac_status); } && {
24058 test -z "$ac_cxx_werror_flag" ||
24059 test ! -s conftest.err
24060 } && test -s conftest.$ac_objext; then
24061 ac_cv_type_std__ostream=yes
24062 else
24063 echo "$as_me: failed program was:" >&5
24064 sed 's/^/| /' conftest.$ac_ext >&5
24065
24066 ac_cv_type_std__ostream=no
24067 fi
24068
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24070 fi
24071 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24072 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24073 if test $ac_cv_type_std__ostream = yes; then
24074
24075 cat >>confdefs.h <<_ACEOF
24076 #define HAVE_STD__OSTREAM 1
24077 _ACEOF
24078
24079
24080 else
24081 wxUSE_STD_IOSTREAM=no
24082 fi
24083
24084
24085 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24086 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24087 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24088 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24089 { (exit 1); exit 1; }; }
24090 else
24091 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24092 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24093 fi
24094 fi
24095 fi
24096
24097 if test "$wxUSE_STL" = "yes"; then
24098 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24099 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24100 if test "${wx_cv_lib_stl+set}" = set; then
24101 echo $ECHO_N "(cached) $ECHO_C" >&6
24102 else
24103 cat >conftest.$ac_ext <<_ACEOF
24104 /* confdefs.h. */
24105 _ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #include <string>
24110 #include <functional>
24111 #include <algorithm>
24112 #include <vector>
24113 #include <list>
24114 int
24115 main ()
24116 {
24117 std::vector<int> moo;
24118 std::list<int> foo;
24119 std::vector<int>::iterator it =
24120 std::find_if(moo.begin(), moo.end(),
24121 std::bind2nd(std::less<int>(), 3));
24122 ;
24123 return 0;
24124 }
24125 _ACEOF
24126 rm -f conftest.$ac_objext
24127 if { (ac_try="$ac_compile"
24128 case "(($ac_try" in
24129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130 *) ac_try_echo=$ac_try;;
24131 esac
24132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24133 (eval "$ac_compile") 2>conftest.er1
24134 ac_status=$?
24135 grep -v '^ *+' conftest.er1 >conftest.err
24136 rm -f conftest.er1
24137 cat conftest.err >&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } && {
24140 test -z "$ac_cxx_werror_flag" ||
24141 test ! -s conftest.err
24142 } && test -s conftest.$ac_objext; then
24143 wx_cv_lib_stl=yes
24144 else
24145 echo "$as_me: failed program was:" >&5
24146 sed 's/^/| /' conftest.$ac_ext >&5
24147
24148 wx_cv_lib_stl=no
24149
24150 fi
24151
24152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24153
24154 fi
24155 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24156 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24157
24158 if test "$wx_cv_lib_stl" != yes; then
24159 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24160 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24161 { (exit 1); exit 1; }; }
24162 fi
24163
24164 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24165 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24166 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24167 echo $ECHO_N "(cached) $ECHO_C" >&6
24168 else
24169 cat >conftest.$ac_ext <<_ACEOF
24170 /* confdefs.h. */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175 #include <string>
24176 int
24177 main ()
24178 {
24179 std::string foo, bar;
24180 foo.compare(bar);
24181 foo.compare(1, 1, bar);
24182 foo.compare(1, 1, bar, 1, 1);
24183 foo.compare("");
24184 foo.compare(1, 1, "");
24185 foo.compare(1, 1, "", 2);
24186 ;
24187 return 0;
24188 }
24189 _ACEOF
24190 rm -f conftest.$ac_objext
24191 if { (ac_try="$ac_compile"
24192 case "(($ac_try" in
24193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24194 *) ac_try_echo=$ac_try;;
24195 esac
24196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24197 (eval "$ac_compile") 2>conftest.er1
24198 ac_status=$?
24199 grep -v '^ *+' conftest.er1 >conftest.err
24200 rm -f conftest.er1
24201 cat conftest.err >&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); } && {
24204 test -z "$ac_cxx_werror_flag" ||
24205 test ! -s conftest.err
24206 } && test -s conftest.$ac_objext; then
24207 wx_cv_func_stdstring_compare=yes
24208 else
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.$ac_ext >&5
24211
24212 wx_cv_func_stdstring_compare=no
24213
24214 fi
24215
24216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24217
24218 fi
24219 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24220 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24221
24222 if test "$wx_cv_func_stdstring_compare" = yes; then
24223 cat >>confdefs.h <<\_ACEOF
24224 #define HAVE_STD_STRING_COMPARE 1
24225 _ACEOF
24226
24227 fi
24228
24229 { echo "$as_me:$LINENO: checking for hash_map" >&5
24230 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24231 if test "${ac_cv_header_hash_map+set}" = set; then
24232 echo $ECHO_N "(cached) $ECHO_C" >&6
24233 else
24234 cat >conftest.$ac_ext <<_ACEOF
24235 /* confdefs.h. */
24236 _ACEOF
24237 cat confdefs.h >>conftest.$ac_ext
24238 cat >>conftest.$ac_ext <<_ACEOF
24239 /* end confdefs.h. */
24240
24241
24242
24243 #include <hash_map>
24244 _ACEOF
24245 rm -f conftest.$ac_objext
24246 if { (ac_try="$ac_compile"
24247 case "(($ac_try" in
24248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24249 *) ac_try_echo=$ac_try;;
24250 esac
24251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24252 (eval "$ac_compile") 2>conftest.er1
24253 ac_status=$?
24254 grep -v '^ *+' conftest.er1 >conftest.err
24255 rm -f conftest.er1
24256 cat conftest.err >&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } && {
24259 test -z "$ac_cxx_werror_flag" ||
24260 test ! -s conftest.err
24261 } && test -s conftest.$ac_objext; then
24262 ac_cv_header_hash_map=yes
24263 else
24264 echo "$as_me: failed program was:" >&5
24265 sed 's/^/| /' conftest.$ac_ext >&5
24266
24267 ac_cv_header_hash_map=no
24268 fi
24269
24270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24271 fi
24272 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24273 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24274 if test $ac_cv_header_hash_map = yes; then
24275 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24276 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24277 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24278 echo $ECHO_N "(cached) $ECHO_C" >&6
24279 else
24280 cat >conftest.$ac_ext <<_ACEOF
24281 /* confdefs.h. */
24282 _ACEOF
24283 cat confdefs.h >>conftest.$ac_ext
24284 cat >>conftest.$ac_ext <<_ACEOF
24285 /* end confdefs.h. */
24286 #include <hash_map>
24287 #include <hash_set>
24288 int
24289 main ()
24290 {
24291 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24292 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24293 ;
24294 return 0;
24295 }
24296 _ACEOF
24297 rm -f conftest.$ac_objext
24298 if { (ac_try="$ac_compile"
24299 case "(($ac_try" in
24300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24301 *) ac_try_echo=$ac_try;;
24302 esac
24303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24304 (eval "$ac_compile") 2>conftest.er1
24305 ac_status=$?
24306 grep -v '^ *+' conftest.er1 >conftest.err
24307 rm -f conftest.er1
24308 cat conftest.err >&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); } && {
24311 test -z "$ac_cxx_werror_flag" ||
24312 test ! -s conftest.err
24313 } && test -s conftest.$ac_objext; then
24314 wx_cv_class_stdhashmapset=yes
24315 else
24316 echo "$as_me: failed program was:" >&5
24317 sed 's/^/| /' conftest.$ac_ext >&5
24318
24319 wx_cv_class_stdhashmapset=no
24320 fi
24321
24322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24323
24324
24325 fi
24326 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24327 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24328 fi
24329
24330
24331
24332 if test "$wx_cv_class_stdhashmapset" = yes; then
24333 cat >>confdefs.h <<\_ACEOF
24334 #define HAVE_HASH_MAP 1
24335 _ACEOF
24336
24337 cat >>confdefs.h <<\_ACEOF
24338 #define HAVE_STD_HASH_MAP 1
24339 _ACEOF
24340
24341 fi
24342
24343 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24344 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24345 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24346 echo $ECHO_N "(cached) $ECHO_C" >&6
24347 else
24348 cat >conftest.$ac_ext <<_ACEOF
24349 /* confdefs.h. */
24350 _ACEOF
24351 cat confdefs.h >>conftest.$ac_ext
24352 cat >>conftest.$ac_ext <<_ACEOF
24353 /* end confdefs.h. */
24354
24355
24356
24357 #include <ext/hash_map>
24358 _ACEOF
24359 rm -f conftest.$ac_objext
24360 if { (ac_try="$ac_compile"
24361 case "(($ac_try" in
24362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24363 *) ac_try_echo=$ac_try;;
24364 esac
24365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24366 (eval "$ac_compile") 2>conftest.er1
24367 ac_status=$?
24368 grep -v '^ *+' conftest.er1 >conftest.err
24369 rm -f conftest.er1
24370 cat conftest.err >&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); } && {
24373 test -z "$ac_cxx_werror_flag" ||
24374 test ! -s conftest.err
24375 } && test -s conftest.$ac_objext; then
24376 ac_cv_header_ext_hash_map=yes
24377 else
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.$ac_ext >&5
24380
24381 ac_cv_header_ext_hash_map=no
24382 fi
24383
24384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24385 fi
24386 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24387 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24388 if test $ac_cv_header_ext_hash_map = yes; then
24389 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24390 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24391 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24392 echo $ECHO_N "(cached) $ECHO_C" >&6
24393 else
24394 cat >conftest.$ac_ext <<_ACEOF
24395 /* confdefs.h. */
24396 _ACEOF
24397 cat confdefs.h >>conftest.$ac_ext
24398 cat >>conftest.$ac_ext <<_ACEOF
24399 /* end confdefs.h. */
24400 #include <ext/hash_map>
24401 #include <ext/hash_set>
24402 int
24403 main ()
24404 {
24405 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24406 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24407 ;
24408 return 0;
24409 }
24410 _ACEOF
24411 rm -f conftest.$ac_objext
24412 if { (ac_try="$ac_compile"
24413 case "(($ac_try" in
24414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24415 *) ac_try_echo=$ac_try;;
24416 esac
24417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24418 (eval "$ac_compile") 2>conftest.er1
24419 ac_status=$?
24420 grep -v '^ *+' conftest.er1 >conftest.err
24421 rm -f conftest.er1
24422 cat conftest.err >&5
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } && {
24425 test -z "$ac_cxx_werror_flag" ||
24426 test ! -s conftest.err
24427 } && test -s conftest.$ac_objext; then
24428 wx_cv_class_gnuhashmapset=yes
24429 else
24430 echo "$as_me: failed program was:" >&5
24431 sed 's/^/| /' conftest.$ac_ext >&5
24432
24433 wx_cv_class_gnuhashmapset=no
24434 fi
24435
24436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24437
24438
24439 fi
24440 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24441 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24442 fi
24443
24444
24445
24446 if test "$wx_cv_class_gnuhashmapset" = yes; then
24447 cat >>confdefs.h <<\_ACEOF
24448 #define HAVE_EXT_HASH_MAP 1
24449 _ACEOF
24450
24451 cat >>confdefs.h <<\_ACEOF
24452 #define HAVE_GNU_CXX_HASH_MAP 1
24453 _ACEOF
24454
24455 fi
24456 fi
24457
24458 ac_ext=c
24459 ac_cpp='$CPP $CPPFLAGS'
24460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24463
24464
24465
24466 SEARCH_INCLUDE="\
24467 /usr/local/include \
24468 \
24469 /usr/Motif-2.1/include \
24470 /usr/Motif-1.2/include \
24471 /usr/include/Motif1.2 \
24472 \
24473 /usr/dt/include \
24474 /usr/openwin/include \
24475 \
24476 /usr/include/Xm \
24477 \
24478 /usr/X11R6/include \
24479 /usr/X11R6.4/include \
24480 /usr/X11R5/include \
24481 /usr/X11R4/include \
24482 \
24483 /usr/include/X11R6 \
24484 /usr/include/X11R5 \
24485 /usr/include/X11R4 \
24486 \
24487 /usr/local/X11R6/include \
24488 /usr/local/X11R5/include \
24489 /usr/local/X11R4/include \
24490 \
24491 /usr/local/include/X11R6 \
24492 /usr/local/include/X11R5 \
24493 /usr/local/include/X11R4 \
24494 \
24495 /usr/X11/include \
24496 /usr/include/X11 \
24497 /usr/local/X11/include \
24498 /usr/local/include/X11 \
24499 \
24500 /usr/XFree86/include/X11 \
24501 /usr/pkg/include \
24502 \
24503 /usr/openwin/share/include"
24504
24505 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24506 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24507
24508 case "${host}" in
24509 *-*-irix6* )
24510 if test "${wx_cv_std_libpath+set}" = set; then
24511 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 else
24513
24514 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24515 for e in a so sl dylib dll.a; do
24516 libc="$d/libc.$e"
24517 if test -f $libc; then
24518 save_LIBS="$LIBS"
24519 LIBS="$libc"
24520 cat >conftest.$ac_ext <<_ACEOF
24521 int main() { return 0; }
24522 _ACEOF
24523 rm -f conftest.$ac_objext conftest$ac_exeext
24524 if { (ac_try="$ac_link"
24525 case "(($ac_try" in
24526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24527 *) ac_try_echo=$ac_try;;
24528 esac
24529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24530 (eval "$ac_link") 2>conftest.er1
24531 ac_status=$?
24532 grep -v '^ *+' conftest.er1 >conftest.err
24533 rm -f conftest.er1
24534 cat conftest.err >&5
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); } && {
24537 test -z "$ac_c_werror_flag" ||
24538 test ! -s conftest.err
24539 } && test -s conftest$ac_exeext &&
24540 $as_test_x conftest$ac_exeext; then
24541 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24542 else
24543 echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.$ac_ext >&5
24545
24546
24547 fi
24548
24549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24550 conftest$ac_exeext conftest.$ac_ext
24551 LIBS="$save_LIBS"
24552 if test "x$wx_cv_std_libpath" != "x"; then
24553 break 2
24554 fi
24555 fi
24556 done
24557 done
24558 if test "x$wx_cv_std_libpath" = "x"; then
24559 wx_cv_std_libpath="lib"
24560 fi
24561
24562
24563 fi
24564
24565 ;;
24566
24567 *-*-solaris2* )
24568 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24569 wx_cv_std_libpath="lib/64"
24570 else
24571 wx_cv_std_libpath="lib"
24572 fi
24573 ;;
24574
24575 *-*-linux* )
24576 if test "$ac_cv_sizeof_void_p" = 8 -a \
24577 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24578 wx_cv_std_libpath="lib64"
24579 else
24580 wx_cv_std_libpath="lib"
24581 fi
24582 ;;
24583
24584 *)
24585 wx_cv_std_libpath="lib";
24586 ;;
24587 esac
24588
24589 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24590 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24591
24592 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24593
24594 if test "$build" != "$host" -a "$GCC" = yes; then
24595 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24596 cross_root=`dirname $cross_root`
24597 cross_root=`dirname $cross_root`
24598
24599 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24600 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24601 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24602
24603 if test -z "$PKG_CONFIG_PATH"; then
24604 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24605 export PKG_CONFIG_PATH
24606 fi
24607
24608 if test -z "$x_includes" -o "$x_includes" = NONE; then
24609
24610 ac_find_includes=
24611 for ac_dir in $SEARCH_INCLUDE /usr/include;
24612 do
24613 if test -f "$ac_dir/X11/Intrinsic.h"; then
24614 ac_find_includes=$ac_dir
24615 break
24616 fi
24617 done
24618
24619 x_includes=$ac_find_includes
24620 fi
24621 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24622
24623 ac_find_libraries=
24624 for ac_dir in $SEARCH_LIB;
24625 do
24626 for ac_extension in a so sl dylib dll.a; do
24627 if test -f "$ac_dir/libXt.$ac_extension"; then
24628 ac_find_libraries=$ac_dir
24629 break 2
24630 fi
24631 done
24632 done
24633
24634 x_libraries=$ac_find_libraries
24635 fi
24636 fi
24637 fi
24638
24639
24640 cat >confcache <<\_ACEOF
24641 # This file is a shell script that caches the results of configure
24642 # tests run on this system so they can be shared between configure
24643 # scripts and configure runs, see configure's option --config-cache.
24644 # It is not useful on other systems. If it contains results you don't
24645 # want to keep, you may remove or edit it.
24646 #
24647 # config.status only pays attention to the cache file if you give it
24648 # the --recheck option to rerun configure.
24649 #
24650 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24651 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24652 # following values.
24653
24654 _ACEOF
24655
24656 # The following way of writing the cache mishandles newlines in values,
24657 # but we know of no workaround that is simple, portable, and efficient.
24658 # So, we kill variables containing newlines.
24659 # Ultrix sh set writes to stderr and can't be redirected directly,
24660 # and sets the high bit in the cache file unless we assign to the vars.
24661 (
24662 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24663 eval ac_val=\$$ac_var
24664 case $ac_val in #(
24665 *${as_nl}*)
24666 case $ac_var in #(
24667 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24668 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24669 esac
24670 case $ac_var in #(
24671 _ | IFS | as_nl) ;; #(
24672 *) $as_unset $ac_var ;;
24673 esac ;;
24674 esac
24675 done
24676
24677 (set) 2>&1 |
24678 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24679 *${as_nl}ac_space=\ *)
24680 # `set' does not quote correctly, so add quotes (double-quote
24681 # substitution turns \\\\ into \\, and sed turns \\ into \).
24682 sed -n \
24683 "s/'/'\\\\''/g;
24684 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24685 ;; #(
24686 *)
24687 # `set' quotes correctly as required by POSIX, so do not add quotes.
24688 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24689 ;;
24690 esac |
24691 sort
24692 ) |
24693 sed '
24694 /^ac_cv_env_/b end
24695 t clear
24696 :clear
24697 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24698 t end
24699 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24700 :end' >>confcache
24701 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24702 if test -w "$cache_file"; then
24703 test "x$cache_file" != "x/dev/null" &&
24704 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24705 echo "$as_me: updating cache $cache_file" >&6;}
24706 cat confcache >$cache_file
24707 else
24708 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24709 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24710 fi
24711 fi
24712 rm -f confcache
24713
24714 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24715 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24716 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24717 if test "${wx_cv_lib_glibc21+set}" = set; then
24718 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 else
24720
24721 cat >conftest.$ac_ext <<_ACEOF
24722 /* confdefs.h. */
24723 _ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24727 #include <features.h>
24728 int
24729 main ()
24730 {
24731
24732 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24733 not glibc 2.1
24734 #endif
24735
24736 ;
24737 return 0;
24738 }
24739 _ACEOF
24740 rm -f conftest.$ac_objext
24741 if { (ac_try="$ac_compile"
24742 case "(($ac_try" in
24743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24744 *) ac_try_echo=$ac_try;;
24745 esac
24746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24747 (eval "$ac_compile") 2>conftest.er1
24748 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } && {
24754 test -z "$ac_c_werror_flag" ||
24755 test ! -s conftest.err
24756 } && test -s conftest.$ac_objext; then
24757
24758 wx_cv_lib_glibc21=yes
24759
24760 else
24761 echo "$as_me: failed program was:" >&5
24762 sed 's/^/| /' conftest.$ac_ext >&5
24763
24764
24765 wx_cv_lib_glibc21=no
24766
24767
24768 fi
24769
24770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24771
24772 fi
24773 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24774 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24775 if test "$wx_cv_lib_glibc21" = "yes"; then
24776 cat >>confdefs.h <<\_ACEOF
24777 #define wxHAVE_GLIBC2 1
24778 _ACEOF
24779
24780 fi
24781 fi
24782
24783 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24784 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24785 cat >>confdefs.h <<\_ACEOF
24786 #define _GNU_SOURCE 1
24787 _ACEOF
24788
24789 fi
24790 fi
24791
24792 have_cos=0
24793 have_floor=0
24794
24795 for ac_func in cos
24796 do
24797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24798 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24802 else
24803 cat >conftest.$ac_ext <<_ACEOF
24804 /* confdefs.h. */
24805 _ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24811 #define $ac_func innocuous_$ac_func
24812
24813 /* System header to define __stub macros and hopefully few prototypes,
24814 which can conflict with char $ac_func (); below.
24815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24816 <limits.h> exists even on freestanding compilers. */
24817
24818 #ifdef __STDC__
24819 # include <limits.h>
24820 #else
24821 # include <assert.h>
24822 #endif
24823
24824 #undef $ac_func
24825
24826 /* Override any GCC internal prototype to avoid an error.
24827 Use char because int might match the return type of a GCC
24828 builtin and then its argument prototype would still apply. */
24829 #ifdef __cplusplus
24830 extern "C"
24831 #endif
24832 char $ac_func ();
24833 /* The GNU C library defines this for functions which it implements
24834 to always fail with ENOSYS. Some functions are actually named
24835 something starting with __ and the normal name is an alias. */
24836 #if defined __stub_$ac_func || defined __stub___$ac_func
24837 choke me
24838 #endif
24839
24840 int
24841 main ()
24842 {
24843 return $ac_func ();
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 rm -f conftest.$ac_objext conftest$ac_exeext
24849 if { (ac_try="$ac_link"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852 *) ac_try_echo=$ac_try;;
24853 esac
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_link") 2>conftest.er1
24856 ac_status=$?
24857 grep -v '^ *+' conftest.er1 >conftest.err
24858 rm -f conftest.er1
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_c_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest$ac_exeext &&
24865 $as_test_x conftest$ac_exeext; then
24866 eval "$as_ac_var=yes"
24867 else
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.$ac_ext >&5
24870
24871 eval "$as_ac_var=no"
24872 fi
24873
24874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24875 conftest$ac_exeext conftest.$ac_ext
24876 fi
24877 ac_res=`eval echo '${'$as_ac_var'}'`
24878 { echo "$as_me:$LINENO: result: $ac_res" >&5
24879 echo "${ECHO_T}$ac_res" >&6; }
24880 if test `eval echo '${'$as_ac_var'}'` = yes; then
24881 cat >>confdefs.h <<_ACEOF
24882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24883 _ACEOF
24884 have_cos=1
24885 fi
24886 done
24887
24888
24889 for ac_func in floor
24890 do
24891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24895 echo $ECHO_N "(cached) $ECHO_C" >&6
24896 else
24897 cat >conftest.$ac_ext <<_ACEOF
24898 /* confdefs.h. */
24899 _ACEOF
24900 cat confdefs.h >>conftest.$ac_ext
24901 cat >>conftest.$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24905 #define $ac_func innocuous_$ac_func
24906
24907 /* System header to define __stub macros and hopefully few prototypes,
24908 which can conflict with char $ac_func (); below.
24909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24910 <limits.h> exists even on freestanding compilers. */
24911
24912 #ifdef __STDC__
24913 # include <limits.h>
24914 #else
24915 # include <assert.h>
24916 #endif
24917
24918 #undef $ac_func
24919
24920 /* Override any GCC internal prototype to avoid an error.
24921 Use char because int might match the return type of a GCC
24922 builtin and then its argument prototype would still apply. */
24923 #ifdef __cplusplus
24924 extern "C"
24925 #endif
24926 char $ac_func ();
24927 /* The GNU C library defines this for functions which it implements
24928 to always fail with ENOSYS. Some functions are actually named
24929 something starting with __ and the normal name is an alias. */
24930 #if defined __stub_$ac_func || defined __stub___$ac_func
24931 choke me
24932 #endif
24933
24934 int
24935 main ()
24936 {
24937 return $ac_func ();
24938 ;
24939 return 0;
24940 }
24941 _ACEOF
24942 rm -f conftest.$ac_objext conftest$ac_exeext
24943 if { (ac_try="$ac_link"
24944 case "(($ac_try" in
24945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24946 *) ac_try_echo=$ac_try;;
24947 esac
24948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24949 (eval "$ac_link") 2>conftest.er1
24950 ac_status=$?
24951 grep -v '^ *+' conftest.er1 >conftest.err
24952 rm -f conftest.er1
24953 cat conftest.err >&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); } && {
24956 test -z "$ac_c_werror_flag" ||
24957 test ! -s conftest.err
24958 } && test -s conftest$ac_exeext &&
24959 $as_test_x conftest$ac_exeext; then
24960 eval "$as_ac_var=yes"
24961 else
24962 echo "$as_me: failed program was:" >&5
24963 sed 's/^/| /' conftest.$ac_ext >&5
24964
24965 eval "$as_ac_var=no"
24966 fi
24967
24968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24969 conftest$ac_exeext conftest.$ac_ext
24970 fi
24971 ac_res=`eval echo '${'$as_ac_var'}'`
24972 { echo "$as_me:$LINENO: result: $ac_res" >&5
24973 echo "${ECHO_T}$ac_res" >&6; }
24974 if test `eval echo '${'$as_ac_var'}'` = yes; then
24975 cat >>confdefs.h <<_ACEOF
24976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24977 _ACEOF
24978 have_floor=1
24979 fi
24980 done
24981
24982 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24983 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24984 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24985 { echo "$as_me:$LINENO: result: yes" >&5
24986 echo "${ECHO_T}yes" >&6; }
24987 else
24988 { echo "$as_me:$LINENO: result: no" >&5
24989 echo "${ECHO_T}no" >&6; }
24990 LIBS="$LIBS -lm"
24991 # use different functions to avoid configure caching
24992 have_sin=0
24993 have_ceil=0
24994
24995 for ac_func in sin
24996 do
24997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25001 echo $ECHO_N "(cached) $ECHO_C" >&6
25002 else
25003 cat >conftest.$ac_ext <<_ACEOF
25004 /* confdefs.h. */
25005 _ACEOF
25006 cat confdefs.h >>conftest.$ac_ext
25007 cat >>conftest.$ac_ext <<_ACEOF
25008 /* end confdefs.h. */
25009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25011 #define $ac_func innocuous_$ac_func
25012
25013 /* System header to define __stub macros and hopefully few prototypes,
25014 which can conflict with char $ac_func (); below.
25015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25016 <limits.h> exists even on freestanding compilers. */
25017
25018 #ifdef __STDC__
25019 # include <limits.h>
25020 #else
25021 # include <assert.h>
25022 #endif
25023
25024 #undef $ac_func
25025
25026 /* Override any GCC internal prototype to avoid an error.
25027 Use char because int might match the return type of a GCC
25028 builtin and then its argument prototype would still apply. */
25029 #ifdef __cplusplus
25030 extern "C"
25031 #endif
25032 char $ac_func ();
25033 /* The GNU C library defines this for functions which it implements
25034 to always fail with ENOSYS. Some functions are actually named
25035 something starting with __ and the normal name is an alias. */
25036 #if defined __stub_$ac_func || defined __stub___$ac_func
25037 choke me
25038 #endif
25039
25040 int
25041 main ()
25042 {
25043 return $ac_func ();
25044 ;
25045 return 0;
25046 }
25047 _ACEOF
25048 rm -f conftest.$ac_objext conftest$ac_exeext
25049 if { (ac_try="$ac_link"
25050 case "(($ac_try" in
25051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25052 *) ac_try_echo=$ac_try;;
25053 esac
25054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25055 (eval "$ac_link") 2>conftest.er1
25056 ac_status=$?
25057 grep -v '^ *+' conftest.er1 >conftest.err
25058 rm -f conftest.er1
25059 cat conftest.err >&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); } && {
25062 test -z "$ac_c_werror_flag" ||
25063 test ! -s conftest.err
25064 } && test -s conftest$ac_exeext &&
25065 $as_test_x conftest$ac_exeext; then
25066 eval "$as_ac_var=yes"
25067 else
25068 echo "$as_me: failed program was:" >&5
25069 sed 's/^/| /' conftest.$ac_ext >&5
25070
25071 eval "$as_ac_var=no"
25072 fi
25073
25074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25075 conftest$ac_exeext conftest.$ac_ext
25076 fi
25077 ac_res=`eval echo '${'$as_ac_var'}'`
25078 { echo "$as_me:$LINENO: result: $ac_res" >&5
25079 echo "${ECHO_T}$ac_res" >&6; }
25080 if test `eval echo '${'$as_ac_var'}'` = yes; then
25081 cat >>confdefs.h <<_ACEOF
25082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25083 _ACEOF
25084 have_sin=1
25085 fi
25086 done
25087
25088
25089 for ac_func in ceil
25090 do
25091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25092 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25094 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25095 echo $ECHO_N "(cached) $ECHO_C" >&6
25096 else
25097 cat >conftest.$ac_ext <<_ACEOF
25098 /* confdefs.h. */
25099 _ACEOF
25100 cat confdefs.h >>conftest.$ac_ext
25101 cat >>conftest.$ac_ext <<_ACEOF
25102 /* end confdefs.h. */
25103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25105 #define $ac_func innocuous_$ac_func
25106
25107 /* System header to define __stub macros and hopefully few prototypes,
25108 which can conflict with char $ac_func (); below.
25109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25110 <limits.h> exists even on freestanding compilers. */
25111
25112 #ifdef __STDC__
25113 # include <limits.h>
25114 #else
25115 # include <assert.h>
25116 #endif
25117
25118 #undef $ac_func
25119
25120 /* Override any GCC internal prototype to avoid an error.
25121 Use char because int might match the return type of a GCC
25122 builtin and then its argument prototype would still apply. */
25123 #ifdef __cplusplus
25124 extern "C"
25125 #endif
25126 char $ac_func ();
25127 /* The GNU C library defines this for functions which it implements
25128 to always fail with ENOSYS. Some functions are actually named
25129 something starting with __ and the normal name is an alias. */
25130 #if defined __stub_$ac_func || defined __stub___$ac_func
25131 choke me
25132 #endif
25133
25134 int
25135 main ()
25136 {
25137 return $ac_func ();
25138 ;
25139 return 0;
25140 }
25141 _ACEOF
25142 rm -f conftest.$ac_objext conftest$ac_exeext
25143 if { (ac_try="$ac_link"
25144 case "(($ac_try" in
25145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25146 *) ac_try_echo=$ac_try;;
25147 esac
25148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25149 (eval "$ac_link") 2>conftest.er1
25150 ac_status=$?
25151 grep -v '^ *+' conftest.er1 >conftest.err
25152 rm -f conftest.er1
25153 cat conftest.err >&5
25154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155 (exit $ac_status); } && {
25156 test -z "$ac_c_werror_flag" ||
25157 test ! -s conftest.err
25158 } && test -s conftest$ac_exeext &&
25159 $as_test_x conftest$ac_exeext; then
25160 eval "$as_ac_var=yes"
25161 else
25162 echo "$as_me: failed program was:" >&5
25163 sed 's/^/| /' conftest.$ac_ext >&5
25164
25165 eval "$as_ac_var=no"
25166 fi
25167
25168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25169 conftest$ac_exeext conftest.$ac_ext
25170 fi
25171 ac_res=`eval echo '${'$as_ac_var'}'`
25172 { echo "$as_me:$LINENO: result: $ac_res" >&5
25173 echo "${ECHO_T}$ac_res" >&6; }
25174 if test `eval echo '${'$as_ac_var'}'` = yes; then
25175 cat >>confdefs.h <<_ACEOF
25176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25177 _ACEOF
25178 have_ceil=1
25179 fi
25180 done
25181
25182 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25183 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25184 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25185 { echo "$as_me:$LINENO: result: yes" >&5
25186 echo "${ECHO_T}yes" >&6; }
25187 else
25188 { echo "$as_me:$LINENO: result: no" >&5
25189 echo "${ECHO_T}no" >&6; }
25190 # not sure we should warn the user, crash, etc.
25191 fi
25192 fi
25193
25194 ac_ext=cpp
25195 ac_cpp='$CXXCPP $CPPFLAGS'
25196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25199
25200 if test "wxUSE_UNICODE" = "yes"; then
25201
25202 for wx_func in wcstoull
25203 do
25204 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25205 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25206 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25207 echo $ECHO_N "(cached) $ECHO_C" >&6
25208 else
25209
25210 cat >conftest.$ac_ext <<_ACEOF
25211
25212 /* confdefs.h. */
25213 _ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217
25218
25219 $ac_includes_default
25220
25221 int
25222 main ()
25223 {
25224
25225 #ifndef $wx_func
25226 &$wx_func;
25227 #endif
25228
25229
25230 ;
25231 return 0;
25232 }
25233
25234 _ACEOF
25235 rm -f conftest.$ac_objext conftest$ac_exeext
25236 if { (ac_try="$ac_link"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25240 esac
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_link") 2>conftest.er1
25243 ac_status=$?
25244 grep -v '^ *+' conftest.er1 >conftest.err
25245 rm -f conftest.er1
25246 cat conftest.err >&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } && {
25249 test -z "$ac_cxx_werror_flag" ||
25250 test ! -s conftest.err
25251 } && test -s conftest$ac_exeext &&
25252 $as_test_x conftest$ac_exeext; then
25253 eval wx_cv_func_$wx_func=yes
25254 else
25255 echo "$as_me: failed program was:" >&5
25256 sed 's/^/| /' conftest.$ac_ext >&5
25257
25258 eval wx_cv_func_$wx_func=no
25259 fi
25260
25261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25262 conftest$ac_exeext conftest.$ac_ext
25263
25264 fi
25265 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25266 { echo "$as_me:$LINENO: result: $ac_res" >&5
25267 echo "${ECHO_T}$ac_res" >&6; }
25268
25269 if eval test \$wx_cv_func_$wx_func = yes
25270 then
25271 cat >>confdefs.h <<_ACEOF
25272 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25273 _ACEOF
25274
25275
25276 else
25277 :
25278
25279 fi
25280 done
25281
25282 else
25283
25284 for wx_func in strtoull
25285 do
25286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25289 echo $ECHO_N "(cached) $ECHO_C" >&6
25290 else
25291
25292 cat >conftest.$ac_ext <<_ACEOF
25293
25294 /* confdefs.h. */
25295 _ACEOF
25296 cat confdefs.h >>conftest.$ac_ext
25297 cat >>conftest.$ac_ext <<_ACEOF
25298 /* end confdefs.h. */
25299
25300
25301 $ac_includes_default
25302
25303 int
25304 main ()
25305 {
25306
25307 #ifndef $wx_func
25308 &$wx_func;
25309 #endif
25310
25311
25312 ;
25313 return 0;
25314 }
25315
25316 _ACEOF
25317 rm -f conftest.$ac_objext conftest$ac_exeext
25318 if { (ac_try="$ac_link"
25319 case "(($ac_try" in
25320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25321 *) ac_try_echo=$ac_try;;
25322 esac
25323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25324 (eval "$ac_link") 2>conftest.er1
25325 ac_status=$?
25326 grep -v '^ *+' conftest.er1 >conftest.err
25327 rm -f conftest.er1
25328 cat conftest.err >&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); } && {
25331 test -z "$ac_cxx_werror_flag" ||
25332 test ! -s conftest.err
25333 } && test -s conftest$ac_exeext &&
25334 $as_test_x conftest$ac_exeext; then
25335 eval wx_cv_func_$wx_func=yes
25336 else
25337 echo "$as_me: failed program was:" >&5
25338 sed 's/^/| /' conftest.$ac_ext >&5
25339
25340 eval wx_cv_func_$wx_func=no
25341 fi
25342
25343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25344 conftest$ac_exeext conftest.$ac_ext
25345
25346 fi
25347 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25348 { echo "$as_me:$LINENO: result: $ac_res" >&5
25349 echo "${ECHO_T}$ac_res" >&6; }
25350
25351 if eval test \$wx_cv_func_$wx_func = yes
25352 then
25353 cat >>confdefs.h <<_ACEOF
25354 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25355 _ACEOF
25356
25357
25358 else
25359 :
25360
25361 fi
25362 done
25363
25364 fi
25365 ac_ext=c
25366 ac_cpp='$CPP $CPPFLAGS'
25367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25370
25371
25372
25373
25374 if test "$wxUSE_REGEX" != "no"; then
25375 cat >>confdefs.h <<\_ACEOF
25376 #define wxUSE_REGEX 1
25377 _ACEOF
25378
25379
25380 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25381 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25382 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25383 wxUSE_REGEX=builtin
25384 fi
25385
25386 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25387 { echo "$as_me:$LINENO: checking for regex.h" >&5
25388 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25389 if test "${ac_cv_header_regex_h+set}" = set; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 else
25392 cat >conftest.$ac_ext <<_ACEOF
25393 /* confdefs.h. */
25394 _ACEOF
25395 cat confdefs.h >>conftest.$ac_ext
25396 cat >>conftest.$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25398
25399
25400 #include <regex.h>
25401 _ACEOF
25402 rm -f conftest.$ac_objext
25403 if { (ac_try="$ac_compile"
25404 case "(($ac_try" in
25405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25406 *) ac_try_echo=$ac_try;;
25407 esac
25408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25409 (eval "$ac_compile") 2>conftest.er1
25410 ac_status=$?
25411 grep -v '^ *+' conftest.er1 >conftest.err
25412 rm -f conftest.er1
25413 cat conftest.err >&5
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); } && {
25416 test -z "$ac_c_werror_flag" ||
25417 test ! -s conftest.err
25418 } && test -s conftest.$ac_objext; then
25419 ac_cv_header_regex_h=yes
25420 else
25421 echo "$as_me: failed program was:" >&5
25422 sed 's/^/| /' conftest.$ac_ext >&5
25423
25424 ac_cv_header_regex_h=no
25425 fi
25426
25427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25428 fi
25429 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25430 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25431 if test $ac_cv_header_regex_h = yes; then
25432
25433
25434 for ac_func in regcomp re_search
25435 do
25436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25437 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25439 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25441 else
25442 cat >conftest.$ac_ext <<_ACEOF
25443 /* confdefs.h. */
25444 _ACEOF
25445 cat confdefs.h >>conftest.$ac_ext
25446 cat >>conftest.$ac_ext <<_ACEOF
25447 /* end confdefs.h. */
25448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25450 #define $ac_func innocuous_$ac_func
25451
25452 /* System header to define __stub macros and hopefully few prototypes,
25453 which can conflict with char $ac_func (); below.
25454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25455 <limits.h> exists even on freestanding compilers. */
25456
25457 #ifdef __STDC__
25458 # include <limits.h>
25459 #else
25460 # include <assert.h>
25461 #endif
25462
25463 #undef $ac_func
25464
25465 /* Override any GCC internal prototype to avoid an error.
25466 Use char because int might match the return type of a GCC
25467 builtin and then its argument prototype would still apply. */
25468 #ifdef __cplusplus
25469 extern "C"
25470 #endif
25471 char $ac_func ();
25472 /* The GNU C library defines this for functions which it implements
25473 to always fail with ENOSYS. Some functions are actually named
25474 something starting with __ and the normal name is an alias. */
25475 #if defined __stub_$ac_func || defined __stub___$ac_func
25476 choke me
25477 #endif
25478
25479 int
25480 main ()
25481 {
25482 return $ac_func ();
25483 ;
25484 return 0;
25485 }
25486 _ACEOF
25487 rm -f conftest.$ac_objext conftest$ac_exeext
25488 if { (ac_try="$ac_link"
25489 case "(($ac_try" in
25490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25491 *) ac_try_echo=$ac_try;;
25492 esac
25493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25494 (eval "$ac_link") 2>conftest.er1
25495 ac_status=$?
25496 grep -v '^ *+' conftest.er1 >conftest.err
25497 rm -f conftest.er1
25498 cat conftest.err >&5
25499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500 (exit $ac_status); } && {
25501 test -z "$ac_c_werror_flag" ||
25502 test ! -s conftest.err
25503 } && test -s conftest$ac_exeext &&
25504 $as_test_x conftest$ac_exeext; then
25505 eval "$as_ac_var=yes"
25506 else
25507 echo "$as_me: failed program was:" >&5
25508 sed 's/^/| /' conftest.$ac_ext >&5
25509
25510 eval "$as_ac_var=no"
25511 fi
25512
25513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25514 conftest$ac_exeext conftest.$ac_ext
25515 fi
25516 ac_res=`eval echo '${'$as_ac_var'}'`
25517 { echo "$as_me:$LINENO: result: $ac_res" >&5
25518 echo "${ECHO_T}$ac_res" >&6; }
25519 if test `eval echo '${'$as_ac_var'}'` = yes; then
25520 cat >>confdefs.h <<_ACEOF
25521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25522 _ACEOF
25523
25524 fi
25525 done
25526
25527 fi
25528
25529
25530
25531 if test "x$ac_cv_func_regcomp" != "xyes"; then
25532 if test "$wxUSE_REGEX" = "sys" ; then
25533 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25534 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25535 { (exit 1); exit 1; }; }
25536 else
25537 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25538 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25539 wxUSE_REGEX=builtin
25540 fi
25541 else
25542 wxUSE_REGEX=sys
25543 cat >>confdefs.h <<\_ACEOF
25544 #define WX_NO_REGEX_ADVANCED 1
25545 _ACEOF
25546
25547 fi
25548 fi
25549 fi
25550
25551
25552 ZLIB_LINK=
25553 if test "$wxUSE_ZLIB" != "no" ; then
25554 cat >>confdefs.h <<\_ACEOF
25555 #define wxUSE_ZLIB 1
25556 _ACEOF
25557
25558
25559 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25560 if test "$USE_DARWIN" = 1; then
25561 system_zlib_h_ok="yes"
25562 else
25563 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25564 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25565 if test "${ac_cv_header_zlib_h+set}" = set; then
25566 echo $ECHO_N "(cached) $ECHO_C" >&6
25567 else
25568 if test "$cross_compiling" = yes; then
25569 unset ac_cv_header_zlib_h
25570
25571 else
25572 cat >conftest.$ac_ext <<_ACEOF
25573 /* confdefs.h. */
25574 _ACEOF
25575 cat confdefs.h >>conftest.$ac_ext
25576 cat >>conftest.$ac_ext <<_ACEOF
25577 /* end confdefs.h. */
25578
25579 #include <zlib.h>
25580 #include <stdio.h>
25581
25582 int main()
25583 {
25584 FILE *f=fopen("conftestval", "w");
25585 if (!f) exit(1);
25586 fprintf(f, "%s",
25587 ZLIB_VERSION[0] == '1' &&
25588 (ZLIB_VERSION[2] > '1' ||
25589 (ZLIB_VERSION[2] == '1' &&
25590 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25591 exit(0);
25592 }
25593
25594 _ACEOF
25595 rm -f conftest$ac_exeext
25596 if { (ac_try="$ac_link"
25597 case "(($ac_try" in
25598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25599 *) ac_try_echo=$ac_try;;
25600 esac
25601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25602 (eval "$ac_link") 2>&5
25603 ac_status=$?
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25606 { (case "(($ac_try" in
25607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25608 *) ac_try_echo=$ac_try;;
25609 esac
25610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25611 (eval "$ac_try") 2>&5
25612 ac_status=$?
25613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25614 (exit $ac_status); }; }; then
25615 ac_cv_header_zlib_h=`cat conftestval`
25616 else
25617 echo "$as_me: program exited with status $ac_status" >&5
25618 echo "$as_me: failed program was:" >&5
25619 sed 's/^/| /' conftest.$ac_ext >&5
25620
25621 ( exit $ac_status )
25622 ac_cv_header_zlib_h=no
25623 fi
25624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25625 fi
25626
25627
25628
25629 fi
25630 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25631 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25632 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25633 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25634 if test "${ac_cv_header_zlib_h+set}" = set; then
25635 echo $ECHO_N "(cached) $ECHO_C" >&6
25636 else
25637 cat >conftest.$ac_ext <<_ACEOF
25638 /* confdefs.h. */
25639 _ACEOF
25640 cat confdefs.h >>conftest.$ac_ext
25641 cat >>conftest.$ac_ext <<_ACEOF
25642 /* end confdefs.h. */
25643
25644
25645 #include <zlib.h>
25646 _ACEOF
25647 rm -f conftest.$ac_objext
25648 if { (ac_try="$ac_compile"
25649 case "(($ac_try" in
25650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25651 *) ac_try_echo=$ac_try;;
25652 esac
25653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25654 (eval "$ac_compile") 2>conftest.er1
25655 ac_status=$?
25656 grep -v '^ *+' conftest.er1 >conftest.err
25657 rm -f conftest.er1
25658 cat conftest.err >&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); } && {
25661 test -z "$ac_c_werror_flag" ||
25662 test ! -s conftest.err
25663 } && test -s conftest.$ac_objext; then
25664 ac_cv_header_zlib_h=yes
25665 else
25666 echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.$ac_ext >&5
25668
25669 ac_cv_header_zlib_h=no
25670 fi
25671
25672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25673 fi
25674 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25675 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25676
25677
25678
25679 system_zlib_h_ok=$ac_cv_header_zlib_h
25680 fi
25681
25682 if test "$system_zlib_h_ok" = "yes"; then
25683 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25684 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25685 if test "${ac_cv_lib_z_deflate+set}" = set; then
25686 echo $ECHO_N "(cached) $ECHO_C" >&6
25687 else
25688 ac_check_lib_save_LIBS=$LIBS
25689 LIBS="-lz $LIBS"
25690 cat >conftest.$ac_ext <<_ACEOF
25691 /* confdefs.h. */
25692 _ACEOF
25693 cat confdefs.h >>conftest.$ac_ext
25694 cat >>conftest.$ac_ext <<_ACEOF
25695 /* end confdefs.h. */
25696
25697 /* Override any GCC internal prototype to avoid an error.
25698 Use char because int might match the return type of a GCC
25699 builtin and then its argument prototype would still apply. */
25700 #ifdef __cplusplus
25701 extern "C"
25702 #endif
25703 char deflate ();
25704 int
25705 main ()
25706 {
25707 return deflate ();
25708 ;
25709 return 0;
25710 }
25711 _ACEOF
25712 rm -f conftest.$ac_objext conftest$ac_exeext
25713 if { (ac_try="$ac_link"
25714 case "(($ac_try" in
25715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25716 *) ac_try_echo=$ac_try;;
25717 esac
25718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25719 (eval "$ac_link") 2>conftest.er1
25720 ac_status=$?
25721 grep -v '^ *+' conftest.er1 >conftest.err
25722 rm -f conftest.er1
25723 cat conftest.err >&5
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); } && {
25726 test -z "$ac_c_werror_flag" ||
25727 test ! -s conftest.err
25728 } && test -s conftest$ac_exeext &&
25729 $as_test_x conftest$ac_exeext; then
25730 ac_cv_lib_z_deflate=yes
25731 else
25732 echo "$as_me: failed program was:" >&5
25733 sed 's/^/| /' conftest.$ac_ext >&5
25734
25735 ac_cv_lib_z_deflate=no
25736 fi
25737
25738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25739 conftest$ac_exeext conftest.$ac_ext
25740 LIBS=$ac_check_lib_save_LIBS
25741 fi
25742 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25743 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25744 if test $ac_cv_lib_z_deflate = yes; then
25745 ZLIB_LINK=" -lz"
25746 fi
25747
25748 fi
25749
25750 if test "x$ZLIB_LINK" = "x" ; then
25751 if test "$wxUSE_ZLIB" = "sys" ; then
25752 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25753 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25754 { (exit 1); exit 1; }; }
25755 else
25756 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25757 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25758 wxUSE_ZLIB=builtin
25759 fi
25760 else
25761 wxUSE_ZLIB=sys
25762 fi
25763 fi
25764 fi
25765
25766
25767 PNG_LINK=
25768 if test "$wxUSE_LIBPNG" != "no" ; then
25769 cat >>confdefs.h <<\_ACEOF
25770 #define wxUSE_LIBPNG 1
25771 _ACEOF
25772
25773
25774 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25775 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25776 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25777 wxUSE_LIBPNG=sys
25778 fi
25779
25780 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25781 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25782 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25783 wxUSE_LIBPNG=builtin
25784 fi
25785
25786 if test "$wxUSE_MGL" != 1 ; then
25787 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25788 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25789 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25790 if test "${ac_cv_header_png_h+set}" = set; then
25791 echo $ECHO_N "(cached) $ECHO_C" >&6
25792 else
25793 if test "$cross_compiling" = yes; then
25794 unset ac_cv_header_png_h
25795
25796 else
25797 cat >conftest.$ac_ext <<_ACEOF
25798 /* confdefs.h. */
25799 _ACEOF
25800 cat confdefs.h >>conftest.$ac_ext
25801 cat >>conftest.$ac_ext <<_ACEOF
25802 /* end confdefs.h. */
25803
25804 #include <png.h>
25805 #include <stdio.h>
25806
25807 int main()
25808 {
25809 FILE *f=fopen("conftestval", "w");
25810 if (!f) exit(1);
25811 fprintf(f, "%s",
25812 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25813 exit(0);
25814 }
25815
25816 _ACEOF
25817 rm -f conftest$ac_exeext
25818 if { (ac_try="$ac_link"
25819 case "(($ac_try" in
25820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25821 *) ac_try_echo=$ac_try;;
25822 esac
25823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25824 (eval "$ac_link") 2>&5
25825 ac_status=$?
25826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25828 { (case "(($ac_try" in
25829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25830 *) ac_try_echo=$ac_try;;
25831 esac
25832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25833 (eval "$ac_try") 2>&5
25834 ac_status=$?
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); }; }; then
25837 ac_cv_header_png_h=`cat conftestval`
25838 else
25839 echo "$as_me: program exited with status $ac_status" >&5
25840 echo "$as_me: failed program was:" >&5
25841 sed 's/^/| /' conftest.$ac_ext >&5
25842
25843 ( exit $ac_status )
25844 ac_cv_header_png_h=no
25845 fi
25846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25847 fi
25848
25849
25850
25851 fi
25852 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25853 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25854 { echo "$as_me:$LINENO: checking for png.h" >&5
25855 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25856 if test "${ac_cv_header_png_h+set}" = set; then
25857 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 else
25859 cat >conftest.$ac_ext <<_ACEOF
25860 /* confdefs.h. */
25861 _ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865
25866
25867 #include <png.h>
25868 _ACEOF
25869 rm -f conftest.$ac_objext
25870 if { (ac_try="$ac_compile"
25871 case "(($ac_try" in
25872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25874 esac
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_compile") 2>conftest.er1
25877 ac_status=$?
25878 grep -v '^ *+' conftest.er1 >conftest.err
25879 rm -f conftest.er1
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } && {
25883 test -z "$ac_c_werror_flag" ||
25884 test ! -s conftest.err
25885 } && test -s conftest.$ac_objext; then
25886 ac_cv_header_png_h=yes
25887 else
25888 echo "$as_me: failed program was:" >&5
25889 sed 's/^/| /' conftest.$ac_ext >&5
25890
25891 ac_cv_header_png_h=no
25892 fi
25893
25894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25895 fi
25896 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25897 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25898
25899
25900
25901 if test "$ac_cv_header_png_h" = "yes"; then
25902 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25903 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25904 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25905 echo $ECHO_N "(cached) $ECHO_C" >&6
25906 else
25907 ac_check_lib_save_LIBS=$LIBS
25908 LIBS="-lpng -lz -lm $LIBS"
25909 cat >conftest.$ac_ext <<_ACEOF
25910 /* confdefs.h. */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915
25916 /* Override any GCC internal prototype to avoid an error.
25917 Use char because int might match the return type of a GCC
25918 builtin and then its argument prototype would still apply. */
25919 #ifdef __cplusplus
25920 extern "C"
25921 #endif
25922 char png_check_sig ();
25923 int
25924 main ()
25925 {
25926 return png_check_sig ();
25927 ;
25928 return 0;
25929 }
25930 _ACEOF
25931 rm -f conftest.$ac_objext conftest$ac_exeext
25932 if { (ac_try="$ac_link"
25933 case "(($ac_try" in
25934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25935 *) ac_try_echo=$ac_try;;
25936 esac
25937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25938 (eval "$ac_link") 2>conftest.er1
25939 ac_status=$?
25940 grep -v '^ *+' conftest.er1 >conftest.err
25941 rm -f conftest.er1
25942 cat conftest.err >&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); } && {
25945 test -z "$ac_c_werror_flag" ||
25946 test ! -s conftest.err
25947 } && test -s conftest$ac_exeext &&
25948 $as_test_x conftest$ac_exeext; then
25949 ac_cv_lib_png_png_check_sig=yes
25950 else
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954 ac_cv_lib_png_png_check_sig=no
25955 fi
25956
25957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25958 conftest$ac_exeext conftest.$ac_ext
25959 LIBS=$ac_check_lib_save_LIBS
25960 fi
25961 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25962 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25963 if test $ac_cv_lib_png_png_check_sig = yes; then
25964 PNG_LINK=" -lpng -lz"
25965 fi
25966
25967 fi
25968
25969 if test "x$PNG_LINK" = "x" ; then
25970 if test "$wxUSE_LIBPNG" = "sys" ; then
25971 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25972 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25973 { (exit 1); exit 1; }; }
25974 else
25975 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25976 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25977 wxUSE_LIBPNG=builtin
25978 fi
25979 else
25980 wxUSE_LIBPNG=sys
25981 fi
25982 fi
25983 fi
25984
25985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25986 fi
25987
25988
25989 JPEG_LINK=
25990 if test "$wxUSE_LIBJPEG" != "no" ; then
25991 cat >>confdefs.h <<\_ACEOF
25992 #define wxUSE_LIBJPEG 1
25993 _ACEOF
25994
25995
25996 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25997 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25998 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25999 wxUSE_LIBJPEG=sys
26000 fi
26001
26002 if test "$wxUSE_MGL" != 1 ; then
26003 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26004 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26005 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26006 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26007 echo $ECHO_N "(cached) $ECHO_C" >&6
26008 else
26009 cat >conftest.$ac_ext <<_ACEOF
26010 /* confdefs.h. */
26011 _ACEOF
26012 cat confdefs.h >>conftest.$ac_ext
26013 cat >>conftest.$ac_ext <<_ACEOF
26014 /* end confdefs.h. */
26015
26016 #undef HAVE_STDLIB_H
26017 #include <stdio.h>
26018 #include <jpeglib.h>
26019
26020 int
26021 main ()
26022 {
26023
26024
26025 ;
26026 return 0;
26027 }
26028 _ACEOF
26029 rm -f conftest.$ac_objext
26030 if { (ac_try="$ac_compile"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26034 esac
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_compile") 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest.$ac_objext; then
26046 ac_cv_header_jpeglib_h=yes
26047 else
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.$ac_ext >&5
26050
26051 ac_cv_header_jpeglib_h=no
26052
26053 fi
26054
26055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26056
26057 fi
26058
26059 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26060 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26061
26062 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26063 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26064 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26065 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26066 echo $ECHO_N "(cached) $ECHO_C" >&6
26067 else
26068 ac_check_lib_save_LIBS=$LIBS
26069 LIBS="-ljpeg $LIBS"
26070 cat >conftest.$ac_ext <<_ACEOF
26071 /* confdefs.h. */
26072 _ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26076
26077 /* Override any GCC internal prototype to avoid an error.
26078 Use char because int might match the return type of a GCC
26079 builtin and then its argument prototype would still apply. */
26080 #ifdef __cplusplus
26081 extern "C"
26082 #endif
26083 char jpeg_read_header ();
26084 int
26085 main ()
26086 {
26087 return jpeg_read_header ();
26088 ;
26089 return 0;
26090 }
26091 _ACEOF
26092 rm -f conftest.$ac_objext conftest$ac_exeext
26093 if { (ac_try="$ac_link"
26094 case "(($ac_try" in
26095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26096 *) ac_try_echo=$ac_try;;
26097 esac
26098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26099 (eval "$ac_link") 2>conftest.er1
26100 ac_status=$?
26101 grep -v '^ *+' conftest.er1 >conftest.err
26102 rm -f conftest.er1
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } && {
26106 test -z "$ac_c_werror_flag" ||
26107 test ! -s conftest.err
26108 } && test -s conftest$ac_exeext &&
26109 $as_test_x conftest$ac_exeext; then
26110 ac_cv_lib_jpeg_jpeg_read_header=yes
26111 else
26112 echo "$as_me: failed program was:" >&5
26113 sed 's/^/| /' conftest.$ac_ext >&5
26114
26115 ac_cv_lib_jpeg_jpeg_read_header=no
26116 fi
26117
26118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26119 conftest$ac_exeext conftest.$ac_ext
26120 LIBS=$ac_check_lib_save_LIBS
26121 fi
26122 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26123 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26124 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26125 JPEG_LINK=" -ljpeg"
26126 fi
26127
26128 fi
26129
26130 if test "x$JPEG_LINK" = "x" ; then
26131 if test "$wxUSE_LIBJPEG" = "sys" ; then
26132 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26133 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26134 { (exit 1); exit 1; }; }
26135 else
26136 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26137 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26138 wxUSE_LIBJPEG=builtin
26139 fi
26140 else
26141 wxUSE_LIBJPEG=sys
26142
26143 if test "$wxUSE_MSW" = 1; then
26144 { echo "$as_me:$LINENO: checking for boolean" >&5
26145 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26146 if test "${ac_cv_type_boolean+set}" = set; then
26147 echo $ECHO_N "(cached) $ECHO_C" >&6
26148 else
26149 cat >conftest.$ac_ext <<_ACEOF
26150 /* confdefs.h. */
26151 _ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155 #include <windows.h>
26156
26157 typedef boolean ac__type_new_;
26158 int
26159 main ()
26160 {
26161 if ((ac__type_new_ *) 0)
26162 return 0;
26163 if (sizeof (ac__type_new_))
26164 return 0;
26165 ;
26166 return 0;
26167 }
26168 _ACEOF
26169 rm -f conftest.$ac_objext
26170 if { (ac_try="$ac_compile"
26171 case "(($ac_try" in
26172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26173 *) ac_try_echo=$ac_try;;
26174 esac
26175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26176 (eval "$ac_compile") 2>conftest.er1
26177 ac_status=$?
26178 grep -v '^ *+' conftest.er1 >conftest.err
26179 rm -f conftest.er1
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } && {
26183 test -z "$ac_c_werror_flag" ||
26184 test ! -s conftest.err
26185 } && test -s conftest.$ac_objext; then
26186 ac_cv_type_boolean=yes
26187 else
26188 echo "$as_me: failed program was:" >&5
26189 sed 's/^/| /' conftest.$ac_ext >&5
26190
26191 ac_cv_type_boolean=no
26192 fi
26193
26194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26195 fi
26196 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26197 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26198 if test $ac_cv_type_boolean = yes; then
26199
26200 cat >>confdefs.h <<_ACEOF
26201 #define HAVE_BOOLEAN 1
26202 _ACEOF
26203
26204
26205 { echo "$as_me:$LINENO: checking for boolean" >&5
26206 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26207 if test "${ac_cv_type_boolean+set}" = set; then
26208 echo $ECHO_N "(cached) $ECHO_C" >&6
26209 else
26210 cat >conftest.$ac_ext <<_ACEOF
26211 /* confdefs.h. */
26212 _ACEOF
26213 cat confdefs.h >>conftest.$ac_ext
26214 cat >>conftest.$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216
26217 #undef HAVE_BOOLEAN
26218 #include <stdio.h>
26219 #include <jpeglib.h>
26220
26221
26222 typedef boolean ac__type_new_;
26223 int
26224 main ()
26225 {
26226 if ((ac__type_new_ *) 0)
26227 return 0;
26228 if (sizeof (ac__type_new_))
26229 return 0;
26230 ;
26231 return 0;
26232 }
26233 _ACEOF
26234 rm -f conftest.$ac_objext
26235 if { (ac_try="$ac_compile"
26236 case "(($ac_try" in
26237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26238 *) ac_try_echo=$ac_try;;
26239 esac
26240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26241 (eval "$ac_compile") 2>conftest.er1
26242 ac_status=$?
26243 grep -v '^ *+' conftest.er1 >conftest.err
26244 rm -f conftest.er1
26245 cat conftest.err >&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); } && {
26248 test -z "$ac_c_werror_flag" ||
26249 test ! -s conftest.err
26250 } && test -s conftest.$ac_objext; then
26251 ac_cv_type_boolean=yes
26252 else
26253 echo "$as_me: failed program was:" >&5
26254 sed 's/^/| /' conftest.$ac_ext >&5
26255
26256 ac_cv_type_boolean=no
26257 fi
26258
26259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26260 fi
26261 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26262 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26263
26264 # The cast to long int works around a bug in the HP C Compiler
26265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26267 # This bug is HP SR number 8606223364.
26268 { echo "$as_me:$LINENO: checking size of boolean" >&5
26269 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26270 if test "${ac_cv_sizeof_boolean+set}" = set; then
26271 echo $ECHO_N "(cached) $ECHO_C" >&6
26272 else
26273 if test "$cross_compiling" = yes; then
26274 # Depending upon the size, compute the lo and hi bounds.
26275 cat >conftest.$ac_ext <<_ACEOF
26276 /* confdefs.h. */
26277 _ACEOF
26278 cat confdefs.h >>conftest.$ac_ext
26279 cat >>conftest.$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26281
26282 #undef HAVE_BOOLEAN
26283 #include <stdio.h>
26284 #include <jpeglib.h>
26285
26286
26287 typedef boolean ac__type_sizeof_;
26288 int
26289 main ()
26290 {
26291 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26292 test_array [0] = 0
26293
26294 ;
26295 return 0;
26296 }
26297 _ACEOF
26298 rm -f conftest.$ac_objext
26299 if { (ac_try="$ac_compile"
26300 case "(($ac_try" in
26301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26302 *) ac_try_echo=$ac_try;;
26303 esac
26304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26305 (eval "$ac_compile") 2>conftest.er1
26306 ac_status=$?
26307 grep -v '^ *+' conftest.er1 >conftest.err
26308 rm -f conftest.er1
26309 cat conftest.err >&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } && {
26312 test -z "$ac_c_werror_flag" ||
26313 test ! -s conftest.err
26314 } && test -s conftest.$ac_objext; then
26315 ac_lo=0 ac_mid=0
26316 while :; do
26317 cat >conftest.$ac_ext <<_ACEOF
26318 /* confdefs.h. */
26319 _ACEOF
26320 cat confdefs.h >>conftest.$ac_ext
26321 cat >>conftest.$ac_ext <<_ACEOF
26322 /* end confdefs.h. */
26323
26324 #undef HAVE_BOOLEAN
26325 #include <stdio.h>
26326 #include <jpeglib.h>
26327
26328
26329 typedef boolean ac__type_sizeof_;
26330 int
26331 main ()
26332 {
26333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26334 test_array [0] = 0
26335
26336 ;
26337 return 0;
26338 }
26339 _ACEOF
26340 rm -f conftest.$ac_objext
26341 if { (ac_try="$ac_compile"
26342 case "(($ac_try" in
26343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26344 *) ac_try_echo=$ac_try;;
26345 esac
26346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26347 (eval "$ac_compile") 2>conftest.er1
26348 ac_status=$?
26349 grep -v '^ *+' conftest.er1 >conftest.err
26350 rm -f conftest.er1
26351 cat conftest.err >&5
26352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26353 (exit $ac_status); } && {
26354 test -z "$ac_c_werror_flag" ||
26355 test ! -s conftest.err
26356 } && test -s conftest.$ac_objext; then
26357 ac_hi=$ac_mid; break
26358 else
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.$ac_ext >&5
26361
26362 ac_lo=`expr $ac_mid + 1`
26363 if test $ac_lo -le $ac_mid; then
26364 ac_lo= ac_hi=
26365 break
26366 fi
26367 ac_mid=`expr 2 '*' $ac_mid + 1`
26368 fi
26369
26370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26371 done
26372 else
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.$ac_ext >&5
26375
26376 cat >conftest.$ac_ext <<_ACEOF
26377 /* confdefs.h. */
26378 _ACEOF
26379 cat confdefs.h >>conftest.$ac_ext
26380 cat >>conftest.$ac_ext <<_ACEOF
26381 /* end confdefs.h. */
26382
26383 #undef HAVE_BOOLEAN
26384 #include <stdio.h>
26385 #include <jpeglib.h>
26386
26387
26388 typedef boolean ac__type_sizeof_;
26389 int
26390 main ()
26391 {
26392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26393 test_array [0] = 0
26394
26395 ;
26396 return 0;
26397 }
26398 _ACEOF
26399 rm -f conftest.$ac_objext
26400 if { (ac_try="$ac_compile"
26401 case "(($ac_try" in
26402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26403 *) ac_try_echo=$ac_try;;
26404 esac
26405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26406 (eval "$ac_compile") 2>conftest.er1
26407 ac_status=$?
26408 grep -v '^ *+' conftest.er1 >conftest.err
26409 rm -f conftest.er1
26410 cat conftest.err >&5
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); } && {
26413 test -z "$ac_c_werror_flag" ||
26414 test ! -s conftest.err
26415 } && test -s conftest.$ac_objext; then
26416 ac_hi=-1 ac_mid=-1
26417 while :; do
26418 cat >conftest.$ac_ext <<_ACEOF
26419 /* confdefs.h. */
26420 _ACEOF
26421 cat confdefs.h >>conftest.$ac_ext
26422 cat >>conftest.$ac_ext <<_ACEOF
26423 /* end confdefs.h. */
26424
26425 #undef HAVE_BOOLEAN
26426 #include <stdio.h>
26427 #include <jpeglib.h>
26428
26429
26430 typedef boolean ac__type_sizeof_;
26431 int
26432 main ()
26433 {
26434 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26435 test_array [0] = 0
26436
26437 ;
26438 return 0;
26439 }
26440 _ACEOF
26441 rm -f conftest.$ac_objext
26442 if { (ac_try="$ac_compile"
26443 case "(($ac_try" in
26444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26445 *) ac_try_echo=$ac_try;;
26446 esac
26447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26448 (eval "$ac_compile") 2>conftest.er1
26449 ac_status=$?
26450 grep -v '^ *+' conftest.er1 >conftest.err
26451 rm -f conftest.er1
26452 cat conftest.err >&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } && {
26455 test -z "$ac_c_werror_flag" ||
26456 test ! -s conftest.err
26457 } && test -s conftest.$ac_objext; then
26458 ac_lo=$ac_mid; break
26459 else
26460 echo "$as_me: failed program was:" >&5
26461 sed 's/^/| /' conftest.$ac_ext >&5
26462
26463 ac_hi=`expr '(' $ac_mid ')' - 1`
26464 if test $ac_mid -le $ac_hi; then
26465 ac_lo= ac_hi=
26466 break
26467 fi
26468 ac_mid=`expr 2 '*' $ac_mid`
26469 fi
26470
26471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472 done
26473 else
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26476
26477 ac_lo= ac_hi=
26478 fi
26479
26480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26481 fi
26482
26483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26484 # Binary search between lo and hi bounds.
26485 while test "x$ac_lo" != "x$ac_hi"; do
26486 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26487 cat >conftest.$ac_ext <<_ACEOF
26488 /* confdefs.h. */
26489 _ACEOF
26490 cat confdefs.h >>conftest.$ac_ext
26491 cat >>conftest.$ac_ext <<_ACEOF
26492 /* end confdefs.h. */
26493
26494 #undef HAVE_BOOLEAN
26495 #include <stdio.h>
26496 #include <jpeglib.h>
26497
26498
26499 typedef boolean ac__type_sizeof_;
26500 int
26501 main ()
26502 {
26503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26504 test_array [0] = 0
26505
26506 ;
26507 return 0;
26508 }
26509 _ACEOF
26510 rm -f conftest.$ac_objext
26511 if { (ac_try="$ac_compile"
26512 case "(($ac_try" in
26513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26514 *) ac_try_echo=$ac_try;;
26515 esac
26516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26517 (eval "$ac_compile") 2>conftest.er1
26518 ac_status=$?
26519 grep -v '^ *+' conftest.er1 >conftest.err
26520 rm -f conftest.er1
26521 cat conftest.err >&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } && {
26524 test -z "$ac_c_werror_flag" ||
26525 test ! -s conftest.err
26526 } && test -s conftest.$ac_objext; then
26527 ac_hi=$ac_mid
26528 else
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26531
26532 ac_lo=`expr '(' $ac_mid ')' + 1`
26533 fi
26534
26535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26536 done
26537 case $ac_lo in
26538 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26539 '') if test "$ac_cv_type_boolean" = yes; then
26540 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26541 See \`config.log' for more details." >&5
26542 echo "$as_me: error: cannot compute sizeof (boolean)
26543 See \`config.log' for more details." >&2;}
26544 { (exit 77); exit 77; }; }
26545 else
26546 ac_cv_sizeof_boolean=0
26547 fi ;;
26548 esac
26549 else
26550 cat >conftest.$ac_ext <<_ACEOF
26551 /* confdefs.h. */
26552 _ACEOF
26553 cat confdefs.h >>conftest.$ac_ext
26554 cat >>conftest.$ac_ext <<_ACEOF
26555 /* end confdefs.h. */
26556
26557 #undef HAVE_BOOLEAN
26558 #include <stdio.h>
26559 #include <jpeglib.h>
26560
26561
26562 typedef boolean ac__type_sizeof_;
26563 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26564 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26565 #include <stdio.h>
26566 #include <stdlib.h>
26567 int
26568 main ()
26569 {
26570
26571 FILE *f = fopen ("conftest.val", "w");
26572 if (! f)
26573 return 1;
26574 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26575 {
26576 long int i = longval ();
26577 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26578 return 1;
26579 fprintf (f, "%ld\n", i);
26580 }
26581 else
26582 {
26583 unsigned long int i = ulongval ();
26584 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26585 return 1;
26586 fprintf (f, "%lu\n", i);
26587 }
26588 return ferror (f) || fclose (f) != 0;
26589
26590 ;
26591 return 0;
26592 }
26593 _ACEOF
26594 rm -f conftest$ac_exeext
26595 if { (ac_try="$ac_link"
26596 case "(($ac_try" in
26597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26598 *) ac_try_echo=$ac_try;;
26599 esac
26600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26601 (eval "$ac_link") 2>&5
26602 ac_status=$?
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26605 { (case "(($ac_try" in
26606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26607 *) ac_try_echo=$ac_try;;
26608 esac
26609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26610 (eval "$ac_try") 2>&5
26611 ac_status=$?
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; }; then
26614 ac_cv_sizeof_boolean=`cat conftest.val`
26615 else
26616 echo "$as_me: program exited with status $ac_status" >&5
26617 echo "$as_me: failed program was:" >&5
26618 sed 's/^/| /' conftest.$ac_ext >&5
26619
26620 ( exit $ac_status )
26621 if test "$ac_cv_type_boolean" = yes; then
26622 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26623 See \`config.log' for more details." >&5
26624 echo "$as_me: error: cannot compute sizeof (boolean)
26625 See \`config.log' for more details." >&2;}
26626 { (exit 77); exit 77; }; }
26627 else
26628 ac_cv_sizeof_boolean=0
26629 fi
26630 fi
26631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26632 fi
26633 rm -f conftest.val
26634 fi
26635 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26636 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26637
26638
26639
26640 cat >>confdefs.h <<_ACEOF
26641 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26642 _ACEOF
26643
26644
26645 cat >>confdefs.h <<_ACEOF
26646 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26647 _ACEOF
26648
26649
26650 fi
26651
26652 fi
26653 fi
26654 fi
26655 fi
26656 fi
26657
26658
26659 TIFF_LINK=
26660 TIFF_PREREQ_LINKS=-lm
26661 if test "$wxUSE_LIBTIFF" != "no" ; then
26662 cat >>confdefs.h <<\_ACEOF
26663 #define wxUSE_LIBTIFF 1
26664 _ACEOF
26665
26666
26667 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26668 if test "$wxUSE_LIBJPEG" = "sys"; then
26669 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26670 fi
26671 if test "$wxUSE_ZLIB" = "sys"; then
26672 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26673 fi
26674 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26675 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26676 if test "${ac_cv_header_tiffio_h+set}" = set; then
26677 echo $ECHO_N "(cached) $ECHO_C" >&6
26678 else
26679 cat >conftest.$ac_ext <<_ACEOF
26680 /* confdefs.h. */
26681 _ACEOF
26682 cat confdefs.h >>conftest.$ac_ext
26683 cat >>conftest.$ac_ext <<_ACEOF
26684 /* end confdefs.h. */
26685
26686
26687
26688 #include <tiffio.h>
26689 _ACEOF
26690 rm -f conftest.$ac_objext
26691 if { (ac_try="$ac_compile"
26692 case "(($ac_try" in
26693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26694 *) ac_try_echo=$ac_try;;
26695 esac
26696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26697 (eval "$ac_compile") 2>conftest.er1
26698 ac_status=$?
26699 grep -v '^ *+' conftest.er1 >conftest.err
26700 rm -f conftest.er1
26701 cat conftest.err >&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } && {
26704 test -z "$ac_c_werror_flag" ||
26705 test ! -s conftest.err
26706 } && test -s conftest.$ac_objext; then
26707 ac_cv_header_tiffio_h=yes
26708 else
26709 echo "$as_me: failed program was:" >&5
26710 sed 's/^/| /' conftest.$ac_ext >&5
26711
26712 ac_cv_header_tiffio_h=no
26713 fi
26714
26715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26716 fi
26717 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26718 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26719 if test $ac_cv_header_tiffio_h = yes; then
26720
26721 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26722 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26723 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26724 echo $ECHO_N "(cached) $ECHO_C" >&6
26725 else
26726 ac_check_lib_save_LIBS=$LIBS
26727 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26728 cat >conftest.$ac_ext <<_ACEOF
26729 /* confdefs.h. */
26730 _ACEOF
26731 cat confdefs.h >>conftest.$ac_ext
26732 cat >>conftest.$ac_ext <<_ACEOF
26733 /* end confdefs.h. */
26734
26735 /* Override any GCC internal prototype to avoid an error.
26736 Use char because int might match the return type of a GCC
26737 builtin and then its argument prototype would still apply. */
26738 #ifdef __cplusplus
26739 extern "C"
26740 #endif
26741 char TIFFError ();
26742 int
26743 main ()
26744 {
26745 return TIFFError ();
26746 ;
26747 return 0;
26748 }
26749 _ACEOF
26750 rm -f conftest.$ac_objext conftest$ac_exeext
26751 if { (ac_try="$ac_link"
26752 case "(($ac_try" in
26753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26754 *) ac_try_echo=$ac_try;;
26755 esac
26756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26757 (eval "$ac_link") 2>conftest.er1
26758 ac_status=$?
26759 grep -v '^ *+' conftest.er1 >conftest.err
26760 rm -f conftest.er1
26761 cat conftest.err >&5
26762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26763 (exit $ac_status); } && {
26764 test -z "$ac_c_werror_flag" ||
26765 test ! -s conftest.err
26766 } && test -s conftest$ac_exeext &&
26767 $as_test_x conftest$ac_exeext; then
26768 ac_cv_lib_tiff_TIFFError=yes
26769 else
26770 echo "$as_me: failed program was:" >&5
26771 sed 's/^/| /' conftest.$ac_ext >&5
26772
26773 ac_cv_lib_tiff_TIFFError=no
26774 fi
26775
26776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26777 conftest$ac_exeext conftest.$ac_ext
26778 LIBS=$ac_check_lib_save_LIBS
26779 fi
26780 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26781 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26782 if test $ac_cv_lib_tiff_TIFFError = yes; then
26783 TIFF_LINK=" -ltiff"
26784 fi
26785
26786
26787 fi
26788
26789
26790
26791 if test "x$TIFF_LINK" = "x" ; then
26792 if test "$wxUSE_LIBTIFF" = "sys" ; then
26793 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26794 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26795 { (exit 1); exit 1; }; }
26796 else
26797 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26798 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26799 wxUSE_LIBTIFF=builtin
26800 fi
26801 else
26802 wxUSE_LIBTIFF=sys
26803 fi
26804 fi
26805 fi
26806
26807
26808 if test "$wxUSE_WCHAR_T" != "yes"; then
26809 if test "$wxUSE_EXPAT" != "no"; then
26810 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26811 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26812 wxUSE_EXPAT=no
26813 fi
26814 if test "$wxUSE_XML" != "no"; then
26815 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26816 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26817 wxUSE_XML=no
26818 fi
26819 fi
26820
26821 if test "$wxUSE_EXPAT" != "no"; then
26822 wxUSE_XML=yes
26823 cat >>confdefs.h <<\_ACEOF
26824 #define wxUSE_EXPAT 1
26825 _ACEOF
26826
26827 cat >>confdefs.h <<\_ACEOF
26828 #define wxUSE_XML 1
26829 _ACEOF
26830
26831
26832 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26833 { echo "$as_me:$LINENO: checking for expat.h" >&5
26834 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26835 if test "${ac_cv_header_expat_h+set}" = set; then
26836 echo $ECHO_N "(cached) $ECHO_C" >&6
26837 else
26838 cat >conftest.$ac_ext <<_ACEOF
26839 /* confdefs.h. */
26840 _ACEOF
26841 cat confdefs.h >>conftest.$ac_ext
26842 cat >>conftest.$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26844
26845
26846 #include <expat.h>
26847 _ACEOF
26848 rm -f conftest.$ac_objext
26849 if { (ac_try="$ac_compile"
26850 case "(($ac_try" in
26851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26852 *) ac_try_echo=$ac_try;;
26853 esac
26854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26855 (eval "$ac_compile") 2>conftest.er1
26856 ac_status=$?
26857 grep -v '^ *+' conftest.er1 >conftest.err
26858 rm -f conftest.er1
26859 cat conftest.err >&5
26860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861 (exit $ac_status); } && {
26862 test -z "$ac_c_werror_flag" ||
26863 test ! -s conftest.err
26864 } && test -s conftest.$ac_objext; then
26865 ac_cv_header_expat_h=yes
26866 else
26867 echo "$as_me: failed program was:" >&5
26868 sed 's/^/| /' conftest.$ac_ext >&5
26869
26870 ac_cv_header_expat_h=no
26871 fi
26872
26873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26874 fi
26875 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26876 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26877 if test $ac_cv_header_expat_h = yes; then
26878 found_expat_h=1
26879 fi
26880
26881
26882 if test "x$found_expat_h" = "x1"; then
26883 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26884 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26885 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 else
26888
26889 ac_ext=cpp
26890 ac_cpp='$CXXCPP $CPPFLAGS'
26891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26894
26895 cat >conftest.$ac_ext <<_ACEOF
26896 /* confdefs.h. */
26897 _ACEOF
26898 cat confdefs.h >>conftest.$ac_ext
26899 cat >>conftest.$ac_ext <<_ACEOF
26900 /* end confdefs.h. */
26901 #include <expat.h>
26902 int
26903 main ()
26904 {
26905
26906 ;
26907 return 0;
26908 }
26909 _ACEOF
26910 rm -f conftest.$ac_objext
26911 if { (ac_try="$ac_compile"
26912 case "(($ac_try" in
26913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26914 *) ac_try_echo=$ac_try;;
26915 esac
26916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26917 (eval "$ac_compile") 2>conftest.er1
26918 ac_status=$?
26919 grep -v '^ *+' conftest.er1 >conftest.err
26920 rm -f conftest.er1
26921 cat conftest.err >&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } && {
26924 test -z "$ac_cxx_werror_flag" ||
26925 test ! -s conftest.err
26926 } && test -s conftest.$ac_objext; then
26927 wx_cv_expat_is_not_broken=yes
26928 else
26929 echo "$as_me: failed program was:" >&5
26930 sed 's/^/| /' conftest.$ac_ext >&5
26931
26932 wx_cv_expat_is_not_broken=no
26933
26934 fi
26935
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937 ac_ext=c
26938 ac_cpp='$CPP $CPPFLAGS'
26939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26942
26943
26944
26945 fi
26946 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26947 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26948 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26949 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26950 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26951 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26952 echo $ECHO_N "(cached) $ECHO_C" >&6
26953 else
26954 ac_check_lib_save_LIBS=$LIBS
26955 LIBS="-lexpat $LIBS"
26956 cat >conftest.$ac_ext <<_ACEOF
26957 /* confdefs.h. */
26958 _ACEOF
26959 cat confdefs.h >>conftest.$ac_ext
26960 cat >>conftest.$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26962
26963 /* Override any GCC internal prototype to avoid an error.
26964 Use char because int might match the return type of a GCC
26965 builtin and then its argument prototype would still apply. */
26966 #ifdef __cplusplus
26967 extern "C"
26968 #endif
26969 char XML_ParserCreate ();
26970 int
26971 main ()
26972 {
26973 return XML_ParserCreate ();
26974 ;
26975 return 0;
26976 }
26977 _ACEOF
26978 rm -f conftest.$ac_objext conftest$ac_exeext
26979 if { (ac_try="$ac_link"
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_link") 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_exeext &&
26995 $as_test_x conftest$ac_exeext; then
26996 ac_cv_lib_expat_XML_ParserCreate=yes
26997 else
26998 echo "$as_me: failed program was:" >&5
26999 sed 's/^/| /' conftest.$ac_ext >&5
27000
27001 ac_cv_lib_expat_XML_ParserCreate=no
27002 fi
27003
27004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27005 conftest$ac_exeext conftest.$ac_ext
27006 LIBS=$ac_check_lib_save_LIBS
27007 fi
27008 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27009 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27010 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27011 EXPAT_LINK=" -lexpat"
27012 fi
27013
27014 fi
27015 fi
27016 if test "x$EXPAT_LINK" = "x" ; then
27017 if test "$wxUSE_EXPAT" = "sys" ; then
27018 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27019 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27020 { (exit 1); exit 1; }; }
27021 else
27022 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27023 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27024 wxUSE_EXPAT=builtin
27025 fi
27026 else
27027 wxUSE_EXPAT=sys
27028 fi
27029 fi
27030 if test "$wxUSE_EXPAT" = "builtin" ; then
27031 subdirs="$subdirs src/expat"
27032
27033 fi
27034 fi
27035
27036
27037
27038 if test "$wxUSE_LIBMSPACK" != "no"; then
27039 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27040 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27041 if test "${ac_cv_header_mspack_h+set}" = set; then
27042 echo $ECHO_N "(cached) $ECHO_C" >&6
27043 else
27044 cat >conftest.$ac_ext <<_ACEOF
27045 /* confdefs.h. */
27046 _ACEOF
27047 cat confdefs.h >>conftest.$ac_ext
27048 cat >>conftest.$ac_ext <<_ACEOF
27049 /* end confdefs.h. */
27050
27051
27052 #include <mspack.h>
27053 _ACEOF
27054 rm -f conftest.$ac_objext
27055 if { (ac_try="$ac_compile"
27056 case "(($ac_try" in
27057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27058 *) ac_try_echo=$ac_try;;
27059 esac
27060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27061 (eval "$ac_compile") 2>conftest.er1
27062 ac_status=$?
27063 grep -v '^ *+' conftest.er1 >conftest.err
27064 rm -f conftest.er1
27065 cat conftest.err >&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } && {
27068 test -z "$ac_c_werror_flag" ||
27069 test ! -s conftest.err
27070 } && test -s conftest.$ac_objext; then
27071 ac_cv_header_mspack_h=yes
27072 else
27073 echo "$as_me: failed program was:" >&5
27074 sed 's/^/| /' conftest.$ac_ext >&5
27075
27076 ac_cv_header_mspack_h=no
27077 fi
27078
27079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27080 fi
27081 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27082 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27083 if test $ac_cv_header_mspack_h = yes; then
27084 found_mspack_h=1
27085 fi
27086
27087
27088 if test "x$found_mspack_h" = "x1"; then
27089 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27090 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27091 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27092 echo $ECHO_N "(cached) $ECHO_C" >&6
27093 else
27094 ac_check_lib_save_LIBS=$LIBS
27095 LIBS="-lmspack $LIBS"
27096 cat >conftest.$ac_ext <<_ACEOF
27097 /* confdefs.h. */
27098 _ACEOF
27099 cat confdefs.h >>conftest.$ac_ext
27100 cat >>conftest.$ac_ext <<_ACEOF
27101 /* end confdefs.h. */
27102
27103 /* Override any GCC internal prototype to avoid an error.
27104 Use char because int might match the return type of a GCC
27105 builtin and then its argument prototype would still apply. */
27106 #ifdef __cplusplus
27107 extern "C"
27108 #endif
27109 char mspack_create_chm_decompressor ();
27110 int
27111 main ()
27112 {
27113 return mspack_create_chm_decompressor ();
27114 ;
27115 return 0;
27116 }
27117 _ACEOF
27118 rm -f conftest.$ac_objext conftest$ac_exeext
27119 if { (ac_try="$ac_link"
27120 case "(($ac_try" in
27121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27122 *) ac_try_echo=$ac_try;;
27123 esac
27124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27125 (eval "$ac_link") 2>conftest.er1
27126 ac_status=$?
27127 grep -v '^ *+' conftest.er1 >conftest.err
27128 rm -f conftest.er1
27129 cat conftest.err >&5
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); } && {
27132 test -z "$ac_c_werror_flag" ||
27133 test ! -s conftest.err
27134 } && test -s conftest$ac_exeext &&
27135 $as_test_x conftest$ac_exeext; then
27136 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27137 else
27138 echo "$as_me: failed program was:" >&5
27139 sed 's/^/| /' conftest.$ac_ext >&5
27140
27141 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27142 fi
27143
27144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27145 conftest$ac_exeext conftest.$ac_ext
27146 LIBS=$ac_check_lib_save_LIBS
27147 fi
27148 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27149 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27150 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27151 MSPACK_LINK=" -lmspack"
27152 fi
27153
27154 fi
27155 if test "x$MSPACK_LINK" = "x" ; then
27156 wxUSE_LIBMSPACK=no
27157 fi
27158 fi
27159
27160 if test "$wxUSE_LIBMSPACK" != "no"; then
27161 cat >>confdefs.h <<\_ACEOF
27162 #define wxUSE_LIBMSPACK 1
27163 _ACEOF
27164
27165 fi
27166
27167
27168
27169 AFMINSTALL=
27170 WIN32INSTALL=
27171
27172 TOOLKIT=
27173 TOOLKIT_INCLUDE=
27174 WIDGET_SET=
27175
27176 if test "$USE_WIN32" = 1 ; then
27177 { echo "$as_me:$LINENO: checking for w32api.h" >&5
27178 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
27179 if test "${ac_cv_header_w32api_h+set}" = set; then
27180 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 else
27182 cat >conftest.$ac_ext <<_ACEOF
27183 /* confdefs.h. */
27184 _ACEOF
27185 cat confdefs.h >>conftest.$ac_ext
27186 cat >>conftest.$ac_ext <<_ACEOF
27187 /* end confdefs.h. */
27188
27189
27190 #include <w32api.h>
27191 _ACEOF
27192 rm -f conftest.$ac_objext
27193 if { (ac_try="$ac_compile"
27194 case "(($ac_try" in
27195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27196 *) ac_try_echo=$ac_try;;
27197 esac
27198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27199 (eval "$ac_compile") 2>conftest.er1
27200 ac_status=$?
27201 grep -v '^ *+' conftest.er1 >conftest.err
27202 rm -f conftest.er1
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } && {
27206 test -z "$ac_c_werror_flag" ||
27207 test ! -s conftest.err
27208 } && test -s conftest.$ac_objext; then
27209 ac_cv_header_w32api_h=yes
27210 else
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27213
27214 ac_cv_header_w32api_h=no
27215 fi
27216
27217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27218 fi
27219 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
27220 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
27221
27222
27223 { echo "$as_me:$LINENO: checking for windows.h" >&5
27224 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27225 if test "${ac_cv_header_windows_h+set}" = set; then
27226 echo $ECHO_N "(cached) $ECHO_C" >&6
27227 else
27228 cat >conftest.$ac_ext <<_ACEOF
27229 /* confdefs.h. */
27230 _ACEOF
27231 cat confdefs.h >>conftest.$ac_ext
27232 cat >>conftest.$ac_ext <<_ACEOF
27233 /* end confdefs.h. */
27234
27235
27236 #include <windows.h>
27237 _ACEOF
27238 rm -f conftest.$ac_objext
27239 if { (ac_try="$ac_compile"
27240 case "(($ac_try" in
27241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27242 *) ac_try_echo=$ac_try;;
27243 esac
27244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27245 (eval "$ac_compile") 2>conftest.er1
27246 ac_status=$?
27247 grep -v '^ *+' conftest.er1 >conftest.err
27248 rm -f conftest.er1
27249 cat conftest.err >&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } && {
27252 test -z "$ac_c_werror_flag" ||
27253 test ! -s conftest.err
27254 } && test -s conftest.$ac_objext; then
27255 ac_cv_header_windows_h=yes
27256 else
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.$ac_ext >&5
27259
27260 ac_cv_header_windows_h=no
27261 fi
27262
27263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 fi
27265 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27266 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27267 if test $ac_cv_header_windows_h = yes; then
27268 :
27269 else
27270
27271 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27272 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27273 { (exit 1); exit 1; }; }
27274
27275 fi
27276
27277
27278
27279 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27280
27281 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27282 LIBS="$LIBS -loleacc"
27283 fi
27284
27285 case "${host}" in
27286 *-*-cygwin* )
27287 LIBS="$LIBS -lkernel32 -luser32"
27288 esac
27289
27290 if test "$wxUSE_ODBC" = "sys" ; then
27291 wxUSE_ODBC = "yes"
27292 fi
27293 if test "$wxUSE_ODBC" = "yes" ; then
27294 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27295 cat >>confdefs.h <<\_ACEOF
27296 #define wxUSE_ODBC 1
27297 _ACEOF
27298
27299 fi
27300
27301 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27302 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27303
27304 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27305
27306 WIN32INSTALL=win32install
27307
27308 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27309 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27310 if test "${ac_cv_header_pbt_h+set}" = set; then
27311 echo $ECHO_N "(cached) $ECHO_C" >&6
27312 else
27313 cat >conftest.$ac_ext <<_ACEOF
27314 /* confdefs.h. */
27315 _ACEOF
27316 cat confdefs.h >>conftest.$ac_ext
27317 cat >>conftest.$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27319
27320
27321 #include <pbt.h>
27322 _ACEOF
27323 rm -f conftest.$ac_objext
27324 if { (ac_try="$ac_compile"
27325 case "(($ac_try" in
27326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27327 *) ac_try_echo=$ac_try;;
27328 esac
27329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27330 (eval "$ac_compile") 2>conftest.er1
27331 ac_status=$?
27332 grep -v '^ *+' conftest.er1 >conftest.err
27333 rm -f conftest.er1
27334 cat conftest.err >&5
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); } && {
27337 test -z "$ac_c_werror_flag" ||
27338 test ! -s conftest.err
27339 } && test -s conftest.$ac_objext; then
27340 ac_cv_header_pbt_h=yes
27341 else
27342 echo "$as_me: failed program was:" >&5
27343 sed 's/^/| /' conftest.$ac_ext >&5
27344
27345 ac_cv_header_pbt_h=no
27346 fi
27347
27348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27349 fi
27350 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27351 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27352 if test $ac_cv_header_pbt_h = yes; then
27353 :
27354 else
27355 cat >>confdefs.h <<\_ACEOF
27356 #define NEED_PBT_H 1
27357 _ACEOF
27358
27359 fi
27360
27361
27362 fi
27363
27364 if test "$wxUSE_GUI" = "yes"; then
27365 USE_GUI=1
27366
27367 GUI_TK_LIBRARY=
27368
27369 WXGTK12=
27370 WXGTK127=
27371 WXGTK20=
27372 WXGPE=
27373
27374 if test "$wxUSE_COCOA" = 1 ; then
27375 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27376 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27377 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27378 wxUSE_PRINTING_ARCHITECTURE=no
27379 fi
27380 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27381 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27382 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27383 wxUSE_DRAG_AND_DROP=no
27384 fi
27385 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27386 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27387 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27388 wxUSE_DRAGIMAGE=no
27389 fi
27390 fi
27391
27392 if test "$wxUSE_MSW" = 1 ; then
27393 TOOLKIT=MSW
27394 GUIDIST=MSW_DIST
27395
27396 case "${host}" in
27397 *-*-mingw32* )
27398 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27399 esac
27400 fi
27401
27402 if test "$wxUSE_GTK" = 1; then
27403 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27404 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27405
27406 gtk_version_cached=1
27407 if test "${wx_cv_lib_gtk+set}" = set; then
27408 echo $ECHO_N "(cached) $ECHO_C" >&6
27409 else
27410
27411 gtk_version_cached=0
27412 { echo "$as_me:$LINENO: result: " >&5
27413 echo "${ECHO_T}" >&6; }
27414
27415 GTK_MODULES=
27416 if test "$wxUSE_THREADS" = "yes"; then
27417 GTK_MODULES=gthread
27418 fi
27419
27420 wx_cv_lib_gtk=
27421 if test "x$wxGTK_VERSION" != "x1"
27422 then
27423 case "${host}" in
27424 *-*-solaris2* )
27425 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27426 enable_gtktest=no
27427 fi
27428 esac
27429
27430 # Check whether --enable-gtktest was given.
27431 if test "${enable_gtktest+set}" = set; then
27432 enableval=$enable_gtktest;
27433 else
27434 enable_gtktest=yes
27435 fi
27436
27437
27438 pkg_config_args=gtk+-2.0
27439 for module in . $GTK_MODULES
27440 do
27441 case "$module" in
27442 gthread)
27443 pkg_config_args="$pkg_config_args gthread-2.0"
27444 ;;
27445 esac
27446 done
27447
27448 no_gtk=""
27449
27450 # Extract the first word of "pkg-config", so it can be a program name with args.
27451 set dummy pkg-config; ac_word=$2
27452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27454 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27455 echo $ECHO_N "(cached) $ECHO_C" >&6
27456 else
27457 case $PKG_CONFIG in
27458 [\\/]* | ?:[\\/]*)
27459 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27460 ;;
27461 *)
27462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27463 for as_dir in $PATH
27464 do
27465 IFS=$as_save_IFS
27466 test -z "$as_dir" && as_dir=.
27467 for ac_exec_ext in '' $ac_executable_extensions; do
27468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27469 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27471 break 2
27472 fi
27473 done
27474 done
27475 IFS=$as_save_IFS
27476
27477 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27478 ;;
27479 esac
27480 fi
27481 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27482 if test -n "$PKG_CONFIG"; then
27483 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27484 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27485 else
27486 { echo "$as_me:$LINENO: result: no" >&5
27487 echo "${ECHO_T}no" >&6; }
27488 fi
27489
27490
27491
27492 if test x$PKG_CONFIG != xno ; then
27493 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27494 :
27495 else
27496 echo "*** pkg-config too old; version 0.7 or better required."
27497 no_gtk=yes
27498 PKG_CONFIG=no
27499 fi
27500 else
27501 no_gtk=yes
27502 fi
27503
27504 min_gtk_version=2.0.0
27505 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27506 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27507
27508 if test x$PKG_CONFIG != xno ; then
27509 ## don't try to run the test against uninstalled libtool libs
27510 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27511 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27512 enable_gtktest=no
27513 fi
27514
27515 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27516 :
27517 else
27518 no_gtk=yes
27519 fi
27520 fi
27521
27522 if test x"$no_gtk" = x ; then
27523 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27524 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27525 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27527 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27529 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27530 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27531 if test "x$enable_gtktest" = "xyes" ; then
27532 ac_save_CFLAGS="$CFLAGS"
27533 ac_save_LIBS="$LIBS"
27534 CFLAGS="$CFLAGS $GTK_CFLAGS"
27535 LIBS="$GTK_LIBS $LIBS"
27536 rm -f conf.gtktest
27537 if test "$cross_compiling" = yes; then
27538 echo $ac_n "cross compiling; assumed OK... $ac_c"
27539 else
27540 cat >conftest.$ac_ext <<_ACEOF
27541 /* confdefs.h. */
27542 _ACEOF
27543 cat confdefs.h >>conftest.$ac_ext
27544 cat >>conftest.$ac_ext <<_ACEOF
27545 /* end confdefs.h. */
27546
27547 #include <gtk/gtk.h>
27548 #include <stdio.h>
27549 #include <stdlib.h>
27550
27551 int
27552 main ()
27553 {
27554 int major, minor, micro;
27555 char *tmp_version;
27556
27557 system ("touch conf.gtktest");
27558
27559 /* HP/UX 9 (%@#!) writes to sscanf strings */
27560 tmp_version = g_strdup("$min_gtk_version");
27561 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27562 printf("%s, bad version string\n", "$min_gtk_version");
27563 exit(1);
27564 }
27565
27566 if ((gtk_major_version != $gtk_config_major_version) ||
27567 (gtk_minor_version != $gtk_config_minor_version) ||
27568 (gtk_micro_version != $gtk_config_micro_version))
27569 {
27570 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27571 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27572 gtk_major_version, gtk_minor_version, gtk_micro_version);
27573 printf ("*** was found! If pkg-config was correct, then it is best\n");
27574 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27575 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27576 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27577 printf("*** required on your system.\n");
27578 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27579 printf("*** to point to the correct configuration files\n");
27580 }
27581 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27582 (gtk_minor_version != GTK_MINOR_VERSION) ||
27583 (gtk_micro_version != GTK_MICRO_VERSION))
27584 {
27585 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27586 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27587 printf("*** library (version %d.%d.%d)\n",
27588 gtk_major_version, gtk_minor_version, gtk_micro_version);
27589 }
27590 else
27591 {
27592 if ((gtk_major_version > major) ||
27593 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27594 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27595 {
27596 return 0;
27597 }
27598 else
27599 {
27600 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27601 gtk_major_version, gtk_minor_version, gtk_micro_version);
27602 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27603 major, minor, micro);
27604 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27605 printf("***\n");
27606 printf("*** If you have already installed a sufficiently new version, this error\n");
27607 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27608 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27609 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27610 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27611 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27612 printf("*** so that the correct libraries are found at run-time))\n");
27613 }
27614 }
27615 return 1;
27616 }
27617
27618 _ACEOF
27619 rm -f conftest$ac_exeext
27620 if { (ac_try="$ac_link"
27621 case "(($ac_try" in
27622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27623 *) ac_try_echo=$ac_try;;
27624 esac
27625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27626 (eval "$ac_link") 2>&5
27627 ac_status=$?
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27630 { (case "(($ac_try" in
27631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27632 *) ac_try_echo=$ac_try;;
27633 esac
27634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27635 (eval "$ac_try") 2>&5
27636 ac_status=$?
27637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27638 (exit $ac_status); }; }; then
27639 :
27640 else
27641 echo "$as_me: program exited with status $ac_status" >&5
27642 echo "$as_me: failed program was:" >&5
27643 sed 's/^/| /' conftest.$ac_ext >&5
27644
27645 ( exit $ac_status )
27646 no_gtk=yes
27647 fi
27648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27649 fi
27650
27651
27652 CFLAGS="$ac_save_CFLAGS"
27653 LIBS="$ac_save_LIBS"
27654 fi
27655 fi
27656 if test "x$no_gtk" = x ; then
27657 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27658 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27659 wx_cv_lib_gtk=2.0
27660 else
27661 { echo "$as_me:$LINENO: result: no" >&5
27662 echo "${ECHO_T}no" >&6; }
27663 if test "$PKG_CONFIG" = "no" ; then
27664 echo "*** A new enough version of pkg-config was not found."
27665 echo "*** See http://pkgconfig.sourceforge.net"
27666 else
27667 if test -f conf.gtktest ; then
27668 :
27669 else
27670 echo "*** Could not run GTK+ test program, checking why..."
27671 ac_save_CFLAGS="$CFLAGS"
27672 ac_save_LIBS="$LIBS"
27673 CFLAGS="$CFLAGS $GTK_CFLAGS"
27674 LIBS="$LIBS $GTK_LIBS"
27675 cat >conftest.$ac_ext <<_ACEOF
27676 /* confdefs.h. */
27677 _ACEOF
27678 cat confdefs.h >>conftest.$ac_ext
27679 cat >>conftest.$ac_ext <<_ACEOF
27680 /* end confdefs.h. */
27681
27682 #include <gtk/gtk.h>
27683 #include <stdio.h>
27684
27685 int
27686 main ()
27687 {
27688 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27689 ;
27690 return 0;
27691 }
27692 _ACEOF
27693 rm -f conftest.$ac_objext conftest$ac_exeext
27694 if { (ac_try="$ac_link"
27695 case "(($ac_try" in
27696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27697 *) ac_try_echo=$ac_try;;
27698 esac
27699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27700 (eval "$ac_link") 2>conftest.er1
27701 ac_status=$?
27702 grep -v '^ *+' conftest.er1 >conftest.err
27703 rm -f conftest.er1
27704 cat conftest.err >&5
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); } && {
27707 test -z "$ac_c_werror_flag" ||
27708 test ! -s conftest.err
27709 } && test -s conftest$ac_exeext &&
27710 $as_test_x conftest$ac_exeext; then
27711 echo "*** The test program compiled, but did not run. This usually means"
27712 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27713 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27714 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27715 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27716 echo "*** is required on your system"
27717 echo "***"
27718 echo "*** If you have an old version installed, it is best to remove it, although"
27719 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27720 else
27721 echo "$as_me: failed program was:" >&5
27722 sed 's/^/| /' conftest.$ac_ext >&5
27723
27724 echo "*** The test program failed to compile or link. See the file config.log for the"
27725 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27726 fi
27727
27728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27729 conftest$ac_exeext conftest.$ac_ext
27730 CFLAGS="$ac_save_CFLAGS"
27731 LIBS="$ac_save_LIBS"
27732 fi
27733 fi
27734 GTK_CFLAGS=""
27735 GTK_LIBS=""
27736 :
27737 fi
27738
27739
27740 rm -f conf.gtktest
27741
27742
27743 case "${host}" in
27744 *-*-solaris2* )
27745 if test "$wxUSE_SHARED" != "yes"; then
27746 GTK_LIBS="$GTK_LIBS -lX11"
27747 fi
27748 esac
27749 fi
27750
27751 if test -z "$wx_cv_lib_gtk"; then
27752 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27753
27754 # Check whether --with-gtk-prefix was given.
27755 if test "${with_gtk_prefix+set}" = set; then
27756 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27757 else
27758 gtk_config_prefix=""
27759 fi
27760
27761
27762 # Check whether --with-gtk-exec-prefix was given.
27763 if test "${with_gtk_exec_prefix+set}" = set; then
27764 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27765 else
27766 gtk_config_exec_prefix=""
27767 fi
27768
27769 # Check whether --enable-gtktest was given.
27770 if test "${enable_gtktest+set}" = set; then
27771 enableval=$enable_gtktest;
27772 else
27773 enable_gtktest=yes
27774 fi
27775
27776
27777 for module in . $GTK_MODULES
27778 do
27779 case "$module" in
27780 gthread)
27781 gtk_config_args="$gtk_config_args gthread"
27782 ;;
27783 esac
27784 done
27785
27786 if test x$gtk_config_exec_prefix != x ; then
27787 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27788 if test x${GTK_CONFIG+set} != xset ; then
27789 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27790 fi
27791 fi
27792 if test x$gtk_config_prefix != x ; then
27793 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27794 if test x${GTK_CONFIG+set} != xset ; then
27795 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27796 fi
27797 fi
27798
27799 # Extract the first word of "gtk-config", so it can be a program name with args.
27800 set dummy gtk-config; ac_word=$2
27801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27803 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27804 echo $ECHO_N "(cached) $ECHO_C" >&6
27805 else
27806 case $GTK_CONFIG in
27807 [\\/]* | ?:[\\/]*)
27808 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27809 ;;
27810 *)
27811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27812 for as_dir in $PATH
27813 do
27814 IFS=$as_save_IFS
27815 test -z "$as_dir" && as_dir=.
27816 for ac_exec_ext in '' $ac_executable_extensions; do
27817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27818 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27820 break 2
27821 fi
27822 done
27823 done
27824 IFS=$as_save_IFS
27825
27826 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27827 ;;
27828 esac
27829 fi
27830 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27831 if test -n "$GTK_CONFIG"; then
27832 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27833 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27834 else
27835 { echo "$as_me:$LINENO: result: no" >&5
27836 echo "${ECHO_T}no" >&6; }
27837 fi
27838
27839
27840 min_gtk_version=1.2.7
27841 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27842 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27843 no_gtk=""
27844 if test "$GTK_CONFIG" = "no" ; then
27845 no_gtk=yes
27846 else
27847 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27848 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27849 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27850 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27851 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27852 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27853 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27855 if test "x$enable_gtktest" = "xyes" ; then
27856 ac_save_CFLAGS="$CFLAGS"
27857 ac_save_LIBS="$LIBS"
27858 CFLAGS="$CFLAGS $GTK_CFLAGS"
27859 LIBS="$GTK_LIBS $LIBS"
27860 rm -f conf.gtktest
27861 if test "$cross_compiling" = yes; then
27862 echo $ac_n "cross compiling; assumed OK... $ac_c"
27863 else
27864 cat >conftest.$ac_ext <<_ACEOF
27865 /* confdefs.h. */
27866 _ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27870
27871 #include <gtk/gtk.h>
27872 #include <stdio.h>
27873 #include <stdlib.h>
27874
27875 int
27876 main ()
27877 {
27878 int major, minor, micro;
27879 char *tmp_version;
27880
27881 system ("touch conf.gtktest");
27882
27883 /* HP/UX 9 (%@#!) writes to sscanf strings */
27884 tmp_version = g_strdup("$min_gtk_version");
27885 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27886 printf("%s, bad version string\n", "$min_gtk_version");
27887 exit(1);
27888 }
27889
27890 if ((gtk_major_version != $gtk_config_major_version) ||
27891 (gtk_minor_version != $gtk_config_minor_version) ||
27892 (gtk_micro_version != $gtk_config_micro_version))
27893 {
27894 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27895 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27896 gtk_major_version, gtk_minor_version, gtk_micro_version);
27897 printf ("*** was found! If gtk-config was correct, then it is best\n");
27898 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27899 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27900 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27901 printf("*** required on your system.\n");
27902 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27903 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27904 printf("*** before re-running configure\n");
27905 }
27906 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27907 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27908 (gtk_minor_version != GTK_MINOR_VERSION) ||
27909 (gtk_micro_version != GTK_MICRO_VERSION))
27910 {
27911 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27912 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27913 printf("*** library (version %d.%d.%d)\n",
27914 gtk_major_version, gtk_minor_version, gtk_micro_version);
27915 }
27916 #endif /* defined (GTK_MAJOR_VERSION) ... */
27917 else
27918 {
27919 if ((gtk_major_version > major) ||
27920 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27921 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27922 {
27923 return 0;
27924 }
27925 else
27926 {
27927 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27928 gtk_major_version, gtk_minor_version, gtk_micro_version);
27929 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27930 major, minor, micro);
27931 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27932 printf("***\n");
27933 printf("*** If you have already installed a sufficiently new version, this error\n");
27934 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27935 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27936 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27937 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27938 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27939 printf("*** so that the correct libraries are found at run-time))\n");
27940 }
27941 }
27942 return 1;
27943 }
27944
27945 _ACEOF
27946 rm -f conftest$ac_exeext
27947 if { (ac_try="$ac_link"
27948 case "(($ac_try" in
27949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27950 *) ac_try_echo=$ac_try;;
27951 esac
27952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27953 (eval "$ac_link") 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27957 { (case "(($ac_try" in
27958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27959 *) ac_try_echo=$ac_try;;
27960 esac
27961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27962 (eval "$ac_try") 2>&5
27963 ac_status=$?
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); }; }; then
27966 :
27967 else
27968 echo "$as_me: program exited with status $ac_status" >&5
27969 echo "$as_me: failed program was:" >&5
27970 sed 's/^/| /' conftest.$ac_ext >&5
27971
27972 ( exit $ac_status )
27973 no_gtk=yes
27974 fi
27975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27976 fi
27977
27978
27979 CFLAGS="$ac_save_CFLAGS"
27980 LIBS="$ac_save_LIBS"
27981 fi
27982 fi
27983 if test "x$no_gtk" = x ; then
27984 { echo "$as_me:$LINENO: result: yes" >&5
27985 echo "${ECHO_T}yes" >&6; }
27986 wx_cv_lib_gtk=1.2.7
27987 else
27988 { echo "$as_me:$LINENO: result: no" >&5
27989 echo "${ECHO_T}no" >&6; }
27990 if test "$GTK_CONFIG" = "no" ; then
27991 echo "*** The gtk-config script installed by GTK could not be found"
27992 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27993 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27994 echo "*** full path to gtk-config."
27995 else
27996 if test -f conf.gtktest ; then
27997 :
27998 else
27999 echo "*** Could not run GTK test program, checking why..."
28000 CFLAGS="$CFLAGS $GTK_CFLAGS"
28001 LIBS="$LIBS $GTK_LIBS"
28002 cat >conftest.$ac_ext <<_ACEOF
28003 /* confdefs.h. */
28004 _ACEOF
28005 cat confdefs.h >>conftest.$ac_ext
28006 cat >>conftest.$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28008
28009 #include <gtk/gtk.h>
28010 #include <stdio.h>
28011
28012 int
28013 main ()
28014 {
28015 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28016 ;
28017 return 0;
28018 }
28019 _ACEOF
28020 rm -f conftest.$ac_objext conftest$ac_exeext
28021 if { (ac_try="$ac_link"
28022 case "(($ac_try" in
28023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28024 *) ac_try_echo=$ac_try;;
28025 esac
28026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28027 (eval "$ac_link") 2>conftest.er1
28028 ac_status=$?
28029 grep -v '^ *+' conftest.er1 >conftest.err
28030 rm -f conftest.er1
28031 cat conftest.err >&5
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); } && {
28034 test -z "$ac_c_werror_flag" ||
28035 test ! -s conftest.err
28036 } && test -s conftest$ac_exeext &&
28037 $as_test_x conftest$ac_exeext; then
28038 echo "*** The test program compiled, but did not run. This usually means"
28039 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28040 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28041 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28042 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28043 echo "*** is required on your system"
28044 echo "***"
28045 echo "*** If you have an old version installed, it is best to remove it, although"
28046 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28047 echo "***"
28048 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28049 echo "*** came with the system with the command"
28050 echo "***"
28051 echo "*** rpm --erase --nodeps gtk gtk-devel"
28052 else
28053 echo "$as_me: failed program was:" >&5
28054 sed 's/^/| /' conftest.$ac_ext >&5
28055
28056 echo "*** The test program failed to compile or link. See the file config.log for the"
28057 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28058 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28059 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28060 fi
28061
28062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28063 conftest$ac_exeext conftest.$ac_ext
28064 CFLAGS="$ac_save_CFLAGS"
28065 LIBS="$ac_save_LIBS"
28066 fi
28067 fi
28068 GTK_CFLAGS=""
28069 GTK_LIBS=""
28070 :
28071 fi
28072
28073
28074 rm -f conf.gtktest
28075
28076
28077 if test -z "$wx_cv_lib_gtk"; then
28078
28079 # Check whether --with-gtk-prefix was given.
28080 if test "${with_gtk_prefix+set}" = set; then
28081 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28082 else
28083 gtk_config_prefix=""
28084 fi
28085
28086
28087 # Check whether --with-gtk-exec-prefix was given.
28088 if test "${with_gtk_exec_prefix+set}" = set; then
28089 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28090 else
28091 gtk_config_exec_prefix=""
28092 fi
28093
28094 # Check whether --enable-gtktest was given.
28095 if test "${enable_gtktest+set}" = set; then
28096 enableval=$enable_gtktest;
28097 else
28098 enable_gtktest=yes
28099 fi
28100
28101
28102 for module in . $GTK_MODULES
28103 do
28104 case "$module" in
28105 gthread)
28106 gtk_config_args="$gtk_config_args gthread"
28107 ;;
28108 esac
28109 done
28110
28111 if test x$gtk_config_exec_prefix != x ; then
28112 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28113 if test x${GTK_CONFIG+set} != xset ; then
28114 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28115 fi
28116 fi
28117 if test x$gtk_config_prefix != x ; then
28118 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28119 if test x${GTK_CONFIG+set} != xset ; then
28120 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28121 fi
28122 fi
28123
28124 # Extract the first word of "gtk-config", so it can be a program name with args.
28125 set dummy gtk-config; ac_word=$2
28126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28128 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28129 echo $ECHO_N "(cached) $ECHO_C" >&6
28130 else
28131 case $GTK_CONFIG in
28132 [\\/]* | ?:[\\/]*)
28133 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28134 ;;
28135 *)
28136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28137 for as_dir in $PATH
28138 do
28139 IFS=$as_save_IFS
28140 test -z "$as_dir" && as_dir=.
28141 for ac_exec_ext in '' $ac_executable_extensions; do
28142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28143 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28145 break 2
28146 fi
28147 done
28148 done
28149 IFS=$as_save_IFS
28150
28151 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28152 ;;
28153 esac
28154 fi
28155 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28156 if test -n "$GTK_CONFIG"; then
28157 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28158 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28159 else
28160 { echo "$as_me:$LINENO: result: no" >&5
28161 echo "${ECHO_T}no" >&6; }
28162 fi
28163
28164
28165 min_gtk_version=1.2.3
28166 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28167 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28168 no_gtk=""
28169 if test "$GTK_CONFIG" = "no" ; then
28170 no_gtk=yes
28171 else
28172 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28173 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28174 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28176 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28178 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28179 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28180 if test "x$enable_gtktest" = "xyes" ; then
28181 ac_save_CFLAGS="$CFLAGS"
28182 ac_save_LIBS="$LIBS"
28183 CFLAGS="$CFLAGS $GTK_CFLAGS"
28184 LIBS="$GTK_LIBS $LIBS"
28185 rm -f conf.gtktest
28186 if test "$cross_compiling" = yes; then
28187 echo $ac_n "cross compiling; assumed OK... $ac_c"
28188 else
28189 cat >conftest.$ac_ext <<_ACEOF
28190 /* confdefs.h. */
28191 _ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195
28196 #include <gtk/gtk.h>
28197 #include <stdio.h>
28198 #include <stdlib.h>
28199
28200 int
28201 main ()
28202 {
28203 int major, minor, micro;
28204 char *tmp_version;
28205
28206 system ("touch conf.gtktest");
28207
28208 /* HP/UX 9 (%@#!) writes to sscanf strings */
28209 tmp_version = g_strdup("$min_gtk_version");
28210 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28211 printf("%s, bad version string\n", "$min_gtk_version");
28212 exit(1);
28213 }
28214
28215 if ((gtk_major_version != $gtk_config_major_version) ||
28216 (gtk_minor_version != $gtk_config_minor_version) ||
28217 (gtk_micro_version != $gtk_config_micro_version))
28218 {
28219 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28220 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28221 gtk_major_version, gtk_minor_version, gtk_micro_version);
28222 printf ("*** was found! If gtk-config was correct, then it is best\n");
28223 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28224 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28225 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28226 printf("*** required on your system.\n");
28227 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28228 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28229 printf("*** before re-running configure\n");
28230 }
28231 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28232 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28233 (gtk_minor_version != GTK_MINOR_VERSION) ||
28234 (gtk_micro_version != GTK_MICRO_VERSION))
28235 {
28236 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28237 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28238 printf("*** library (version %d.%d.%d)\n",
28239 gtk_major_version, gtk_minor_version, gtk_micro_version);
28240 }
28241 #endif /* defined (GTK_MAJOR_VERSION) ... */
28242 else
28243 {
28244 if ((gtk_major_version > major) ||
28245 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28246 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28247 {
28248 return 0;
28249 }
28250 else
28251 {
28252 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28253 gtk_major_version, gtk_minor_version, gtk_micro_version);
28254 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28255 major, minor, micro);
28256 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28257 printf("***\n");
28258 printf("*** If you have already installed a sufficiently new version, this error\n");
28259 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28260 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28261 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28262 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28263 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28264 printf("*** so that the correct libraries are found at run-time))\n");
28265 }
28266 }
28267 return 1;
28268 }
28269
28270 _ACEOF
28271 rm -f conftest$ac_exeext
28272 if { (ac_try="$ac_link"
28273 case "(($ac_try" in
28274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28275 *) ac_try_echo=$ac_try;;
28276 esac
28277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28278 (eval "$ac_link") 2>&5
28279 ac_status=$?
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28282 { (case "(($ac_try" in
28283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28284 *) ac_try_echo=$ac_try;;
28285 esac
28286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28287 (eval "$ac_try") 2>&5
28288 ac_status=$?
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); }; }; then
28291 :
28292 else
28293 echo "$as_me: program exited with status $ac_status" >&5
28294 echo "$as_me: failed program was:" >&5
28295 sed 's/^/| /' conftest.$ac_ext >&5
28296
28297 ( exit $ac_status )
28298 no_gtk=yes
28299 fi
28300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28301 fi
28302
28303
28304 CFLAGS="$ac_save_CFLAGS"
28305 LIBS="$ac_save_LIBS"
28306 fi
28307 fi
28308 if test "x$no_gtk" = x ; then
28309 { echo "$as_me:$LINENO: result: yes" >&5
28310 echo "${ECHO_T}yes" >&6; }
28311 wx_cv_lib_gtk=1.2.3
28312 else
28313 { echo "$as_me:$LINENO: result: no" >&5
28314 echo "${ECHO_T}no" >&6; }
28315 if test "$GTK_CONFIG" = "no" ; then
28316 echo "*** The gtk-config script installed by GTK could not be found"
28317 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28318 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28319 echo "*** full path to gtk-config."
28320 else
28321 if test -f conf.gtktest ; then
28322 :
28323 else
28324 echo "*** Could not run GTK test program, checking why..."
28325 CFLAGS="$CFLAGS $GTK_CFLAGS"
28326 LIBS="$LIBS $GTK_LIBS"
28327 cat >conftest.$ac_ext <<_ACEOF
28328 /* confdefs.h. */
28329 _ACEOF
28330 cat confdefs.h >>conftest.$ac_ext
28331 cat >>conftest.$ac_ext <<_ACEOF
28332 /* end confdefs.h. */
28333
28334 #include <gtk/gtk.h>
28335 #include <stdio.h>
28336
28337 int
28338 main ()
28339 {
28340 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28341 ;
28342 return 0;
28343 }
28344 _ACEOF
28345 rm -f conftest.$ac_objext conftest$ac_exeext
28346 if { (ac_try="$ac_link"
28347 case "(($ac_try" in
28348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28349 *) ac_try_echo=$ac_try;;
28350 esac
28351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28352 (eval "$ac_link") 2>conftest.er1
28353 ac_status=$?
28354 grep -v '^ *+' conftest.er1 >conftest.err
28355 rm -f conftest.er1
28356 cat conftest.err >&5
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); } && {
28359 test -z "$ac_c_werror_flag" ||
28360 test ! -s conftest.err
28361 } && test -s conftest$ac_exeext &&
28362 $as_test_x conftest$ac_exeext; then
28363 echo "*** The test program compiled, but did not run. This usually means"
28364 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28365 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28366 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28367 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28368 echo "*** is required on your system"
28369 echo "***"
28370 echo "*** If you have an old version installed, it is best to remove it, although"
28371 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28372 echo "***"
28373 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28374 echo "*** came with the system with the command"
28375 echo "***"
28376 echo "*** rpm --erase --nodeps gtk gtk-devel"
28377 else
28378 echo "$as_me: failed program was:" >&5
28379 sed 's/^/| /' conftest.$ac_ext >&5
28380
28381 echo "*** The test program failed to compile or link. See the file config.log for the"
28382 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28383 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28384 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28385 fi
28386
28387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28388 conftest$ac_exeext conftest.$ac_ext
28389 CFLAGS="$ac_save_CFLAGS"
28390 LIBS="$ac_save_LIBS"
28391 fi
28392 fi
28393 GTK_CFLAGS=""
28394 GTK_LIBS=""
28395 :
28396 fi
28397
28398
28399 rm -f conf.gtktest
28400
28401 fi
28402 fi
28403 fi
28404
28405 if test -z "$wx_cv_lib_gtk"; then
28406 wx_cv_lib_gtk=none
28407 else
28408 wx_cv_cflags_gtk=$GTK_CFLAGS
28409 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28410 fi
28411
28412
28413 fi
28414
28415
28416 if test "$gtk_version_cached" = 1; then
28417 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28418 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28419 fi
28420
28421 case "$wx_cv_lib_gtk" in
28422 2.0) WXGTK20=1
28423 TOOLKIT_VERSION=2
28424 ;;
28425 1.2.7) WXGTK127=1
28426 WXGTK12=1
28427 ;;
28428 1.2.3) WXGTK12=1
28429 ;;
28430 *) { { echo "$as_me:$LINENO: error:
28431 The development files for GTK+ were not found. For GTK+ 2, please
28432 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28433 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28434 and that the version is 1.2.3 or above. Also check that the
28435 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28436 --libs' are in the LD_LIBRARY_PATH or equivalent.
28437 " >&5
28438 echo "$as_me: error:
28439 The development files for GTK+ were not found. For GTK+ 2, please
28440 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28441 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28442 and that the version is 1.2.3 or above. Also check that the
28443 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28444 --libs' are in the LD_LIBRARY_PATH or equivalent.
28445 " >&2;}
28446 { (exit 1); exit 1; }; }
28447 ;;
28448 esac
28449
28450 if test "$WXGTK20" = 1; then
28451 save_CFLAGS="$CFLAGS"
28452 save_LIBS="$LIBS"
28453 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28454 LIBS="$LIBS $wx_cv_libs_gtk"
28455
28456 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28457 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28458 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 else
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 #include <gtk/gtk.h>
28468
28469 int
28470 main ()
28471 {
28472 #ifndef gtk_icon_size_lookup
28473 (void) gtk_icon_size_lookup;
28474 #endif
28475
28476 ;
28477 return 0;
28478 }
28479 _ACEOF
28480 rm -f conftest.$ac_objext
28481 if { (ac_try="$ac_compile"
28482 case "(($ac_try" in
28483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28484 *) ac_try_echo=$ac_try;;
28485 esac
28486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28487 (eval "$ac_compile") 2>conftest.er1
28488 ac_status=$?
28489 grep -v '^ *+' conftest.er1 >conftest.err
28490 rm -f conftest.er1
28491 cat conftest.err >&5
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); } && {
28494 test -z "$ac_c_werror_flag" ||
28495 test ! -s conftest.err
28496 } && test -s conftest.$ac_objext; then
28497 ac_cv_have_decl_gtk_icon_size_lookup=yes
28498 else
28499 echo "$as_me: failed program was:" >&5
28500 sed 's/^/| /' conftest.$ac_ext >&5
28501
28502 ac_cv_have_decl_gtk_icon_size_lookup=no
28503 fi
28504
28505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28506 fi
28507 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28508 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28509 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28510
28511 cat >>confdefs.h <<_ACEOF
28512 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28513 _ACEOF
28514
28515
28516 else
28517 cat >>confdefs.h <<_ACEOF
28518 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28519 _ACEOF
28520
28521 cat >>confdefs.h <<\_ACEOF
28522 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28523 _ACEOF
28524
28525 fi
28526
28527
28528
28529
28530 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28531 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28532 cat >conftest.$ac_ext <<_ACEOF
28533 /* confdefs.h. */
28534 _ACEOF
28535 cat confdefs.h >>conftest.$ac_ext
28536 cat >>conftest.$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28538
28539 #include <gtk/gtk.h>
28540
28541 int
28542 main ()
28543 {
28544
28545 #if !GTK_CHECK_VERSION(2,10,0)
28546 Not GTK+ 2.10
28547 #endif
28548
28549 ;
28550 return 0;
28551 }
28552 _ACEOF
28553 rm -f conftest.$ac_objext
28554 if { (ac_try="$ac_compile"
28555 case "(($ac_try" in
28556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28557 *) ac_try_echo=$ac_try;;
28558 esac
28559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28560 (eval "$ac_compile") 2>conftest.er1
28561 ac_status=$?
28562 grep -v '^ *+' conftest.er1 >conftest.err
28563 rm -f conftest.er1
28564 cat conftest.err >&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); } && {
28567 test -z "$ac_c_werror_flag" ||
28568 test ! -s conftest.err
28569 } && test -s conftest.$ac_objext; then
28570
28571 cat >>confdefs.h <<\_ACEOF
28572 #define __WXGTK210__ 1
28573 _ACEOF
28574
28575 cat >>confdefs.h <<\_ACEOF
28576 #define __WXGTK26__ 1
28577 _ACEOF
28578
28579 cat >>confdefs.h <<\_ACEOF
28580 #define __WXGTK24__ 1
28581 _ACEOF
28582
28583 { echo "$as_me:$LINENO: result: yes" >&5
28584 echo "${ECHO_T}yes" >&6; }
28585 ac_wxgtk210=1
28586
28587 else
28588 echo "$as_me: failed program was:" >&5
28589 sed 's/^/| /' conftest.$ac_ext >&5
28590
28591
28592 { echo "$as_me:$LINENO: result: no" >&5
28593 echo "${ECHO_T}no" >&6; }
28594 ac_wxgtk210=0
28595
28596 fi
28597
28598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28599
28600 if test "$ac_wxgtk210" = 0; then
28601 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28602 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28603 cat >conftest.$ac_ext <<_ACEOF
28604 /* confdefs.h. */
28605 _ACEOF
28606 cat confdefs.h >>conftest.$ac_ext
28607 cat >>conftest.$ac_ext <<_ACEOF
28608 /* end confdefs.h. */
28609
28610 #include <gtk/gtk.h>
28611
28612 int
28613 main ()
28614 {
28615
28616 #if !GTK_CHECK_VERSION(2,6,0)
28617 Not GTK+ 2.6
28618 #endif
28619
28620 ;
28621 return 0;
28622 }
28623 _ACEOF
28624 rm -f conftest.$ac_objext
28625 if { (ac_try="$ac_compile"
28626 case "(($ac_try" in
28627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28628 *) ac_try_echo=$ac_try;;
28629 esac
28630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28631 (eval "$ac_compile") 2>conftest.er1
28632 ac_status=$?
28633 grep -v '^ *+' conftest.er1 >conftest.err
28634 rm -f conftest.er1
28635 cat conftest.err >&5
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); } && {
28638 test -z "$ac_c_werror_flag" ||
28639 test ! -s conftest.err
28640 } && test -s conftest.$ac_objext; then
28641
28642 cat >>confdefs.h <<\_ACEOF
28643 #define __WXGTK26__ 1
28644 _ACEOF
28645
28646 cat >>confdefs.h <<\_ACEOF
28647 #define __WXGTK24__ 1
28648 _ACEOF
28649
28650 { echo "$as_me:$LINENO: result: yes" >&5
28651 echo "${ECHO_T}yes" >&6; }
28652 ac_wxgtk26=1
28653
28654 else
28655 echo "$as_me: failed program was:" >&5
28656 sed 's/^/| /' conftest.$ac_ext >&5
28657
28658
28659 { echo "$as_me:$LINENO: result: no" >&5
28660 echo "${ECHO_T}no" >&6; }
28661 ac_wxgtk26=0
28662
28663 fi
28664
28665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28666 fi
28667
28668 if test "$ac_wxgtk26" = 0; then
28669 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28670 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28671 cat >conftest.$ac_ext <<_ACEOF
28672 /* confdefs.h. */
28673 _ACEOF
28674 cat confdefs.h >>conftest.$ac_ext
28675 cat >>conftest.$ac_ext <<_ACEOF
28676 /* end confdefs.h. */
28677
28678 #include <gtk/gtk.h>
28679
28680 int
28681 main ()
28682 {
28683
28684 #if !GTK_CHECK_VERSION(2,4,0)
28685 Not GTK+ 2.4
28686 #endif
28687
28688 ;
28689 return 0;
28690 }
28691 _ACEOF
28692 rm -f conftest.$ac_objext
28693 if { (ac_try="$ac_compile"
28694 case "(($ac_try" in
28695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28696 *) ac_try_echo=$ac_try;;
28697 esac
28698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28699 (eval "$ac_compile") 2>conftest.er1
28700 ac_status=$?
28701 grep -v '^ *+' conftest.er1 >conftest.err
28702 rm -f conftest.er1
28703 cat conftest.err >&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } && {
28706 test -z "$ac_c_werror_flag" ||
28707 test ! -s conftest.err
28708 } && test -s conftest.$ac_objext; then
28709
28710 cat >>confdefs.h <<\_ACEOF
28711 #define __WXGTK24__ 1
28712 _ACEOF
28713
28714 { echo "$as_me:$LINENO: result: yes" >&5
28715 echo "${ECHO_T}yes" >&6; }
28716
28717 else
28718 echo "$as_me: failed program was:" >&5
28719 sed 's/^/| /' conftest.$ac_ext >&5
28720
28721
28722 { echo "$as_me:$LINENO: result: no" >&5
28723 echo "${ECHO_T}no" >&6; }
28724
28725 fi
28726
28727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28728 fi
28729
28730 CFLAGS="$save_CFLAGS"
28731 LIBS="$save_LIBS"
28732 else
28733 if test "$wxUSE_UNICODE" = "yes"; then
28734 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28735 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28736 wxUSE_UNICODE=no
28737 fi
28738
28739 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28740 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28741 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28742 echo $ECHO_N "(cached) $ECHO_C" >&6
28743 else
28744 ac_check_lib_save_LIBS=$LIBS
28745 LIBS="-lgdk $LIBS"
28746 cat >conftest.$ac_ext <<_ACEOF
28747 /* confdefs.h. */
28748 _ACEOF
28749 cat confdefs.h >>conftest.$ac_ext
28750 cat >>conftest.$ac_ext <<_ACEOF
28751 /* end confdefs.h. */
28752
28753 /* Override any GCC internal prototype to avoid an error.
28754 Use char because int might match the return type of a GCC
28755 builtin and then its argument prototype would still apply. */
28756 #ifdef __cplusplus
28757 extern "C"
28758 #endif
28759 char gdk_im_open ();
28760 int
28761 main ()
28762 {
28763 return gdk_im_open ();
28764 ;
28765 return 0;
28766 }
28767 _ACEOF
28768 rm -f conftest.$ac_objext conftest$ac_exeext
28769 if { (ac_try="$ac_link"
28770 case "(($ac_try" in
28771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28772 *) ac_try_echo=$ac_try;;
28773 esac
28774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28775 (eval "$ac_link") 2>conftest.er1
28776 ac_status=$?
28777 grep -v '^ *+' conftest.er1 >conftest.err
28778 rm -f conftest.er1
28779 cat conftest.err >&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } && {
28782 test -z "$ac_c_werror_flag" ||
28783 test ! -s conftest.err
28784 } && test -s conftest$ac_exeext &&
28785 $as_test_x conftest$ac_exeext; then
28786 ac_cv_lib_gdk_gdk_im_open=yes
28787 else
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28790
28791 ac_cv_lib_gdk_gdk_im_open=no
28792 fi
28793
28794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28795 conftest$ac_exeext conftest.$ac_ext
28796 LIBS=$ac_check_lib_save_LIBS
28797 fi
28798 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28799 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28800 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28801 cat >>confdefs.h <<\_ACEOF
28802 #define HAVE_XIM 1
28803 _ACEOF
28804
28805 fi
28806
28807
28808 if test "$USE_DARWIN" != 1; then
28809
28810 for ac_func in poll
28811 do
28812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28813 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28815 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28816 echo $ECHO_N "(cached) $ECHO_C" >&6
28817 else
28818 cat >conftest.$ac_ext <<_ACEOF
28819 /* confdefs.h. */
28820 _ACEOF
28821 cat confdefs.h >>conftest.$ac_ext
28822 cat >>conftest.$ac_ext <<_ACEOF
28823 /* end confdefs.h. */
28824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28826 #define $ac_func innocuous_$ac_func
28827
28828 /* System header to define __stub macros and hopefully few prototypes,
28829 which can conflict with char $ac_func (); below.
28830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28831 <limits.h> exists even on freestanding compilers. */
28832
28833 #ifdef __STDC__
28834 # include <limits.h>
28835 #else
28836 # include <assert.h>
28837 #endif
28838
28839 #undef $ac_func
28840
28841 /* Override any GCC internal prototype to avoid an error.
28842 Use char because int might match the return type of a GCC
28843 builtin and then its argument prototype would still apply. */
28844 #ifdef __cplusplus
28845 extern "C"
28846 #endif
28847 char $ac_func ();
28848 /* The GNU C library defines this for functions which it implements
28849 to always fail with ENOSYS. Some functions are actually named
28850 something starting with __ and the normal name is an alias. */
28851 #if defined __stub_$ac_func || defined __stub___$ac_func
28852 choke me
28853 #endif
28854
28855 int
28856 main ()
28857 {
28858 return $ac_func ();
28859 ;
28860 return 0;
28861 }
28862 _ACEOF
28863 rm -f conftest.$ac_objext conftest$ac_exeext
28864 if { (ac_try="$ac_link"
28865 case "(($ac_try" in
28866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28867 *) ac_try_echo=$ac_try;;
28868 esac
28869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28870 (eval "$ac_link") 2>conftest.er1
28871 ac_status=$?
28872 grep -v '^ *+' conftest.er1 >conftest.err
28873 rm -f conftest.er1
28874 cat conftest.err >&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); } && {
28877 test -z "$ac_c_werror_flag" ||
28878 test ! -s conftest.err
28879 } && test -s conftest$ac_exeext &&
28880 $as_test_x conftest$ac_exeext; then
28881 eval "$as_ac_var=yes"
28882 else
28883 echo "$as_me: failed program was:" >&5
28884 sed 's/^/| /' conftest.$ac_ext >&5
28885
28886 eval "$as_ac_var=no"
28887 fi
28888
28889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28890 conftest$ac_exeext conftest.$ac_ext
28891 fi
28892 ac_res=`eval echo '${'$as_ac_var'}'`
28893 { echo "$as_me:$LINENO: result: $ac_res" >&5
28894 echo "${ECHO_T}$ac_res" >&6; }
28895 if test `eval echo '${'$as_ac_var'}'` = yes; then
28896 cat >>confdefs.h <<_ACEOF
28897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28898 _ACEOF
28899
28900 fi
28901 done
28902
28903 fi
28904 fi
28905
28906 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28907 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28908
28909 AFMINSTALL=afminstall
28910 TOOLKIT=GTK
28911 GUIDIST=GTK_DIST
28912
28913 if test "$wxUSE_GPE" = "yes"; then
28914 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28915 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28916
28917 ac_find_libraries=
28918 for ac_dir in $SEARCH_LIB;
28919 do
28920 for ac_extension in a so sl dylib dll.a; do
28921 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28922 ac_find_libraries=$ac_dir
28923 break 2
28924 fi
28925 done
28926 done
28927
28928 if test "$ac_find_libraries" != "" ; then
28929
28930 if test "$ac_find_libraries" = "default location"; then
28931 ac_path_to_link=""
28932 else
28933 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28934 result=$?
28935 if test $result = 0; then
28936 ac_path_to_link=""
28937 else
28938 ac_path_to_link=" -L$ac_find_libraries"
28939 fi
28940 fi
28941
28942 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28943 WXGPE=1
28944 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28945 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28946 else
28947 { echo "$as_me:$LINENO: result: not found" >&5
28948 echo "${ECHO_T}not found" >&6; }
28949 fi
28950
28951 fi
28952 fi
28953
28954 if test "$wxUSE_MGL" = 1; then
28955 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28956 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28957 if test "x$MGL_ROOT" = x ; then
28958 { echo "$as_me:$LINENO: result: not found" >&5
28959 echo "${ECHO_T}not found" >&6; }
28960 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28961 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28962 { (exit 1); exit 1; }; }
28963 else
28964 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28965 echo "${ECHO_T}$MGL_ROOT" >&6; }
28966 fi
28967
28968 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28969 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28970 case "${host}" in
28971 *-*-linux* )
28972 if test "x$wxUSE_SHARED" = xyes ; then
28973 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28974 else
28975 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28976 fi
28977 ;;
28978 *-pc-msdosdjgpp )
28979 mgl_os_candidates="dos32/dj2"
28980 ;;
28981 *)
28982 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28983 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28984 { (exit 1); exit 1; }; }
28985 esac
28986
28987 mgl_lib_type=""
28988 mgl_os=""
28989
28990 for mgl_os_i in $mgl_os_candidates ; do
28991 if test "x$mgl_os" = x ; then
28992 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28993 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28994 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28995 mgl_lib_type=debug
28996 mgl_os=$mgl_os_i
28997 fi
28998 fi
28999 if test "x$mgl_lib_type" = x ; then
29000 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29001 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29002 mgl_lib_type=release
29003 mgl_os=$mgl_os_i
29004 fi
29005 fi
29006 fi
29007 done
29008
29009 if test "x$mgl_os" = x ; then
29010 { echo "$as_me:$LINENO: result: not found" >&5
29011 echo "${ECHO_T}not found" >&6; }
29012 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29013 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29014 { (exit 1); exit 1; }; }
29015 fi
29016 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29017 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29018
29019 wxUSE_UNIVERSAL="yes"
29020
29021 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29022 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29023
29024 AFMINSTALL=afminstall
29025 TOOLKIT=MGL
29026 GUIDIST=MGL_DIST
29027 fi
29028
29029 if test "$wxUSE_DFB" = 1; then
29030
29031
29032 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29033 if test -n "$ac_tool_prefix"; then
29034 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29035 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29038 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29039 echo $ECHO_N "(cached) $ECHO_C" >&6
29040 else
29041 case $PKG_CONFIG in
29042 [\\/]* | ?:[\\/]*)
29043 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29044 ;;
29045 *)
29046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29047 for as_dir in $PATH
29048 do
29049 IFS=$as_save_IFS
29050 test -z "$as_dir" && as_dir=.
29051 for ac_exec_ext in '' $ac_executable_extensions; do
29052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29053 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29055 break 2
29056 fi
29057 done
29058 done
29059 IFS=$as_save_IFS
29060
29061 ;;
29062 esac
29063 fi
29064 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29065 if test -n "$PKG_CONFIG"; then
29066 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29067 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29068 else
29069 { echo "$as_me:$LINENO: result: no" >&5
29070 echo "${ECHO_T}no" >&6; }
29071 fi
29072
29073
29074 fi
29075 if test -z "$ac_cv_path_PKG_CONFIG"; then
29076 ac_pt_PKG_CONFIG=$PKG_CONFIG
29077 # Extract the first word of "pkg-config", so it can be a program name with args.
29078 set dummy pkg-config; ac_word=$2
29079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29081 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29082 echo $ECHO_N "(cached) $ECHO_C" >&6
29083 else
29084 case $ac_pt_PKG_CONFIG in
29085 [\\/]* | ?:[\\/]*)
29086 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29087 ;;
29088 *)
29089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29090 for as_dir in $PATH
29091 do
29092 IFS=$as_save_IFS
29093 test -z "$as_dir" && as_dir=.
29094 for ac_exec_ext in '' $ac_executable_extensions; do
29095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29096 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29098 break 2
29099 fi
29100 done
29101 done
29102 IFS=$as_save_IFS
29103
29104 ;;
29105 esac
29106 fi
29107 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29108 if test -n "$ac_pt_PKG_CONFIG"; then
29109 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29110 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29111 else
29112 { echo "$as_me:$LINENO: result: no" >&5
29113 echo "${ECHO_T}no" >&6; }
29114 fi
29115
29116 if test "x$ac_pt_PKG_CONFIG" = x; then
29117 PKG_CONFIG=""
29118 else
29119 case $cross_compiling:$ac_tool_warned in
29120 yes:)
29121 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29122 whose name does not start with the host triplet. If you think this
29123 configuration is useful to you, please write to autoconf@gnu.org." >&5
29124 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29125 whose name does not start with the host triplet. If you think this
29126 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29127 ac_tool_warned=yes ;;
29128 esac
29129 PKG_CONFIG=$ac_pt_PKG_CONFIG
29130 fi
29131 else
29132 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29133 fi
29134
29135 fi
29136 if test -n "$PKG_CONFIG"; then
29137 _pkg_min_version=0.9.0
29138 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29139 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29140 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29141 { echo "$as_me:$LINENO: result: yes" >&5
29142 echo "${ECHO_T}yes" >&6; }
29143 else
29144 { echo "$as_me:$LINENO: result: no" >&5
29145 echo "${ECHO_T}no" >&6; }
29146 PKG_CONFIG=""
29147 fi
29148
29149 fi
29150
29151
29152 pkg_failed=no
29153 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29154 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29155
29156 if test -n "$PKG_CONFIG"; then
29157 if test -n "$DIRECTFB_CFLAGS"; then
29158 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29159 else
29160 if test -n "$PKG_CONFIG" && \
29161 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29162 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29163 ac_status=$?
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; then
29166 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29167 else
29168 pkg_failed=yes
29169 fi
29170 fi
29171 else
29172 pkg_failed=untried
29173 fi
29174 if test -n "$PKG_CONFIG"; then
29175 if test -n "$DIRECTFB_LIBS"; then
29176 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29177 else
29178 if test -n "$PKG_CONFIG" && \
29179 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29180 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29181 ac_status=$?
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); }; then
29184 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29185 else
29186 pkg_failed=yes
29187 fi
29188 fi
29189 else
29190 pkg_failed=untried
29191 fi
29192
29193
29194
29195 if test $pkg_failed = yes; then
29196
29197 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29198 _pkg_short_errors_supported=yes
29199 else
29200 _pkg_short_errors_supported=no
29201 fi
29202 if test $_pkg_short_errors_supported = yes; then
29203 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29204 else
29205 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29206 fi
29207 # Put the nasty error message in config.log where it belongs
29208 echo "$DIRECTFB_PKG_ERRORS" >&5
29209
29210
29211 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29212 echo "$as_me: error: DirectFB not found." >&2;}
29213 { (exit 1); exit 1; }; }
29214
29215
29216 elif test $pkg_failed = untried; then
29217
29218 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29219 echo "$as_me: error: DirectFB not found." >&2;}
29220 { (exit 1); exit 1; }; }
29221
29222
29223 else
29224 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29225 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29226 { echo "$as_me:$LINENO: result: yes" >&5
29227 echo "${ECHO_T}yes" >&6; }
29228
29229 wxUSE_UNIVERSAL="yes"
29230 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29231 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29232 TOOLKIT=DFB
29233 GUIDIST=DFB_DIST
29234
29235 fi
29236 fi
29237
29238 if test "$wxUSE_MICROWIN" = 1; then
29239 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29240 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29241 if test "x$MICROWINDOWS" = x ; then
29242 { echo "$as_me:$LINENO: result: not found" >&5
29243 echo "${ECHO_T}not found" >&6; }
29244 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29245 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29246 { (exit 1); exit 1; }; }
29247 else
29248 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29249 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29250 fi
29251
29252 if test -f $MICROWINDOWS/lib/libmwin.a; then
29253 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29254 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29255 else
29256 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29257 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29258 { (exit 1); exit 1; }; }
29259 fi
29260
29261 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29262 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29263
29264 wxUSE_UNIVERSAL="yes"
29265
29266 AFMINSTALL=afminstall
29267 TOOLKIT=MICROWIN
29268 GUIDIST=MICROWIN_DIST
29269
29270 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29271 fi
29272
29273 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29274 { echo "$as_me:$LINENO: checking for X" >&5
29275 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29276
29277
29278 # Check whether --with-x was given.
29279 if test "${with_x+set}" = set; then
29280 withval=$with_x;
29281 fi
29282
29283 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29284 if test "x$with_x" = xno; then
29285 # The user explicitly disabled X.
29286 have_x=disabled
29287 else
29288 case $x_includes,$x_libraries in #(
29289 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29290 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29291 { (exit 1); exit 1; }; };; #(
29292 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29293 echo $ECHO_N "(cached) $ECHO_C" >&6
29294 else
29295 # One or both of the vars are not set, and there is no cached value.
29296 ac_x_includes=no ac_x_libraries=no
29297 rm -f -r conftest.dir
29298 if mkdir conftest.dir; then
29299 cd conftest.dir
29300 cat >Imakefile <<'_ACEOF'
29301 incroot:
29302 @echo incroot='${INCROOT}'
29303 usrlibdir:
29304 @echo usrlibdir='${USRLIBDIR}'
29305 libdir:
29306 @echo libdir='${LIBDIR}'
29307 _ACEOF
29308 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29309 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29310 for ac_var in incroot usrlibdir libdir; do
29311 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29312 done
29313 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29314 for ac_extension in a so sl; do
29315 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29316 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29317 ac_im_usrlibdir=$ac_im_libdir; break
29318 fi
29319 done
29320 # Screen out bogus values from the imake configuration. They are
29321 # bogus both because they are the default anyway, and because
29322 # using them would break gcc on systems where it needs fixed includes.
29323 case $ac_im_incroot in
29324 /usr/include) ac_x_includes= ;;
29325 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29326 esac
29327 case $ac_im_usrlibdir in
29328 /usr/lib | /lib) ;;
29329 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29330 esac
29331 fi
29332 cd ..
29333 rm -f -r conftest.dir
29334 fi
29335
29336 # Standard set of common directories for X headers.
29337 # Check X11 before X11Rn because it is often a symlink to the current release.
29338 ac_x_header_dirs='
29339 /usr/X11/include
29340 /usr/X11R6/include
29341 /usr/X11R5/include
29342 /usr/X11R4/include
29343
29344 /usr/include/X11
29345 /usr/include/X11R6
29346 /usr/include/X11R5
29347 /usr/include/X11R4
29348
29349 /usr/local/X11/include
29350 /usr/local/X11R6/include
29351 /usr/local/X11R5/include
29352 /usr/local/X11R4/include
29353
29354 /usr/local/include/X11
29355 /usr/local/include/X11R6
29356 /usr/local/include/X11R5
29357 /usr/local/include/X11R4
29358
29359 /usr/X386/include
29360 /usr/x386/include
29361 /usr/XFree86/include/X11
29362
29363 /usr/include
29364 /usr/local/include
29365 /usr/unsupported/include
29366 /usr/athena/include
29367 /usr/local/x11r5/include
29368 /usr/lpp/Xamples/include
29369
29370 /usr/openwin/include
29371 /usr/openwin/share/include'
29372
29373 if test "$ac_x_includes" = no; then
29374 # Guess where to find include files, by looking for Xlib.h.
29375 # First, try using that file with no special directory specified.
29376 cat >conftest.$ac_ext <<_ACEOF
29377 /* confdefs.h. */
29378 _ACEOF
29379 cat confdefs.h >>conftest.$ac_ext
29380 cat >>conftest.$ac_ext <<_ACEOF
29381 /* end confdefs.h. */
29382 #include <X11/Xlib.h>
29383 _ACEOF
29384 if { (ac_try="$ac_cpp conftest.$ac_ext"
29385 case "(($ac_try" in
29386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29387 *) ac_try_echo=$ac_try;;
29388 esac
29389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29391 ac_status=$?
29392 grep -v '^ *+' conftest.er1 >conftest.err
29393 rm -f conftest.er1
29394 cat conftest.err >&5
29395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396 (exit $ac_status); } >/dev/null && {
29397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29398 test ! -s conftest.err
29399 }; then
29400 # We can compile using X headers with no special include directory.
29401 ac_x_includes=
29402 else
29403 echo "$as_me: failed program was:" >&5
29404 sed 's/^/| /' conftest.$ac_ext >&5
29405
29406 for ac_dir in $ac_x_header_dirs; do
29407 if test -r "$ac_dir/X11/Xlib.h"; then
29408 ac_x_includes=$ac_dir
29409 break
29410 fi
29411 done
29412 fi
29413
29414 rm -f conftest.err conftest.$ac_ext
29415 fi # $ac_x_includes = no
29416
29417 if test "$ac_x_libraries" = no; then
29418 # Check for the libraries.
29419 # See if we find them without any special options.
29420 # Don't add to $LIBS permanently.
29421 ac_save_LIBS=$LIBS
29422 LIBS="-lX11 $LIBS"
29423 cat >conftest.$ac_ext <<_ACEOF
29424 /* confdefs.h. */
29425 _ACEOF
29426 cat confdefs.h >>conftest.$ac_ext
29427 cat >>conftest.$ac_ext <<_ACEOF
29428 /* end confdefs.h. */
29429 #include <X11/Xlib.h>
29430 int
29431 main ()
29432 {
29433 XrmInitialize ()
29434 ;
29435 return 0;
29436 }
29437 _ACEOF
29438 rm -f conftest.$ac_objext conftest$ac_exeext
29439 if { (ac_try="$ac_link"
29440 case "(($ac_try" in
29441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29442 *) ac_try_echo=$ac_try;;
29443 esac
29444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29445 (eval "$ac_link") 2>conftest.er1
29446 ac_status=$?
29447 grep -v '^ *+' conftest.er1 >conftest.err
29448 rm -f conftest.er1
29449 cat conftest.err >&5
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); } && {
29452 test -z "$ac_c_werror_flag" ||
29453 test ! -s conftest.err
29454 } && test -s conftest$ac_exeext &&
29455 $as_test_x conftest$ac_exeext; then
29456 LIBS=$ac_save_LIBS
29457 # We can link X programs with no special library path.
29458 ac_x_libraries=
29459 else
29460 echo "$as_me: failed program was:" >&5
29461 sed 's/^/| /' conftest.$ac_ext >&5
29462
29463 LIBS=$ac_save_LIBS
29464 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29465 do
29466 # Don't even attempt the hair of trying to link an X program!
29467 for ac_extension in a so sl; do
29468 if test -r "$ac_dir/libX11.$ac_extension"; then
29469 ac_x_libraries=$ac_dir
29470 break 2
29471 fi
29472 done
29473 done
29474 fi
29475
29476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29477 conftest$ac_exeext conftest.$ac_ext
29478 fi # $ac_x_libraries = no
29479
29480 case $ac_x_includes,$ac_x_libraries in #(
29481 no,* | *,no | *\'*)
29482 # Didn't find X, or a directory has "'" in its name.
29483 ac_cv_have_x="have_x=no";; #(
29484 *)
29485 # Record where we found X for the cache.
29486 ac_cv_have_x="have_x=yes\
29487 ac_x_includes='$ac_x_includes'\
29488 ac_x_libraries='$ac_x_libraries'"
29489 esac
29490 fi
29491 ;; #(
29492 *) have_x=yes;;
29493 esac
29494 eval "$ac_cv_have_x"
29495 fi # $with_x != no
29496
29497 if test "$have_x" != yes; then
29498 { echo "$as_me:$LINENO: result: $have_x" >&5
29499 echo "${ECHO_T}$have_x" >&6; }
29500 no_x=yes
29501 else
29502 # If each of the values was on the command line, it overrides each guess.
29503 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29504 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29505 # Update the cache value to reflect the command line values.
29506 ac_cv_have_x="have_x=yes\
29507 ac_x_includes='$x_includes'\
29508 ac_x_libraries='$x_libraries'"
29509 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29510 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29511 fi
29512
29513 if test "$no_x" = yes; then
29514 # Not all programs may use this symbol, but it does not hurt to define it.
29515
29516 cat >>confdefs.h <<\_ACEOF
29517 #define X_DISPLAY_MISSING 1
29518 _ACEOF
29519
29520 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29521 else
29522 if test -n "$x_includes"; then
29523 X_CFLAGS="$X_CFLAGS -I$x_includes"
29524 fi
29525
29526 # It would also be nice to do this for all -L options, not just this one.
29527 if test -n "$x_libraries"; then
29528 X_LIBS="$X_LIBS -L$x_libraries"
29529 # For Solaris; some versions of Sun CC require a space after -R and
29530 # others require no space. Words are not sufficient . . . .
29531 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29532 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29533 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29534 ac_xsave_c_werror_flag=$ac_c_werror_flag
29535 ac_c_werror_flag=yes
29536 cat >conftest.$ac_ext <<_ACEOF
29537 /* confdefs.h. */
29538 _ACEOF
29539 cat confdefs.h >>conftest.$ac_ext
29540 cat >>conftest.$ac_ext <<_ACEOF
29541 /* end confdefs.h. */
29542
29543 int
29544 main ()
29545 {
29546
29547 ;
29548 return 0;
29549 }
29550 _ACEOF
29551 rm -f conftest.$ac_objext conftest$ac_exeext
29552 if { (ac_try="$ac_link"
29553 case "(($ac_try" in
29554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29555 *) ac_try_echo=$ac_try;;
29556 esac
29557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29558 (eval "$ac_link") 2>conftest.er1
29559 ac_status=$?
29560 grep -v '^ *+' conftest.er1 >conftest.err
29561 rm -f conftest.er1
29562 cat conftest.err >&5
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); } && {
29565 test -z "$ac_c_werror_flag" ||
29566 test ! -s conftest.err
29567 } && test -s conftest$ac_exeext &&
29568 $as_test_x conftest$ac_exeext; then
29569 { echo "$as_me:$LINENO: result: no" >&5
29570 echo "${ECHO_T}no" >&6; }
29571 X_LIBS="$X_LIBS -R$x_libraries"
29572 else
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.$ac_ext >&5
29575
29576 LIBS="$ac_xsave_LIBS -R $x_libraries"
29577 cat >conftest.$ac_ext <<_ACEOF
29578 /* confdefs.h. */
29579 _ACEOF
29580 cat confdefs.h >>conftest.$ac_ext
29581 cat >>conftest.$ac_ext <<_ACEOF
29582 /* end confdefs.h. */
29583
29584 int
29585 main ()
29586 {
29587
29588 ;
29589 return 0;
29590 }
29591 _ACEOF
29592 rm -f conftest.$ac_objext conftest$ac_exeext
29593 if { (ac_try="$ac_link"
29594 case "(($ac_try" in
29595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29596 *) ac_try_echo=$ac_try;;
29597 esac
29598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29599 (eval "$ac_link") 2>conftest.er1
29600 ac_status=$?
29601 grep -v '^ *+' conftest.er1 >conftest.err
29602 rm -f conftest.er1
29603 cat conftest.err >&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); } && {
29606 test -z "$ac_c_werror_flag" ||
29607 test ! -s conftest.err
29608 } && test -s conftest$ac_exeext &&
29609 $as_test_x conftest$ac_exeext; then
29610 { echo "$as_me:$LINENO: result: yes" >&5
29611 echo "${ECHO_T}yes" >&6; }
29612 X_LIBS="$X_LIBS -R $x_libraries"
29613 else
29614 echo "$as_me: failed program was:" >&5
29615 sed 's/^/| /' conftest.$ac_ext >&5
29616
29617 { echo "$as_me:$LINENO: result: neither works" >&5
29618 echo "${ECHO_T}neither works" >&6; }
29619 fi
29620
29621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29622 conftest$ac_exeext conftest.$ac_ext
29623 fi
29624
29625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29626 conftest$ac_exeext conftest.$ac_ext
29627 ac_c_werror_flag=$ac_xsave_c_werror_flag
29628 LIBS=$ac_xsave_LIBS
29629 fi
29630
29631 # Check for system-dependent libraries X programs must link with.
29632 # Do this before checking for the system-independent R6 libraries
29633 # (-lICE), since we may need -lsocket or whatever for X linking.
29634
29635 if test "$ISC" = yes; then
29636 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29637 else
29638 # Martyn Johnson says this is needed for Ultrix, if the X
29639 # libraries were built with DECnet support. And Karl Berry says
29640 # the Alpha needs dnet_stub (dnet does not exist).
29641 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29642 cat >conftest.$ac_ext <<_ACEOF
29643 /* confdefs.h. */
29644 _ACEOF
29645 cat confdefs.h >>conftest.$ac_ext
29646 cat >>conftest.$ac_ext <<_ACEOF
29647 /* end confdefs.h. */
29648
29649 /* Override any GCC internal prototype to avoid an error.
29650 Use char because int might match the return type of a GCC
29651 builtin and then its argument prototype would still apply. */
29652 #ifdef __cplusplus
29653 extern "C"
29654 #endif
29655 char XOpenDisplay ();
29656 int
29657 main ()
29658 {
29659 return XOpenDisplay ();
29660 ;
29661 return 0;
29662 }
29663 _ACEOF
29664 rm -f conftest.$ac_objext conftest$ac_exeext
29665 if { (ac_try="$ac_link"
29666 case "(($ac_try" in
29667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29668 *) ac_try_echo=$ac_try;;
29669 esac
29670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29671 (eval "$ac_link") 2>conftest.er1
29672 ac_status=$?
29673 grep -v '^ *+' conftest.er1 >conftest.err
29674 rm -f conftest.er1
29675 cat conftest.err >&5
29676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29677 (exit $ac_status); } && {
29678 test -z "$ac_c_werror_flag" ||
29679 test ! -s conftest.err
29680 } && test -s conftest$ac_exeext &&
29681 $as_test_x conftest$ac_exeext; then
29682 :
29683 else
29684 echo "$as_me: failed program was:" >&5
29685 sed 's/^/| /' conftest.$ac_ext >&5
29686
29687 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29688 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29689 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29690 echo $ECHO_N "(cached) $ECHO_C" >&6
29691 else
29692 ac_check_lib_save_LIBS=$LIBS
29693 LIBS="-ldnet $LIBS"
29694 cat >conftest.$ac_ext <<_ACEOF
29695 /* confdefs.h. */
29696 _ACEOF
29697 cat confdefs.h >>conftest.$ac_ext
29698 cat >>conftest.$ac_ext <<_ACEOF
29699 /* end confdefs.h. */
29700
29701 /* Override any GCC internal prototype to avoid an error.
29702 Use char because int might match the return type of a GCC
29703 builtin and then its argument prototype would still apply. */
29704 #ifdef __cplusplus
29705 extern "C"
29706 #endif
29707 char dnet_ntoa ();
29708 int
29709 main ()
29710 {
29711 return dnet_ntoa ();
29712 ;
29713 return 0;
29714 }
29715 _ACEOF
29716 rm -f conftest.$ac_objext conftest$ac_exeext
29717 if { (ac_try="$ac_link"
29718 case "(($ac_try" in
29719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29720 *) ac_try_echo=$ac_try;;
29721 esac
29722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29723 (eval "$ac_link") 2>conftest.er1
29724 ac_status=$?
29725 grep -v '^ *+' conftest.er1 >conftest.err
29726 rm -f conftest.er1
29727 cat conftest.err >&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); } && {
29730 test -z "$ac_c_werror_flag" ||
29731 test ! -s conftest.err
29732 } && test -s conftest$ac_exeext &&
29733 $as_test_x conftest$ac_exeext; then
29734 ac_cv_lib_dnet_dnet_ntoa=yes
29735 else
29736 echo "$as_me: failed program was:" >&5
29737 sed 's/^/| /' conftest.$ac_ext >&5
29738
29739 ac_cv_lib_dnet_dnet_ntoa=no
29740 fi
29741
29742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29743 conftest$ac_exeext conftest.$ac_ext
29744 LIBS=$ac_check_lib_save_LIBS
29745 fi
29746 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29747 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29748 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29749 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29750 fi
29751
29752 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29753 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29754 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29755 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29756 echo $ECHO_N "(cached) $ECHO_C" >&6
29757 else
29758 ac_check_lib_save_LIBS=$LIBS
29759 LIBS="-ldnet_stub $LIBS"
29760 cat >conftest.$ac_ext <<_ACEOF
29761 /* confdefs.h. */
29762 _ACEOF
29763 cat confdefs.h >>conftest.$ac_ext
29764 cat >>conftest.$ac_ext <<_ACEOF
29765 /* end confdefs.h. */
29766
29767 /* Override any GCC internal prototype to avoid an error.
29768 Use char because int might match the return type of a GCC
29769 builtin and then its argument prototype would still apply. */
29770 #ifdef __cplusplus
29771 extern "C"
29772 #endif
29773 char dnet_ntoa ();
29774 int
29775 main ()
29776 {
29777 return dnet_ntoa ();
29778 ;
29779 return 0;
29780 }
29781 _ACEOF
29782 rm -f conftest.$ac_objext conftest$ac_exeext
29783 if { (ac_try="$ac_link"
29784 case "(($ac_try" in
29785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29786 *) ac_try_echo=$ac_try;;
29787 esac
29788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29789 (eval "$ac_link") 2>conftest.er1
29790 ac_status=$?
29791 grep -v '^ *+' conftest.er1 >conftest.err
29792 rm -f conftest.er1
29793 cat conftest.err >&5
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); } && {
29796 test -z "$ac_c_werror_flag" ||
29797 test ! -s conftest.err
29798 } && test -s conftest$ac_exeext &&
29799 $as_test_x conftest$ac_exeext; then
29800 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29801 else
29802 echo "$as_me: failed program was:" >&5
29803 sed 's/^/| /' conftest.$ac_ext >&5
29804
29805 ac_cv_lib_dnet_stub_dnet_ntoa=no
29806 fi
29807
29808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29809 conftest$ac_exeext conftest.$ac_ext
29810 LIBS=$ac_check_lib_save_LIBS
29811 fi
29812 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29813 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29814 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29815 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29816 fi
29817
29818 fi
29819 fi
29820
29821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29822 conftest$ac_exeext conftest.$ac_ext
29823 LIBS="$ac_xsave_LIBS"
29824
29825 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29826 # to get the SysV transport functions.
29827 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29828 # needs -lnsl.
29829 # The nsl library prevents programs from opening the X display
29830 # on Irix 5.2, according to T.E. Dickey.
29831 # The functions gethostbyname, getservbyname, and inet_addr are
29832 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29833 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29834 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29835 if test "${ac_cv_func_gethostbyname+set}" = set; then
29836 echo $ECHO_N "(cached) $ECHO_C" >&6
29837 else
29838 cat >conftest.$ac_ext <<_ACEOF
29839 /* confdefs.h. */
29840 _ACEOF
29841 cat confdefs.h >>conftest.$ac_ext
29842 cat >>conftest.$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29844 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29846 #define gethostbyname innocuous_gethostbyname
29847
29848 /* System header to define __stub macros and hopefully few prototypes,
29849 which can conflict with char gethostbyname (); below.
29850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29851 <limits.h> exists even on freestanding compilers. */
29852
29853 #ifdef __STDC__
29854 # include <limits.h>
29855 #else
29856 # include <assert.h>
29857 #endif
29858
29859 #undef gethostbyname
29860
29861 /* Override any GCC internal prototype to avoid an error.
29862 Use char because int might match the return type of a GCC
29863 builtin and then its argument prototype would still apply. */
29864 #ifdef __cplusplus
29865 extern "C"
29866 #endif
29867 char gethostbyname ();
29868 /* The GNU C library defines this for functions which it implements
29869 to always fail with ENOSYS. Some functions are actually named
29870 something starting with __ and the normal name is an alias. */
29871 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29872 choke me
29873 #endif
29874
29875 int
29876 main ()
29877 {
29878 return gethostbyname ();
29879 ;
29880 return 0;
29881 }
29882 _ACEOF
29883 rm -f conftest.$ac_objext conftest$ac_exeext
29884 if { (ac_try="$ac_link"
29885 case "(($ac_try" in
29886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29887 *) ac_try_echo=$ac_try;;
29888 esac
29889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29890 (eval "$ac_link") 2>conftest.er1
29891 ac_status=$?
29892 grep -v '^ *+' conftest.er1 >conftest.err
29893 rm -f conftest.er1
29894 cat conftest.err >&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); } && {
29897 test -z "$ac_c_werror_flag" ||
29898 test ! -s conftest.err
29899 } && test -s conftest$ac_exeext &&
29900 $as_test_x conftest$ac_exeext; then
29901 ac_cv_func_gethostbyname=yes
29902 else
29903 echo "$as_me: failed program was:" >&5
29904 sed 's/^/| /' conftest.$ac_ext >&5
29905
29906 ac_cv_func_gethostbyname=no
29907 fi
29908
29909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29910 conftest$ac_exeext conftest.$ac_ext
29911 fi
29912 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29913 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29914
29915 if test $ac_cv_func_gethostbyname = no; then
29916 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29917 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29918 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29919 echo $ECHO_N "(cached) $ECHO_C" >&6
29920 else
29921 ac_check_lib_save_LIBS=$LIBS
29922 LIBS="-lnsl $LIBS"
29923 cat >conftest.$ac_ext <<_ACEOF
29924 /* confdefs.h. */
29925 _ACEOF
29926 cat confdefs.h >>conftest.$ac_ext
29927 cat >>conftest.$ac_ext <<_ACEOF
29928 /* end confdefs.h. */
29929
29930 /* Override any GCC internal prototype to avoid an error.
29931 Use char because int might match the return type of a GCC
29932 builtin and then its argument prototype would still apply. */
29933 #ifdef __cplusplus
29934 extern "C"
29935 #endif
29936 char gethostbyname ();
29937 int
29938 main ()
29939 {
29940 return gethostbyname ();
29941 ;
29942 return 0;
29943 }
29944 _ACEOF
29945 rm -f conftest.$ac_objext conftest$ac_exeext
29946 if { (ac_try="$ac_link"
29947 case "(($ac_try" in
29948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29949 *) ac_try_echo=$ac_try;;
29950 esac
29951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29952 (eval "$ac_link") 2>conftest.er1
29953 ac_status=$?
29954 grep -v '^ *+' conftest.er1 >conftest.err
29955 rm -f conftest.er1
29956 cat conftest.err >&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); } && {
29959 test -z "$ac_c_werror_flag" ||
29960 test ! -s conftest.err
29961 } && test -s conftest$ac_exeext &&
29962 $as_test_x conftest$ac_exeext; then
29963 ac_cv_lib_nsl_gethostbyname=yes
29964 else
29965 echo "$as_me: failed program was:" >&5
29966 sed 's/^/| /' conftest.$ac_ext >&5
29967
29968 ac_cv_lib_nsl_gethostbyname=no
29969 fi
29970
29971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29972 conftest$ac_exeext conftest.$ac_ext
29973 LIBS=$ac_check_lib_save_LIBS
29974 fi
29975 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29976 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29977 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29978 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29979 fi
29980
29981 if test $ac_cv_lib_nsl_gethostbyname = no; then
29982 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29983 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29984 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29985 echo $ECHO_N "(cached) $ECHO_C" >&6
29986 else
29987 ac_check_lib_save_LIBS=$LIBS
29988 LIBS="-lbsd $LIBS"
29989 cat >conftest.$ac_ext <<_ACEOF
29990 /* confdefs.h. */
29991 _ACEOF
29992 cat confdefs.h >>conftest.$ac_ext
29993 cat >>conftest.$ac_ext <<_ACEOF
29994 /* end confdefs.h. */
29995
29996 /* Override any GCC internal prototype to avoid an error.
29997 Use char because int might match the return type of a GCC
29998 builtin and then its argument prototype would still apply. */
29999 #ifdef __cplusplus
30000 extern "C"
30001 #endif
30002 char gethostbyname ();
30003 int
30004 main ()
30005 {
30006 return gethostbyname ();
30007 ;
30008 return 0;
30009 }
30010 _ACEOF
30011 rm -f conftest.$ac_objext conftest$ac_exeext
30012 if { (ac_try="$ac_link"
30013 case "(($ac_try" in
30014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30015 *) ac_try_echo=$ac_try;;
30016 esac
30017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30018 (eval "$ac_link") 2>conftest.er1
30019 ac_status=$?
30020 grep -v '^ *+' conftest.er1 >conftest.err
30021 rm -f conftest.er1
30022 cat conftest.err >&5
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); } && {
30025 test -z "$ac_c_werror_flag" ||
30026 test ! -s conftest.err
30027 } && test -s conftest$ac_exeext &&
30028 $as_test_x conftest$ac_exeext; then
30029 ac_cv_lib_bsd_gethostbyname=yes
30030 else
30031 echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.$ac_ext >&5
30033
30034 ac_cv_lib_bsd_gethostbyname=no
30035 fi
30036
30037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30038 conftest$ac_exeext conftest.$ac_ext
30039 LIBS=$ac_check_lib_save_LIBS
30040 fi
30041 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30042 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30043 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30045 fi
30046
30047 fi
30048 fi
30049
30050 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30051 # socket/setsockopt and other routines are undefined under SCO ODT
30052 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30053 # on later versions), says Simon Leinen: it contains gethostby*
30054 # variants that don't use the name server (or something). -lsocket
30055 # must be given before -lnsl if both are needed. We assume that
30056 # if connect needs -lnsl, so does gethostbyname.
30057 { echo "$as_me:$LINENO: checking for connect" >&5
30058 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30059 if test "${ac_cv_func_connect+set}" = set; then
30060 echo $ECHO_N "(cached) $ECHO_C" >&6
30061 else
30062 cat >conftest.$ac_ext <<_ACEOF
30063 /* confdefs.h. */
30064 _ACEOF
30065 cat confdefs.h >>conftest.$ac_ext
30066 cat >>conftest.$ac_ext <<_ACEOF
30067 /* end confdefs.h. */
30068 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30070 #define connect innocuous_connect
30071
30072 /* System header to define __stub macros and hopefully few prototypes,
30073 which can conflict with char connect (); below.
30074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30075 <limits.h> exists even on freestanding compilers. */
30076
30077 #ifdef __STDC__
30078 # include <limits.h>
30079 #else
30080 # include <assert.h>
30081 #endif
30082
30083 #undef connect
30084
30085 /* Override any GCC internal prototype to avoid an error.
30086 Use char because int might match the return type of a GCC
30087 builtin and then its argument prototype would still apply. */
30088 #ifdef __cplusplus
30089 extern "C"
30090 #endif
30091 char connect ();
30092 /* The GNU C library defines this for functions which it implements
30093 to always fail with ENOSYS. Some functions are actually named
30094 something starting with __ and the normal name is an alias. */
30095 #if defined __stub_connect || defined __stub___connect
30096 choke me
30097 #endif
30098
30099 int
30100 main ()
30101 {
30102 return connect ();
30103 ;
30104 return 0;
30105 }
30106 _ACEOF
30107 rm -f conftest.$ac_objext conftest$ac_exeext
30108 if { (ac_try="$ac_link"
30109 case "(($ac_try" in
30110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30111 *) ac_try_echo=$ac_try;;
30112 esac
30113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30114 (eval "$ac_link") 2>conftest.er1
30115 ac_status=$?
30116 grep -v '^ *+' conftest.er1 >conftest.err
30117 rm -f conftest.er1
30118 cat conftest.err >&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } && {
30121 test -z "$ac_c_werror_flag" ||
30122 test ! -s conftest.err
30123 } && test -s conftest$ac_exeext &&
30124 $as_test_x conftest$ac_exeext; then
30125 ac_cv_func_connect=yes
30126 else
30127 echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30129
30130 ac_cv_func_connect=no
30131 fi
30132
30133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30134 conftest$ac_exeext conftest.$ac_ext
30135 fi
30136 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30137 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30138
30139 if test $ac_cv_func_connect = no; then
30140 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30141 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30142 if test "${ac_cv_lib_socket_connect+set}" = set; then
30143 echo $ECHO_N "(cached) $ECHO_C" >&6
30144 else
30145 ac_check_lib_save_LIBS=$LIBS
30146 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30147 cat >conftest.$ac_ext <<_ACEOF
30148 /* confdefs.h. */
30149 _ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153
30154 /* Override any GCC internal prototype to avoid an error.
30155 Use char because int might match the return type of a GCC
30156 builtin and then its argument prototype would still apply. */
30157 #ifdef __cplusplus
30158 extern "C"
30159 #endif
30160 char connect ();
30161 int
30162 main ()
30163 {
30164 return connect ();
30165 ;
30166 return 0;
30167 }
30168 _ACEOF
30169 rm -f conftest.$ac_objext conftest$ac_exeext
30170 if { (ac_try="$ac_link"
30171 case "(($ac_try" in
30172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30173 *) ac_try_echo=$ac_try;;
30174 esac
30175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30176 (eval "$ac_link") 2>conftest.er1
30177 ac_status=$?
30178 grep -v '^ *+' conftest.er1 >conftest.err
30179 rm -f conftest.er1
30180 cat conftest.err >&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); } && {
30183 test -z "$ac_c_werror_flag" ||
30184 test ! -s conftest.err
30185 } && test -s conftest$ac_exeext &&
30186 $as_test_x conftest$ac_exeext; then
30187 ac_cv_lib_socket_connect=yes
30188 else
30189 echo "$as_me: failed program was:" >&5
30190 sed 's/^/| /' conftest.$ac_ext >&5
30191
30192 ac_cv_lib_socket_connect=no
30193 fi
30194
30195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30196 conftest$ac_exeext conftest.$ac_ext
30197 LIBS=$ac_check_lib_save_LIBS
30198 fi
30199 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30200 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30201 if test $ac_cv_lib_socket_connect = yes; then
30202 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30203 fi
30204
30205 fi
30206
30207 # Guillermo Gomez says -lposix is necessary on A/UX.
30208 { echo "$as_me:$LINENO: checking for remove" >&5
30209 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30210 if test "${ac_cv_func_remove+set}" = set; then
30211 echo $ECHO_N "(cached) $ECHO_C" >&6
30212 else
30213 cat >conftest.$ac_ext <<_ACEOF
30214 /* confdefs.h. */
30215 _ACEOF
30216 cat confdefs.h >>conftest.$ac_ext
30217 cat >>conftest.$ac_ext <<_ACEOF
30218 /* end confdefs.h. */
30219 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30221 #define remove innocuous_remove
30222
30223 /* System header to define __stub macros and hopefully few prototypes,
30224 which can conflict with char remove (); below.
30225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30226 <limits.h> exists even on freestanding compilers. */
30227
30228 #ifdef __STDC__
30229 # include <limits.h>
30230 #else
30231 # include <assert.h>
30232 #endif
30233
30234 #undef remove
30235
30236 /* Override any GCC internal prototype to avoid an error.
30237 Use char because int might match the return type of a GCC
30238 builtin and then its argument prototype would still apply. */
30239 #ifdef __cplusplus
30240 extern "C"
30241 #endif
30242 char remove ();
30243 /* The GNU C library defines this for functions which it implements
30244 to always fail with ENOSYS. Some functions are actually named
30245 something starting with __ and the normal name is an alias. */
30246 #if defined __stub_remove || defined __stub___remove
30247 choke me
30248 #endif
30249
30250 int
30251 main ()
30252 {
30253 return remove ();
30254 ;
30255 return 0;
30256 }
30257 _ACEOF
30258 rm -f conftest.$ac_objext conftest$ac_exeext
30259 if { (ac_try="$ac_link"
30260 case "(($ac_try" in
30261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30262 *) ac_try_echo=$ac_try;;
30263 esac
30264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30265 (eval "$ac_link") 2>conftest.er1
30266 ac_status=$?
30267 grep -v '^ *+' conftest.er1 >conftest.err
30268 rm -f conftest.er1
30269 cat conftest.err >&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); } && {
30272 test -z "$ac_c_werror_flag" ||
30273 test ! -s conftest.err
30274 } && test -s conftest$ac_exeext &&
30275 $as_test_x conftest$ac_exeext; then
30276 ac_cv_func_remove=yes
30277 else
30278 echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.$ac_ext >&5
30280
30281 ac_cv_func_remove=no
30282 fi
30283
30284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30285 conftest$ac_exeext conftest.$ac_ext
30286 fi
30287 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30288 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30289
30290 if test $ac_cv_func_remove = no; then
30291 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30292 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30293 if test "${ac_cv_lib_posix_remove+set}" = set; then
30294 echo $ECHO_N "(cached) $ECHO_C" >&6
30295 else
30296 ac_check_lib_save_LIBS=$LIBS
30297 LIBS="-lposix $LIBS"
30298 cat >conftest.$ac_ext <<_ACEOF
30299 /* confdefs.h. */
30300 _ACEOF
30301 cat confdefs.h >>conftest.$ac_ext
30302 cat >>conftest.$ac_ext <<_ACEOF
30303 /* end confdefs.h. */
30304
30305 /* Override any GCC internal prototype to avoid an error.
30306 Use char because int might match the return type of a GCC
30307 builtin and then its argument prototype would still apply. */
30308 #ifdef __cplusplus
30309 extern "C"
30310 #endif
30311 char remove ();
30312 int
30313 main ()
30314 {
30315 return remove ();
30316 ;
30317 return 0;
30318 }
30319 _ACEOF
30320 rm -f conftest.$ac_objext conftest$ac_exeext
30321 if { (ac_try="$ac_link"
30322 case "(($ac_try" in
30323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30324 *) ac_try_echo=$ac_try;;
30325 esac
30326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30327 (eval "$ac_link") 2>conftest.er1
30328 ac_status=$?
30329 grep -v '^ *+' conftest.er1 >conftest.err
30330 rm -f conftest.er1
30331 cat conftest.err >&5
30332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 (exit $ac_status); } && {
30334 test -z "$ac_c_werror_flag" ||
30335 test ! -s conftest.err
30336 } && test -s conftest$ac_exeext &&
30337 $as_test_x conftest$ac_exeext; then
30338 ac_cv_lib_posix_remove=yes
30339 else
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.$ac_ext >&5
30342
30343 ac_cv_lib_posix_remove=no
30344 fi
30345
30346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30347 conftest$ac_exeext conftest.$ac_ext
30348 LIBS=$ac_check_lib_save_LIBS
30349 fi
30350 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30351 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30352 if test $ac_cv_lib_posix_remove = yes; then
30353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30354 fi
30355
30356 fi
30357
30358 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30359 { echo "$as_me:$LINENO: checking for shmat" >&5
30360 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30361 if test "${ac_cv_func_shmat+set}" = set; then
30362 echo $ECHO_N "(cached) $ECHO_C" >&6
30363 else
30364 cat >conftest.$ac_ext <<_ACEOF
30365 /* confdefs.h. */
30366 _ACEOF
30367 cat confdefs.h >>conftest.$ac_ext
30368 cat >>conftest.$ac_ext <<_ACEOF
30369 /* end confdefs.h. */
30370 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30372 #define shmat innocuous_shmat
30373
30374 /* System header to define __stub macros and hopefully few prototypes,
30375 which can conflict with char shmat (); below.
30376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30377 <limits.h> exists even on freestanding compilers. */
30378
30379 #ifdef __STDC__
30380 # include <limits.h>
30381 #else
30382 # include <assert.h>
30383 #endif
30384
30385 #undef shmat
30386
30387 /* Override any GCC internal prototype to avoid an error.
30388 Use char because int might match the return type of a GCC
30389 builtin and then its argument prototype would still apply. */
30390 #ifdef __cplusplus
30391 extern "C"
30392 #endif
30393 char shmat ();
30394 /* The GNU C library defines this for functions which it implements
30395 to always fail with ENOSYS. Some functions are actually named
30396 something starting with __ and the normal name is an alias. */
30397 #if defined __stub_shmat || defined __stub___shmat
30398 choke me
30399 #endif
30400
30401 int
30402 main ()
30403 {
30404 return shmat ();
30405 ;
30406 return 0;
30407 }
30408 _ACEOF
30409 rm -f conftest.$ac_objext conftest$ac_exeext
30410 if { (ac_try="$ac_link"
30411 case "(($ac_try" in
30412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30413 *) ac_try_echo=$ac_try;;
30414 esac
30415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30416 (eval "$ac_link") 2>conftest.er1
30417 ac_status=$?
30418 grep -v '^ *+' conftest.er1 >conftest.err
30419 rm -f conftest.er1
30420 cat conftest.err >&5
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); } && {
30423 test -z "$ac_c_werror_flag" ||
30424 test ! -s conftest.err
30425 } && test -s conftest$ac_exeext &&
30426 $as_test_x conftest$ac_exeext; then
30427 ac_cv_func_shmat=yes
30428 else
30429 echo "$as_me: failed program was:" >&5
30430 sed 's/^/| /' conftest.$ac_ext >&5
30431
30432 ac_cv_func_shmat=no
30433 fi
30434
30435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30436 conftest$ac_exeext conftest.$ac_ext
30437 fi
30438 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30439 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30440
30441 if test $ac_cv_func_shmat = no; then
30442 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30443 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30444 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30445 echo $ECHO_N "(cached) $ECHO_C" >&6
30446 else
30447 ac_check_lib_save_LIBS=$LIBS
30448 LIBS="-lipc $LIBS"
30449 cat >conftest.$ac_ext <<_ACEOF
30450 /* confdefs.h. */
30451 _ACEOF
30452 cat confdefs.h >>conftest.$ac_ext
30453 cat >>conftest.$ac_ext <<_ACEOF
30454 /* end confdefs.h. */
30455
30456 /* Override any GCC internal prototype to avoid an error.
30457 Use char because int might match the return type of a GCC
30458 builtin and then its argument prototype would still apply. */
30459 #ifdef __cplusplus
30460 extern "C"
30461 #endif
30462 char shmat ();
30463 int
30464 main ()
30465 {
30466 return shmat ();
30467 ;
30468 return 0;
30469 }
30470 _ACEOF
30471 rm -f conftest.$ac_objext conftest$ac_exeext
30472 if { (ac_try="$ac_link"
30473 case "(($ac_try" in
30474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30475 *) ac_try_echo=$ac_try;;
30476 esac
30477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30478 (eval "$ac_link") 2>conftest.er1
30479 ac_status=$?
30480 grep -v '^ *+' conftest.er1 >conftest.err
30481 rm -f conftest.er1
30482 cat conftest.err >&5
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); } && {
30485 test -z "$ac_c_werror_flag" ||
30486 test ! -s conftest.err
30487 } && test -s conftest$ac_exeext &&
30488 $as_test_x conftest$ac_exeext; then
30489 ac_cv_lib_ipc_shmat=yes
30490 else
30491 echo "$as_me: failed program was:" >&5
30492 sed 's/^/| /' conftest.$ac_ext >&5
30493
30494 ac_cv_lib_ipc_shmat=no
30495 fi
30496
30497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30498 conftest$ac_exeext conftest.$ac_ext
30499 LIBS=$ac_check_lib_save_LIBS
30500 fi
30501 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30502 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30503 if test $ac_cv_lib_ipc_shmat = yes; then
30504 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30505 fi
30506
30507 fi
30508 fi
30509
30510 # Check for libraries that X11R6 Xt/Xaw programs need.
30511 ac_save_LDFLAGS=$LDFLAGS
30512 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30513 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30514 # check for ICE first), but we must link in the order -lSM -lICE or
30515 # we get undefined symbols. So assume we have SM if we have ICE.
30516 # These have to be linked with before -lX11, unlike the other
30517 # libraries we check for below, so use a different variable.
30518 # John Interrante, Karl Berry
30519 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30520 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30521 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30522 echo $ECHO_N "(cached) $ECHO_C" >&6
30523 else
30524 ac_check_lib_save_LIBS=$LIBS
30525 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30526 cat >conftest.$ac_ext <<_ACEOF
30527 /* confdefs.h. */
30528 _ACEOF
30529 cat confdefs.h >>conftest.$ac_ext
30530 cat >>conftest.$ac_ext <<_ACEOF
30531 /* end confdefs.h. */
30532
30533 /* Override any GCC internal prototype to avoid an error.
30534 Use char because int might match the return type of a GCC
30535 builtin and then its argument prototype would still apply. */
30536 #ifdef __cplusplus
30537 extern "C"
30538 #endif
30539 char IceConnectionNumber ();
30540 int
30541 main ()
30542 {
30543 return IceConnectionNumber ();
30544 ;
30545 return 0;
30546 }
30547 _ACEOF
30548 rm -f conftest.$ac_objext conftest$ac_exeext
30549 if { (ac_try="$ac_link"
30550 case "(($ac_try" in
30551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30552 *) ac_try_echo=$ac_try;;
30553 esac
30554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30555 (eval "$ac_link") 2>conftest.er1
30556 ac_status=$?
30557 grep -v '^ *+' conftest.er1 >conftest.err
30558 rm -f conftest.er1
30559 cat conftest.err >&5
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); } && {
30562 test -z "$ac_c_werror_flag" ||
30563 test ! -s conftest.err
30564 } && test -s conftest$ac_exeext &&
30565 $as_test_x conftest$ac_exeext; then
30566 ac_cv_lib_ICE_IceConnectionNumber=yes
30567 else
30568 echo "$as_me: failed program was:" >&5
30569 sed 's/^/| /' conftest.$ac_ext >&5
30570
30571 ac_cv_lib_ICE_IceConnectionNumber=no
30572 fi
30573
30574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30575 conftest$ac_exeext conftest.$ac_ext
30576 LIBS=$ac_check_lib_save_LIBS
30577 fi
30578 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30579 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30580 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30581 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30582 fi
30583
30584 LDFLAGS=$ac_save_LDFLAGS
30585
30586 fi
30587
30588
30589 if test "$no_x" = "yes"; then
30590 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30591 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30592 { (exit 1); exit 1; }; }
30593 fi
30594
30595 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30596 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30597 AFMINSTALL=afminstall
30598 COMPILED_X_PROGRAM=0
30599
30600 fi
30601
30602 if test "$wxUSE_X11" = 1; then
30603 if test "$wxUSE_NANOX" = "yes"; then
30604 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30605 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30606 if test "x$MICROWIN" = x ; then
30607 { echo "$as_me:$LINENO: result: not found" >&5
30608 echo "${ECHO_T}not found" >&6; }
30609 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30610 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30611 { (exit 1); exit 1; }; }
30612 else
30613 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30614 echo "${ECHO_T}$MICROWIN" >&6; }
30615 cat >>confdefs.h <<\_ACEOF
30616 #define wxUSE_NANOX 1
30617 _ACEOF
30618
30619 fi
30620 fi
30621
30622 if test "$wxUSE_UNICODE" = "yes"; then
30623
30624
30625 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30626 if test -n "$ac_tool_prefix"; then
30627 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30628 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30631 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30632 echo $ECHO_N "(cached) $ECHO_C" >&6
30633 else
30634 case $PKG_CONFIG in
30635 [\\/]* | ?:[\\/]*)
30636 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30637 ;;
30638 *)
30639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30640 for as_dir in $PATH
30641 do
30642 IFS=$as_save_IFS
30643 test -z "$as_dir" && as_dir=.
30644 for ac_exec_ext in '' $ac_executable_extensions; do
30645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30646 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30648 break 2
30649 fi
30650 done
30651 done
30652 IFS=$as_save_IFS
30653
30654 ;;
30655 esac
30656 fi
30657 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30658 if test -n "$PKG_CONFIG"; then
30659 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30660 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30661 else
30662 { echo "$as_me:$LINENO: result: no" >&5
30663 echo "${ECHO_T}no" >&6; }
30664 fi
30665
30666
30667 fi
30668 if test -z "$ac_cv_path_PKG_CONFIG"; then
30669 ac_pt_PKG_CONFIG=$PKG_CONFIG
30670 # Extract the first word of "pkg-config", so it can be a program name with args.
30671 set dummy pkg-config; ac_word=$2
30672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30674 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30675 echo $ECHO_N "(cached) $ECHO_C" >&6
30676 else
30677 case $ac_pt_PKG_CONFIG in
30678 [\\/]* | ?:[\\/]*)
30679 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30680 ;;
30681 *)
30682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30683 for as_dir in $PATH
30684 do
30685 IFS=$as_save_IFS
30686 test -z "$as_dir" && as_dir=.
30687 for ac_exec_ext in '' $ac_executable_extensions; do
30688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30689 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30691 break 2
30692 fi
30693 done
30694 done
30695 IFS=$as_save_IFS
30696
30697 ;;
30698 esac
30699 fi
30700 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30701 if test -n "$ac_pt_PKG_CONFIG"; then
30702 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30703 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30704 else
30705 { echo "$as_me:$LINENO: result: no" >&5
30706 echo "${ECHO_T}no" >&6; }
30707 fi
30708
30709 if test "x$ac_pt_PKG_CONFIG" = x; then
30710 PKG_CONFIG=""
30711 else
30712 case $cross_compiling:$ac_tool_warned in
30713 yes:)
30714 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30715 whose name does not start with the host triplet. If you think this
30716 configuration is useful to you, please write to autoconf@gnu.org." >&5
30717 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30718 whose name does not start with the host triplet. If you think this
30719 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30720 ac_tool_warned=yes ;;
30721 esac
30722 PKG_CONFIG=$ac_pt_PKG_CONFIG
30723 fi
30724 else
30725 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30726 fi
30727
30728 fi
30729 if test -n "$PKG_CONFIG"; then
30730 _pkg_min_version=0.9.0
30731 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30732 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30733 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30734 { echo "$as_me:$LINENO: result: yes" >&5
30735 echo "${ECHO_T}yes" >&6; }
30736 else
30737 { echo "$as_me:$LINENO: result: no" >&5
30738 echo "${ECHO_T}no" >&6; }
30739 PKG_CONFIG=""
30740 fi
30741
30742 fi
30743
30744
30745 pkg_failed=no
30746 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30747 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30748
30749 if test -n "$PKG_CONFIG"; then
30750 if test -n "$PANGOX_CFLAGS"; then
30751 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30752 else
30753 if test -n "$PKG_CONFIG" && \
30754 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30755 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30756 ac_status=$?
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); }; then
30759 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30760 else
30761 pkg_failed=yes
30762 fi
30763 fi
30764 else
30765 pkg_failed=untried
30766 fi
30767 if test -n "$PKG_CONFIG"; then
30768 if test -n "$PANGOX_LIBS"; then
30769 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30770 else
30771 if test -n "$PKG_CONFIG" && \
30772 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30773 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30774 ac_status=$?
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); }; then
30777 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30778 else
30779 pkg_failed=yes
30780 fi
30781 fi
30782 else
30783 pkg_failed=untried
30784 fi
30785
30786
30787
30788 if test $pkg_failed = yes; then
30789
30790 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30791 _pkg_short_errors_supported=yes
30792 else
30793 _pkg_short_errors_supported=no
30794 fi
30795 if test $_pkg_short_errors_supported = yes; then
30796 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30797 else
30798 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30799 fi
30800 # Put the nasty error message in config.log where it belongs
30801 echo "$PANGOX_PKG_ERRORS" >&5
30802
30803
30804 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30805 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30806 { (exit 1); exit 1; }; }
30807
30808
30809 elif test $pkg_failed = untried; then
30810
30811 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30812 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30813 { (exit 1); exit 1; }; }
30814
30815
30816 else
30817 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30818 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30819 { echo "$as_me:$LINENO: result: yes" >&5
30820 echo "${ECHO_T}yes" >&6; }
30821
30822 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30823 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30824 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30825
30826 fi
30827
30828 pkg_failed=no
30829 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30830 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30831
30832 if test -n "$PKG_CONFIG"; then
30833 if test -n "$PANGOFT2_CFLAGS"; then
30834 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30835 else
30836 if test -n "$PKG_CONFIG" && \
30837 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30838 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30839 ac_status=$?
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; then
30842 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30843 else
30844 pkg_failed=yes
30845 fi
30846 fi
30847 else
30848 pkg_failed=untried
30849 fi
30850 if test -n "$PKG_CONFIG"; then
30851 if test -n "$PANGOFT2_LIBS"; then
30852 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30853 else
30854 if test -n "$PKG_CONFIG" && \
30855 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30856 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30857 ac_status=$?
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; then
30860 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30861 else
30862 pkg_failed=yes
30863 fi
30864 fi
30865 else
30866 pkg_failed=untried
30867 fi
30868
30869
30870
30871 if test $pkg_failed = yes; then
30872
30873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30874 _pkg_short_errors_supported=yes
30875 else
30876 _pkg_short_errors_supported=no
30877 fi
30878 if test $_pkg_short_errors_supported = yes; then
30879 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30880 else
30881 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30882 fi
30883 # Put the nasty error message in config.log where it belongs
30884 echo "$PANGOFT2_PKG_ERRORS" >&5
30885
30886
30887 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30888 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30889 wxUSE_PRINTING_ARCHITECTURE="no"
30890
30891
30892 elif test $pkg_failed = untried; then
30893
30894 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30895 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30896 wxUSE_PRINTING_ARCHITECTURE="no"
30897
30898
30899 else
30900 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30901 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30902 { echo "$as_me:$LINENO: result: yes" >&5
30903 echo "${ECHO_T}yes" >&6; }
30904
30905 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30906 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30907 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30908
30909 fi
30910
30911 pkg_failed=no
30912 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30913 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30914
30915 if test -n "$PKG_CONFIG"; then
30916 if test -n "$PANGOXFT_CFLAGS"; then
30917 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30918 else
30919 if test -n "$PKG_CONFIG" && \
30920 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30921 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30922 ac_status=$?
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); }; then
30925 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30926 else
30927 pkg_failed=yes
30928 fi
30929 fi
30930 else
30931 pkg_failed=untried
30932 fi
30933 if test -n "$PKG_CONFIG"; then
30934 if test -n "$PANGOXFT_LIBS"; then
30935 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30936 else
30937 if test -n "$PKG_CONFIG" && \
30938 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30939 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30940 ac_status=$?
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; then
30943 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30944 else
30945 pkg_failed=yes
30946 fi
30947 fi
30948 else
30949 pkg_failed=untried
30950 fi
30951
30952
30953
30954 if test $pkg_failed = yes; then
30955
30956 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30957 _pkg_short_errors_supported=yes
30958 else
30959 _pkg_short_errors_supported=no
30960 fi
30961 if test $_pkg_short_errors_supported = yes; then
30962 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30963 else
30964 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30965 fi
30966 # Put the nasty error message in config.log where it belongs
30967 echo "$PANGOXFT_PKG_ERRORS" >&5
30968
30969
30970 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30971 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30972
30973
30974 elif test $pkg_failed = untried; then
30975
30976 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30977 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30978
30979
30980 else
30981 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30982 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30983 { echo "$as_me:$LINENO: result: yes" >&5
30984 echo "${ECHO_T}yes" >&6; }
30985
30986 cat >>confdefs.h <<\_ACEOF
30987 #define HAVE_PANGO_XFT 1
30988 _ACEOF
30989
30990 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30991 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30992 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30993
30994 fi
30995 save_LIBS="$LIBS"
30996 LIBS="$LIBS $PANGOX_LIBS"
30997
30998 for ac_func in pango_font_family_is_monospace
30999 do
31000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31001 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31003 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31004 echo $ECHO_N "(cached) $ECHO_C" >&6
31005 else
31006 cat >conftest.$ac_ext <<_ACEOF
31007 /* confdefs.h. */
31008 _ACEOF
31009 cat confdefs.h >>conftest.$ac_ext
31010 cat >>conftest.$ac_ext <<_ACEOF
31011 /* end confdefs.h. */
31012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31014 #define $ac_func innocuous_$ac_func
31015
31016 /* System header to define __stub macros and hopefully few prototypes,
31017 which can conflict with char $ac_func (); below.
31018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31019 <limits.h> exists even on freestanding compilers. */
31020
31021 #ifdef __STDC__
31022 # include <limits.h>
31023 #else
31024 # include <assert.h>
31025 #endif
31026
31027 #undef $ac_func
31028
31029 /* Override any GCC internal prototype to avoid an error.
31030 Use char because int might match the return type of a GCC
31031 builtin and then its argument prototype would still apply. */
31032 #ifdef __cplusplus
31033 extern "C"
31034 #endif
31035 char $ac_func ();
31036 /* The GNU C library defines this for functions which it implements
31037 to always fail with ENOSYS. Some functions are actually named
31038 something starting with __ and the normal name is an alias. */
31039 #if defined __stub_$ac_func || defined __stub___$ac_func
31040 choke me
31041 #endif
31042
31043 int
31044 main ()
31045 {
31046 return $ac_func ();
31047 ;
31048 return 0;
31049 }
31050 _ACEOF
31051 rm -f conftest.$ac_objext conftest$ac_exeext
31052 if { (ac_try="$ac_link"
31053 case "(($ac_try" in
31054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31055 *) ac_try_echo=$ac_try;;
31056 esac
31057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31058 (eval "$ac_link") 2>conftest.er1
31059 ac_status=$?
31060 grep -v '^ *+' conftest.er1 >conftest.err
31061 rm -f conftest.er1
31062 cat conftest.err >&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); } && {
31065 test -z "$ac_c_werror_flag" ||
31066 test ! -s conftest.err
31067 } && test -s conftest$ac_exeext &&
31068 $as_test_x conftest$ac_exeext; then
31069 eval "$as_ac_var=yes"
31070 else
31071 echo "$as_me: failed program was:" >&5
31072 sed 's/^/| /' conftest.$ac_ext >&5
31073
31074 eval "$as_ac_var=no"
31075 fi
31076
31077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31078 conftest$ac_exeext conftest.$ac_ext
31079 fi
31080 ac_res=`eval echo '${'$as_ac_var'}'`
31081 { echo "$as_me:$LINENO: result: $ac_res" >&5
31082 echo "${ECHO_T}$ac_res" >&6; }
31083 if test `eval echo '${'$as_ac_var'}'` = yes; then
31084 cat >>confdefs.h <<_ACEOF
31085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31086 _ACEOF
31087
31088 fi
31089 done
31090
31091 LIBS="$save_LIBS"
31092 fi
31093
31094 wxUSE_UNIVERSAL="yes"
31095
31096 if test "$wxUSE_NANOX" = "yes"; then
31097 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31098 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"
31099 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31100 else
31101 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31102 fi
31103
31104 TOOLKIT=X11
31105 GUIDIST=X11_DIST
31106 fi
31107
31108 if test "$wxUSE_MOTIF" = 1; then
31109 if test "$wxUSE_UNICODE" = "yes"; then
31110 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31111 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31112 { (exit 1); exit 1; }; }
31113 fi
31114
31115 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31116 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31117
31118 ac_find_includes=
31119 for ac_dir in $SEARCH_INCLUDE /usr/include;
31120 do
31121 if test -f "$ac_dir/Xm/Xm.h"; then
31122 ac_find_includes=$ac_dir
31123 break
31124 fi
31125 done
31126
31127 if test "$ac_find_includes" != "" ; then
31128 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31129 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31130
31131 if test "x$ac_find_includes" = "x/usr/include"; then
31132 ac_path_to_include=""
31133 else
31134 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31135 result=$?
31136 if test $result = 0; then
31137 ac_path_to_include=""
31138 else
31139 ac_path_to_include=" -I$ac_find_includes"
31140 fi
31141 fi
31142
31143 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31144 else
31145 save_CFLAGS=$CFLAGS
31146 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31147
31148 cat >conftest.$ac_ext <<_ACEOF
31149 /* confdefs.h. */
31150 _ACEOF
31151 cat confdefs.h >>conftest.$ac_ext
31152 cat >>conftest.$ac_ext <<_ACEOF
31153 /* end confdefs.h. */
31154
31155 #include <Xm/Xm.h>
31156
31157 int
31158 main ()
31159 {
31160
31161 int version;
31162 version = xmUseVersion;
31163
31164 ;
31165 return 0;
31166 }
31167 _ACEOF
31168 rm -f conftest.$ac_objext
31169 if { (ac_try="$ac_compile"
31170 case "(($ac_try" in
31171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31172 *) ac_try_echo=$ac_try;;
31173 esac
31174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31175 (eval "$ac_compile") 2>conftest.er1
31176 ac_status=$?
31177 grep -v '^ *+' conftest.er1 >conftest.err
31178 rm -f conftest.er1
31179 cat conftest.err >&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } && {
31182 test -z "$ac_c_werror_flag" ||
31183 test ! -s conftest.err
31184 } && test -s conftest.$ac_objext; then
31185
31186 { echo "$as_me:$LINENO: result: found in default search path" >&5
31187 echo "${ECHO_T}found in default search path" >&6; }
31188 COMPILED_X_PROGRAM=1
31189
31190 else
31191 echo "$as_me: failed program was:" >&5
31192 sed 's/^/| /' conftest.$ac_ext >&5
31193
31194
31195 { echo "$as_me:$LINENO: result: no" >&5
31196 echo "${ECHO_T}no" >&6; }
31197 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31198 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31199 { (exit 1); exit 1; }; }
31200
31201
31202 fi
31203
31204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31205
31206 CFLAGS=$save_CFLAGS
31207 fi
31208
31209
31210 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31211 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31212
31213 ac_find_libraries=
31214 for ac_dir in $SEARCH_LIB;
31215 do
31216 for ac_extension in a so sl dylib dll.a; do
31217 if test -f "$ac_dir/libXm.$ac_extension"; then
31218 ac_find_libraries=$ac_dir
31219 break 2
31220 fi
31221 done
31222 done
31223
31224
31225 if test "x$ac_find_libraries" != "x" ; then
31226 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31227 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31228
31229
31230 if test "$ac_find_libraries" = "default location"; then
31231 ac_path_to_link=""
31232 else
31233 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31234 result=$?
31235 if test $result = 0; then
31236 ac_path_to_link=""
31237 else
31238 ac_path_to_link=" -L$ac_find_libraries"
31239 fi
31240 fi
31241
31242 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31243 else
31244 save_CFLAGS=$CFLAGS
31245 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31246 save_LIBS="$LIBS"
31247 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31248
31249 cat >conftest.$ac_ext <<_ACEOF
31250 /* confdefs.h. */
31251 _ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31255
31256 #include <Xm/Xm.h>
31257
31258 int
31259 main ()
31260 {
31261
31262 int version;
31263 version = xmUseVersion;
31264
31265 ;
31266 return 0;
31267 }
31268 _ACEOF
31269 rm -f conftest.$ac_objext conftest$ac_exeext
31270 if { (ac_try="$ac_link"
31271 case "(($ac_try" in
31272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31273 *) ac_try_echo=$ac_try;;
31274 esac
31275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31276 (eval "$ac_link") 2>conftest.er1
31277 ac_status=$?
31278 grep -v '^ *+' conftest.er1 >conftest.err
31279 rm -f conftest.er1
31280 cat conftest.err >&5
31281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31282 (exit $ac_status); } && {
31283 test -z "$ac_c_werror_flag" ||
31284 test ! -s conftest.err
31285 } && test -s conftest$ac_exeext &&
31286 $as_test_x conftest$ac_exeext; then
31287
31288 { echo "$as_me:$LINENO: result: found in default search path" >&5
31289 echo "${ECHO_T}found in default search path" >&6; }
31290 COMPILED_X_PROGRAM=1
31291
31292 else
31293 echo "$as_me: failed program was:" >&5
31294 sed 's/^/| /' conftest.$ac_ext >&5
31295
31296
31297 { echo "$as_me:$LINENO: result: no" >&5
31298 echo "${ECHO_T}no" >&6; }
31299 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31300 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31301 { (exit 1); exit 1; }; }
31302
31303
31304 fi
31305
31306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31307 conftest$ac_exeext conftest.$ac_ext
31308
31309 CFLAGS=$save_CFLAGS
31310 LIBS="$save_LIBS"
31311 fi
31312
31313 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31314 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31315 libp_link=""
31316 libsm_ice_link=""
31317 libs_found=0
31318 for libp in "" " -lXp"; do
31319 if test "$libs_found" = "0"; then
31320 for libsm_ice in "" " -lSM -lICE"; do
31321 if test "$libs_found" = "0"; then
31322 save_LIBS="$LIBS"
31323 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31324 save_CFLAGS=$CFLAGS
31325 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31326
31327 cat >conftest.$ac_ext <<_ACEOF
31328 /* confdefs.h. */
31329 _ACEOF
31330 cat confdefs.h >>conftest.$ac_ext
31331 cat >>conftest.$ac_ext <<_ACEOF
31332 /* end confdefs.h. */
31333
31334 #include <Xm/Xm.h>
31335 #include <Xm/List.h>
31336
31337 int
31338 main ()
31339 {
31340
31341 XmString string = NULL;
31342 Widget w = NULL;
31343 int position = 0;
31344 XmListAddItem(w, string, position);
31345
31346 ;
31347 return 0;
31348 }
31349 _ACEOF
31350 rm -f conftest.$ac_objext conftest$ac_exeext
31351 if { (ac_try="$ac_link"
31352 case "(($ac_try" in
31353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31354 *) ac_try_echo=$ac_try;;
31355 esac
31356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31357 (eval "$ac_link") 2>conftest.er1
31358 ac_status=$?
31359 grep -v '^ *+' conftest.er1 >conftest.err
31360 rm -f conftest.er1
31361 cat conftest.err >&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); } && {
31364 test -z "$ac_c_werror_flag" ||
31365 test ! -s conftest.err
31366 } && test -s conftest$ac_exeext &&
31367 $as_test_x conftest$ac_exeext; then
31368
31369 libp_link="$libp"
31370 libsm_ice_link="$libsm_ice"
31371 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31372 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31373 libs_found=1
31374
31375 else
31376 echo "$as_me: failed program was:" >&5
31377 sed 's/^/| /' conftest.$ac_ext >&5
31378
31379
31380
31381 fi
31382
31383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31384 conftest$ac_exeext conftest.$ac_ext
31385
31386 LIBS="$save_LIBS"
31387 CFLAGS=$save_CFLAGS
31388 fi
31389 done
31390 fi
31391 done
31392
31393 if test "$libs_found" = "0"; then
31394 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31395 echo "${ECHO_T}can't find the right libraries" >&6; }
31396 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31397 echo "$as_me: error: can't link a simple motif program" >&2;}
31398 { (exit 1); exit 1; }; }
31399 fi
31400
31401 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31402 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31403 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31404 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 else
31406 ac_check_lib_save_LIBS=$LIBS
31407 LIBS="-lSgm $LIBS"
31408 cat >conftest.$ac_ext <<_ACEOF
31409 /* confdefs.h. */
31410 _ACEOF
31411 cat confdefs.h >>conftest.$ac_ext
31412 cat >>conftest.$ac_ext <<_ACEOF
31413 /* end confdefs.h. */
31414
31415 /* Override any GCC internal prototype to avoid an error.
31416 Use char because int might match the return type of a GCC
31417 builtin and then its argument prototype would still apply. */
31418 #ifdef __cplusplus
31419 extern "C"
31420 #endif
31421 char SgCreateList ();
31422 int
31423 main ()
31424 {
31425 return SgCreateList ();
31426 ;
31427 return 0;
31428 }
31429 _ACEOF
31430 rm -f conftest.$ac_objext conftest$ac_exeext
31431 if { (ac_try="$ac_link"
31432 case "(($ac_try" in
31433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31434 *) ac_try_echo=$ac_try;;
31435 esac
31436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31437 (eval "$ac_link") 2>conftest.er1
31438 ac_status=$?
31439 grep -v '^ *+' conftest.er1 >conftest.err
31440 rm -f conftest.er1
31441 cat conftest.err >&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); } && {
31444 test -z "$ac_c_werror_flag" ||
31445 test ! -s conftest.err
31446 } && test -s conftest$ac_exeext &&
31447 $as_test_x conftest$ac_exeext; then
31448 ac_cv_lib_Sgm_SgCreateList=yes
31449 else
31450 echo "$as_me: failed program was:" >&5
31451 sed 's/^/| /' conftest.$ac_ext >&5
31452
31453 ac_cv_lib_Sgm_SgCreateList=no
31454 fi
31455
31456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31457 conftest$ac_exeext conftest.$ac_ext
31458 LIBS=$ac_check_lib_save_LIBS
31459 fi
31460 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31461 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31462 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31463 libsgm_link=" -lSgm"
31464 fi
31465
31466
31467 save_CFLAGS=$CFLAGS
31468 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31469
31470 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31471 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31472 if test "${wx_cv_lib_motif2+set}" = set; then
31473 echo $ECHO_N "(cached) $ECHO_C" >&6
31474 else
31475 cat >conftest.$ac_ext <<_ACEOF
31476 /* confdefs.h. */
31477 _ACEOF
31478 cat confdefs.h >>conftest.$ac_ext
31479 cat >>conftest.$ac_ext <<_ACEOF
31480 /* end confdefs.h. */
31481
31482 #include <Xm/Xm.h>
31483
31484 int
31485 main ()
31486 {
31487
31488 #if XmVersion < 2000
31489 Not Motif 2
31490 #endif
31491
31492 ;
31493 return 0;
31494 }
31495 _ACEOF
31496 rm -f conftest.$ac_objext
31497 if { (ac_try="$ac_compile"
31498 case "(($ac_try" in
31499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31500 *) ac_try_echo=$ac_try;;
31501 esac
31502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31503 (eval "$ac_compile") 2>conftest.er1
31504 ac_status=$?
31505 grep -v '^ *+' conftest.er1 >conftest.err
31506 rm -f conftest.er1
31507 cat conftest.err >&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); } && {
31510 test -z "$ac_c_werror_flag" ||
31511 test ! -s conftest.err
31512 } && test -s conftest.$ac_objext; then
31513 wx_cv_lib_motif2="yes"
31514 else
31515 echo "$as_me: failed program was:" >&5
31516 sed 's/^/| /' conftest.$ac_ext >&5
31517
31518 wx_cv_lib_motif2="no"
31519 fi
31520
31521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31522 fi
31523 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31524 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31525 if test "$wx_cv_lib_motif2" = "yes"; then
31526 cat >>confdefs.h <<\_ACEOF
31527 #define __WXMOTIF20__ 1
31528 _ACEOF
31529
31530 else
31531 cat >>confdefs.h <<\_ACEOF
31532 #define __WXMOTIF20__ 0
31533 _ACEOF
31534
31535 fi
31536
31537 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31538 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31539 if test "${wx_cv_lib_lesstif+set}" = set; then
31540 echo $ECHO_N "(cached) $ECHO_C" >&6
31541 else
31542 cat >conftest.$ac_ext <<_ACEOF
31543 /* confdefs.h. */
31544 _ACEOF
31545 cat confdefs.h >>conftest.$ac_ext
31546 cat >>conftest.$ac_ext <<_ACEOF
31547 /* end confdefs.h. */
31548
31549 #include <Xm/Xm.h>
31550
31551 int
31552 main ()
31553 {
31554
31555 #if !defined(LesstifVersion) || LesstifVersion <= 0
31556 Not Lesstif
31557 #endif
31558
31559 ;
31560 return 0;
31561 }
31562 _ACEOF
31563 rm -f conftest.$ac_objext
31564 if { (ac_try="$ac_compile"
31565 case "(($ac_try" in
31566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31567 *) ac_try_echo=$ac_try;;
31568 esac
31569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31570 (eval "$ac_compile") 2>conftest.er1
31571 ac_status=$?
31572 grep -v '^ *+' conftest.er1 >conftest.err
31573 rm -f conftest.er1
31574 cat conftest.err >&5
31575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576 (exit $ac_status); } && {
31577 test -z "$ac_c_werror_flag" ||
31578 test ! -s conftest.err
31579 } && test -s conftest.$ac_objext; then
31580 wx_cv_lib_lesstif="yes"
31581 else
31582 echo "$as_me: failed program was:" >&5
31583 sed 's/^/| /' conftest.$ac_ext >&5
31584
31585 wx_cv_lib_lesstif="no"
31586 fi
31587
31588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31589
31590 fi
31591 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31592 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31593 if test "$wx_cv_lib_lesstif" = "yes"; then
31594 cat >>confdefs.h <<\_ACEOF
31595 #define __WXLESSTIF__ 1
31596 _ACEOF
31597
31598 else
31599 cat >>confdefs.h <<\_ACEOF
31600 #define __WXLESSTIF__ 0
31601 _ACEOF
31602
31603 fi
31604
31605 CFLAGS=$save_CFLAGS
31606
31607 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31608 TOOLKIT=MOTIF
31609 GUIDIST=MOTIF_DIST
31610 fi
31611
31612 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31613 if test "$wxUSE_LIBXPM" = "sys"; then
31614 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31615 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31616
31617 ac_find_libraries=
31618 for ac_dir in $SEARCH_LIB;
31619 do
31620 for ac_extension in a so sl dylib dll.a; do
31621 if test -f "$ac_dir/libXpm.$ac_extension"; then
31622 ac_find_libraries=$ac_dir
31623 break 2
31624 fi
31625 done
31626 done
31627
31628 if test "$ac_find_libraries" != "" ; then
31629
31630 if test "$ac_find_libraries" = "default location"; then
31631 ac_path_to_link=""
31632 else
31633 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31634 result=$?
31635 if test $result = 0; then
31636 ac_path_to_link=""
31637 else
31638 ac_path_to_link=" -L$ac_find_libraries"
31639 fi
31640 fi
31641
31642 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31643 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31644 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31645
31646 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31647 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31648 if test "${wx_cv_x11_xpm_h+set}" = set; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 else
31651
31652 save_CFLAGS=$CFLAGS
31653 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31654
31655 cat >conftest.$ac_ext <<_ACEOF
31656 /* confdefs.h. */
31657 _ACEOF
31658 cat confdefs.h >>conftest.$ac_ext
31659 cat >>conftest.$ac_ext <<_ACEOF
31660 /* end confdefs.h. */
31661
31662 #include <X11/xpm.h>
31663
31664 int
31665 main ()
31666 {
31667
31668 int version;
31669 version = XpmLibraryVersion();
31670
31671 ;
31672 return 0;
31673 }
31674 _ACEOF
31675 rm -f conftest.$ac_objext
31676 if { (ac_try="$ac_compile"
31677 case "(($ac_try" in
31678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31679 *) ac_try_echo=$ac_try;;
31680 esac
31681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31682 (eval "$ac_compile") 2>conftest.er1
31683 ac_status=$?
31684 grep -v '^ *+' conftest.er1 >conftest.err
31685 rm -f conftest.er1
31686 cat conftest.err >&5
31687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31688 (exit $ac_status); } && {
31689 test -z "$ac_c_werror_flag" ||
31690 test ! -s conftest.err
31691 } && test -s conftest.$ac_objext; then
31692 wx_cv_x11_xpm_h=yes
31693 else
31694 echo "$as_me: failed program was:" >&5
31695 sed 's/^/| /' conftest.$ac_ext >&5
31696
31697 wx_cv_x11_xpm_h=no
31698
31699 fi
31700
31701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31702
31703 CFLAGS=$save_CFLAGS
31704
31705
31706 fi
31707 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31708 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31709
31710 if test $wx_cv_x11_xpm_h = "yes"; then
31711 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31712 cat >>confdefs.h <<\_ACEOF
31713 #define wxHAVE_LIB_XPM 1
31714 _ACEOF
31715
31716 else
31717 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31718 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31719 fi
31720 fi
31721
31722 fi
31723
31724 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31725 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31726 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31727 echo $ECHO_N "(cached) $ECHO_C" >&6
31728 else
31729 ac_check_lib_save_LIBS=$LIBS
31730 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31731 cat >conftest.$ac_ext <<_ACEOF
31732 /* confdefs.h. */
31733 _ACEOF
31734 cat confdefs.h >>conftest.$ac_ext
31735 cat >>conftest.$ac_ext <<_ACEOF
31736 /* end confdefs.h. */
31737
31738 /* Override any GCC internal prototype to avoid an error.
31739 Use char because int might match the return type of a GCC
31740 builtin and then its argument prototype would still apply. */
31741 #ifdef __cplusplus
31742 extern "C"
31743 #endif
31744 char XShapeQueryExtension ();
31745 int
31746 main ()
31747 {
31748 return XShapeQueryExtension ();
31749 ;
31750 return 0;
31751 }
31752 _ACEOF
31753 rm -f conftest.$ac_objext conftest$ac_exeext
31754 if { (ac_try="$ac_link"
31755 case "(($ac_try" in
31756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31757 *) ac_try_echo=$ac_try;;
31758 esac
31759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31760 (eval "$ac_link") 2>conftest.er1
31761 ac_status=$?
31762 grep -v '^ *+' conftest.er1 >conftest.err
31763 rm -f conftest.er1
31764 cat conftest.err >&5
31765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766 (exit $ac_status); } && {
31767 test -z "$ac_c_werror_flag" ||
31768 test ! -s conftest.err
31769 } && test -s conftest$ac_exeext &&
31770 $as_test_x conftest$ac_exeext; then
31771 ac_cv_lib_Xext_XShapeQueryExtension=yes
31772 else
31773 echo "$as_me: failed program was:" >&5
31774 sed 's/^/| /' conftest.$ac_ext >&5
31775
31776 ac_cv_lib_Xext_XShapeQueryExtension=no
31777 fi
31778
31779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31780 conftest$ac_exeext conftest.$ac_ext
31781 LIBS=$ac_check_lib_save_LIBS
31782 fi
31783 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31784 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31785 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31786
31787 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31788 wxHAVE_XEXT_LIB=1
31789
31790 fi
31791
31792
31793 if test "$wxHAVE_XEXT_LIB" = 1; then
31794 save_CFLAGS="$CFLAGS"
31795 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31796
31797 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31798 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31799 cat >conftest.$ac_ext <<_ACEOF
31800 /* confdefs.h. */
31801 _ACEOF
31802 cat confdefs.h >>conftest.$ac_ext
31803 cat >>conftest.$ac_ext <<_ACEOF
31804 /* end confdefs.h. */
31805
31806 #include <X11/Xlib.h>
31807 #include <X11/extensions/shape.h>
31808
31809 int
31810 main ()
31811 {
31812
31813 int dummy1, dummy2;
31814 XShapeQueryExtension((Display*)NULL,
31815 (int*)NULL, (int*)NULL);
31816
31817 ;
31818 return 0;
31819 }
31820 _ACEOF
31821 rm -f conftest.$ac_objext
31822 if { (ac_try="$ac_compile"
31823 case "(($ac_try" in
31824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31825 *) ac_try_echo=$ac_try;;
31826 esac
31827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31828 (eval "$ac_compile") 2>conftest.er1
31829 ac_status=$?
31830 grep -v '^ *+' conftest.er1 >conftest.err
31831 rm -f conftest.er1
31832 cat conftest.err >&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); } && {
31835 test -z "$ac_c_werror_flag" ||
31836 test ! -s conftest.err
31837 } && test -s conftest.$ac_objext; then
31838
31839 cat >>confdefs.h <<\_ACEOF
31840 #define HAVE_XSHAPE 1
31841 _ACEOF
31842
31843 { echo "$as_me:$LINENO: result: found" >&5
31844 echo "${ECHO_T}found" >&6; }
31845
31846 else
31847 echo "$as_me: failed program was:" >&5
31848 sed 's/^/| /' conftest.$ac_ext >&5
31849
31850
31851 { echo "$as_me:$LINENO: result: not found" >&5
31852 echo "${ECHO_T}not found" >&6; }
31853
31854 fi
31855
31856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31857 CFLAGS="$save_CFLAGS"
31858
31859 fi
31860 fi
31861
31862 if test "$wxUSE_MAC" = 1; then
31863 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31864 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31865 if test "$GCC" = yes; then
31866 { echo "$as_me:$LINENO: result: gcc" >&5
31867 echo "${ECHO_T}gcc" >&6; }
31868 CPPFLAGS_PASCAL="-fpascal-strings"
31869 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31870 { echo "$as_me:$LINENO: result: xlc" >&5
31871 echo "${ECHO_T}xlc" >&6; }
31872 CPPFLAGS_PASCAL="-qmacpstr"
31873 else
31874 { echo "$as_me:$LINENO: result: none" >&5
31875 echo "${ECHO_T}none" >&6; }
31876 fi
31877
31878 if test "x$wxUSE_UNIX" = "xyes"; then
31879 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31880 else
31881 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31882 fi
31883
31884 TOOLKIT=MAC
31885 GUIDIST=MACX_DIST
31886 WXBASEPORT="_carbon"
31887 fi
31888
31889 if test "$wxUSE_COCOA" = 1; then
31890 TOOLKIT=COCOA
31891 GUIDIST=COCOA_DIST
31892 fi
31893
31894 if test "$wxUSE_PM" = 1; then
31895 TOOLKIT=PM
31896 GUIDIST=PM_DIST
31897 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31898 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31899 if test "${wx_cv_spbcdata+set}" = set; then
31900 echo $ECHO_N "(cached) $ECHO_C" >&6
31901 else
31902
31903 cat >conftest.$ac_ext <<_ACEOF
31904 /* confdefs.h. */
31905 _ACEOF
31906 cat confdefs.h >>conftest.$ac_ext
31907 cat >>conftest.$ac_ext <<_ACEOF
31908 /* end confdefs.h. */
31909
31910 #define INCL_PM
31911 #include <os2.h>
31912
31913 int
31914 main ()
31915 {
31916
31917 SPBCDATA test;
31918
31919 ;
31920 return 0;
31921 }
31922 _ACEOF
31923 rm -f conftest.$ac_objext
31924 if { (ac_try="$ac_compile"
31925 case "(($ac_try" in
31926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31927 *) ac_try_echo=$ac_try;;
31928 esac
31929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31930 (eval "$ac_compile") 2>conftest.er1
31931 ac_status=$?
31932 grep -v '^ *+' conftest.er1 >conftest.err
31933 rm -f conftest.er1
31934 cat conftest.err >&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); } && {
31937 test -z "$ac_c_werror_flag" ||
31938 test ! -s conftest.err
31939 } && test -s conftest.$ac_objext; then
31940 wx_cv_spbcdata=yes
31941 else
31942 echo "$as_me: failed program was:" >&5
31943 sed 's/^/| /' conftest.$ac_ext >&5
31944
31945 wx_cv_spbcdata=no
31946
31947 fi
31948
31949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31950
31951
31952 fi
31953 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31954 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31955
31956 if test $wx_cv_spbcdata = "yes"; then
31957 cat >>confdefs.h <<\_ACEOF
31958 #define HAVE_SPBCDATA 1
31959 _ACEOF
31960
31961 fi
31962 fi
31963
31964 if test "$TOOLKIT" = "PM" ; then
31965 TOOLKIT_DIR="os2"
31966 else
31967 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31968 fi
31969
31970 if test "$wxUSE_UNIVERSAL" = "yes"; then
31971 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31972 WIDGET_SET=univ
31973 fi
31974
31975 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31976 DISTDIR="wx\$(TOOLKIT)"
31977 else
31978 USE_GUI=0
31979
31980 TOOLKIT_DIR="base"
31981
31982 if test "$USE_WIN32" = 1 ; then
31983 TOOLKIT="MSW"
31984 fi
31985
31986 GUIDIST="BASE_DIST"
31987 DISTDIR="wxBase"
31988 fi
31989
31990
31991
31992 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31993 if test "$TOOLKIT" = "DFB" ; then
31994 wxUSE_UNICODE_UTF8=yes
31995 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31996 wxUSE_UNICODE_UTF8=yes
31997 elif test "$USE_OS2" = "1" ; then
31998 wxUSE_UNICODE_UTF8=yes
31999 else
32000 wxUSE_UNICODE_UTF8=no
32001 fi
32002 fi
32003
32004
32005 if test "$wxUSE_GUI" = "yes"; then
32006 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32007 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
32008 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
32009 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
32010 echo $ECHO_N "(cached) $ECHO_C" >&6
32011 else
32012 cat >conftest.$ac_ext <<_ACEOF
32013 /* confdefs.h. */
32014 _ACEOF
32015 cat confdefs.h >>conftest.$ac_ext
32016 cat >>conftest.$ac_ext <<_ACEOF
32017 /* end confdefs.h. */
32018
32019
32020 #include <X11/Xlib.h>
32021 _ACEOF
32022 rm -f conftest.$ac_objext
32023 if { (ac_try="$ac_compile"
32024 case "(($ac_try" in
32025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32026 *) ac_try_echo=$ac_try;;
32027 esac
32028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_compile") 2>conftest.er1
32030 ac_status=$?
32031 grep -v '^ *+' conftest.er1 >conftest.err
32032 rm -f conftest.er1
32033 cat conftest.err >&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } && {
32036 test -z "$ac_c_werror_flag" ||
32037 test ! -s conftest.err
32038 } && test -s conftest.$ac_objext; then
32039 ac_cv_header_X11_Xlib_h=yes
32040 else
32041 echo "$as_me: failed program was:" >&5
32042 sed 's/^/| /' conftest.$ac_ext >&5
32043
32044 ac_cv_header_X11_Xlib_h=no
32045 fi
32046
32047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32048 fi
32049 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
32050 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
32051
32052
32053 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
32054 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
32055 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
32056 echo $ECHO_N "(cached) $ECHO_C" >&6
32057 else
32058 cat >conftest.$ac_ext <<_ACEOF
32059 /* confdefs.h. */
32060 _ACEOF
32061 cat confdefs.h >>conftest.$ac_ext
32062 cat >>conftest.$ac_ext <<_ACEOF
32063 /* end confdefs.h. */
32064
32065 #if HAVE_X11_XLIB_H
32066 #include <X11/Xlib.h>
32067 #endif
32068
32069
32070 #include <X11/XKBlib.h>
32071 _ACEOF
32072 rm -f conftest.$ac_objext
32073 if { (ac_try="$ac_compile"
32074 case "(($ac_try" in
32075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32076 *) ac_try_echo=$ac_try;;
32077 esac
32078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32079 (eval "$ac_compile") 2>conftest.er1
32080 ac_status=$?
32081 grep -v '^ *+' conftest.er1 >conftest.err
32082 rm -f conftest.er1
32083 cat conftest.err >&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } && {
32086 test -z "$ac_c_werror_flag" ||
32087 test ! -s conftest.err
32088 } && test -s conftest.$ac_objext; then
32089 ac_cv_header_X11_XKBlib_h=yes
32090 else
32091 echo "$as_me: failed program was:" >&5
32092 sed 's/^/| /' conftest.$ac_ext >&5
32093
32094 ac_cv_header_X11_XKBlib_h=no
32095 fi
32096
32097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32098 fi
32099 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
32100 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
32101
32102
32103 fi
32104 fi
32105
32106
32107
32108 IODBC_C_SRC=""
32109
32110
32111 if test "$TOOLKIT" != "MSW" ; then
32112
32113 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32114
32115 { echo "$as_me:$LINENO: checking for sql.h" >&5
32116 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
32117 if test "${ac_cv_header_sql_h+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 else
32120 cat >conftest.$ac_ext <<_ACEOF
32121 /* confdefs.h. */
32122 _ACEOF
32123 cat confdefs.h >>conftest.$ac_ext
32124 cat >>conftest.$ac_ext <<_ACEOF
32125 /* end confdefs.h. */
32126
32127
32128 #include <sql.h>
32129 _ACEOF
32130 rm -f conftest.$ac_objext
32131 if { (ac_try="$ac_compile"
32132 case "(($ac_try" in
32133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32134 *) ac_try_echo=$ac_try;;
32135 esac
32136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32137 (eval "$ac_compile") 2>conftest.er1
32138 ac_status=$?
32139 grep -v '^ *+' conftest.er1 >conftest.err
32140 rm -f conftest.er1
32141 cat conftest.err >&5
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); } && {
32144 test -z "$ac_c_werror_flag" ||
32145 test ! -s conftest.err
32146 } && test -s conftest.$ac_objext; then
32147 ac_cv_header_sql_h=yes
32148 else
32149 echo "$as_me: failed program was:" >&5
32150 sed 's/^/| /' conftest.$ac_ext >&5
32151
32152 ac_cv_header_sql_h=no
32153 fi
32154
32155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32156 fi
32157 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32158 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
32159 if test $ac_cv_header_sql_h = yes; then
32160 found_sql_h=1
32161 fi
32162
32163
32164 if test "x$found_sql_h" = "x1" ; then
32165 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32166 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
32167 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32168 echo $ECHO_N "(cached) $ECHO_C" >&6
32169 else
32170 ac_check_lib_save_LIBS=$LIBS
32171 LIBS="-liodbc $LIBS"
32172 cat >conftest.$ac_ext <<_ACEOF
32173 /* confdefs.h. */
32174 _ACEOF
32175 cat confdefs.h >>conftest.$ac_ext
32176 cat >>conftest.$ac_ext <<_ACEOF
32177 /* end confdefs.h. */
32178
32179 /* Override any GCC internal prototype to avoid an error.
32180 Use char because int might match the return type of a GCC
32181 builtin and then its argument prototype would still apply. */
32182 #ifdef __cplusplus
32183 extern "C"
32184 #endif
32185 char SQLAllocEnv ();
32186 int
32187 main ()
32188 {
32189 return SQLAllocEnv ();
32190 ;
32191 return 0;
32192 }
32193 _ACEOF
32194 rm -f conftest.$ac_objext conftest$ac_exeext
32195 if { (ac_try="$ac_link"
32196 case "(($ac_try" in
32197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32198 *) ac_try_echo=$ac_try;;
32199 esac
32200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32201 (eval "$ac_link") 2>conftest.er1
32202 ac_status=$?
32203 grep -v '^ *+' conftest.er1 >conftest.err
32204 rm -f conftest.er1
32205 cat conftest.err >&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); } && {
32208 test -z "$ac_c_werror_flag" ||
32209 test ! -s conftest.err
32210 } && test -s conftest$ac_exeext &&
32211 $as_test_x conftest$ac_exeext; then
32212 ac_cv_lib_iodbc_SQLAllocEnv=yes
32213 else
32214 echo "$as_me: failed program was:" >&5
32215 sed 's/^/| /' conftest.$ac_ext >&5
32216
32217 ac_cv_lib_iodbc_SQLAllocEnv=no
32218 fi
32219
32220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32221 conftest$ac_exeext conftest.$ac_ext
32222 LIBS=$ac_check_lib_save_LIBS
32223 fi
32224 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32225 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
32226 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32227 ODBC_LINK=" -liodbc"
32228 else
32229
32230 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32231 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
32232 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32233 echo $ECHO_N "(cached) $ECHO_C" >&6
32234 else
32235 ac_check_lib_save_LIBS=$LIBS
32236 LIBS="-lunixodbc $LIBS"
32237 cat >conftest.$ac_ext <<_ACEOF
32238 /* confdefs.h. */
32239 _ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32243
32244 /* Override any GCC internal prototype to avoid an error.
32245 Use char because int might match the return type of a GCC
32246 builtin and then its argument prototype would still apply. */
32247 #ifdef __cplusplus
32248 extern "C"
32249 #endif
32250 char SQLAllocEnv ();
32251 int
32252 main ()
32253 {
32254 return SQLAllocEnv ();
32255 ;
32256 return 0;
32257 }
32258 _ACEOF
32259 rm -f conftest.$ac_objext conftest$ac_exeext
32260 if { (ac_try="$ac_link"
32261 case "(($ac_try" in
32262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32263 *) ac_try_echo=$ac_try;;
32264 esac
32265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32266 (eval "$ac_link") 2>conftest.er1
32267 ac_status=$?
32268 grep -v '^ *+' conftest.er1 >conftest.err
32269 rm -f conftest.er1
32270 cat conftest.err >&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); } && {
32273 test -z "$ac_c_werror_flag" ||
32274 test ! -s conftest.err
32275 } && test -s conftest$ac_exeext &&
32276 $as_test_x conftest$ac_exeext; then
32277 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32278 else
32279 echo "$as_me: failed program was:" >&5
32280 sed 's/^/| /' conftest.$ac_ext >&5
32281
32282 ac_cv_lib_unixodbc_SQLAllocEnv=no
32283 fi
32284
32285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32286 conftest$ac_exeext conftest.$ac_ext
32287 LIBS=$ac_check_lib_save_LIBS
32288 fi
32289 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32290 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32291 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32292 ODBC_LINK=" -lunixodbc"
32293 else
32294
32295 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32296 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32297 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32298 echo $ECHO_N "(cached) $ECHO_C" >&6
32299 else
32300 ac_check_lib_save_LIBS=$LIBS
32301 LIBS="-lodbc $LIBS"
32302 cat >conftest.$ac_ext <<_ACEOF
32303 /* confdefs.h. */
32304 _ACEOF
32305 cat confdefs.h >>conftest.$ac_ext
32306 cat >>conftest.$ac_ext <<_ACEOF
32307 /* end confdefs.h. */
32308
32309 /* Override any GCC internal prototype to avoid an error.
32310 Use char because int might match the return type of a GCC
32311 builtin and then its argument prototype would still apply. */
32312 #ifdef __cplusplus
32313 extern "C"
32314 #endif
32315 char SQLAllocEnv ();
32316 int
32317 main ()
32318 {
32319 return SQLAllocEnv ();
32320 ;
32321 return 0;
32322 }
32323 _ACEOF
32324 rm -f conftest.$ac_objext conftest$ac_exeext
32325 if { (ac_try="$ac_link"
32326 case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32329 esac
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_link") 2>conftest.er1
32332 ac_status=$?
32333 grep -v '^ *+' conftest.er1 >conftest.err
32334 rm -f conftest.er1
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest$ac_exeext &&
32341 $as_test_x conftest$ac_exeext; then
32342 ac_cv_lib_odbc_SQLAllocEnv=yes
32343 else
32344 echo "$as_me: failed program was:" >&5
32345 sed 's/^/| /' conftest.$ac_ext >&5
32346
32347 ac_cv_lib_odbc_SQLAllocEnv=no
32348 fi
32349
32350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32351 conftest$ac_exeext conftest.$ac_ext
32352 LIBS=$ac_check_lib_save_LIBS
32353 fi
32354 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32355 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32356 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32357 ODBC_LINK=" -lodbc"
32358 fi
32359
32360
32361 fi
32362
32363
32364 fi
32365
32366 fi
32367 if test "x$ODBC_LINK" = "x" ; then
32368 if test "$wxUSE_ODBC" = "sys" ; then
32369 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32370 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32371 { (exit 1); exit 1; }; }
32372 else
32373 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32374 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32375 wxUSE_ODBC=builtin
32376 fi
32377 else
32378 wxUSE_ODBC=sys
32379 fi
32380 fi
32381
32382 if test "$wxUSE_ODBC" = "builtin" ; then
32383 cat >>confdefs.h <<\_ACEOF
32384 #define wxUSE_BUILTIN_IODBC 1
32385 _ACEOF
32386
32387 fi
32388 fi
32389
32390 if test "$wxUSE_ODBC" != "no" ; then
32391 cat >>confdefs.h <<\_ACEOF
32392 #define wxUSE_ODBC 1
32393 _ACEOF
32394
32395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32396
32397 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32398 fi
32399
32400
32401 if test "$wxUSE_DISPLAY" = "yes"; then
32402 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32403 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32404 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32405
32406 ac_find_libraries=
32407 for ac_dir in $SEARCH_LIB;
32408 do
32409 for ac_extension in a so sl dylib dll.a; do
32410 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32411 ac_find_libraries=$ac_dir
32412 break 2
32413 fi
32414 done
32415 done
32416
32417 if test "$ac_find_libraries" != "" ; then
32418
32419 if test "$ac_find_libraries" = "default location"; then
32420 ac_path_to_link=""
32421 else
32422 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32423 result=$?
32424 if test $result = 0; then
32425 ac_path_to_link=""
32426 else
32427 ac_path_to_link=" -L$ac_find_libraries"
32428 fi
32429 fi
32430
32431 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32432 LDFLAGS="$LDFLAGS $ac_path_to_link"
32433 fi
32434 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32435 { echo "$as_me:$LINENO: result: yes" >&5
32436 echo "${ECHO_T}yes" >&6; }
32437
32438 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32439 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32440
32441 ac_find_libraries=
32442 for ac_dir in $SEARCH_LIB;
32443 do
32444 for ac_extension in a so sl dylib dll.a; do
32445 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32446 ac_find_libraries=$ac_dir
32447 break 2
32448 fi
32449 done
32450 done
32451
32452 if test "$ac_find_libraries" != "" ; then
32453 { echo "$as_me:$LINENO: result: yes" >&5
32454 echo "${ECHO_T}yes" >&6; }
32455 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32456 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32457 if test "${ac_cv_header_X11_extensions_xf86vmode_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 #if HAVE_X11_XLIB_H
32468 #include <X11/Xlib.h>
32469 #endif
32470
32471
32472 #include <X11/extensions/xf86vmode.h>
32473 _ACEOF
32474 rm -f conftest.$ac_objext
32475 if { (ac_try="$ac_compile"
32476 case "(($ac_try" in
32477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32478 *) ac_try_echo=$ac_try;;
32479 esac
32480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_compile") 2>conftest.er1
32482 ac_status=$?
32483 grep -v '^ *+' conftest.er1 >conftest.err
32484 rm -f conftest.er1
32485 cat conftest.err >&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } && {
32488 test -z "$ac_c_werror_flag" ||
32489 test ! -s conftest.err
32490 } && test -s conftest.$ac_objext; then
32491 ac_cv_header_X11_extensions_xf86vmode_h=yes
32492 else
32493 echo "$as_me: failed program was:" >&5
32494 sed 's/^/| /' conftest.$ac_ext >&5
32495
32496 ac_cv_header_X11_extensions_xf86vmode_h=no
32497 fi
32498
32499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32500 fi
32501 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32502 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32503 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32504
32505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32506
32507 fi
32508
32509
32510 else
32511 { echo "$as_me:$LINENO: result: no" >&5
32512 echo "${ECHO_T}no" >&6; }
32513 fi
32514
32515 else
32516 { echo "$as_me:$LINENO: result: no" >&5
32517 echo "${ECHO_T}no" >&6; }
32518 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32519 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32520 wxUSE_DISPLAY="no"
32521 fi
32522 elif test "$wxUSE_MSW" = 1; then
32523 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32524 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32525 if test "${ac_cv_header_ddraw_h+set}" = set; then
32526 echo $ECHO_N "(cached) $ECHO_C" >&6
32527 else
32528 cat >conftest.$ac_ext <<_ACEOF
32529 /* confdefs.h. */
32530 _ACEOF
32531 cat confdefs.h >>conftest.$ac_ext
32532 cat >>conftest.$ac_ext <<_ACEOF
32533 /* end confdefs.h. */
32534 #include <windows.h>
32535
32536 #include <ddraw.h>
32537 _ACEOF
32538 rm -f conftest.$ac_objext
32539 if { (ac_try="$ac_compile"
32540 case "(($ac_try" in
32541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32542 *) ac_try_echo=$ac_try;;
32543 esac
32544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32545 (eval "$ac_compile") 2>conftest.er1
32546 ac_status=$?
32547 grep -v '^ *+' conftest.er1 >conftest.err
32548 rm -f conftest.er1
32549 cat conftest.err >&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } && {
32552 test -z "$ac_c_werror_flag" ||
32553 test ! -s conftest.err
32554 } && test -s conftest.$ac_objext; then
32555 ac_cv_header_ddraw_h=yes
32556 else
32557 echo "$as_me: failed program was:" >&5
32558 sed 's/^/| /' conftest.$ac_ext >&5
32559
32560 ac_cv_header_ddraw_h=no
32561 fi
32562
32563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32564 fi
32565 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32566 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32567
32568
32569 fi
32570 fi
32571
32572 if test "$wxUSE_DETECT_SM" = "yes"; then
32573 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32574 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32575 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32576
32577 ac_find_libraries=
32578 for ac_dir in $SEARCH_LIB;
32579 do
32580 for ac_extension in a so sl dylib dll.a; do
32581 if test -f "$ac_dir/libSM.$ac_extension"; then
32582 ac_find_libraries=$ac_dir
32583 break 2
32584 fi
32585 done
32586 done
32587
32588 if test "$ac_find_libraries" != "" ; then
32589
32590 if test "$ac_find_libraries" = "default location"; then
32591 ac_path_to_link=""
32592 else
32593 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32594 result=$?
32595 if test $result = 0; then
32596 ac_path_to_link=""
32597 else
32598 ac_path_to_link=" -L$ac_find_libraries"
32599 fi
32600 fi
32601
32602 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32603 LDFLAGS="$LDFLAGS $ac_path_to_link"
32604 fi
32605 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32606 { echo "$as_me:$LINENO: result: yes" >&5
32607 echo "${ECHO_T}yes" >&6; }
32608 else
32609 { echo "$as_me:$LINENO: result: no" >&5
32610 echo "${ECHO_T}no" >&6; }
32611 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32612 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32613 wxUSE_DETECT_SM="no"
32614 fi
32615 else
32616 wxUSE_DETECT_SM="no"
32617 fi
32618 fi
32619
32620
32621
32622 USE_OPENGL=0
32623 if test "$wxUSE_OPENGL" = "yes"; then
32624 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32625 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32626 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32627 wxUSE_OPENGL="no"
32628 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32629 OPENGL_LIBS="-framework OpenGL -framework AGL"
32630 elif test "$wxUSE_MSW" = 1; then
32631 OPENGL_LIBS="-lopengl32 -lglu32"
32632 else
32633 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32634 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32635
32636 ac_find_includes=
32637 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32638 do
32639 if test -f "$ac_dir/GL/gl.h"; then
32640 ac_find_includes=$ac_dir
32641 break
32642 fi
32643 done
32644
32645 if test "$ac_find_includes" != "" ; then
32646 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32647 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32648
32649 if test "x$ac_find_includes" = "x/usr/include"; then
32650 ac_path_to_include=""
32651 else
32652 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32653 result=$?
32654 if test $result = 0; then
32655 ac_path_to_include=""
32656 else
32657 ac_path_to_include=" -I$ac_find_includes"
32658 fi
32659 fi
32660
32661 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32662 else
32663 { echo "$as_me:$LINENO: result: not found" >&5
32664 echo "${ECHO_T}not found" >&6; }
32665 fi
32666
32667 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32668 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32669 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32670 echo $ECHO_N "(cached) $ECHO_C" >&6
32671 else
32672 cat >conftest.$ac_ext <<_ACEOF
32673 /* confdefs.h. */
32674 _ACEOF
32675 cat confdefs.h >>conftest.$ac_ext
32676 cat >>conftest.$ac_ext <<_ACEOF
32677 /* end confdefs.h. */
32678
32679
32680 #include <GL/gl.h>
32681 _ACEOF
32682 rm -f conftest.$ac_objext
32683 if { (ac_try="$ac_compile"
32684 case "(($ac_try" in
32685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32686 *) ac_try_echo=$ac_try;;
32687 esac
32688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32689 (eval "$ac_compile") 2>conftest.er1
32690 ac_status=$?
32691 grep -v '^ *+' conftest.er1 >conftest.err
32692 rm -f conftest.er1
32693 cat conftest.err >&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } && {
32696 test -z "$ac_c_werror_flag" ||
32697 test ! -s conftest.err
32698 } && test -s conftest.$ac_objext; then
32699 ac_cv_header_GL_gl_h=yes
32700 else
32701 echo "$as_me: failed program was:" >&5
32702 sed 's/^/| /' conftest.$ac_ext >&5
32703
32704 ac_cv_header_GL_gl_h=no
32705 fi
32706
32707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32708 fi
32709 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32710 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32711 if test $ac_cv_header_GL_gl_h = yes; then
32712
32713 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32714 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32715 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32716 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32717 echo $ECHO_N "(cached) $ECHO_C" >&6
32718 fi
32719 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32720 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32721 else
32722 # Is the header compilable?
32723 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32724 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32725 cat >conftest.$ac_ext <<_ACEOF
32726 /* confdefs.h. */
32727 _ACEOF
32728 cat confdefs.h >>conftest.$ac_ext
32729 cat >>conftest.$ac_ext <<_ACEOF
32730 /* end confdefs.h. */
32731 $ac_includes_default
32732 #include <GL/glu.h>
32733 _ACEOF
32734 rm -f conftest.$ac_objext
32735 if { (ac_try="$ac_compile"
32736 case "(($ac_try" in
32737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32738 *) ac_try_echo=$ac_try;;
32739 esac
32740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32741 (eval "$ac_compile") 2>conftest.er1
32742 ac_status=$?
32743 grep -v '^ *+' conftest.er1 >conftest.err
32744 rm -f conftest.er1
32745 cat conftest.err >&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } && {
32748 test -z "$ac_c_werror_flag" ||
32749 test ! -s conftest.err
32750 } && test -s conftest.$ac_objext; then
32751 ac_header_compiler=yes
32752 else
32753 echo "$as_me: failed program was:" >&5
32754 sed 's/^/| /' conftest.$ac_ext >&5
32755
32756 ac_header_compiler=no
32757 fi
32758
32759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32760 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32761 echo "${ECHO_T}$ac_header_compiler" >&6; }
32762
32763 # Is the header present?
32764 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32765 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32766 cat >conftest.$ac_ext <<_ACEOF
32767 /* confdefs.h. */
32768 _ACEOF
32769 cat confdefs.h >>conftest.$ac_ext
32770 cat >>conftest.$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32772 #include <GL/glu.h>
32773 _ACEOF
32774 if { (ac_try="$ac_cpp conftest.$ac_ext"
32775 case "(($ac_try" in
32776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32777 *) ac_try_echo=$ac_try;;
32778 esac
32779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32781 ac_status=$?
32782 grep -v '^ *+' conftest.er1 >conftest.err
32783 rm -f conftest.er1
32784 cat conftest.err >&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } >/dev/null && {
32787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32788 test ! -s conftest.err
32789 }; then
32790 ac_header_preproc=yes
32791 else
32792 echo "$as_me: failed program was:" >&5
32793 sed 's/^/| /' conftest.$ac_ext >&5
32794
32795 ac_header_preproc=no
32796 fi
32797
32798 rm -f conftest.err conftest.$ac_ext
32799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32800 echo "${ECHO_T}$ac_header_preproc" >&6; }
32801
32802 # So? What about this header?
32803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32804 yes:no: )
32805 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32806 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32807 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32808 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32809 ac_header_preproc=yes
32810 ;;
32811 no:yes:* )
32812 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32813 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32814 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32815 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32816 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32817 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32818 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32819 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32820 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32821 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32822 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32823 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32824 ( cat <<\_ASBOX
32825 ## ----------------------------------------- ##
32826 ## Report this to wx-dev@lists.wxwidgets.org ##
32827 ## ----------------------------------------- ##
32828 _ASBOX
32829 ) | sed "s/^/$as_me: WARNING: /" >&2
32830 ;;
32831 esac
32832 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32833 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32834 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32835 echo $ECHO_N "(cached) $ECHO_C" >&6
32836 else
32837 ac_cv_header_GL_glu_h=$ac_header_preproc
32838 fi
32839 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32840 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32841
32842 fi
32843 if test $ac_cv_header_GL_glu_h = yes; then
32844
32845 found_gl=0
32846
32847 { echo "$as_me:$LINENO: checking for -lGL" >&5
32848 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32849
32850 ac_find_libraries=
32851 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32852 do
32853 for ac_extension in a so sl dylib dll.a; do
32854 if test -f "$ac_dir/libGL.$ac_extension"; then
32855 ac_find_libraries=$ac_dir
32856 break 2
32857 fi
32858 done
32859 done
32860
32861 if test "$ac_find_libraries" != "" ; then
32862 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32863 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32864
32865
32866 if test "$ac_find_libraries" = "default location"; then
32867 ac_path_to_link=""
32868 else
32869 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32870 result=$?
32871 if test $result = 0; then
32872 ac_path_to_link=""
32873 else
32874 ac_path_to_link=" -L$ac_find_libraries"
32875 fi
32876 fi
32877
32878 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32879 LDFLAGS_GL="$ac_path_to_link"
32880 fi
32881
32882 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32883 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32884
32885 ac_find_libraries=
32886 for ac_dir in $SEARCH_LIB;
32887 do
32888 for ac_extension in a so sl dylib dll.a; do
32889 if test -f "$ac_dir/libGLU.$ac_extension"; then
32890 ac_find_libraries=$ac_dir
32891 break 2
32892 fi
32893 done
32894 done
32895
32896 if test "$ac_find_libraries" != "" ; then
32897
32898 if test "$ac_find_libraries" = "default location"; then
32899 ac_path_to_link=""
32900 else
32901 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32902 result=$?
32903 if test $result = 0; then
32904 ac_path_to_link=""
32905 else
32906 ac_path_to_link=" -L$ac_find_libraries"
32907 fi
32908 fi
32909
32910 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32911 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32912 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32913 fi
32914
32915 found_gl=1
32916 OPENGL_LIBS="-lGL -lGLU"
32917 { echo "$as_me:$LINENO: result: yes" >&5
32918 echo "${ECHO_T}yes" >&6; }
32919 else
32920 { echo "$as_me:$LINENO: result: no" >&5
32921 echo "${ECHO_T}no" >&6; }
32922 fi
32923 else
32924 { echo "$as_me:$LINENO: result: no" >&5
32925 echo "${ECHO_T}no" >&6; }
32926 fi
32927
32928 if test "$found_gl" != 1; then
32929 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32930 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32931
32932 ac_find_libraries=
32933 for ac_dir in $SEARCH_LIB;
32934 do
32935 for ac_extension in a so sl dylib dll.a; do
32936 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32937 ac_find_libraries=$ac_dir
32938 break 2
32939 fi
32940 done
32941 done
32942
32943 if test "$ac_find_libraries" != "" ; then
32944
32945 if test "$ac_find_libraries" = "default location"; then
32946 ac_path_to_link=""
32947 else
32948 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32949 result=$?
32950 if test $result = 0; then
32951 ac_path_to_link=""
32952 else
32953 ac_path_to_link=" -L$ac_find_libraries"
32954 fi
32955 fi
32956
32957 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32958 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32959 { echo "$as_me:$LINENO: result: yes" >&5
32960 echo "${ECHO_T}yes" >&6; }
32961 else
32962 { echo "$as_me:$LINENO: result: no" >&5
32963 echo "${ECHO_T}no" >&6; }
32964 fi
32965 fi
32966
32967 fi
32968
32969
32970
32971 fi
32972
32973
32974
32975 if test "x$OPENGL_LIBS" = "x"; then
32976 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32977 echo "$as_me: error: OpenGL libraries not available" >&2;}
32978 { (exit 1); exit 1; }; }
32979 fi
32980 fi
32981
32982 if test "$wxUSE_OPENGL" = "yes"; then
32983 USE_OPENGL=1
32984 cat >>confdefs.h <<\_ACEOF
32985 #define wxUSE_OPENGL 1
32986 _ACEOF
32987
32988 cat >>confdefs.h <<\_ACEOF
32989 #define wxUSE_GLCANVAS 1
32990 _ACEOF
32991
32992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32993 fi
32994 fi
32995
32996
32997 if test -n "$TOOLKIT" ; then
32998 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32999 fi
33000
33001
33002
33003 if test "$wxUSE_SHARED" = "yes"; then
33004 case "${host}" in
33005 *-pc-msdosdjgpp )
33006 wxUSE_SHARED=no
33007 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33008 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33009 ;;
33010 esac
33011 fi
33012
33013 if test "$wxUSE_SHARED" = "yes"; then
33014
33015
33016 case "${host}" in
33017 *-*-cygwin* | *-*-mingw* )
33018 wx_cv_version_script=no
33019 ;;
33020
33021 *)
33022 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33023 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33024 if test "${wx_cv_version_script+set}" = set; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 else
33027
33028 echo "VER_1 { *; };" >conftest.sym
33029 echo "int main() { return 0; }" >conftest.cpp
33030
33031 if { ac_try='
33032 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33033 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33036 ac_status=$?
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; } ; then
33039 if test -s conftest.stderr ; then
33040 wx_cv_version_script=no
33041 else
33042 wx_cv_version_script=yes
33043 fi
33044 else
33045 wx_cv_version_script=no
33046 fi
33047
33048 if test $wx_cv_version_script = yes
33049 then
33050 echo "struct B { virtual ~B() { } }; \
33051 struct D : public B { }; \
33052 void F() { D d; }" > conftest.cpp
33053
33054 if { ac_try='
33055 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33056 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33058 (eval $ac_try) 2>&5
33059 ac_status=$?
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; } &&
33062 { ac_try='
33063 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33064 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066 (eval $ac_try) 2>&5
33067 ac_status=$?
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); }; }
33070 then
33071 if { ac_try='
33072 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33073 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33076 ac_status=$?
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; }
33079 then
33080 wx_cv_version_script=yes
33081 else
33082 wx_cv_version_script=no
33083 fi
33084 fi
33085 fi
33086
33087 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33088 rm -f conftest1.output conftest2.output conftest3.output
33089
33090 fi
33091 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33092 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33093
33094 if test $wx_cv_version_script = yes ; then
33095 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33096 fi
33097 ;;
33098 esac
33099
33100
33101
33102
33103 if test -n "$GCC"; then
33104 CFLAGS_VISIBILITY="-fvisibility=hidden"
33105 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33106 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33107 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33108 if test "${wx_cv_cc_visibility+set}" = set; then
33109 echo $ECHO_N "(cached) $ECHO_C" >&6
33110 else
33111
33112 wx_save_CXXFLAGS="$CXXFLAGS"
33113 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33114 ac_ext=cpp
33115 ac_cpp='$CXXCPP $CPPFLAGS'
33116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33119
33120 cat >conftest.$ac_ext <<_ACEOF
33121 /* confdefs.h. */
33122 _ACEOF
33123 cat confdefs.h >>conftest.$ac_ext
33124 cat >>conftest.$ac_ext <<_ACEOF
33125 /* end confdefs.h. */
33126
33127 /* we need gcc >= 4.0, older versions with visibility support
33128 didn't have class visibility: */
33129 #if defined(__GNUC__) && __GNUC__ < 4
33130 error this gcc is too old;
33131 #endif
33132
33133 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33134 extern __attribute__((__visibility__("default"))) int exportedvar;
33135 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33136 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33137 class __attribute__((__visibility__("default"))) Foo {
33138 Foo() {}
33139 };
33140
33141 int
33142 main ()
33143 {
33144
33145 ;
33146 return 0;
33147 }
33148 _ACEOF
33149 rm -f conftest.$ac_objext
33150 if { (ac_try="$ac_compile"
33151 case "(($ac_try" in
33152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33153 *) ac_try_echo=$ac_try;;
33154 esac
33155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33156 (eval "$ac_compile") 2>conftest.er1
33157 ac_status=$?
33158 grep -v '^ *+' conftest.er1 >conftest.err
33159 rm -f conftest.er1
33160 cat conftest.err >&5
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); } && {
33163 test -z "$ac_cxx_werror_flag" ||
33164 test ! -s conftest.err
33165 } && test -s conftest.$ac_objext; then
33166 wx_cv_cc_visibility=yes
33167 else
33168 echo "$as_me: failed program was:" >&5
33169 sed 's/^/| /' conftest.$ac_ext >&5
33170
33171 wx_cv_cc_visibility=no
33172 fi
33173
33174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33175 ac_ext=c
33176 ac_cpp='$CPP $CPPFLAGS'
33177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33180
33181 CXXFLAGS="$wx_save_CXXFLAGS"
33182 fi
33183
33184 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33185 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33186 if test $wx_cv_cc_visibility = yes; then
33187 cat >>confdefs.h <<\_ACEOF
33188 #define HAVE_VISIBILITY 1
33189 _ACEOF
33190
33191 else
33192 CFLAGS_VISIBILITY=""
33193 CXXFLAGS_VISIBILITY=""
33194 fi
33195
33196
33197 fi
33198
33199
33200 if test "x$SUNCXX" = xyes; then
33201 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33202 WXCONFIG_RPATH="-R\$libdir"
33203 else
33204 case "${host}" in
33205 *-*-linux* | *-*-gnu* )
33206 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33207 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33208 ;;
33209
33210 *-*-solaris2* )
33211
33212 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33213
33214 saveLdflags="$LDFLAGS"
33215 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33216 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33217 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33218 cat >conftest.$ac_ext <<_ACEOF
33219 /* confdefs.h. */
33220 _ACEOF
33221 cat confdefs.h >>conftest.$ac_ext
33222 cat >>conftest.$ac_ext <<_ACEOF
33223 /* end confdefs.h. */
33224
33225 int
33226 main ()
33227 {
33228
33229 ;
33230 return 0;
33231 }
33232 _ACEOF
33233 rm -f conftest.$ac_objext conftest$ac_exeext
33234 if { (ac_try="$ac_link"
33235 case "(($ac_try" in
33236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33237 *) ac_try_echo=$ac_try;;
33238 esac
33239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33240 (eval "$ac_link") 2>conftest.er1
33241 ac_status=$?
33242 grep -v '^ *+' conftest.er1 >conftest.err
33243 rm -f conftest.er1
33244 cat conftest.err >&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); } && {
33247 test -z "$ac_c_werror_flag" ||
33248 test ! -s conftest.err
33249 } && test -s conftest$ac_exeext &&
33250 $as_test_x conftest$ac_exeext; then
33251
33252 { echo "$as_me:$LINENO: result: yes" >&5
33253 echo "${ECHO_T}yes" >&6; }
33254 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33255 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33256
33257 else
33258 echo "$as_me: failed program was:" >&5
33259 sed 's/^/| /' conftest.$ac_ext >&5
33260
33261
33262 { echo "$as_me:$LINENO: result: no" >&5
33263 echo "${ECHO_T}no" >&6; }
33264 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33265 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33266 LDFLAGS="$saveLdflags -Wl,-R,/"
33267 cat >conftest.$ac_ext <<_ACEOF
33268 /* confdefs.h. */
33269 _ACEOF
33270 cat confdefs.h >>conftest.$ac_ext
33271 cat >>conftest.$ac_ext <<_ACEOF
33272 /* end confdefs.h. */
33273
33274 int
33275 main ()
33276 {
33277
33278 ;
33279 return 0;
33280 }
33281 _ACEOF
33282 rm -f conftest.$ac_objext conftest$ac_exeext
33283 if { (ac_try="$ac_link"
33284 case "(($ac_try" in
33285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33286 *) ac_try_echo=$ac_try;;
33287 esac
33288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33289 (eval "$ac_link") 2>conftest.er1
33290 ac_status=$?
33291 grep -v '^ *+' conftest.er1 >conftest.err
33292 rm -f conftest.er1
33293 cat conftest.err >&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); } && {
33296 test -z "$ac_c_werror_flag" ||
33297 test ! -s conftest.err
33298 } && test -s conftest$ac_exeext &&
33299 $as_test_x conftest$ac_exeext; then
33300
33301 { echo "$as_me:$LINENO: result: yes" >&5
33302 echo "${ECHO_T}yes" >&6; }
33303 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33304 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33305
33306 else
33307 echo "$as_me: failed program was:" >&5
33308 sed 's/^/| /' conftest.$ac_ext >&5
33309
33310
33311 { echo "$as_me:$LINENO: result: no" >&5
33312 echo "${ECHO_T}no" >&6; }
33313
33314 fi
33315
33316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33317 conftest$ac_exeext conftest.$ac_ext
33318
33319 fi
33320
33321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33322 conftest$ac_exeext conftest.$ac_ext
33323 LDFLAGS="$saveLdflags"
33324 ;;
33325
33326 *-*-darwin* )
33327 install_name_tool=`which install_name_tool`
33328 if test "$install_name_tool" -a -x "$install_name_tool"; then
33329 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33330 cat <<EOF >change-install-names
33331 #!/bin/sh
33332 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33333 inst_cmd="install_name_tool "
33334 for i in \${libnames} ; do
33335 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33336 done
33337 \${inst_cmd} \${3}
33338 EOF
33339 chmod +x change-install-names
33340 fi
33341 ;;
33342
33343 *-*-cygwin* | *-*-mingw32* )
33344 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33345 ;;
33346
33347 *-*-hpux* )
33348 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33349 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33350 ;;
33351
33352 esac
33353 fi
33354
33355 if test $wxUSE_RPATH = "no"; then
33356 SAMPLES_RPATH_FLAG=''
33357 SAMPLES_RPATH_POSTLINK=''
33358 WXCONFIG_RPATH=''
33359 fi
33360
33361 SHARED=1
33362
33363 else
33364
33365 config_linkage_component="-static"
33366 SHARED=0
33367
33368 fi
33369
33370
33371 UNICODE=0
33372 lib_unicode_suffix=
33373 WX_CHARTYPE="ansi"
33374 if test "$wxUSE_UNICODE" = "yes"; then
33375 lib_unicode_suffix=u
33376 WX_CHARTYPE="unicode"
33377 UNICODE=1
33378 fi
33379
33380 lib_debug_suffix=
33381 WX_DEBUGTYPE="release"
33382 DEBUG_FLAG=0
33383 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33384 lib_debug_suffix=d
33385 WX_DEBUGTYPE="debug"
33386 DEBUG_FLAG=1
33387 fi
33388
33389 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33390 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33391
33392 DEBUG_INFO=0
33393 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33394 DEBUG_INFO=1
33395 fi
33396
33397 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33398
33399 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33400
33401 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33402
33403 if test "$cross_compiling" = "yes"; then
33404 HOST_SUFFIX="-$host_alias"
33405 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33406 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33407 fi
33408
33409 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33410 if test "${TOOLKIT_DIR}" = "os2"; then
33411 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33412 else
33413 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33414 fi
33415
33416
33417
33418 if test "$wxUSE_COCOA" = 1; then
33419
33420 ac_ext=c
33421 ac_cpp='$CPP $CPPFLAGS'
33422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33425
33426 ac_ext=m
33427
33428 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33429 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33430 cat >conftest.$ac_ext <<_ACEOF
33431 /* confdefs.h. */
33432 _ACEOF
33433 cat confdefs.h >>conftest.$ac_ext
33434 cat >>conftest.$ac_ext <<_ACEOF
33435 /* end confdefs.h. */
33436 #include <AppKit/NSEvent.h>
33437 #include <CoreFoundation/CoreFoundation.h>
33438
33439 int
33440 main ()
33441 {
33442
33443 ;
33444 return 0;
33445 }
33446 _ACEOF
33447 rm -f conftest.$ac_objext
33448 if { (ac_try="$ac_compile"
33449 case "(($ac_try" in
33450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33451 *) ac_try_echo=$ac_try;;
33452 esac
33453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33454 (eval "$ac_compile") 2>conftest.er1
33455 ac_status=$?
33456 grep -v '^ *+' conftest.er1 >conftest.err
33457 rm -f conftest.er1
33458 cat conftest.err >&5
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); } && {
33461 test -z "$ac_c_werror_flag" ||
33462 test ! -s conftest.err
33463 } && test -s conftest.$ac_objext; then
33464 { echo "$as_me:$LINENO: result: no" >&5
33465 echo "${ECHO_T}no" >&6; }
33466 else
33467 echo "$as_me: failed program was:" >&5
33468 sed 's/^/| /' conftest.$ac_ext >&5
33469
33470 { echo "$as_me:$LINENO: result: yes" >&5
33471 echo "${ECHO_T}yes" >&6; }
33472 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33473 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33474 cat >conftest.$ac_ext <<_ACEOF
33475 /* confdefs.h. */
33476 _ACEOF
33477 cat confdefs.h >>conftest.$ac_ext
33478 cat >>conftest.$ac_ext <<_ACEOF
33479 /* end confdefs.h. */
33480 #define __Point__ 1
33481 #include <AppKit/NSEvent.h>
33482 #include <CoreFoundation/CoreFoundation.h>
33483
33484 int
33485 main ()
33486 {
33487
33488 ;
33489 return 0;
33490 }
33491 _ACEOF
33492 rm -f conftest.$ac_objext
33493 if { (ac_try="$ac_compile"
33494 case "(($ac_try" in
33495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33496 *) ac_try_echo=$ac_try;;
33497 esac
33498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33499 (eval "$ac_compile") 2>conftest.er1
33500 ac_status=$?
33501 grep -v '^ *+' conftest.er1 >conftest.err
33502 rm -f conftest.er1
33503 cat conftest.err >&5
33504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33505 (exit $ac_status); } && {
33506 test -z "$ac_c_werror_flag" ||
33507 test ! -s conftest.err
33508 } && test -s conftest.$ac_objext; then
33509 { echo "$as_me:$LINENO: result: yes" >&5
33510 echo "${ECHO_T}yes" >&6; }
33511 cat >>confdefs.h <<\_ACEOF
33512 #define __Point__ 1
33513 _ACEOF
33514
33515
33516 else
33517 echo "$as_me: failed program was:" >&5
33518 sed 's/^/| /' conftest.$ac_ext >&5
33519
33520 { { echo "$as_me:$LINENO: error: no
33521 See \`config.log' for more details." >&5
33522 echo "$as_me: error: no
33523 See \`config.log' for more details." >&2;}
33524 { (exit 1); exit 1; }; }
33525
33526 fi
33527
33528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33529
33530 fi
33531
33532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33533 ac_ext=c
33534 ac_cpp='$CPP $CPPFLAGS'
33535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33538
33539 fi
33540
33541 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33542 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33543 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33544
33545 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33546
33547 # Extract the first word of "Rez", so it can be a program name with args.
33548 set dummy Rez; ac_word=$2
33549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33551 if test "${ac_cv_prog_REZ+set}" = set; then
33552 echo $ECHO_N "(cached) $ECHO_C" >&6
33553 else
33554 if test -n "$REZ"; then
33555 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33556 else
33557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33558 for as_dir in $PATH
33559 do
33560 IFS=$as_save_IFS
33561 test -z "$as_dir" && as_dir=.
33562 for ac_exec_ext in '' $ac_executable_extensions; do
33563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33564 ac_cv_prog_REZ="Rez"
33565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33566 break 2
33567 fi
33568 done
33569 done
33570 IFS=$as_save_IFS
33571
33572 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33573 fi
33574 fi
33575 REZ=$ac_cv_prog_REZ
33576 if test -n "$REZ"; then
33577 { echo "$as_me:$LINENO: result: $REZ" >&5
33578 echo "${ECHO_T}$REZ" >&6; }
33579 else
33580 { echo "$as_me:$LINENO: result: no" >&5
33581 echo "${ECHO_T}no" >&6; }
33582 fi
33583
33584
33585 # Extract the first word of "DeRez", so it can be a program name with args.
33586 set dummy DeRez; ac_word=$2
33587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33589 if test "${ac_cv_prog_DEREZ+set}" = set; then
33590 echo $ECHO_N "(cached) $ECHO_C" >&6
33591 else
33592 if test -n "$DEREZ"; then
33593 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33594 else
33595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33596 for as_dir in $PATH
33597 do
33598 IFS=$as_save_IFS
33599 test -z "$as_dir" && as_dir=.
33600 for ac_exec_ext in '' $ac_executable_extensions; do
33601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33602 ac_cv_prog_DEREZ="DeRez"
33603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33604 break 2
33605 fi
33606 done
33607 done
33608 IFS=$as_save_IFS
33609
33610 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33611 fi
33612 fi
33613 DEREZ=$ac_cv_prog_DEREZ
33614 if test -n "$DEREZ"; then
33615 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33616 echo "${ECHO_T}$DEREZ" >&6; }
33617 else
33618 { echo "$as_me:$LINENO: result: no" >&5
33619 echo "${ECHO_T}no" >&6; }
33620 fi
33621
33622
33623 # Extract the first word of "SetFile", so it can be a program name with args.
33624 set dummy SetFile; ac_word=$2
33625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33627 if test "${ac_cv_prog_SETFILE+set}" = set; then
33628 echo $ECHO_N "(cached) $ECHO_C" >&6
33629 else
33630 if test -n "$SETFILE"; then
33631 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33632 else
33633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33634 for as_dir in $PATH
33635 do
33636 IFS=$as_save_IFS
33637 test -z "$as_dir" && as_dir=.
33638 for ac_exec_ext in '' $ac_executable_extensions; do
33639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33640 ac_cv_prog_SETFILE="SetFile"
33641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33642 break 2
33643 fi
33644 done
33645 done
33646 IFS=$as_save_IFS
33647
33648 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33649 fi
33650 fi
33651 SETFILE=$ac_cv_prog_SETFILE
33652 if test -n "$SETFILE"; then
33653 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33654 echo "${ECHO_T}$SETFILE" >&6; }
33655 else
33656 { echo "$as_me:$LINENO: result: no" >&5
33657 echo "${ECHO_T}no" >&6; }
33658 fi
33659
33660
33661
33662 MACSETFILE="\$(SETFILE)"
33663
33664 if test "$wxUSE_MAC" = 1; then
33665 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33666 RESCOMP="$REZ"
33667 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33668 else
33669 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33670 RESCOMP="echo -n \| $REZ"
33671 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33672 fi
33673
33674 else
33675 MACSETFILE="@true"
33676
33677 if test "$wxUSE_PM" = 1; then
33678 RESCOMP="emxbind"
33679 WXCONFIG_RESFLAGS="-ep"
33680
33681 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33682 else
33683 POSTLINK_COMMAND="@true"
33684 fi
33685
33686 fi
33687
33688
33689
33690 { echo "$as_me:$LINENO: checking for mode_t" >&5
33691 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33692 if test "${ac_cv_type_mode_t+set}" = set; then
33693 echo $ECHO_N "(cached) $ECHO_C" >&6
33694 else
33695 cat >conftest.$ac_ext <<_ACEOF
33696 /* confdefs.h. */
33697 _ACEOF
33698 cat confdefs.h >>conftest.$ac_ext
33699 cat >>conftest.$ac_ext <<_ACEOF
33700 /* end confdefs.h. */
33701 $ac_includes_default
33702 typedef mode_t ac__type_new_;
33703 int
33704 main ()
33705 {
33706 if ((ac__type_new_ *) 0)
33707 return 0;
33708 if (sizeof (ac__type_new_))
33709 return 0;
33710 ;
33711 return 0;
33712 }
33713 _ACEOF
33714 rm -f conftest.$ac_objext
33715 if { (ac_try="$ac_compile"
33716 case "(($ac_try" in
33717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33718 *) ac_try_echo=$ac_try;;
33719 esac
33720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33721 (eval "$ac_compile") 2>conftest.er1
33722 ac_status=$?
33723 grep -v '^ *+' conftest.er1 >conftest.err
33724 rm -f conftest.er1
33725 cat conftest.err >&5
33726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33727 (exit $ac_status); } && {
33728 test -z "$ac_c_werror_flag" ||
33729 test ! -s conftest.err
33730 } && test -s conftest.$ac_objext; then
33731 ac_cv_type_mode_t=yes
33732 else
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.$ac_ext >&5
33735
33736 ac_cv_type_mode_t=no
33737 fi
33738
33739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33740 fi
33741 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33742 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33743 if test $ac_cv_type_mode_t = yes; then
33744 :
33745 else
33746
33747 cat >>confdefs.h <<_ACEOF
33748 #define mode_t int
33749 _ACEOF
33750
33751 fi
33752
33753 { echo "$as_me:$LINENO: checking for off_t" >&5
33754 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33755 if test "${ac_cv_type_off_t+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33757 else
33758 cat >conftest.$ac_ext <<_ACEOF
33759 /* confdefs.h. */
33760 _ACEOF
33761 cat confdefs.h >>conftest.$ac_ext
33762 cat >>conftest.$ac_ext <<_ACEOF
33763 /* end confdefs.h. */
33764 $ac_includes_default
33765 typedef off_t ac__type_new_;
33766 int
33767 main ()
33768 {
33769 if ((ac__type_new_ *) 0)
33770 return 0;
33771 if (sizeof (ac__type_new_))
33772 return 0;
33773 ;
33774 return 0;
33775 }
33776 _ACEOF
33777 rm -f conftest.$ac_objext
33778 if { (ac_try="$ac_compile"
33779 case "(($ac_try" in
33780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33781 *) ac_try_echo=$ac_try;;
33782 esac
33783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33784 (eval "$ac_compile") 2>conftest.er1
33785 ac_status=$?
33786 grep -v '^ *+' conftest.er1 >conftest.err
33787 rm -f conftest.er1
33788 cat conftest.err >&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); } && {
33791 test -z "$ac_c_werror_flag" ||
33792 test ! -s conftest.err
33793 } && test -s conftest.$ac_objext; then
33794 ac_cv_type_off_t=yes
33795 else
33796 echo "$as_me: failed program was:" >&5
33797 sed 's/^/| /' conftest.$ac_ext >&5
33798
33799 ac_cv_type_off_t=no
33800 fi
33801
33802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33803 fi
33804 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33805 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33806 if test $ac_cv_type_off_t = yes; then
33807 :
33808 else
33809
33810 cat >>confdefs.h <<_ACEOF
33811 #define off_t long int
33812 _ACEOF
33813
33814 fi
33815
33816 { echo "$as_me:$LINENO: checking for pid_t" >&5
33817 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33818 if test "${ac_cv_type_pid_t+set}" = set; then
33819 echo $ECHO_N "(cached) $ECHO_C" >&6
33820 else
33821 cat >conftest.$ac_ext <<_ACEOF
33822 /* confdefs.h. */
33823 _ACEOF
33824 cat confdefs.h >>conftest.$ac_ext
33825 cat >>conftest.$ac_ext <<_ACEOF
33826 /* end confdefs.h. */
33827 $ac_includes_default
33828 typedef pid_t ac__type_new_;
33829 int
33830 main ()
33831 {
33832 if ((ac__type_new_ *) 0)
33833 return 0;
33834 if (sizeof (ac__type_new_))
33835 return 0;
33836 ;
33837 return 0;
33838 }
33839 _ACEOF
33840 rm -f conftest.$ac_objext
33841 if { (ac_try="$ac_compile"
33842 case "(($ac_try" in
33843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33844 *) ac_try_echo=$ac_try;;
33845 esac
33846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33847 (eval "$ac_compile") 2>conftest.er1
33848 ac_status=$?
33849 grep -v '^ *+' conftest.er1 >conftest.err
33850 rm -f conftest.er1
33851 cat conftest.err >&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); } && {
33854 test -z "$ac_c_werror_flag" ||
33855 test ! -s conftest.err
33856 } && test -s conftest.$ac_objext; then
33857 ac_cv_type_pid_t=yes
33858 else
33859 echo "$as_me: failed program was:" >&5
33860 sed 's/^/| /' conftest.$ac_ext >&5
33861
33862 ac_cv_type_pid_t=no
33863 fi
33864
33865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33866 fi
33867 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33868 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33869 if test $ac_cv_type_pid_t = yes; then
33870 :
33871 else
33872
33873 cat >>confdefs.h <<_ACEOF
33874 #define pid_t int
33875 _ACEOF
33876
33877 fi
33878
33879 { echo "$as_me:$LINENO: checking for size_t" >&5
33880 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33881 if test "${ac_cv_type_size_t+set}" = set; then
33882 echo $ECHO_N "(cached) $ECHO_C" >&6
33883 else
33884 cat >conftest.$ac_ext <<_ACEOF
33885 /* confdefs.h. */
33886 _ACEOF
33887 cat confdefs.h >>conftest.$ac_ext
33888 cat >>conftest.$ac_ext <<_ACEOF
33889 /* end confdefs.h. */
33890 $ac_includes_default
33891 typedef size_t ac__type_new_;
33892 int
33893 main ()
33894 {
33895 if ((ac__type_new_ *) 0)
33896 return 0;
33897 if (sizeof (ac__type_new_))
33898 return 0;
33899 ;
33900 return 0;
33901 }
33902 _ACEOF
33903 rm -f conftest.$ac_objext
33904 if { (ac_try="$ac_compile"
33905 case "(($ac_try" in
33906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33907 *) ac_try_echo=$ac_try;;
33908 esac
33909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33910 (eval "$ac_compile") 2>conftest.er1
33911 ac_status=$?
33912 grep -v '^ *+' conftest.er1 >conftest.err
33913 rm -f conftest.er1
33914 cat conftest.err >&5
33915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33916 (exit $ac_status); } && {
33917 test -z "$ac_c_werror_flag" ||
33918 test ! -s conftest.err
33919 } && test -s conftest.$ac_objext; then
33920 ac_cv_type_size_t=yes
33921 else
33922 echo "$as_me: failed program was:" >&5
33923 sed 's/^/| /' conftest.$ac_ext >&5
33924
33925 ac_cv_type_size_t=no
33926 fi
33927
33928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33929 fi
33930 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33931 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33932 if test $ac_cv_type_size_t = yes; then
33933 :
33934 else
33935
33936 cat >>confdefs.h <<_ACEOF
33937 #define size_t unsigned int
33938 _ACEOF
33939
33940 fi
33941
33942 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33943 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33944 if test "${ac_cv_type_uid_t+set}" = set; then
33945 echo $ECHO_N "(cached) $ECHO_C" >&6
33946 else
33947 cat >conftest.$ac_ext <<_ACEOF
33948 /* confdefs.h. */
33949 _ACEOF
33950 cat confdefs.h >>conftest.$ac_ext
33951 cat >>conftest.$ac_ext <<_ACEOF
33952 /* end confdefs.h. */
33953 #include <sys/types.h>
33954
33955 _ACEOF
33956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33957 $EGREP "uid_t" >/dev/null 2>&1; then
33958 ac_cv_type_uid_t=yes
33959 else
33960 ac_cv_type_uid_t=no
33961 fi
33962 rm -f conftest*
33963
33964 fi
33965 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33966 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33967 if test $ac_cv_type_uid_t = no; then
33968
33969 cat >>confdefs.h <<\_ACEOF
33970 #define uid_t int
33971 _ACEOF
33972
33973
33974 cat >>confdefs.h <<\_ACEOF
33975 #define gid_t int
33976 _ACEOF
33977
33978 fi
33979
33980
33981 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33982 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33983 if test "${ac_cv_type_ssize_t+set}" = set; then
33984 echo $ECHO_N "(cached) $ECHO_C" >&6
33985 else
33986 cat >conftest.$ac_ext <<_ACEOF
33987 /* confdefs.h. */
33988 _ACEOF
33989 cat confdefs.h >>conftest.$ac_ext
33990 cat >>conftest.$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33992 $ac_includes_default
33993 typedef ssize_t ac__type_new_;
33994 int
33995 main ()
33996 {
33997 if ((ac__type_new_ *) 0)
33998 return 0;
33999 if (sizeof (ac__type_new_))
34000 return 0;
34001 ;
34002 return 0;
34003 }
34004 _ACEOF
34005 rm -f conftest.$ac_objext
34006 if { (ac_try="$ac_compile"
34007 case "(($ac_try" in
34008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34009 *) ac_try_echo=$ac_try;;
34010 esac
34011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34012 (eval "$ac_compile") 2>conftest.er1
34013 ac_status=$?
34014 grep -v '^ *+' conftest.er1 >conftest.err
34015 rm -f conftest.er1
34016 cat conftest.err >&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); } && {
34019 test -z "$ac_c_werror_flag" ||
34020 test ! -s conftest.err
34021 } && test -s conftest.$ac_objext; then
34022 ac_cv_type_ssize_t=yes
34023 else
34024 echo "$as_me: failed program was:" >&5
34025 sed 's/^/| /' conftest.$ac_ext >&5
34026
34027 ac_cv_type_ssize_t=no
34028 fi
34029
34030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34031 fi
34032 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34033 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34034 if test $ac_cv_type_ssize_t = yes; then
34035
34036 cat >>confdefs.h <<_ACEOF
34037 #define HAVE_SSIZE_T 1
34038 _ACEOF
34039
34040
34041 fi
34042
34043
34044 ac_ext=cpp
34045 ac_cpp='$CXXCPP $CPPFLAGS'
34046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34049 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34050 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34051 if test "${wx_cv_size_t_is_uint+set}" = set; then
34052 echo $ECHO_N "(cached) $ECHO_C" >&6
34053 else
34054
34055 cat >conftest.$ac_ext <<_ACEOF
34056 /* confdefs.h. */
34057 _ACEOF
34058 cat confdefs.h >>conftest.$ac_ext
34059 cat >>conftest.$ac_ext <<_ACEOF
34060 /* end confdefs.h. */
34061 #include <stddef.h>
34062 int
34063 main ()
34064 {
34065
34066 return 0; }
34067
34068 struct Foo { void foo(size_t); void foo(unsigned int); };
34069
34070 int bar() {
34071
34072 ;
34073 return 0;
34074 }
34075 _ACEOF
34076 rm -f conftest.$ac_objext
34077 if { (ac_try="$ac_compile"
34078 case "(($ac_try" in
34079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34080 *) ac_try_echo=$ac_try;;
34081 esac
34082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34083 (eval "$ac_compile") 2>conftest.er1
34084 ac_status=$?
34085 grep -v '^ *+' conftest.er1 >conftest.err
34086 rm -f conftest.er1
34087 cat conftest.err >&5
34088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34089 (exit $ac_status); } && {
34090 test -z "$ac_cxx_werror_flag" ||
34091 test ! -s conftest.err
34092 } && test -s conftest.$ac_objext; then
34093 wx_cv_size_t_is_uint=no
34094 else
34095 echo "$as_me: failed program was:" >&5
34096 sed 's/^/| /' conftest.$ac_ext >&5
34097
34098 wx_cv_size_t_is_uint=yes
34099
34100 fi
34101
34102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34103
34104
34105 fi
34106 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34107 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34108
34109 if test "$wx_cv_size_t_is_uint" = "yes"; then
34110 cat >>confdefs.h <<\_ACEOF
34111 #define wxSIZE_T_IS_UINT 1
34112 _ACEOF
34113
34114 else
34115 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34116 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34117 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34118 echo $ECHO_N "(cached) $ECHO_C" >&6
34119 else
34120 cat >conftest.$ac_ext <<_ACEOF
34121 /* confdefs.h. */
34122 _ACEOF
34123 cat confdefs.h >>conftest.$ac_ext
34124 cat >>conftest.$ac_ext <<_ACEOF
34125 /* end confdefs.h. */
34126 #include <stddef.h>
34127 int
34128 main ()
34129 {
34130
34131 return 0; }
34132
34133 struct Foo { void foo(size_t); void foo(unsigned long); };
34134
34135 int bar() {
34136
34137 ;
34138 return 0;
34139 }
34140 _ACEOF
34141 rm -f conftest.$ac_objext
34142 if { (ac_try="$ac_compile"
34143 case "(($ac_try" in
34144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34145 *) ac_try_echo=$ac_try;;
34146 esac
34147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34148 (eval "$ac_compile") 2>conftest.er1
34149 ac_status=$?
34150 grep -v '^ *+' conftest.er1 >conftest.err
34151 rm -f conftest.er1
34152 cat conftest.err >&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); } && {
34155 test -z "$ac_cxx_werror_flag" ||
34156 test ! -s conftest.err
34157 } && test -s conftest.$ac_objext; then
34158 wx_cv_size_t_is_ulong=no
34159 else
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34162
34163 wx_cv_size_t_is_ulong=yes
34164
34165 fi
34166
34167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34168
34169 fi
34170 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34171 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34172
34173 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34174 cat >>confdefs.h <<\_ACEOF
34175 #define wxSIZE_T_IS_ULONG 1
34176 _ACEOF
34177
34178 fi
34179 fi
34180
34181 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34182 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34183 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34184 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 else
34186 cat >conftest.$ac_ext <<_ACEOF
34187 /* confdefs.h. */
34188 _ACEOF
34189 cat confdefs.h >>conftest.$ac_ext
34190 cat >>conftest.$ac_ext <<_ACEOF
34191 /* end confdefs.h. */
34192 #include <wchar.h>
34193 int
34194 main ()
34195 {
34196
34197 return 0; }
34198
34199 struct Foo { void foo(wchar_t);
34200 void foo(unsigned short);
34201 void foo(unsigned int);
34202 void foo(unsigned long); };
34203
34204 int bar() {
34205
34206 ;
34207 return 0;
34208 }
34209 _ACEOF
34210 rm -f conftest.$ac_objext
34211 if { (ac_try="$ac_compile"
34212 case "(($ac_try" in
34213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34214 *) ac_try_echo=$ac_try;;
34215 esac
34216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34217 (eval "$ac_compile") 2>conftest.er1
34218 ac_status=$?
34219 grep -v '^ *+' conftest.er1 >conftest.err
34220 rm -f conftest.er1
34221 cat conftest.err >&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); } && {
34224 test -z "$ac_cxx_werror_flag" ||
34225 test ! -s conftest.err
34226 } && test -s conftest.$ac_objext; then
34227 wx_cv_wchar_t_is_separate_type=yes
34228 else
34229 echo "$as_me: failed program was:" >&5
34230 sed 's/^/| /' conftest.$ac_ext >&5
34231
34232 wx_cv_wchar_t_is_separate_type=no
34233
34234 fi
34235
34236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34237
34238 fi
34239 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34240 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34241
34242 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34243 cat >>confdefs.h <<\_ACEOF
34244 #define wxWCHAR_T_IS_REAL_TYPE 1
34245 _ACEOF
34246
34247 else
34248 cat >>confdefs.h <<\_ACEOF
34249 #define wxWCHAR_T_IS_REAL_TYPE 0
34250 _ACEOF
34251
34252 fi
34253
34254 ac_ext=c
34255 ac_cpp='$CPP $CPPFLAGS'
34256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34259
34260
34261 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34262 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34263 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 else
34266
34267 cat >conftest.$ac_ext <<_ACEOF
34268 /* confdefs.h. */
34269 _ACEOF
34270 cat confdefs.h >>conftest.$ac_ext
34271 cat >>conftest.$ac_ext <<_ACEOF
34272 /* end confdefs.h. */
34273 #include <pwd.h>
34274 int
34275 main ()
34276 {
34277
34278 char *p;
34279 struct passwd *pw;
34280 p = pw->pw_gecos;
34281
34282 ;
34283 return 0;
34284 }
34285 _ACEOF
34286 rm -f conftest.$ac_objext
34287 if { (ac_try="$ac_compile"
34288 case "(($ac_try" in
34289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34290 *) ac_try_echo=$ac_try;;
34291 esac
34292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34293 (eval "$ac_compile") 2>conftest.er1
34294 ac_status=$?
34295 grep -v '^ *+' conftest.er1 >conftest.err
34296 rm -f conftest.er1
34297 cat conftest.err >&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } && {
34300 test -z "$ac_c_werror_flag" ||
34301 test ! -s conftest.err
34302 } && test -s conftest.$ac_objext; then
34303
34304 wx_cv_struct_pw_gecos=yes
34305
34306 else
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.$ac_ext >&5
34309
34310
34311 wx_cv_struct_pw_gecos=no
34312
34313
34314 fi
34315
34316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34317
34318
34319 fi
34320 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34321 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34322
34323 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34324 cat >>confdefs.h <<\_ACEOF
34325 #define HAVE_PW_GECOS 1
34326 _ACEOF
34327
34328 fi
34329
34330
34331 if test "$wxUSE_WCHAR_T" = "yes"; then
34332 cat >>confdefs.h <<\_ACEOF
34333 #define wxUSE_WCHAR_T 1
34334 _ACEOF
34335
34336
34337 WCSLEN_FOUND=0
34338 WCHAR_LINK=
34339
34340 for ac_func in wcslen
34341 do
34342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34343 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34345 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34346 echo $ECHO_N "(cached) $ECHO_C" >&6
34347 else
34348 cat >conftest.$ac_ext <<_ACEOF
34349 /* confdefs.h. */
34350 _ACEOF
34351 cat confdefs.h >>conftest.$ac_ext
34352 cat >>conftest.$ac_ext <<_ACEOF
34353 /* end confdefs.h. */
34354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34356 #define $ac_func innocuous_$ac_func
34357
34358 /* System header to define __stub macros and hopefully few prototypes,
34359 which can conflict with char $ac_func (); below.
34360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34361 <limits.h> exists even on freestanding compilers. */
34362
34363 #ifdef __STDC__
34364 # include <limits.h>
34365 #else
34366 # include <assert.h>
34367 #endif
34368
34369 #undef $ac_func
34370
34371 /* Override any GCC internal prototype to avoid an error.
34372 Use char because int might match the return type of a GCC
34373 builtin and then its argument prototype would still apply. */
34374 #ifdef __cplusplus
34375 extern "C"
34376 #endif
34377 char $ac_func ();
34378 /* The GNU C library defines this for functions which it implements
34379 to always fail with ENOSYS. Some functions are actually named
34380 something starting with __ and the normal name is an alias. */
34381 #if defined __stub_$ac_func || defined __stub___$ac_func
34382 choke me
34383 #endif
34384
34385 int
34386 main ()
34387 {
34388 return $ac_func ();
34389 ;
34390 return 0;
34391 }
34392 _ACEOF
34393 rm -f conftest.$ac_objext conftest$ac_exeext
34394 if { (ac_try="$ac_link"
34395 case "(($ac_try" in
34396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34397 *) ac_try_echo=$ac_try;;
34398 esac
34399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34400 (eval "$ac_link") 2>conftest.er1
34401 ac_status=$?
34402 grep -v '^ *+' conftest.er1 >conftest.err
34403 rm -f conftest.er1
34404 cat conftest.err >&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); } && {
34407 test -z "$ac_c_werror_flag" ||
34408 test ! -s conftest.err
34409 } && test -s conftest$ac_exeext &&
34410 $as_test_x conftest$ac_exeext; then
34411 eval "$as_ac_var=yes"
34412 else
34413 echo "$as_me: failed program was:" >&5
34414 sed 's/^/| /' conftest.$ac_ext >&5
34415
34416 eval "$as_ac_var=no"
34417 fi
34418
34419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34420 conftest$ac_exeext conftest.$ac_ext
34421 fi
34422 ac_res=`eval echo '${'$as_ac_var'}'`
34423 { echo "$as_me:$LINENO: result: $ac_res" >&5
34424 echo "${ECHO_T}$ac_res" >&6; }
34425 if test `eval echo '${'$as_ac_var'}'` = yes; then
34426 cat >>confdefs.h <<_ACEOF
34427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34428 _ACEOF
34429 WCSLEN_FOUND=1
34430 fi
34431 done
34432
34433
34434 if test "$WCSLEN_FOUND" = 0; then
34435 if test "$TOOLKIT" = "MSW"; then
34436 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34437 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34438 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34439 echo $ECHO_N "(cached) $ECHO_C" >&6
34440 else
34441 ac_check_lib_save_LIBS=$LIBS
34442 LIBS="-lmsvcrt $LIBS"
34443 cat >conftest.$ac_ext <<_ACEOF
34444 /* confdefs.h. */
34445 _ACEOF
34446 cat confdefs.h >>conftest.$ac_ext
34447 cat >>conftest.$ac_ext <<_ACEOF
34448 /* end confdefs.h. */
34449
34450 /* Override any GCC internal prototype to avoid an error.
34451 Use char because int might match the return type of a GCC
34452 builtin and then its argument prototype would still apply. */
34453 #ifdef __cplusplus
34454 extern "C"
34455 #endif
34456 char wcslen ();
34457 int
34458 main ()
34459 {
34460 return wcslen ();
34461 ;
34462 return 0;
34463 }
34464 _ACEOF
34465 rm -f conftest.$ac_objext conftest$ac_exeext
34466 if { (ac_try="$ac_link"
34467 case "(($ac_try" in
34468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34469 *) ac_try_echo=$ac_try;;
34470 esac
34471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34472 (eval "$ac_link") 2>conftest.er1
34473 ac_status=$?
34474 grep -v '^ *+' conftest.er1 >conftest.err
34475 rm -f conftest.er1
34476 cat conftest.err >&5
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); } && {
34479 test -z "$ac_c_werror_flag" ||
34480 test ! -s conftest.err
34481 } && test -s conftest$ac_exeext &&
34482 $as_test_x conftest$ac_exeext; then
34483 ac_cv_lib_msvcrt_wcslen=yes
34484 else
34485 echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.$ac_ext >&5
34487
34488 ac_cv_lib_msvcrt_wcslen=no
34489 fi
34490
34491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34492 conftest$ac_exeext conftest.$ac_ext
34493 LIBS=$ac_check_lib_save_LIBS
34494 fi
34495 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34496 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34497 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34498 WCHAR_OK=1
34499 fi
34500
34501 else
34502 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34503 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34504 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34505 echo $ECHO_N "(cached) $ECHO_C" >&6
34506 else
34507 ac_check_lib_save_LIBS=$LIBS
34508 LIBS="-lw $LIBS"
34509 cat >conftest.$ac_ext <<_ACEOF
34510 /* confdefs.h. */
34511 _ACEOF
34512 cat confdefs.h >>conftest.$ac_ext
34513 cat >>conftest.$ac_ext <<_ACEOF
34514 /* end confdefs.h. */
34515
34516 /* Override any GCC internal prototype to avoid an error.
34517 Use char because int might match the return type of a GCC
34518 builtin and then its argument prototype would still apply. */
34519 #ifdef __cplusplus
34520 extern "C"
34521 #endif
34522 char wcslen ();
34523 int
34524 main ()
34525 {
34526 return wcslen ();
34527 ;
34528 return 0;
34529 }
34530 _ACEOF
34531 rm -f conftest.$ac_objext conftest$ac_exeext
34532 if { (ac_try="$ac_link"
34533 case "(($ac_try" in
34534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34535 *) ac_try_echo=$ac_try;;
34536 esac
34537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34538 (eval "$ac_link") 2>conftest.er1
34539 ac_status=$?
34540 grep -v '^ *+' conftest.er1 >conftest.err
34541 rm -f conftest.er1
34542 cat conftest.err >&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } && {
34545 test -z "$ac_c_werror_flag" ||
34546 test ! -s conftest.err
34547 } && test -s conftest$ac_exeext &&
34548 $as_test_x conftest$ac_exeext; then
34549 ac_cv_lib_w_wcslen=yes
34550 else
34551 echo "$as_me: failed program was:" >&5
34552 sed 's/^/| /' conftest.$ac_ext >&5
34553
34554 ac_cv_lib_w_wcslen=no
34555 fi
34556
34557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34558 conftest$ac_exeext conftest.$ac_ext
34559 LIBS=$ac_check_lib_save_LIBS
34560 fi
34561 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34562 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34563 if test $ac_cv_lib_w_wcslen = yes; then
34564
34565 WCHAR_LINK=" -lw"
34566 WCSLEN_FOUND=1
34567
34568 fi
34569
34570 fi
34571 fi
34572
34573 if test "$WCSLEN_FOUND" = 1; then
34574 cat >>confdefs.h <<\_ACEOF
34575 #define HAVE_WCSLEN 1
34576 _ACEOF
34577
34578 fi
34579
34580
34581 for ac_func in wcsdup
34582 do
34583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 else
34589 cat >conftest.$ac_ext <<_ACEOF
34590 /* confdefs.h. */
34591 _ACEOF
34592 cat confdefs.h >>conftest.$ac_ext
34593 cat >>conftest.$ac_ext <<_ACEOF
34594 /* end confdefs.h. */
34595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34597 #define $ac_func innocuous_$ac_func
34598
34599 /* System header to define __stub macros and hopefully few prototypes,
34600 which can conflict with char $ac_func (); below.
34601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34602 <limits.h> exists even on freestanding compilers. */
34603
34604 #ifdef __STDC__
34605 # include <limits.h>
34606 #else
34607 # include <assert.h>
34608 #endif
34609
34610 #undef $ac_func
34611
34612 /* Override any GCC internal prototype to avoid an error.
34613 Use char because int might match the return type of a GCC
34614 builtin and then its argument prototype would still apply. */
34615 #ifdef __cplusplus
34616 extern "C"
34617 #endif
34618 char $ac_func ();
34619 /* The GNU C library defines this for functions which it implements
34620 to always fail with ENOSYS. Some functions are actually named
34621 something starting with __ and the normal name is an alias. */
34622 #if defined __stub_$ac_func || defined __stub___$ac_func
34623 choke me
34624 #endif
34625
34626 int
34627 main ()
34628 {
34629 return $ac_func ();
34630 ;
34631 return 0;
34632 }
34633 _ACEOF
34634 rm -f conftest.$ac_objext conftest$ac_exeext
34635 if { (ac_try="$ac_link"
34636 case "(($ac_try" in
34637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34638 *) ac_try_echo=$ac_try;;
34639 esac
34640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34641 (eval "$ac_link") 2>conftest.er1
34642 ac_status=$?
34643 grep -v '^ *+' conftest.er1 >conftest.err
34644 rm -f conftest.er1
34645 cat conftest.err >&5
34646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34647 (exit $ac_status); } && {
34648 test -z "$ac_c_werror_flag" ||
34649 test ! -s conftest.err
34650 } && test -s conftest$ac_exeext &&
34651 $as_test_x conftest$ac_exeext; then
34652 eval "$as_ac_var=yes"
34653 else
34654 echo "$as_me: failed program was:" >&5
34655 sed 's/^/| /' conftest.$ac_ext >&5
34656
34657 eval "$as_ac_var=no"
34658 fi
34659
34660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34661 conftest$ac_exeext conftest.$ac_ext
34662 fi
34663 ac_res=`eval echo '${'$as_ac_var'}'`
34664 { echo "$as_me:$LINENO: result: $ac_res" >&5
34665 echo "${ECHO_T}$ac_res" >&6; }
34666 if test `eval echo '${'$as_ac_var'}'` = yes; then
34667 cat >>confdefs.h <<_ACEOF
34668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34669 _ACEOF
34670
34671 fi
34672 done
34673
34674
34675 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34676 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34677 fi
34678
34679 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34680 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34681 if test "${ac_cv_type_mbstate_t+set}" = set; then
34682 echo $ECHO_N "(cached) $ECHO_C" >&6
34683 else
34684 cat >conftest.$ac_ext <<_ACEOF
34685 /* confdefs.h. */
34686 _ACEOF
34687 cat confdefs.h >>conftest.$ac_ext
34688 cat >>conftest.$ac_ext <<_ACEOF
34689 /* end confdefs.h. */
34690 #include <wchar.h>
34691
34692 typedef mbstate_t ac__type_new_;
34693 int
34694 main ()
34695 {
34696 if ((ac__type_new_ *) 0)
34697 return 0;
34698 if (sizeof (ac__type_new_))
34699 return 0;
34700 ;
34701 return 0;
34702 }
34703 _ACEOF
34704 rm -f conftest.$ac_objext
34705 if { (ac_try="$ac_compile"
34706 case "(($ac_try" in
34707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34708 *) ac_try_echo=$ac_try;;
34709 esac
34710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34711 (eval "$ac_compile") 2>conftest.er1
34712 ac_status=$?
34713 grep -v '^ *+' conftest.er1 >conftest.err
34714 rm -f conftest.er1
34715 cat conftest.err >&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } && {
34718 test -z "$ac_c_werror_flag" ||
34719 test ! -s conftest.err
34720 } && test -s conftest.$ac_objext; then
34721 ac_cv_type_mbstate_t=yes
34722 else
34723 echo "$as_me: failed program was:" >&5
34724 sed 's/^/| /' conftest.$ac_ext >&5
34725
34726 ac_cv_type_mbstate_t=no
34727 fi
34728
34729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34730 fi
34731 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34732 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34733 if test $ac_cv_type_mbstate_t = yes; then
34734
34735 cat >>confdefs.h <<_ACEOF
34736 #define HAVE_MBSTATE_T 1
34737 _ACEOF
34738
34739
34740 for ac_func in wcsrtombs
34741 do
34742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34746 echo $ECHO_N "(cached) $ECHO_C" >&6
34747 else
34748 cat >conftest.$ac_ext <<_ACEOF
34749 /* confdefs.h. */
34750 _ACEOF
34751 cat confdefs.h >>conftest.$ac_ext
34752 cat >>conftest.$ac_ext <<_ACEOF
34753 /* end confdefs.h. */
34754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34756 #define $ac_func innocuous_$ac_func
34757
34758 /* System header to define __stub macros and hopefully few prototypes,
34759 which can conflict with char $ac_func (); below.
34760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34761 <limits.h> exists even on freestanding compilers. */
34762
34763 #ifdef __STDC__
34764 # include <limits.h>
34765 #else
34766 # include <assert.h>
34767 #endif
34768
34769 #undef $ac_func
34770
34771 /* Override any GCC internal prototype to avoid an error.
34772 Use char because int might match the return type of a GCC
34773 builtin and then its argument prototype would still apply. */
34774 #ifdef __cplusplus
34775 extern "C"
34776 #endif
34777 char $ac_func ();
34778 /* The GNU C library defines this for functions which it implements
34779 to always fail with ENOSYS. Some functions are actually named
34780 something starting with __ and the normal name is an alias. */
34781 #if defined __stub_$ac_func || defined __stub___$ac_func
34782 choke me
34783 #endif
34784
34785 int
34786 main ()
34787 {
34788 return $ac_func ();
34789 ;
34790 return 0;
34791 }
34792 _ACEOF
34793 rm -f conftest.$ac_objext conftest$ac_exeext
34794 if { (ac_try="$ac_link"
34795 case "(($ac_try" in
34796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34797 *) ac_try_echo=$ac_try;;
34798 esac
34799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34800 (eval "$ac_link") 2>conftest.er1
34801 ac_status=$?
34802 grep -v '^ *+' conftest.er1 >conftest.err
34803 rm -f conftest.er1
34804 cat conftest.err >&5
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); } && {
34807 test -z "$ac_c_werror_flag" ||
34808 test ! -s conftest.err
34809 } && test -s conftest$ac_exeext &&
34810 $as_test_x conftest$ac_exeext; then
34811 eval "$as_ac_var=yes"
34812 else
34813 echo "$as_me: failed program was:" >&5
34814 sed 's/^/| /' conftest.$ac_ext >&5
34815
34816 eval "$as_ac_var=no"
34817 fi
34818
34819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34820 conftest$ac_exeext conftest.$ac_ext
34821 fi
34822 ac_res=`eval echo '${'$as_ac_var'}'`
34823 { echo "$as_me:$LINENO: result: $ac_res" >&5
34824 echo "${ECHO_T}$ac_res" >&6; }
34825 if test `eval echo '${'$as_ac_var'}'` = yes; then
34826 cat >>confdefs.h <<_ACEOF
34827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34828 _ACEOF
34829
34830 fi
34831 done
34832
34833 fi
34834
34835 else
34836 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34837 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34838 fi
34839
34840
34841
34842 for ac_func in snprintf vsnprintf
34843 do
34844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34848 echo $ECHO_N "(cached) $ECHO_C" >&6
34849 else
34850 cat >conftest.$ac_ext <<_ACEOF
34851 /* confdefs.h. */
34852 _ACEOF
34853 cat confdefs.h >>conftest.$ac_ext
34854 cat >>conftest.$ac_ext <<_ACEOF
34855 /* end confdefs.h. */
34856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34858 #define $ac_func innocuous_$ac_func
34859
34860 /* System header to define __stub macros and hopefully few prototypes,
34861 which can conflict with char $ac_func (); below.
34862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34863 <limits.h> exists even on freestanding compilers. */
34864
34865 #ifdef __STDC__
34866 # include <limits.h>
34867 #else
34868 # include <assert.h>
34869 #endif
34870
34871 #undef $ac_func
34872
34873 /* Override any GCC internal prototype to avoid an error.
34874 Use char because int might match the return type of a GCC
34875 builtin and then its argument prototype would still apply. */
34876 #ifdef __cplusplus
34877 extern "C"
34878 #endif
34879 char $ac_func ();
34880 /* The GNU C library defines this for functions which it implements
34881 to always fail with ENOSYS. Some functions are actually named
34882 something starting with __ and the normal name is an alias. */
34883 #if defined __stub_$ac_func || defined __stub___$ac_func
34884 choke me
34885 #endif
34886
34887 int
34888 main ()
34889 {
34890 return $ac_func ();
34891 ;
34892 return 0;
34893 }
34894 _ACEOF
34895 rm -f conftest.$ac_objext conftest$ac_exeext
34896 if { (ac_try="$ac_link"
34897 case "(($ac_try" in
34898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34899 *) ac_try_echo=$ac_try;;
34900 esac
34901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34902 (eval "$ac_link") 2>conftest.er1
34903 ac_status=$?
34904 grep -v '^ *+' conftest.er1 >conftest.err
34905 rm -f conftest.er1
34906 cat conftest.err >&5
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); } && {
34909 test -z "$ac_c_werror_flag" ||
34910 test ! -s conftest.err
34911 } && test -s conftest$ac_exeext &&
34912 $as_test_x conftest$ac_exeext; then
34913 eval "$as_ac_var=yes"
34914 else
34915 echo "$as_me: failed program was:" >&5
34916 sed 's/^/| /' conftest.$ac_ext >&5
34917
34918 eval "$as_ac_var=no"
34919 fi
34920
34921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34922 conftest$ac_exeext conftest.$ac_ext
34923 fi
34924 ac_res=`eval echo '${'$as_ac_var'}'`
34925 { echo "$as_me:$LINENO: result: $ac_res" >&5
34926 echo "${ECHO_T}$ac_res" >&6; }
34927 if test `eval echo '${'$as_ac_var'}'` = yes; then
34928 cat >>confdefs.h <<_ACEOF
34929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34930 _ACEOF
34931
34932 fi
34933 done
34934
34935
34936 if test "$ac_cv_func_vsnprintf" = "yes"; then
34937 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34938 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34939 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34940 echo $ECHO_N "(cached) $ECHO_C" >&6
34941 else
34942
34943 cat >conftest.$ac_ext <<_ACEOF
34944 /* confdefs.h. */
34945 _ACEOF
34946 cat confdefs.h >>conftest.$ac_ext
34947 cat >>conftest.$ac_ext <<_ACEOF
34948 /* end confdefs.h. */
34949
34950 #include <stdio.h>
34951 #include <stdarg.h>
34952 #ifdef __MSL__
34953 #if __MSL__ >= 0x6000
34954 namespace std {}
34955 using namespace std;
34956 #endif
34957 #endif
34958
34959 int
34960 main ()
34961 {
34962
34963 char *buf;
34964 va_list ap;
34965 vsnprintf(buf, 10u, "%s", ap);
34966
34967 ;
34968 return 0;
34969 }
34970 _ACEOF
34971 rm -f conftest.$ac_objext
34972 if { (ac_try="$ac_compile"
34973 case "(($ac_try" in
34974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34975 *) ac_try_echo=$ac_try;;
34976 esac
34977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34978 (eval "$ac_compile") 2>conftest.er1
34979 ac_status=$?
34980 grep -v '^ *+' conftest.er1 >conftest.err
34981 rm -f conftest.er1
34982 cat conftest.err >&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } && {
34985 test -z "$ac_c_werror_flag" ||
34986 test ! -s conftest.err
34987 } && test -s conftest.$ac_objext; then
34988 wx_cv_func_vsnprintf_decl=yes
34989 else
34990 echo "$as_me: failed program was:" >&5
34991 sed 's/^/| /' conftest.$ac_ext >&5
34992
34993 wx_cv_func_vsnprintf_decl=no
34994
34995 fi
34996
34997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34998
34999
35000 fi
35001 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35002 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35003
35004 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35005 cat >>confdefs.h <<\_ACEOF
35006 #define HAVE_VSNPRINTF_DECL 1
35007 _ACEOF
35008
35009
35010 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35011 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35012 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35013 echo $ECHO_N "(cached) $ECHO_C" >&6
35014 else
35015
35016 cat >conftest.$ac_ext <<_ACEOF
35017 /* confdefs.h. */
35018 _ACEOF
35019 cat confdefs.h >>conftest.$ac_ext
35020 cat >>conftest.$ac_ext <<_ACEOF
35021 /* end confdefs.h. */
35022
35023 #include <stdio.h>
35024 #include <stdarg.h>
35025 #ifdef __MSL__
35026 #if __MSL__ >= 0x6000
35027 namespace std {}
35028 using namespace std;
35029 #endif
35030 #endif
35031
35032 int
35033 main ()
35034 {
35035
35036 char *buf;
35037 va_list ap;
35038 const char *fmt = "%s";
35039 vsnprintf(buf, 10u, fmt, ap);
35040
35041 ;
35042 return 0;
35043 }
35044 _ACEOF
35045 rm -f conftest.$ac_objext
35046 if { (ac_try="$ac_compile"
35047 case "(($ac_try" in
35048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35049 *) ac_try_echo=$ac_try;;
35050 esac
35051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35052 (eval "$ac_compile") 2>conftest.er1
35053 ac_status=$?
35054 grep -v '^ *+' conftest.er1 >conftest.err
35055 rm -f conftest.er1
35056 cat conftest.err >&5
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); } && {
35059 test -z "$ac_c_werror_flag" ||
35060 test ! -s conftest.err
35061 } && test -s conftest.$ac_objext; then
35062 wx_cv_func_broken_vsnprintf_decl=no
35063 else
35064 echo "$as_me: failed program was:" >&5
35065 sed 's/^/| /' conftest.$ac_ext >&5
35066
35067 wx_cv_func_broken_vsnprintf_decl=yes
35068
35069 fi
35070
35071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35072
35073
35074 fi
35075 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35076 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35077
35078 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35079 cat >>confdefs.h <<\_ACEOF
35080 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35081 _ACEOF
35082
35083 fi
35084 fi
35085 fi
35086
35087 if test "$ac_cv_func_snprintf" = "yes"; then
35088 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35089 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35090 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35092 else
35093
35094 cat >conftest.$ac_ext <<_ACEOF
35095 /* confdefs.h. */
35096 _ACEOF
35097 cat confdefs.h >>conftest.$ac_ext
35098 cat >>conftest.$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35100
35101 #include <stdio.h>
35102 #include <stdarg.h>
35103 #ifdef __MSL__
35104 #if __MSL__ >= 0x6000
35105 namespace std {}
35106 using namespace std;
35107 #endif
35108 #endif
35109
35110 int
35111 main ()
35112 {
35113
35114 char *buf;
35115 snprintf(buf, 10u, "%s", "wx");
35116
35117 ;
35118 return 0;
35119 }
35120 _ACEOF
35121 rm -f conftest.$ac_objext
35122 if { (ac_try="$ac_compile"
35123 case "(($ac_try" in
35124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35125 *) ac_try_echo=$ac_try;;
35126 esac
35127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35128 (eval "$ac_compile") 2>conftest.er1
35129 ac_status=$?
35130 grep -v '^ *+' conftest.er1 >conftest.err
35131 rm -f conftest.er1
35132 cat conftest.err >&5
35133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134 (exit $ac_status); } && {
35135 test -z "$ac_c_werror_flag" ||
35136 test ! -s conftest.err
35137 } && test -s conftest.$ac_objext; then
35138 wx_cv_func_snprintf_decl=yes
35139 else
35140 echo "$as_me: failed program was:" >&5
35141 sed 's/^/| /' conftest.$ac_ext >&5
35142
35143 wx_cv_func_snprintf_decl=no
35144
35145 fi
35146
35147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35148
35149
35150 fi
35151 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35152 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35153
35154 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35155 cat >>confdefs.h <<\_ACEOF
35156 #define HAVE_SNPRINTF_DECL 1
35157 _ACEOF
35158
35159
35160 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35161 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
35162 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35163 echo $ECHO_N "(cached) $ECHO_C" >&6
35164 else
35165
35166 cat >conftest.$ac_ext <<_ACEOF
35167 /* confdefs.h. */
35168 _ACEOF
35169 cat confdefs.h >>conftest.$ac_ext
35170 cat >>conftest.$ac_ext <<_ACEOF
35171 /* end confdefs.h. */
35172
35173 #include <stdio.h>
35174 #include <stdarg.h>
35175 #ifdef __MSL__
35176 #if __MSL__ >= 0x6000
35177 namespace std {}
35178 using namespace std;
35179 #endif
35180 #endif
35181
35182 int
35183 main ()
35184 {
35185
35186 char *buf;
35187 const char *fmt = "%s";
35188 snprintf(buf, 10u, fmt, "wx");
35189
35190 ;
35191 return 0;
35192 }
35193 _ACEOF
35194 rm -f conftest.$ac_objext
35195 if { (ac_try="$ac_compile"
35196 case "(($ac_try" in
35197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35198 *) ac_try_echo=$ac_try;;
35199 esac
35200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35201 (eval "$ac_compile") 2>conftest.er1
35202 ac_status=$?
35203 grep -v '^ *+' conftest.er1 >conftest.err
35204 rm -f conftest.er1
35205 cat conftest.err >&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); } && {
35208 test -z "$ac_c_werror_flag" ||
35209 test ! -s conftest.err
35210 } && test -s conftest.$ac_objext; then
35211 wx_cv_func_broken_snprintf_decl=no
35212 else
35213 echo "$as_me: failed program was:" >&5
35214 sed 's/^/| /' conftest.$ac_ext >&5
35215
35216 wx_cv_func_broken_snprintf_decl=yes
35217
35218 fi
35219
35220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35221
35222
35223 fi
35224 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35225 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
35226
35227 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35228 cat >>confdefs.h <<\_ACEOF
35229 #define HAVE_BROKEN_SNPRINTF_DECL 1
35230 _ACEOF
35231
35232 fi
35233 fi
35234
35235 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35236
35237 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35238 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35239 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35240 echo $ECHO_N "(cached) $ECHO_C" >&6
35241 else
35242
35243 if test "$cross_compiling" = yes; then
35244
35245 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35246 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35247 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35248 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35249 wx_cv_func_snprintf_pos_params=no
35250
35251
35252 else
35253 cat >conftest.$ac_ext <<_ACEOF
35254 /* confdefs.h. */
35255 _ACEOF
35256 cat confdefs.h >>conftest.$ac_ext
35257 cat >>conftest.$ac_ext <<_ACEOF
35258 /* end confdefs.h. */
35259
35260 #include <stdio.h>
35261
35262 int main (void)
35263 {
35264 char buffer[128];
35265 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35266 if (strcmp ("2 3 1", buffer) == 0)
35267 exit (0);
35268 exit (1);
35269 }
35270
35271 _ACEOF
35272 rm -f conftest$ac_exeext
35273 if { (ac_try="$ac_link"
35274 case "(($ac_try" in
35275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35276 *) ac_try_echo=$ac_try;;
35277 esac
35278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35279 (eval "$ac_link") 2>&5
35280 ac_status=$?
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35283 { (case "(($ac_try" in
35284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35285 *) ac_try_echo=$ac_try;;
35286 esac
35287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35288 (eval "$ac_try") 2>&5
35289 ac_status=$?
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); }; }; then
35292 wx_cv_func_snprintf_pos_params=no
35293 else
35294 echo "$as_me: program exited with status $ac_status" >&5
35295 echo "$as_me: failed program was:" >&5
35296 sed 's/^/| /' conftest.$ac_ext >&5
35297
35298 ( exit $ac_status )
35299 wx_cv_func_snprintf_pos_params=yes
35300 fi
35301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35302 fi
35303
35304
35305
35306
35307 fi
35308 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35309 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35310
35311 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35312 cat >>confdefs.h <<\_ACEOF
35313 #define HAVE_UNIX98_PRINTF 1
35314 _ACEOF
35315
35316 fi
35317 fi
35318 fi
35319
35320 if test "$wxUSE_UNICODE" = yes; then
35321
35322
35323 for ac_func in swprintf
35324 do
35325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35329 echo $ECHO_N "(cached) $ECHO_C" >&6
35330 else
35331 cat >conftest.$ac_ext <<_ACEOF
35332 /* confdefs.h. */
35333 _ACEOF
35334 cat confdefs.h >>conftest.$ac_ext
35335 cat >>conftest.$ac_ext <<_ACEOF
35336 /* end confdefs.h. */
35337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35339 #define $ac_func innocuous_$ac_func
35340
35341 /* System header to define __stub macros and hopefully few prototypes,
35342 which can conflict with char $ac_func (); below.
35343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35344 <limits.h> exists even on freestanding compilers. */
35345
35346 #ifdef __STDC__
35347 # include <limits.h>
35348 #else
35349 # include <assert.h>
35350 #endif
35351
35352 #undef $ac_func
35353
35354 /* Override any GCC internal prototype to avoid an error.
35355 Use char because int might match the return type of a GCC
35356 builtin and then its argument prototype would still apply. */
35357 #ifdef __cplusplus
35358 extern "C"
35359 #endif
35360 char $ac_func ();
35361 /* The GNU C library defines this for functions which it implements
35362 to always fail with ENOSYS. Some functions are actually named
35363 something starting with __ and the normal name is an alias. */
35364 #if defined __stub_$ac_func || defined __stub___$ac_func
35365 choke me
35366 #endif
35367
35368 int
35369 main ()
35370 {
35371 return $ac_func ();
35372 ;
35373 return 0;
35374 }
35375 _ACEOF
35376 rm -f conftest.$ac_objext conftest$ac_exeext
35377 if { (ac_try="$ac_link"
35378 case "(($ac_try" in
35379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35380 *) ac_try_echo=$ac_try;;
35381 esac
35382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35383 (eval "$ac_link") 2>conftest.er1
35384 ac_status=$?
35385 grep -v '^ *+' conftest.er1 >conftest.err
35386 rm -f conftest.er1
35387 cat conftest.err >&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); } && {
35390 test -z "$ac_c_werror_flag" ||
35391 test ! -s conftest.err
35392 } && test -s conftest$ac_exeext &&
35393 $as_test_x conftest$ac_exeext; then
35394 eval "$as_ac_var=yes"
35395 else
35396 echo "$as_me: failed program was:" >&5
35397 sed 's/^/| /' conftest.$ac_ext >&5
35398
35399 eval "$as_ac_var=no"
35400 fi
35401
35402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35403 conftest$ac_exeext conftest.$ac_ext
35404 fi
35405 ac_res=`eval echo '${'$as_ac_var'}'`
35406 { echo "$as_me:$LINENO: result: $ac_res" >&5
35407 echo "${ECHO_T}$ac_res" >&6; }
35408 if test `eval echo '${'$as_ac_var'}'` = yes; then
35409 cat >>confdefs.h <<_ACEOF
35410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35411 _ACEOF
35412
35413 fi
35414 done
35415
35416
35417 if test "$ac_cv_func_swprintf" = "yes"; then
35418 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35419 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
35420 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35421 echo $ECHO_N "(cached) $ECHO_C" >&6
35422 else
35423
35424 cat >conftest.$ac_ext <<_ACEOF
35425 /* confdefs.h. */
35426 _ACEOF
35427 cat confdefs.h >>conftest.$ac_ext
35428 cat >>conftest.$ac_ext <<_ACEOF
35429 /* end confdefs.h. */
35430
35431 #include <stdio.h>
35432 #include <stdarg.h>
35433 #include <wchar.h>
35434
35435 int
35436 main ()
35437 {
35438
35439 wchar_t *buf;
35440 const wchar_t *fmt = L"test";
35441 swprintf(buf, 10u, fmt);
35442
35443 ;
35444 return 0;
35445 }
35446 _ACEOF
35447 rm -f conftest.$ac_objext
35448 if { (ac_try="$ac_compile"
35449 case "(($ac_try" in
35450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35451 *) ac_try_echo=$ac_try;;
35452 esac
35453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35454 (eval "$ac_compile") 2>conftest.er1
35455 ac_status=$?
35456 grep -v '^ *+' conftest.er1 >conftest.err
35457 rm -f conftest.er1
35458 cat conftest.err >&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); } && {
35461 test -z "$ac_c_werror_flag" ||
35462 test ! -s conftest.err
35463 } && test -s conftest.$ac_objext; then
35464 wx_cv_func_broken_swprintf_decl=no
35465 else
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.$ac_ext >&5
35468
35469 wx_cv_func_broken_swprintf_decl=yes
35470
35471 fi
35472
35473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35474
35475
35476 fi
35477 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35478 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
35479
35480 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35481 cat >>confdefs.h <<\_ACEOF
35482 #define HAVE_BROKEN_SWPRINTF_DECL 1
35483 _ACEOF
35484
35485 fi
35486 fi
35487
35488 wchar_headers="#include <stdio.h>
35489 #include <wchar.h>"
35490 case "${host}" in
35491 *-*-solaris2* )
35492 { echo "$as_me:$LINENO: checking for widec.h" >&5
35493 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
35494 if test "${ac_cv_header_widec_h+set}" = set; then
35495 echo $ECHO_N "(cached) $ECHO_C" >&6
35496 else
35497 cat >conftest.$ac_ext <<_ACEOF
35498 /* confdefs.h. */
35499 _ACEOF
35500 cat confdefs.h >>conftest.$ac_ext
35501 cat >>conftest.$ac_ext <<_ACEOF
35502 /* end confdefs.h. */
35503 $ac_includes_default
35504
35505 #include <widec.h>
35506 _ACEOF
35507 rm -f conftest.$ac_objext
35508 if { (ac_try="$ac_compile"
35509 case "(($ac_try" in
35510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35511 *) ac_try_echo=$ac_try;;
35512 esac
35513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35514 (eval "$ac_compile") 2>conftest.er1
35515 ac_status=$?
35516 grep -v '^ *+' conftest.er1 >conftest.err
35517 rm -f conftest.er1
35518 cat conftest.err >&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); } && {
35521 test -z "$ac_c_werror_flag" ||
35522 test ! -s conftest.err
35523 } && test -s conftest.$ac_objext; then
35524 ac_cv_header_widec_h=yes
35525 else
35526 echo "$as_me: failed program was:" >&5
35527 sed 's/^/| /' conftest.$ac_ext >&5
35528
35529 ac_cv_header_widec_h=no
35530 fi
35531
35532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35533 fi
35534 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35535 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35536
35537
35538 if test "$ac_cv_header_widec_h" = "yes"; then
35539 wchar_headers="$wchar_headers
35540 #include <widec.h>"
35541 fi
35542 esac
35543
35544
35545 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35546 do
35547 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35548 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35549 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35551 else
35552
35553 cat >conftest.$ac_ext <<_ACEOF
35554
35555 /* confdefs.h. */
35556 _ACEOF
35557 cat confdefs.h >>conftest.$ac_ext
35558 cat >>conftest.$ac_ext <<_ACEOF
35559 /* end confdefs.h. */
35560
35561 $wchar_headers
35562 $ac_includes_default
35563
35564 int
35565 main ()
35566 {
35567
35568 #ifndef $wx_func
35569 &$wx_func;
35570 #endif
35571
35572
35573 ;
35574 return 0;
35575 }
35576
35577 _ACEOF
35578 rm -f conftest.$ac_objext conftest$ac_exeext
35579 if { (ac_try="$ac_link"
35580 case "(($ac_try" in
35581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35582 *) ac_try_echo=$ac_try;;
35583 esac
35584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35585 (eval "$ac_link") 2>conftest.er1
35586 ac_status=$?
35587 grep -v '^ *+' conftest.er1 >conftest.err
35588 rm -f conftest.er1
35589 cat conftest.err >&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); } && {
35592 test -z "$ac_c_werror_flag" ||
35593 test ! -s conftest.err
35594 } && test -s conftest$ac_exeext &&
35595 $as_test_x conftest$ac_exeext; then
35596 eval wx_cv_func_$wx_func=yes
35597 else
35598 echo "$as_me: failed program was:" >&5
35599 sed 's/^/| /' conftest.$ac_ext >&5
35600
35601 eval wx_cv_func_$wx_func=no
35602 fi
35603
35604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35605 conftest$ac_exeext conftest.$ac_ext
35606
35607 fi
35608 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35609 { echo "$as_me:$LINENO: result: $ac_res" >&5
35610 echo "${ECHO_T}$ac_res" >&6; }
35611
35612 if eval test \$wx_cv_func_$wx_func = yes
35613 then
35614 cat >>confdefs.h <<_ACEOF
35615 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35616 _ACEOF
35617
35618
35619 else
35620 :
35621
35622 fi
35623 done
35624
35625
35626 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35627 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35628 cat >conftest.$ac_ext <<_ACEOF
35629 /* confdefs.h. */
35630 _ACEOF
35631 cat confdefs.h >>conftest.$ac_ext
35632 cat >>conftest.$ac_ext <<_ACEOF
35633 /* end confdefs.h. */
35634 #include <wchar.h>
35635 int
35636 main ()
35637 {
35638 &_vsnwprintf;
35639 ;
35640 return 0;
35641 }
35642 _ACEOF
35643 rm -f conftest.$ac_objext
35644 if { (ac_try="$ac_compile"
35645 case "(($ac_try" in
35646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35647 *) ac_try_echo=$ac_try;;
35648 esac
35649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35650 (eval "$ac_compile") 2>conftest.er1
35651 ac_status=$?
35652 grep -v '^ *+' conftest.er1 >conftest.err
35653 rm -f conftest.er1
35654 cat conftest.err >&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); } && {
35657 test -z "$ac_c_werror_flag" ||
35658 test ! -s conftest.err
35659 } && test -s conftest.$ac_objext; then
35660 { echo "$as_me:$LINENO: result: yes" >&5
35661 echo "${ECHO_T}yes" >&6; }
35662 cat >>confdefs.h <<\_ACEOF
35663 #define HAVE__VSNWPRINTF 1
35664 _ACEOF
35665
35666 else
35667 echo "$as_me: failed program was:" >&5
35668 sed 's/^/| /' conftest.$ac_ext >&5
35669
35670 { echo "$as_me:$LINENO: result: no" >&5
35671 echo "${ECHO_T}no" >&6; }
35672 fi
35673
35674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35675 fi
35676
35677 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35678
35679 for wx_func in fnmatch
35680 do
35681 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35682 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35683 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35684 echo $ECHO_N "(cached) $ECHO_C" >&6
35685 else
35686
35687 cat >conftest.$ac_ext <<_ACEOF
35688
35689 /* confdefs.h. */
35690 _ACEOF
35691 cat confdefs.h >>conftest.$ac_ext
35692 cat >>conftest.$ac_ext <<_ACEOF
35693 /* end confdefs.h. */
35694
35695 #include <fnmatch.h>
35696 $ac_includes_default
35697
35698 int
35699 main ()
35700 {
35701
35702 #ifndef $wx_func
35703 &$wx_func;
35704 #endif
35705
35706
35707 ;
35708 return 0;
35709 }
35710
35711 _ACEOF
35712 rm -f conftest.$ac_objext conftest$ac_exeext
35713 if { (ac_try="$ac_link"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35717 esac
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_link") 2>conftest.er1
35720 ac_status=$?
35721 grep -v '^ *+' conftest.er1 >conftest.err
35722 rm -f conftest.er1
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_c_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest$ac_exeext &&
35729 $as_test_x conftest$ac_exeext; then
35730 eval wx_cv_func_$wx_func=yes
35731 else
35732 echo "$as_me: failed program was:" >&5
35733 sed 's/^/| /' conftest.$ac_ext >&5
35734
35735 eval wx_cv_func_$wx_func=no
35736 fi
35737
35738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35739 conftest$ac_exeext conftest.$ac_ext
35740
35741 fi
35742 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35743 { echo "$as_me:$LINENO: result: $ac_res" >&5
35744 echo "${ECHO_T}$ac_res" >&6; }
35745
35746 if eval test \$wx_cv_func_$wx_func = yes
35747 then
35748 cat >>confdefs.h <<_ACEOF
35749 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35750 _ACEOF
35751
35752
35753 else
35754 :
35755
35756 fi
35757 done
35758
35759 fi
35760
35761 if test "$wxUSE_FILE" = "yes"; then
35762
35763 for wx_func in fsync
35764 do
35765 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35766 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35767 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35768 echo $ECHO_N "(cached) $ECHO_C" >&6
35769 else
35770
35771 cat >conftest.$ac_ext <<_ACEOF
35772
35773 /* confdefs.h. */
35774 _ACEOF
35775 cat confdefs.h >>conftest.$ac_ext
35776 cat >>conftest.$ac_ext <<_ACEOF
35777 /* end confdefs.h. */
35778
35779
35780 $ac_includes_default
35781
35782 int
35783 main ()
35784 {
35785
35786 #ifndef $wx_func
35787 &$wx_func;
35788 #endif
35789
35790
35791 ;
35792 return 0;
35793 }
35794
35795 _ACEOF
35796 rm -f conftest.$ac_objext conftest$ac_exeext
35797 if { (ac_try="$ac_link"
35798 case "(($ac_try" in
35799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35800 *) ac_try_echo=$ac_try;;
35801 esac
35802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35803 (eval "$ac_link") 2>conftest.er1
35804 ac_status=$?
35805 grep -v '^ *+' conftest.er1 >conftest.err
35806 rm -f conftest.er1
35807 cat conftest.err >&5
35808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35809 (exit $ac_status); } && {
35810 test -z "$ac_c_werror_flag" ||
35811 test ! -s conftest.err
35812 } && test -s conftest$ac_exeext &&
35813 $as_test_x conftest$ac_exeext; then
35814 eval wx_cv_func_$wx_func=yes
35815 else
35816 echo "$as_me: failed program was:" >&5
35817 sed 's/^/| /' conftest.$ac_ext >&5
35818
35819 eval wx_cv_func_$wx_func=no
35820 fi
35821
35822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35823 conftest$ac_exeext conftest.$ac_ext
35824
35825 fi
35826 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35827 { echo "$as_me:$LINENO: result: $ac_res" >&5
35828 echo "${ECHO_T}$ac_res" >&6; }
35829
35830 if eval test \$wx_cv_func_$wx_func = yes
35831 then
35832 cat >>confdefs.h <<_ACEOF
35833 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35834 _ACEOF
35835
35836
35837 else
35838 :
35839
35840 fi
35841 done
35842
35843 fi
35844
35845 ac_ext=cpp
35846 ac_cpp='$CXXCPP $CPPFLAGS'
35847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35850
35851
35852 for wx_func in round
35853 do
35854 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35855 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35856 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35857 echo $ECHO_N "(cached) $ECHO_C" >&6
35858 else
35859
35860 cat >conftest.$ac_ext <<_ACEOF
35861
35862 /* confdefs.h. */
35863 _ACEOF
35864 cat confdefs.h >>conftest.$ac_ext
35865 cat >>conftest.$ac_ext <<_ACEOF
35866 /* end confdefs.h. */
35867
35868 #include <math.h>
35869 $ac_includes_default
35870
35871 int
35872 main ()
35873 {
35874
35875 #ifndef $wx_func
35876 &$wx_func;
35877 #endif
35878
35879
35880 ;
35881 return 0;
35882 }
35883
35884 _ACEOF
35885 rm -f conftest.$ac_objext conftest$ac_exeext
35886 if { (ac_try="$ac_link"
35887 case "(($ac_try" in
35888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35889 *) ac_try_echo=$ac_try;;
35890 esac
35891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35892 (eval "$ac_link") 2>conftest.er1
35893 ac_status=$?
35894 grep -v '^ *+' conftest.er1 >conftest.err
35895 rm -f conftest.er1
35896 cat conftest.err >&5
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); } && {
35899 test -z "$ac_cxx_werror_flag" ||
35900 test ! -s conftest.err
35901 } && test -s conftest$ac_exeext &&
35902 $as_test_x conftest$ac_exeext; then
35903 eval wx_cv_func_$wx_func=yes
35904 else
35905 echo "$as_me: failed program was:" >&5
35906 sed 's/^/| /' conftest.$ac_ext >&5
35907
35908 eval wx_cv_func_$wx_func=no
35909 fi
35910
35911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35912 conftest$ac_exeext conftest.$ac_ext
35913
35914 fi
35915 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35916 { echo "$as_me:$LINENO: result: $ac_res" >&5
35917 echo "${ECHO_T}$ac_res" >&6; }
35918
35919 if eval test \$wx_cv_func_$wx_func = yes
35920 then
35921 cat >>confdefs.h <<_ACEOF
35922 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35923 _ACEOF
35924
35925
35926 else
35927 :
35928
35929 fi
35930 done
35931
35932 ac_ext=c
35933 ac_cpp='$CPP $CPPFLAGS'
35934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35937
35938
35939 if test "$TOOLKIT" != "MSW"; then
35940
35941
35942
35943
35944
35945 # Check whether --with-libiconv-prefix was given.
35946 if test "${with_libiconv_prefix+set}" = set; then
35947 withval=$with_libiconv_prefix;
35948 for dir in `echo "$withval" | tr : ' '`; do
35949 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35950 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35951 done
35952
35953 fi
35954
35955
35956 { echo "$as_me:$LINENO: checking for iconv" >&5
35957 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35958 if test "${am_cv_func_iconv+set}" = set; then
35959 echo $ECHO_N "(cached) $ECHO_C" >&6
35960 else
35961
35962 am_cv_func_iconv="no, consider installing GNU libiconv"
35963 am_cv_lib_iconv=no
35964 cat >conftest.$ac_ext <<_ACEOF
35965 /* confdefs.h. */
35966 _ACEOF
35967 cat confdefs.h >>conftest.$ac_ext
35968 cat >>conftest.$ac_ext <<_ACEOF
35969 /* end confdefs.h. */
35970 #include <stdlib.h>
35971 #include <iconv.h>
35972 int
35973 main ()
35974 {
35975 iconv_t cd = iconv_open("","");
35976 iconv(cd,NULL,NULL,NULL,NULL);
35977 iconv_close(cd);
35978 ;
35979 return 0;
35980 }
35981 _ACEOF
35982 rm -f conftest.$ac_objext conftest$ac_exeext
35983 if { (ac_try="$ac_link"
35984 case "(($ac_try" in
35985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35986 *) ac_try_echo=$ac_try;;
35987 esac
35988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35989 (eval "$ac_link") 2>conftest.er1
35990 ac_status=$?
35991 grep -v '^ *+' conftest.er1 >conftest.err
35992 rm -f conftest.er1
35993 cat conftest.err >&5
35994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35995 (exit $ac_status); } && {
35996 test -z "$ac_c_werror_flag" ||
35997 test ! -s conftest.err
35998 } && test -s conftest$ac_exeext &&
35999 $as_test_x conftest$ac_exeext; then
36000 am_cv_func_iconv=yes
36001 else
36002 echo "$as_me: failed program was:" >&5
36003 sed 's/^/| /' conftest.$ac_ext >&5
36004
36005
36006 fi
36007
36008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36009 conftest$ac_exeext conftest.$ac_ext
36010 if test "$am_cv_func_iconv" != yes; then
36011 am_save_LIBS="$LIBS"
36012 LIBS="$LIBS -liconv"
36013 cat >conftest.$ac_ext <<_ACEOF
36014 /* confdefs.h. */
36015 _ACEOF
36016 cat confdefs.h >>conftest.$ac_ext
36017 cat >>conftest.$ac_ext <<_ACEOF
36018 /* end confdefs.h. */
36019 #include <stdlib.h>
36020 #include <iconv.h>
36021 int
36022 main ()
36023 {
36024 iconv_t cd = iconv_open("","");
36025 iconv(cd,NULL,NULL,NULL,NULL);
36026 iconv_close(cd);
36027 ;
36028 return 0;
36029 }
36030 _ACEOF
36031 rm -f conftest.$ac_objext conftest$ac_exeext
36032 if { (ac_try="$ac_link"
36033 case "(($ac_try" in
36034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36035 *) ac_try_echo=$ac_try;;
36036 esac
36037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36038 (eval "$ac_link") 2>conftest.er1
36039 ac_status=$?
36040 grep -v '^ *+' conftest.er1 >conftest.err
36041 rm -f conftest.er1
36042 cat conftest.err >&5
36043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044 (exit $ac_status); } && {
36045 test -z "$ac_c_werror_flag" ||
36046 test ! -s conftest.err
36047 } && test -s conftest$ac_exeext &&
36048 $as_test_x conftest$ac_exeext; then
36049 am_cv_lib_iconv=yes
36050 am_cv_func_iconv=yes
36051 else
36052 echo "$as_me: failed program was:" >&5
36053 sed 's/^/| /' conftest.$ac_ext >&5
36054
36055
36056 fi
36057
36058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36059 conftest$ac_exeext conftest.$ac_ext
36060 LIBS="$am_save_LIBS"
36061 fi
36062
36063 fi
36064 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36065 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36066 if test "$am_cv_func_iconv" = yes; then
36067
36068 cat >>confdefs.h <<\_ACEOF
36069 #define HAVE_ICONV 1
36070 _ACEOF
36071
36072 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36073 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36074 if test "${wx_cv_func_iconv_const+set}" = set; then
36075 echo $ECHO_N "(cached) $ECHO_C" >&6
36076 else
36077 cat >conftest.$ac_ext <<_ACEOF
36078 /* confdefs.h. */
36079 _ACEOF
36080 cat confdefs.h >>conftest.$ac_ext
36081 cat >>conftest.$ac_ext <<_ACEOF
36082 /* end confdefs.h. */
36083
36084 #include <stdlib.h>
36085 #include <iconv.h>
36086 extern
36087 #ifdef __cplusplus
36088 "C"
36089 #endif
36090 #if defined(__STDC__) || defined(__cplusplus)
36091 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36092 #else
36093 size_t iconv();
36094 #endif
36095
36096 int
36097 main ()
36098 {
36099
36100 ;
36101 return 0;
36102 }
36103 _ACEOF
36104 rm -f conftest.$ac_objext
36105 if { (ac_try="$ac_compile"
36106 case "(($ac_try" in
36107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36108 *) ac_try_echo=$ac_try;;
36109 esac
36110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36111 (eval "$ac_compile") 2>conftest.er1
36112 ac_status=$?
36113 grep -v '^ *+' conftest.er1 >conftest.err
36114 rm -f conftest.er1
36115 cat conftest.err >&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); } && {
36118 test -z "$ac_c_werror_flag" ||
36119 test ! -s conftest.err
36120 } && test -s conftest.$ac_objext; then
36121 wx_cv_func_iconv_const="no"
36122 else
36123 echo "$as_me: failed program was:" >&5
36124 sed 's/^/| /' conftest.$ac_ext >&5
36125
36126 wx_cv_func_iconv_const="yes"
36127
36128 fi
36129
36130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36131
36132 fi
36133 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36134 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36135
36136 iconv_const=
36137 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36138 iconv_const="const"
36139 fi
36140
36141
36142 cat >>confdefs.h <<_ACEOF
36143 #define ICONV_CONST $iconv_const
36144 _ACEOF
36145
36146 fi
36147 LIBICONV=
36148 if test "$am_cv_lib_iconv" = yes; then
36149 LIBICONV="-liconv"
36150 fi
36151
36152
36153 LIBS="$LIBICONV $LIBS"
36154
36155 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36156
36157 for ac_func in sigaction
36158 do
36159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36160 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36163 echo $ECHO_N "(cached) $ECHO_C" >&6
36164 else
36165 cat >conftest.$ac_ext <<_ACEOF
36166 /* confdefs.h. */
36167 _ACEOF
36168 cat confdefs.h >>conftest.$ac_ext
36169 cat >>conftest.$ac_ext <<_ACEOF
36170 /* end confdefs.h. */
36171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36173 #define $ac_func innocuous_$ac_func
36174
36175 /* System header to define __stub macros and hopefully few prototypes,
36176 which can conflict with char $ac_func (); below.
36177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36178 <limits.h> exists even on freestanding compilers. */
36179
36180 #ifdef __STDC__
36181 # include <limits.h>
36182 #else
36183 # include <assert.h>
36184 #endif
36185
36186 #undef $ac_func
36187
36188 /* Override any GCC internal prototype to avoid an error.
36189 Use char because int might match the return type of a GCC
36190 builtin and then its argument prototype would still apply. */
36191 #ifdef __cplusplus
36192 extern "C"
36193 #endif
36194 char $ac_func ();
36195 /* The GNU C library defines this for functions which it implements
36196 to always fail with ENOSYS. Some functions are actually named
36197 something starting with __ and the normal name is an alias. */
36198 #if defined __stub_$ac_func || defined __stub___$ac_func
36199 choke me
36200 #endif
36201
36202 int
36203 main ()
36204 {
36205 return $ac_func ();
36206 ;
36207 return 0;
36208 }
36209 _ACEOF
36210 rm -f conftest.$ac_objext conftest$ac_exeext
36211 if { (ac_try="$ac_link"
36212 case "(($ac_try" in
36213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36214 *) ac_try_echo=$ac_try;;
36215 esac
36216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36217 (eval "$ac_link") 2>conftest.er1
36218 ac_status=$?
36219 grep -v '^ *+' conftest.er1 >conftest.err
36220 rm -f conftest.er1
36221 cat conftest.err >&5
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); } && {
36224 test -z "$ac_c_werror_flag" ||
36225 test ! -s conftest.err
36226 } && test -s conftest$ac_exeext &&
36227 $as_test_x conftest$ac_exeext; then
36228 eval "$as_ac_var=yes"
36229 else
36230 echo "$as_me: failed program was:" >&5
36231 sed 's/^/| /' conftest.$ac_ext >&5
36232
36233 eval "$as_ac_var=no"
36234 fi
36235
36236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36237 conftest$ac_exeext conftest.$ac_ext
36238 fi
36239 ac_res=`eval echo '${'$as_ac_var'}'`
36240 { echo "$as_me:$LINENO: result: $ac_res" >&5
36241 echo "${ECHO_T}$ac_res" >&6; }
36242 if test `eval echo '${'$as_ac_var'}'` = yes; then
36243 cat >>confdefs.h <<_ACEOF
36244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36245 _ACEOF
36246
36247 fi
36248 done
36249
36250
36251 if test "$ac_cv_func_sigaction" = "no"; then
36252 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36253 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36254 wxUSE_ON_FATAL_EXCEPTION=no
36255 fi
36256
36257 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36258 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36259 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36260 if test "${wx_cv_type_sa_handler+set}" = set; then
36261 echo $ECHO_N "(cached) $ECHO_C" >&6
36262 else
36263
36264 ac_ext=cpp
36265 ac_cpp='$CXXCPP $CPPFLAGS'
36266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36269
36270 cat >conftest.$ac_ext <<_ACEOF
36271 /* confdefs.h. */
36272 _ACEOF
36273 cat confdefs.h >>conftest.$ac_ext
36274 cat >>conftest.$ac_ext <<_ACEOF
36275 /* end confdefs.h. */
36276 #include <signal.h>
36277 int
36278 main ()
36279 {
36280
36281 extern void testSigHandler(int);
36282
36283 struct sigaction sa;
36284 sa.sa_handler = testSigHandler;
36285
36286 ;
36287 return 0;
36288 }
36289 _ACEOF
36290 rm -f conftest.$ac_objext
36291 if { (ac_try="$ac_compile"
36292 case "(($ac_try" in
36293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36294 *) ac_try_echo=$ac_try;;
36295 esac
36296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36297 (eval "$ac_compile") 2>conftest.er1
36298 ac_status=$?
36299 grep -v '^ *+' conftest.er1 >conftest.err
36300 rm -f conftest.er1
36301 cat conftest.err >&5
36302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36303 (exit $ac_status); } && {
36304 test -z "$ac_cxx_werror_flag" ||
36305 test ! -s conftest.err
36306 } && test -s conftest.$ac_objext; then
36307
36308 wx_cv_type_sa_handler=int
36309
36310 else
36311 echo "$as_me: failed program was:" >&5
36312 sed 's/^/| /' conftest.$ac_ext >&5
36313
36314
36315 wx_cv_type_sa_handler=void
36316
36317 fi
36318
36319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36320 ac_ext=c
36321 ac_cpp='$CPP $CPPFLAGS'
36322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36325
36326
36327 fi
36328 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36329 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36330
36331 cat >>confdefs.h <<_ACEOF
36332 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36333 _ACEOF
36334
36335 fi
36336 fi
36337
36338 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36339 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36340 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36341 if test "${wx_cv_func_backtrace+set}" = set; then
36342 echo $ECHO_N "(cached) $ECHO_C" >&6
36343 else
36344
36345 ac_ext=cpp
36346 ac_cpp='$CXXCPP $CPPFLAGS'
36347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36350
36351 cat >conftest.$ac_ext <<_ACEOF
36352 /* confdefs.h. */
36353 _ACEOF
36354 cat confdefs.h >>conftest.$ac_ext
36355 cat >>conftest.$ac_ext <<_ACEOF
36356 /* end confdefs.h. */
36357 #include <execinfo.h>
36358 int
36359 main ()
36360 {
36361
36362 void *trace[1];
36363 char **messages;
36364
36365 backtrace(trace, 1);
36366 messages = backtrace_symbols(trace, 1);
36367
36368 ;
36369 return 0;
36370 }
36371 _ACEOF
36372 rm -f conftest.$ac_objext
36373 if { (ac_try="$ac_compile"
36374 case "(($ac_try" in
36375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36376 *) ac_try_echo=$ac_try;;
36377 esac
36378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36379 (eval "$ac_compile") 2>conftest.er1
36380 ac_status=$?
36381 grep -v '^ *+' conftest.er1 >conftest.err
36382 rm -f conftest.er1
36383 cat conftest.err >&5
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); } && {
36386 test -z "$ac_cxx_werror_flag" ||
36387 test ! -s conftest.err
36388 } && test -s conftest.$ac_objext; then
36389 wx_cv_func_backtrace=yes
36390 else
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.$ac_ext >&5
36393
36394 wx_cv_func_backtrace=no
36395
36396 fi
36397
36398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36399 ac_ext=c
36400 ac_cpp='$CPP $CPPFLAGS'
36401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36404
36405
36406
36407 fi
36408 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36409 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36410
36411
36412 if test "$wx_cv_func_backtrace" = "no"; then
36413 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36414 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36415 wxUSE_STACKWALKER=no
36416 else
36417 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36418 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36419 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36420 echo $ECHO_N "(cached) $ECHO_C" >&6
36421 else
36422
36423 ac_ext=cpp
36424 ac_cpp='$CXXCPP $CPPFLAGS'
36425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36428
36429 cat >conftest.$ac_ext <<_ACEOF
36430 /* confdefs.h. */
36431 _ACEOF
36432 cat confdefs.h >>conftest.$ac_ext
36433 cat >>conftest.$ac_ext <<_ACEOF
36434 /* end confdefs.h. */
36435 #include <cxxabi.h>
36436 int
36437 main ()
36438 {
36439
36440 int rc;
36441 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36442
36443 ;
36444 return 0;
36445 }
36446 _ACEOF
36447 rm -f conftest.$ac_objext conftest$ac_exeext
36448 if { (ac_try="$ac_link"
36449 case "(($ac_try" in
36450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36451 *) ac_try_echo=$ac_try;;
36452 esac
36453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36454 (eval "$ac_link") 2>conftest.er1
36455 ac_status=$?
36456 grep -v '^ *+' conftest.er1 >conftest.err
36457 rm -f conftest.er1
36458 cat conftest.err >&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); } && {
36461 test -z "$ac_cxx_werror_flag" ||
36462 test ! -s conftest.err
36463 } && test -s conftest$ac_exeext &&
36464 $as_test_x conftest$ac_exeext; then
36465 wx_cv_func_cxa_demangle=yes
36466 else
36467 echo "$as_me: failed program was:" >&5
36468 sed 's/^/| /' conftest.$ac_ext >&5
36469
36470 wx_cv_func_cxa_demangle=no
36471
36472 fi
36473
36474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36475 conftest$ac_exeext conftest.$ac_ext
36476 ac_ext=c
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36481
36482
36483
36484 fi
36485 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36486 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36487
36488 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36489 cat >>confdefs.h <<\_ACEOF
36490 #define HAVE_CXA_DEMANGLE 1
36491 _ACEOF
36492
36493 fi
36494 fi
36495 fi
36496
36497 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36498 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36499 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36500 wxUSE_STACKWALKER=no
36501 fi
36502
36503
36504
36505
36506 for ac_func in mkstemp mktemp
36507 do
36508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36509 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36511 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36512 echo $ECHO_N "(cached) $ECHO_C" >&6
36513 else
36514 cat >conftest.$ac_ext <<_ACEOF
36515 /* confdefs.h. */
36516 _ACEOF
36517 cat confdefs.h >>conftest.$ac_ext
36518 cat >>conftest.$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36522 #define $ac_func innocuous_$ac_func
36523
36524 /* System header to define __stub macros and hopefully few prototypes,
36525 which can conflict with char $ac_func (); below.
36526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36527 <limits.h> exists even on freestanding compilers. */
36528
36529 #ifdef __STDC__
36530 # include <limits.h>
36531 #else
36532 # include <assert.h>
36533 #endif
36534
36535 #undef $ac_func
36536
36537 /* Override any GCC internal prototype to avoid an error.
36538 Use char because int might match the return type of a GCC
36539 builtin and then its argument prototype would still apply. */
36540 #ifdef __cplusplus
36541 extern "C"
36542 #endif
36543 char $ac_func ();
36544 /* The GNU C library defines this for functions which it implements
36545 to always fail with ENOSYS. Some functions are actually named
36546 something starting with __ and the normal name is an alias. */
36547 #if defined __stub_$ac_func || defined __stub___$ac_func
36548 choke me
36549 #endif
36550
36551 int
36552 main ()
36553 {
36554 return $ac_func ();
36555 ;
36556 return 0;
36557 }
36558 _ACEOF
36559 rm -f conftest.$ac_objext conftest$ac_exeext
36560 if { (ac_try="$ac_link"
36561 case "(($ac_try" in
36562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36563 *) ac_try_echo=$ac_try;;
36564 esac
36565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36566 (eval "$ac_link") 2>conftest.er1
36567 ac_status=$?
36568 grep -v '^ *+' conftest.er1 >conftest.err
36569 rm -f conftest.er1
36570 cat conftest.err >&5
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); } && {
36573 test -z "$ac_c_werror_flag" ||
36574 test ! -s conftest.err
36575 } && test -s conftest$ac_exeext &&
36576 $as_test_x conftest$ac_exeext; then
36577 eval "$as_ac_var=yes"
36578 else
36579 echo "$as_me: failed program was:" >&5
36580 sed 's/^/| /' conftest.$ac_ext >&5
36581
36582 eval "$as_ac_var=no"
36583 fi
36584
36585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36586 conftest$ac_exeext conftest.$ac_ext
36587 fi
36588 ac_res=`eval echo '${'$as_ac_var'}'`
36589 { echo "$as_me:$LINENO: result: $ac_res" >&5
36590 echo "${ECHO_T}$ac_res" >&6; }
36591 if test `eval echo '${'$as_ac_var'}'` = yes; then
36592 cat >>confdefs.h <<_ACEOF
36593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36594 _ACEOF
36595 break
36596 fi
36597 done
36598
36599
36600 { echo "$as_me:$LINENO: checking for statfs" >&5
36601 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36602 if test "${wx_cv_func_statfs+set}" = set; then
36603 echo $ECHO_N "(cached) $ECHO_C" >&6
36604 else
36605 cat >conftest.$ac_ext <<_ACEOF
36606 /* confdefs.h. */
36607 _ACEOF
36608 cat confdefs.h >>conftest.$ac_ext
36609 cat >>conftest.$ac_ext <<_ACEOF
36610 /* end confdefs.h. */
36611
36612 #if defined(__BSD__)
36613 #include <sys/param.h>
36614 #include <sys/mount.h>
36615 #else
36616 #include <sys/vfs.h>
36617 #endif
36618
36619 int
36620 main ()
36621 {
36622
36623 long l;
36624 struct statfs fs;
36625 statfs("/", &fs);
36626 l = fs.f_bsize;
36627 l += fs.f_blocks;
36628 l += fs.f_bavail;
36629
36630 ;
36631 return 0;
36632 }
36633 _ACEOF
36634 rm -f conftest.$ac_objext
36635 if { (ac_try="$ac_compile"
36636 case "(($ac_try" in
36637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36638 *) ac_try_echo=$ac_try;;
36639 esac
36640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36641 (eval "$ac_compile") 2>conftest.er1
36642 ac_status=$?
36643 grep -v '^ *+' conftest.er1 >conftest.err
36644 rm -f conftest.er1
36645 cat conftest.err >&5
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 (exit $ac_status); } && {
36648 test -z "$ac_c_werror_flag" ||
36649 test ! -s conftest.err
36650 } && test -s conftest.$ac_objext; then
36651 wx_cv_func_statfs=yes
36652 else
36653 echo "$as_me: failed program was:" >&5
36654 sed 's/^/| /' conftest.$ac_ext >&5
36655
36656 wx_cv_func_statfs=no
36657
36658 fi
36659
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36661
36662 fi
36663 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36664 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36665
36666 if test "$wx_cv_func_statfs" = "yes"; then
36667 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36668 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36669 if test "${wx_cv_func_statfs_decl+set}" = set; then
36670 echo $ECHO_N "(cached) $ECHO_C" >&6
36671 else
36672 ac_ext=cpp
36673 ac_cpp='$CXXCPP $CPPFLAGS'
36674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36677
36678 cat >conftest.$ac_ext <<_ACEOF
36679 /* confdefs.h. */
36680 _ACEOF
36681 cat confdefs.h >>conftest.$ac_ext
36682 cat >>conftest.$ac_ext <<_ACEOF
36683 /* end confdefs.h. */
36684
36685 #if defined(__BSD__)
36686 #include <sys/param.h>
36687 #include <sys/mount.h>
36688 #else
36689 #include <sys/vfs.h>
36690 #endif
36691
36692 int
36693 main ()
36694 {
36695
36696 struct statfs fs;
36697 statfs("", &fs);
36698
36699 ;
36700 return 0;
36701 }
36702 _ACEOF
36703 rm -f conftest.$ac_objext
36704 if { (ac_try="$ac_compile"
36705 case "(($ac_try" in
36706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36707 *) ac_try_echo=$ac_try;;
36708 esac
36709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36710 (eval "$ac_compile") 2>conftest.er1
36711 ac_status=$?
36712 grep -v '^ *+' conftest.er1 >conftest.err
36713 rm -f conftest.er1
36714 cat conftest.err >&5
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); } && {
36717 test -z "$ac_cxx_werror_flag" ||
36718 test ! -s conftest.err
36719 } && test -s conftest.$ac_objext; then
36720 wx_cv_func_statfs_decl=yes
36721 else
36722 echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.$ac_ext >&5
36724
36725 wx_cv_func_statfs_decl=no
36726
36727 fi
36728
36729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36730 ac_ext=c
36731 ac_cpp='$CPP $CPPFLAGS'
36732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36735
36736
36737 fi
36738 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36739 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36740
36741 if test "$wx_cv_func_statfs_decl" = "yes"; then
36742 cat >>confdefs.h <<\_ACEOF
36743 #define HAVE_STATFS_DECL 1
36744 _ACEOF
36745
36746 fi
36747
36748 wx_cv_type_statvfs_t="struct statfs"
36749 cat >>confdefs.h <<\_ACEOF
36750 #define HAVE_STATFS 1
36751 _ACEOF
36752
36753 else
36754 { echo "$as_me:$LINENO: checking for statvfs" >&5
36755 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36756 if test "${wx_cv_func_statvfs+set}" = set; then
36757 echo $ECHO_N "(cached) $ECHO_C" >&6
36758 else
36759 cat >conftest.$ac_ext <<_ACEOF
36760 /* confdefs.h. */
36761 _ACEOF
36762 cat confdefs.h >>conftest.$ac_ext
36763 cat >>conftest.$ac_ext <<_ACEOF
36764 /* end confdefs.h. */
36765
36766 #include <stddef.h>
36767 #include <sys/statvfs.h>
36768
36769 int
36770 main ()
36771 {
36772
36773 statvfs("/", NULL);
36774
36775 ;
36776 return 0;
36777 }
36778 _ACEOF
36779 rm -f conftest.$ac_objext
36780 if { (ac_try="$ac_compile"
36781 case "(($ac_try" in
36782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36783 *) ac_try_echo=$ac_try;;
36784 esac
36785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36786 (eval "$ac_compile") 2>conftest.er1
36787 ac_status=$?
36788 grep -v '^ *+' conftest.er1 >conftest.err
36789 rm -f conftest.er1
36790 cat conftest.err >&5
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); } && {
36793 test -z "$ac_c_werror_flag" ||
36794 test ! -s conftest.err
36795 } && test -s conftest.$ac_objext; then
36796 wx_cv_func_statvfs=yes
36797 else
36798 echo "$as_me: failed program was:" >&5
36799 sed 's/^/| /' conftest.$ac_ext >&5
36800
36801 wx_cv_func_statvfs=no
36802
36803 fi
36804
36805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36806
36807 fi
36808 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36809 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36810
36811 if test "$wx_cv_func_statvfs" = "yes"; then
36812 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36813 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36814 if test "${wx_cv_type_statvfs_t+set}" = set; then
36815 echo $ECHO_N "(cached) $ECHO_C" >&6
36816 else
36817 ac_ext=cpp
36818 ac_cpp='$CXXCPP $CPPFLAGS'
36819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36822
36823 cat >conftest.$ac_ext <<_ACEOF
36824 /* confdefs.h. */
36825 _ACEOF
36826 cat confdefs.h >>conftest.$ac_ext
36827 cat >>conftest.$ac_ext <<_ACEOF
36828 /* end confdefs.h. */
36829
36830 #include <sys/statvfs.h>
36831
36832 int
36833 main ()
36834 {
36835
36836 long l;
36837 statvfs_t fs;
36838 statvfs("/", &fs);
36839 l = fs.f_bsize;
36840 l += fs.f_blocks;
36841 l += fs.f_bavail;
36842
36843 ;
36844 return 0;
36845 }
36846 _ACEOF
36847 rm -f conftest.$ac_objext
36848 if { (ac_try="$ac_compile"
36849 case "(($ac_try" in
36850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36851 *) ac_try_echo=$ac_try;;
36852 esac
36853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36854 (eval "$ac_compile") 2>conftest.er1
36855 ac_status=$?
36856 grep -v '^ *+' conftest.er1 >conftest.err
36857 rm -f conftest.er1
36858 cat conftest.err >&5
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); } && {
36861 test -z "$ac_cxx_werror_flag" ||
36862 test ! -s conftest.err
36863 } && test -s conftest.$ac_objext; then
36864 wx_cv_type_statvfs_t=statvfs_t
36865 else
36866 echo "$as_me: failed program was:" >&5
36867 sed 's/^/| /' conftest.$ac_ext >&5
36868
36869
36870 cat >conftest.$ac_ext <<_ACEOF
36871 /* confdefs.h. */
36872 _ACEOF
36873 cat confdefs.h >>conftest.$ac_ext
36874 cat >>conftest.$ac_ext <<_ACEOF
36875 /* end confdefs.h. */
36876
36877 #include <sys/statvfs.h>
36878
36879 int
36880 main ()
36881 {
36882
36883 long l;
36884 struct statvfs fs;
36885 statvfs("/", &fs);
36886 l = fs.f_bsize;
36887 l += fs.f_blocks;
36888 l += fs.f_bavail;
36889
36890 ;
36891 return 0;
36892 }
36893 _ACEOF
36894 rm -f conftest.$ac_objext
36895 if { (ac_try="$ac_compile"
36896 case "(($ac_try" in
36897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36898 *) ac_try_echo=$ac_try;;
36899 esac
36900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36901 (eval "$ac_compile") 2>conftest.er1
36902 ac_status=$?
36903 grep -v '^ *+' conftest.er1 >conftest.err
36904 rm -f conftest.er1
36905 cat conftest.err >&5
36906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36907 (exit $ac_status); } && {
36908 test -z "$ac_cxx_werror_flag" ||
36909 test ! -s conftest.err
36910 } && test -s conftest.$ac_objext; then
36911 wx_cv_type_statvfs_t="struct statvfs"
36912 else
36913 echo "$as_me: failed program was:" >&5
36914 sed 's/^/| /' conftest.$ac_ext >&5
36915
36916 wx_cv_type_statvfs_t="unknown"
36917
36918 fi
36919
36920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36921
36922
36923 fi
36924
36925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36926 ac_ext=c
36927 ac_cpp='$CPP $CPPFLAGS'
36928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36931
36932
36933 fi
36934 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36935 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36936
36937 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36938 cat >>confdefs.h <<\_ACEOF
36939 #define HAVE_STATVFS 1
36940 _ACEOF
36941
36942 fi
36943 else
36944 wx_cv_type_statvfs_t="unknown"
36945 fi
36946 fi
36947
36948 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36949 cat >>confdefs.h <<_ACEOF
36950 #define WX_STATFS_T $wx_cv_type_statvfs_t
36951 _ACEOF
36952
36953 else
36954 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36955 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36956 fi
36957
36958 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36959
36960
36961 for ac_func in fcntl flock
36962 do
36963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36964 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36966 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36967 echo $ECHO_N "(cached) $ECHO_C" >&6
36968 else
36969 cat >conftest.$ac_ext <<_ACEOF
36970 /* confdefs.h. */
36971 _ACEOF
36972 cat confdefs.h >>conftest.$ac_ext
36973 cat >>conftest.$ac_ext <<_ACEOF
36974 /* end confdefs.h. */
36975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36977 #define $ac_func innocuous_$ac_func
36978
36979 /* System header to define __stub macros and hopefully few prototypes,
36980 which can conflict with char $ac_func (); below.
36981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36982 <limits.h> exists even on freestanding compilers. */
36983
36984 #ifdef __STDC__
36985 # include <limits.h>
36986 #else
36987 # include <assert.h>
36988 #endif
36989
36990 #undef $ac_func
36991
36992 /* Override any GCC internal prototype to avoid an error.
36993 Use char because int might match the return type of a GCC
36994 builtin and then its argument prototype would still apply. */
36995 #ifdef __cplusplus
36996 extern "C"
36997 #endif
36998 char $ac_func ();
36999 /* The GNU C library defines this for functions which it implements
37000 to always fail with ENOSYS. Some functions are actually named
37001 something starting with __ and the normal name is an alias. */
37002 #if defined __stub_$ac_func || defined __stub___$ac_func
37003 choke me
37004 #endif
37005
37006 int
37007 main ()
37008 {
37009 return $ac_func ();
37010 ;
37011 return 0;
37012 }
37013 _ACEOF
37014 rm -f conftest.$ac_objext conftest$ac_exeext
37015 if { (ac_try="$ac_link"
37016 case "(($ac_try" in
37017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37018 *) ac_try_echo=$ac_try;;
37019 esac
37020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37021 (eval "$ac_link") 2>conftest.er1
37022 ac_status=$?
37023 grep -v '^ *+' conftest.er1 >conftest.err
37024 rm -f conftest.er1
37025 cat conftest.err >&5
37026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 (exit $ac_status); } && {
37028 test -z "$ac_c_werror_flag" ||
37029 test ! -s conftest.err
37030 } && test -s conftest$ac_exeext &&
37031 $as_test_x conftest$ac_exeext; then
37032 eval "$as_ac_var=yes"
37033 else
37034 echo "$as_me: failed program was:" >&5
37035 sed 's/^/| /' conftest.$ac_ext >&5
37036
37037 eval "$as_ac_var=no"
37038 fi
37039
37040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37041 conftest$ac_exeext conftest.$ac_ext
37042 fi
37043 ac_res=`eval echo '${'$as_ac_var'}'`
37044 { echo "$as_me:$LINENO: result: $ac_res" >&5
37045 echo "${ECHO_T}$ac_res" >&6; }
37046 if test `eval echo '${'$as_ac_var'}'` = yes; then
37047 cat >>confdefs.h <<_ACEOF
37048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37049 _ACEOF
37050 break
37051 fi
37052 done
37053
37054
37055 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37056 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37057 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37058 wxUSE_SNGLINST_CHECKER=no
37059 fi
37060 fi
37061
37062
37063 for ac_func in timegm
37064 do
37065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37070 else
37071 cat >conftest.$ac_ext <<_ACEOF
37072 /* confdefs.h. */
37073 _ACEOF
37074 cat confdefs.h >>conftest.$ac_ext
37075 cat >>conftest.$ac_ext <<_ACEOF
37076 /* end confdefs.h. */
37077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37079 #define $ac_func innocuous_$ac_func
37080
37081 /* System header to define __stub macros and hopefully few prototypes,
37082 which can conflict with char $ac_func (); below.
37083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37084 <limits.h> exists even on freestanding compilers. */
37085
37086 #ifdef __STDC__
37087 # include <limits.h>
37088 #else
37089 # include <assert.h>
37090 #endif
37091
37092 #undef $ac_func
37093
37094 /* Override any GCC internal prototype to avoid an error.
37095 Use char because int might match the return type of a GCC
37096 builtin and then its argument prototype would still apply. */
37097 #ifdef __cplusplus
37098 extern "C"
37099 #endif
37100 char $ac_func ();
37101 /* The GNU C library defines this for functions which it implements
37102 to always fail with ENOSYS. Some functions are actually named
37103 something starting with __ and the normal name is an alias. */
37104 #if defined __stub_$ac_func || defined __stub___$ac_func
37105 choke me
37106 #endif
37107
37108 int
37109 main ()
37110 {
37111 return $ac_func ();
37112 ;
37113 return 0;
37114 }
37115 _ACEOF
37116 rm -f conftest.$ac_objext conftest$ac_exeext
37117 if { (ac_try="$ac_link"
37118 case "(($ac_try" in
37119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37120 *) ac_try_echo=$ac_try;;
37121 esac
37122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37123 (eval "$ac_link") 2>conftest.er1
37124 ac_status=$?
37125 grep -v '^ *+' conftest.er1 >conftest.err
37126 rm -f conftest.er1
37127 cat conftest.err >&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } && {
37130 test -z "$ac_c_werror_flag" ||
37131 test ! -s conftest.err
37132 } && test -s conftest$ac_exeext &&
37133 $as_test_x conftest$ac_exeext; then
37134 eval "$as_ac_var=yes"
37135 else
37136 echo "$as_me: failed program was:" >&5
37137 sed 's/^/| /' conftest.$ac_ext >&5
37138
37139 eval "$as_ac_var=no"
37140 fi
37141
37142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37143 conftest$ac_exeext conftest.$ac_ext
37144 fi
37145 ac_res=`eval echo '${'$as_ac_var'}'`
37146 { echo "$as_me:$LINENO: result: $ac_res" >&5
37147 echo "${ECHO_T}$ac_res" >&6; }
37148 if test `eval echo '${'$as_ac_var'}'` = yes; then
37149 cat >>confdefs.h <<_ACEOF
37150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37151 _ACEOF
37152
37153 fi
37154 done
37155
37156
37157
37158
37159 for ac_func in putenv setenv
37160 do
37161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37162 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37164 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37165 echo $ECHO_N "(cached) $ECHO_C" >&6
37166 else
37167 cat >conftest.$ac_ext <<_ACEOF
37168 /* confdefs.h. */
37169 _ACEOF
37170 cat confdefs.h >>conftest.$ac_ext
37171 cat >>conftest.$ac_ext <<_ACEOF
37172 /* end confdefs.h. */
37173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37175 #define $ac_func innocuous_$ac_func
37176
37177 /* System header to define __stub macros and hopefully few prototypes,
37178 which can conflict with char $ac_func (); below.
37179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37180 <limits.h> exists even on freestanding compilers. */
37181
37182 #ifdef __STDC__
37183 # include <limits.h>
37184 #else
37185 # include <assert.h>
37186 #endif
37187
37188 #undef $ac_func
37189
37190 /* Override any GCC internal prototype to avoid an error.
37191 Use char because int might match the return type of a GCC
37192 builtin and then its argument prototype would still apply. */
37193 #ifdef __cplusplus
37194 extern "C"
37195 #endif
37196 char $ac_func ();
37197 /* The GNU C library defines this for functions which it implements
37198 to always fail with ENOSYS. Some functions are actually named
37199 something starting with __ and the normal name is an alias. */
37200 #if defined __stub_$ac_func || defined __stub___$ac_func
37201 choke me
37202 #endif
37203
37204 int
37205 main ()
37206 {
37207 return $ac_func ();
37208 ;
37209 return 0;
37210 }
37211 _ACEOF
37212 rm -f conftest.$ac_objext conftest$ac_exeext
37213 if { (ac_try="$ac_link"
37214 case "(($ac_try" in
37215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37216 *) ac_try_echo=$ac_try;;
37217 esac
37218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37219 (eval "$ac_link") 2>conftest.er1
37220 ac_status=$?
37221 grep -v '^ *+' conftest.er1 >conftest.err
37222 rm -f conftest.er1
37223 cat conftest.err >&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); } && {
37226 test -z "$ac_c_werror_flag" ||
37227 test ! -s conftest.err
37228 } && test -s conftest$ac_exeext &&
37229 $as_test_x conftest$ac_exeext; then
37230 eval "$as_ac_var=yes"
37231 else
37232 echo "$as_me: failed program was:" >&5
37233 sed 's/^/| /' conftest.$ac_ext >&5
37234
37235 eval "$as_ac_var=no"
37236 fi
37237
37238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37239 conftest$ac_exeext conftest.$ac_ext
37240 fi
37241 ac_res=`eval echo '${'$as_ac_var'}'`
37242 { echo "$as_me:$LINENO: result: $ac_res" >&5
37243 echo "${ECHO_T}$ac_res" >&6; }
37244 if test `eval echo '${'$as_ac_var'}'` = yes; then
37245 cat >>confdefs.h <<_ACEOF
37246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37247 _ACEOF
37248 break
37249 fi
37250 done
37251
37252
37253 HAVE_SOME_SLEEP_FUNC=0
37254 if test "$USE_BEOS" = 1; then
37255 cat >>confdefs.h <<\_ACEOF
37256 #define HAVE_SLEEP 1
37257 _ACEOF
37258
37259 HAVE_SOME_SLEEP_FUNC=1
37260 fi
37261
37262 if test "$USE_DARWIN" = 1; then
37263 cat >>confdefs.h <<\_ACEOF
37264 #define HAVE_USLEEP 1
37265 _ACEOF
37266
37267 HAVE_SOME_SLEEP_FUNC=1
37268 fi
37269
37270 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37271 POSIX4_LINK=
37272
37273 for ac_func in nanosleep
37274 do
37275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37279 echo $ECHO_N "(cached) $ECHO_C" >&6
37280 else
37281 cat >conftest.$ac_ext <<_ACEOF
37282 /* confdefs.h. */
37283 _ACEOF
37284 cat confdefs.h >>conftest.$ac_ext
37285 cat >>conftest.$ac_ext <<_ACEOF
37286 /* end confdefs.h. */
37287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37289 #define $ac_func innocuous_$ac_func
37290
37291 /* System header to define __stub macros and hopefully few prototypes,
37292 which can conflict with char $ac_func (); below.
37293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37294 <limits.h> exists even on freestanding compilers. */
37295
37296 #ifdef __STDC__
37297 # include <limits.h>
37298 #else
37299 # include <assert.h>
37300 #endif
37301
37302 #undef $ac_func
37303
37304 /* Override any GCC internal prototype to avoid an error.
37305 Use char because int might match the return type of a GCC
37306 builtin and then its argument prototype would still apply. */
37307 #ifdef __cplusplus
37308 extern "C"
37309 #endif
37310 char $ac_func ();
37311 /* The GNU C library defines this for functions which it implements
37312 to always fail with ENOSYS. Some functions are actually named
37313 something starting with __ and the normal name is an alias. */
37314 #if defined __stub_$ac_func || defined __stub___$ac_func
37315 choke me
37316 #endif
37317
37318 int
37319 main ()
37320 {
37321 return $ac_func ();
37322 ;
37323 return 0;
37324 }
37325 _ACEOF
37326 rm -f conftest.$ac_objext conftest$ac_exeext
37327 if { (ac_try="$ac_link"
37328 case "(($ac_try" in
37329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37330 *) ac_try_echo=$ac_try;;
37331 esac
37332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37333 (eval "$ac_link") 2>conftest.er1
37334 ac_status=$?
37335 grep -v '^ *+' conftest.er1 >conftest.err
37336 rm -f conftest.er1
37337 cat conftest.err >&5
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); } && {
37340 test -z "$ac_c_werror_flag" ||
37341 test ! -s conftest.err
37342 } && test -s conftest$ac_exeext &&
37343 $as_test_x conftest$ac_exeext; then
37344 eval "$as_ac_var=yes"
37345 else
37346 echo "$as_me: failed program was:" >&5
37347 sed 's/^/| /' conftest.$ac_ext >&5
37348
37349 eval "$as_ac_var=no"
37350 fi
37351
37352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37353 conftest$ac_exeext conftest.$ac_ext
37354 fi
37355 ac_res=`eval echo '${'$as_ac_var'}'`
37356 { echo "$as_me:$LINENO: result: $ac_res" >&5
37357 echo "${ECHO_T}$ac_res" >&6; }
37358 if test `eval echo '${'$as_ac_var'}'` = yes; then
37359 cat >>confdefs.h <<_ACEOF
37360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37361 _ACEOF
37362 cat >>confdefs.h <<\_ACEOF
37363 #define HAVE_NANOSLEEP 1
37364 _ACEOF
37365
37366 else
37367
37368 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37369 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37370 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37371 echo $ECHO_N "(cached) $ECHO_C" >&6
37372 else
37373 ac_check_lib_save_LIBS=$LIBS
37374 LIBS="-lposix4 $LIBS"
37375 cat >conftest.$ac_ext <<_ACEOF
37376 /* confdefs.h. */
37377 _ACEOF
37378 cat confdefs.h >>conftest.$ac_ext
37379 cat >>conftest.$ac_ext <<_ACEOF
37380 /* end confdefs.h. */
37381
37382 /* Override any GCC internal prototype to avoid an error.
37383 Use char because int might match the return type of a GCC
37384 builtin and then its argument prototype would still apply. */
37385 #ifdef __cplusplus
37386 extern "C"
37387 #endif
37388 char nanosleep ();
37389 int
37390 main ()
37391 {
37392 return nanosleep ();
37393 ;
37394 return 0;
37395 }
37396 _ACEOF
37397 rm -f conftest.$ac_objext conftest$ac_exeext
37398 if { (ac_try="$ac_link"
37399 case "(($ac_try" in
37400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37401 *) ac_try_echo=$ac_try;;
37402 esac
37403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37404 (eval "$ac_link") 2>conftest.er1
37405 ac_status=$?
37406 grep -v '^ *+' conftest.er1 >conftest.err
37407 rm -f conftest.er1
37408 cat conftest.err >&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); } && {
37411 test -z "$ac_c_werror_flag" ||
37412 test ! -s conftest.err
37413 } && test -s conftest$ac_exeext &&
37414 $as_test_x conftest$ac_exeext; then
37415 ac_cv_lib_posix4_nanosleep=yes
37416 else
37417 echo "$as_me: failed program was:" >&5
37418 sed 's/^/| /' conftest.$ac_ext >&5
37419
37420 ac_cv_lib_posix4_nanosleep=no
37421 fi
37422
37423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37424 conftest$ac_exeext conftest.$ac_ext
37425 LIBS=$ac_check_lib_save_LIBS
37426 fi
37427 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37428 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37429 if test $ac_cv_lib_posix4_nanosleep = yes; then
37430
37431 cat >>confdefs.h <<\_ACEOF
37432 #define HAVE_NANOSLEEP 1
37433 _ACEOF
37434
37435 POSIX4_LINK=" -lposix4"
37436
37437 else
37438
37439
37440 for wx_func in usleep
37441 do
37442 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37443 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37444 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37445 echo $ECHO_N "(cached) $ECHO_C" >&6
37446 else
37447
37448 cat >conftest.$ac_ext <<_ACEOF
37449
37450 /* confdefs.h. */
37451 _ACEOF
37452 cat confdefs.h >>conftest.$ac_ext
37453 cat >>conftest.$ac_ext <<_ACEOF
37454 /* end confdefs.h. */
37455
37456
37457 $ac_includes_default
37458
37459 int
37460 main ()
37461 {
37462
37463 #ifndef $wx_func
37464 &$wx_func;
37465 #endif
37466
37467
37468 ;
37469 return 0;
37470 }
37471
37472 _ACEOF
37473 rm -f conftest.$ac_objext conftest$ac_exeext
37474 if { (ac_try="$ac_link"
37475 case "(($ac_try" in
37476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37477 *) ac_try_echo=$ac_try;;
37478 esac
37479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37480 (eval "$ac_link") 2>conftest.er1
37481 ac_status=$?
37482 grep -v '^ *+' conftest.er1 >conftest.err
37483 rm -f conftest.er1
37484 cat conftest.err >&5
37485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37486 (exit $ac_status); } && {
37487 test -z "$ac_c_werror_flag" ||
37488 test ! -s conftest.err
37489 } && test -s conftest$ac_exeext &&
37490 $as_test_x conftest$ac_exeext; then
37491 eval wx_cv_func_$wx_func=yes
37492 else
37493 echo "$as_me: failed program was:" >&5
37494 sed 's/^/| /' conftest.$ac_ext >&5
37495
37496 eval wx_cv_func_$wx_func=no
37497 fi
37498
37499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37500 conftest$ac_exeext conftest.$ac_ext
37501
37502 fi
37503 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37504 { echo "$as_me:$LINENO: result: $ac_res" >&5
37505 echo "${ECHO_T}$ac_res" >&6; }
37506
37507 if eval test \$wx_cv_func_$wx_func = yes
37508 then
37509 cat >>confdefs.h <<_ACEOF
37510 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37511 _ACEOF
37512
37513
37514 else
37515 :
37516 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37517 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37518
37519 fi
37520 done
37521
37522
37523
37524 fi
37525
37526
37527
37528 fi
37529 done
37530
37531 fi
37532
37533
37534 for wx_func in uname
37535 do
37536 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37537 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37538 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37539 echo $ECHO_N "(cached) $ECHO_C" >&6
37540 else
37541
37542 cat >conftest.$ac_ext <<_ACEOF
37543
37544 /* confdefs.h. */
37545 _ACEOF
37546 cat confdefs.h >>conftest.$ac_ext
37547 cat >>conftest.$ac_ext <<_ACEOF
37548 /* end confdefs.h. */
37549
37550 #include <sys/utsname.h>
37551 $ac_includes_default
37552
37553 int
37554 main ()
37555 {
37556
37557 #ifndef $wx_func
37558 &$wx_func;
37559 #endif
37560
37561
37562 ;
37563 return 0;
37564 }
37565
37566 _ACEOF
37567 rm -f conftest.$ac_objext conftest$ac_exeext
37568 if { (ac_try="$ac_link"
37569 case "(($ac_try" in
37570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37571 *) ac_try_echo=$ac_try;;
37572 esac
37573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37574 (eval "$ac_link") 2>conftest.er1
37575 ac_status=$?
37576 grep -v '^ *+' conftest.er1 >conftest.err
37577 rm -f conftest.er1
37578 cat conftest.err >&5
37579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580 (exit $ac_status); } && {
37581 test -z "$ac_c_werror_flag" ||
37582 test ! -s conftest.err
37583 } && test -s conftest$ac_exeext &&
37584 $as_test_x conftest$ac_exeext; then
37585 eval wx_cv_func_$wx_func=yes
37586 else
37587 echo "$as_me: failed program was:" >&5
37588 sed 's/^/| /' conftest.$ac_ext >&5
37589
37590 eval wx_cv_func_$wx_func=no
37591 fi
37592
37593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37594 conftest$ac_exeext conftest.$ac_ext
37595
37596 fi
37597 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37598 { echo "$as_me:$LINENO: result: $ac_res" >&5
37599 echo "${ECHO_T}$ac_res" >&6; }
37600
37601 if eval test \$wx_cv_func_$wx_func = yes
37602 then
37603 cat >>confdefs.h <<_ACEOF
37604 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37605 _ACEOF
37606
37607
37608 else
37609 :
37610
37611 fi
37612 done
37613
37614 if test "$wx_cv_func_uname" != yes; then
37615
37616 for wx_func in gethostname
37617 do
37618 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37619 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37620 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37621 echo $ECHO_N "(cached) $ECHO_C" >&6
37622 else
37623
37624 cat >conftest.$ac_ext <<_ACEOF
37625
37626 /* confdefs.h. */
37627 _ACEOF
37628 cat confdefs.h >>conftest.$ac_ext
37629 cat >>conftest.$ac_ext <<_ACEOF
37630 /* end confdefs.h. */
37631
37632
37633 $ac_includes_default
37634
37635 int
37636 main ()
37637 {
37638
37639 #ifndef $wx_func
37640 &$wx_func;
37641 #endif
37642
37643
37644 ;
37645 return 0;
37646 }
37647
37648 _ACEOF
37649 rm -f conftest.$ac_objext conftest$ac_exeext
37650 if { (ac_try="$ac_link"
37651 case "(($ac_try" in
37652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37653 *) ac_try_echo=$ac_try;;
37654 esac
37655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37656 (eval "$ac_link") 2>conftest.er1
37657 ac_status=$?
37658 grep -v '^ *+' conftest.er1 >conftest.err
37659 rm -f conftest.er1
37660 cat conftest.err >&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); } && {
37663 test -z "$ac_c_werror_flag" ||
37664 test ! -s conftest.err
37665 } && test -s conftest$ac_exeext &&
37666 $as_test_x conftest$ac_exeext; then
37667 eval wx_cv_func_$wx_func=yes
37668 else
37669 echo "$as_me: failed program was:" >&5
37670 sed 's/^/| /' conftest.$ac_ext >&5
37671
37672 eval wx_cv_func_$wx_func=no
37673 fi
37674
37675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37676 conftest$ac_exeext conftest.$ac_ext
37677
37678 fi
37679 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37680 { echo "$as_me:$LINENO: result: $ac_res" >&5
37681 echo "${ECHO_T}$ac_res" >&6; }
37682
37683 if eval test \$wx_cv_func_$wx_func = yes
37684 then
37685 cat >>confdefs.h <<_ACEOF
37686 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37687 _ACEOF
37688
37689
37690 else
37691 :
37692
37693 fi
37694 done
37695
37696 fi
37697
37698
37699 for wx_func in strtok_r
37700 do
37701 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37702 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37703 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37704 echo $ECHO_N "(cached) $ECHO_C" >&6
37705 else
37706
37707 cat >conftest.$ac_ext <<_ACEOF
37708
37709 /* confdefs.h. */
37710 _ACEOF
37711 cat confdefs.h >>conftest.$ac_ext
37712 cat >>conftest.$ac_ext <<_ACEOF
37713 /* end confdefs.h. */
37714
37715 #define _REENTRANT
37716 $ac_includes_default
37717
37718 int
37719 main ()
37720 {
37721
37722 #ifndef $wx_func
37723 &$wx_func;
37724 #endif
37725
37726
37727 ;
37728 return 0;
37729 }
37730
37731 _ACEOF
37732 rm -f conftest.$ac_objext conftest$ac_exeext
37733 if { (ac_try="$ac_link"
37734 case "(($ac_try" in
37735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37736 *) ac_try_echo=$ac_try;;
37737 esac
37738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37739 (eval "$ac_link") 2>conftest.er1
37740 ac_status=$?
37741 grep -v '^ *+' conftest.er1 >conftest.err
37742 rm -f conftest.er1
37743 cat conftest.err >&5
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); } && {
37746 test -z "$ac_c_werror_flag" ||
37747 test ! -s conftest.err
37748 } && test -s conftest$ac_exeext &&
37749 $as_test_x conftest$ac_exeext; then
37750 eval wx_cv_func_$wx_func=yes
37751 else
37752 echo "$as_me: failed program was:" >&5
37753 sed 's/^/| /' conftest.$ac_ext >&5
37754
37755 eval wx_cv_func_$wx_func=no
37756 fi
37757
37758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37759 conftest$ac_exeext conftest.$ac_ext
37760
37761 fi
37762 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37763 { echo "$as_me:$LINENO: result: $ac_res" >&5
37764 echo "${ECHO_T}$ac_res" >&6; }
37765
37766 if eval test \$wx_cv_func_$wx_func = yes
37767 then
37768 cat >>confdefs.h <<_ACEOF
37769 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37770 _ACEOF
37771
37772
37773 else
37774 :
37775
37776 fi
37777 done
37778
37779
37780 INET_LINK=
37781
37782 for ac_func in inet_addr
37783 do
37784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37785 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37787 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37788 echo $ECHO_N "(cached) $ECHO_C" >&6
37789 else
37790 cat >conftest.$ac_ext <<_ACEOF
37791 /* confdefs.h. */
37792 _ACEOF
37793 cat confdefs.h >>conftest.$ac_ext
37794 cat >>conftest.$ac_ext <<_ACEOF
37795 /* end confdefs.h. */
37796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37798 #define $ac_func innocuous_$ac_func
37799
37800 /* System header to define __stub macros and hopefully few prototypes,
37801 which can conflict with char $ac_func (); below.
37802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37803 <limits.h> exists even on freestanding compilers. */
37804
37805 #ifdef __STDC__
37806 # include <limits.h>
37807 #else
37808 # include <assert.h>
37809 #endif
37810
37811 #undef $ac_func
37812
37813 /* Override any GCC internal prototype to avoid an error.
37814 Use char because int might match the return type of a GCC
37815 builtin and then its argument prototype would still apply. */
37816 #ifdef __cplusplus
37817 extern "C"
37818 #endif
37819 char $ac_func ();
37820 /* The GNU C library defines this for functions which it implements
37821 to always fail with ENOSYS. Some functions are actually named
37822 something starting with __ and the normal name is an alias. */
37823 #if defined __stub_$ac_func || defined __stub___$ac_func
37824 choke me
37825 #endif
37826
37827 int
37828 main ()
37829 {
37830 return $ac_func ();
37831 ;
37832 return 0;
37833 }
37834 _ACEOF
37835 rm -f conftest.$ac_objext conftest$ac_exeext
37836 if { (ac_try="$ac_link"
37837 case "(($ac_try" in
37838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37839 *) ac_try_echo=$ac_try;;
37840 esac
37841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37842 (eval "$ac_link") 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } && {
37849 test -z "$ac_c_werror_flag" ||
37850 test ! -s conftest.err
37851 } && test -s conftest$ac_exeext &&
37852 $as_test_x conftest$ac_exeext; then
37853 eval "$as_ac_var=yes"
37854 else
37855 echo "$as_me: failed program was:" >&5
37856 sed 's/^/| /' conftest.$ac_ext >&5
37857
37858 eval "$as_ac_var=no"
37859 fi
37860
37861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37862 conftest$ac_exeext conftest.$ac_ext
37863 fi
37864 ac_res=`eval echo '${'$as_ac_var'}'`
37865 { echo "$as_me:$LINENO: result: $ac_res" >&5
37866 echo "${ECHO_T}$ac_res" >&6; }
37867 if test `eval echo '${'$as_ac_var'}'` = yes; then
37868 cat >>confdefs.h <<_ACEOF
37869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37870 _ACEOF
37871 cat >>confdefs.h <<\_ACEOF
37872 #define HAVE_INET_ADDR 1
37873 _ACEOF
37874
37875 else
37876
37877 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37878 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37879 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37880 echo $ECHO_N "(cached) $ECHO_C" >&6
37881 else
37882 ac_check_lib_save_LIBS=$LIBS
37883 LIBS="-lnsl $LIBS"
37884 cat >conftest.$ac_ext <<_ACEOF
37885 /* confdefs.h. */
37886 _ACEOF
37887 cat confdefs.h >>conftest.$ac_ext
37888 cat >>conftest.$ac_ext <<_ACEOF
37889 /* end confdefs.h. */
37890
37891 /* Override any GCC internal prototype to avoid an error.
37892 Use char because int might match the return type of a GCC
37893 builtin and then its argument prototype would still apply. */
37894 #ifdef __cplusplus
37895 extern "C"
37896 #endif
37897 char inet_addr ();
37898 int
37899 main ()
37900 {
37901 return inet_addr ();
37902 ;
37903 return 0;
37904 }
37905 _ACEOF
37906 rm -f conftest.$ac_objext conftest$ac_exeext
37907 if { (ac_try="$ac_link"
37908 case "(($ac_try" in
37909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37910 *) ac_try_echo=$ac_try;;
37911 esac
37912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37913 (eval "$ac_link") 2>conftest.er1
37914 ac_status=$?
37915 grep -v '^ *+' conftest.er1 >conftest.err
37916 rm -f conftest.er1
37917 cat conftest.err >&5
37918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37919 (exit $ac_status); } && {
37920 test -z "$ac_c_werror_flag" ||
37921 test ! -s conftest.err
37922 } && test -s conftest$ac_exeext &&
37923 $as_test_x conftest$ac_exeext; then
37924 ac_cv_lib_nsl_inet_addr=yes
37925 else
37926 echo "$as_me: failed program was:" >&5
37927 sed 's/^/| /' conftest.$ac_ext >&5
37928
37929 ac_cv_lib_nsl_inet_addr=no
37930 fi
37931
37932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37933 conftest$ac_exeext conftest.$ac_ext
37934 LIBS=$ac_check_lib_save_LIBS
37935 fi
37936 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37937 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37938 if test $ac_cv_lib_nsl_inet_addr = yes; then
37939 INET_LINK="nsl"
37940 else
37941
37942 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37943 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37944 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37945 echo $ECHO_N "(cached) $ECHO_C" >&6
37946 else
37947 ac_check_lib_save_LIBS=$LIBS
37948 LIBS="-lresolv $LIBS"
37949 cat >conftest.$ac_ext <<_ACEOF
37950 /* confdefs.h. */
37951 _ACEOF
37952 cat confdefs.h >>conftest.$ac_ext
37953 cat >>conftest.$ac_ext <<_ACEOF
37954 /* end confdefs.h. */
37955
37956 /* Override any GCC internal prototype to avoid an error.
37957 Use char because int might match the return type of a GCC
37958 builtin and then its argument prototype would still apply. */
37959 #ifdef __cplusplus
37960 extern "C"
37961 #endif
37962 char inet_addr ();
37963 int
37964 main ()
37965 {
37966 return inet_addr ();
37967 ;
37968 return 0;
37969 }
37970 _ACEOF
37971 rm -f conftest.$ac_objext conftest$ac_exeext
37972 if { (ac_try="$ac_link"
37973 case "(($ac_try" in
37974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37975 *) ac_try_echo=$ac_try;;
37976 esac
37977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37978 (eval "$ac_link") 2>conftest.er1
37979 ac_status=$?
37980 grep -v '^ *+' conftest.er1 >conftest.err
37981 rm -f conftest.er1
37982 cat conftest.err >&5
37983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37984 (exit $ac_status); } && {
37985 test -z "$ac_c_werror_flag" ||
37986 test ! -s conftest.err
37987 } && test -s conftest$ac_exeext &&
37988 $as_test_x conftest$ac_exeext; then
37989 ac_cv_lib_resolv_inet_addr=yes
37990 else
37991 echo "$as_me: failed program was:" >&5
37992 sed 's/^/| /' conftest.$ac_ext >&5
37993
37994 ac_cv_lib_resolv_inet_addr=no
37995 fi
37996
37997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37998 conftest$ac_exeext conftest.$ac_ext
37999 LIBS=$ac_check_lib_save_LIBS
38000 fi
38001 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38002 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38003 if test $ac_cv_lib_resolv_inet_addr = yes; then
38004 INET_LINK="resolv"
38005 else
38006
38007 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38008 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38009 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38010 echo $ECHO_N "(cached) $ECHO_C" >&6
38011 else
38012 ac_check_lib_save_LIBS=$LIBS
38013 LIBS="-lsocket $LIBS"
38014 cat >conftest.$ac_ext <<_ACEOF
38015 /* confdefs.h. */
38016 _ACEOF
38017 cat confdefs.h >>conftest.$ac_ext
38018 cat >>conftest.$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38020
38021 /* Override any GCC internal prototype to avoid an error.
38022 Use char because int might match the return type of a GCC
38023 builtin and then its argument prototype would still apply. */
38024 #ifdef __cplusplus
38025 extern "C"
38026 #endif
38027 char inet_addr ();
38028 int
38029 main ()
38030 {
38031 return inet_addr ();
38032 ;
38033 return 0;
38034 }
38035 _ACEOF
38036 rm -f conftest.$ac_objext conftest$ac_exeext
38037 if { (ac_try="$ac_link"
38038 case "(($ac_try" in
38039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38040 *) ac_try_echo=$ac_try;;
38041 esac
38042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38043 (eval "$ac_link") 2>conftest.er1
38044 ac_status=$?
38045 grep -v '^ *+' conftest.er1 >conftest.err
38046 rm -f conftest.er1
38047 cat conftest.err >&5
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); } && {
38050 test -z "$ac_c_werror_flag" ||
38051 test ! -s conftest.err
38052 } && test -s conftest$ac_exeext &&
38053 $as_test_x conftest$ac_exeext; then
38054 ac_cv_lib_socket_inet_addr=yes
38055 else
38056 echo "$as_me: failed program was:" >&5
38057 sed 's/^/| /' conftest.$ac_ext >&5
38058
38059 ac_cv_lib_socket_inet_addr=no
38060 fi
38061
38062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38063 conftest$ac_exeext conftest.$ac_ext
38064 LIBS=$ac_check_lib_save_LIBS
38065 fi
38066 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38067 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38068 if test $ac_cv_lib_socket_inet_addr = yes; then
38069 INET_LINK="socket"
38070
38071 fi
38072
38073
38074
38075 fi
38076
38077
38078
38079 fi
38080
38081
38082
38083 fi
38084 done
38085
38086
38087
38088 for ac_func in inet_aton
38089 do
38090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38091 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38093 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38094 echo $ECHO_N "(cached) $ECHO_C" >&6
38095 else
38096 cat >conftest.$ac_ext <<_ACEOF
38097 /* confdefs.h. */
38098 _ACEOF
38099 cat confdefs.h >>conftest.$ac_ext
38100 cat >>conftest.$ac_ext <<_ACEOF
38101 /* end confdefs.h. */
38102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38104 #define $ac_func innocuous_$ac_func
38105
38106 /* System header to define __stub macros and hopefully few prototypes,
38107 which can conflict with char $ac_func (); below.
38108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38109 <limits.h> exists even on freestanding compilers. */
38110
38111 #ifdef __STDC__
38112 # include <limits.h>
38113 #else
38114 # include <assert.h>
38115 #endif
38116
38117 #undef $ac_func
38118
38119 /* Override any GCC internal prototype to avoid an error.
38120 Use char because int might match the return type of a GCC
38121 builtin and then its argument prototype would still apply. */
38122 #ifdef __cplusplus
38123 extern "C"
38124 #endif
38125 char $ac_func ();
38126 /* The GNU C library defines this for functions which it implements
38127 to always fail with ENOSYS. Some functions are actually named
38128 something starting with __ and the normal name is an alias. */
38129 #if defined __stub_$ac_func || defined __stub___$ac_func
38130 choke me
38131 #endif
38132
38133 int
38134 main ()
38135 {
38136 return $ac_func ();
38137 ;
38138 return 0;
38139 }
38140 _ACEOF
38141 rm -f conftest.$ac_objext conftest$ac_exeext
38142 if { (ac_try="$ac_link"
38143 case "(($ac_try" in
38144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38145 *) ac_try_echo=$ac_try;;
38146 esac
38147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38148 (eval "$ac_link") 2>conftest.er1
38149 ac_status=$?
38150 grep -v '^ *+' conftest.er1 >conftest.err
38151 rm -f conftest.er1
38152 cat conftest.err >&5
38153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38154 (exit $ac_status); } && {
38155 test -z "$ac_c_werror_flag" ||
38156 test ! -s conftest.err
38157 } && test -s conftest$ac_exeext &&
38158 $as_test_x conftest$ac_exeext; then
38159 eval "$as_ac_var=yes"
38160 else
38161 echo "$as_me: failed program was:" >&5
38162 sed 's/^/| /' conftest.$ac_ext >&5
38163
38164 eval "$as_ac_var=no"
38165 fi
38166
38167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38168 conftest$ac_exeext conftest.$ac_ext
38169 fi
38170 ac_res=`eval echo '${'$as_ac_var'}'`
38171 { echo "$as_me:$LINENO: result: $ac_res" >&5
38172 echo "${ECHO_T}$ac_res" >&6; }
38173 if test `eval echo '${'$as_ac_var'}'` = yes; then
38174 cat >>confdefs.h <<_ACEOF
38175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38176 _ACEOF
38177 cat >>confdefs.h <<\_ACEOF
38178 #define HAVE_INET_ATON 1
38179 _ACEOF
38180
38181 else
38182
38183 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38184 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38185 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38186 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38187 echo $ECHO_N "(cached) $ECHO_C" >&6
38188 else
38189 ac_check_lib_save_LIBS=$LIBS
38190 LIBS="-l$INET_LINK $LIBS"
38191 cat >conftest.$ac_ext <<_ACEOF
38192 /* confdefs.h. */
38193 _ACEOF
38194 cat confdefs.h >>conftest.$ac_ext
38195 cat >>conftest.$ac_ext <<_ACEOF
38196 /* end confdefs.h. */
38197
38198 /* Override any GCC internal prototype to avoid an error.
38199 Use char because int might match the return type of a GCC
38200 builtin and then its argument prototype would still apply. */
38201 #ifdef __cplusplus
38202 extern "C"
38203 #endif
38204 char inet_aton ();
38205 int
38206 main ()
38207 {
38208 return inet_aton ();
38209 ;
38210 return 0;
38211 }
38212 _ACEOF
38213 rm -f conftest.$ac_objext conftest$ac_exeext
38214 if { (ac_try="$ac_link"
38215 case "(($ac_try" in
38216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38217 *) ac_try_echo=$ac_try;;
38218 esac
38219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38220 (eval "$ac_link") 2>conftest.er1
38221 ac_status=$?
38222 grep -v '^ *+' conftest.er1 >conftest.err
38223 rm -f conftest.er1
38224 cat conftest.err >&5
38225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226 (exit $ac_status); } && {
38227 test -z "$ac_c_werror_flag" ||
38228 test ! -s conftest.err
38229 } && test -s conftest$ac_exeext &&
38230 $as_test_x conftest$ac_exeext; then
38231 eval "$as_ac_Lib=yes"
38232 else
38233 echo "$as_me: failed program was:" >&5
38234 sed 's/^/| /' conftest.$ac_ext >&5
38235
38236 eval "$as_ac_Lib=no"
38237 fi
38238
38239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38240 conftest$ac_exeext conftest.$ac_ext
38241 LIBS=$ac_check_lib_save_LIBS
38242 fi
38243 ac_res=`eval echo '${'$as_ac_Lib'}'`
38244 { echo "$as_me:$LINENO: result: $ac_res" >&5
38245 echo "${ECHO_T}$ac_res" >&6; }
38246 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38247 cat >>confdefs.h <<\_ACEOF
38248 #define HAVE_INET_ATON 1
38249 _ACEOF
38250
38251 fi
38252
38253
38254 fi
38255 done
38256
38257
38258 if test "x$INET_LINK" != "x"; then
38259 cat >>confdefs.h <<\_ACEOF
38260 #define HAVE_INET_ADDR 1
38261 _ACEOF
38262
38263 INET_LINK=" -l$INET_LINK"
38264 fi
38265
38266
38267 for wx_func in fdopen
38268 do
38269 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38270 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38271 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38272 echo $ECHO_N "(cached) $ECHO_C" >&6
38273 else
38274
38275 cat >conftest.$ac_ext <<_ACEOF
38276
38277 /* confdefs.h. */
38278 _ACEOF
38279 cat confdefs.h >>conftest.$ac_ext
38280 cat >>conftest.$ac_ext <<_ACEOF
38281 /* end confdefs.h. */
38282
38283
38284 $ac_includes_default
38285
38286 int
38287 main ()
38288 {
38289
38290 #ifndef $wx_func
38291 &$wx_func;
38292 #endif
38293
38294
38295 ;
38296 return 0;
38297 }
38298
38299 _ACEOF
38300 rm -f conftest.$ac_objext conftest$ac_exeext
38301 if { (ac_try="$ac_link"
38302 case "(($ac_try" in
38303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38304 *) ac_try_echo=$ac_try;;
38305 esac
38306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38307 (eval "$ac_link") 2>conftest.er1
38308 ac_status=$?
38309 grep -v '^ *+' conftest.er1 >conftest.err
38310 rm -f conftest.er1
38311 cat conftest.err >&5
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); } && {
38314 test -z "$ac_c_werror_flag" ||
38315 test ! -s conftest.err
38316 } && test -s conftest$ac_exeext &&
38317 $as_test_x conftest$ac_exeext; then
38318 eval wx_cv_func_$wx_func=yes
38319 else
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38322
38323 eval wx_cv_func_$wx_func=no
38324 fi
38325
38326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38327 conftest$ac_exeext conftest.$ac_ext
38328
38329 fi
38330 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38331 { echo "$as_me:$LINENO: result: $ac_res" >&5
38332 echo "${ECHO_T}$ac_res" >&6; }
38333
38334 if eval test \$wx_cv_func_$wx_func = yes
38335 then
38336 cat >>confdefs.h <<_ACEOF
38337 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38338 _ACEOF
38339
38340
38341 else
38342 :
38343
38344 fi
38345 done
38346
38347
38348 fi
38349
38350
38351
38352 cat >confcache <<\_ACEOF
38353 # This file is a shell script that caches the results of configure
38354 # tests run on this system so they can be shared between configure
38355 # scripts and configure runs, see configure's option --config-cache.
38356 # It is not useful on other systems. If it contains results you don't
38357 # want to keep, you may remove or edit it.
38358 #
38359 # config.status only pays attention to the cache file if you give it
38360 # the --recheck option to rerun configure.
38361 #
38362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38364 # following values.
38365
38366 _ACEOF
38367
38368 # The following way of writing the cache mishandles newlines in values,
38369 # but we know of no workaround that is simple, portable, and efficient.
38370 # So, we kill variables containing newlines.
38371 # Ultrix sh set writes to stderr and can't be redirected directly,
38372 # and sets the high bit in the cache file unless we assign to the vars.
38373 (
38374 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38375 eval ac_val=\$$ac_var
38376 case $ac_val in #(
38377 *${as_nl}*)
38378 case $ac_var in #(
38379 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38380 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38381 esac
38382 case $ac_var in #(
38383 _ | IFS | as_nl) ;; #(
38384 *) $as_unset $ac_var ;;
38385 esac ;;
38386 esac
38387 done
38388
38389 (set) 2>&1 |
38390 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38391 *${as_nl}ac_space=\ *)
38392 # `set' does not quote correctly, so add quotes (double-quote
38393 # substitution turns \\\\ into \\, and sed turns \\ into \).
38394 sed -n \
38395 "s/'/'\\\\''/g;
38396 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38397 ;; #(
38398 *)
38399 # `set' quotes correctly as required by POSIX, so do not add quotes.
38400 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38401 ;;
38402 esac |
38403 sort
38404 ) |
38405 sed '
38406 /^ac_cv_env_/b end
38407 t clear
38408 :clear
38409 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38410 t end
38411 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38412 :end' >>confcache
38413 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38414 if test -w "$cache_file"; then
38415 test "x$cache_file" != "x/dev/null" &&
38416 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38417 echo "$as_me: updating cache $cache_file" >&6;}
38418 cat confcache >$cache_file
38419 else
38420 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38421 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38422 fi
38423 fi
38424 rm -f confcache
38425
38426
38427 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38428
38429
38430 THREADS_LINK=
38431 THREADS_CFLAGS=
38432
38433 if test "$wxUSE_THREADS" = "yes" ; then
38434 if test "$USE_BEOS" = 1; then
38435 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38436 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38437 wxUSE_THREADS="no"
38438 fi
38439 fi
38440
38441 if test "$wxUSE_THREADS" = "yes" ; then
38442
38443
38444 THREAD_OPTS="-pthread"
38445 if test "x$SUNCXX" = xyes; then
38446 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38447 fi
38448
38449 case "${host}" in
38450 *-*-solaris2* | *-*-sunos4* )
38451 if test "x$GCC" = "xyes"; then
38452 THREAD_OPTS="-pthreads $THREAD_OPTS"
38453 fi
38454 ;;
38455 *-*-freebsd*)
38456 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38457 ;;
38458 *-*-darwin* | *-*-cygwin* )
38459 THREAD_OPTS=""
38460 ;;
38461 *-*-aix*)
38462 THREAD_OPTS="pthreads"
38463 ;;
38464 *-hp-hpux* )
38465 if test "x$GCC" = "xyes"; then
38466 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38467 THREAD_OPTS=""
38468 else
38469 THREAD_OPTS="-mt"
38470 fi
38471 ;;
38472
38473 *-*-irix* )
38474 if test "x$GCC" = "xyes"; then
38475 THREAD_OPTS=""
38476 fi
38477 ;;
38478
38479 *-*-*UnixWare*)
38480 if test "x$GCC" != "xyes"; then
38481 THREAD_OPTS="-Ethread"
38482 fi
38483 ;;
38484 esac
38485
38486 THREAD_OPTS="$THREAD_OPTS pthread none"
38487
38488 THREADS_OK=no
38489 for flag in $THREAD_OPTS; do
38490 case $flag in
38491 none)
38492 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38493 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38494 ;;
38495
38496 -*)
38497 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38498 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38499 THREADS_CFLAGS="$flag"
38500 ;;
38501
38502 *)
38503 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38504 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38505 THREADS_LINK="-l$flag"
38506 ;;
38507 esac
38508
38509 save_LIBS="$LIBS"
38510 save_CFLAGS="$CFLAGS"
38511 LIBS="$THREADS_LINK $LIBS"
38512 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38513
38514 cat >conftest.$ac_ext <<_ACEOF
38515 /* confdefs.h. */
38516 _ACEOF
38517 cat confdefs.h >>conftest.$ac_ext
38518 cat >>conftest.$ac_ext <<_ACEOF
38519 /* end confdefs.h. */
38520 #include <pthread.h>
38521 int
38522 main ()
38523 {
38524 pthread_create(0,0,0,0);
38525 ;
38526 return 0;
38527 }
38528 _ACEOF
38529 rm -f conftest.$ac_objext conftest$ac_exeext
38530 if { (ac_try="$ac_link"
38531 case "(($ac_try" in
38532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38533 *) ac_try_echo=$ac_try;;
38534 esac
38535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38536 (eval "$ac_link") 2>conftest.er1
38537 ac_status=$?
38538 grep -v '^ *+' conftest.er1 >conftest.err
38539 rm -f conftest.er1
38540 cat conftest.err >&5
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); } && {
38543 test -z "$ac_c_werror_flag" ||
38544 test ! -s conftest.err
38545 } && test -s conftest$ac_exeext &&
38546 $as_test_x conftest$ac_exeext; then
38547 THREADS_OK=yes
38548 else
38549 echo "$as_me: failed program was:" >&5
38550 sed 's/^/| /' conftest.$ac_ext >&5
38551
38552
38553 fi
38554
38555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38556 conftest$ac_exeext conftest.$ac_ext
38557
38558 LIBS="$save_LIBS"
38559 CFLAGS="$save_CFLAGS"
38560
38561 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38562 echo "${ECHO_T}$THREADS_OK" >&6; }
38563 if test "x$THREADS_OK" = "xyes"; then
38564 break;
38565 fi
38566
38567 THREADS_LINK=""
38568 THREADS_CFLAGS=""
38569 done
38570
38571 if test "x$THREADS_OK" != "xyes"; then
38572 wxUSE_THREADS=no
38573 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38574 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38575 else
38576 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38577 LIBS="$THREADS_LINK $LIBS"
38578
38579 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38580 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38581 flag=no
38582 case "${host}" in
38583 *-aix*)
38584 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38585 flag="-D_THREAD_SAFE"
38586 ;;
38587 *-freebsd*)
38588 flag="-D_THREAD_SAFE"
38589 ;;
38590 *-hp-hpux* )
38591 flag="-D_REENTRANT"
38592 if test "x$GCC" != "xyes"; then
38593 flag="$flag -D_RWSTD_MULTI_THREAD"
38594 fi
38595 ;;
38596 *solaris* | alpha*-osf*)
38597 flag="-D_REENTRANT"
38598 ;;
38599 esac
38600 { echo "$as_me:$LINENO: result: ${flag}" >&5
38601 echo "${ECHO_T}${flag}" >&6; }
38602 if test "x$flag" != xno; then
38603 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38604 fi
38605
38606 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38607 fi
38608 fi
38609
38610 if test "$wxUSE_THREADS" = "yes" ; then
38611
38612 for ac_func in thr_setconcurrency
38613 do
38614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38615 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38617 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38618 echo $ECHO_N "(cached) $ECHO_C" >&6
38619 else
38620 cat >conftest.$ac_ext <<_ACEOF
38621 /* confdefs.h. */
38622 _ACEOF
38623 cat confdefs.h >>conftest.$ac_ext
38624 cat >>conftest.$ac_ext <<_ACEOF
38625 /* end confdefs.h. */
38626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38628 #define $ac_func innocuous_$ac_func
38629
38630 /* System header to define __stub macros and hopefully few prototypes,
38631 which can conflict with char $ac_func (); below.
38632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38633 <limits.h> exists even on freestanding compilers. */
38634
38635 #ifdef __STDC__
38636 # include <limits.h>
38637 #else
38638 # include <assert.h>
38639 #endif
38640
38641 #undef $ac_func
38642
38643 /* Override any GCC internal prototype to avoid an error.
38644 Use char because int might match the return type of a GCC
38645 builtin and then its argument prototype would still apply. */
38646 #ifdef __cplusplus
38647 extern "C"
38648 #endif
38649 char $ac_func ();
38650 /* The GNU C library defines this for functions which it implements
38651 to always fail with ENOSYS. Some functions are actually named
38652 something starting with __ and the normal name is an alias. */
38653 #if defined __stub_$ac_func || defined __stub___$ac_func
38654 choke me
38655 #endif
38656
38657 int
38658 main ()
38659 {
38660 return $ac_func ();
38661 ;
38662 return 0;
38663 }
38664 _ACEOF
38665 rm -f conftest.$ac_objext conftest$ac_exeext
38666 if { (ac_try="$ac_link"
38667 case "(($ac_try" in
38668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38669 *) ac_try_echo=$ac_try;;
38670 esac
38671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38672 (eval "$ac_link") 2>conftest.er1
38673 ac_status=$?
38674 grep -v '^ *+' conftest.er1 >conftest.err
38675 rm -f conftest.er1
38676 cat conftest.err >&5
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); } && {
38679 test -z "$ac_c_werror_flag" ||
38680 test ! -s conftest.err
38681 } && test -s conftest$ac_exeext &&
38682 $as_test_x conftest$ac_exeext; then
38683 eval "$as_ac_var=yes"
38684 else
38685 echo "$as_me: failed program was:" >&5
38686 sed 's/^/| /' conftest.$ac_ext >&5
38687
38688 eval "$as_ac_var=no"
38689 fi
38690
38691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38692 conftest$ac_exeext conftest.$ac_ext
38693 fi
38694 ac_res=`eval echo '${'$as_ac_var'}'`
38695 { echo "$as_me:$LINENO: result: $ac_res" >&5
38696 echo "${ECHO_T}$ac_res" >&6; }
38697 if test `eval echo '${'$as_ac_var'}'` = yes; then
38698 cat >>confdefs.h <<_ACEOF
38699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38700 _ACEOF
38701
38702 fi
38703 done
38704
38705
38706 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38707 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38708 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38709 echo $ECHO_N "(cached) $ECHO_C" >&6
38710 else
38711
38712 ac_ext=cpp
38713 ac_cpp='$CXXCPP $CPPFLAGS'
38714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38717
38718 cat >conftest.$ac_ext <<_ACEOF
38719 /* confdefs.h. */
38720 _ACEOF
38721 cat confdefs.h >>conftest.$ac_ext
38722 cat >>conftest.$ac_ext <<_ACEOF
38723 /* end confdefs.h. */
38724 #include <pthread.h>
38725 void ThreadCleanupFunc(void *p);
38726
38727 int
38728 main ()
38729 {
38730
38731 void *p;
38732 pthread_cleanup_push(ThreadCleanupFunc, p);
38733 pthread_cleanup_pop(0);
38734
38735 ;
38736 return 0;
38737 }
38738 _ACEOF
38739 rm -f conftest.$ac_objext
38740 if { (ac_try="$ac_compile"
38741 case "(($ac_try" in
38742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38743 *) ac_try_echo=$ac_try;;
38744 esac
38745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38746 (eval "$ac_compile") 2>conftest.er1
38747 ac_status=$?
38748 grep -v '^ *+' conftest.er1 >conftest.err
38749 rm -f conftest.er1
38750 cat conftest.err >&5
38751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38752 (exit $ac_status); } && {
38753 test -z "$ac_cxx_werror_flag" ||
38754 test ! -s conftest.err
38755 } && test -s conftest.$ac_objext; then
38756
38757 wx_cv_func_pthread_cleanup=yes
38758
38759 else
38760 echo "$as_me: failed program was:" >&5
38761 sed 's/^/| /' conftest.$ac_ext >&5
38762
38763
38764 wx_cv_func_pthread_cleanup=no
38765
38766
38767 fi
38768
38769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38770 ac_ext=c
38771 ac_cpp='$CPP $CPPFLAGS'
38772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38775
38776
38777 fi
38778 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38779 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38780 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38781 cat >>confdefs.h <<\_ACEOF
38782 #define wxHAVE_PTHREAD_CLEANUP 1
38783 _ACEOF
38784
38785 fi
38786
38787 { echo "$as_me:$LINENO: checking for sched.h" >&5
38788 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38789 if test "${ac_cv_header_sched_h+set}" = set; then
38790 echo $ECHO_N "(cached) $ECHO_C" >&6
38791 else
38792 cat >conftest.$ac_ext <<_ACEOF
38793 /* confdefs.h. */
38794 _ACEOF
38795 cat confdefs.h >>conftest.$ac_ext
38796 cat >>conftest.$ac_ext <<_ACEOF
38797 /* end confdefs.h. */
38798 $ac_includes_default
38799
38800 #include <sched.h>
38801 _ACEOF
38802 rm -f conftest.$ac_objext
38803 if { (ac_try="$ac_compile"
38804 case "(($ac_try" in
38805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38806 *) ac_try_echo=$ac_try;;
38807 esac
38808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38809 (eval "$ac_compile") 2>conftest.er1
38810 ac_status=$?
38811 grep -v '^ *+' conftest.er1 >conftest.err
38812 rm -f conftest.er1
38813 cat conftest.err >&5
38814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38815 (exit $ac_status); } && {
38816 test -z "$ac_c_werror_flag" ||
38817 test ! -s conftest.err
38818 } && test -s conftest.$ac_objext; then
38819 ac_cv_header_sched_h=yes
38820 else
38821 echo "$as_me: failed program was:" >&5
38822 sed 's/^/| /' conftest.$ac_ext >&5
38823
38824 ac_cv_header_sched_h=no
38825 fi
38826
38827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38828 fi
38829 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38830 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38831
38832
38833 if test "$ac_cv_header_sched_h" = "yes"; then
38834 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38835 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38836 if test "${ac_cv_func_sched_yield+set}" = set; then
38837 echo $ECHO_N "(cached) $ECHO_C" >&6
38838 else
38839 cat >conftest.$ac_ext <<_ACEOF
38840 /* confdefs.h. */
38841 _ACEOF
38842 cat confdefs.h >>conftest.$ac_ext
38843 cat >>conftest.$ac_ext <<_ACEOF
38844 /* end confdefs.h. */
38845 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38847 #define sched_yield innocuous_sched_yield
38848
38849 /* System header to define __stub macros and hopefully few prototypes,
38850 which can conflict with char sched_yield (); below.
38851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38852 <limits.h> exists even on freestanding compilers. */
38853
38854 #ifdef __STDC__
38855 # include <limits.h>
38856 #else
38857 # include <assert.h>
38858 #endif
38859
38860 #undef sched_yield
38861
38862 /* Override any GCC internal prototype to avoid an error.
38863 Use char because int might match the return type of a GCC
38864 builtin and then its argument prototype would still apply. */
38865 #ifdef __cplusplus
38866 extern "C"
38867 #endif
38868 char sched_yield ();
38869 /* The GNU C library defines this for functions which it implements
38870 to always fail with ENOSYS. Some functions are actually named
38871 something starting with __ and the normal name is an alias. */
38872 #if defined __stub_sched_yield || defined __stub___sched_yield
38873 choke me
38874 #endif
38875
38876 int
38877 main ()
38878 {
38879 return sched_yield ();
38880 ;
38881 return 0;
38882 }
38883 _ACEOF
38884 rm -f conftest.$ac_objext conftest$ac_exeext
38885 if { (ac_try="$ac_link"
38886 case "(($ac_try" in
38887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38888 *) ac_try_echo=$ac_try;;
38889 esac
38890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38891 (eval "$ac_link") 2>conftest.er1
38892 ac_status=$?
38893 grep -v '^ *+' conftest.er1 >conftest.err
38894 rm -f conftest.er1
38895 cat conftest.err >&5
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); } && {
38898 test -z "$ac_c_werror_flag" ||
38899 test ! -s conftest.err
38900 } && test -s conftest$ac_exeext &&
38901 $as_test_x conftest$ac_exeext; then
38902 ac_cv_func_sched_yield=yes
38903 else
38904 echo "$as_me: failed program was:" >&5
38905 sed 's/^/| /' conftest.$ac_ext >&5
38906
38907 ac_cv_func_sched_yield=no
38908 fi
38909
38910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38911 conftest$ac_exeext conftest.$ac_ext
38912 fi
38913 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38914 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38915 if test $ac_cv_func_sched_yield = yes; then
38916 cat >>confdefs.h <<\_ACEOF
38917 #define HAVE_SCHED_YIELD 1
38918 _ACEOF
38919
38920 else
38921
38922 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38923 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38924 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38925 echo $ECHO_N "(cached) $ECHO_C" >&6
38926 else
38927 ac_check_lib_save_LIBS=$LIBS
38928 LIBS="-lposix4 $LIBS"
38929 cat >conftest.$ac_ext <<_ACEOF
38930 /* confdefs.h. */
38931 _ACEOF
38932 cat confdefs.h >>conftest.$ac_ext
38933 cat >>conftest.$ac_ext <<_ACEOF
38934 /* end confdefs.h. */
38935
38936 /* Override any GCC internal prototype to avoid an error.
38937 Use char because int might match the return type of a GCC
38938 builtin and then its argument prototype would still apply. */
38939 #ifdef __cplusplus
38940 extern "C"
38941 #endif
38942 char sched_yield ();
38943 int
38944 main ()
38945 {
38946 return sched_yield ();
38947 ;
38948 return 0;
38949 }
38950 _ACEOF
38951 rm -f conftest.$ac_objext conftest$ac_exeext
38952 if { (ac_try="$ac_link"
38953 case "(($ac_try" in
38954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38955 *) ac_try_echo=$ac_try;;
38956 esac
38957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38958 (eval "$ac_link") 2>conftest.er1
38959 ac_status=$?
38960 grep -v '^ *+' conftest.er1 >conftest.err
38961 rm -f conftest.er1
38962 cat conftest.err >&5
38963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964 (exit $ac_status); } && {
38965 test -z "$ac_c_werror_flag" ||
38966 test ! -s conftest.err
38967 } && test -s conftest$ac_exeext &&
38968 $as_test_x conftest$ac_exeext; then
38969 ac_cv_lib_posix4_sched_yield=yes
38970 else
38971 echo "$as_me: failed program was:" >&5
38972 sed 's/^/| /' conftest.$ac_ext >&5
38973
38974 ac_cv_lib_posix4_sched_yield=no
38975 fi
38976
38977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38978 conftest$ac_exeext conftest.$ac_ext
38979 LIBS=$ac_check_lib_save_LIBS
38980 fi
38981 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38982 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38983 if test $ac_cv_lib_posix4_sched_yield = yes; then
38984 cat >>confdefs.h <<\_ACEOF
38985 #define HAVE_SCHED_YIELD 1
38986 _ACEOF
38987 POSIX4_LINK=" -lposix4"
38988 else
38989 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38990 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38991
38992 fi
38993
38994
38995
38996 fi
38997
38998 fi
38999
39000 HAVE_PRIOR_FUNCS=0
39001 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39002 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39003 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39004 echo $ECHO_N "(cached) $ECHO_C" >&6
39005 else
39006 cat >conftest.$ac_ext <<_ACEOF
39007 /* confdefs.h. */
39008 _ACEOF
39009 cat confdefs.h >>conftest.$ac_ext
39010 cat >>conftest.$ac_ext <<_ACEOF
39011 /* end confdefs.h. */
39012 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39014 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39015
39016 /* System header to define __stub macros and hopefully few prototypes,
39017 which can conflict with char pthread_attr_getschedpolicy (); below.
39018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39019 <limits.h> exists even on freestanding compilers. */
39020
39021 #ifdef __STDC__
39022 # include <limits.h>
39023 #else
39024 # include <assert.h>
39025 #endif
39026
39027 #undef pthread_attr_getschedpolicy
39028
39029 /* Override any GCC internal prototype to avoid an error.
39030 Use char because int might match the return type of a GCC
39031 builtin and then its argument prototype would still apply. */
39032 #ifdef __cplusplus
39033 extern "C"
39034 #endif
39035 char pthread_attr_getschedpolicy ();
39036 /* The GNU C library defines this for functions which it implements
39037 to always fail with ENOSYS. Some functions are actually named
39038 something starting with __ and the normal name is an alias. */
39039 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39040 choke me
39041 #endif
39042
39043 int
39044 main ()
39045 {
39046 return pthread_attr_getschedpolicy ();
39047 ;
39048 return 0;
39049 }
39050 _ACEOF
39051 rm -f conftest.$ac_objext conftest$ac_exeext
39052 if { (ac_try="$ac_link"
39053 case "(($ac_try" in
39054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39055 *) ac_try_echo=$ac_try;;
39056 esac
39057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39058 (eval "$ac_link") 2>conftest.er1
39059 ac_status=$?
39060 grep -v '^ *+' conftest.er1 >conftest.err
39061 rm -f conftest.er1
39062 cat conftest.err >&5
39063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39064 (exit $ac_status); } && {
39065 test -z "$ac_c_werror_flag" ||
39066 test ! -s conftest.err
39067 } && test -s conftest$ac_exeext &&
39068 $as_test_x conftest$ac_exeext; then
39069 ac_cv_func_pthread_attr_getschedpolicy=yes
39070 else
39071 echo "$as_me: failed program was:" >&5
39072 sed 's/^/| /' conftest.$ac_ext >&5
39073
39074 ac_cv_func_pthread_attr_getschedpolicy=no
39075 fi
39076
39077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39078 conftest$ac_exeext conftest.$ac_ext
39079 fi
39080 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39081 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39082 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39083 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39084 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39085 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39086 echo $ECHO_N "(cached) $ECHO_C" >&6
39087 else
39088 cat >conftest.$ac_ext <<_ACEOF
39089 /* confdefs.h. */
39090 _ACEOF
39091 cat confdefs.h >>conftest.$ac_ext
39092 cat >>conftest.$ac_ext <<_ACEOF
39093 /* end confdefs.h. */
39094 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39096 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39097
39098 /* System header to define __stub macros and hopefully few prototypes,
39099 which can conflict with char pthread_attr_setschedparam (); below.
39100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39101 <limits.h> exists even on freestanding compilers. */
39102
39103 #ifdef __STDC__
39104 # include <limits.h>
39105 #else
39106 # include <assert.h>
39107 #endif
39108
39109 #undef pthread_attr_setschedparam
39110
39111 /* Override any GCC internal prototype to avoid an error.
39112 Use char because int might match the return type of a GCC
39113 builtin and then its argument prototype would still apply. */
39114 #ifdef __cplusplus
39115 extern "C"
39116 #endif
39117 char pthread_attr_setschedparam ();
39118 /* The GNU C library defines this for functions which it implements
39119 to always fail with ENOSYS. Some functions are actually named
39120 something starting with __ and the normal name is an alias. */
39121 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39122 choke me
39123 #endif
39124
39125 int
39126 main ()
39127 {
39128 return pthread_attr_setschedparam ();
39129 ;
39130 return 0;
39131 }
39132 _ACEOF
39133 rm -f conftest.$ac_objext conftest$ac_exeext
39134 if { (ac_try="$ac_link"
39135 case "(($ac_try" in
39136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39137 *) ac_try_echo=$ac_try;;
39138 esac
39139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39140 (eval "$ac_link") 2>conftest.er1
39141 ac_status=$?
39142 grep -v '^ *+' conftest.er1 >conftest.err
39143 rm -f conftest.er1
39144 cat conftest.err >&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); } && {
39147 test -z "$ac_c_werror_flag" ||
39148 test ! -s conftest.err
39149 } && test -s conftest$ac_exeext &&
39150 $as_test_x conftest$ac_exeext; then
39151 ac_cv_func_pthread_attr_setschedparam=yes
39152 else
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.$ac_ext >&5
39155
39156 ac_cv_func_pthread_attr_setschedparam=no
39157 fi
39158
39159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39160 conftest$ac_exeext conftest.$ac_ext
39161 fi
39162 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39163 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39164 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39165 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39166 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39167 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39168 echo $ECHO_N "(cached) $ECHO_C" >&6
39169 else
39170 cat >conftest.$ac_ext <<_ACEOF
39171 /* confdefs.h. */
39172 _ACEOF
39173 cat confdefs.h >>conftest.$ac_ext
39174 cat >>conftest.$ac_ext <<_ACEOF
39175 /* end confdefs.h. */
39176 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39178 #define sched_get_priority_max innocuous_sched_get_priority_max
39179
39180 /* System header to define __stub macros and hopefully few prototypes,
39181 which can conflict with char sched_get_priority_max (); below.
39182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39183 <limits.h> exists even on freestanding compilers. */
39184
39185 #ifdef __STDC__
39186 # include <limits.h>
39187 #else
39188 # include <assert.h>
39189 #endif
39190
39191 #undef sched_get_priority_max
39192
39193 /* Override any GCC internal prototype to avoid an error.
39194 Use char because int might match the return type of a GCC
39195 builtin and then its argument prototype would still apply. */
39196 #ifdef __cplusplus
39197 extern "C"
39198 #endif
39199 char sched_get_priority_max ();
39200 /* The GNU C library defines this for functions which it implements
39201 to always fail with ENOSYS. Some functions are actually named
39202 something starting with __ and the normal name is an alias. */
39203 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39204 choke me
39205 #endif
39206
39207 int
39208 main ()
39209 {
39210 return sched_get_priority_max ();
39211 ;
39212 return 0;
39213 }
39214 _ACEOF
39215 rm -f conftest.$ac_objext conftest$ac_exeext
39216 if { (ac_try="$ac_link"
39217 case "(($ac_try" in
39218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39219 *) ac_try_echo=$ac_try;;
39220 esac
39221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39222 (eval "$ac_link") 2>conftest.er1
39223 ac_status=$?
39224 grep -v '^ *+' conftest.er1 >conftest.err
39225 rm -f conftest.er1
39226 cat conftest.err >&5
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); } && {
39229 test -z "$ac_c_werror_flag" ||
39230 test ! -s conftest.err
39231 } && test -s conftest$ac_exeext &&
39232 $as_test_x conftest$ac_exeext; then
39233 ac_cv_func_sched_get_priority_max=yes
39234 else
39235 echo "$as_me: failed program was:" >&5
39236 sed 's/^/| /' conftest.$ac_ext >&5
39237
39238 ac_cv_func_sched_get_priority_max=no
39239 fi
39240
39241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39242 conftest$ac_exeext conftest.$ac_ext
39243 fi
39244 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39245 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39246 if test $ac_cv_func_sched_get_priority_max = yes; then
39247 HAVE_PRIOR_FUNCS=1
39248 else
39249 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39250 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39251 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39252 echo $ECHO_N "(cached) $ECHO_C" >&6
39253 else
39254 ac_check_lib_save_LIBS=$LIBS
39255 LIBS="-lposix4 $LIBS"
39256 cat >conftest.$ac_ext <<_ACEOF
39257 /* confdefs.h. */
39258 _ACEOF
39259 cat confdefs.h >>conftest.$ac_ext
39260 cat >>conftest.$ac_ext <<_ACEOF
39261 /* end confdefs.h. */
39262
39263 /* Override any GCC internal prototype to avoid an error.
39264 Use char because int might match the return type of a GCC
39265 builtin and then its argument prototype would still apply. */
39266 #ifdef __cplusplus
39267 extern "C"
39268 #endif
39269 char sched_get_priority_max ();
39270 int
39271 main ()
39272 {
39273 return sched_get_priority_max ();
39274 ;
39275 return 0;
39276 }
39277 _ACEOF
39278 rm -f conftest.$ac_objext conftest$ac_exeext
39279 if { (ac_try="$ac_link"
39280 case "(($ac_try" in
39281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39282 *) ac_try_echo=$ac_try;;
39283 esac
39284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39285 (eval "$ac_link") 2>conftest.er1
39286 ac_status=$?
39287 grep -v '^ *+' conftest.er1 >conftest.err
39288 rm -f conftest.er1
39289 cat conftest.err >&5
39290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39291 (exit $ac_status); } && {
39292 test -z "$ac_c_werror_flag" ||
39293 test ! -s conftest.err
39294 } && test -s conftest$ac_exeext &&
39295 $as_test_x conftest$ac_exeext; then
39296 ac_cv_lib_posix4_sched_get_priority_max=yes
39297 else
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.$ac_ext >&5
39300
39301 ac_cv_lib_posix4_sched_get_priority_max=no
39302 fi
39303
39304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39305 conftest$ac_exeext conftest.$ac_ext
39306 LIBS=$ac_check_lib_save_LIBS
39307 fi
39308 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39309 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39310 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39311
39312 HAVE_PRIOR_FUNCS=1
39313 POSIX4_LINK=" -lposix4"
39314
39315 fi
39316
39317
39318 fi
39319
39320
39321 fi
39322
39323
39324 fi
39325
39326
39327 if test "$HAVE_PRIOR_FUNCS" = 1; then
39328 cat >>confdefs.h <<\_ACEOF
39329 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39330 _ACEOF
39331
39332 else
39333 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39334 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39335 fi
39336
39337 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39338 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39339 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39340 echo $ECHO_N "(cached) $ECHO_C" >&6
39341 else
39342 cat >conftest.$ac_ext <<_ACEOF
39343 /* confdefs.h. */
39344 _ACEOF
39345 cat confdefs.h >>conftest.$ac_ext
39346 cat >>conftest.$ac_ext <<_ACEOF
39347 /* end confdefs.h. */
39348 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39350 #define pthread_cancel innocuous_pthread_cancel
39351
39352 /* System header to define __stub macros and hopefully few prototypes,
39353 which can conflict with char pthread_cancel (); below.
39354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39355 <limits.h> exists even on freestanding compilers. */
39356
39357 #ifdef __STDC__
39358 # include <limits.h>
39359 #else
39360 # include <assert.h>
39361 #endif
39362
39363 #undef pthread_cancel
39364
39365 /* Override any GCC internal prototype to avoid an error.
39366 Use char because int might match the return type of a GCC
39367 builtin and then its argument prototype would still apply. */
39368 #ifdef __cplusplus
39369 extern "C"
39370 #endif
39371 char pthread_cancel ();
39372 /* The GNU C library defines this for functions which it implements
39373 to always fail with ENOSYS. Some functions are actually named
39374 something starting with __ and the normal name is an alias. */
39375 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39376 choke me
39377 #endif
39378
39379 int
39380 main ()
39381 {
39382 return pthread_cancel ();
39383 ;
39384 return 0;
39385 }
39386 _ACEOF
39387 rm -f conftest.$ac_objext conftest$ac_exeext
39388 if { (ac_try="$ac_link"
39389 case "(($ac_try" in
39390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39391 *) ac_try_echo=$ac_try;;
39392 esac
39393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39394 (eval "$ac_link") 2>conftest.er1
39395 ac_status=$?
39396 grep -v '^ *+' conftest.er1 >conftest.err
39397 rm -f conftest.er1
39398 cat conftest.err >&5
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); } && {
39401 test -z "$ac_c_werror_flag" ||
39402 test ! -s conftest.err
39403 } && test -s conftest$ac_exeext &&
39404 $as_test_x conftest$ac_exeext; then
39405 ac_cv_func_pthread_cancel=yes
39406 else
39407 echo "$as_me: failed program was:" >&5
39408 sed 's/^/| /' conftest.$ac_ext >&5
39409
39410 ac_cv_func_pthread_cancel=no
39411 fi
39412
39413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39414 conftest$ac_exeext conftest.$ac_ext
39415 fi
39416 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39417 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39418 if test $ac_cv_func_pthread_cancel = yes; then
39419 cat >>confdefs.h <<\_ACEOF
39420 #define HAVE_PTHREAD_CANCEL 1
39421 _ACEOF
39422
39423 else
39424 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39425 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39426 fi
39427
39428
39429 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39430 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39431 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39432 echo $ECHO_N "(cached) $ECHO_C" >&6
39433 else
39434 cat >conftest.$ac_ext <<_ACEOF
39435 /* confdefs.h. */
39436 _ACEOF
39437 cat confdefs.h >>conftest.$ac_ext
39438 cat >>conftest.$ac_ext <<_ACEOF
39439 /* end confdefs.h. */
39440 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39442 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39443
39444 /* System header to define __stub macros and hopefully few prototypes,
39445 which can conflict with char pthread_mutex_timedlock (); below.
39446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39447 <limits.h> exists even on freestanding compilers. */
39448
39449 #ifdef __STDC__
39450 # include <limits.h>
39451 #else
39452 # include <assert.h>
39453 #endif
39454
39455 #undef pthread_mutex_timedlock
39456
39457 /* Override any GCC internal prototype to avoid an error.
39458 Use char because int might match the return type of a GCC
39459 builtin and then its argument prototype would still apply. */
39460 #ifdef __cplusplus
39461 extern "C"
39462 #endif
39463 char pthread_mutex_timedlock ();
39464 /* The GNU C library defines this for functions which it implements
39465 to always fail with ENOSYS. Some functions are actually named
39466 something starting with __ and the normal name is an alias. */
39467 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39468 choke me
39469 #endif
39470
39471 int
39472 main ()
39473 {
39474 return pthread_mutex_timedlock ();
39475 ;
39476 return 0;
39477 }
39478 _ACEOF
39479 rm -f conftest.$ac_objext conftest$ac_exeext
39480 if { (ac_try="$ac_link"
39481 case "(($ac_try" in
39482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39483 *) ac_try_echo=$ac_try;;
39484 esac
39485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39486 (eval "$ac_link") 2>conftest.er1
39487 ac_status=$?
39488 grep -v '^ *+' conftest.er1 >conftest.err
39489 rm -f conftest.er1
39490 cat conftest.err >&5
39491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492 (exit $ac_status); } && {
39493 test -z "$ac_c_werror_flag" ||
39494 test ! -s conftest.err
39495 } && test -s conftest$ac_exeext &&
39496 $as_test_x conftest$ac_exeext; then
39497 ac_cv_func_pthread_mutex_timedlock=yes
39498 else
39499 echo "$as_me: failed program was:" >&5
39500 sed 's/^/| /' conftest.$ac_ext >&5
39501
39502 ac_cv_func_pthread_mutex_timedlock=no
39503 fi
39504
39505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39506 conftest$ac_exeext conftest.$ac_ext
39507 fi
39508 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39509 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39510 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39511 cat >>confdefs.h <<\_ACEOF
39512 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39513 _ACEOF
39514
39515 else
39516 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39517 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39518 fi
39519
39520
39521 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39522 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39523 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39524 echo $ECHO_N "(cached) $ECHO_C" >&6
39525 else
39526 cat >conftest.$ac_ext <<_ACEOF
39527 /* confdefs.h. */
39528 _ACEOF
39529 cat confdefs.h >>conftest.$ac_ext
39530 cat >>conftest.$ac_ext <<_ACEOF
39531 /* end confdefs.h. */
39532 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39534 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39535
39536 /* System header to define __stub macros and hopefully few prototypes,
39537 which can conflict with char pthread_attr_setstacksize (); below.
39538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39539 <limits.h> exists even on freestanding compilers. */
39540
39541 #ifdef __STDC__
39542 # include <limits.h>
39543 #else
39544 # include <assert.h>
39545 #endif
39546
39547 #undef pthread_attr_setstacksize
39548
39549 /* Override any GCC internal prototype to avoid an error.
39550 Use char because int might match the return type of a GCC
39551 builtin and then its argument prototype would still apply. */
39552 #ifdef __cplusplus
39553 extern "C"
39554 #endif
39555 char pthread_attr_setstacksize ();
39556 /* The GNU C library defines this for functions which it implements
39557 to always fail with ENOSYS. Some functions are actually named
39558 something starting with __ and the normal name is an alias. */
39559 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39560 choke me
39561 #endif
39562
39563 int
39564 main ()
39565 {
39566 return pthread_attr_setstacksize ();
39567 ;
39568 return 0;
39569 }
39570 _ACEOF
39571 rm -f conftest.$ac_objext conftest$ac_exeext
39572 if { (ac_try="$ac_link"
39573 case "(($ac_try" in
39574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39575 *) ac_try_echo=$ac_try;;
39576 esac
39577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39578 (eval "$ac_link") 2>conftest.er1
39579 ac_status=$?
39580 grep -v '^ *+' conftest.er1 >conftest.err
39581 rm -f conftest.er1
39582 cat conftest.err >&5
39583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39584 (exit $ac_status); } && {
39585 test -z "$ac_c_werror_flag" ||
39586 test ! -s conftest.err
39587 } && test -s conftest$ac_exeext &&
39588 $as_test_x conftest$ac_exeext; then
39589 ac_cv_func_pthread_attr_setstacksize=yes
39590 else
39591 echo "$as_me: failed program was:" >&5
39592 sed 's/^/| /' conftest.$ac_ext >&5
39593
39594 ac_cv_func_pthread_attr_setstacksize=no
39595 fi
39596
39597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39598 conftest$ac_exeext conftest.$ac_ext
39599 fi
39600 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39601 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39602 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39603 cat >>confdefs.h <<\_ACEOF
39604 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39605 _ACEOF
39606
39607 fi
39608
39609
39610
39611 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39612 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39613 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39614 echo $ECHO_N "(cached) $ECHO_C" >&6
39615 else
39616
39617 cat >conftest.$ac_ext <<_ACEOF
39618 /* confdefs.h. */
39619 _ACEOF
39620 cat confdefs.h >>conftest.$ac_ext
39621 cat >>conftest.$ac_ext <<_ACEOF
39622 /* end confdefs.h. */
39623 #include <pthread.h>
39624 int
39625 main ()
39626 {
39627
39628 pthread_mutexattr_t attr;
39629 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39630
39631 ;
39632 return 0;
39633 }
39634 _ACEOF
39635 rm -f conftest.$ac_objext
39636 if { (ac_try="$ac_compile"
39637 case "(($ac_try" in
39638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39639 *) ac_try_echo=$ac_try;;
39640 esac
39641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39642 (eval "$ac_compile") 2>conftest.er1
39643 ac_status=$?
39644 grep -v '^ *+' conftest.er1 >conftest.err
39645 rm -f conftest.er1
39646 cat conftest.err >&5
39647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648 (exit $ac_status); } && {
39649 test -z "$ac_c_werror_flag" ||
39650 test ! -s conftest.err
39651 } && test -s conftest.$ac_objext; then
39652 wx_cv_type_pthread_mutexattr_t=yes
39653 else
39654 echo "$as_me: failed program was:" >&5
39655 sed 's/^/| /' conftest.$ac_ext >&5
39656
39657 wx_cv_type_pthread_mutexattr_t=no
39658
39659 fi
39660
39661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39662
39663 fi
39664 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39665 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39666
39667 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39668 cat >>confdefs.h <<\_ACEOF
39669 #define HAVE_PTHREAD_MUTEXATTR_T 1
39670 _ACEOF
39671
39672
39673 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39674 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39675 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 else
39678
39679 cat >conftest.$ac_ext <<_ACEOF
39680 /* confdefs.h. */
39681 _ACEOF
39682 cat confdefs.h >>conftest.$ac_ext
39683 cat >>conftest.$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39685 #include <pthread.h>
39686 int
39687 main ()
39688 {
39689
39690 pthread_mutexattr_t attr;
39691 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39692
39693 ;
39694 return 0;
39695 }
39696 _ACEOF
39697 rm -f conftest.$ac_objext
39698 if { (ac_try="$ac_compile"
39699 case "(($ac_try" in
39700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39701 *) ac_try_echo=$ac_try;;
39702 esac
39703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39704 (eval "$ac_compile") 2>conftest.er1
39705 ac_status=$?
39706 grep -v '^ *+' conftest.er1 >conftest.err
39707 rm -f conftest.er1
39708 cat conftest.err >&5
39709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39710 (exit $ac_status); } && {
39711 test -z "$ac_c_werror_flag" ||
39712 test ! -s conftest.err
39713 } && test -s conftest.$ac_objext; then
39714 wx_cv_func_pthread_mutexattr_settype_decl=yes
39715 else
39716 echo "$as_me: failed program was:" >&5
39717 sed 's/^/| /' conftest.$ac_ext >&5
39718
39719 wx_cv_func_pthread_mutexattr_settype_decl=no
39720
39721 fi
39722
39723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39724
39725 fi
39726 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39727 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39728 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39729 cat >>confdefs.h <<\_ACEOF
39730 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39731 _ACEOF
39732
39733 fi
39734 else
39735 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39736 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39737 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39738 echo $ECHO_N "(cached) $ECHO_C" >&6
39739 else
39740
39741 cat >conftest.$ac_ext <<_ACEOF
39742 /* confdefs.h. */
39743 _ACEOF
39744 cat confdefs.h >>conftest.$ac_ext
39745 cat >>conftest.$ac_ext <<_ACEOF
39746 /* end confdefs.h. */
39747 #include <pthread.h>
39748 int
39749 main ()
39750 {
39751
39752 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39753
39754 ;
39755 return 0;
39756 }
39757 _ACEOF
39758 rm -f conftest.$ac_objext
39759 if { (ac_try="$ac_compile"
39760 case "(($ac_try" in
39761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39762 *) ac_try_echo=$ac_try;;
39763 esac
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_compile") 2>conftest.er1
39766 ac_status=$?
39767 grep -v '^ *+' conftest.er1 >conftest.err
39768 rm -f conftest.er1
39769 cat conftest.err >&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest.$ac_objext; then
39775
39776 wx_cv_type_pthread_rec_mutex_init=yes
39777
39778 else
39779 echo "$as_me: failed program was:" >&5
39780 sed 's/^/| /' conftest.$ac_ext >&5
39781
39782
39783 wx_cv_type_pthread_rec_mutex_init=no
39784
39785
39786 fi
39787
39788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39789
39790 fi
39791 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39792 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39793 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39794 cat >>confdefs.h <<\_ACEOF
39795 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39796 _ACEOF
39797
39798 else
39799 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39800 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39801 fi
39802 fi
39803 fi
39804
39805 else
39806 if test "$wxUSE_THREADS" = "yes" ; then
39807 case "${host}" in
39808 *-*-mingw32* )
39809 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39810 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39811 if test "${wx_cv_cflags_mthread+set}" = set; then
39812 echo $ECHO_N "(cached) $ECHO_C" >&6
39813 else
39814
39815 CFLAGS_OLD="$CFLAGS"
39816 CFLAGS="-mthreads $CFLAGS"
39817 cat >conftest.$ac_ext <<_ACEOF
39818 /* confdefs.h. */
39819 _ACEOF
39820 cat confdefs.h >>conftest.$ac_ext
39821 cat >>conftest.$ac_ext <<_ACEOF
39822 /* end confdefs.h. */
39823
39824 int
39825 main ()
39826 {
39827
39828 ;
39829 return 0;
39830 }
39831 _ACEOF
39832 rm -f conftest.$ac_objext
39833 if { (ac_try="$ac_compile"
39834 case "(($ac_try" in
39835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39836 *) ac_try_echo=$ac_try;;
39837 esac
39838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39839 (eval "$ac_compile") 2>conftest.er1
39840 ac_status=$?
39841 grep -v '^ *+' conftest.er1 >conftest.err
39842 rm -f conftest.er1
39843 cat conftest.err >&5
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); } && {
39846 test -z "$ac_c_werror_flag" ||
39847 test ! -s conftest.err
39848 } && test -s conftest.$ac_objext; then
39849 wx_cv_cflags_mthread=yes
39850 else
39851 echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.$ac_ext >&5
39853
39854 wx_cv_cflags_mthread=no
39855
39856 fi
39857
39858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39859
39860
39861 fi
39862 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39863 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39864
39865 if test "$wx_cv_cflags_mthread" = "yes"; then
39866 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39867 LDFLAGS="$LDFLAGS -mthreads"
39868 else
39869 CFLAGS="$CFLAGS_OLD"
39870 fi
39871 ;;
39872 *-pc-os2*emx )
39873 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39874 LDFLAGS="$LDFLAGS -Zmt"
39875 ;;
39876 esac
39877 fi
39878 fi
39879
39880 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39881 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39882 if test "${ac_cv_func_localtime_r+set}" = set; then
39883 echo $ECHO_N "(cached) $ECHO_C" >&6
39884 else
39885 cat >conftest.$ac_ext <<_ACEOF
39886 /* confdefs.h. */
39887 _ACEOF
39888 cat confdefs.h >>conftest.$ac_ext
39889 cat >>conftest.$ac_ext <<_ACEOF
39890 /* end confdefs.h. */
39891 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39893 #define localtime_r innocuous_localtime_r
39894
39895 /* System header to define __stub macros and hopefully few prototypes,
39896 which can conflict with char localtime_r (); below.
39897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39898 <limits.h> exists even on freestanding compilers. */
39899
39900 #ifdef __STDC__
39901 # include <limits.h>
39902 #else
39903 # include <assert.h>
39904 #endif
39905
39906 #undef localtime_r
39907
39908 /* Override any GCC internal prototype to avoid an error.
39909 Use char because int might match the return type of a GCC
39910 builtin and then its argument prototype would still apply. */
39911 #ifdef __cplusplus
39912 extern "C"
39913 #endif
39914 char localtime_r ();
39915 /* The GNU C library defines this for functions which it implements
39916 to always fail with ENOSYS. Some functions are actually named
39917 something starting with __ and the normal name is an alias. */
39918 #if defined __stub_localtime_r || defined __stub___localtime_r
39919 choke me
39920 #endif
39921
39922 int
39923 main ()
39924 {
39925 return localtime_r ();
39926 ;
39927 return 0;
39928 }
39929 _ACEOF
39930 rm -f conftest.$ac_objext conftest$ac_exeext
39931 if { (ac_try="$ac_link"
39932 case "(($ac_try" in
39933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39934 *) ac_try_echo=$ac_try;;
39935 esac
39936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39937 (eval "$ac_link") 2>conftest.er1
39938 ac_status=$?
39939 grep -v '^ *+' conftest.er1 >conftest.err
39940 rm -f conftest.er1
39941 cat conftest.err >&5
39942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39943 (exit $ac_status); } && {
39944 test -z "$ac_c_werror_flag" ||
39945 test ! -s conftest.err
39946 } && test -s conftest$ac_exeext &&
39947 $as_test_x conftest$ac_exeext; then
39948 ac_cv_func_localtime_r=yes
39949 else
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.$ac_ext >&5
39952
39953 ac_cv_func_localtime_r=no
39954 fi
39955
39956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39957 conftest$ac_exeext conftest.$ac_ext
39958 fi
39959 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39960 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39961 if test $ac_cv_func_localtime_r = yes; then
39962 cat >>confdefs.h <<\_ACEOF
39963 #define HAVE_LOCALTIME_R 1
39964 _ACEOF
39965
39966 fi
39967
39968 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39969 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39970 if test "${ac_cv_func_gmtime_r+set}" = set; then
39971 echo $ECHO_N "(cached) $ECHO_C" >&6
39972 else
39973 cat >conftest.$ac_ext <<_ACEOF
39974 /* confdefs.h. */
39975 _ACEOF
39976 cat confdefs.h >>conftest.$ac_ext
39977 cat >>conftest.$ac_ext <<_ACEOF
39978 /* end confdefs.h. */
39979 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39981 #define gmtime_r innocuous_gmtime_r
39982
39983 /* System header to define __stub macros and hopefully few prototypes,
39984 which can conflict with char gmtime_r (); below.
39985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39986 <limits.h> exists even on freestanding compilers. */
39987
39988 #ifdef __STDC__
39989 # include <limits.h>
39990 #else
39991 # include <assert.h>
39992 #endif
39993
39994 #undef gmtime_r
39995
39996 /* Override any GCC internal prototype to avoid an error.
39997 Use char because int might match the return type of a GCC
39998 builtin and then its argument prototype would still apply. */
39999 #ifdef __cplusplus
40000 extern "C"
40001 #endif
40002 char gmtime_r ();
40003 /* The GNU C library defines this for functions which it implements
40004 to always fail with ENOSYS. Some functions are actually named
40005 something starting with __ and the normal name is an alias. */
40006 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40007 choke me
40008 #endif
40009
40010 int
40011 main ()
40012 {
40013 return gmtime_r ();
40014 ;
40015 return 0;
40016 }
40017 _ACEOF
40018 rm -f conftest.$ac_objext conftest$ac_exeext
40019 if { (ac_try="$ac_link"
40020 case "(($ac_try" in
40021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40022 *) ac_try_echo=$ac_try;;
40023 esac
40024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40025 (eval "$ac_link") 2>conftest.er1
40026 ac_status=$?
40027 grep -v '^ *+' conftest.er1 >conftest.err
40028 rm -f conftest.er1
40029 cat conftest.err >&5
40030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031 (exit $ac_status); } && {
40032 test -z "$ac_c_werror_flag" ||
40033 test ! -s conftest.err
40034 } && test -s conftest$ac_exeext &&
40035 $as_test_x conftest$ac_exeext; then
40036 ac_cv_func_gmtime_r=yes
40037 else
40038 echo "$as_me: failed program was:" >&5
40039 sed 's/^/| /' conftest.$ac_ext >&5
40040
40041 ac_cv_func_gmtime_r=no
40042 fi
40043
40044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40045 conftest$ac_exeext conftest.$ac_ext
40046 fi
40047 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40048 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40049 if test $ac_cv_func_gmtime_r = yes; then
40050 cat >>confdefs.h <<\_ACEOF
40051 #define HAVE_GMTIME_R 1
40052 _ACEOF
40053
40054 fi
40055
40056 { echo "$as_me:$LINENO: checking for readdir_r" >&5
40057 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
40058 if test "${ac_cv_func_readdir_r+set}" = set; then
40059 echo $ECHO_N "(cached) $ECHO_C" >&6
40060 else
40061 cat >conftest.$ac_ext <<_ACEOF
40062 /* confdefs.h. */
40063 _ACEOF
40064 cat confdefs.h >>conftest.$ac_ext
40065 cat >>conftest.$ac_ext <<_ACEOF
40066 /* end confdefs.h. */
40067 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40069 #define readdir_r innocuous_readdir_r
40070
40071 /* System header to define __stub macros and hopefully few prototypes,
40072 which can conflict with char readdir_r (); below.
40073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40074 <limits.h> exists even on freestanding compilers. */
40075
40076 #ifdef __STDC__
40077 # include <limits.h>
40078 #else
40079 # include <assert.h>
40080 #endif
40081
40082 #undef readdir_r
40083
40084 /* Override any GCC internal prototype to avoid an error.
40085 Use char because int might match the return type of a GCC
40086 builtin and then its argument prototype would still apply. */
40087 #ifdef __cplusplus
40088 extern "C"
40089 #endif
40090 char readdir_r ();
40091 /* The GNU C library defines this for functions which it implements
40092 to always fail with ENOSYS. Some functions are actually named
40093 something starting with __ and the normal name is an alias. */
40094 #if defined __stub_readdir_r || defined __stub___readdir_r
40095 choke me
40096 #endif
40097
40098 int
40099 main ()
40100 {
40101 return readdir_r ();
40102 ;
40103 return 0;
40104 }
40105 _ACEOF
40106 rm -f conftest.$ac_objext conftest$ac_exeext
40107 if { (ac_try="$ac_link"
40108 case "(($ac_try" in
40109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40110 *) ac_try_echo=$ac_try;;
40111 esac
40112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40113 (eval "$ac_link") 2>conftest.er1
40114 ac_status=$?
40115 grep -v '^ *+' conftest.er1 >conftest.err
40116 rm -f conftest.er1
40117 cat conftest.err >&5
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); } && {
40120 test -z "$ac_c_werror_flag" ||
40121 test ! -s conftest.err
40122 } && test -s conftest$ac_exeext &&
40123 $as_test_x conftest$ac_exeext; then
40124 ac_cv_func_readdir_r=yes
40125 else
40126 echo "$as_me: failed program was:" >&5
40127 sed 's/^/| /' conftest.$ac_ext >&5
40128
40129 ac_cv_func_readdir_r=no
40130 fi
40131
40132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40133 conftest$ac_exeext conftest.$ac_ext
40134 fi
40135 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40136 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
40137 if test $ac_cv_func_readdir_r = yes; then
40138 cat >>confdefs.h <<\_ACEOF
40139 #define HAVE_READDIR_R 1
40140 _ACEOF
40141
40142 fi
40143
40144
40145
40146
40147 ac_ext=c
40148 ac_cpp='$CPP $CPPFLAGS'
40149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40152
40153 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40154 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40155
40156 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40157 echo $ECHO_N "(cached) $ECHO_C" >&6
40158 else
40159
40160
40161 ################################################################
40162
40163 ac_cv_func_which_gethostbyname_r=unknown
40164
40165 #
40166 # ONE ARGUMENT (sanity check)
40167 #
40168
40169 # This should fail, as there is no variant of gethostbyname_r() that takes
40170 # a single argument. If it actually compiles, then we can assume that
40171 # netdb.h is not declaring the function, and the compiler is thereby
40172 # assuming an implicit prototype. In which case, we're out of luck.
40173 #
40174 cat >conftest.$ac_ext <<_ACEOF
40175 /* confdefs.h. */
40176 _ACEOF
40177 cat confdefs.h >>conftest.$ac_ext
40178 cat >>conftest.$ac_ext <<_ACEOF
40179 /* end confdefs.h. */
40180 #include <netdb.h>
40181 int
40182 main ()
40183 {
40184
40185 char *name = "www.gnu.org";
40186 (void)gethostbyname_r(name) /* ; */
40187
40188 ;
40189 return 0;
40190 }
40191 _ACEOF
40192 rm -f conftest.$ac_objext
40193 if { (ac_try="$ac_compile"
40194 case "(($ac_try" in
40195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40196 *) ac_try_echo=$ac_try;;
40197 esac
40198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40199 (eval "$ac_compile") 2>conftest.er1
40200 ac_status=$?
40201 grep -v '^ *+' conftest.er1 >conftest.err
40202 rm -f conftest.er1
40203 cat conftest.err >&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); } && {
40206 test -z "$ac_c_werror_flag" ||
40207 test ! -s conftest.err
40208 } && test -s conftest.$ac_objext; then
40209 ac_cv_func_which_gethostbyname_r=no
40210 else
40211 echo "$as_me: failed program was:" >&5
40212 sed 's/^/| /' conftest.$ac_ext >&5
40213
40214
40215 fi
40216
40217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40218
40219 #
40220 # SIX ARGUMENTS
40221 # (e.g. Linux)
40222 #
40223
40224 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40225
40226 cat >conftest.$ac_ext <<_ACEOF
40227 /* confdefs.h. */
40228 _ACEOF
40229 cat confdefs.h >>conftest.$ac_ext
40230 cat >>conftest.$ac_ext <<_ACEOF
40231 /* end confdefs.h. */
40232 #include <netdb.h>
40233 int
40234 main ()
40235 {
40236
40237 char *name = "www.gnu.org";
40238 struct hostent ret, *retp;
40239 char buf[1024];
40240 int buflen = 1024;
40241 int my_h_errno;
40242 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40243
40244 ;
40245 return 0;
40246 }
40247 _ACEOF
40248 rm -f conftest.$ac_objext
40249 if { (ac_try="$ac_compile"
40250 case "(($ac_try" in
40251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40252 *) ac_try_echo=$ac_try;;
40253 esac
40254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40255 (eval "$ac_compile") 2>conftest.er1
40256 ac_status=$?
40257 grep -v '^ *+' conftest.er1 >conftest.err
40258 rm -f conftest.er1
40259 cat conftest.err >&5
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); } && {
40262 test -z "$ac_c_werror_flag" ||
40263 test ! -s conftest.err
40264 } && test -s conftest.$ac_objext; then
40265 ac_cv_func_which_gethostbyname_r=six
40266 else
40267 echo "$as_me: failed program was:" >&5
40268 sed 's/^/| /' conftest.$ac_ext >&5
40269
40270
40271 fi
40272
40273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40274
40275 fi
40276
40277 #
40278 # FIVE ARGUMENTS
40279 # (e.g. Solaris)
40280 #
40281
40282 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40283
40284 cat >conftest.$ac_ext <<_ACEOF
40285 /* confdefs.h. */
40286 _ACEOF
40287 cat confdefs.h >>conftest.$ac_ext
40288 cat >>conftest.$ac_ext <<_ACEOF
40289 /* end confdefs.h. */
40290 #include <netdb.h>
40291 int
40292 main ()
40293 {
40294
40295 char *name = "www.gnu.org";
40296 struct hostent ret;
40297 char buf[1024];
40298 int buflen = 1024;
40299 int my_h_errno;
40300 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40301
40302 ;
40303 return 0;
40304 }
40305 _ACEOF
40306 rm -f conftest.$ac_objext
40307 if { (ac_try="$ac_compile"
40308 case "(($ac_try" in
40309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40310 *) ac_try_echo=$ac_try;;
40311 esac
40312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40313 (eval "$ac_compile") 2>conftest.er1
40314 ac_status=$?
40315 grep -v '^ *+' conftest.er1 >conftest.err
40316 rm -f conftest.er1
40317 cat conftest.err >&5
40318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40319 (exit $ac_status); } && {
40320 test -z "$ac_c_werror_flag" ||
40321 test ! -s conftest.err
40322 } && test -s conftest.$ac_objext; then
40323 ac_cv_func_which_gethostbyname_r=five
40324 else
40325 echo "$as_me: failed program was:" >&5
40326 sed 's/^/| /' conftest.$ac_ext >&5
40327
40328
40329 fi
40330
40331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40332
40333 fi
40334
40335 #
40336 # THREE ARGUMENTS
40337 # (e.g. AIX, HP-UX, Tru64)
40338 #
40339
40340 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40341
40342 cat >conftest.$ac_ext <<_ACEOF
40343 /* confdefs.h. */
40344 _ACEOF
40345 cat confdefs.h >>conftest.$ac_ext
40346 cat >>conftest.$ac_ext <<_ACEOF
40347 /* end confdefs.h. */
40348 #include <netdb.h>
40349 int
40350 main ()
40351 {
40352
40353 char *name = "www.gnu.org";
40354 struct hostent ret;
40355 struct hostent_data data;
40356 (void)gethostbyname_r(name, &ret, &data) /* ; */
40357
40358 ;
40359 return 0;
40360 }
40361 _ACEOF
40362 rm -f conftest.$ac_objext
40363 if { (ac_try="$ac_compile"
40364 case "(($ac_try" in
40365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40366 *) ac_try_echo=$ac_try;;
40367 esac
40368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40369 (eval "$ac_compile") 2>conftest.er1
40370 ac_status=$?
40371 grep -v '^ *+' conftest.er1 >conftest.err
40372 rm -f conftest.er1
40373 cat conftest.err >&5
40374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40375 (exit $ac_status); } && {
40376 test -z "$ac_c_werror_flag" ||
40377 test ! -s conftest.err
40378 } && test -s conftest.$ac_objext; then
40379 ac_cv_func_which_gethostbyname_r=three
40380 else
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40383
40384
40385 fi
40386
40387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40388
40389 fi
40390
40391 ################################################################
40392
40393
40394 fi
40395
40396 case "$ac_cv_func_which_gethostbyname_r" in
40397 three)
40398 { echo "$as_me:$LINENO: result: three" >&5
40399 echo "${ECHO_T}three" >&6; }
40400 cat >>confdefs.h <<\_ACEOF
40401 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40402 _ACEOF
40403
40404 ;;
40405
40406 five)
40407 { echo "$as_me:$LINENO: result: five" >&5
40408 echo "${ECHO_T}five" >&6; }
40409 cat >>confdefs.h <<\_ACEOF
40410 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40411 _ACEOF
40412
40413 ;;
40414
40415 six)
40416 { echo "$as_me:$LINENO: result: six" >&5
40417 echo "${ECHO_T}six" >&6; }
40418 cat >>confdefs.h <<\_ACEOF
40419 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40420 _ACEOF
40421
40422 ;;
40423
40424 no)
40425 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40426 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40427 ;;
40428
40429 unknown)
40430 { echo "$as_me:$LINENO: result: can't tell" >&5
40431 echo "${ECHO_T}can't tell" >&6; }
40432 ;;
40433
40434 *)
40435 { { echo "$as_me:$LINENO: error: internal error" >&5
40436 echo "$as_me: error: internal error" >&2;}
40437 { (exit 1); exit 1; }; }
40438 ;;
40439 esac
40440
40441 ac_ext=c
40442 ac_cpp='$CPP $CPPFLAGS'
40443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40446
40447
40448
40449 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40450 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40451 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40452 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40453 if test "${ac_cv_func_gethostbyname+set}" = set; then
40454 echo $ECHO_N "(cached) $ECHO_C" >&6
40455 else
40456 cat >conftest.$ac_ext <<_ACEOF
40457 /* confdefs.h. */
40458 _ACEOF
40459 cat confdefs.h >>conftest.$ac_ext
40460 cat >>conftest.$ac_ext <<_ACEOF
40461 /* end confdefs.h. */
40462 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40464 #define gethostbyname innocuous_gethostbyname
40465
40466 /* System header to define __stub macros and hopefully few prototypes,
40467 which can conflict with char gethostbyname (); below.
40468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40469 <limits.h> exists even on freestanding compilers. */
40470
40471 #ifdef __STDC__
40472 # include <limits.h>
40473 #else
40474 # include <assert.h>
40475 #endif
40476
40477 #undef gethostbyname
40478
40479 /* Override any GCC internal prototype to avoid an error.
40480 Use char because int might match the return type of a GCC
40481 builtin and then its argument prototype would still apply. */
40482 #ifdef __cplusplus
40483 extern "C"
40484 #endif
40485 char gethostbyname ();
40486 /* The GNU C library defines this for functions which it implements
40487 to always fail with ENOSYS. Some functions are actually named
40488 something starting with __ and the normal name is an alias. */
40489 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40490 choke me
40491 #endif
40492
40493 int
40494 main ()
40495 {
40496 return gethostbyname ();
40497 ;
40498 return 0;
40499 }
40500 _ACEOF
40501 rm -f conftest.$ac_objext conftest$ac_exeext
40502 if { (ac_try="$ac_link"
40503 case "(($ac_try" in
40504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40505 *) ac_try_echo=$ac_try;;
40506 esac
40507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40508 (eval "$ac_link") 2>conftest.er1
40509 ac_status=$?
40510 grep -v '^ *+' conftest.er1 >conftest.err
40511 rm -f conftest.er1
40512 cat conftest.err >&5
40513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40514 (exit $ac_status); } && {
40515 test -z "$ac_c_werror_flag" ||
40516 test ! -s conftest.err
40517 } && test -s conftest$ac_exeext &&
40518 $as_test_x conftest$ac_exeext; then
40519 ac_cv_func_gethostbyname=yes
40520 else
40521 echo "$as_me: failed program was:" >&5
40522 sed 's/^/| /' conftest.$ac_ext >&5
40523
40524 ac_cv_func_gethostbyname=no
40525 fi
40526
40527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40528 conftest$ac_exeext conftest.$ac_ext
40529 fi
40530 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40531 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40532 if test $ac_cv_func_gethostbyname = yes; then
40533 cat >>confdefs.h <<\_ACEOF
40534 #define HAVE_GETHOSTBYNAME 1
40535 _ACEOF
40536
40537 fi
40538
40539 fi
40540
40541 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40542 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40543 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40544 echo $ECHO_N "(cached) $ECHO_C" >&6
40545 else
40546
40547 ac_ext=cpp
40548 ac_cpp='$CXXCPP $CPPFLAGS'
40549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40552
40553
40554 cat >conftest.$ac_ext <<_ACEOF
40555 /* confdefs.h. */
40556 _ACEOF
40557 cat confdefs.h >>conftest.$ac_ext
40558 cat >>conftest.$ac_ext <<_ACEOF
40559 /* end confdefs.h. */
40560 #include <netdb.h>
40561 int
40562 main ()
40563 {
40564
40565 char *name;
40566 char *proto;
40567 struct servent *se, *res;
40568 char buffer[2048];
40569 int buflen = 2048;
40570 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40571
40572 ;
40573 return 0;
40574 }
40575 _ACEOF
40576 rm -f conftest.$ac_objext
40577 if { (ac_try="$ac_compile"
40578 case "(($ac_try" in
40579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40580 *) ac_try_echo=$ac_try;;
40581 esac
40582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40583 (eval "$ac_compile") 2>conftest.er1
40584 ac_status=$?
40585 grep -v '^ *+' conftest.er1 >conftest.err
40586 rm -f conftest.er1
40587 cat conftest.err >&5
40588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40589 (exit $ac_status); } && {
40590 test -z "$ac_cxx_werror_flag" ||
40591 test ! -s conftest.err
40592 } && test -s conftest.$ac_objext; then
40593 ac_cv_func_which_getservbyname_r=six
40594 else
40595 echo "$as_me: failed program was:" >&5
40596 sed 's/^/| /' conftest.$ac_ext >&5
40597
40598
40599 cat >conftest.$ac_ext <<_ACEOF
40600 /* confdefs.h. */
40601 _ACEOF
40602 cat confdefs.h >>conftest.$ac_ext
40603 cat >>conftest.$ac_ext <<_ACEOF
40604 /* end confdefs.h. */
40605 #include <netdb.h>
40606 int
40607 main ()
40608 {
40609
40610 char *name;
40611 char *proto;
40612 struct servent *se;
40613 char buffer[2048];
40614 int buflen = 2048;
40615 (void) getservbyname_r(name, proto, se, buffer, buflen)
40616
40617 ;
40618 return 0;
40619 }
40620 _ACEOF
40621 rm -f conftest.$ac_objext
40622 if { (ac_try="$ac_compile"
40623 case "(($ac_try" in
40624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40625 *) ac_try_echo=$ac_try;;
40626 esac
40627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40628 (eval "$ac_compile") 2>conftest.er1
40629 ac_status=$?
40630 grep -v '^ *+' conftest.er1 >conftest.err
40631 rm -f conftest.er1
40632 cat conftest.err >&5
40633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40634 (exit $ac_status); } && {
40635 test -z "$ac_cxx_werror_flag" ||
40636 test ! -s conftest.err
40637 } && test -s conftest.$ac_objext; then
40638 ac_cv_func_which_getservbyname_r=five
40639 else
40640 echo "$as_me: failed program was:" >&5
40641 sed 's/^/| /' conftest.$ac_ext >&5
40642
40643
40644 cat >conftest.$ac_ext <<_ACEOF
40645 /* confdefs.h. */
40646 _ACEOF
40647 cat confdefs.h >>conftest.$ac_ext
40648 cat >>conftest.$ac_ext <<_ACEOF
40649 /* end confdefs.h. */
40650 #include <netdb.h>
40651 int
40652 main ()
40653 {
40654
40655 char *name;
40656 char *proto;
40657 struct servent *se;
40658 struct servent_data data;
40659 (void) getservbyname_r(name, proto, se, &data);
40660
40661 ;
40662 return 0;
40663 }
40664 _ACEOF
40665 rm -f conftest.$ac_objext
40666 if { (ac_try="$ac_compile"
40667 case "(($ac_try" in
40668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40669 *) ac_try_echo=$ac_try;;
40670 esac
40671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40672 (eval "$ac_compile") 2>conftest.er1
40673 ac_status=$?
40674 grep -v '^ *+' conftest.er1 >conftest.err
40675 rm -f conftest.er1
40676 cat conftest.err >&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); } && {
40679 test -z "$ac_cxx_werror_flag" ||
40680 test ! -s conftest.err
40681 } && test -s conftest.$ac_objext; then
40682 ac_cv_func_which_getservbyname_r=four
40683 else
40684 echo "$as_me: failed program was:" >&5
40685 sed 's/^/| /' conftest.$ac_ext >&5
40686
40687 ac_cv_func_which_getservbyname_r=no
40688
40689 fi
40690
40691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40692
40693
40694 fi
40695
40696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40697
40698
40699 fi
40700
40701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40702 ac_ext=c
40703 ac_cpp='$CPP $CPPFLAGS'
40704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40707
40708
40709
40710 fi
40711 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40712 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40713
40714 if test $ac_cv_func_which_getservbyname_r = six; then
40715 cat >>confdefs.h <<\_ACEOF
40716 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40717 _ACEOF
40718
40719 elif test $ac_cv_func_which_getservbyname_r = five; then
40720 cat >>confdefs.h <<\_ACEOF
40721 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40722 _ACEOF
40723
40724 elif test $ac_cv_func_which_getservbyname_r = four; then
40725 cat >>confdefs.h <<\_ACEOF
40726 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40727 _ACEOF
40728
40729 fi
40730
40731
40732 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40733 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40734
40735 for ac_func in getservbyname
40736 do
40737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40741 echo $ECHO_N "(cached) $ECHO_C" >&6
40742 else
40743 cat >conftest.$ac_ext <<_ACEOF
40744 /* confdefs.h. */
40745 _ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h. */
40749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40751 #define $ac_func innocuous_$ac_func
40752
40753 /* System header to define __stub macros and hopefully few prototypes,
40754 which can conflict with char $ac_func (); below.
40755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40756 <limits.h> exists even on freestanding compilers. */
40757
40758 #ifdef __STDC__
40759 # include <limits.h>
40760 #else
40761 # include <assert.h>
40762 #endif
40763
40764 #undef $ac_func
40765
40766 /* Override any GCC internal prototype to avoid an error.
40767 Use char because int might match the return type of a GCC
40768 builtin and then its argument prototype would still apply. */
40769 #ifdef __cplusplus
40770 extern "C"
40771 #endif
40772 char $ac_func ();
40773 /* The GNU C library defines this for functions which it implements
40774 to always fail with ENOSYS. Some functions are actually named
40775 something starting with __ and the normal name is an alias. */
40776 #if defined __stub_$ac_func || defined __stub___$ac_func
40777 choke me
40778 #endif
40779
40780 int
40781 main ()
40782 {
40783 return $ac_func ();
40784 ;
40785 return 0;
40786 }
40787 _ACEOF
40788 rm -f conftest.$ac_objext conftest$ac_exeext
40789 if { (ac_try="$ac_link"
40790 case "(($ac_try" in
40791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40792 *) ac_try_echo=$ac_try;;
40793 esac
40794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40795 (eval "$ac_link") 2>conftest.er1
40796 ac_status=$?
40797 grep -v '^ *+' conftest.er1 >conftest.err
40798 rm -f conftest.er1
40799 cat conftest.err >&5
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); } && {
40802 test -z "$ac_c_werror_flag" ||
40803 test ! -s conftest.err
40804 } && test -s conftest$ac_exeext &&
40805 $as_test_x conftest$ac_exeext; then
40806 eval "$as_ac_var=yes"
40807 else
40808 echo "$as_me: failed program was:" >&5
40809 sed 's/^/| /' conftest.$ac_ext >&5
40810
40811 eval "$as_ac_var=no"
40812 fi
40813
40814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40815 conftest$ac_exeext conftest.$ac_ext
40816 fi
40817 ac_res=`eval echo '${'$as_ac_var'}'`
40818 { echo "$as_me:$LINENO: result: $ac_res" >&5
40819 echo "${ECHO_T}$ac_res" >&6; }
40820 if test `eval echo '${'$as_ac_var'}'` = yes; then
40821 cat >>confdefs.h <<_ACEOF
40822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40823 _ACEOF
40824 cat >>confdefs.h <<\_ACEOF
40825 #define HAVE_GETSERVBYNAME 1
40826 _ACEOF
40827
40828 fi
40829 done
40830
40831 fi
40832
40833 if test "$wxUSE_THREADS" = "yes"; then
40834 cat >>confdefs.h <<\_ACEOF
40835 #define wxUSE_THREADS 1
40836 _ACEOF
40837
40838
40839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40840 else
40841 if test "$wx_cv_func_strtok_r" = "yes"; then
40842 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40843 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40844 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40845 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40846 { echo "$as_me:$LINENO: result: yes" >&5
40847 echo "${ECHO_T}yes" >&6; }
40848 else
40849 { echo "$as_me:$LINENO: result: no" >&5
40850 echo "${ECHO_T}no" >&6; }
40851 fi
40852 fi
40853 fi
40854
40855 if test "$WXGTK20" = 1 ; then
40856 cat >>confdefs.h <<_ACEOF
40857 #define __WXGTK20__ $WXGTK20
40858 _ACEOF
40859
40860 WXGTK12=1
40861 fi
40862
40863 if test "$WXGTK12" = 1 ; then
40864 cat >>confdefs.h <<_ACEOF
40865 #define __WXGTK12__ $WXGTK12
40866 _ACEOF
40867
40868 fi
40869
40870 if test "$WXGTK127" = 1 ; then
40871 cat >>confdefs.h <<_ACEOF
40872 #define __WXGTK127__ $WXGTK127
40873 _ACEOF
40874
40875 fi
40876
40877 if test "$WXGPE" = 1 ; then
40878 cat >>confdefs.h <<_ACEOF
40879 #define __WXGPE__ $WXGPE
40880 _ACEOF
40881
40882 fi
40883
40884 DEBUG_CFLAGS=
40885 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40886 DEBUG_CFLAGS="-g"
40887 wxUSE_OPTIMISE=no
40888 fi
40889
40890 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40891 wxUSE_DEBUG_INFO=yes
40892 if test "$GCC" = yes; then
40893 DEBUG_CFLAGS="-ggdb"
40894 fi
40895 fi
40896
40897 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40898 cat >>confdefs.h <<\_ACEOF
40899 #define WXDEBUG 1
40900 _ACEOF
40901
40902 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40903 else
40904 if test "$wxUSE_GTK" = 1 ; then
40905 if test "x$wxGTK_VERSION" = "x1" ; then
40906 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40907 fi
40908 fi
40909 fi
40910
40911 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40912 cat >>confdefs.h <<\_ACEOF
40913 #define wxUSE_MEMORY_TRACING 1
40914 _ACEOF
40915
40916 cat >>confdefs.h <<\_ACEOF
40917 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40918 _ACEOF
40919
40920 cat >>confdefs.h <<\_ACEOF
40921 #define wxUSE_DEBUG_NEW_ALWAYS 1
40922 _ACEOF
40923
40924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40925 fi
40926
40927 if test "$wxUSE_DMALLOC" = "yes" ; then
40928 DMALLOC_LIBS="-ldmallocthcxx"
40929 fi
40930
40931 PROFILE_FLAGS=
40932 if test "$wxUSE_PROFILE" = "yes" ; then
40933 PROFILE_FLAGS=" -pg"
40934 fi
40935
40936 if test "$GCC" = "yes" ; then
40937 if test "$wxUSE_NO_RTTI" = "yes" ; then
40938 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40939 fi
40940 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40941 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40942 fi
40943 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40944 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40945 fi
40946
40947 case "${host}" in
40948 powerpc*-*-aix* )
40949 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40950 ;;
40951 *-hppa* )
40952 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40953 ;;
40954 esac
40955 fi
40956
40957 OPTIMISE_CFLAGS=
40958 if test "$wxUSE_OPTIMISE" = "no" ; then
40959 if test "$GCC" = yes ; then
40960 OPTIMISE_CFLAGS="-O0"
40961 fi
40962 else
40963 if test "$GCC" = yes ; then
40964 case "${host}" in
40965 *-pc-os2_emx | *-pc-os2-emx )
40966 OPTIMISE_CFLAGS="-O2"
40967 ;;
40968 *)
40969 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40970 ;;
40971 esac
40972 else
40973 OPTIMISE_CFLAGS="-O"
40974 fi
40975 fi
40976
40977
40978 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40979 cat >>confdefs.h <<\_ACEOF
40980 #define WXWIN_COMPATIBILITY_2_6 1
40981 _ACEOF
40982
40983
40984 WXWIN_COMPATIBILITY_2_8="yes"
40985 fi
40986
40987 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40988 cat >>confdefs.h <<\_ACEOF
40989 #define WXWIN_COMPATIBILITY_2_8 1
40990 _ACEOF
40991
40992 fi
40993
40994
40995 if test "$wxUSE_GUI" = "yes"; then
40996 cat >>confdefs.h <<\_ACEOF
40997 #define wxUSE_GUI 1
40998 _ACEOF
40999
41000
41001 fi
41002
41003
41004 if test "$wxUSE_UNIX" = "yes"; then
41005 cat >>confdefs.h <<\_ACEOF
41006 #define wxUSE_UNIX 1
41007 _ACEOF
41008
41009 fi
41010
41011
41012 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41013
41014 HAVE_DL_FUNCS=0
41015 HAVE_SHL_FUNCS=0
41016 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41017 if test "$USE_DARWIN" = 1; then
41018 HAVE_DL_FUNCS=1
41019 elif test "$USE_DOS" = 1; then
41020 HAVE_DL_FUNCS=0
41021 else
41022
41023 for ac_func in dlopen
41024 do
41025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41026 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41028 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41029 echo $ECHO_N "(cached) $ECHO_C" >&6
41030 else
41031 cat >conftest.$ac_ext <<_ACEOF
41032 /* confdefs.h. */
41033 _ACEOF
41034 cat confdefs.h >>conftest.$ac_ext
41035 cat >>conftest.$ac_ext <<_ACEOF
41036 /* end confdefs.h. */
41037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41039 #define $ac_func innocuous_$ac_func
41040
41041 /* System header to define __stub macros and hopefully few prototypes,
41042 which can conflict with char $ac_func (); below.
41043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41044 <limits.h> exists even on freestanding compilers. */
41045
41046 #ifdef __STDC__
41047 # include <limits.h>
41048 #else
41049 # include <assert.h>
41050 #endif
41051
41052 #undef $ac_func
41053
41054 /* Override any GCC internal prototype to avoid an error.
41055 Use char because int might match the return type of a GCC
41056 builtin and then its argument prototype would still apply. */
41057 #ifdef __cplusplus
41058 extern "C"
41059 #endif
41060 char $ac_func ();
41061 /* The GNU C library defines this for functions which it implements
41062 to always fail with ENOSYS. Some functions are actually named
41063 something starting with __ and the normal name is an alias. */
41064 #if defined __stub_$ac_func || defined __stub___$ac_func
41065 choke me
41066 #endif
41067
41068 int
41069 main ()
41070 {
41071 return $ac_func ();
41072 ;
41073 return 0;
41074 }
41075 _ACEOF
41076 rm -f conftest.$ac_objext conftest$ac_exeext
41077 if { (ac_try="$ac_link"
41078 case "(($ac_try" in
41079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41080 *) ac_try_echo=$ac_try;;
41081 esac
41082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41083 (eval "$ac_link") 2>conftest.er1
41084 ac_status=$?
41085 grep -v '^ *+' conftest.er1 >conftest.err
41086 rm -f conftest.er1
41087 cat conftest.err >&5
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); } && {
41090 test -z "$ac_c_werror_flag" ||
41091 test ! -s conftest.err
41092 } && test -s conftest$ac_exeext &&
41093 $as_test_x conftest$ac_exeext; then
41094 eval "$as_ac_var=yes"
41095 else
41096 echo "$as_me: failed program was:" >&5
41097 sed 's/^/| /' conftest.$ac_ext >&5
41098
41099 eval "$as_ac_var=no"
41100 fi
41101
41102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41103 conftest$ac_exeext conftest.$ac_ext
41104 fi
41105 ac_res=`eval echo '${'$as_ac_var'}'`
41106 { echo "$as_me:$LINENO: result: $ac_res" >&5
41107 echo "${ECHO_T}$ac_res" >&6; }
41108 if test `eval echo '${'$as_ac_var'}'` = yes; then
41109 cat >>confdefs.h <<_ACEOF
41110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41111 _ACEOF
41112
41113 cat >>confdefs.h <<\_ACEOF
41114 #define HAVE_DLOPEN 1
41115 _ACEOF
41116
41117 HAVE_DL_FUNCS=1
41118
41119 else
41120
41121 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41122 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41123 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41124 echo $ECHO_N "(cached) $ECHO_C" >&6
41125 else
41126 ac_check_lib_save_LIBS=$LIBS
41127 LIBS="-ldl $LIBS"
41128 cat >conftest.$ac_ext <<_ACEOF
41129 /* confdefs.h. */
41130 _ACEOF
41131 cat confdefs.h >>conftest.$ac_ext
41132 cat >>conftest.$ac_ext <<_ACEOF
41133 /* end confdefs.h. */
41134
41135 /* Override any GCC internal prototype to avoid an error.
41136 Use char because int might match the return type of a GCC
41137 builtin and then its argument prototype would still apply. */
41138 #ifdef __cplusplus
41139 extern "C"
41140 #endif
41141 char dlopen ();
41142 int
41143 main ()
41144 {
41145 return dlopen ();
41146 ;
41147 return 0;
41148 }
41149 _ACEOF
41150 rm -f conftest.$ac_objext conftest$ac_exeext
41151 if { (ac_try="$ac_link"
41152 case "(($ac_try" in
41153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41154 *) ac_try_echo=$ac_try;;
41155 esac
41156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41157 (eval "$ac_link") 2>conftest.er1
41158 ac_status=$?
41159 grep -v '^ *+' conftest.er1 >conftest.err
41160 rm -f conftest.er1
41161 cat conftest.err >&5
41162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163 (exit $ac_status); } && {
41164 test -z "$ac_c_werror_flag" ||
41165 test ! -s conftest.err
41166 } && test -s conftest$ac_exeext &&
41167 $as_test_x conftest$ac_exeext; then
41168 ac_cv_lib_dl_dlopen=yes
41169 else
41170 echo "$as_me: failed program was:" >&5
41171 sed 's/^/| /' conftest.$ac_ext >&5
41172
41173 ac_cv_lib_dl_dlopen=no
41174 fi
41175
41176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41177 conftest$ac_exeext conftest.$ac_ext
41178 LIBS=$ac_check_lib_save_LIBS
41179 fi
41180 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41181 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41182 if test $ac_cv_lib_dl_dlopen = yes; then
41183
41184 cat >>confdefs.h <<\_ACEOF
41185 #define HAVE_DLOPEN 1
41186 _ACEOF
41187
41188 HAVE_DL_FUNCS=1
41189 DL_LINK=" -ldl$DL_LINK"
41190
41191 else
41192
41193
41194 for ac_func in shl_load
41195 do
41196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41197 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41199 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41200 echo $ECHO_N "(cached) $ECHO_C" >&6
41201 else
41202 cat >conftest.$ac_ext <<_ACEOF
41203 /* confdefs.h. */
41204 _ACEOF
41205 cat confdefs.h >>conftest.$ac_ext
41206 cat >>conftest.$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41210 #define $ac_func innocuous_$ac_func
41211
41212 /* System header to define __stub macros and hopefully few prototypes,
41213 which can conflict with char $ac_func (); below.
41214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41215 <limits.h> exists even on freestanding compilers. */
41216
41217 #ifdef __STDC__
41218 # include <limits.h>
41219 #else
41220 # include <assert.h>
41221 #endif
41222
41223 #undef $ac_func
41224
41225 /* Override any GCC internal prototype to avoid an error.
41226 Use char because int might match the return type of a GCC
41227 builtin and then its argument prototype would still apply. */
41228 #ifdef __cplusplus
41229 extern "C"
41230 #endif
41231 char $ac_func ();
41232 /* The GNU C library defines this for functions which it implements
41233 to always fail with ENOSYS. Some functions are actually named
41234 something starting with __ and the normal name is an alias. */
41235 #if defined __stub_$ac_func || defined __stub___$ac_func
41236 choke me
41237 #endif
41238
41239 int
41240 main ()
41241 {
41242 return $ac_func ();
41243 ;
41244 return 0;
41245 }
41246 _ACEOF
41247 rm -f conftest.$ac_objext conftest$ac_exeext
41248 if { (ac_try="$ac_link"
41249 case "(($ac_try" in
41250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41251 *) ac_try_echo=$ac_try;;
41252 esac
41253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41254 (eval "$ac_link") 2>conftest.er1
41255 ac_status=$?
41256 grep -v '^ *+' conftest.er1 >conftest.err
41257 rm -f conftest.er1
41258 cat conftest.err >&5
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); } && {
41261 test -z "$ac_c_werror_flag" ||
41262 test ! -s conftest.err
41263 } && test -s conftest$ac_exeext &&
41264 $as_test_x conftest$ac_exeext; then
41265 eval "$as_ac_var=yes"
41266 else
41267 echo "$as_me: failed program was:" >&5
41268 sed 's/^/| /' conftest.$ac_ext >&5
41269
41270 eval "$as_ac_var=no"
41271 fi
41272
41273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41274 conftest$ac_exeext conftest.$ac_ext
41275 fi
41276 ac_res=`eval echo '${'$as_ac_var'}'`
41277 { echo "$as_me:$LINENO: result: $ac_res" >&5
41278 echo "${ECHO_T}$ac_res" >&6; }
41279 if test `eval echo '${'$as_ac_var'}'` = yes; then
41280 cat >>confdefs.h <<_ACEOF
41281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41282 _ACEOF
41283
41284 cat >>confdefs.h <<\_ACEOF
41285 #define HAVE_SHL_LOAD 1
41286 _ACEOF
41287
41288 HAVE_SHL_FUNCS=1
41289
41290 else
41291
41292 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41293 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41294 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41295 echo $ECHO_N "(cached) $ECHO_C" >&6
41296 else
41297 ac_check_lib_save_LIBS=$LIBS
41298 LIBS="-lshl_load $LIBS"
41299 cat >conftest.$ac_ext <<_ACEOF
41300 /* confdefs.h. */
41301 _ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41305
41306 /* Override any GCC internal prototype to avoid an error.
41307 Use char because int might match the return type of a GCC
41308 builtin and then its argument prototype would still apply. */
41309 #ifdef __cplusplus
41310 extern "C"
41311 #endif
41312 char dld ();
41313 int
41314 main ()
41315 {
41316 return dld ();
41317 ;
41318 return 0;
41319 }
41320 _ACEOF
41321 rm -f conftest.$ac_objext conftest$ac_exeext
41322 if { (ac_try="$ac_link"
41323 case "(($ac_try" in
41324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41325 *) ac_try_echo=$ac_try;;
41326 esac
41327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41328 (eval "$ac_link") 2>conftest.er1
41329 ac_status=$?
41330 grep -v '^ *+' conftest.er1 >conftest.err
41331 rm -f conftest.er1
41332 cat conftest.err >&5
41333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41334 (exit $ac_status); } && {
41335 test -z "$ac_c_werror_flag" ||
41336 test ! -s conftest.err
41337 } && test -s conftest$ac_exeext &&
41338 $as_test_x conftest$ac_exeext; then
41339 ac_cv_lib_shl_load_dld=yes
41340 else
41341 echo "$as_me: failed program was:" >&5
41342 sed 's/^/| /' conftest.$ac_ext >&5
41343
41344 ac_cv_lib_shl_load_dld=no
41345 fi
41346
41347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41348 conftest$ac_exeext conftest.$ac_ext
41349 LIBS=$ac_check_lib_save_LIBS
41350 fi
41351 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41352 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41353 if test $ac_cv_lib_shl_load_dld = yes; then
41354
41355 HAVE_SHL_FUNCS=1
41356 DL_LINK=" -ldld$DL_LINK"
41357
41358 fi
41359
41360
41361 fi
41362 done
41363
41364
41365 fi
41366
41367
41368 fi
41369 done
41370
41371
41372 if test "$HAVE_DL_FUNCS" = 1; then
41373
41374 for ac_func in dlerror
41375 do
41376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41380 echo $ECHO_N "(cached) $ECHO_C" >&6
41381 else
41382 cat >conftest.$ac_ext <<_ACEOF
41383 /* confdefs.h. */
41384 _ACEOF
41385 cat confdefs.h >>conftest.$ac_ext
41386 cat >>conftest.$ac_ext <<_ACEOF
41387 /* end confdefs.h. */
41388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41390 #define $ac_func innocuous_$ac_func
41391
41392 /* System header to define __stub macros and hopefully few prototypes,
41393 which can conflict with char $ac_func (); below.
41394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41395 <limits.h> exists even on freestanding compilers. */
41396
41397 #ifdef __STDC__
41398 # include <limits.h>
41399 #else
41400 # include <assert.h>
41401 #endif
41402
41403 #undef $ac_func
41404
41405 /* Override any GCC internal prototype to avoid an error.
41406 Use char because int might match the return type of a GCC
41407 builtin and then its argument prototype would still apply. */
41408 #ifdef __cplusplus
41409 extern "C"
41410 #endif
41411 char $ac_func ();
41412 /* The GNU C library defines this for functions which it implements
41413 to always fail with ENOSYS. Some functions are actually named
41414 something starting with __ and the normal name is an alias. */
41415 #if defined __stub_$ac_func || defined __stub___$ac_func
41416 choke me
41417 #endif
41418
41419 int
41420 main ()
41421 {
41422 return $ac_func ();
41423 ;
41424 return 0;
41425 }
41426 _ACEOF
41427 rm -f conftest.$ac_objext conftest$ac_exeext
41428 if { (ac_try="$ac_link"
41429 case "(($ac_try" in
41430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41431 *) ac_try_echo=$ac_try;;
41432 esac
41433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41434 (eval "$ac_link") 2>conftest.er1
41435 ac_status=$?
41436 grep -v '^ *+' conftest.er1 >conftest.err
41437 rm -f conftest.er1
41438 cat conftest.err >&5
41439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41440 (exit $ac_status); } && {
41441 test -z "$ac_c_werror_flag" ||
41442 test ! -s conftest.err
41443 } && test -s conftest$ac_exeext &&
41444 $as_test_x conftest$ac_exeext; then
41445 eval "$as_ac_var=yes"
41446 else
41447 echo "$as_me: failed program was:" >&5
41448 sed 's/^/| /' conftest.$ac_ext >&5
41449
41450 eval "$as_ac_var=no"
41451 fi
41452
41453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41454 conftest$ac_exeext conftest.$ac_ext
41455 fi
41456 ac_res=`eval echo '${'$as_ac_var'}'`
41457 { echo "$as_me:$LINENO: result: $ac_res" >&5
41458 echo "${ECHO_T}$ac_res" >&6; }
41459 if test `eval echo '${'$as_ac_var'}'` = yes; then
41460 cat >>confdefs.h <<_ACEOF
41461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41462 _ACEOF
41463 cat >>confdefs.h <<\_ACEOF
41464 #define HAVE_DLERROR 1
41465 _ACEOF
41466
41467 else
41468
41469 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41470 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41471 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41472 echo $ECHO_N "(cached) $ECHO_C" >&6
41473 else
41474 ac_check_lib_save_LIBS=$LIBS
41475 LIBS="-ldl $LIBS"
41476 cat >conftest.$ac_ext <<_ACEOF
41477 /* confdefs.h. */
41478 _ACEOF
41479 cat confdefs.h >>conftest.$ac_ext
41480 cat >>conftest.$ac_ext <<_ACEOF
41481 /* end confdefs.h. */
41482
41483 /* Override any GCC internal prototype to avoid an error.
41484 Use char because int might match the return type of a GCC
41485 builtin and then its argument prototype would still apply. */
41486 #ifdef __cplusplus
41487 extern "C"
41488 #endif
41489 char dlerror ();
41490 int
41491 main ()
41492 {
41493 return dlerror ();
41494 ;
41495 return 0;
41496 }
41497 _ACEOF
41498 rm -f conftest.$ac_objext conftest$ac_exeext
41499 if { (ac_try="$ac_link"
41500 case "(($ac_try" in
41501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41502 *) ac_try_echo=$ac_try;;
41503 esac
41504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41505 (eval "$ac_link") 2>conftest.er1
41506 ac_status=$?
41507 grep -v '^ *+' conftest.er1 >conftest.err
41508 rm -f conftest.er1
41509 cat conftest.err >&5
41510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511 (exit $ac_status); } && {
41512 test -z "$ac_c_werror_flag" ||
41513 test ! -s conftest.err
41514 } && test -s conftest$ac_exeext &&
41515 $as_test_x conftest$ac_exeext; then
41516 ac_cv_lib_dl_dlerror=yes
41517 else
41518 echo "$as_me: failed program was:" >&5
41519 sed 's/^/| /' conftest.$ac_ext >&5
41520
41521 ac_cv_lib_dl_dlerror=no
41522 fi
41523
41524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41525 conftest$ac_exeext conftest.$ac_ext
41526 LIBS=$ac_check_lib_save_LIBS
41527 fi
41528 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41529 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41530 if test $ac_cv_lib_dl_dlerror = yes; then
41531 cat >>confdefs.h <<\_ACEOF
41532 #define HAVE_DLERROR 1
41533 _ACEOF
41534
41535 fi
41536
41537
41538
41539 fi
41540 done
41541
41542 fi
41543 fi
41544
41545 if test "$HAVE_DL_FUNCS" = 0; then
41546 if test "$HAVE_SHL_FUNCS" = 0; then
41547 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41548 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41549 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41550 wxUSE_DYNAMIC_LOADER=no
41551 wxUSE_DYNLIB_CLASS=no
41552 else
41553 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41554 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41555 fi
41556 fi
41557 fi
41558 fi
41559 fi
41560
41561 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41562 cat >>confdefs.h <<\_ACEOF
41563 #define wxUSE_DYNAMIC_LOADER 1
41564 _ACEOF
41565
41566 fi
41567 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41568 cat >>confdefs.h <<\_ACEOF
41569 #define wxUSE_DYNLIB_CLASS 1
41570 _ACEOF
41571
41572 fi
41573
41574
41575
41576 if test "$wxUSE_PLUGINS" = "yes" ; then
41577 if test "$wxUSE_SHARED" = "no" ; then
41578 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41579 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41580 wxUSE_PLUGINS=no
41581 fi
41582 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41583 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41584 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41585 wxUSE_PLUGINS=no
41586 fi
41587 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41588 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41589 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41590 wxUSE_PLUGINS=no
41591 fi
41592 if test "$wxUSE_PLUGINS" = "yes" ; then
41593 cat >>confdefs.h <<\_ACEOF
41594 #define wxUSE_PLUGINS 1
41595 _ACEOF
41596
41597 fi
41598 fi
41599
41600
41601 if test "$wxUSE_STL" = "yes"; then
41602 cat >>confdefs.h <<\_ACEOF
41603 #define wxUSE_STL 1
41604 _ACEOF
41605
41606 fi
41607
41608 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41609 cat >>confdefs.h <<\_ACEOF
41610 #define wxUSE_EXTENDED_RTTI 1
41611 _ACEOF
41612
41613 fi
41614
41615 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41616 cat >>confdefs.h <<\_ACEOF
41617 #define wxUSE_APPLE_IEEE 1
41618 _ACEOF
41619
41620 fi
41621
41622 if test "$wxUSE_TIMER" = "yes"; then
41623 cat >>confdefs.h <<\_ACEOF
41624 #define wxUSE_TIMER 1
41625 _ACEOF
41626
41627 fi
41628
41629 if test "$USE_UNIX" = "1" ; then
41630 if test "$wxUSE_MGL" != 1; then
41631 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41632 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41633 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41634 echo $ECHO_N "(cached) $ECHO_C" >&6
41635 else
41636
41637 cat >conftest.$ac_ext <<_ACEOF
41638 /* confdefs.h. */
41639 _ACEOF
41640 cat confdefs.h >>conftest.$ac_ext
41641 cat >>conftest.$ac_ext <<_ACEOF
41642 /* end confdefs.h. */
41643
41644 #include <sys/ioctl.h>
41645 #include <sys/soundcard.h>
41646
41647 int
41648 main ()
41649 {
41650
41651 ioctl(0, SNDCTL_DSP_SPEED, 0);
41652
41653 ;
41654 return 0;
41655 }
41656 _ACEOF
41657 rm -f conftest.$ac_objext conftest$ac_exeext
41658 if { (ac_try="$ac_link"
41659 case "(($ac_try" in
41660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41661 *) ac_try_echo=$ac_try;;
41662 esac
41663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41664 (eval "$ac_link") 2>conftest.er1
41665 ac_status=$?
41666 grep -v '^ *+' conftest.er1 >conftest.err
41667 rm -f conftest.er1
41668 cat conftest.err >&5
41669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670 (exit $ac_status); } && {
41671 test -z "$ac_c_werror_flag" ||
41672 test ! -s conftest.err
41673 } && test -s conftest$ac_exeext &&
41674 $as_test_x conftest$ac_exeext; then
41675 ac_cv_header_sys_soundcard=yes
41676 else
41677 echo "$as_me: failed program was:" >&5
41678 sed 's/^/| /' conftest.$ac_ext >&5
41679
41680
41681 saveLibs="$LIBS"
41682 LIBS="$saveLibs -lossaudio"
41683 cat >conftest.$ac_ext <<_ACEOF
41684 /* confdefs.h. */
41685 _ACEOF
41686 cat confdefs.h >>conftest.$ac_ext
41687 cat >>conftest.$ac_ext <<_ACEOF
41688 /* end confdefs.h. */
41689
41690 #include <sys/ioctl.h>
41691 #include <sys/soundcard.h>
41692
41693 int
41694 main ()
41695 {
41696
41697 ioctl(0, SNDCTL_DSP_SPEED, 0);
41698
41699 ;
41700 return 0;
41701 }
41702 _ACEOF
41703 rm -f conftest.$ac_objext conftest$ac_exeext
41704 if { (ac_try="$ac_link"
41705 case "(($ac_try" in
41706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41707 *) ac_try_echo=$ac_try;;
41708 esac
41709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41710 (eval "$ac_link") 2>conftest.er1
41711 ac_status=$?
41712 grep -v '^ *+' conftest.er1 >conftest.err
41713 rm -f conftest.er1
41714 cat conftest.err >&5
41715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41716 (exit $ac_status); } && {
41717 test -z "$ac_c_werror_flag" ||
41718 test ! -s conftest.err
41719 } && test -s conftest$ac_exeext &&
41720 $as_test_x conftest$ac_exeext; then
41721 ac_cv_header_sys_soundcard=yes
41722 else
41723 echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.$ac_ext >&5
41725
41726
41727 LIBS="$saveLibs"
41728 ac_cv_header_sys_soundcard=no
41729
41730
41731 fi
41732
41733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41734 conftest$ac_exeext conftest.$ac_ext
41735
41736
41737 fi
41738
41739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41740 conftest$ac_exeext conftest.$ac_ext
41741
41742 fi
41743 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41744 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41745 fi
41746
41747 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41748 cat >>confdefs.h <<\_ACEOF
41749 #define HAVE_SYS_SOUNDCARD_H 1
41750 _ACEOF
41751
41752 fi
41753 fi
41754
41755 WITH_PLUGIN_SDL=0
41756 if test "$wxUSE_SOUND" = "yes"; then
41757 if test "$USE_UNIX" = "1" ; then
41758 if test "$wxUSE_LIBSDL" != "no"; then
41759
41760 # Check whether --with-sdl-prefix was given.
41761 if test "${with_sdl_prefix+set}" = set; then
41762 withval=$with_sdl_prefix; sdl_prefix="$withval"
41763 else
41764 sdl_prefix=""
41765 fi
41766
41767
41768 # Check whether --with-sdl-exec-prefix was given.
41769 if test "${with_sdl_exec_prefix+set}" = set; then
41770 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41771 else
41772 sdl_exec_prefix=""
41773 fi
41774
41775 # Check whether --enable-sdltest was given.
41776 if test "${enable_sdltest+set}" = set; then
41777 enableval=$enable_sdltest;
41778 else
41779 enable_sdltest=yes
41780 fi
41781
41782
41783 if test x$sdl_exec_prefix != x ; then
41784 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41785 if test x${SDL_CONFIG+set} != xset ; then
41786 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41787 fi
41788 fi
41789 if test x$sdl_prefix != x ; then
41790 sdl_args="$sdl_args --prefix=$sdl_prefix"
41791 if test x${SDL_CONFIG+set} != xset ; then
41792 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41793 fi
41794 fi
41795
41796 if test "x$prefix" != xNONE; then
41797 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41798 fi
41799 # Extract the first word of "sdl-config", so it can be a program name with args.
41800 set dummy sdl-config; ac_word=$2
41801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41803 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41804 echo $ECHO_N "(cached) $ECHO_C" >&6
41805 else
41806 case $SDL_CONFIG in
41807 [\\/]* | ?:[\\/]*)
41808 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41809 ;;
41810 *)
41811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41812 for as_dir in $PATH
41813 do
41814 IFS=$as_save_IFS
41815 test -z "$as_dir" && as_dir=.
41816 for ac_exec_ext in '' $ac_executable_extensions; do
41817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41818 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41820 break 2
41821 fi
41822 done
41823 done
41824 IFS=$as_save_IFS
41825
41826 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41827 ;;
41828 esac
41829 fi
41830 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41831 if test -n "$SDL_CONFIG"; then
41832 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41833 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41834 else
41835 { echo "$as_me:$LINENO: result: no" >&5
41836 echo "${ECHO_T}no" >&6; }
41837 fi
41838
41839
41840 min_sdl_version=1.2.0
41841 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41842 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41843 no_sdl=""
41844 if test "$SDL_CONFIG" = "no" ; then
41845 no_sdl=yes
41846 else
41847 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41848 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41849
41850 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41851 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41852 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41853 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41854 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41855 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41856 if test "x$enable_sdltest" = "xyes" ; then
41857 ac_save_CFLAGS="$CFLAGS"
41858 ac_save_CXXFLAGS="$CXXFLAGS"
41859 ac_save_LIBS="$LIBS"
41860 CFLAGS="$CFLAGS $SDL_CFLAGS"
41861 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41862 LIBS="$LIBS $SDL_LIBS"
41863 rm -f conf.sdltest
41864 if test "$cross_compiling" = yes; then
41865 echo $ac_n "cross compiling; assumed OK... $ac_c"
41866 else
41867 cat >conftest.$ac_ext <<_ACEOF
41868 /* confdefs.h. */
41869 _ACEOF
41870 cat confdefs.h >>conftest.$ac_ext
41871 cat >>conftest.$ac_ext <<_ACEOF
41872 /* end confdefs.h. */
41873
41874 #include <stdio.h>
41875 #include <stdlib.h>
41876 #include <string.h>
41877 #include "SDL.h"
41878
41879 char*
41880 my_strdup (char *str)
41881 {
41882 char *new_str;
41883
41884 if (str)
41885 {
41886 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41887 strcpy (new_str, str);
41888 }
41889 else
41890 new_str = NULL;
41891
41892 return new_str;
41893 }
41894
41895 int main (int argc, char *argv[])
41896 {
41897 int major, minor, micro;
41898 char *tmp_version;
41899
41900 /* This hangs on some systems (?)
41901 system ("touch conf.sdltest");
41902 */
41903 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41904
41905 /* HP/UX 9 (%@#!) writes to sscanf strings */
41906 tmp_version = my_strdup("$min_sdl_version");
41907 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41908 printf("%s, bad version string\n", "$min_sdl_version");
41909 exit(1);
41910 }
41911
41912 if (($sdl_major_version > major) ||
41913 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41914 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41915 {
41916 return 0;
41917 }
41918 else
41919 {
41920 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41921 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41922 printf("*** best to upgrade to the required version.\n");
41923 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41924 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41925 printf("*** config.cache before re-running configure\n");
41926 return 1;
41927 }
41928 }
41929
41930
41931 _ACEOF
41932 rm -f conftest$ac_exeext
41933 if { (ac_try="$ac_link"
41934 case "(($ac_try" in
41935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41936 *) ac_try_echo=$ac_try;;
41937 esac
41938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41939 (eval "$ac_link") 2>&5
41940 ac_status=$?
41941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41943 { (case "(($ac_try" in
41944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41945 *) ac_try_echo=$ac_try;;
41946 esac
41947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41948 (eval "$ac_try") 2>&5
41949 ac_status=$?
41950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41951 (exit $ac_status); }; }; then
41952 :
41953 else
41954 echo "$as_me: program exited with status $ac_status" >&5
41955 echo "$as_me: failed program was:" >&5
41956 sed 's/^/| /' conftest.$ac_ext >&5
41957
41958 ( exit $ac_status )
41959 no_sdl=yes
41960 fi
41961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41962 fi
41963
41964
41965 CFLAGS="$ac_save_CFLAGS"
41966 CXXFLAGS="$ac_save_CXXFLAGS"
41967 LIBS="$ac_save_LIBS"
41968 fi
41969 fi
41970 if test "x$no_sdl" = x ; then
41971 { echo "$as_me:$LINENO: result: yes" >&5
41972 echo "${ECHO_T}yes" >&6; }
41973
41974 EXTRALIBS_SDL="$SDL_LIBS"
41975 CFLAGS="$SDL_CFLAGS $CFLAGS"
41976 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41977 cat >>confdefs.h <<\_ACEOF
41978 #define wxUSE_LIBSDL 1
41979 _ACEOF
41980
41981
41982 else
41983 { echo "$as_me:$LINENO: result: no" >&5
41984 echo "${ECHO_T}no" >&6; }
41985 if test "$SDL_CONFIG" = "no" ; then
41986 echo "*** The sdl-config script installed by SDL could not be found"
41987 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41988 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41989 echo "*** full path to sdl-config."
41990 else
41991 if test -f conf.sdltest ; then
41992 :
41993 else
41994 echo "*** Could not run SDL test program, checking why..."
41995 CFLAGS="$CFLAGS $SDL_CFLAGS"
41996 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41997 LIBS="$LIBS $SDL_LIBS"
41998 cat >conftest.$ac_ext <<_ACEOF
41999 /* confdefs.h. */
42000 _ACEOF
42001 cat confdefs.h >>conftest.$ac_ext
42002 cat >>conftest.$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42004
42005 #include <stdio.h>
42006 #include "SDL.h"
42007
42008 int main(int argc, char *argv[])
42009 { return 0; }
42010 #undef main
42011 #define main K_and_R_C_main
42012
42013 int
42014 main ()
42015 {
42016 return 0;
42017 ;
42018 return 0;
42019 }
42020 _ACEOF
42021 rm -f conftest.$ac_objext conftest$ac_exeext
42022 if { (ac_try="$ac_link"
42023 case "(($ac_try" in
42024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42025 *) ac_try_echo=$ac_try;;
42026 esac
42027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42028 (eval "$ac_link") 2>conftest.er1
42029 ac_status=$?
42030 grep -v '^ *+' conftest.er1 >conftest.err
42031 rm -f conftest.er1
42032 cat conftest.err >&5
42033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42034 (exit $ac_status); } && {
42035 test -z "$ac_c_werror_flag" ||
42036 test ! -s conftest.err
42037 } && test -s conftest$ac_exeext &&
42038 $as_test_x conftest$ac_exeext; then
42039 echo "*** The test program compiled, but did not run. This usually means"
42040 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42041 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42042 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42043 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42044 echo "*** is required on your system"
42045 echo "***"
42046 echo "*** If you have an old version installed, it is best to remove it, although"
42047 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42048 else
42049 echo "$as_me: failed program was:" >&5
42050 sed 's/^/| /' conftest.$ac_ext >&5
42051
42052 echo "*** The test program failed to compile or link. See the file config.log for the"
42053 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42054 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42055 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42056 fi
42057
42058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42059 conftest$ac_exeext conftest.$ac_ext
42060 CFLAGS="$ac_save_CFLAGS"
42061 CXXFLAGS="$ac_save_CXXFLAGS"
42062 LIBS="$ac_save_LIBS"
42063 fi
42064 fi
42065 SDL_CFLAGS=""
42066 SDL_LIBS=""
42067 wxUSE_LIBSDL="no"
42068 fi
42069
42070
42071 rm -f conf.sdltest
42072
42073 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42074 WITH_PLUGIN_SDL=1
42075 fi
42076 fi
42077 else
42078 if test "$wxUSE_MGL" = 1; then
42079 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42080 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42081 wxUSE_SOUND="no"
42082 fi
42083 fi
42084 fi
42085
42086 if test "$wxUSE_SOUND" = "yes"; then
42087 cat >>confdefs.h <<\_ACEOF
42088 #define wxUSE_SOUND 1
42089 _ACEOF
42090
42091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42092 fi
42093
42094 if test "$WXGTK20" = 1; then
42095
42096
42097 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42098 if test -n "$ac_tool_prefix"; then
42099 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42100 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42103 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42104 echo $ECHO_N "(cached) $ECHO_C" >&6
42105 else
42106 case $PKG_CONFIG in
42107 [\\/]* | ?:[\\/]*)
42108 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42109 ;;
42110 *)
42111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42112 for as_dir in $PATH
42113 do
42114 IFS=$as_save_IFS
42115 test -z "$as_dir" && as_dir=.
42116 for ac_exec_ext in '' $ac_executable_extensions; do
42117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42118 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42120 break 2
42121 fi
42122 done
42123 done
42124 IFS=$as_save_IFS
42125
42126 ;;
42127 esac
42128 fi
42129 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42130 if test -n "$PKG_CONFIG"; then
42131 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42132 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42133 else
42134 { echo "$as_me:$LINENO: result: no" >&5
42135 echo "${ECHO_T}no" >&6; }
42136 fi
42137
42138
42139 fi
42140 if test -z "$ac_cv_path_PKG_CONFIG"; then
42141 ac_pt_PKG_CONFIG=$PKG_CONFIG
42142 # Extract the first word of "pkg-config", so it can be a program name with args.
42143 set dummy pkg-config; ac_word=$2
42144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42146 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42147 echo $ECHO_N "(cached) $ECHO_C" >&6
42148 else
42149 case $ac_pt_PKG_CONFIG in
42150 [\\/]* | ?:[\\/]*)
42151 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42152 ;;
42153 *)
42154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42155 for as_dir in $PATH
42156 do
42157 IFS=$as_save_IFS
42158 test -z "$as_dir" && as_dir=.
42159 for ac_exec_ext in '' $ac_executable_extensions; do
42160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42161 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42163 break 2
42164 fi
42165 done
42166 done
42167 IFS=$as_save_IFS
42168
42169 ;;
42170 esac
42171 fi
42172 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42173 if test -n "$ac_pt_PKG_CONFIG"; then
42174 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42175 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42176 else
42177 { echo "$as_me:$LINENO: result: no" >&5
42178 echo "${ECHO_T}no" >&6; }
42179 fi
42180
42181 if test "x$ac_pt_PKG_CONFIG" = x; then
42182 PKG_CONFIG=""
42183 else
42184 case $cross_compiling:$ac_tool_warned in
42185 yes:)
42186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42187 whose name does not start with the host triplet. If you think this
42188 configuration is useful to you, please write to autoconf@gnu.org." >&5
42189 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42190 whose name does not start with the host triplet. If you think this
42191 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42192 ac_tool_warned=yes ;;
42193 esac
42194 PKG_CONFIG=$ac_pt_PKG_CONFIG
42195 fi
42196 else
42197 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42198 fi
42199
42200 fi
42201 if test -n "$PKG_CONFIG"; then
42202 _pkg_min_version=0.9.0
42203 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42204 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42205 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42206 { echo "$as_me:$LINENO: result: yes" >&5
42207 echo "${ECHO_T}yes" >&6; }
42208 else
42209 { echo "$as_me:$LINENO: result: no" >&5
42210 echo "${ECHO_T}no" >&6; }
42211 PKG_CONFIG=""
42212 fi
42213
42214 fi
42215
42216 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42217 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42218
42219
42220 pkg_failed=no
42221 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42222 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42223
42224 if test -n "$PKG_CONFIG"; then
42225 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42226 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42227 else
42228 if test -n "$PKG_CONFIG" && \
42229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42230 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42231 ac_status=$?
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); }; then
42234 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42235 else
42236 pkg_failed=yes
42237 fi
42238 fi
42239 else
42240 pkg_failed=untried
42241 fi
42242 if test -n "$PKG_CONFIG"; then
42243 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42244 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42245 else
42246 if test -n "$PKG_CONFIG" && \
42247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42248 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42249 ac_status=$?
42250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42251 (exit $ac_status); }; then
42252 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42253 else
42254 pkg_failed=yes
42255 fi
42256 fi
42257 else
42258 pkg_failed=untried
42259 fi
42260
42261
42262
42263 if test $pkg_failed = yes; then
42264
42265 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42266 _pkg_short_errors_supported=yes
42267 else
42268 _pkg_short_errors_supported=no
42269 fi
42270 if test $_pkg_short_errors_supported = yes; then
42271 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42272 else
42273 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42274 fi
42275 # Put the nasty error message in config.log where it belongs
42276 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42277
42278
42279 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42280 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42281 wxUSE_LIBGNOMEPRINT="no"
42282
42283
42284 elif test $pkg_failed = untried; then
42285
42286 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42287 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42288 wxUSE_LIBGNOMEPRINT="no"
42289
42290
42291 else
42292 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42293 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42294 { echo "$as_me:$LINENO: result: yes" >&5
42295 echo "${ECHO_T}yes" >&6; }
42296
42297 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42298 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42299 cat >>confdefs.h <<\_ACEOF
42300 #define wxUSE_LIBGNOMEPRINT 1
42301 _ACEOF
42302
42303
42304 fi
42305 fi
42306 fi
42307
42308 if test "$wxUSE_MIMETYPE" = "yes" ; then
42309 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42310
42311
42312 pkg_failed=no
42313 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42314 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42315
42316 if test -n "$PKG_CONFIG"; then
42317 if test -n "$GNOMEVFS_CFLAGS"; then
42318 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42319 else
42320 if test -n "$PKG_CONFIG" && \
42321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42322 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42323 ac_status=$?
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; then
42326 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42327 else
42328 pkg_failed=yes
42329 fi
42330 fi
42331 else
42332 pkg_failed=untried
42333 fi
42334 if test -n "$PKG_CONFIG"; then
42335 if test -n "$GNOMEVFS_LIBS"; then
42336 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42337 else
42338 if test -n "$PKG_CONFIG" && \
42339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42340 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42341 ac_status=$?
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); }; then
42344 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42345 else
42346 pkg_failed=yes
42347 fi
42348 fi
42349 else
42350 pkg_failed=untried
42351 fi
42352
42353
42354
42355 if test $pkg_failed = yes; then
42356
42357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42358 _pkg_short_errors_supported=yes
42359 else
42360 _pkg_short_errors_supported=no
42361 fi
42362 if test $_pkg_short_errors_supported = yes; then
42363 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42364 else
42365 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42366 fi
42367 # Put the nasty error message in config.log where it belongs
42368 echo "$GNOMEVFS_PKG_ERRORS" >&5
42369
42370
42371 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42372 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42373 wxUSE_LIBGNOMEVFS="no"
42374
42375
42376 elif test $pkg_failed = untried; then
42377
42378 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42379 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42380 wxUSE_LIBGNOMEVFS="no"
42381
42382
42383 else
42384 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42385 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42386 { echo "$as_me:$LINENO: result: yes" >&5
42387 echo "${ECHO_T}yes" >&6; }
42388
42389 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42390 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42391 cat >>confdefs.h <<\_ACEOF
42392 #define wxUSE_LIBGNOMEVFS 1
42393 _ACEOF
42394
42395
42396 fi
42397 fi
42398 fi
42399
42400 if test "$wxUSE_LIBHILDON" = "yes" ; then
42401
42402 pkg_failed=no
42403 { echo "$as_me:$LINENO: checking for HILDON" >&5
42404 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42405
42406 if test -n "$PKG_CONFIG"; then
42407 if test -n "$HILDON_CFLAGS"; then
42408 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42409 else
42410 if test -n "$PKG_CONFIG" && \
42411 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42412 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42413 ac_status=$?
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); }; then
42416 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42417 else
42418 pkg_failed=yes
42419 fi
42420 fi
42421 else
42422 pkg_failed=untried
42423 fi
42424 if test -n "$PKG_CONFIG"; then
42425 if test -n "$HILDON_LIBS"; then
42426 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42427 else
42428 if test -n "$PKG_CONFIG" && \
42429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42430 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42431 ac_status=$?
42432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433 (exit $ac_status); }; then
42434 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42435 else
42436 pkg_failed=yes
42437 fi
42438 fi
42439 else
42440 pkg_failed=untried
42441 fi
42442
42443
42444
42445 if test $pkg_failed = yes; then
42446
42447 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42448 _pkg_short_errors_supported=yes
42449 else
42450 _pkg_short_errors_supported=no
42451 fi
42452 if test $_pkg_short_errors_supported = yes; then
42453 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42454 else
42455 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42456 fi
42457 # Put the nasty error message in config.log where it belongs
42458 echo "$HILDON_PKG_ERRORS" >&5
42459
42460
42461 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42462 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42463 wxUSE_LIBHILDON="no"
42464
42465
42466 elif test $pkg_failed = untried; then
42467
42468 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42469 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42470 wxUSE_LIBHILDON="no"
42471
42472
42473 else
42474 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42475 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42476 { echo "$as_me:$LINENO: result: yes" >&5
42477 echo "${ECHO_T}yes" >&6; }
42478
42479 EXTRALIBS_HILDON="$HILDON_LIBS"
42480 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42481 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42482 cat >>confdefs.h <<\_ACEOF
42483 #define wxUSE_LIBHILDON 1
42484 _ACEOF
42485
42486
42487 fi
42488 fi
42489 fi
42490
42491 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42492 cat >>confdefs.h <<\_ACEOF
42493 #define wxUSE_CMDLINE_PARSER 1
42494 _ACEOF
42495
42496 fi
42497
42498 if test "$wxUSE_STOPWATCH" = "yes"; then
42499 cat >>confdefs.h <<\_ACEOF
42500 #define wxUSE_STOPWATCH 1
42501 _ACEOF
42502
42503 fi
42504
42505 if test "$wxUSE_DATETIME" = "yes"; then
42506 cat >>confdefs.h <<\_ACEOF
42507 #define wxUSE_DATETIME 1
42508 _ACEOF
42509
42510 fi
42511
42512 if test "$wxUSE_FILE" = "yes"; then
42513 cat >>confdefs.h <<\_ACEOF
42514 #define wxUSE_FILE 1
42515 _ACEOF
42516
42517 fi
42518
42519 if test "$wxUSE_FFILE" = "yes"; then
42520 cat >>confdefs.h <<\_ACEOF
42521 #define wxUSE_FFILE 1
42522 _ACEOF
42523
42524 fi
42525
42526 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42527 if test "$wxUSE_STREAMS" != yes; then
42528 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42529 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42530 wxUSE_ARCHIVE_STREAMS=no
42531 else
42532 cat >>confdefs.h <<\_ACEOF
42533 #define wxUSE_ARCHIVE_STREAMS 1
42534 _ACEOF
42535
42536 fi
42537 fi
42538
42539 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42540 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42541 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42542 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42543 elif test "$wxUSE_ZLIB" = "no"; then
42544 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42545 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42546 else
42547 cat >>confdefs.h <<\_ACEOF
42548 #define wxUSE_ZIPSTREAM 1
42549 _ACEOF
42550
42551 fi
42552 fi
42553
42554 if test "$wxUSE_TARSTREAM" = "yes"; then
42555 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42556 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42557 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42558 else
42559 cat >>confdefs.h <<\_ACEOF
42560 #define wxUSE_TARSTREAM 1
42561 _ACEOF
42562
42563 fi
42564 fi
42565
42566 if test "$wxUSE_FILESYSTEM" = "yes"; then
42567 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42568 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42569 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42570 wxUSE_FILESYSTEM=no
42571 else
42572 cat >>confdefs.h <<\_ACEOF
42573 #define wxUSE_FILESYSTEM 1
42574 _ACEOF
42575
42576 fi
42577 fi
42578
42579 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42580 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42581 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42582 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42583 else
42584 cat >>confdefs.h <<\_ACEOF
42585 #define wxUSE_FS_ARCHIVE 1
42586 _ACEOF
42587
42588 fi
42589 fi
42590
42591 if test "$wxUSE_FS_ZIP" = "yes"; then
42592 if test "$wxUSE_FS_ARCHIVE" != yes; then
42593 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42594 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42595 else
42596 cat >>confdefs.h <<\_ACEOF
42597 #define wxUSE_FS_ZIP 1
42598 _ACEOF
42599
42600 fi
42601 fi
42602
42603 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42604 if test "$USE_UNIX" != 1; then
42605 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42606 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42607 wxUSE_ON_FATAL_EXCEPTION=no
42608 else
42609 cat >>confdefs.h <<\_ACEOF
42610 #define wxUSE_ON_FATAL_EXCEPTION 1
42611 _ACEOF
42612
42613 fi
42614 fi
42615
42616 if test "$wxUSE_STACKWALKER" = "yes"; then
42617 cat >>confdefs.h <<\_ACEOF
42618 #define wxUSE_STACKWALKER 1
42619 _ACEOF
42620
42621 fi
42622
42623 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42624 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42625 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42626 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42627 wxUSE_DEBUGREPORT=no
42628 else
42629 cat >>confdefs.h <<\_ACEOF
42630 #define wxUSE_DEBUGREPORT 1
42631 _ACEOF
42632
42633 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42635 fi
42636 fi
42637 fi
42638
42639 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42640 cat >>confdefs.h <<\_ACEOF
42641 #define wxUSE_SNGLINST_CHECKER 1
42642 _ACEOF
42643
42644 fi
42645
42646 if test "$wxUSE_BUSYINFO" = "yes"; then
42647 cat >>confdefs.h <<\_ACEOF
42648 #define wxUSE_BUSYINFO 1
42649 _ACEOF
42650
42651 fi
42652
42653 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42654 cat >>confdefs.h <<\_ACEOF
42655 #define wxUSE_STD_IOSTREAM 1
42656 _ACEOF
42657
42658 fi
42659
42660 if test "$wxUSE_STD_STRING" = "yes"; then
42661 cat >>confdefs.h <<\_ACEOF
42662 #define wxUSE_STD_STRING 1
42663 _ACEOF
42664
42665 fi
42666
42667 if test "$wxUSE_STDPATHS" = "yes"; then
42668 cat >>confdefs.h <<\_ACEOF
42669 #define wxUSE_STDPATHS 1
42670 _ACEOF
42671
42672 fi
42673
42674 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42675 cat >>confdefs.h <<\_ACEOF
42676 #define wxUSE_TEXTBUFFER 1
42677 _ACEOF
42678
42679 fi
42680
42681 if test "$wxUSE_TEXTFILE" = "yes"; then
42682 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42683 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42684 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42685 else
42686 cat >>confdefs.h <<\_ACEOF
42687 #define wxUSE_TEXTFILE 1
42688 _ACEOF
42689
42690 fi
42691 fi
42692
42693 if test "$wxUSE_CONFIG" = "yes" ; then
42694 if test "$wxUSE_TEXTFILE" != "yes"; then
42695 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42696 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42697 else
42698 cat >>confdefs.h <<\_ACEOF
42699 #define wxUSE_CONFIG 1
42700 _ACEOF
42701
42702 cat >>confdefs.h <<\_ACEOF
42703 #define wxUSE_CONFIG_NATIVE 1
42704 _ACEOF
42705
42706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42707 fi
42708 fi
42709
42710 if test "$wxUSE_INTL" = "yes" ; then
42711 if test "$wxUSE_FILE" != "yes"; then
42712 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42713 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42714 else
42715 cat >>confdefs.h <<\_ACEOF
42716 #define wxUSE_INTL 1
42717 _ACEOF
42718
42719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42720 GUIDIST="$GUIDIST INTL_DIST"
42721 fi
42722 fi
42723
42724 if test "$wxUSE_LOG" = "yes"; then
42725 cat >>confdefs.h <<\_ACEOF
42726 #define wxUSE_LOG 1
42727 _ACEOF
42728
42729
42730 if test "$wxUSE_LOGGUI" = "yes"; then
42731 cat >>confdefs.h <<\_ACEOF
42732 #define wxUSE_LOGGUI 1
42733 _ACEOF
42734
42735 fi
42736
42737 if test "$wxUSE_LOGWINDOW" = "yes"; then
42738 cat >>confdefs.h <<\_ACEOF
42739 #define wxUSE_LOGWINDOW 1
42740 _ACEOF
42741
42742 fi
42743
42744 if test "$wxUSE_LOGDIALOG" = "yes"; then
42745 cat >>confdefs.h <<\_ACEOF
42746 #define wxUSE_LOG_DIALOG 1
42747 _ACEOF
42748
42749 fi
42750
42751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42752 fi
42753
42754 if test "$wxUSE_LONGLONG" = "yes"; then
42755 cat >>confdefs.h <<\_ACEOF
42756 #define wxUSE_LONGLONG 1
42757 _ACEOF
42758
42759 fi
42760
42761 if test "$wxUSE_GEOMETRY" = "yes"; then
42762 cat >>confdefs.h <<\_ACEOF
42763 #define wxUSE_GEOMETRY 1
42764 _ACEOF
42765
42766 fi
42767
42768 if test "$wxUSE_STREAMS" = "yes" ; then
42769 cat >>confdefs.h <<\_ACEOF
42770 #define wxUSE_STREAMS 1
42771 _ACEOF
42772
42773 fi
42774
42775 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42776 cat >>confdefs.h <<\_ACEOF
42777 #define wxUSE_PRINTF_POS_PARAMS 1
42778 _ACEOF
42779
42780 fi
42781
42782 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42783 cat >>confdefs.h <<\_ACEOF
42784 #define wxUSE_OBJC_UNIQUIFYING 1
42785 _ACEOF
42786
42787 fi
42788
42789
42790 if test "$wxUSE_DATETIME" = "yes"; then
42791 { echo "$as_me:$LINENO: checking for strptime" >&5
42792 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42793 if test "${ac_cv_func_strptime+set}" = set; then
42794 echo $ECHO_N "(cached) $ECHO_C" >&6
42795 else
42796 cat >conftest.$ac_ext <<_ACEOF
42797 /* confdefs.h. */
42798 _ACEOF
42799 cat confdefs.h >>conftest.$ac_ext
42800 cat >>conftest.$ac_ext <<_ACEOF
42801 /* end confdefs.h. */
42802 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42804 #define strptime innocuous_strptime
42805
42806 /* System header to define __stub macros and hopefully few prototypes,
42807 which can conflict with char strptime (); below.
42808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42809 <limits.h> exists even on freestanding compilers. */
42810
42811 #ifdef __STDC__
42812 # include <limits.h>
42813 #else
42814 # include <assert.h>
42815 #endif
42816
42817 #undef strptime
42818
42819 /* Override any GCC internal prototype to avoid an error.
42820 Use char because int might match the return type of a GCC
42821 builtin and then its argument prototype would still apply. */
42822 #ifdef __cplusplus
42823 extern "C"
42824 #endif
42825 char strptime ();
42826 /* The GNU C library defines this for functions which it implements
42827 to always fail with ENOSYS. Some functions are actually named
42828 something starting with __ and the normal name is an alias. */
42829 #if defined __stub_strptime || defined __stub___strptime
42830 choke me
42831 #endif
42832
42833 int
42834 main ()
42835 {
42836 return strptime ();
42837 ;
42838 return 0;
42839 }
42840 _ACEOF
42841 rm -f conftest.$ac_objext conftest$ac_exeext
42842 if { (ac_try="$ac_link"
42843 case "(($ac_try" in
42844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42845 *) ac_try_echo=$ac_try;;
42846 esac
42847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42848 (eval "$ac_link") 2>conftest.er1
42849 ac_status=$?
42850 grep -v '^ *+' conftest.er1 >conftest.err
42851 rm -f conftest.er1
42852 cat conftest.err >&5
42853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42854 (exit $ac_status); } && {
42855 test -z "$ac_c_werror_flag" ||
42856 test ! -s conftest.err
42857 } && test -s conftest$ac_exeext &&
42858 $as_test_x conftest$ac_exeext; then
42859 ac_cv_func_strptime=yes
42860 else
42861 echo "$as_me: failed program was:" >&5
42862 sed 's/^/| /' conftest.$ac_ext >&5
42863
42864 ac_cv_func_strptime=no
42865 fi
42866
42867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42868 conftest$ac_exeext conftest.$ac_ext
42869 fi
42870 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
42871 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
42872
42873 if test "$ac_cv_func_strptime" = "yes"; then
42874 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42875 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42876 if test "${wx_cv_func_strptime_decl+set}" = set; then
42877 echo $ECHO_N "(cached) $ECHO_C" >&6
42878 else
42879
42880 ac_ext=cpp
42881 ac_cpp='$CXXCPP $CPPFLAGS'
42882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42885
42886 cat >conftest.$ac_ext <<_ACEOF
42887 /* confdefs.h. */
42888 _ACEOF
42889 cat confdefs.h >>conftest.$ac_ext
42890 cat >>conftest.$ac_ext <<_ACEOF
42891 /* end confdefs.h. */
42892
42893 #include <time.h>
42894
42895 int
42896 main ()
42897 {
42898
42899 struct tm t;
42900 strptime("foo", "bar", &t);
42901
42902 ;
42903 return 0;
42904 }
42905 _ACEOF
42906 rm -f conftest.$ac_objext
42907 if { (ac_try="$ac_compile"
42908 case "(($ac_try" in
42909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42910 *) ac_try_echo=$ac_try;;
42911 esac
42912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42913 (eval "$ac_compile") 2>conftest.er1
42914 ac_status=$?
42915 grep -v '^ *+' conftest.er1 >conftest.err
42916 rm -f conftest.er1
42917 cat conftest.err >&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); } && {
42920 test -z "$ac_cxx_werror_flag" ||
42921 test ! -s conftest.err
42922 } && test -s conftest.$ac_objext; then
42923 wx_cv_func_strptime_decl=yes
42924 else
42925 echo "$as_me: failed program was:" >&5
42926 sed 's/^/| /' conftest.$ac_ext >&5
42927
42928 wx_cv_func_strptime_decl=no
42929
42930 fi
42931
42932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42933 ac_ext=c
42934 ac_cpp='$CPP $CPPFLAGS'
42935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42938
42939
42940
42941 fi
42942 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42943 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42944 fi
42945 if test "$wx_cv_func_strptime_decl" = "yes"; then
42946 cat >>confdefs.h <<\_ACEOF
42947 #define HAVE_STRPTIME_DECL 1
42948 _ACEOF
42949
42950 else
42951 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
42952 fi
42953 if test "$ac_cv_func_strptime" = "yes"; then
42954 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
42955 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
42956 if test "${wx_cv_func_strptime_ok+set}" = set; then
42957 echo $ECHO_N "(cached) $ECHO_C" >&6
42958 else
42959 if test "$cross_compiling" = yes; then
42960 wx_cv_func_strptime_ok=no
42961
42962 else
42963 cat >conftest.$ac_ext <<_ACEOF
42964
42965 #include <stdlib.h>
42966 #include <time.h>
42967 #include "confdefs.h"
42968
42969 $wx_strptime_decl
42970
42971 int main()
42972 {
42973 struct tm t;
42974 return !!strptime("", "%x", &t);
42975 }
42976
42977 _ACEOF
42978 rm -f conftest$ac_exeext
42979 if { (ac_try="$ac_link"
42980 case "(($ac_try" in
42981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42982 *) ac_try_echo=$ac_try;;
42983 esac
42984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42985 (eval "$ac_link") 2>&5
42986 ac_status=$?
42987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42989 { (case "(($ac_try" in
42990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42991 *) ac_try_echo=$ac_try;;
42992 esac
42993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42994 (eval "$ac_try") 2>&5
42995 ac_status=$?
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); }; }; then
42998 wx_cv_func_strptime_ok=yes
42999 else
43000 echo "$as_me: program exited with status $ac_status" >&5
43001 echo "$as_me: failed program was:" >&5
43002 sed 's/^/| /' conftest.$ac_ext >&5
43003
43004 ( exit $ac_status )
43005 wx_cv_func_strptime_ok=no
43006 fi
43007 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43008 fi
43009
43010
43011
43012 fi
43013 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43014 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43015
43016 if test "$wx_cv_func_strptime_ok" = "yes"; then
43017 cat >>confdefs.h <<\_ACEOF
43018 #define HAVE_STRPTIME 1
43019 _ACEOF
43020
43021 fi
43022 fi
43023
43024 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43025 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43026 if test "${wx_cv_var_timezone+set}" = set; then
43027 echo $ECHO_N "(cached) $ECHO_C" >&6
43028 else
43029
43030 ac_ext=cpp
43031 ac_cpp='$CXXCPP $CPPFLAGS'
43032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43035
43036 cat >conftest.$ac_ext <<_ACEOF
43037 /* confdefs.h. */
43038 _ACEOF
43039 cat confdefs.h >>conftest.$ac_ext
43040 cat >>conftest.$ac_ext <<_ACEOF
43041 /* end confdefs.h. */
43042
43043 #include <time.h>
43044
43045 int
43046 main ()
43047 {
43048
43049 int tz;
43050 tz = timezone;
43051
43052 ;
43053 return 0;
43054 }
43055 _ACEOF
43056 rm -f conftest.$ac_objext
43057 if { (ac_try="$ac_compile"
43058 case "(($ac_try" in
43059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43060 *) ac_try_echo=$ac_try;;
43061 esac
43062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43063 (eval "$ac_compile") 2>conftest.er1
43064 ac_status=$?
43065 grep -v '^ *+' conftest.er1 >conftest.err
43066 rm -f conftest.er1
43067 cat conftest.err >&5
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); } && {
43070 test -z "$ac_cxx_werror_flag" ||
43071 test ! -s conftest.err
43072 } && test -s conftest.$ac_objext; then
43073
43074 wx_cv_var_timezone=timezone
43075
43076 else
43077 echo "$as_me: failed program was:" >&5
43078 sed 's/^/| /' conftest.$ac_ext >&5
43079
43080
43081 cat >conftest.$ac_ext <<_ACEOF
43082 /* confdefs.h. */
43083 _ACEOF
43084 cat confdefs.h >>conftest.$ac_ext
43085 cat >>conftest.$ac_ext <<_ACEOF
43086 /* end confdefs.h. */
43087
43088 #include <time.h>
43089
43090 int
43091 main ()
43092 {
43093
43094 int tz;
43095 tz = _timezone;
43096
43097 ;
43098 return 0;
43099 }
43100 _ACEOF
43101 rm -f conftest.$ac_objext
43102 if { (ac_try="$ac_compile"
43103 case "(($ac_try" in
43104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43105 *) ac_try_echo=$ac_try;;
43106 esac
43107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43108 (eval "$ac_compile") 2>conftest.er1
43109 ac_status=$?
43110 grep -v '^ *+' conftest.er1 >conftest.err
43111 rm -f conftest.er1
43112 cat conftest.err >&5
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); } && {
43115 test -z "$ac_cxx_werror_flag" ||
43116 test ! -s conftest.err
43117 } && test -s conftest.$ac_objext; then
43118
43119 wx_cv_var_timezone=_timezone
43120
43121 else
43122 echo "$as_me: failed program was:" >&5
43123 sed 's/^/| /' conftest.$ac_ext >&5
43124
43125
43126 cat >conftest.$ac_ext <<_ACEOF
43127 /* confdefs.h. */
43128 _ACEOF
43129 cat confdefs.h >>conftest.$ac_ext
43130 cat >>conftest.$ac_ext <<_ACEOF
43131 /* end confdefs.h. */
43132
43133 #include <time.h>
43134
43135 int
43136 main ()
43137 {
43138
43139 int tz;
43140 tz = __timezone;
43141
43142 ;
43143 return 0;
43144 }
43145 _ACEOF
43146 rm -f conftest.$ac_objext
43147 if { (ac_try="$ac_compile"
43148 case "(($ac_try" in
43149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43150 *) ac_try_echo=$ac_try;;
43151 esac
43152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43153 (eval "$ac_compile") 2>conftest.er1
43154 ac_status=$?
43155 grep -v '^ *+' conftest.er1 >conftest.err
43156 rm -f conftest.er1
43157 cat conftest.err >&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } && {
43160 test -z "$ac_cxx_werror_flag" ||
43161 test ! -s conftest.err
43162 } && test -s conftest.$ac_objext; then
43163
43164 wx_cv_var_timezone=__timezone
43165
43166 else
43167 echo "$as_me: failed program was:" >&5
43168 sed 's/^/| /' conftest.$ac_ext >&5
43169
43170
43171 if test "$USE_DOS" = 0 ; then
43172 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43173 echo "$as_me: WARNING: no timezone variable" >&2;}
43174 fi
43175
43176
43177 fi
43178
43179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43180
43181
43182 fi
43183
43184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43185
43186
43187 fi
43188
43189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43190 ac_ext=c
43191 ac_cpp='$CPP $CPPFLAGS'
43192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43195
43196
43197
43198 fi
43199 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43200 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43201
43202 if test "x$wx_cv_var_timezone" != x ; then
43203 cat >>confdefs.h <<_ACEOF
43204 #define WX_TIMEZONE $wx_cv_var_timezone
43205 _ACEOF
43206
43207 fi
43208
43209
43210 for ac_func in localtime
43211 do
43212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43216 echo $ECHO_N "(cached) $ECHO_C" >&6
43217 else
43218 cat >conftest.$ac_ext <<_ACEOF
43219 /* confdefs.h. */
43220 _ACEOF
43221 cat confdefs.h >>conftest.$ac_ext
43222 cat >>conftest.$ac_ext <<_ACEOF
43223 /* end confdefs.h. */
43224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43226 #define $ac_func innocuous_$ac_func
43227
43228 /* System header to define __stub macros and hopefully few prototypes,
43229 which can conflict with char $ac_func (); below.
43230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43231 <limits.h> exists even on freestanding compilers. */
43232
43233 #ifdef __STDC__
43234 # include <limits.h>
43235 #else
43236 # include <assert.h>
43237 #endif
43238
43239 #undef $ac_func
43240
43241 /* Override any GCC internal prototype to avoid an error.
43242 Use char because int might match the return type of a GCC
43243 builtin and then its argument prototype would still apply. */
43244 #ifdef __cplusplus
43245 extern "C"
43246 #endif
43247 char $ac_func ();
43248 /* The GNU C library defines this for functions which it implements
43249 to always fail with ENOSYS. Some functions are actually named
43250 something starting with __ and the normal name is an alias. */
43251 #if defined __stub_$ac_func || defined __stub___$ac_func
43252 choke me
43253 #endif
43254
43255 int
43256 main ()
43257 {
43258 return $ac_func ();
43259 ;
43260 return 0;
43261 }
43262 _ACEOF
43263 rm -f conftest.$ac_objext conftest$ac_exeext
43264 if { (ac_try="$ac_link"
43265 case "(($ac_try" in
43266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43267 *) ac_try_echo=$ac_try;;
43268 esac
43269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43270 (eval "$ac_link") 2>conftest.er1
43271 ac_status=$?
43272 grep -v '^ *+' conftest.er1 >conftest.err
43273 rm -f conftest.er1
43274 cat conftest.err >&5
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); } && {
43277 test -z "$ac_c_werror_flag" ||
43278 test ! -s conftest.err
43279 } && test -s conftest$ac_exeext &&
43280 $as_test_x conftest$ac_exeext; then
43281 eval "$as_ac_var=yes"
43282 else
43283 echo "$as_me: failed program was:" >&5
43284 sed 's/^/| /' conftest.$ac_ext >&5
43285
43286 eval "$as_ac_var=no"
43287 fi
43288
43289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43290 conftest$ac_exeext conftest.$ac_ext
43291 fi
43292 ac_res=`eval echo '${'$as_ac_var'}'`
43293 { echo "$as_me:$LINENO: result: $ac_res" >&5
43294 echo "${ECHO_T}$ac_res" >&6; }
43295 if test `eval echo '${'$as_ac_var'}'` = yes; then
43296 cat >>confdefs.h <<_ACEOF
43297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43298 _ACEOF
43299
43300 fi
43301 done
43302
43303
43304 if test "$ac_cv_func_localtime" = "yes"; then
43305 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43306 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43307 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43308 echo $ECHO_N "(cached) $ECHO_C" >&6
43309 else
43310
43311 cat >conftest.$ac_ext <<_ACEOF
43312 /* confdefs.h. */
43313 _ACEOF
43314 cat confdefs.h >>conftest.$ac_ext
43315 cat >>conftest.$ac_ext <<_ACEOF
43316 /* end confdefs.h. */
43317
43318 #include <time.h>
43319
43320 int
43321 main ()
43322 {
43323
43324 struct tm tm;
43325 tm.tm_gmtoff++;
43326
43327 ;
43328 return 0;
43329 }
43330 _ACEOF
43331 rm -f conftest.$ac_objext
43332 if { (ac_try="$ac_compile"
43333 case "(($ac_try" in
43334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43335 *) ac_try_echo=$ac_try;;
43336 esac
43337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43338 (eval "$ac_compile") 2>conftest.er1
43339 ac_status=$?
43340 grep -v '^ *+' conftest.er1 >conftest.err
43341 rm -f conftest.er1
43342 cat conftest.err >&5
43343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43344 (exit $ac_status); } && {
43345 test -z "$ac_c_werror_flag" ||
43346 test ! -s conftest.err
43347 } && test -s conftest.$ac_objext; then
43348
43349 wx_cv_struct_tm_has_gmtoff=yes
43350
43351 else
43352 echo "$as_me: failed program was:" >&5
43353 sed 's/^/| /' conftest.$ac_ext >&5
43354
43355 wx_cv_struct_tm_has_gmtoff=no
43356
43357 fi
43358
43359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43360
43361 fi
43362 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43363 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43364 fi
43365
43366 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43367 cat >>confdefs.h <<\_ACEOF
43368 #define WX_GMTOFF_IN_TM 1
43369 _ACEOF
43370
43371 fi
43372
43373
43374
43375 for ac_func in gettimeofday ftime
43376 do
43377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43378 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43380 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43381 echo $ECHO_N "(cached) $ECHO_C" >&6
43382 else
43383 cat >conftest.$ac_ext <<_ACEOF
43384 /* confdefs.h. */
43385 _ACEOF
43386 cat confdefs.h >>conftest.$ac_ext
43387 cat >>conftest.$ac_ext <<_ACEOF
43388 /* end confdefs.h. */
43389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43391 #define $ac_func innocuous_$ac_func
43392
43393 /* System header to define __stub macros and hopefully few prototypes,
43394 which can conflict with char $ac_func (); below.
43395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43396 <limits.h> exists even on freestanding compilers. */
43397
43398 #ifdef __STDC__
43399 # include <limits.h>
43400 #else
43401 # include <assert.h>
43402 #endif
43403
43404 #undef $ac_func
43405
43406 /* Override any GCC internal prototype to avoid an error.
43407 Use char because int might match the return type of a GCC
43408 builtin and then its argument prototype would still apply. */
43409 #ifdef __cplusplus
43410 extern "C"
43411 #endif
43412 char $ac_func ();
43413 /* The GNU C library defines this for functions which it implements
43414 to always fail with ENOSYS. Some functions are actually named
43415 something starting with __ and the normal name is an alias. */
43416 #if defined __stub_$ac_func || defined __stub___$ac_func
43417 choke me
43418 #endif
43419
43420 int
43421 main ()
43422 {
43423 return $ac_func ();
43424 ;
43425 return 0;
43426 }
43427 _ACEOF
43428 rm -f conftest.$ac_objext conftest$ac_exeext
43429 if { (ac_try="$ac_link"
43430 case "(($ac_try" in
43431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43432 *) ac_try_echo=$ac_try;;
43433 esac
43434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43435 (eval "$ac_link") 2>conftest.er1
43436 ac_status=$?
43437 grep -v '^ *+' conftest.er1 >conftest.err
43438 rm -f conftest.er1
43439 cat conftest.err >&5
43440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43441 (exit $ac_status); } && {
43442 test -z "$ac_c_werror_flag" ||
43443 test ! -s conftest.err
43444 } && test -s conftest$ac_exeext &&
43445 $as_test_x conftest$ac_exeext; then
43446 eval "$as_ac_var=yes"
43447 else
43448 echo "$as_me: failed program was:" >&5
43449 sed 's/^/| /' conftest.$ac_ext >&5
43450
43451 eval "$as_ac_var=no"
43452 fi
43453
43454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43455 conftest$ac_exeext conftest.$ac_ext
43456 fi
43457 ac_res=`eval echo '${'$as_ac_var'}'`
43458 { echo "$as_me:$LINENO: result: $ac_res" >&5
43459 echo "${ECHO_T}$ac_res" >&6; }
43460 if test `eval echo '${'$as_ac_var'}'` = yes; then
43461 cat >>confdefs.h <<_ACEOF
43462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43463 _ACEOF
43464 break
43465 fi
43466 done
43467
43468
43469 if test "$ac_cv_func_gettimeofday" = "yes"; then
43470 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43471 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43472 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43473 echo $ECHO_N "(cached) $ECHO_C" >&6
43474 else
43475
43476 cat >conftest.$ac_ext <<_ACEOF
43477 /* confdefs.h. */
43478 _ACEOF
43479 cat confdefs.h >>conftest.$ac_ext
43480 cat >>conftest.$ac_ext <<_ACEOF
43481 /* end confdefs.h. */
43482
43483 #include <sys/time.h>
43484 #include <unistd.h>
43485
43486 int
43487 main ()
43488 {
43489
43490 struct timeval tv;
43491 gettimeofday(&tv, NULL);
43492
43493 ;
43494 return 0;
43495 }
43496 _ACEOF
43497 rm -f conftest.$ac_objext
43498 if { (ac_try="$ac_compile"
43499 case "(($ac_try" in
43500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43501 *) ac_try_echo=$ac_try;;
43502 esac
43503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43504 (eval "$ac_compile") 2>conftest.er1
43505 ac_status=$?
43506 grep -v '^ *+' conftest.er1 >conftest.err
43507 rm -f conftest.er1
43508 cat conftest.err >&5
43509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43510 (exit $ac_status); } && {
43511 test -z "$ac_c_werror_flag" ||
43512 test ! -s conftest.err
43513 } && test -s conftest.$ac_objext; then
43514 wx_cv_func_gettimeofday_has_2_args=yes
43515 else
43516 echo "$as_me: failed program was:" >&5
43517 sed 's/^/| /' conftest.$ac_ext >&5
43518
43519 cat >conftest.$ac_ext <<_ACEOF
43520 /* confdefs.h. */
43521 _ACEOF
43522 cat confdefs.h >>conftest.$ac_ext
43523 cat >>conftest.$ac_ext <<_ACEOF
43524 /* end confdefs.h. */
43525
43526 #include <sys/time.h>
43527 #include <unistd.h>
43528
43529 int
43530 main ()
43531 {
43532
43533 struct timeval tv;
43534 gettimeofday(&tv);
43535
43536 ;
43537 return 0;
43538 }
43539 _ACEOF
43540 rm -f conftest.$ac_objext
43541 if { (ac_try="$ac_compile"
43542 case "(($ac_try" in
43543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43544 *) ac_try_echo=$ac_try;;
43545 esac
43546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43547 (eval "$ac_compile") 2>conftest.er1
43548 ac_status=$?
43549 grep -v '^ *+' conftest.er1 >conftest.err
43550 rm -f conftest.er1
43551 cat conftest.err >&5
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); } && {
43554 test -z "$ac_c_werror_flag" ||
43555 test ! -s conftest.err
43556 } && test -s conftest.$ac_objext; then
43557 wx_cv_func_gettimeofday_has_2_args=no
43558 else
43559 echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.$ac_ext >&5
43561
43562
43563 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43564 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43565 wx_cv_func_gettimeofday_has_2_args=unknown
43566
43567
43568 fi
43569
43570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43571
43572 fi
43573
43574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43575
43576 fi
43577 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43578 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43579
43580 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43581 cat >>confdefs.h <<\_ACEOF
43582 #define WX_GETTIMEOFDAY_NO_TZ 1
43583 _ACEOF
43584
43585 fi
43586 fi
43587
43588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43589 fi
43590
43591
43592 if test "$wxUSE_SOCKETS" = "yes"; then
43593 if test "$wxUSE_MGL" = "1"; then
43594 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43595 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43596 wxUSE_SOCKETS="no"
43597 fi
43598 fi
43599
43600 if test "$wxUSE_SOCKETS" = "yes"; then
43601 if test "$TOOLKIT" != "MSW"; then
43602 { echo "$as_me:$LINENO: checking for socket" >&5
43603 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43604 if test "${ac_cv_func_socket+set}" = set; then
43605 echo $ECHO_N "(cached) $ECHO_C" >&6
43606 else
43607 cat >conftest.$ac_ext <<_ACEOF
43608 /* confdefs.h. */
43609 _ACEOF
43610 cat confdefs.h >>conftest.$ac_ext
43611 cat >>conftest.$ac_ext <<_ACEOF
43612 /* end confdefs.h. */
43613 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43615 #define socket innocuous_socket
43616
43617 /* System header to define __stub macros and hopefully few prototypes,
43618 which can conflict with char socket (); below.
43619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43620 <limits.h> exists even on freestanding compilers. */
43621
43622 #ifdef __STDC__
43623 # include <limits.h>
43624 #else
43625 # include <assert.h>
43626 #endif
43627
43628 #undef socket
43629
43630 /* Override any GCC internal prototype to avoid an error.
43631 Use char because int might match the return type of a GCC
43632 builtin and then its argument prototype would still apply. */
43633 #ifdef __cplusplus
43634 extern "C"
43635 #endif
43636 char socket ();
43637 /* The GNU C library defines this for functions which it implements
43638 to always fail with ENOSYS. Some functions are actually named
43639 something starting with __ and the normal name is an alias. */
43640 #if defined __stub_socket || defined __stub___socket
43641 choke me
43642 #endif
43643
43644 int
43645 main ()
43646 {
43647 return socket ();
43648 ;
43649 return 0;
43650 }
43651 _ACEOF
43652 rm -f conftest.$ac_objext conftest$ac_exeext
43653 if { (ac_try="$ac_link"
43654 case "(($ac_try" in
43655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43656 *) ac_try_echo=$ac_try;;
43657 esac
43658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43659 (eval "$ac_link") 2>conftest.er1
43660 ac_status=$?
43661 grep -v '^ *+' conftest.er1 >conftest.err
43662 rm -f conftest.er1
43663 cat conftest.err >&5
43664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665 (exit $ac_status); } && {
43666 test -z "$ac_c_werror_flag" ||
43667 test ! -s conftest.err
43668 } && test -s conftest$ac_exeext &&
43669 $as_test_x conftest$ac_exeext; then
43670 ac_cv_func_socket=yes
43671 else
43672 echo "$as_me: failed program was:" >&5
43673 sed 's/^/| /' conftest.$ac_ext >&5
43674
43675 ac_cv_func_socket=no
43676 fi
43677
43678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43679 conftest$ac_exeext conftest.$ac_ext
43680 fi
43681 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43682 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43683 if test $ac_cv_func_socket = yes; then
43684 :
43685 else
43686
43687 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43688 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43689 if test "${ac_cv_lib_socket_socket+set}" = set; then
43690 echo $ECHO_N "(cached) $ECHO_C" >&6
43691 else
43692 ac_check_lib_save_LIBS=$LIBS
43693 LIBS="-lsocket $LIBS"
43694 cat >conftest.$ac_ext <<_ACEOF
43695 /* confdefs.h. */
43696 _ACEOF
43697 cat confdefs.h >>conftest.$ac_ext
43698 cat >>conftest.$ac_ext <<_ACEOF
43699 /* end confdefs.h. */
43700
43701 /* Override any GCC internal prototype to avoid an error.
43702 Use char because int might match the return type of a GCC
43703 builtin and then its argument prototype would still apply. */
43704 #ifdef __cplusplus
43705 extern "C"
43706 #endif
43707 char socket ();
43708 int
43709 main ()
43710 {
43711 return socket ();
43712 ;
43713 return 0;
43714 }
43715 _ACEOF
43716 rm -f conftest.$ac_objext conftest$ac_exeext
43717 if { (ac_try="$ac_link"
43718 case "(($ac_try" in
43719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43720 *) ac_try_echo=$ac_try;;
43721 esac
43722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43723 (eval "$ac_link") 2>conftest.er1
43724 ac_status=$?
43725 grep -v '^ *+' conftest.er1 >conftest.err
43726 rm -f conftest.er1
43727 cat conftest.err >&5
43728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43729 (exit $ac_status); } && {
43730 test -z "$ac_c_werror_flag" ||
43731 test ! -s conftest.err
43732 } && test -s conftest$ac_exeext &&
43733 $as_test_x conftest$ac_exeext; then
43734 ac_cv_lib_socket_socket=yes
43735 else
43736 echo "$as_me: failed program was:" >&5
43737 sed 's/^/| /' conftest.$ac_ext >&5
43738
43739 ac_cv_lib_socket_socket=no
43740 fi
43741
43742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43743 conftest$ac_exeext conftest.$ac_ext
43744 LIBS=$ac_check_lib_save_LIBS
43745 fi
43746 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43747 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43748 if test $ac_cv_lib_socket_socket = yes; then
43749 if test "$INET_LINK" != " -lsocket"; then
43750 INET_LINK="$INET_LINK -lsocket"
43751 fi
43752 else
43753
43754 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43755 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43756 wxUSE_SOCKETS=no
43757
43758
43759 fi
43760
43761
43762
43763 fi
43764
43765 fi
43766 fi
43767
43768 if test "$wxUSE_SOCKETS" = "yes" ; then
43769 if test "$TOOLKIT" != "MSW"; then
43770 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43771 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43772 if test "${wx_cv_type_getsockname3+set}" = set; then
43773 echo $ECHO_N "(cached) $ECHO_C" >&6
43774 else
43775
43776 ac_ext=cpp
43777 ac_cpp='$CXXCPP $CPPFLAGS'
43778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43781
43782 cat >conftest.$ac_ext <<_ACEOF
43783 /* confdefs.h. */
43784 _ACEOF
43785 cat confdefs.h >>conftest.$ac_ext
43786 cat >>conftest.$ac_ext <<_ACEOF
43787 /* end confdefs.h. */
43788
43789 #include <sys/types.h>
43790 #include <sys/socket.h>
43791
43792 int
43793 main ()
43794 {
43795
43796 socklen_t len;
43797 getsockname(0, 0, &len);
43798
43799 ;
43800 return 0;
43801 }
43802 _ACEOF
43803 rm -f conftest.$ac_objext
43804 if { (ac_try="$ac_compile"
43805 case "(($ac_try" in
43806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43807 *) ac_try_echo=$ac_try;;
43808 esac
43809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43810 (eval "$ac_compile") 2>conftest.er1
43811 ac_status=$?
43812 grep -v '^ *+' conftest.er1 >conftest.err
43813 rm -f conftest.er1
43814 cat conftest.err >&5
43815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43816 (exit $ac_status); } && {
43817 test -z "$ac_cxx_werror_flag" ||
43818 test ! -s conftest.err
43819 } && test -s conftest.$ac_objext; then
43820 wx_cv_type_getsockname3=socklen_t
43821 else
43822 echo "$as_me: failed program was:" >&5
43823 sed 's/^/| /' conftest.$ac_ext >&5
43824
43825
43826 CFLAGS_OLD="$CFLAGS"
43827 if test "$GCC" = yes ; then
43828 CFLAGS="-Werror $CFLAGS"
43829 fi
43830
43831 cat >conftest.$ac_ext <<_ACEOF
43832 /* confdefs.h. */
43833 _ACEOF
43834 cat confdefs.h >>conftest.$ac_ext
43835 cat >>conftest.$ac_ext <<_ACEOF
43836 /* end confdefs.h. */
43837
43838 #include <sys/types.h>
43839 #include <sys/socket.h>
43840
43841 int
43842 main ()
43843 {
43844
43845 size_t len;
43846 getsockname(0, 0, &len);
43847
43848 ;
43849 return 0;
43850 }
43851 _ACEOF
43852 rm -f conftest.$ac_objext
43853 if { (ac_try="$ac_compile"
43854 case "(($ac_try" in
43855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43856 *) ac_try_echo=$ac_try;;
43857 esac
43858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43859 (eval "$ac_compile") 2>conftest.er1
43860 ac_status=$?
43861 grep -v '^ *+' conftest.er1 >conftest.err
43862 rm -f conftest.er1
43863 cat conftest.err >&5
43864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43865 (exit $ac_status); } && {
43866 test -z "$ac_cxx_werror_flag" ||
43867 test ! -s conftest.err
43868 } && test -s conftest.$ac_objext; then
43869 wx_cv_type_getsockname3=size_t
43870 else
43871 echo "$as_me: failed program was:" >&5
43872 sed 's/^/| /' conftest.$ac_ext >&5
43873
43874 cat >conftest.$ac_ext <<_ACEOF
43875 /* confdefs.h. */
43876 _ACEOF
43877 cat confdefs.h >>conftest.$ac_ext
43878 cat >>conftest.$ac_ext <<_ACEOF
43879 /* end confdefs.h. */
43880
43881 #include <sys/types.h>
43882 #include <sys/socket.h>
43883
43884 int
43885 main ()
43886 {
43887
43888 int len;
43889 getsockname(0, 0, &len);
43890
43891 ;
43892 return 0;
43893 }
43894 _ACEOF
43895 rm -f conftest.$ac_objext
43896 if { (ac_try="$ac_compile"
43897 case "(($ac_try" in
43898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43899 *) ac_try_echo=$ac_try;;
43900 esac
43901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43902 (eval "$ac_compile") 2>conftest.er1
43903 ac_status=$?
43904 grep -v '^ *+' conftest.er1 >conftest.err
43905 rm -f conftest.er1
43906 cat conftest.err >&5
43907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43908 (exit $ac_status); } && {
43909 test -z "$ac_cxx_werror_flag" ||
43910 test ! -s conftest.err
43911 } && test -s conftest.$ac_objext; then
43912 wx_cv_type_getsockname3=int
43913 else
43914 echo "$as_me: failed program was:" >&5
43915 sed 's/^/| /' conftest.$ac_ext >&5
43916
43917 wx_cv_type_getsockname3=unknown
43918
43919 fi
43920
43921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43922
43923 fi
43924
43925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43926
43927 CFLAGS="$CFLAGS_OLD"
43928
43929
43930 fi
43931
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933 ac_ext=c
43934 ac_cpp='$CPP $CPPFLAGS'
43935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43938
43939
43940 fi
43941 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43942 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43943
43944 if test "$wx_cv_type_getsockname3" = "unknown"; then
43945 wxUSE_SOCKETS=no
43946 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43947 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43948 else
43949 cat >>confdefs.h <<_ACEOF
43950 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43951 _ACEOF
43952
43953 fi
43954 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43955 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43956 if test "${wx_cv_type_getsockopt5+set}" = set; then
43957 echo $ECHO_N "(cached) $ECHO_C" >&6
43958 else
43959
43960 ac_ext=cpp
43961 ac_cpp='$CXXCPP $CPPFLAGS'
43962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43965
43966 cat >conftest.$ac_ext <<_ACEOF
43967 /* confdefs.h. */
43968 _ACEOF
43969 cat confdefs.h >>conftest.$ac_ext
43970 cat >>conftest.$ac_ext <<_ACEOF
43971 /* end confdefs.h. */
43972
43973 #include <sys/types.h>
43974 #include <sys/socket.h>
43975
43976 int
43977 main ()
43978 {
43979
43980 socklen_t len;
43981 getsockopt(0, 0, 0, 0, &len);
43982
43983 ;
43984 return 0;
43985 }
43986 _ACEOF
43987 rm -f conftest.$ac_objext
43988 if { (ac_try="$ac_compile"
43989 case "(($ac_try" in
43990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43991 *) ac_try_echo=$ac_try;;
43992 esac
43993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43994 (eval "$ac_compile") 2>conftest.er1
43995 ac_status=$?
43996 grep -v '^ *+' conftest.er1 >conftest.err
43997 rm -f conftest.er1
43998 cat conftest.err >&5
43999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44000 (exit $ac_status); } && {
44001 test -z "$ac_cxx_werror_flag" ||
44002 test ! -s conftest.err
44003 } && test -s conftest.$ac_objext; then
44004 wx_cv_type_getsockopt5=socklen_t
44005 else
44006 echo "$as_me: failed program was:" >&5
44007 sed 's/^/| /' conftest.$ac_ext >&5
44008
44009
44010 cat >conftest.$ac_ext <<_ACEOF
44011 /* confdefs.h. */
44012 _ACEOF
44013 cat confdefs.h >>conftest.$ac_ext
44014 cat >>conftest.$ac_ext <<_ACEOF
44015 /* end confdefs.h. */
44016
44017 #include <sys/types.h>
44018 #include <sys/socket.h>
44019
44020 int
44021 main ()
44022 {
44023
44024 size_t len;
44025 getsockopt(0, 0, 0, 0, &len);
44026
44027 ;
44028 return 0;
44029 }
44030 _ACEOF
44031 rm -f conftest.$ac_objext
44032 if { (ac_try="$ac_compile"
44033 case "(($ac_try" in
44034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44035 *) ac_try_echo=$ac_try;;
44036 esac
44037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44038 (eval "$ac_compile") 2>conftest.er1
44039 ac_status=$?
44040 grep -v '^ *+' conftest.er1 >conftest.err
44041 rm -f conftest.er1
44042 cat conftest.err >&5
44043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44044 (exit $ac_status); } && {
44045 test -z "$ac_cxx_werror_flag" ||
44046 test ! -s conftest.err
44047 } && test -s conftest.$ac_objext; then
44048 wx_cv_type_getsockopt5=size_t
44049 else
44050 echo "$as_me: failed program was:" >&5
44051 sed 's/^/| /' conftest.$ac_ext >&5
44052
44053 cat >conftest.$ac_ext <<_ACEOF
44054 /* confdefs.h. */
44055 _ACEOF
44056 cat confdefs.h >>conftest.$ac_ext
44057 cat >>conftest.$ac_ext <<_ACEOF
44058 /* end confdefs.h. */
44059
44060 #include <sys/types.h>
44061 #include <sys/socket.h>
44062
44063 int
44064 main ()
44065 {
44066
44067 int len;
44068 getsockopt(0, 0, 0, 0, &len);
44069
44070 ;
44071 return 0;
44072 }
44073 _ACEOF
44074 rm -f conftest.$ac_objext
44075 if { (ac_try="$ac_compile"
44076 case "(($ac_try" in
44077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44078 *) ac_try_echo=$ac_try;;
44079 esac
44080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44081 (eval "$ac_compile") 2>conftest.er1
44082 ac_status=$?
44083 grep -v '^ *+' conftest.er1 >conftest.err
44084 rm -f conftest.er1
44085 cat conftest.err >&5
44086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44087 (exit $ac_status); } && {
44088 test -z "$ac_cxx_werror_flag" ||
44089 test ! -s conftest.err
44090 } && test -s conftest.$ac_objext; then
44091 wx_cv_type_getsockopt5=int
44092 else
44093 echo "$as_me: failed program was:" >&5
44094 sed 's/^/| /' conftest.$ac_ext >&5
44095
44096 wx_cv_type_getsockopt5=unknown
44097
44098 fi
44099
44100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44101
44102 fi
44103
44104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44105
44106
44107 fi
44108
44109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44110 ac_ext=c
44111 ac_cpp='$CPP $CPPFLAGS'
44112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44115
44116
44117 fi
44118 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44119 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44120
44121 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44122 wxUSE_SOCKETS=no
44123 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44124 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44125 else
44126 cat >>confdefs.h <<_ACEOF
44127 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44128 _ACEOF
44129
44130 fi
44131 fi
44132 fi
44133
44134 if test "$wxUSE_SOCKETS" = "yes" ; then
44135 cat >>confdefs.h <<\_ACEOF
44136 #define wxUSE_SOCKETS 1
44137 _ACEOF
44138
44139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44140 fi
44141
44142 if test "$wxUSE_PROTOCOL" = "yes"; then
44143 if test "$wxUSE_SOCKETS" != "yes"; then
44144 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44145 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44146 wxUSE_PROTOCOL=no
44147 fi
44148 fi
44149
44150 if test "$wxUSE_PROTOCOL" = "yes"; then
44151 cat >>confdefs.h <<\_ACEOF
44152 #define wxUSE_PROTOCOL 1
44153 _ACEOF
44154
44155
44156 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44157 cat >>confdefs.h <<\_ACEOF
44158 #define wxUSE_PROTOCOL_HTTP 1
44159 _ACEOF
44160
44161 fi
44162 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44163 cat >>confdefs.h <<\_ACEOF
44164 #define wxUSE_PROTOCOL_FTP 1
44165 _ACEOF
44166
44167 fi
44168 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44169 cat >>confdefs.h <<\_ACEOF
44170 #define wxUSE_PROTOCOL_FILE 1
44171 _ACEOF
44172
44173 fi
44174 else
44175 if test "$wxUSE_FS_INET" = "yes"; then
44176 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44177 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44178 wxUSE_FS_INET="no"
44179 fi
44180 fi
44181
44182 if test "$wxUSE_URL" = "yes"; then
44183 if test "$wxUSE_PROTOCOL" != "yes"; then
44184 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44185 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44186 wxUSE_URL=no
44187 fi
44188 if test "$wxUSE_URL" = "yes"; then
44189 cat >>confdefs.h <<\_ACEOF
44190 #define wxUSE_URL 1
44191 _ACEOF
44192
44193 fi
44194 fi
44195
44196 if test "$wxUSE_VARIANT" = "yes"; then
44197 cat >>confdefs.h <<\_ACEOF
44198 #define wxUSE_VARIANT 1
44199 _ACEOF
44200
44201 fi
44202
44203 if test "$wxUSE_FS_INET" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_FS_INET 1
44206 _ACEOF
44207
44208 fi
44209
44210
44211 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44212 wxUSE_JOYSTICK=no
44213
44214 if test "$TOOLKIT" = "MSW"; then
44215 wxUSE_JOYSTICK=yes
44216
44217 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44218 if test "$USE_DARWIN" = 1; then
44219 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44220 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44221 ac_ext=cpp
44222 ac_cpp='$CXXCPP $CPPFLAGS'
44223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44226
44227 cat >conftest.$ac_ext <<_ACEOF
44228 /* confdefs.h. */
44229 _ACEOF
44230 cat confdefs.h >>conftest.$ac_ext
44231 cat >>conftest.$ac_ext <<_ACEOF
44232 /* end confdefs.h. */
44233 #include <IOKit/hid/IOHIDLib.h>
44234 int
44235 main ()
44236 {
44237 IOHIDQueueInterface *qi = NULL;
44238 IOHIDCallbackFunction cb = NULL;
44239 qi->setEventCallout(NULL, cb, NULL, NULL);
44240 ;
44241 return 0;
44242 }
44243 _ACEOF
44244 rm -f conftest.$ac_objext
44245 if { (ac_try="$ac_compile"
44246 case "(($ac_try" in
44247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44248 *) ac_try_echo=$ac_try;;
44249 esac
44250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44251 (eval "$ac_compile") 2>conftest.er1
44252 ac_status=$?
44253 grep -v '^ *+' conftest.er1 >conftest.err
44254 rm -f conftest.er1
44255 cat conftest.err >&5
44256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44257 (exit $ac_status); } && {
44258 test -z "$ac_cxx_werror_flag" ||
44259 test ! -s conftest.err
44260 } && test -s conftest.$ac_objext; then
44261 wxUSE_JOYSTICK=yes
44262
44263 else
44264 echo "$as_me: failed program was:" >&5
44265 sed 's/^/| /' conftest.$ac_ext >&5
44266
44267
44268 fi
44269
44270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44271 ac_ext=c
44272 ac_cpp='$CPP $CPPFLAGS'
44273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44276
44277 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44278 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44279 fi
44280
44281 else
44282 if test "$wxUSE_MGL" != "1"; then
44283 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
44284 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
44285 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
44286 echo $ECHO_N "(cached) $ECHO_C" >&6
44287 else
44288 cat >conftest.$ac_ext <<_ACEOF
44289 /* confdefs.h. */
44290 _ACEOF
44291 cat confdefs.h >>conftest.$ac_ext
44292 cat >>conftest.$ac_ext <<_ACEOF
44293 /* end confdefs.h. */
44294 $ac_includes_default
44295
44296 #include <linux/joystick.h>
44297 _ACEOF
44298 rm -f conftest.$ac_objext
44299 if { (ac_try="$ac_compile"
44300 case "(($ac_try" in
44301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44302 *) ac_try_echo=$ac_try;;
44303 esac
44304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44305 (eval "$ac_compile") 2>conftest.er1
44306 ac_status=$?
44307 grep -v '^ *+' conftest.er1 >conftest.err
44308 rm -f conftest.er1
44309 cat conftest.err >&5
44310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44311 (exit $ac_status); } && {
44312 test -z "$ac_c_werror_flag" ||
44313 test ! -s conftest.err
44314 } && test -s conftest.$ac_objext; then
44315 ac_cv_header_linux_joystick_h=yes
44316 else
44317 echo "$as_me: failed program was:" >&5
44318 sed 's/^/| /' conftest.$ac_ext >&5
44319
44320 ac_cv_header_linux_joystick_h=no
44321 fi
44322
44323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44324 fi
44325 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
44326 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
44327 if test $ac_cv_header_linux_joystick_h = yes; then
44328 wxUSE_JOYSTICK=yes
44329 fi
44330
44331
44332 fi
44333 fi
44334
44335 if test "$wxUSE_JOYSTICK" = "yes"; then
44336 cat >>confdefs.h <<\_ACEOF
44337 #define wxUSE_JOYSTICK 1
44338 _ACEOF
44339
44340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44341 else
44342 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44343 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44344 fi
44345 fi
44346
44347
44348
44349 if test "$wxUSE_FONTMAP" = "yes" ; then
44350 cat >>confdefs.h <<\_ACEOF
44351 #define wxUSE_FONTMAP 1
44352 _ACEOF
44353
44354 fi
44355
44356 if test "$wxUSE_UNICODE" = "yes" ; then
44357 cat >>confdefs.h <<\_ACEOF
44358 #define wxUSE_UNICODE 1
44359 _ACEOF
44360
44361
44362 if test "$USE_WIN32" != 1; then
44363 wxUSE_UNICODE_MSLU=no
44364 fi
44365
44366 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44367 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44368 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44369 if test "${ac_cv_lib_unicows_main+set}" = set; then
44370 echo $ECHO_N "(cached) $ECHO_C" >&6
44371 else
44372 ac_check_lib_save_LIBS=$LIBS
44373 LIBS="-lunicows $LIBS"
44374 cat >conftest.$ac_ext <<_ACEOF
44375 /* confdefs.h. */
44376 _ACEOF
44377 cat confdefs.h >>conftest.$ac_ext
44378 cat >>conftest.$ac_ext <<_ACEOF
44379 /* end confdefs.h. */
44380
44381
44382 int
44383 main ()
44384 {
44385 return main ();
44386 ;
44387 return 0;
44388 }
44389 _ACEOF
44390 rm -f conftest.$ac_objext conftest$ac_exeext
44391 if { (ac_try="$ac_link"
44392 case "(($ac_try" in
44393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44394 *) ac_try_echo=$ac_try;;
44395 esac
44396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44397 (eval "$ac_link") 2>conftest.er1
44398 ac_status=$?
44399 grep -v '^ *+' conftest.er1 >conftest.err
44400 rm -f conftest.er1
44401 cat conftest.err >&5
44402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44403 (exit $ac_status); } && {
44404 test -z "$ac_c_werror_flag" ||
44405 test ! -s conftest.err
44406 } && test -s conftest$ac_exeext &&
44407 $as_test_x conftest$ac_exeext; then
44408 ac_cv_lib_unicows_main=yes
44409 else
44410 echo "$as_me: failed program was:" >&5
44411 sed 's/^/| /' conftest.$ac_ext >&5
44412
44413 ac_cv_lib_unicows_main=no
44414 fi
44415
44416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44417 conftest$ac_exeext conftest.$ac_ext
44418 LIBS=$ac_check_lib_save_LIBS
44419 fi
44420 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44421 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44422 if test $ac_cv_lib_unicows_main = yes; then
44423
44424 cat >>confdefs.h <<\_ACEOF
44425 #define wxUSE_UNICODE_MSLU 1
44426 _ACEOF
44427
44428
44429 else
44430
44431 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44432 Applications will only run on Windows NT/2000/XP!" >&5
44433 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44434 Applications will only run on Windows NT/2000/XP!" >&2;}
44435 wxUSE_UNICODE_MSLU=no
44436
44437 fi
44438
44439 fi
44440 fi
44441
44442 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_UNICODE_UTF8 1
44445 _ACEOF
44446
44447
44448 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_UTF8_LOCALE_ONLY 1
44451 _ACEOF
44452
44453 fi
44454 fi
44455
44456 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44457 cat >>confdefs.h <<\_ACEOF
44458 #define wxUSE_EXPERIMENTAL_PRINTF 1
44459 _ACEOF
44460
44461 fi
44462
44463
44464 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_POSTSCRIPT 1
44467 _ACEOF
44468
44469 fi
44470
44471 cat >>confdefs.h <<\_ACEOF
44472 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44473 _ACEOF
44474
44475
44476 cat >>confdefs.h <<\_ACEOF
44477 #define wxUSE_NORMALIZED_PS_FONTS 1
44478 _ACEOF
44479
44480
44481
44482 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44483 cat >>confdefs.h <<\_ACEOF
44484 #define wxUSE_CONSTRAINTS 1
44485 _ACEOF
44486
44487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44488 fi
44489
44490 if test "$wxUSE_MDI" = "yes"; then
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_MDI 1
44493 _ACEOF
44494
44495
44496 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_MDI_ARCHITECTURE 1
44499 _ACEOF
44500
44501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44502 fi
44503 fi
44504
44505 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44506 cat >>confdefs.h <<\_ACEOF
44507 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44508 _ACEOF
44509
44510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44511 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44513 fi
44514 fi
44515
44516 if test "$wxUSE_HELP" = "yes"; then
44517 cat >>confdefs.h <<\_ACEOF
44518 #define wxUSE_HELP 1
44519 _ACEOF
44520
44521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44522
44523 if test "$wxUSE_MSW" = 1; then
44524 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44525 cat >>confdefs.h <<\_ACEOF
44526 #define wxUSE_MS_HTML_HELP 1
44527 _ACEOF
44528
44529 fi
44530 fi
44531
44532 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44533 if test "$wxUSE_HTML" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define wxUSE_WXHTML_HELP 1
44536 _ACEOF
44537
44538 else
44539 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44540 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44541 wxUSE_WXHTML_HELP=no
44542 fi
44543 fi
44544 fi
44545
44546 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44547 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44548 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44549 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44550 else
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_PRINTING_ARCHITECTURE 1
44553 _ACEOF
44554
44555 fi
44556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44557 fi
44558
44559
44560
44561 if test "$wxUSE_METAFILE" = "yes"; then
44562 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44563 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44564 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44565 wxUSE_METAFILE=no
44566 fi
44567 fi
44568
44569
44570 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44571 -o "$wxUSE_CLIPBOARD" = "yes" \
44572 -o "$wxUSE_OLE" = "yes" \
44573 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44574 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44575 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44576 if test "${ac_cv_header_ole2_h+set}" = set; then
44577 echo $ECHO_N "(cached) $ECHO_C" >&6
44578 else
44579 cat >conftest.$ac_ext <<_ACEOF
44580 /* confdefs.h. */
44581 _ACEOF
44582 cat confdefs.h >>conftest.$ac_ext
44583 cat >>conftest.$ac_ext <<_ACEOF
44584 /* end confdefs.h. */
44585
44586
44587 #include <ole2.h>
44588 _ACEOF
44589 rm -f conftest.$ac_objext
44590 if { (ac_try="$ac_compile"
44591 case "(($ac_try" in
44592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44593 *) ac_try_echo=$ac_try;;
44594 esac
44595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44596 (eval "$ac_compile") 2>conftest.er1
44597 ac_status=$?
44598 grep -v '^ *+' conftest.er1 >conftest.err
44599 rm -f conftest.er1
44600 cat conftest.err >&5
44601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44602 (exit $ac_status); } && {
44603 test -z "$ac_c_werror_flag" ||
44604 test ! -s conftest.err
44605 } && test -s conftest.$ac_objext; then
44606 ac_cv_header_ole2_h=yes
44607 else
44608 echo "$as_me: failed program was:" >&5
44609 sed 's/^/| /' conftest.$ac_ext >&5
44610
44611 ac_cv_header_ole2_h=no
44612 fi
44613
44614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44615 fi
44616 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44617 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44618
44619
44620
44621 if test "$ac_cv_header_ole2_h" = "yes" ; then
44622 if test "$GCC" = yes ; then
44623 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44624 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44625 cat >conftest.$ac_ext <<_ACEOF
44626 /* confdefs.h. */
44627 _ACEOF
44628 cat confdefs.h >>conftest.$ac_ext
44629 cat >>conftest.$ac_ext <<_ACEOF
44630 /* end confdefs.h. */
44631 #include <windows.h>
44632 #include <ole2.h>
44633 int
44634 main ()
44635 {
44636
44637 ;
44638 return 0;
44639 }
44640 _ACEOF
44641 rm -f conftest.$ac_objext
44642 if { (ac_try="$ac_compile"
44643 case "(($ac_try" in
44644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44645 *) ac_try_echo=$ac_try;;
44646 esac
44647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44648 (eval "$ac_compile") 2>conftest.er1
44649 ac_status=$?
44650 grep -v '^ *+' conftest.er1 >conftest.err
44651 rm -f conftest.er1
44652 cat conftest.err >&5
44653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44654 (exit $ac_status); } && {
44655 test -z "$ac_c_werror_flag" ||
44656 test ! -s conftest.err
44657 } && test -s conftest.$ac_objext; then
44658 { echo "$as_me:$LINENO: result: no" >&5
44659 echo "${ECHO_T}no" >&6; }
44660 else
44661 echo "$as_me: failed program was:" >&5
44662 sed 's/^/| /' conftest.$ac_ext >&5
44663
44664 { echo "$as_me:$LINENO: result: yes" >&5
44665 echo "${ECHO_T}yes" >&6; }
44666 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44667 fi
44668
44669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44670 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44671 if test "$wxUSE_OLE" = "yes" ; then
44672 cat >>confdefs.h <<\_ACEOF
44673 #define wxUSE_OLE 1
44674 _ACEOF
44675
44676 cat >>confdefs.h <<\_ACEOF
44677 #define wxUSE_OLE_AUTOMATION 1
44678 _ACEOF
44679
44680 cat >>confdefs.h <<\_ACEOF
44681 #define wxUSE_ACTIVEX 1
44682 _ACEOF
44683
44684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44685 fi
44686 fi
44687
44688 if test "$wxUSE_DATAOBJ" = "yes" ; then
44689 cat >>confdefs.h <<\_ACEOF
44690 #define wxUSE_DATAOBJ 1
44691 _ACEOF
44692
44693 fi
44694 else
44695 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44696 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44697
44698 wxUSE_CLIPBOARD=no
44699 wxUSE_DRAG_AND_DROP=no
44700 wxUSE_DATAOBJ=no
44701 wxUSE_OLE=no
44702 fi
44703
44704 if test "$wxUSE_METAFILE" = "yes"; then
44705 cat >>confdefs.h <<\_ACEOF
44706 #define wxUSE_METAFILE 1
44707 _ACEOF
44708
44709
44710 cat >>confdefs.h <<\_ACEOF
44711 #define wxUSE_ENH_METAFILE 1
44712 _ACEOF
44713
44714 fi
44715 fi
44716
44717 if test "$wxUSE_IPC" = "yes"; then
44718 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44719 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44720 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44721 wxUSE_IPC=no
44722 fi
44723
44724 if test "$wxUSE_IPC" = "yes"; then
44725 cat >>confdefs.h <<\_ACEOF
44726 #define wxUSE_IPC 1
44727 _ACEOF
44728
44729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44730 fi
44731 fi
44732
44733 if test "$wxUSE_DATAOBJ" = "yes"; then
44734 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44735 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44736 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44737 wxUSE_DATAOBJ=no
44738 else
44739 cat >>confdefs.h <<\_ACEOF
44740 #define wxUSE_DATAOBJ 1
44741 _ACEOF
44742
44743 fi
44744 else
44745 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44746 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44747 wxUSE_CLIPBOARD=no
44748 wxUSE_DRAG_AND_DROP=no
44749 fi
44750
44751 if test "$wxUSE_CLIPBOARD" = "yes"; then
44752 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44753 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44754 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44755 wxUSE_CLIPBOARD=no
44756 fi
44757
44758 if test "$wxUSE_CLIPBOARD" = "yes"; then
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_CLIPBOARD 1
44761 _ACEOF
44762
44763 fi
44764 fi
44765
44766 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44767 if test "$wxUSE_GTK" = 1; then
44768 if test "$WXGTK12" != 1; then
44769 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44770 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44771 wxUSE_DRAG_AND_DROP=no
44772 fi
44773 fi
44774
44775 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44776 "$wxUSE_DFB" = 1; then
44777 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44778 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44779 wxUSE_DRAG_AND_DROP=no
44780 fi
44781
44782 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44783 cat >>confdefs.h <<\_ACEOF
44784 #define wxUSE_DRAG_AND_DROP 1
44785 _ACEOF
44786
44787 fi
44788
44789 fi
44790
44791 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44793 fi
44794
44795 if test "$wxUSE_SPLINES" = "yes" ; then
44796 cat >>confdefs.h <<\_ACEOF
44797 #define wxUSE_SPLINES 1
44798 _ACEOF
44799
44800 fi
44801
44802 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44803 cat >>confdefs.h <<\_ACEOF
44804 #define wxUSE_MOUSEWHEEL 1
44805 _ACEOF
44806
44807 fi
44808
44809
44810 USES_CONTROLS=0
44811 if test "$wxUSE_CONTROLS" = "yes"; then
44812 USES_CONTROLS=1
44813 fi
44814
44815 if test "$wxUSE_ACCEL" = "yes"; then
44816 cat >>confdefs.h <<\_ACEOF
44817 #define wxUSE_ACCEL 1
44818 _ACEOF
44819
44820 USES_CONTROLS=1
44821 fi
44822
44823 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_ANIMATIONCTRL 1
44826 _ACEOF
44827
44828 USES_CONTROLS=1
44829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44830 fi
44831
44832 if test "$wxUSE_BUTTON" = "yes"; then
44833 cat >>confdefs.h <<\_ACEOF
44834 #define wxUSE_BUTTON 1
44835 _ACEOF
44836
44837 USES_CONTROLS=1
44838 fi
44839
44840 if test "$wxUSE_BMPBUTTON" = "yes"; then
44841 cat >>confdefs.h <<\_ACEOF
44842 #define wxUSE_BMPBUTTON 1
44843 _ACEOF
44844
44845 USES_CONTROLS=1
44846 fi
44847
44848 if test "$wxUSE_CALCTRL" = "yes"; then
44849 cat >>confdefs.h <<\_ACEOF
44850 #define wxUSE_CALENDARCTRL 1
44851 _ACEOF
44852
44853 USES_CONTROLS=1
44854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44855 fi
44856
44857 if test "$wxUSE_CARET" = "yes"; then
44858 cat >>confdefs.h <<\_ACEOF
44859 #define wxUSE_CARET 1
44860 _ACEOF
44861
44862 USES_CONTROLS=1
44863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44864 fi
44865
44866 if test "$wxUSE_COLLPANE" = "yes"; then
44867 cat >>confdefs.h <<\_ACEOF
44868 #define wxUSE_COLLPANE 1
44869 _ACEOF
44870
44871 USES_CONTROLS=1
44872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44873 fi
44874
44875 if test "$wxUSE_COMBOBOX" = "yes"; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_COMBOBOX 1
44878 _ACEOF
44879
44880 USES_CONTROLS=1
44881 fi
44882
44883 if test "$wxUSE_COMBOCTRL" = "yes"; then
44884 cat >>confdefs.h <<\_ACEOF
44885 #define wxUSE_COMBOCTRL 1
44886 _ACEOF
44887
44888 USES_CONTROLS=1
44889 fi
44890
44891 if test "$wxUSE_CHOICE" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_CHOICE 1
44894 _ACEOF
44895
44896 USES_CONTROLS=1
44897 fi
44898
44899 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44900 cat >>confdefs.h <<\_ACEOF
44901 #define wxUSE_CHOICEBOOK 1
44902 _ACEOF
44903
44904 USES_CONTROLS=1
44905 fi
44906
44907 if test "$wxUSE_CHECKBOX" = "yes"; then
44908 cat >>confdefs.h <<\_ACEOF
44909 #define wxUSE_CHECKBOX 1
44910 _ACEOF
44911
44912 USES_CONTROLS=1
44913 fi
44914
44915 if test "$wxUSE_CHECKLST" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_CHECKLISTBOX 1
44918 _ACEOF
44919
44920 USES_CONTROLS=1
44921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44922 fi
44923
44924 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44925 cat >>confdefs.h <<\_ACEOF
44926 #define wxUSE_COLOURPICKERCTRL 1
44927 _ACEOF
44928
44929 USES_CONTROLS=1
44930 fi
44931
44932 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_DATEPICKCTRL 1
44935 _ACEOF
44936
44937 USES_CONTROLS=1
44938 fi
44939
44940 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44941 cat >>confdefs.h <<\_ACEOF
44942 #define wxUSE_DIRPICKERCTRL 1
44943 _ACEOF
44944
44945 USES_CONTROLS=1
44946 fi
44947
44948 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44949 cat >>confdefs.h <<\_ACEOF
44950 #define wxUSE_FILEPICKERCTRL 1
44951 _ACEOF
44952
44953 USES_CONTROLS=1
44954 fi
44955
44956 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44957 cat >>confdefs.h <<\_ACEOF
44958 #define wxUSE_FONTPICKERCTRL 1
44959 _ACEOF
44960
44961 USES_CONTROLS=1
44962 fi
44963
44964 if test "$wxUSE_DISPLAY" = "yes"; then
44965 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44966 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44967 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44968 wxUSE_DISPLAY=no
44969 else
44970 cat >>confdefs.h <<\_ACEOF
44971 #define wxUSE_DISPLAY 1
44972 _ACEOF
44973
44974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44975 fi
44976 fi
44977
44978 if test "$wxUSE_DETECT_SM" = "yes"; then
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_DETECT_SM 1
44981 _ACEOF
44982
44983 fi
44984
44985 if test "$wxUSE_GAUGE" = "yes"; then
44986 cat >>confdefs.h <<\_ACEOF
44987 #define wxUSE_GAUGE 1
44988 _ACEOF
44989
44990 USES_CONTROLS=1
44991 fi
44992
44993 if test "$wxUSE_GRID" = "yes"; then
44994 cat >>confdefs.h <<\_ACEOF
44995 #define wxUSE_GRID 1
44996 _ACEOF
44997
44998 USES_CONTROLS=1
44999 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45000 fi
45001
45002 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45003 cat >>confdefs.h <<\_ACEOF
45004 #define wxUSE_HYPERLINKCTRL 1
45005 _ACEOF
45006
45007 USES_CONTROLS=1
45008 fi
45009
45010 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_BITMAPCOMBOBOX 1
45013 _ACEOF
45014
45015 USES_CONTROLS=1
45016 fi
45017
45018 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_DATAVIEWCTRL 1
45021 _ACEOF
45022
45023 USES_CONTROLS=1
45024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45025 fi
45026
45027 if test "$wxUSE_IMAGLIST" = "yes"; then
45028 cat >>confdefs.h <<\_ACEOF
45029 #define wxUSE_IMAGLIST 1
45030 _ACEOF
45031
45032 fi
45033
45034 if test "$wxUSE_LISTBOOK" = "yes"; then
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_LISTBOOK 1
45037 _ACEOF
45038
45039 USES_CONTROLS=1
45040 fi
45041
45042 if test "$wxUSE_LISTBOX" = "yes"; then
45043 cat >>confdefs.h <<\_ACEOF
45044 #define wxUSE_LISTBOX 1
45045 _ACEOF
45046
45047 USES_CONTROLS=1
45048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45049 fi
45050
45051 if test "$wxUSE_LISTCTRL" = "yes"; then
45052 if test "$wxUSE_IMAGLIST" = "yes"; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_LISTCTRL 1
45055 _ACEOF
45056
45057 USES_CONTROLS=1
45058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45059 else
45060 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45061 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45062 fi
45063 fi
45064
45065 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_EDITABLELISTBOX 1
45068 _ACEOF
45069
45070 USES_CONTROLS=1
45071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45072 fi
45073
45074 if test "$wxUSE_NOTEBOOK" = "yes"; then
45075 cat >>confdefs.h <<\_ACEOF
45076 #define wxUSE_NOTEBOOK 1
45077 _ACEOF
45078
45079 USES_CONTROLS=1
45080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45081 fi
45082
45083 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45084 cat >>confdefs.h <<\_ACEOF
45085 #define wxUSE_ODCOMBOBOX 1
45086 _ACEOF
45087
45088 USES_CONTROLS=1
45089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45090 fi
45091
45092
45093 if test "$wxUSE_RADIOBOX" = "yes"; then
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_RADIOBOX 1
45096 _ACEOF
45097
45098 USES_CONTROLS=1
45099 fi
45100
45101 if test "$wxUSE_RADIOBTN" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_RADIOBTN 1
45104 _ACEOF
45105
45106 USES_CONTROLS=1
45107 fi
45108
45109 if test "$wxUSE_SASH" = "yes"; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_SASH 1
45112 _ACEOF
45113
45114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45115 fi
45116
45117 if test "$wxUSE_SCROLLBAR" = "yes"; then
45118 cat >>confdefs.h <<\_ACEOF
45119 #define wxUSE_SCROLLBAR 1
45120 _ACEOF
45121
45122 USES_CONTROLS=1
45123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45124 fi
45125
45126 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_SEARCHCTRL 1
45129 _ACEOF
45130
45131 USES_CONTROLS=1
45132 fi
45133
45134 if test "$wxUSE_SLIDER" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_SLIDER 1
45137 _ACEOF
45138
45139 USES_CONTROLS=1
45140 fi
45141
45142 if test "$wxUSE_SPINBTN" = "yes"; then
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_SPINBTN 1
45145 _ACEOF
45146
45147 USES_CONTROLS=1
45148 fi
45149
45150 if test "$wxUSE_SPINCTRL" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_SPINCTRL 1
45153 _ACEOF
45154
45155 USES_CONTROLS=1
45156 fi
45157
45158 if test "$wxUSE_SPLITTER" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_SPLITTER 1
45161 _ACEOF
45162
45163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45164 fi
45165
45166 if test "$wxUSE_STATBMP" = "yes"; then
45167 cat >>confdefs.h <<\_ACEOF
45168 #define wxUSE_STATBMP 1
45169 _ACEOF
45170
45171 USES_CONTROLS=1
45172 fi
45173
45174 if test "$wxUSE_STATBOX" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_STATBOX 1
45177 _ACEOF
45178
45179 USES_CONTROLS=1
45180 fi
45181
45182 if test "$wxUSE_STATTEXT" = "yes"; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_STATTEXT 1
45185 _ACEOF
45186
45187 USES_CONTROLS=1
45188 fi
45189
45190 if test "$wxUSE_STATLINE" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_STATLINE 1
45193 _ACEOF
45194
45195 USES_CONTROLS=1
45196 fi
45197
45198 if test "$wxUSE_STATUSBAR" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_NATIVE_STATUSBAR 1
45201 _ACEOF
45202
45203 cat >>confdefs.h <<\_ACEOF
45204 #define wxUSE_STATUSBAR 1
45205 _ACEOF
45206
45207 USES_CONTROLS=1
45208
45209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45210 fi
45211
45212 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_TAB_DIALOG 1
45215 _ACEOF
45216
45217 fi
45218
45219 if test "$wxUSE_TEXTCTRL" = "yes"; then
45220 cat >>confdefs.h <<\_ACEOF
45221 #define wxUSE_TEXTCTRL 1
45222 _ACEOF
45223
45224 USES_CONTROLS=1
45225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45226 fi
45227
45228 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45229 if test "$wxUSE_COCOA" = 1 ; then
45230 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45231 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45232 wxUSE_TOGGLEBTN=no
45233 fi
45234
45235 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45236 cat >>confdefs.h <<\_ACEOF
45237 #define wxUSE_TOGGLEBTN 1
45238 _ACEOF
45239
45240 USES_CONTROLS=1
45241 fi
45242 fi
45243
45244 if test "$wxUSE_TOOLBAR" = "yes"; then
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_TOOLBAR 1
45247 _ACEOF
45248
45249 USES_CONTROLS=1
45250
45251 if test "$wxUSE_UNIVERSAL" = "yes"; then
45252 wxUSE_TOOLBAR_NATIVE="no"
45253 else
45254 wxUSE_TOOLBAR_NATIVE="yes"
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_TOOLBAR_NATIVE 1
45257 _ACEOF
45258
45259 fi
45260
45261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45262 fi
45263
45264 if test "$wxUSE_TOOLTIPS" = "yes"; then
45265 if test "$wxUSE_MOTIF" = 1; then
45266 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45267 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45268 else
45269 if test "$wxUSE_UNIVERSAL" = "yes"; then
45270 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45271 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45272 else
45273 cat >>confdefs.h <<\_ACEOF
45274 #define wxUSE_TOOLTIPS 1
45275 _ACEOF
45276
45277 fi
45278 fi
45279 fi
45280
45281 if test "$wxUSE_TREEBOOK" = "yes"; then
45282 cat >>confdefs.h <<\_ACEOF
45283 #define wxUSE_TREEBOOK 1
45284 _ACEOF
45285
45286 USES_CONTROLS=1
45287 fi
45288
45289 if test "$wxUSE_TOOLBOOK" = "yes"; then
45290 cat >>confdefs.h <<\_ACEOF
45291 #define wxUSE_TOOLBOOK 1
45292 _ACEOF
45293
45294 USES_CONTROLS=1
45295 fi
45296
45297 if test "$wxUSE_TREECTRL" = "yes"; then
45298 if test "$wxUSE_IMAGLIST" = "yes"; then
45299 cat >>confdefs.h <<\_ACEOF
45300 #define wxUSE_TREECTRL 1
45301 _ACEOF
45302
45303 USES_CONTROLS=1
45304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45305 else
45306 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45307 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45308 fi
45309 fi
45310
45311 if test "$wxUSE_POPUPWIN" = "yes"; then
45312 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45313 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45314 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45315 else
45316 if test "$wxUSE_PM" = 1; then
45317 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45318 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45319 else
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_POPUPWIN 1
45322 _ACEOF
45323
45324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45325
45326 USES_CONTROLS=1
45327 fi
45328 fi
45329 fi
45330
45331 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45332 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45333 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45334 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45335 else
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_DIALUP_MANAGER 1
45338 _ACEOF
45339
45340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45341 fi
45342 fi
45343
45344 if test "$wxUSE_TIPWINDOW" = "yes"; then
45345 if test "$wxUSE_PM" = 1; then
45346 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45347 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45348 else
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_TIPWINDOW 1
45351 _ACEOF
45352
45353 fi
45354 fi
45355
45356 if test "$USES_CONTROLS" = 1; then
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_CONTROLS 1
45359 _ACEOF
45360
45361 fi
45362
45363
45364 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_ACCESSIBILITY 1
45367 _ACEOF
45368
45369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45370 fi
45371
45372 if test "$wxUSE_DC_CACHEING" = "yes"; then
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_DC_CACHEING 1
45375 _ACEOF
45376
45377 fi
45378
45379 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_DRAGIMAGE 1
45382 _ACEOF
45383
45384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45385 fi
45386
45387 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45388 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45389 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45390 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45391 else
45392 cat >>confdefs.h <<\_ACEOF
45393 #define wxUSE_EXCEPTIONS 1
45394 _ACEOF
45395
45396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45397 fi
45398 fi
45399
45400 USE_HTML=0
45401 if test "$wxUSE_HTML" = "yes"; then
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_HTML 1
45404 _ACEOF
45405
45406 USE_HTML=1
45407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45408 if test "$wxUSE_MAC" = 1; then
45409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45410 fi
45411 fi
45412 if test "$wxUSE_WEBKIT" = "yes"; then
45413 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45414 old_CPPFLAGS="$CPPFLAGS"
45415 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45416 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45417 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45418 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45419 echo $ECHO_N "(cached) $ECHO_C" >&6
45420 else
45421 cat >conftest.$ac_ext <<_ACEOF
45422 /* confdefs.h. */
45423 _ACEOF
45424 cat confdefs.h >>conftest.$ac_ext
45425 cat >>conftest.$ac_ext <<_ACEOF
45426 /* end confdefs.h. */
45427
45428 #include <Carbon/Carbon.h>
45429 #include <WebKit/WebKit.h>
45430
45431
45432 #include <WebKit/HIWebView.h>
45433 _ACEOF
45434 rm -f conftest.$ac_objext
45435 if { (ac_try="$ac_compile"
45436 case "(($ac_try" in
45437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45438 *) ac_try_echo=$ac_try;;
45439 esac
45440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45441 (eval "$ac_compile") 2>conftest.er1
45442 ac_status=$?
45443 grep -v '^ *+' conftest.er1 >conftest.err
45444 rm -f conftest.er1
45445 cat conftest.err >&5
45446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447 (exit $ac_status); } && {
45448 test -z "$ac_c_werror_flag" ||
45449 test ! -s conftest.err
45450 } && test -s conftest.$ac_objext; then
45451 ac_cv_header_WebKit_HIWebView_h=yes
45452 else
45453 echo "$as_me: failed program was:" >&5
45454 sed 's/^/| /' conftest.$ac_ext >&5
45455
45456 ac_cv_header_WebKit_HIWebView_h=no
45457 fi
45458
45459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45460 fi
45461 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45462 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45463 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45464
45465 cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_WEBKIT 1
45467 _ACEOF
45468
45469 WEBKIT_LINK="-framework WebKit"
45470
45471 else
45472
45473 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45474 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45475 wxUSE_WEBKIT=no
45476
45477 fi
45478
45479
45480 CPPFLAGS="$old_CPPFLAGS"
45481 elif test "$wxUSE_COCOA" = 1; then
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_WEBKIT 1
45484 _ACEOF
45485
45486 else
45487 wxUSE_WEBKIT=no
45488 fi
45489 fi
45490
45491 USE_XRC=0
45492 if test "$wxUSE_XRC" = "yes"; then
45493 if test "$wxUSE_XML" != "yes"; then
45494 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45495 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45496 wxUSE_XRC=no
45497 else
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_XRC 1
45500 _ACEOF
45501
45502 USE_XRC=1
45503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45504 fi
45505 fi
45506
45507 USE_AUI=0
45508 if test "$wxUSE_AUI" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_AUI 1
45511 _ACEOF
45512
45513 USE_AUI=1
45514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45515 fi
45516
45517 USE_STC=0
45518 if test "$wxUSE_STC" = "yes"; then
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_STC 1
45521 _ACEOF
45522
45523 USE_STC=1
45524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45525 fi
45526
45527 if test "$wxUSE_MENUS" = "yes"; then
45528 cat >>confdefs.h <<\_ACEOF
45529 #define wxUSE_MENUS 1
45530 _ACEOF
45531
45532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45533 fi
45534
45535 if test "$wxUSE_METAFILE" = "yes"; then
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_METAFILE 1
45538 _ACEOF
45539
45540 fi
45541
45542 if test "$wxUSE_MIMETYPE" = "yes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_MIMETYPE 1
45545 _ACEOF
45546
45547 fi
45548
45549 if test "$wxUSE_MINIFRAME" = "yes"; then
45550 cat >>confdefs.h <<\_ACEOF
45551 #define wxUSE_MINIFRAME 1
45552 _ACEOF
45553
45554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45555 fi
45556
45557 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45558 cat >>confdefs.h <<\_ACEOF
45559 #define wxUSE_SYSTEM_OPTIONS 1
45560 _ACEOF
45561
45562 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45563 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45565 fi
45566 fi
45567
45568
45569 if test "$wxUSE_VALIDATORS" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_VALIDATORS 1
45572 _ACEOF
45573
45574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45575 fi
45576
45577 if test "$wxUSE_PALETTE" = "yes" ; then
45578 if test "$wxUSE_DFB" = 1; then
45579 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45580 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45581 wxUSE_PALETTE=no
45582 else
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_PALETTE 1
45585 _ACEOF
45586
45587 fi
45588 fi
45589
45590 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45591 LIBS=" -lunicows $LIBS"
45592 fi
45593
45594 USE_RICHTEXT=0
45595 if test "$wxUSE_RICHTEXT" = "yes"; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_RICHTEXT 1
45598 _ACEOF
45599
45600 USE_RICHTEXT=1
45601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45602 fi
45603
45604
45605 if test "$wxUSE_IMAGE" = "yes" ; then
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_IMAGE 1
45608 _ACEOF
45609
45610
45611 if test "$wxUSE_GIF" = "yes" ; then
45612 cat >>confdefs.h <<\_ACEOF
45613 #define wxUSE_GIF 1
45614 _ACEOF
45615
45616 fi
45617
45618 if test "$wxUSE_PCX" = "yes" ; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_PCX 1
45621 _ACEOF
45622
45623 fi
45624
45625 if test "$wxUSE_TGA" = "yes" ; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_TGA 1
45628 _ACEOF
45629
45630 fi
45631
45632 if test "$wxUSE_IFF" = "yes" ; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_IFF 1
45635 _ACEOF
45636
45637 fi
45638
45639 if test "$wxUSE_PNM" = "yes" ; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_PNM 1
45642 _ACEOF
45643
45644 fi
45645
45646 if test "$wxUSE_XPM" = "yes" ; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_XPM 1
45649 _ACEOF
45650
45651 fi
45652
45653 if test "$wxUSE_ICO_CUR" = "yes" ; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_ICO_CUR 1
45656 _ACEOF
45657
45658 fi
45659 fi
45660
45661
45662 if test "$wxUSE_ABOUTDLG" = "yes"; then
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_ABOUTDLG 1
45665 _ACEOF
45666
45667 fi
45668
45669 if test "$wxUSE_CHOICEDLG" = "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_CHOICEDLG 1
45672 _ACEOF
45673
45674 fi
45675
45676 if test "$wxUSE_COLOURDLG" = "yes"; then
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_COLOURDLG 1
45679 _ACEOF
45680
45681 fi
45682
45683 if test "$wxUSE_FILEDLG" = "yes"; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_FILEDLG 1
45686 _ACEOF
45687
45688 fi
45689
45690 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_FINDREPLDLG 1
45693 _ACEOF
45694
45695 fi
45696
45697 if test "$wxUSE_FONTDLG" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_FONTDLG 1
45700 _ACEOF
45701
45702 fi
45703
45704 if test "$wxUSE_DIRDLG" = "yes"; then
45705 if test "$wxUSE_TREECTRL" != "yes"; then
45706 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45707 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45708 else
45709 cat >>confdefs.h <<\_ACEOF
45710 #define wxUSE_DIRDLG 1
45711 _ACEOF
45712
45713 fi
45714 fi
45715
45716 if test "$wxUSE_MSGDLG" = "yes"; then
45717 cat >>confdefs.h <<\_ACEOF
45718 #define wxUSE_MSGDLG 1
45719 _ACEOF
45720
45721 fi
45722
45723 if test "$wxUSE_NUMBERDLG" = "yes"; then
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_NUMBERDLG 1
45726 _ACEOF
45727
45728 fi
45729
45730 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45731 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45732 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45733 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45734 else
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_PROGRESSDLG 1
45737 _ACEOF
45738
45739 fi
45740 fi
45741
45742 if test "$wxUSE_SPLASH" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_SPLASH 1
45745 _ACEOF
45746
45747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45748 fi
45749
45750 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45751 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45752 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45753 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45754 else
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_STARTUP_TIPS 1
45757 _ACEOF
45758
45759 fi
45760 fi
45761
45762 if test "$wxUSE_TEXTDLG" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_TEXTDLG 1
45765 _ACEOF
45766
45767 fi
45768
45769 if test "$wxUSE_WIZARDDLG" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_WIZARDDLG 1
45772 _ACEOF
45773
45774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45775 fi
45776
45777
45778 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45779 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_GRAPHICS_CONTEXT 1
45782 _ACEOF
45783
45784 elif test "$wxUSE_GTK" != 1; then
45785 cat >>confdefs.h <<\_ACEOF
45786 #define wxUSE_GRAPHICS_CONTEXT 1
45787 _ACEOF
45788
45789 else
45790
45791 pkg_failed=no
45792 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45793 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45794
45795 if test -n "$PKG_CONFIG"; then
45796 if test -n "$CAIRO_CFLAGS"; then
45797 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45798 else
45799 if test -n "$PKG_CONFIG" && \
45800 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45801 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45802 ac_status=$?
45803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45804 (exit $ac_status); }; then
45805 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45806 else
45807 pkg_failed=yes
45808 fi
45809 fi
45810 else
45811 pkg_failed=untried
45812 fi
45813 if test -n "$PKG_CONFIG"; then
45814 if test -n "$CAIRO_LIBS"; then
45815 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45816 else
45817 if test -n "$PKG_CONFIG" && \
45818 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45819 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45820 ac_status=$?
45821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45822 (exit $ac_status); }; then
45823 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45824 else
45825 pkg_failed=yes
45826 fi
45827 fi
45828 else
45829 pkg_failed=untried
45830 fi
45831
45832
45833
45834 if test $pkg_failed = yes; then
45835
45836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45837 _pkg_short_errors_supported=yes
45838 else
45839 _pkg_short_errors_supported=no
45840 fi
45841 if test $_pkg_short_errors_supported = yes; then
45842 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45843 else
45844 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45845 fi
45846 # Put the nasty error message in config.log where it belongs
45847 echo "$CAIRO_PKG_ERRORS" >&5
45848
45849 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45850 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45851
45852 elif test $pkg_failed = untried; then
45853 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45854 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45855
45856 else
45857 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45858 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45859 { echo "$as_me:$LINENO: result: yes" >&5
45860 echo "${ECHO_T}yes" >&6; }
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_GRAPHICS_CONTEXT 1
45863 _ACEOF
45864
45865 fi
45866 fi
45867 fi
45868
45869
45870 USE_MEDIA=0
45871
45872 if test "$wxUSE_MEDIACTRL" = "yes"; then
45873 USE_MEDIA=1
45874
45875 if test "$wxUSE_GTK" = 1; then
45876 wxUSE_GSTREAMER="no"
45877
45878 GST_VERSION_MAJOR=0
45879 GST_VERSION_MINOR=10
45880 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45881
45882 if test "$wxUSE_GSTREAMER8" = "no"; then
45883
45884 pkg_failed=no
45885 { echo "$as_me:$LINENO: checking for GST" >&5
45886 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45887
45888 if test -n "$PKG_CONFIG"; then
45889 if test -n "$GST_CFLAGS"; then
45890 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45891 else
45892 if test -n "$PKG_CONFIG" && \
45893 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45894 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45895 ac_status=$?
45896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45897 (exit $ac_status); }; then
45898 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45899 else
45900 pkg_failed=yes
45901 fi
45902 fi
45903 else
45904 pkg_failed=untried
45905 fi
45906 if test -n "$PKG_CONFIG"; then
45907 if test -n "$GST_LIBS"; then
45908 pkg_cv_GST_LIBS="$GST_LIBS"
45909 else
45910 if test -n "$PKG_CONFIG" && \
45911 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45912 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45913 ac_status=$?
45914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45915 (exit $ac_status); }; then
45916 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45917 else
45918 pkg_failed=yes
45919 fi
45920 fi
45921 else
45922 pkg_failed=untried
45923 fi
45924
45925
45926
45927 if test $pkg_failed = yes; then
45928
45929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45930 _pkg_short_errors_supported=yes
45931 else
45932 _pkg_short_errors_supported=no
45933 fi
45934 if test $_pkg_short_errors_supported = yes; then
45935 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45936 else
45937 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45938 fi
45939 # Put the nasty error message in config.log where it belongs
45940 echo "$GST_PKG_ERRORS" >&5
45941
45942
45943 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45944 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45945 GST_VERSION_MINOR=8
45946
45947
45948 elif test $pkg_failed = untried; then
45949
45950 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45951 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45952 GST_VERSION_MINOR=8
45953
45954
45955 else
45956 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45957 GST_LIBS=$pkg_cv_GST_LIBS
45958 { echo "$as_me:$LINENO: result: yes" >&5
45959 echo "${ECHO_T}yes" >&6; }
45960
45961 wxUSE_GSTREAMER="yes"
45962 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45963
45964 fi
45965 else
45966 GST_VERSION_MINOR=8
45967 fi
45968
45969 if test $GST_VERSION_MINOR = "8"; then
45970 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45971
45972 pkg_failed=no
45973 { echo "$as_me:$LINENO: checking for GST" >&5
45974 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45975
45976 if test -n "$PKG_CONFIG"; then
45977 if test -n "$GST_CFLAGS"; then
45978 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45979 else
45980 if test -n "$PKG_CONFIG" && \
45981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45982 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45983 ac_status=$?
45984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45985 (exit $ac_status); }; then
45986 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45987 else
45988 pkg_failed=yes
45989 fi
45990 fi
45991 else
45992 pkg_failed=untried
45993 fi
45994 if test -n "$PKG_CONFIG"; then
45995 if test -n "$GST_LIBS"; then
45996 pkg_cv_GST_LIBS="$GST_LIBS"
45997 else
45998 if test -n "$PKG_CONFIG" && \
45999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46000 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46001 ac_status=$?
46002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46003 (exit $ac_status); }; then
46004 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46005 else
46006 pkg_failed=yes
46007 fi
46008 fi
46009 else
46010 pkg_failed=untried
46011 fi
46012
46013
46014
46015 if test $pkg_failed = yes; then
46016
46017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46018 _pkg_short_errors_supported=yes
46019 else
46020 _pkg_short_errors_supported=no
46021 fi
46022 if test $_pkg_short_errors_supported = yes; then
46023 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46024 else
46025 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46026 fi
46027 # Put the nasty error message in config.log where it belongs
46028 echo "$GST_PKG_ERRORS" >&5
46029
46030
46031 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46032 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46033
46034 elif test $pkg_failed = untried; then
46035
46036 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46037 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46038
46039 else
46040 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46041 GST_LIBS=$pkg_cv_GST_LIBS
46042 { echo "$as_me:$LINENO: result: yes" >&5
46043 echo "${ECHO_T}yes" >&6; }
46044 wxUSE_GSTREAMER="yes"
46045 fi
46046 fi
46047
46048
46049 if test "$wxUSE_GSTREAMER" = "yes"; then
46050 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46051 LIBS="$GST_LIBS $LIBS"
46052
46053 cat >>confdefs.h <<\_ACEOF
46054 #define wxUSE_GSTREAMER 1
46055 _ACEOF
46056
46057 else
46058 USE_MEDIA=0
46059 fi
46060 fi
46061
46062 if test $USE_MEDIA = 1; then
46063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46064 cat >>confdefs.h <<\_ACEOF
46065 #define wxUSE_MEDIACTRL 1
46066 _ACEOF
46067
46068 fi
46069 fi
46070
46071
46072 if test "$cross_compiling" = "yes"; then
46073 OSINFO="\"$host\""
46074 else
46075 OSINFO=`uname -s -r -m`
46076 OSINFO="\"$OSINFO\""
46077 fi
46078
46079 cat >>confdefs.h <<_ACEOF
46080 #define WXWIN_OS_DESCRIPTION $OSINFO
46081 _ACEOF
46082
46083
46084
46085 if test "x$prefix" != "xNONE"; then
46086 wxPREFIX=$prefix
46087 else
46088 wxPREFIX=$ac_default_prefix
46089 fi
46090
46091 cat >>confdefs.h <<_ACEOF
46092 #define wxINSTALL_PREFIX "$wxPREFIX"
46093 _ACEOF
46094
46095
46096
46097
46098 CORE_BASE_LIBS="net base"
46099 CORE_GUI_LIBS="adv core"
46100
46101 if test "$wxUSE_XML" = "yes" ; then
46102 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46103 fi
46104 if test "$wxUSE_ODBC" != "no" ; then
46105 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46106 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46107 fi
46108 if test "$wxUSE_HTML" = "yes" ; then
46109 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46110 fi
46111 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46112 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46113 fi
46114 if test "$wxUSE_XRC" = "yes" ; then
46115 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46116 fi
46117 if test "$wxUSE_AUI" = "yes" ; then
46118 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46119 fi
46120 if test "$wxUSE_STC" = "yes" ; then
46121 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
46122 fi
46123
46124 if test "$wxUSE_GUI" != "yes"; then
46125 CORE_GUI_LIBS=""
46126 fi
46127
46128
46129
46130
46131
46132
46133 if test "$wxUSE_MAC" = 1 ; then
46134 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46135 if test "$USE_DARWIN" = 1; then
46136 LDFLAGS="$LDFLAGS -framework QuickTime"
46137 else
46138 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46139 fi
46140 fi
46141 if test "$USE_DARWIN" = 1; then
46142 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46143 else
46144 LDFLAGS="$LDFLAGS -lCarbonLib"
46145 fi
46146 fi
46147 if test "$wxUSE_COCOA" = 1 ; then
46148 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46149 if test "$wxUSE_MEDIACTRL" = "yes"; then
46150 LDFLAGS="$LDFLAGS -framework QuickTime"
46151 fi
46152 fi
46153 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46154 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46155 fi
46156
46157 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46158
46159 if test "$wxUSE_GUI" = "yes"; then
46160
46161
46162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46163 dynamic erase event exec font image minimal mobile \
46164 mobile/wxedit mobile/styles propsize render \
46165 rotate shaped svg taborder vscroll widgets"
46166
46167 if test "$wxUSE_MONOLITHIC" != "yes"; then
46168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46169 fi
46170 if test "$TOOLKIT" = "MSW"; then
46171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46172 if test "$wxUSE_UNIVERSAL" != "yes"; then
46173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46174 fi
46175 fi
46176 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46178 fi
46179 else
46180 SAMPLES_SUBDIRS="console"
46181 fi
46182
46183
46184 if test "x$INTELCC" = "xyes" ; then
46185 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46186 elif test "$GCC" = yes ; then
46187 CWARNINGS="-Wall -Wundef"
46188 fi
46189
46190 if test "x$INTELCXX" = "xyes" ; then
46191 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46192 elif test "$GXX" = yes ; then
46193 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46194 fi
46195
46196
46197 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46198 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46199
46200
46201 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46202 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46203 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46204 $CPPFLAGS `
46205
46206 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46207 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46208 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46209
46210 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46211
46212
46213 if test "x$MWCC" = "xyes"; then
46214
46215 CC="$CC -cwd source -I-"
46216 CXX="$CXX -cwd source -I-"
46217 fi
46218
46219
46220 LIBS=`echo $LIBS`
46221 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46222 EXTRALIBS_XML="$EXPAT_LINK"
46223 EXTRALIBS_HTML="$MSPACK_LINK"
46224 EXTRALIBS_ODBC="$ODBC_LINK"
46225 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46226 if test "$wxUSE_GUI" = "yes"; then
46227 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46228 fi
46229 if test "$wxUSE_OPENGL" = "yes"; then
46230 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46231 fi
46232
46233 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46234
46235 WXCONFIG_LIBS="$LIBS"
46236
46237 if test "$wxUSE_REGEX" = "builtin" ; then
46238 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46239 fi
46240 if test "$wxUSE_EXPAT" = "builtin" ; then
46241 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46242 fi
46243 if test "$wxUSE_ODBC" = "builtin" ; then
46244 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46245 fi
46246 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46247 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46248 fi
46249 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46250 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46251 fi
46252 if test "$wxUSE_LIBPNG" = "builtin" ; then
46253 wxconfig_3rdparty="png $wxconfig_3rdparty"
46254 fi
46255 if test "$wxUSE_ZLIB" = "builtin" ; then
46256 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46257 fi
46258
46259 for i in $wxconfig_3rdparty ; do
46260 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46261 done
46262
46263
46264 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46265 WXUNIV=1
46266
46267 case "$wxUNIV_THEMES" in
46268 ''|all)
46269 cat >>confdefs.h <<\_ACEOF
46270 #define wxUSE_ALL_THEMES 1
46271 _ACEOF
46272
46273 ;;
46274
46275 *)
46276 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46277 cat >>confdefs.h <<_ACEOF
46278 #define wxUSE_THEME_$t 1
46279 _ACEOF
46280
46281 done
46282 esac
46283 else
46284 WXUNIV=0
46285 fi
46286
46287
46288
46289
46290
46291
46292
46293
46294
46295 if test $wxUSE_MONOLITHIC = "yes" ; then
46296 MONOLITHIC=1
46297 else
46298 MONOLITHIC=0
46299 fi
46300
46301 if test $wxUSE_PLUGINS = "yes" ; then
46302 USE_PLUGINS=1
46303 else
46304 USE_PLUGINS=0
46305 fi
46306
46307 if test $wxUSE_ODBC != "no" ; then
46308 USE_ODBC=1
46309 else
46310 USE_ODBC=0
46311 fi
46312
46313 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46314 USE_QA=1
46315 else
46316 USE_QA=0
46317 fi
46318
46319 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46320 OFFICIAL_BUILD=1
46321 else
46322 OFFICIAL_BUILD=0
46323 fi
46324
46325
46326
46327
46328
46329
46330
46331
46332
46333
46334
46335
46336
46337
46338
46339
46340
46341
46342
46343
46344
46345
46346
46347
46348
46349
46350 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46351
46352
46353
46354
46355
46356
46357
46358
46359 case "$TOOLKIT" in
46360 GTK)
46361 TOOLKIT_DESC="GTK+"
46362 if test "$WXGTK20" = 1; then
46363 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46364 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46365 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46366 fi
46367 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46368 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46369 fi
46370 if test "$wxUSE_LIBHILDON" = "yes"; then
46371 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46372 fi
46373
46374 if test "$TOOLKIT_EXTRA" != ""; then
46375 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46376 fi
46377 fi
46378 ;;
46379
46380 ?*)
46381 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46382 ;;
46383
46384 *)
46385 TOOLKIT_DESC="base only"
46386 ;;
46387 esac
46388
46389 if test "$wxUSE_WINE" = "yes"; then
46390 BAKEFILE_FORCE_PLATFORM=win32
46391 fi
46392
46393 if test "$wxUSE_MAC" = 1 ; then
46394 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46395 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46396 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46397 else
46398 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46399 fi
46400 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46401 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46402 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46403 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46404 bk_use_pch=no
46405 fi
46406 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46407 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46408 fi
46409
46410 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46411 then
46412 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46413 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46414 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46415 echo $ECHO_N "(cached) $ECHO_C" >&6
46416 else
46417
46418 echo '#include <stdio.h>
46419 const wchar_t test_var[] = L"awidetest";' > conftest.h
46420
46421 echo '#include "conftest.h"
46422 int main()
46423 {
46424 printf("%ls", test_var);
46425 return 0;
46426 }' > conftest.cpp
46427
46428 wx_cv_gcc_pch_bug="pch not supported"
46429
46430 if $CXX conftest.h >/dev/null 2>&1
46431 then
46432 wx_cv_gcc_pch_bug=
46433
46434 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46435 then
46436 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46437 grep awidetest >/dev/null
46438 then
46439 wx_cv_gcc_pch_bug=no
46440 else
46441 wx_cv_gcc_pch_bug=yes
46442 fi
46443 fi
46444 fi
46445
46446 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46447
46448 fi
46449 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46450 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46451
46452 if test "$wx_cv_gcc_pch_bug" = yes; then
46453 bk_use_pch=no
46454 fi
46455 fi
46456
46457
46458
46459
46460 if test "x$BAKEFILE_HOST" = "x"; then
46461 if test "x${host}" = "x" ; then
46462 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46463 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46464 { (exit 1); exit 1; }; }
46465 fi
46466
46467 BAKEFILE_HOST="${host}"
46468 fi
46469
46470 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46471
46472 if test -n "$ac_tool_prefix"; then
46473 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46474 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46477 if test "${ac_cv_prog_RANLIB+set}" = set; then
46478 echo $ECHO_N "(cached) $ECHO_C" >&6
46479 else
46480 if test -n "$RANLIB"; then
46481 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46482 else
46483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46484 for as_dir in $PATH
46485 do
46486 IFS=$as_save_IFS
46487 test -z "$as_dir" && as_dir=.
46488 for ac_exec_ext in '' $ac_executable_extensions; do
46489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46490 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46492 break 2
46493 fi
46494 done
46495 done
46496 IFS=$as_save_IFS
46497
46498 fi
46499 fi
46500 RANLIB=$ac_cv_prog_RANLIB
46501 if test -n "$RANLIB"; then
46502 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46503 echo "${ECHO_T}$RANLIB" >&6; }
46504 else
46505 { echo "$as_me:$LINENO: result: no" >&5
46506 echo "${ECHO_T}no" >&6; }
46507 fi
46508
46509
46510 fi
46511 if test -z "$ac_cv_prog_RANLIB"; then
46512 ac_ct_RANLIB=$RANLIB
46513 # Extract the first word of "ranlib", so it can be a program name with args.
46514 set dummy ranlib; ac_word=$2
46515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46517 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46518 echo $ECHO_N "(cached) $ECHO_C" >&6
46519 else
46520 if test -n "$ac_ct_RANLIB"; then
46521 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46522 else
46523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46524 for as_dir in $PATH
46525 do
46526 IFS=$as_save_IFS
46527 test -z "$as_dir" && as_dir=.
46528 for ac_exec_ext in '' $ac_executable_extensions; do
46529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46530 ac_cv_prog_ac_ct_RANLIB="ranlib"
46531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46532 break 2
46533 fi
46534 done
46535 done
46536 IFS=$as_save_IFS
46537
46538 fi
46539 fi
46540 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46541 if test -n "$ac_ct_RANLIB"; then
46542 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46543 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46544 else
46545 { echo "$as_me:$LINENO: result: no" >&5
46546 echo "${ECHO_T}no" >&6; }
46547 fi
46548
46549 if test "x$ac_ct_RANLIB" = x; then
46550 RANLIB=":"
46551 else
46552 case $cross_compiling:$ac_tool_warned in
46553 yes:)
46554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46555 whose name does not start with the host triplet. If you think this
46556 configuration is useful to you, please write to autoconf@gnu.org." >&5
46557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46558 whose name does not start with the host triplet. If you think this
46559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46560 ac_tool_warned=yes ;;
46561 esac
46562 RANLIB=$ac_ct_RANLIB
46563 fi
46564 else
46565 RANLIB="$ac_cv_prog_RANLIB"
46566 fi
46567
46568 # Find a good install program. We prefer a C program (faster),
46569 # so one script is as good as another. But avoid the broken or
46570 # incompatible versions:
46571 # SysV /etc/install, /usr/sbin/install
46572 # SunOS /usr/etc/install
46573 # IRIX /sbin/install
46574 # AIX /bin/install
46575 # AmigaOS /C/install, which installs bootblocks on floppy discs
46576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46579 # OS/2's system install, which has a completely different semantic
46580 # ./install, which can be erroneously created by make from ./install.sh.
46581 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46582 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46583 if test -z "$INSTALL"; then
46584 if test "${ac_cv_path_install+set}" = set; then
46585 echo $ECHO_N "(cached) $ECHO_C" >&6
46586 else
46587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46588 for as_dir in $PATH
46589 do
46590 IFS=$as_save_IFS
46591 test -z "$as_dir" && as_dir=.
46592 # Account for people who put trailing slashes in PATH elements.
46593 case $as_dir/ in
46594 ./ | .// | /cC/* | \
46595 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46596 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46597 /usr/ucb/* ) ;;
46598 *)
46599 # OSF1 and SCO ODT 3.0 have their own names for install.
46600 # Don't use installbsd from OSF since it installs stuff as root
46601 # by default.
46602 for ac_prog in ginstall scoinst install; do
46603 for ac_exec_ext in '' $ac_executable_extensions; do
46604 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46605 if test $ac_prog = install &&
46606 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46607 # AIX install. It has an incompatible calling convention.
46608 :
46609 elif test $ac_prog = install &&
46610 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46611 # program-specific install script used by HP pwplus--don't use.
46612 :
46613 else
46614 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46615 break 3
46616 fi
46617 fi
46618 done
46619 done
46620 ;;
46621 esac
46622 done
46623 IFS=$as_save_IFS
46624
46625
46626 fi
46627 if test "${ac_cv_path_install+set}" = set; then
46628 INSTALL=$ac_cv_path_install
46629 else
46630 # As a last resort, use the slow shell script. Don't cache a
46631 # value for INSTALL within a source directory, because that will
46632 # break other packages using the cache if that directory is
46633 # removed, or if the value is a relative name.
46634 INSTALL=$ac_install_sh
46635 fi
46636 fi
46637 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46638 echo "${ECHO_T}$INSTALL" >&6; }
46639
46640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46641 # It thinks the first close brace ends the variable substitution.
46642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46643
46644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46645
46646 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46647
46648 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46649 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46650 LN_S=$as_ln_s
46651 if test "$LN_S" = "ln -s"; then
46652 { echo "$as_me:$LINENO: result: yes" >&5
46653 echo "${ECHO_T}yes" >&6; }
46654 else
46655 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46656 echo "${ECHO_T}no, using $LN_S" >&6; }
46657 fi
46658
46659
46660 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46661 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46662 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46663 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46664 echo $ECHO_N "(cached) $ECHO_C" >&6
46665 else
46666 cat >conftest.make <<\_ACEOF
46667 SHELL = /bin/sh
46668 all:
46669 @echo '@@@%%%=$(MAKE)=@@@%%%'
46670 _ACEOF
46671 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46672 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46673 *@@@%%%=?*=@@@%%%*)
46674 eval ac_cv_prog_make_${ac_make}_set=yes;;
46675 *)
46676 eval ac_cv_prog_make_${ac_make}_set=no;;
46677 esac
46678 rm -f conftest.make
46679 fi
46680 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46681 { echo "$as_me:$LINENO: result: yes" >&5
46682 echo "${ECHO_T}yes" >&6; }
46683 SET_MAKE=
46684 else
46685 { echo "$as_me:$LINENO: result: no" >&5
46686 echo "${ECHO_T}no" >&6; }
46687 SET_MAKE="MAKE=${MAKE-make}"
46688 fi
46689
46690
46691
46692 if test "x$SUNCXX" = "xyes"; then
46693 AR=$CXX
46694 AROPTIONS="-xar -o"
46695
46696 elif test "x$SGICC" = "xyes"; then
46697 AR=$CXX
46698 AROPTIONS="-ar -o"
46699
46700 else
46701 if test -n "$ac_tool_prefix"; then
46702 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46703 set dummy ${ac_tool_prefix}ar; ac_word=$2
46704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46706 if test "${ac_cv_prog_AR+set}" = set; then
46707 echo $ECHO_N "(cached) $ECHO_C" >&6
46708 else
46709 if test -n "$AR"; then
46710 ac_cv_prog_AR="$AR" # Let the user override the test.
46711 else
46712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46713 for as_dir in $PATH
46714 do
46715 IFS=$as_save_IFS
46716 test -z "$as_dir" && as_dir=.
46717 for ac_exec_ext in '' $ac_executable_extensions; do
46718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46719 ac_cv_prog_AR="${ac_tool_prefix}ar"
46720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46721 break 2
46722 fi
46723 done
46724 done
46725 IFS=$as_save_IFS
46726
46727 fi
46728 fi
46729 AR=$ac_cv_prog_AR
46730 if test -n "$AR"; then
46731 { echo "$as_me:$LINENO: result: $AR" >&5
46732 echo "${ECHO_T}$AR" >&6; }
46733 else
46734 { echo "$as_me:$LINENO: result: no" >&5
46735 echo "${ECHO_T}no" >&6; }
46736 fi
46737
46738
46739 fi
46740 if test -z "$ac_cv_prog_AR"; then
46741 ac_ct_AR=$AR
46742 # Extract the first word of "ar", so it can be a program name with args.
46743 set dummy ar; ac_word=$2
46744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46746 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46747 echo $ECHO_N "(cached) $ECHO_C" >&6
46748 else
46749 if test -n "$ac_ct_AR"; then
46750 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46751 else
46752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46753 for as_dir in $PATH
46754 do
46755 IFS=$as_save_IFS
46756 test -z "$as_dir" && as_dir=.
46757 for ac_exec_ext in '' $ac_executable_extensions; do
46758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46759 ac_cv_prog_ac_ct_AR="ar"
46760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46761 break 2
46762 fi
46763 done
46764 done
46765 IFS=$as_save_IFS
46766
46767 fi
46768 fi
46769 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46770 if test -n "$ac_ct_AR"; then
46771 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46772 echo "${ECHO_T}$ac_ct_AR" >&6; }
46773 else
46774 { echo "$as_me:$LINENO: result: no" >&5
46775 echo "${ECHO_T}no" >&6; }
46776 fi
46777
46778 if test "x$ac_ct_AR" = x; then
46779 AR="ar"
46780 else
46781 case $cross_compiling:$ac_tool_warned in
46782 yes:)
46783 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46784 whose name does not start with the host triplet. If you think this
46785 configuration is useful to you, please write to autoconf@gnu.org." >&5
46786 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46787 whose name does not start with the host triplet. If you think this
46788 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46789 ac_tool_warned=yes ;;
46790 esac
46791 AR=$ac_ct_AR
46792 fi
46793 else
46794 AR="$ac_cv_prog_AR"
46795 fi
46796
46797 AROPTIONS=rcu
46798 fi
46799
46800
46801 if test -n "$ac_tool_prefix"; then
46802 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46803 set dummy ${ac_tool_prefix}strip; ac_word=$2
46804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46806 if test "${ac_cv_prog_STRIP+set}" = set; then
46807 echo $ECHO_N "(cached) $ECHO_C" >&6
46808 else
46809 if test -n "$STRIP"; then
46810 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46811 else
46812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46813 for as_dir in $PATH
46814 do
46815 IFS=$as_save_IFS
46816 test -z "$as_dir" && as_dir=.
46817 for ac_exec_ext in '' $ac_executable_extensions; do
46818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46819 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46821 break 2
46822 fi
46823 done
46824 done
46825 IFS=$as_save_IFS
46826
46827 fi
46828 fi
46829 STRIP=$ac_cv_prog_STRIP
46830 if test -n "$STRIP"; then
46831 { echo "$as_me:$LINENO: result: $STRIP" >&5
46832 echo "${ECHO_T}$STRIP" >&6; }
46833 else
46834 { echo "$as_me:$LINENO: result: no" >&5
46835 echo "${ECHO_T}no" >&6; }
46836 fi
46837
46838
46839 fi
46840 if test -z "$ac_cv_prog_STRIP"; then
46841 ac_ct_STRIP=$STRIP
46842 # Extract the first word of "strip", so it can be a program name with args.
46843 set dummy strip; ac_word=$2
46844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46846 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46847 echo $ECHO_N "(cached) $ECHO_C" >&6
46848 else
46849 if test -n "$ac_ct_STRIP"; then
46850 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46851 else
46852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46853 for as_dir in $PATH
46854 do
46855 IFS=$as_save_IFS
46856 test -z "$as_dir" && as_dir=.
46857 for ac_exec_ext in '' $ac_executable_extensions; do
46858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46859 ac_cv_prog_ac_ct_STRIP="strip"
46860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46861 break 2
46862 fi
46863 done
46864 done
46865 IFS=$as_save_IFS
46866
46867 fi
46868 fi
46869 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46870 if test -n "$ac_ct_STRIP"; then
46871 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46872 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46873 else
46874 { echo "$as_me:$LINENO: result: no" >&5
46875 echo "${ECHO_T}no" >&6; }
46876 fi
46877
46878 if test "x$ac_ct_STRIP" = x; then
46879 STRIP=":"
46880 else
46881 case $cross_compiling:$ac_tool_warned in
46882 yes:)
46883 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46884 whose name does not start with the host triplet. If you think this
46885 configuration is useful to you, please write to autoconf@gnu.org." >&5
46886 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46887 whose name does not start with the host triplet. If you think this
46888 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46889 ac_tool_warned=yes ;;
46890 esac
46891 STRIP=$ac_ct_STRIP
46892 fi
46893 else
46894 STRIP="$ac_cv_prog_STRIP"
46895 fi
46896
46897 if test -n "$ac_tool_prefix"; then
46898 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46899 set dummy ${ac_tool_prefix}nm; ac_word=$2
46900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46902 if test "${ac_cv_prog_NM+set}" = set; then
46903 echo $ECHO_N "(cached) $ECHO_C" >&6
46904 else
46905 if test -n "$NM"; then
46906 ac_cv_prog_NM="$NM" # Let the user override the test.
46907 else
46908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46909 for as_dir in $PATH
46910 do
46911 IFS=$as_save_IFS
46912 test -z "$as_dir" && as_dir=.
46913 for ac_exec_ext in '' $ac_executable_extensions; do
46914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46915 ac_cv_prog_NM="${ac_tool_prefix}nm"
46916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46917 break 2
46918 fi
46919 done
46920 done
46921 IFS=$as_save_IFS
46922
46923 fi
46924 fi
46925 NM=$ac_cv_prog_NM
46926 if test -n "$NM"; then
46927 { echo "$as_me:$LINENO: result: $NM" >&5
46928 echo "${ECHO_T}$NM" >&6; }
46929 else
46930 { echo "$as_me:$LINENO: result: no" >&5
46931 echo "${ECHO_T}no" >&6; }
46932 fi
46933
46934
46935 fi
46936 if test -z "$ac_cv_prog_NM"; then
46937 ac_ct_NM=$NM
46938 # Extract the first word of "nm", so it can be a program name with args.
46939 set dummy nm; ac_word=$2
46940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46942 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46943 echo $ECHO_N "(cached) $ECHO_C" >&6
46944 else
46945 if test -n "$ac_ct_NM"; then
46946 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46947 else
46948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46949 for as_dir in $PATH
46950 do
46951 IFS=$as_save_IFS
46952 test -z "$as_dir" && as_dir=.
46953 for ac_exec_ext in '' $ac_executable_extensions; do
46954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46955 ac_cv_prog_ac_ct_NM="nm"
46956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46957 break 2
46958 fi
46959 done
46960 done
46961 IFS=$as_save_IFS
46962
46963 fi
46964 fi
46965 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46966 if test -n "$ac_ct_NM"; then
46967 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46968 echo "${ECHO_T}$ac_ct_NM" >&6; }
46969 else
46970 { echo "$as_me:$LINENO: result: no" >&5
46971 echo "${ECHO_T}no" >&6; }
46972 fi
46973
46974 if test "x$ac_ct_NM" = x; then
46975 NM=":"
46976 else
46977 case $cross_compiling:$ac_tool_warned in
46978 yes:)
46979 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46980 whose name does not start with the host triplet. If you think this
46981 configuration is useful to you, please write to autoconf@gnu.org." >&5
46982 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46983 whose name does not start with the host triplet. If you think this
46984 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46985 ac_tool_warned=yes ;;
46986 esac
46987 NM=$ac_ct_NM
46988 fi
46989 else
46990 NM="$ac_cv_prog_NM"
46991 fi
46992
46993
46994 case ${BAKEFILE_HOST} in
46995 *-hp-hpux* )
46996 INSTALL_DIR="mkdir -p"
46997 ;;
46998 * )
46999 INSTALL_DIR='$(INSTALL) -d'
47000 ;;
47001 esac
47002
47003
47004 LDFLAGS_GUI=
47005 case ${BAKEFILE_HOST} in
47006 *-*-cygwin* | *-*-mingw32* )
47007 LDFLAGS_GUI="-mwindows"
47008 esac
47009
47010
47011 fi
47012
47013 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47014 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47015 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47016 echo $ECHO_N "(cached) $ECHO_C" >&6
47017 else
47018
47019 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47020 egrep -s GNU > /dev/null); then
47021 bakefile_cv_prog_makeisgnu="yes"
47022 else
47023 bakefile_cv_prog_makeisgnu="no"
47024 fi
47025
47026 fi
47027 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47028 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47029
47030 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47031 IF_GNU_MAKE=""
47032 else
47033 IF_GNU_MAKE="#"
47034 fi
47035
47036
47037
47038 PLATFORM_UNIX=0
47039 PLATFORM_WIN32=0
47040 PLATFORM_MSDOS=0
47041 PLATFORM_MAC=0
47042 PLATFORM_MACOS=0
47043 PLATFORM_MACOSX=0
47044 PLATFORM_OS2=0
47045 PLATFORM_BEOS=0
47046
47047 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47048 case "${BAKEFILE_HOST}" in
47049 *-*-mingw32* )
47050 PLATFORM_WIN32=1
47051 ;;
47052 *-pc-msdosdjgpp )
47053 PLATFORM_MSDOS=1
47054 ;;
47055 *-pc-os2_emx | *-pc-os2-emx )
47056 PLATFORM_OS2=1
47057 ;;
47058 *-*-darwin* )
47059 PLATFORM_MAC=1
47060 PLATFORM_MACOSX=1
47061 ;;
47062 *-*-beos* )
47063 PLATFORM_BEOS=1
47064 ;;
47065 powerpc-apple-macos* )
47066 PLATFORM_MAC=1
47067 PLATFORM_MACOS=1
47068 ;;
47069 * )
47070 PLATFORM_UNIX=1
47071 ;;
47072 esac
47073 else
47074 case "$BAKEFILE_FORCE_PLATFORM" in
47075 win32 )
47076 PLATFORM_WIN32=1
47077 ;;
47078 msdos )
47079 PLATFORM_MSDOS=1
47080 ;;
47081 os2 )
47082 PLATFORM_OS2=1
47083 ;;
47084 darwin )
47085 PLATFORM_MAC=1
47086 PLATFORM_MACOSX=1
47087 ;;
47088 unix )
47089 PLATFORM_UNIX=1
47090 ;;
47091 beos )
47092 PLATFORM_BEOS=1
47093 ;;
47094 * )
47095 ;;
47096 esac
47097 fi
47098
47099
47100
47101
47102
47103
47104
47105
47106
47107
47108
47109 # Check whether --enable-omf was given.
47110 if test "${enable_omf+set}" = set; then
47111 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47112 fi
47113
47114
47115 case "${BAKEFILE_HOST}" in
47116 *-*-darwin* )
47117 if test "x$GCC" = "xyes"; then
47118 CFLAGS="$CFLAGS -fno-common"
47119 CXXFLAGS="$CXXFLAGS -fno-common"
47120 fi
47121 if test "x$XLCC" = "xyes"; then
47122 CFLAGS="$CFLAGS -qnocommon"
47123 CXXFLAGS="$CXXFLAGS -qnocommon"
47124 fi
47125 ;;
47126
47127 *-pc-os2_emx | *-pc-os2-emx )
47128 if test "x$bk_os2_use_omf" = "xyes" ; then
47129 AR=emxomfar
47130 RANLIB=:
47131 LDFLAGS="-Zomf $LDFLAGS"
47132 CFLAGS="-Zomf $CFLAGS"
47133 CXXFLAGS="-Zomf $CXXFLAGS"
47134 OS2_LIBEXT="lib"
47135 else
47136 OS2_LIBEXT="a"
47137 fi
47138 ;;
47139
47140 i*86-*-beos* )
47141 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47142 ;;
47143 esac
47144
47145
47146 SO_SUFFIX="so"
47147 SO_SUFFIX_MODULE="so"
47148 EXEEXT=""
47149 LIBPREFIX="lib"
47150 LIBEXT=".a"
47151 DLLPREFIX="lib"
47152 DLLPREFIX_MODULE=""
47153 DLLIMP_SUFFIX=""
47154 dlldir="$libdir"
47155
47156 case "${BAKEFILE_HOST}" in
47157 *-hp-hpux* )
47158 SO_SUFFIX="sl"
47159 SO_SUFFIX_MODULE="sl"
47160 ;;
47161 *-*-aix* )
47162 SO_SUFFIX="a"
47163 SO_SUFFIX_MODULE="a"
47164 ;;
47165 *-*-cygwin* )
47166 SO_SUFFIX="dll"
47167 SO_SUFFIX_MODULE="dll"
47168 DLLIMP_SUFFIX="dll.a"
47169 EXEEXT=".exe"
47170 DLLPREFIX="cyg"
47171 dlldir="$bindir"
47172 ;;
47173 *-*-mingw32* )
47174 SO_SUFFIX="dll"
47175 SO_SUFFIX_MODULE="dll"
47176 DLLIMP_SUFFIX="dll.a"
47177 EXEEXT=".exe"
47178 DLLPREFIX=""
47179 dlldir="$bindir"
47180 ;;
47181 *-pc-msdosdjgpp )
47182 EXEEXT=".exe"
47183 DLLPREFIX=""
47184 dlldir="$bindir"
47185 ;;
47186 *-pc-os2_emx | *-pc-os2-emx )
47187 SO_SUFFIX="dll"
47188 SO_SUFFIX_MODULE="dll"
47189 DLLIMP_SUFFIX=$OS2_LIBEXT
47190 EXEEXT=".exe"
47191 DLLPREFIX=""
47192 LIBPREFIX=""
47193 LIBEXT=".$OS2_LIBEXT"
47194 dlldir="$bindir"
47195 ;;
47196 *-*-darwin* )
47197 SO_SUFFIX="dylib"
47198 SO_SUFFIX_MODULE="bundle"
47199 ;;
47200 esac
47201
47202 if test "x$DLLIMP_SUFFIX" = "x" ; then
47203 DLLIMP_SUFFIX="$SO_SUFFIX"
47204 fi
47205
47206
47207
47208
47209
47210
47211
47212
47213
47214
47215
47216
47217 PIC_FLAG=""
47218 if test "x$GCC" = "xyes"; then
47219 PIC_FLAG="-fPIC"
47220 fi
47221
47222 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47223 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47224 WINDOWS_IMPLIB=0
47225
47226 case "${BAKEFILE_HOST}" in
47227 *-hp-hpux* )
47228 if test "x$GCC" != "xyes"; then
47229 LDFLAGS="$LDFLAGS -L/usr/lib"
47230
47231 SHARED_LD_CC="${CC} -b -o"
47232 SHARED_LD_CXX="${CXX} -b -o"
47233 PIC_FLAG="+Z"
47234 fi
47235 ;;
47236
47237 *-*-linux* )
47238 if test "$INTELCC" = "yes"; then
47239 PIC_FLAG="-KPIC"
47240 elif test "x$SUNCXX" = "xyes"; then
47241 SHARED_LD_CC="${CC} -G -o"
47242 SHARED_LD_CXX="${CXX} -G -o"
47243 PIC_FLAG="-KPIC"
47244 fi
47245 ;;
47246
47247 *-*-solaris2* )
47248 if test "x$SUNCXX" = xyes ; then
47249 SHARED_LD_CC="${CC} -G -o"
47250 SHARED_LD_CXX="${CXX} -G -o"
47251 PIC_FLAG="-KPIC"
47252 fi
47253 ;;
47254
47255 *-*-darwin* )
47256
47257 D='$'
47258 cat <<EOF >shared-ld-sh
47259 #!/bin/sh
47260 #-----------------------------------------------------------------------------
47261 #-- Name: distrib/mac/shared-ld-sh
47262 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47263 #-- Author: Gilles Depeyrot
47264 #-- Copyright: (c) 2002 Gilles Depeyrot
47265 #-- Licence: any use permitted
47266 #-----------------------------------------------------------------------------
47267
47268 verbose=0
47269 args=""
47270 objects=""
47271 linking_flag="-dynamiclib"
47272 ldargs="-r -keep_private_externs -nostdlib"
47273
47274 while test ${D}# -gt 0; do
47275 case ${D}1 in
47276
47277 -v)
47278 verbose=1
47279 ;;
47280
47281 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47282 # collect these options and values
47283 args="${D}{args} ${D}1 ${D}2"
47284 shift
47285 ;;
47286
47287 -s|-Wl,*)
47288 # collect these load args
47289 ldargs="${D}{ldargs} ${D}1"
47290 ;;
47291
47292 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47293 # collect these options
47294 args="${D}{args} ${D}1"
47295 ;;
47296
47297 -dynamiclib|-bundle)
47298 linking_flag="${D}1"
47299 ;;
47300
47301 -*)
47302 echo "shared-ld: unhandled option '${D}1'"
47303 exit 1
47304 ;;
47305
47306 *.o | *.a | *.dylib)
47307 # collect object files
47308 objects="${D}{objects} ${D}1"
47309 ;;
47310
47311 *)
47312 echo "shared-ld: unhandled argument '${D}1'"
47313 exit 1
47314 ;;
47315
47316 esac
47317 shift
47318 done
47319
47320 status=0
47321
47322 #
47323 # Link one module containing all the others
47324 #
47325 if test ${D}{verbose} = 1; then
47326 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47327 fi
47328 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47329 status=${D}?
47330
47331 #
47332 # Link the shared library from the single module created, but only if the
47333 # previous command didn't fail:
47334 #
47335 if test ${D}{status} = 0; then
47336 if test ${D}{verbose} = 1; then
47337 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47338 fi
47339 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47340 status=${D}?
47341 fi
47342
47343 #
47344 # Remove intermediate module
47345 #
47346 rm -f master.${D}${D}.o
47347
47348 exit ${D}status
47349 EOF
47350
47351 chmod +x shared-ld-sh
47352
47353 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47354 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47355
47356
47357 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47358 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47359 if test "${bakefile_cv_gcc31+set}" = set; then
47360 echo $ECHO_N "(cached) $ECHO_C" >&6
47361 else
47362
47363 cat >conftest.$ac_ext <<_ACEOF
47364 /* confdefs.h. */
47365 _ACEOF
47366 cat confdefs.h >>conftest.$ac_ext
47367 cat >>conftest.$ac_ext <<_ACEOF
47368 /* end confdefs.h. */
47369
47370 int
47371 main ()
47372 {
47373
47374 #if (__GNUC__ < 3) || \
47375 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47376 This is old gcc
47377 #endif
47378
47379 ;
47380 return 0;
47381 }
47382 _ACEOF
47383 rm -f conftest.$ac_objext
47384 if { (ac_try="$ac_compile"
47385 case "(($ac_try" in
47386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47387 *) ac_try_echo=$ac_try;;
47388 esac
47389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47390 (eval "$ac_compile") 2>conftest.er1
47391 ac_status=$?
47392 grep -v '^ *+' conftest.er1 >conftest.err
47393 rm -f conftest.er1
47394 cat conftest.err >&5
47395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47396 (exit $ac_status); } && {
47397 test -z "$ac_c_werror_flag" ||
47398 test ! -s conftest.err
47399 } && test -s conftest.$ac_objext; then
47400
47401 bakefile_cv_gcc31=yes
47402
47403 else
47404 echo "$as_me: failed program was:" >&5
47405 sed 's/^/| /' conftest.$ac_ext >&5
47406
47407
47408 bakefile_cv_gcc31=no
47409
47410
47411 fi
47412
47413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47414
47415 fi
47416 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47417 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47418 if test "$bakefile_cv_gcc31" = "no"; then
47419 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47420 SHARED_LD_CXX="$SHARED_LD_CC"
47421 else
47422 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47423 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47424 fi
47425
47426 if test "x$GCC" == "xyes"; then
47427 PIC_FLAG="-dynamic -fPIC"
47428 fi
47429 if test "x$XLCC" = "xyes"; then
47430 PIC_FLAG="-dynamic -DPIC"
47431 fi
47432 ;;
47433
47434 *-*-aix* )
47435 if test "x$GCC" = "xyes"; then
47436 PIC_FLAG=""
47437
47438 case "${BAKEFILE_HOST}" in
47439 *-*-aix5* )
47440 LD_EXPFULL="-Wl,-bexpfull"
47441 ;;
47442 esac
47443
47444 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47445 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47446 else
47447 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47448 set dummy makeC++SharedLib; ac_word=$2
47449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47451 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47452 echo $ECHO_N "(cached) $ECHO_C" >&6
47453 else
47454 if test -n "$AIX_CXX_LD"; then
47455 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47456 else
47457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47458 for as_dir in $PATH
47459 do
47460 IFS=$as_save_IFS
47461 test -z "$as_dir" && as_dir=.
47462 for ac_exec_ext in '' $ac_executable_extensions; do
47463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47464 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47466 break 2
47467 fi
47468 done
47469 done
47470 IFS=$as_save_IFS
47471
47472 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47473 fi
47474 fi
47475 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47476 if test -n "$AIX_CXX_LD"; then
47477 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47478 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47479 else
47480 { echo "$as_me:$LINENO: result: no" >&5
47481 echo "${ECHO_T}no" >&6; }
47482 fi
47483
47484
47485 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47486 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47487 fi
47488 ;;
47489
47490 *-*-beos* )
47491 SHARED_LD_CC="${LD} -nostart -o"
47492 SHARED_LD_CXX="${LD} -nostart -o"
47493 ;;
47494
47495 *-*-irix* )
47496 if test "x$GCC" != "xyes"; then
47497 PIC_FLAG="-KPIC"
47498 fi
47499 ;;
47500
47501 *-*-cygwin* | *-*-mingw32* )
47502 PIC_FLAG=""
47503 SHARED_LD_CC="\$(CC) -shared -o"
47504 SHARED_LD_CXX="\$(CXX) -shared -o"
47505 WINDOWS_IMPLIB=1
47506 ;;
47507
47508 *-pc-os2_emx | *-pc-os2-emx )
47509 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47510 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47511 PIC_FLAG=""
47512
47513 D='$'
47514 cat <<EOF >dllar.sh
47515 #!/bin/sh
47516 #
47517 # dllar - a tool to build both a .dll and an .a file
47518 # from a set of object (.o) files for EMX/OS2.
47519 #
47520 # Written by Andrew Zabolotny, bit@freya.etu.ru
47521 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47522 #
47523 # This script will accept a set of files on the command line.
47524 # All the public symbols from the .o files will be exported into
47525 # a .DEF file, then linker will be run (through gcc) against them to
47526 # build a shared library consisting of all given .o files. All libraries
47527 # (.a) will be first decompressed into component .o files then act as
47528 # described above. You can optionally give a description (-d "description")
47529 # which will be put into .DLL. To see the list of accepted options (as well
47530 # as command-line format) simply run this program without options. The .DLL
47531 # is built to be imported by name (there is no guarantee that new versions
47532 # of the library you build will have same ordinals for same symbols).
47533 #
47534 # dllar is free software; you can redistribute it and/or modify
47535 # it under the terms of the GNU General Public License as published by
47536 # the Free Software Foundation; either version 2, or (at your option)
47537 # any later version.
47538 #
47539 # dllar is distributed in the hope that it will be useful,
47540 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47541 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47542 # GNU General Public License for more details.
47543 #
47544 # You should have received a copy of the GNU General Public License
47545 # along with dllar; see the file COPYING. If not, write to the Free
47546 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47547 # 02111-1307, USA.
47548
47549 # To successfuly run this program you will need:
47550 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47551 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47552 # - gcc
47553 # (used to build the .dll)
47554 # - emxexp
47555 # (used to create .def file from .o files)
47556 # - emximp
47557 # (used to create .a file from .def file)
47558 # - GNU text utilites (cat, sort, uniq)
47559 # used to process emxexp output
47560 # - GNU file utilities (mv, rm)
47561 # - GNU sed
47562 # - lxlite (optional, see flag below)
47563 # (used for general .dll cleanup)
47564 #
47565
47566 flag_USE_LXLITE=1;
47567
47568 #
47569 # helper functions
47570 # basnam, variant of basename, which does _not_ remove the path, _iff_
47571 # second argument (suffix to remove) is given
47572 basnam(){
47573 case ${D}# in
47574 1)
47575 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47576 ;;
47577 2)
47578 echo ${D}1 | sed 's/'${D}2'${D}//'
47579 ;;
47580 *)
47581 echo "error in basnam ${D}*"
47582 exit 8
47583 ;;
47584 esac
47585 }
47586
47587 # Cleanup temporary files and output
47588 CleanUp() {
47589 cd ${D}curDir
47590 for i in ${D}inputFiles ; do
47591 case ${D}i in
47592 *!)
47593 rm -rf \`basnam ${D}i !\`
47594 ;;
47595 *)
47596 ;;
47597 esac
47598 done
47599
47600 # Kill result in case of failure as there is just to many stupid make/nmake
47601 # things out there which doesn't do this.
47602 if [ ${D}# -eq 0 ]; then
47603 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47604 fi
47605 }
47606
47607 # Print usage and exit script with rc=1.
47608 PrintHelp() {
47609 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47610 echo ' [-name-mangler-script script.sh]'
47611 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47612 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47613 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47614 echo ' [*.o] [*.a]'
47615 echo '*> "output_file" should have no extension.'
47616 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47617 echo ' The import library name is derived from this and is set to "name".a,'
47618 echo ' unless overridden by -import'
47619 echo '*> "importlib_name" should have no extension.'
47620 echo ' If it has the .o, or .a extension, it is automatically removed.'
47621 echo ' This name is used as the import library name and may be longer and'
47622 echo ' more descriptive than the DLL name which has to follow the old '
47623 echo ' 8.3 convention of FAT.'
47624 echo '*> "script.sh may be given to override the output_file name by a'
47625 echo ' different name. It is mainly useful if the regular make process'
47626 echo ' of some package does not take into account OS/2 restriction of'
47627 echo ' DLL name lengths. It takes the importlib name as input and is'
47628 echo ' supposed to procude a shorter name as output. The script should'
47629 echo ' expect to get importlib_name without extension and should produce'
47630 echo ' a (max.) 8 letter name without extension.'
47631 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47632 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47633 echo ' These flags will be put at the start of GCC command line.'
47634 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47635 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47636 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47637 echo ' If the last character of a symbol is "*", all symbols beginning'
47638 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47639 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47640 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47641 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47642 echo ' C runtime DLLs.'
47643 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47644 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47645 echo ' unchanged to GCC at the end of command line.'
47646 echo '*> If you create a DLL from a library and you do not specify -o,'
47647 echo ' the basename for DLL and import library will be set to library name,'
47648 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47649 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47650 echo ' library will be renamed into gcc_s.a.'
47651 echo '--------'
47652 echo 'Example:'
47653 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47654 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47655 CleanUp
47656 exit 1
47657 }
47658
47659 # Execute a command.
47660 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47661 # @Uses Whatever CleanUp() uses.
47662 doCommand() {
47663 echo "${D}*"
47664 eval ${D}*
47665 rcCmd=${D}?
47666
47667 if [ ${D}rcCmd -ne 0 ]; then
47668 echo "command failed, exit code="${D}rcCmd
47669 CleanUp
47670 exit ${D}rcCmd
47671 fi
47672 }
47673
47674 # main routine
47675 # setup globals
47676 cmdLine=${D}*
47677 outFile=""
47678 outimpFile=""
47679 inputFiles=""
47680 renameScript=""
47681 description=""
47682 CC=gcc.exe
47683 CFLAGS="-s -Zcrtdll"
47684 EXTRA_CFLAGS=""
47685 EXPORT_BY_ORDINALS=0
47686 exclude_symbols=""
47687 library_flags=""
47688 curDir=\`pwd\`
47689 curDirS=curDir
47690 case ${D}curDirS in
47691 */)
47692 ;;
47693 *)
47694 curDirS=${D}{curDirS}"/"
47695 ;;
47696 esac
47697 # Parse commandline
47698 libsToLink=0
47699 omfLinking=0
47700 while [ ${D}1 ]; do
47701 case ${D}1 in
47702 -ord*)
47703 EXPORT_BY_ORDINALS=1;
47704 ;;
47705 -o*)
47706 shift
47707 outFile=${D}1
47708 ;;
47709 -i*)
47710 shift
47711 outimpFile=${D}1
47712 ;;
47713 -name-mangler-script)
47714 shift
47715 renameScript=${D}1
47716 ;;
47717 -d*)
47718 shift
47719 description=${D}1
47720 ;;
47721 -f*)
47722 shift
47723 CFLAGS=${D}1
47724 ;;
47725 -c*)
47726 shift
47727 CC=${D}1
47728 ;;
47729 -h*)
47730 PrintHelp
47731 ;;
47732 -ex*)
47733 shift
47734 exclude_symbols=${D}{exclude_symbols}${D}1" "
47735 ;;
47736 -libf*)
47737 shift
47738 library_flags=${D}{library_flags}${D}1" "
47739 ;;
47740 -nocrt*)
47741 CFLAGS="-s"
47742 ;;
47743 -nolxl*)
47744 flag_USE_LXLITE=0
47745 ;;
47746 -* | /*)
47747 case ${D}1 in
47748 -L* | -l*)
47749 libsToLink=1
47750 ;;
47751 -Zomf)
47752 omfLinking=1
47753 ;;
47754 *)
47755 ;;
47756 esac
47757 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47758 ;;
47759 *.dll)
47760 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47761 if [ ${D}omfLinking -eq 1 ]; then
47762 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47763 else
47764 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47765 fi
47766 ;;
47767 *)
47768 found=0;
47769 if [ ${D}libsToLink -ne 0 ]; then
47770 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47771 else
47772 for file in ${D}1 ; do
47773 if [ -f ${D}file ]; then
47774 inputFiles="${D}{inputFiles} ${D}file"
47775 found=1
47776 fi
47777 done
47778 if [ ${D}found -eq 0 ]; then
47779 echo "ERROR: No file(s) found: "${D}1
47780 exit 8
47781 fi
47782 fi
47783 ;;
47784 esac
47785 shift
47786 done # iterate cmdline words
47787
47788 #
47789 if [ -z "${D}inputFiles" ]; then
47790 echo "dllar: no input files"
47791 PrintHelp
47792 fi
47793
47794 # Now extract all .o files from .a files
47795 newInputFiles=""
47796 for file in ${D}inputFiles ; do
47797 case ${D}file in
47798 *.a | *.lib)
47799 case ${D}file in
47800 *.a)
47801 suffix=".a"
47802 AR="ar"
47803 ;;
47804 *.lib)
47805 suffix=".lib"
47806 AR="emxomfar"
47807 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47808 ;;
47809 *)
47810 ;;
47811 esac
47812 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47813 mkdir ${D}dirname
47814 if [ ${D}? -ne 0 ]; then
47815 echo "Failed to create subdirectory ./${D}dirname"
47816 CleanUp
47817 exit 8;
47818 fi
47819 # Append '!' to indicate archive
47820 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47821 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47822 cd ${D}curDir
47823 found=0;
47824 for subfile in ${D}dirname/*.o* ; do
47825 if [ -f ${D}subfile ]; then
47826 found=1
47827 if [ -s ${D}subfile ]; then
47828 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47829 newInputFiles="${D}newInputFiles ${D}subfile"
47830 fi
47831 fi
47832 done
47833 if [ ${D}found -eq 0 ]; then
47834 echo "WARNING: there are no files in archive \\'${D}file\\'"
47835 fi
47836 ;;
47837 *)
47838 newInputFiles="${D}{newInputFiles} ${D}file"
47839 ;;
47840 esac
47841 done
47842 inputFiles="${D}newInputFiles"
47843
47844 # Output filename(s).
47845 do_backup=0;
47846 if [ -z ${D}outFile ]; then
47847 do_backup=1;
47848 set outFile ${D}inputFiles; outFile=${D}2
47849 fi
47850
47851 # If it is an archive, remove the '!' and the '_%' suffixes
47852 case ${D}outFile in
47853 *_%!)
47854 outFile=\`basnam ${D}outFile _%!\`
47855 ;;
47856 *)
47857 ;;
47858 esac
47859 case ${D}outFile in
47860 *.dll)
47861 outFile=\`basnam ${D}outFile .dll\`
47862 ;;
47863 *.DLL)
47864 outFile=\`basnam ${D}outFile .DLL\`
47865 ;;
47866 *.o)
47867 outFile=\`basnam ${D}outFile .o\`
47868 ;;
47869 *.obj)
47870 outFile=\`basnam ${D}outFile .obj\`
47871 ;;
47872 *.a)
47873 outFile=\`basnam ${D}outFile .a\`
47874 ;;
47875 *.lib)
47876 outFile=\`basnam ${D}outFile .lib\`
47877 ;;
47878 *)
47879 ;;
47880 esac
47881 case ${D}outimpFile in
47882 *.a)
47883 outimpFile=\`basnam ${D}outimpFile .a\`
47884 ;;
47885 *.lib)
47886 outimpFile=\`basnam ${D}outimpFile .lib\`
47887 ;;
47888 *)
47889 ;;
47890 esac
47891 if [ -z ${D}outimpFile ]; then
47892 outimpFile=${D}outFile
47893 fi
47894 defFile="${D}{outFile}.def"
47895 arcFile="${D}{outimpFile}.a"
47896 arcFile2="${D}{outimpFile}.lib"
47897
47898 #create ${D}dllFile as something matching 8.3 restrictions,
47899 if [ -z ${D}renameScript ] ; then
47900 dllFile="${D}outFile"
47901 else
47902 dllFile=\`${D}renameScript ${D}outimpFile\`
47903 fi
47904
47905 if [ ${D}do_backup -ne 0 ] ; then
47906 if [ -f ${D}arcFile ] ; then
47907 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47908 fi
47909 if [ -f ${D}arcFile2 ] ; then
47910 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47911 fi
47912 fi
47913
47914 # Extract public symbols from all the object files.
47915 tmpdefFile=${D}{defFile}_%
47916 rm -f ${D}tmpdefFile
47917 for file in ${D}inputFiles ; do
47918 case ${D}file in
47919 *!)
47920 ;;
47921 *)
47922 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47923 ;;
47924 esac
47925 done
47926
47927 # Create the def file.
47928 rm -f ${D}defFile
47929 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47930 dllFile="${D}{dllFile}.dll"
47931 if [ ! -z ${D}description ]; then
47932 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47933 fi
47934 echo "EXPORTS" >> ${D}defFile
47935
47936 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47937 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47938
47939 # Checks if the export is ok or not.
47940 for word in ${D}exclude_symbols; do
47941 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47942 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47943 done
47944
47945
47946 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47947 sed "=" < ${D}tmpdefFile | \\
47948 sed '
47949 N
47950 : loop
47951 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47952 t loop
47953 ' > ${D}{tmpdefFile}%
47954 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47955 else
47956 rm -f ${D}{tmpdefFile}%
47957 fi
47958 cat ${D}tmpdefFile >> ${D}defFile
47959 rm -f ${D}tmpdefFile
47960
47961 # Do linking, create implib, and apply lxlite.
47962 gccCmdl="";
47963 for file in ${D}inputFiles ; do
47964 case ${D}file in
47965 *!)
47966 ;;
47967 *)
47968 gccCmdl="${D}gccCmdl ${D}file"
47969 ;;
47970 esac
47971 done
47972 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47973 touch "${D}{outFile}.dll"
47974
47975 doCommand "emximp -o ${D}arcFile ${D}defFile"
47976 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47977 add_flags="";
47978 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47979 add_flags="-ynd"
47980 fi
47981 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47982 fi
47983 doCommand "emxomf -s -l ${D}arcFile"
47984
47985 # Successful exit.
47986 CleanUp 1
47987 exit 0
47988 EOF
47989
47990 chmod +x dllar.sh
47991 ;;
47992
47993 powerpc-apple-macos* | \
47994 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47995 *-*-mirbsd* | \
47996 *-*-sunos4* | \
47997 *-*-osf* | \
47998 *-*-dgux5* | \
47999 *-*-sysv5* | \
48000 *-pc-msdosdjgpp )
48001 ;;
48002
48003 *)
48004 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48005 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48006 { (exit 1); exit 1; }; }
48007 esac
48008
48009 if test "x$PIC_FLAG" != "x" ; then
48010 PIC_FLAG="$PIC_FLAG -DPIC"
48011 fi
48012
48013 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48014 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48015 fi
48016 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48017 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48018 fi
48019
48020
48021
48022
48023
48024
48025
48026
48027
48028 USE_SOVERSION=0
48029 USE_SOVERLINUX=0
48030 USE_SOVERSOLARIS=0
48031 USE_SOVERCYGWIN=0
48032 USE_SOSYMLINKS=0
48033 USE_MACVERSION=0
48034 SONAME_FLAG=
48035
48036 case "${BAKEFILE_HOST}" in
48037 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48038 if test "x$SUNCXX" = "xyes"; then
48039 SONAME_FLAG="-h "
48040 else
48041 SONAME_FLAG="-Wl,-soname,"
48042 fi
48043 USE_SOVERSION=1
48044 USE_SOVERLINUX=1
48045 USE_SOSYMLINKS=1
48046 ;;
48047
48048 *-*-solaris2* )
48049 SONAME_FLAG="-h "
48050 USE_SOVERSION=1
48051 USE_SOVERSOLARIS=1
48052 USE_SOSYMLINKS=1
48053 ;;
48054
48055 *-*-darwin* )
48056 USE_MACVERSION=1
48057 USE_SOVERSION=1
48058 USE_SOSYMLINKS=1
48059 ;;
48060
48061 *-*-cygwin* )
48062 USE_SOVERSION=1
48063 USE_SOVERCYGWIN=1
48064 ;;
48065 esac
48066
48067
48068
48069
48070
48071
48072
48073
48074
48075
48076 # Check whether --enable-dependency-tracking was given.
48077 if test "${enable_dependency_tracking+set}" = set; then
48078 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48079 fi
48080
48081
48082 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48083 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48084
48085 BK_DEPS=""
48086 if test "x$bk_use_trackdeps" = "xno" ; then
48087 DEPS_TRACKING=0
48088 { echo "$as_me:$LINENO: result: disabled" >&5
48089 echo "${ECHO_T}disabled" >&6; }
48090 else
48091 DEPS_TRACKING=1
48092
48093 if test "x$GCC" = "xyes"; then
48094 DEPSMODE=gcc
48095 case "${BAKEFILE_HOST}" in
48096 *-*-darwin* )
48097 DEPSFLAG="-no-cpp-precomp -MMD"
48098 ;;
48099 * )
48100 DEPSFLAG="-MMD"
48101 ;;
48102 esac
48103 { echo "$as_me:$LINENO: result: gcc" >&5
48104 echo "${ECHO_T}gcc" >&6; }
48105 elif test "x$MWCC" = "xyes"; then
48106 DEPSMODE=mwcc
48107 DEPSFLAG="-MM"
48108 { echo "$as_me:$LINENO: result: mwcc" >&5
48109 echo "${ECHO_T}mwcc" >&6; }
48110 elif test "x$SUNCC" = "xyes"; then
48111 DEPSMODE=unixcc
48112 DEPSFLAG="-xM1"
48113 { echo "$as_me:$LINENO: result: Sun cc" >&5
48114 echo "${ECHO_T}Sun cc" >&6; }
48115 elif test "x$SGICC" = "xyes"; then
48116 DEPSMODE=unixcc
48117 DEPSFLAG="-M"
48118 { echo "$as_me:$LINENO: result: SGI cc" >&5
48119 echo "${ECHO_T}SGI cc" >&6; }
48120 elif test "x$HPCC" = "xyes"; then
48121 DEPSMODE=unixcc
48122 DEPSFLAG="+make"
48123 { echo "$as_me:$LINENO: result: HP cc" >&5
48124 echo "${ECHO_T}HP cc" >&6; }
48125 elif test "x$COMPAQCC" = "xyes"; then
48126 DEPSMODE=gcc
48127 DEPSFLAG="-MD"
48128 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48129 echo "${ECHO_T}Compaq cc" >&6; }
48130 else
48131 DEPS_TRACKING=0
48132 { echo "$as_me:$LINENO: result: none" >&5
48133 echo "${ECHO_T}none" >&6; }
48134 fi
48135
48136 if test $DEPS_TRACKING = 1 ; then
48137
48138 D='$'
48139 cat <<EOF >bk-deps
48140 #!/bin/sh
48141
48142 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48143 # script. It is used to track C/C++ files dependencies in portable way.
48144 #
48145 # Permission is given to use this file in any way.
48146
48147 DEPSMODE=${DEPSMODE}
48148 DEPSDIR=.deps
48149 DEPSFLAG="${DEPSFLAG}"
48150
48151 mkdir -p ${D}DEPSDIR
48152
48153 if test ${D}DEPSMODE = gcc ; then
48154 ${D}* ${D}{DEPSFLAG}
48155 status=${D}?
48156 if test ${D}{status} != 0 ; then
48157 exit ${D}{status}
48158 fi
48159 # move created file to the location we want it in:
48160 while test ${D}# -gt 0; do
48161 case "${D}1" in
48162 -o )
48163 shift
48164 objfile=${D}1
48165 ;;
48166 -* )
48167 ;;
48168 * )
48169 srcfile=${D}1
48170 ;;
48171 esac
48172 shift
48173 done
48174 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48175 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48176 if test -f ${D}depfile ; then
48177 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48178 rm -f ${D}depfile
48179 else
48180 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48181 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48182 if test ! -f ${D}depfile ; then
48183 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48184 depfile="${D}objfile.d"
48185 fi
48186 if test -f ${D}depfile ; then
48187 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48188 rm -f ${D}depfile
48189 fi
48190 fi
48191 exit 0
48192 elif test ${D}DEPSMODE = mwcc ; then
48193 ${D}* || exit ${D}?
48194 # Run mwcc again with -MM and redirect into the dep file we want
48195 # NOTE: We can't use shift here because we need ${D}* to be valid
48196 prevarg=
48197 for arg in ${D}* ; do
48198 if test "${D}prevarg" = "-o"; then
48199 objfile=${D}arg
48200 else
48201 case "${D}arg" in
48202 -* )
48203 ;;
48204 * )
48205 srcfile=${D}arg
48206 ;;
48207 esac
48208 fi
48209 prevarg="${D}arg"
48210 done
48211 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48212 exit 0
48213 elif test ${D}DEPSMODE = unixcc; then
48214 ${D}* || exit ${D}?
48215 # Run compiler again with deps flag and redirect into the dep file.
48216 # It doesn't work if the '-o FILE' option is used, but without it the
48217 # dependency file will contain the wrong name for the object. So it is
48218 # removed from the command line, and the dep file is fixed with sed.
48219 cmd=""
48220 while test ${D}# -gt 0; do
48221 case "${D}1" in
48222 -o )
48223 shift
48224 objfile=${D}1
48225 ;;
48226 * )
48227 eval arg${D}#=\\${D}1
48228 cmd="${D}cmd \\${D}arg${D}#"
48229 ;;
48230 esac
48231 shift
48232 done
48233 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48234 exit 0
48235 else
48236 ${D}*
48237 exit ${D}?
48238 fi
48239 EOF
48240
48241 chmod +x bk-deps
48242 BK_DEPS="`pwd`/bk-deps"
48243 fi
48244 fi
48245
48246
48247
48248
48249
48250 case ${BAKEFILE_HOST} in
48251 *-*-cygwin* | *-*-mingw32* )
48252 if test -n "$ac_tool_prefix"; then
48253 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48254 set dummy ${ac_tool_prefix}windres; ac_word=$2
48255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48257 if test "${ac_cv_prog_WINDRES+set}" = set; then
48258 echo $ECHO_N "(cached) $ECHO_C" >&6
48259 else
48260 if test -n "$WINDRES"; then
48261 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48262 else
48263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48264 for as_dir in $PATH
48265 do
48266 IFS=$as_save_IFS
48267 test -z "$as_dir" && as_dir=.
48268 for ac_exec_ext in '' $ac_executable_extensions; do
48269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48270 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48272 break 2
48273 fi
48274 done
48275 done
48276 IFS=$as_save_IFS
48277
48278 fi
48279 fi
48280 WINDRES=$ac_cv_prog_WINDRES
48281 if test -n "$WINDRES"; then
48282 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48283 echo "${ECHO_T}$WINDRES" >&6; }
48284 else
48285 { echo "$as_me:$LINENO: result: no" >&5
48286 echo "${ECHO_T}no" >&6; }
48287 fi
48288
48289
48290 fi
48291 if test -z "$ac_cv_prog_WINDRES"; then
48292 ac_ct_WINDRES=$WINDRES
48293 # Extract the first word of "windres", so it can be a program name with args.
48294 set dummy windres; ac_word=$2
48295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48297 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48298 echo $ECHO_N "(cached) $ECHO_C" >&6
48299 else
48300 if test -n "$ac_ct_WINDRES"; then
48301 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48302 else
48303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48304 for as_dir in $PATH
48305 do
48306 IFS=$as_save_IFS
48307 test -z "$as_dir" && as_dir=.
48308 for ac_exec_ext in '' $ac_executable_extensions; do
48309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48310 ac_cv_prog_ac_ct_WINDRES="windres"
48311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48312 break 2
48313 fi
48314 done
48315 done
48316 IFS=$as_save_IFS
48317
48318 fi
48319 fi
48320 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48321 if test -n "$ac_ct_WINDRES"; then
48322 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48323 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48324 else
48325 { echo "$as_me:$LINENO: result: no" >&5
48326 echo "${ECHO_T}no" >&6; }
48327 fi
48328
48329 if test "x$ac_ct_WINDRES" = x; then
48330 WINDRES=""
48331 else
48332 case $cross_compiling:$ac_tool_warned in
48333 yes:)
48334 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48335 whose name does not start with the host triplet. If you think this
48336 configuration is useful to you, please write to autoconf@gnu.org." >&5
48337 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48338 whose name does not start with the host triplet. If you think this
48339 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48340 ac_tool_warned=yes ;;
48341 esac
48342 WINDRES=$ac_ct_WINDRES
48343 fi
48344 else
48345 WINDRES="$ac_cv_prog_WINDRES"
48346 fi
48347
48348 ;;
48349
48350 *-*-darwin* | powerpc-apple-macos* )
48351 # Extract the first word of "Rez", so it can be a program name with args.
48352 set dummy Rez; ac_word=$2
48353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48355 if test "${ac_cv_prog_REZ+set}" = set; then
48356 echo $ECHO_N "(cached) $ECHO_C" >&6
48357 else
48358 if test -n "$REZ"; then
48359 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48360 else
48361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48362 for as_dir in $PATH
48363 do
48364 IFS=$as_save_IFS
48365 test -z "$as_dir" && as_dir=.
48366 for ac_exec_ext in '' $ac_executable_extensions; do
48367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48368 ac_cv_prog_REZ="Rez"
48369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48370 break 2
48371 fi
48372 done
48373 done
48374 IFS=$as_save_IFS
48375
48376 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48377 fi
48378 fi
48379 REZ=$ac_cv_prog_REZ
48380 if test -n "$REZ"; then
48381 { echo "$as_me:$LINENO: result: $REZ" >&5
48382 echo "${ECHO_T}$REZ" >&6; }
48383 else
48384 { echo "$as_me:$LINENO: result: no" >&5
48385 echo "${ECHO_T}no" >&6; }
48386 fi
48387
48388
48389 # Extract the first word of "SetFile", so it can be a program name with args.
48390 set dummy SetFile; ac_word=$2
48391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48393 if test "${ac_cv_prog_SETFILE+set}" = set; then
48394 echo $ECHO_N "(cached) $ECHO_C" >&6
48395 else
48396 if test -n "$SETFILE"; then
48397 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48398 else
48399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48400 for as_dir in $PATH
48401 do
48402 IFS=$as_save_IFS
48403 test -z "$as_dir" && as_dir=.
48404 for ac_exec_ext in '' $ac_executable_extensions; do
48405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48406 ac_cv_prog_SETFILE="SetFile"
48407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48408 break 2
48409 fi
48410 done
48411 done
48412 IFS=$as_save_IFS
48413
48414 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48415 fi
48416 fi
48417 SETFILE=$ac_cv_prog_SETFILE
48418 if test -n "$SETFILE"; then
48419 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48420 echo "${ECHO_T}$SETFILE" >&6; }
48421 else
48422 { echo "$as_me:$LINENO: result: no" >&5
48423 echo "${ECHO_T}no" >&6; }
48424 fi
48425
48426
48427 ;;
48428 esac
48429
48430
48431
48432
48433
48434
48435 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48436
48437
48438 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48439
48440
48441
48442 # Check whether --enable-precomp-headers was given.
48443 if test "${enable_precomp_headers+set}" = set; then
48444 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48445 fi
48446
48447
48448 GCC_PCH=0
48449 ICC_PCH=0
48450 USE_PCH=0
48451 BK_MAKE_PCH=""
48452
48453 case ${BAKEFILE_HOST} in
48454 *-*-cygwin* )
48455 bk_use_pch="no"
48456 ;;
48457 esac
48458
48459 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48460 if test "x$GCC" = "xyes"; then
48461 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48462 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48463 cat >conftest.$ac_ext <<_ACEOF
48464 /* confdefs.h. */
48465 _ACEOF
48466 cat confdefs.h >>conftest.$ac_ext
48467 cat >>conftest.$ac_ext <<_ACEOF
48468 /* end confdefs.h. */
48469
48470 int
48471 main ()
48472 {
48473
48474 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48475 There is no PCH support
48476 #endif
48477 #if (__GNUC__ < 3)
48478 There is no PCH support
48479 #endif
48480 #if (__GNUC__ == 3) && \
48481 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48482 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48483 ( defined(__INTEL_COMPILER) )
48484 There is no PCH support
48485 #endif
48486
48487 ;
48488 return 0;
48489 }
48490 _ACEOF
48491 rm -f conftest.$ac_objext
48492 if { (ac_try="$ac_compile"
48493 case "(($ac_try" in
48494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48495 *) ac_try_echo=$ac_try;;
48496 esac
48497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48498 (eval "$ac_compile") 2>conftest.er1
48499 ac_status=$?
48500 grep -v '^ *+' conftest.er1 >conftest.err
48501 rm -f conftest.er1
48502 cat conftest.err >&5
48503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48504 (exit $ac_status); } && {
48505 test -z "$ac_c_werror_flag" ||
48506 test ! -s conftest.err
48507 } && test -s conftest.$ac_objext; then
48508
48509 { echo "$as_me:$LINENO: result: yes" >&5
48510 echo "${ECHO_T}yes" >&6; }
48511 GCC_PCH=1
48512
48513 else
48514 echo "$as_me: failed program was:" >&5
48515 sed 's/^/| /' conftest.$ac_ext >&5
48516
48517
48518 cat >conftest.$ac_ext <<_ACEOF
48519 /* confdefs.h. */
48520 _ACEOF
48521 cat confdefs.h >>conftest.$ac_ext
48522 cat >>conftest.$ac_ext <<_ACEOF
48523 /* end confdefs.h. */
48524
48525 int
48526 main ()
48527 {
48528
48529 #if !defined(__INTEL_COMPILER) || \
48530 (__INTEL_COMPILER < 800)
48531 There is no PCH support
48532 #endif
48533
48534 ;
48535 return 0;
48536 }
48537 _ACEOF
48538 rm -f conftest.$ac_objext
48539 if { (ac_try="$ac_compile"
48540 case "(($ac_try" in
48541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48542 *) ac_try_echo=$ac_try;;
48543 esac
48544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48545 (eval "$ac_compile") 2>conftest.er1
48546 ac_status=$?
48547 grep -v '^ *+' conftest.er1 >conftest.err
48548 rm -f conftest.er1
48549 cat conftest.err >&5
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); } && {
48552 test -z "$ac_c_werror_flag" ||
48553 test ! -s conftest.err
48554 } && test -s conftest.$ac_objext; then
48555
48556 { echo "$as_me:$LINENO: result: yes" >&5
48557 echo "${ECHO_T}yes" >&6; }
48558 ICC_PCH=1
48559
48560 else
48561 echo "$as_me: failed program was:" >&5
48562 sed 's/^/| /' conftest.$ac_ext >&5
48563
48564
48565 { echo "$as_me:$LINENO: result: no" >&5
48566 echo "${ECHO_T}no" >&6; }
48567
48568 fi
48569
48570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48571
48572 fi
48573
48574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48575 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48576 USE_PCH=1
48577
48578 D='$'
48579 cat <<EOF >bk-make-pch
48580 #!/bin/sh
48581
48582 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48583 # script. It is used to generated precompiled headers.
48584 #
48585 # Permission is given to use this file in any way.
48586
48587 outfile="${D}{1}"
48588 header="${D}{2}"
48589 shift
48590 shift
48591
48592 compiler=""
48593 headerfile=""
48594
48595 while test ${D}{#} -gt 0; do
48596 add_to_cmdline=1
48597 case "${D}{1}" in
48598 -I* )
48599 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48600 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48601 headerfile="${D}{incdir}/${D}{header}"
48602 fi
48603 ;;
48604 -use-pch|-use_pch )
48605 shift
48606 add_to_cmdline=0
48607 ;;
48608 esac
48609 if test ${D}add_to_cmdline = 1 ; then
48610 compiler="${D}{compiler} ${D}{1}"
48611 fi
48612 shift
48613 done
48614
48615 if test "x${D}{headerfile}" = "x" ; then
48616 echo "error: can't find header ${D}{header} in include paths" >&2
48617 else
48618 if test -f ${D}{outfile} ; then
48619 rm -f ${D}{outfile}
48620 else
48621 mkdir -p \`dirname ${D}{outfile}\`
48622 fi
48623 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48624 mkdir -p .deps
48625 if test "x${GCC_PCH}" = "x1" ; then
48626 # can do this because gcc is >= 3.4:
48627 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48628 elif test "x${ICC_PCH}" = "x1" ; then
48629 filename=pch_gen-${D}${D}
48630 file=${D}{filename}.c
48631 dfile=${D}{filename}.d
48632 cat > ${D}file <<EOT
48633 #include "${D}header"
48634 EOT
48635 # using -MF icc complains about differing command lines in creation/use
48636 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48637 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48638 rm -f ${D}file ${D}dfile ${D}{filename}.o
48639 fi
48640 exit ${D}{?}
48641 fi
48642 EOF
48643
48644 chmod +x bk-make-pch
48645 BK_MAKE_PCH="`pwd`/bk-make-pch"
48646 fi
48647 fi
48648 fi
48649
48650
48651
48652
48653
48654 COND_BUILD_DEBUG="#"
48655 if test "x$BUILD" = "xdebug" ; then
48656 COND_BUILD_DEBUG=""
48657 fi
48658
48659 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48660 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48661 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48662 fi
48663
48664 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48665 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48666 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48667 fi
48668
48669 COND_BUILD_DEBUG_UNICODE_0="#"
48670 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48671 COND_BUILD_DEBUG_UNICODE_0=""
48672 fi
48673
48674 COND_BUILD_DEBUG_UNICODE_1="#"
48675 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48676 COND_BUILD_DEBUG_UNICODE_1=""
48677 fi
48678
48679 COND_BUILD_RELEASE="#"
48680 if test "x$BUILD" = "xrelease" ; then
48681 COND_BUILD_RELEASE=""
48682 fi
48683
48684 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48685 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48686 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48687 fi
48688
48689 COND_BUILD_RELEASE_UNICODE_0="#"
48690 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48691 COND_BUILD_RELEASE_UNICODE_0=""
48692 fi
48693
48694 COND_BUILD_RELEASE_UNICODE_1="#"
48695 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48696 COND_BUILD_RELEASE_UNICODE_1=""
48697 fi
48698
48699 COND_DEBUG_FLAG_1="#"
48700 if test "x$DEBUG_FLAG" = "x1" ; then
48701 COND_DEBUG_FLAG_1=""
48702 fi
48703
48704 COND_DEBUG_INFO_0="#"
48705 if test "x$DEBUG_INFO" = "x0" ; then
48706 COND_DEBUG_INFO_0=""
48707 fi
48708
48709 COND_DEBUG_INFO_1="#"
48710 if test "x$DEBUG_INFO" = "x1" ; then
48711 COND_DEBUG_INFO_1=""
48712 fi
48713
48714 COND_DEPS_TRACKING_0="#"
48715 if test "x$DEPS_TRACKING" = "x0" ; then
48716 COND_DEPS_TRACKING_0=""
48717 fi
48718
48719 COND_DEPS_TRACKING_1="#"
48720 if test "x$DEPS_TRACKING" = "x1" ; then
48721 COND_DEPS_TRACKING_1=""
48722 fi
48723
48724 COND_GCC_PCH_1="#"
48725 if test "x$GCC_PCH" = "x1" ; then
48726 COND_GCC_PCH_1=""
48727 fi
48728
48729 COND_ICC_PCH_1="#"
48730 if test "x$ICC_PCH" = "x1" ; then
48731 COND_ICC_PCH_1=""
48732 fi
48733
48734 COND_MONOLITHIC_0="#"
48735 if test "x$MONOLITHIC" = "x0" ; then
48736 COND_MONOLITHIC_0=""
48737 fi
48738
48739 COND_MONOLITHIC_0_SHARED_0="#"
48740 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48741 COND_MONOLITHIC_0_SHARED_0=""
48742 fi
48743
48744 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48745 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48746 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48747 fi
48748
48749 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48751 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48752 fi
48753
48754 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48756 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48757 fi
48758
48759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48762 fi
48763
48764 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48765 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48767 fi
48768
48769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48770 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48772 fi
48773
48774 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48776 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48777 fi
48778
48779 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48781 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48782 fi
48783
48784 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48786 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48787 fi
48788
48789 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48791 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48792 fi
48793
48794 COND_MONOLITHIC_0_SHARED_1="#"
48795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48796 COND_MONOLITHIC_0_SHARED_1=""
48797 fi
48798
48799 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48801 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48802 fi
48803
48804 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48806 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48807 fi
48808
48809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48812 fi
48813
48814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48817 fi
48818
48819 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48822 fi
48823
48824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48827 fi
48828
48829 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48831 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48832 fi
48833
48834 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48836 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48837 fi
48838
48839 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48841 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48842 fi
48843
48844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48847 fi
48848
48849 COND_MONOLITHIC_0_USE_AUI_1="#"
48850 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48851 COND_MONOLITHIC_0_USE_AUI_1=""
48852 fi
48853
48854 COND_MONOLITHIC_0_USE_GUI_1="#"
48855 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48856 COND_MONOLITHIC_0_USE_GUI_1=""
48857 fi
48858
48859 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48860 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48862 fi
48863
48864 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48865 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48866 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48867 fi
48868
48869 COND_MONOLITHIC_0_USE_HTML_1="#"
48870 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48871 COND_MONOLITHIC_0_USE_HTML_1=""
48872 fi
48873
48874 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48875 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48876 COND_MONOLITHIC_0_USE_MEDIA_1=""
48877 fi
48878
48879 COND_MONOLITHIC_0_USE_ODBC_1="#"
48880 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48881 COND_MONOLITHIC_0_USE_ODBC_1=""
48882 fi
48883
48884 COND_MONOLITHIC_0_USE_QA_1="#"
48885 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48886 COND_MONOLITHIC_0_USE_QA_1=""
48887 fi
48888
48889 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48890 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48891 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48892 fi
48893
48894 COND_MONOLITHIC_0_USE_STC_1="#"
48895 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48896 COND_MONOLITHIC_0_USE_STC_1=""
48897 fi
48898
48899 COND_MONOLITHIC_0_USE_XRC_1="#"
48900 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48901 COND_MONOLITHIC_0_USE_XRC_1=""
48902 fi
48903
48904 COND_MONOLITHIC_1="#"
48905 if test "x$MONOLITHIC" = "x1" ; then
48906 COND_MONOLITHIC_1=""
48907 fi
48908
48909 COND_MONOLITHIC_1_SHARED_0="#"
48910 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48911 COND_MONOLITHIC_1_SHARED_0=""
48912 fi
48913
48914 COND_MONOLITHIC_1_SHARED_1="#"
48915 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48916 COND_MONOLITHIC_1_SHARED_1=""
48917 fi
48918
48919 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48920 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48921 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48922 fi
48923
48924 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48925 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48926 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48927 fi
48928
48929 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48930 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48931 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48932 fi
48933
48934 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48935 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48936 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48937 fi
48938
48939 COND_PLATFORM_MACOSX_1="#"
48940 if test "x$PLATFORM_MACOSX" = "x1" ; then
48941 COND_PLATFORM_MACOSX_1=""
48942 fi
48943
48944 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48945 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48946 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48947 fi
48948
48949 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48950 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48951 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48952 fi
48953
48954 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48956 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48957 fi
48958
48959 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48960 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48961 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48962 fi
48963
48964 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48965 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48966 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48967 fi
48968
48969 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48971 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48972 fi
48973
48974 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48976 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48977 fi
48978
48979 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48981 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48982 fi
48983
48984 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48986 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48987 fi
48988
48989 COND_PLATFORM_MACOS_1="#"
48990 if test "x$PLATFORM_MACOS" = "x1" ; then
48991 COND_PLATFORM_MACOS_1=""
48992 fi
48993
48994 COND_PLATFORM_MAC_1="#"
48995 if test "x$PLATFORM_MAC" = "x1" ; then
48996 COND_PLATFORM_MAC_1=""
48997 fi
48998
48999 COND_PLATFORM_MSDOS_0="#"
49000 if test "x$PLATFORM_MSDOS" = "x0" ; then
49001 COND_PLATFORM_MSDOS_0=""
49002 fi
49003
49004 COND_PLATFORM_MSDOS_1="#"
49005 if test "x$PLATFORM_MSDOS" = "x1" ; then
49006 COND_PLATFORM_MSDOS_1=""
49007 fi
49008
49009 COND_PLATFORM_OS2_1="#"
49010 if test "x$PLATFORM_OS2" = "x1" ; then
49011 COND_PLATFORM_OS2_1=""
49012 fi
49013
49014 COND_PLATFORM_UNIX_0="#"
49015 if test "x$PLATFORM_UNIX" = "x0" ; then
49016 COND_PLATFORM_UNIX_0=""
49017 fi
49018
49019 COND_PLATFORM_UNIX_1="#"
49020 if test "x$PLATFORM_UNIX" = "x1" ; then
49021 COND_PLATFORM_UNIX_1=""
49022 fi
49023
49024 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49025 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49026 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49027 fi
49028
49029 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49030 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49031 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49032 fi
49033
49034 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49035 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49036 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49037 fi
49038
49039 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49040 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49041 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49042 fi
49043
49044 COND_PLATFORM_WIN32_0="#"
49045 if test "x$PLATFORM_WIN32" = "x0" ; then
49046 COND_PLATFORM_WIN32_0=""
49047 fi
49048
49049 COND_PLATFORM_WIN32_1="#"
49050 if test "x$PLATFORM_WIN32" = "x1" ; then
49051 COND_PLATFORM_WIN32_1=""
49052 fi
49053
49054 COND_SHARED_0="#"
49055 if test "x$SHARED" = "x0" ; then
49056 COND_SHARED_0=""
49057 fi
49058
49059 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49060 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49061 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49062 fi
49063
49064 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49065 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49066 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49067 fi
49068
49069 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49070 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49071 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49072 fi
49073
49074 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49075 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49076 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49077 fi
49078
49079 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49080 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49081 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49082 fi
49083
49084 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49085 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49086 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49087 fi
49088
49089 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49090 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49091 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49092 fi
49093
49094 COND_SHARED_0_USE_STC_1="#"
49095 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49096 COND_SHARED_0_USE_STC_1=""
49097 fi
49098
49099 COND_SHARED_0_USE_XRC_1="#"
49100 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49101 COND_SHARED_0_USE_XRC_1=""
49102 fi
49103
49104 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49105 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49106 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49107 fi
49108
49109 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49110 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49111 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49112 fi
49113
49114 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49115 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49116 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49117 fi
49118
49119 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49120 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49121 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49122 fi
49123
49124 COND_SHARED_1="#"
49125 if test "x$SHARED" = "x1" ; then
49126 COND_SHARED_1=""
49127 fi
49128
49129 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49130 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49131 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49132 fi
49133
49134 COND_SHARED_1_USE_XRC_1="#"
49135 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49136 COND_SHARED_1_USE_XRC_1=""
49137 fi
49138
49139 COND_TOOLKIT_="#"
49140 if test "x$TOOLKIT" = "x" ; then
49141 COND_TOOLKIT_=""
49142 fi
49143
49144 COND_TOOLKIT_COCOA="#"
49145 if test "x$TOOLKIT" = "xCOCOA" ; then
49146 COND_TOOLKIT_COCOA=""
49147 fi
49148
49149 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49150 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49151 COND_TOOLKIT_COCOA_USE_GUI_1=""
49152 fi
49153
49154 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49155 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49156 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49157 fi
49158
49159 COND_TOOLKIT_DFB="#"
49160 if test "x$TOOLKIT" = "xDFB" ; then
49161 COND_TOOLKIT_DFB=""
49162 fi
49163
49164 COND_TOOLKIT_DFB_USE_GUI_1="#"
49165 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49166 COND_TOOLKIT_DFB_USE_GUI_1=""
49167 fi
49168
49169 COND_TOOLKIT_GTK="#"
49170 if test "x$TOOLKIT" = "xGTK" ; then
49171 COND_TOOLKIT_GTK=""
49172 fi
49173
49174 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49175 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49176 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49177 fi
49178
49179 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49180 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49181 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49182 fi
49183
49184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49185 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49186 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49187 fi
49188
49189 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49190 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49191 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49192 fi
49193
49194 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49195 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49196 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49197 fi
49198
49199 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49200 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49201 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49202 fi
49203
49204 COND_TOOLKIT_GTK_USE_GUI_1="#"
49205 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49206 COND_TOOLKIT_GTK_USE_GUI_1=""
49207 fi
49208
49209 COND_TOOLKIT_MAC="#"
49210 if test "x$TOOLKIT" = "xMAC" ; then
49211 COND_TOOLKIT_MAC=""
49212 fi
49213
49214 COND_TOOLKIT_MAC_USE_GUI_1="#"
49215 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49216 COND_TOOLKIT_MAC_USE_GUI_1=""
49217 fi
49218
49219 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49220 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49221 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49222 fi
49223
49224 COND_TOOLKIT_MGL="#"
49225 if test "x$TOOLKIT" = "xMGL" ; then
49226 COND_TOOLKIT_MGL=""
49227 fi
49228
49229 COND_TOOLKIT_MGL_USE_GUI_1="#"
49230 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49231 COND_TOOLKIT_MGL_USE_GUI_1=""
49232 fi
49233
49234 COND_TOOLKIT_MOTIF="#"
49235 if test "x$TOOLKIT" = "xMOTIF" ; then
49236 COND_TOOLKIT_MOTIF=""
49237 fi
49238
49239 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49240 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49241 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49242 fi
49243
49244 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49245 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49246 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49247 fi
49248
49249 COND_TOOLKIT_MSW="#"
49250 if test "x$TOOLKIT" = "xMSW" ; then
49251 COND_TOOLKIT_MSW=""
49252 fi
49253
49254 COND_TOOLKIT_MSW_USE_GUI_1="#"
49255 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49256 COND_TOOLKIT_MSW_USE_GUI_1=""
49257 fi
49258
49259 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49260 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49261 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49262 fi
49263
49264 COND_TOOLKIT_MSW_WXUNIV_0="#"
49265 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49266 COND_TOOLKIT_MSW_WXUNIV_0=""
49267 fi
49268
49269 COND_TOOLKIT_PM="#"
49270 if test "x$TOOLKIT" = "xPM" ; then
49271 COND_TOOLKIT_PM=""
49272 fi
49273
49274 COND_TOOLKIT_PM_USE_GUI_1="#"
49275 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49276 COND_TOOLKIT_PM_USE_GUI_1=""
49277 fi
49278
49279 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49280 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49281 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49282 fi
49283
49284 COND_TOOLKIT_WINCE="#"
49285 if test "x$TOOLKIT" = "xWINCE" ; then
49286 COND_TOOLKIT_WINCE=""
49287 fi
49288
49289 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49290 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49291 COND_TOOLKIT_WINCE_USE_GUI_1=""
49292 fi
49293
49294 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49295 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49296 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49297 fi
49298
49299 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49300 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49301 COND_TOOLKIT_WINCE_WXUNIV_0=""
49302 fi
49303
49304 COND_TOOLKIT_X11="#"
49305 if test "x$TOOLKIT" = "xX11" ; then
49306 COND_TOOLKIT_X11=""
49307 fi
49308
49309 COND_TOOLKIT_X11_USE_GUI_1="#"
49310 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49311 COND_TOOLKIT_X11_USE_GUI_1=""
49312 fi
49313
49314 COND_UNICODE_1="#"
49315 if test "x$UNICODE" = "x1" ; then
49316 COND_UNICODE_1=""
49317 fi
49318
49319 COND_USE_EXCEPTIONS_0="#"
49320 if test "x$USE_EXCEPTIONS" = "x0" ; then
49321 COND_USE_EXCEPTIONS_0=""
49322 fi
49323
49324 COND_USE_EXCEPTIONS_1="#"
49325 if test "x$USE_EXCEPTIONS" = "x1" ; then
49326 COND_USE_EXCEPTIONS_1=""
49327 fi
49328
49329 COND_USE_GUI_0="#"
49330 if test "x$USE_GUI" = "x0" ; then
49331 COND_USE_GUI_0=""
49332 fi
49333
49334 COND_USE_GUI_1="#"
49335 if test "x$USE_GUI" = "x1" ; then
49336 COND_USE_GUI_1=""
49337 fi
49338
49339 COND_USE_GUI_1_USE_OPENGL_1="#"
49340 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49341 COND_USE_GUI_1_USE_OPENGL_1=""
49342 fi
49343
49344 COND_USE_GUI_1_WXUNIV_0="#"
49345 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49346 COND_USE_GUI_1_WXUNIV_0=""
49347 fi
49348
49349 COND_USE_GUI_1_WXUNIV_1="#"
49350 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49351 COND_USE_GUI_1_WXUNIV_1=""
49352 fi
49353
49354 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49355 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49356 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49357 fi
49358
49359 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49360 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49361 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49362 fi
49363
49364 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49365 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49366 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49367 fi
49368
49369 COND_USE_ODBC_1="#"
49370 if test "x$USE_ODBC" = "x1" ; then
49371 COND_USE_ODBC_1=""
49372 fi
49373
49374 COND_USE_OPENGL_1="#"
49375 if test "x$USE_OPENGL" = "x1" ; then
49376 COND_USE_OPENGL_1=""
49377 fi
49378
49379 COND_USE_PCH_1="#"
49380 if test "x$USE_PCH" = "x1" ; then
49381 COND_USE_PCH_1=""
49382 fi
49383
49384 COND_USE_PLUGINS_0="#"
49385 if test "x$USE_PLUGINS" = "x0" ; then
49386 COND_USE_PLUGINS_0=""
49387 fi
49388
49389 COND_USE_RTTI_0="#"
49390 if test "x$USE_RTTI" = "x0" ; then
49391 COND_USE_RTTI_0=""
49392 fi
49393
49394 COND_USE_RTTI_1="#"
49395 if test "x$USE_RTTI" = "x1" ; then
49396 COND_USE_RTTI_1=""
49397 fi
49398
49399 COND_USE_SOSYMLINKS_1="#"
49400 if test "x$USE_SOSYMLINKS" = "x1" ; then
49401 COND_USE_SOSYMLINKS_1=""
49402 fi
49403
49404 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49405 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49406 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49407 fi
49408
49409 COND_USE_SOVERLINUX_1="#"
49410 if test "x$USE_SOVERLINUX" = "x1" ; then
49411 COND_USE_SOVERLINUX_1=""
49412 fi
49413
49414 COND_USE_SOVERSION_0="#"
49415 if test "x$USE_SOVERSION" = "x0" ; then
49416 COND_USE_SOVERSION_0=""
49417 fi
49418
49419 COND_USE_SOVERSOLARIS_1="#"
49420 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49421 COND_USE_SOVERSOLARIS_1=""
49422 fi
49423
49424 COND_USE_STC_1="#"
49425 if test "x$USE_STC" = "x1" ; then
49426 COND_USE_STC_1=""
49427 fi
49428
49429 COND_USE_THREADS_0="#"
49430 if test "x$USE_THREADS" = "x0" ; then
49431 COND_USE_THREADS_0=""
49432 fi
49433
49434 COND_USE_THREADS_1="#"
49435 if test "x$USE_THREADS" = "x1" ; then
49436 COND_USE_THREADS_1=""
49437 fi
49438
49439 COND_USE_XRC_1="#"
49440 if test "x$USE_XRC" = "x1" ; then
49441 COND_USE_XRC_1=""
49442 fi
49443
49444 COND_WINDOWS_IMPLIB_1="#"
49445 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49446 COND_WINDOWS_IMPLIB_1=""
49447 fi
49448
49449 COND_WITH_PLUGIN_SDL_1="#"
49450 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49451 COND_WITH_PLUGIN_SDL_1=""
49452 fi
49453
49454 COND_WXUNIV_0="#"
49455 if test "x$WXUNIV" = "x0" ; then
49456 COND_WXUNIV_0=""
49457 fi
49458
49459 COND_WXUNIV_1="#"
49460 if test "x$WXUNIV" = "x1" ; then
49461 COND_WXUNIV_1=""
49462 fi
49463
49464 COND_WXUSE_EXPAT_BUILTIN="#"
49465 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49466 COND_WXUSE_EXPAT_BUILTIN=""
49467 fi
49468
49469 COND_WXUSE_LIBJPEG_BUILTIN="#"
49470 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49471 COND_WXUSE_LIBJPEG_BUILTIN=""
49472 fi
49473
49474 COND_WXUSE_LIBPNG_BUILTIN="#"
49475 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49476 COND_WXUSE_LIBPNG_BUILTIN=""
49477 fi
49478
49479 COND_WXUSE_LIBTIFF_BUILTIN="#"
49480 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49481 COND_WXUSE_LIBTIFF_BUILTIN=""
49482 fi
49483
49484 COND_WXUSE_ODBC_BUILTIN="#"
49485 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49486 COND_WXUSE_ODBC_BUILTIN=""
49487 fi
49488
49489 COND_WXUSE_REGEX_BUILTIN="#"
49490 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49491 COND_WXUSE_REGEX_BUILTIN=""
49492 fi
49493
49494 COND_WXUSE_ZLIB_BUILTIN="#"
49495 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49496 COND_WXUSE_ZLIB_BUILTIN=""
49497 fi
49498
49499
49500
49501 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49502 { { 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
49503 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;}
49504 { (exit 1); exit 1; }; }
49505 fi
49506
49507 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49508 { { 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
49509 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;}
49510 { (exit 1); exit 1; }; }
49511 fi
49512
49513
49514 if test $GCC_PCH = 1
49515 then
49516 if test "$wx_cv_gcc_pch_bug" = yes; then
49517 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49518 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49519 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49520 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49521 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49522 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49523 fi
49524
49525 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49526 fi
49527
49528
49529 if test "$wxUSE_MAC" = 1 ; then
49530 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49531 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49532 mv temp bk-deps
49533 chmod +x bk-deps
49534 fi
49535 fi
49536
49537 if test "$wxUSE_SHARED" = "yes"; then
49538
49539 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49540 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49541
49542 case "${host}" in
49543 *-pc-os2_emx | *-pc-os2-emx )
49544 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49545 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49546 cp -p ${srcdir}/src/os2/dllnames.sh .
49547 cp -p ${srcdir}/src/os2/dllar.sh .
49548 ;;
49549 esac
49550 else
49551
49552 EXE_LINKER="$CXX -o"
49553
49554 fi
49555 if test "$wxUSE_OMF" = "yes"; then
49556 case "${host}" in
49557 *-pc-os2_emx | *-pc-os2-emx )
49558 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49559 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49560 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49561 ;;
49562 esac
49563 fi
49564
49565 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49566
49567
49568 case "${host}" in
49569 *-*-solaris2* )
49570 if "$GCC" = yes; then
49571 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49572 LIBS=`echo $LIBS | sed 's/-mt//'`
49573 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49574 fi
49575 ;;
49576
49577 *-*-linux* )
49578 if test "x$SUNCXX" = xyes; then
49579 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49580 LIBS=`echo $LIBS | sed 's/-pthread//'`
49581 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49582 fi
49583 ;;
49584 esac
49585
49586 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49587 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49588
49589 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599
49600
49601
49602
49603
49604
49605
49606
49607
49608
49609
49610
49611
49612
49613
49614
49615
49616
49617
49618
49619
49620
49621
49622
49623
49624
49625
49626
49627
49628
49629
49630
49631
49632
49633
49634
49635
49636
49637
49638
49639
49640
49641
49642
49643
49644
49645
49646
49647
49648
49649
49650
49651 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49652 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49653 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49654 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49655 echo $ECHO_N "(cached) $ECHO_C" >&6
49656 else
49657 cat >conftest.make <<\_ACEOF
49658 SHELL = /bin/sh
49659 all:
49660 @echo '@@@%%%=$(MAKE)=@@@%%%'
49661 _ACEOF
49662 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49663 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49664 *@@@%%%=?*=@@@%%%*)
49665 eval ac_cv_prog_make_${ac_make}_set=yes;;
49666 *)
49667 eval ac_cv_prog_make_${ac_make}_set=no;;
49668 esac
49669 rm -f conftest.make
49670 fi
49671 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49672 { echo "$as_me:$LINENO: result: yes" >&5
49673 echo "${ECHO_T}yes" >&6; }
49674 SET_MAKE=
49675 else
49676 { echo "$as_me:$LINENO: result: no" >&5
49677 echo "${ECHO_T}no" >&6; }
49678 SET_MAKE="MAKE=${MAKE-make}"
49679 fi
49680
49681
49682
49683 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49684
49685
49686 if test "$USE_WIN32" = 1; then
49687 ac_config_commands="$ac_config_commands
49688 rcdefs.h
49689 "
49690
49691 fi
49692
49693 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49694
49695
49696 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49697
49698
49699 if test "$wx_cv_version_script" = "yes"; then
49700 ac_config_files="$ac_config_files version-script"
49701
49702 fi
49703 ac_config_files="$ac_config_files Makefile"
49704
49705
49706 ac_config_commands="$ac_config_commands wx-config"
49707
49708
49709
49710 if test "$wxWITH_SUBDIRS" != "no"; then
49711 if test "$wxUSE_GUI" = "yes"; then
49712 SUBDIRS="samples demos utils"
49713 else SUBDIRS="samples utils"
49714 fi
49715
49716
49717
49718 # Check whether --with-cppunit-prefix was given.
49719 if test "${with_cppunit_prefix+set}" = set; then
49720 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49721 else
49722 cppunit_config_prefix=""
49723 fi
49724
49725
49726 # Check whether --with-cppunit-exec-prefix was given.
49727 if test "${with_cppunit_exec_prefix+set}" = set; then
49728 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49729 else
49730 cppunit_config_exec_prefix=""
49731 fi
49732
49733
49734 if test x$cppunit_config_exec_prefix != x ; then
49735 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49736 if test x${CPPUNIT_CONFIG+set} != xset ; then
49737 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49738 fi
49739 fi
49740 if test x$cppunit_config_prefix != x ; then
49741 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49742 if test x${CPPUNIT_CONFIG+set} != xset ; then
49743 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49744 fi
49745 fi
49746
49747 # Extract the first word of "cppunit-config", so it can be a program name with args.
49748 set dummy cppunit-config; ac_word=$2
49749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49751 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49752 echo $ECHO_N "(cached) $ECHO_C" >&6
49753 else
49754 case $CPPUNIT_CONFIG in
49755 [\\/]* | ?:[\\/]*)
49756 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49757 ;;
49758 *)
49759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49760 for as_dir in $PATH
49761 do
49762 IFS=$as_save_IFS
49763 test -z "$as_dir" && as_dir=.
49764 for ac_exec_ext in '' $ac_executable_extensions; do
49765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49766 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49768 break 2
49769 fi
49770 done
49771 done
49772 IFS=$as_save_IFS
49773
49774 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49775 ;;
49776 esac
49777 fi
49778 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49779 if test -n "$CPPUNIT_CONFIG"; then
49780 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49781 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49782 else
49783 { echo "$as_me:$LINENO: result: no" >&5
49784 echo "${ECHO_T}no" >&6; }
49785 fi
49786
49787
49788 cppunit_version_min=1.8.0
49789
49790 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49791 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49792 no_cppunit=""
49793 if test "$CPPUNIT_CONFIG" = "no" ; then
49794 { echo "$as_me:$LINENO: result: no" >&5
49795 echo "${ECHO_T}no" >&6; }
49796 no_cppunit=yes
49797 else
49798 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49799 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49800 cppunit_version=`$CPPUNIT_CONFIG --version`
49801
49802 cppunit_major_version=`echo $cppunit_version | \
49803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49804 cppunit_minor_version=`echo $cppunit_version | \
49805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49806 cppunit_micro_version=`echo $cppunit_version | \
49807 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49808
49809 cppunit_major_min=`echo $cppunit_version_min | \
49810 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49811 cppunit_minor_min=`echo $cppunit_version_min | \
49812 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49813 cppunit_micro_min=`echo $cppunit_version_min | \
49814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49815
49816 cppunit_version_proper=`expr \
49817 $cppunit_major_version \> $cppunit_major_min \| \
49818 $cppunit_major_version \= $cppunit_major_min \& \
49819 $cppunit_minor_version \> $cppunit_minor_min \| \
49820 $cppunit_major_version \= $cppunit_major_min \& \
49821 $cppunit_minor_version \= $cppunit_minor_min \& \
49822 $cppunit_micro_version \>= $cppunit_micro_min `
49823
49824 if test "$cppunit_version_proper" = "1" ; then
49825 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49826 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49827 else
49828 { echo "$as_me:$LINENO: result: no" >&5
49829 echo "${ECHO_T}no" >&6; }
49830 no_cppunit=yes
49831 fi
49832 fi
49833
49834 if test "x$no_cppunit" = x ; then
49835 SUBDIRS="$SUBDIRS tests"
49836 else
49837 CPPUNIT_CFLAGS=""
49838 CPPUNIT_LIBS=""
49839 :
49840 fi
49841
49842
49843
49844
49845
49846 for subdir in `echo $SUBDIRS`; do
49847 if test -d ${srcdir}/${subdir} ; then
49848 if test "$wxUSE_GUI" = "yes"; then
49849 if test ${subdir} = "samples"; then
49850 makefiles="samples/Makefile.in $makefiles"
49851 for sample in `echo $SAMPLES_SUBDIRS`; do
49852 if test -d $srcdir/samples/$sample; then
49853 makefiles="samples/$sample/Makefile.in $makefiles"
49854 fi
49855 done
49856 else
49857 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49858 eval "disabled=\$$disabled_var"
49859 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49860 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49861 fi
49862 else if test ${subdir} = "samples"; then
49863 makefiles="samples/Makefile.in samples/console/Makefile.in"
49864 elif test ${subdir} = "utils"; then
49865 makefiles=""
49866 for util in HelpGen tex2rtf ; do
49867 if test -d $srcdir/utils/$util ; then
49868 makefiles="utils/$util/Makefile.in \
49869 utils/$util/src/Makefile.in \
49870 $makefiles"
49871 fi
49872 done
49873 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49874 fi
49875 fi
49876
49877 for mkin in $makefiles ; do
49878 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49879 ac_config_files="$ac_config_files $mk"
49880
49881 done
49882 fi
49883 done
49884 fi
49885 cat >confcache <<\_ACEOF
49886 # This file is a shell script that caches the results of configure
49887 # tests run on this system so they can be shared between configure
49888 # scripts and configure runs, see configure's option --config-cache.
49889 # It is not useful on other systems. If it contains results you don't
49890 # want to keep, you may remove or edit it.
49891 #
49892 # config.status only pays attention to the cache file if you give it
49893 # the --recheck option to rerun configure.
49894 #
49895 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49896 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49897 # following values.
49898
49899 _ACEOF
49900
49901 # The following way of writing the cache mishandles newlines in values,
49902 # but we know of no workaround that is simple, portable, and efficient.
49903 # So, we kill variables containing newlines.
49904 # Ultrix sh set writes to stderr and can't be redirected directly,
49905 # and sets the high bit in the cache file unless we assign to the vars.
49906 (
49907 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49908 eval ac_val=\$$ac_var
49909 case $ac_val in #(
49910 *${as_nl}*)
49911 case $ac_var in #(
49912 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49913 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49914 esac
49915 case $ac_var in #(
49916 _ | IFS | as_nl) ;; #(
49917 *) $as_unset $ac_var ;;
49918 esac ;;
49919 esac
49920 done
49921
49922 (set) 2>&1 |
49923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49924 *${as_nl}ac_space=\ *)
49925 # `set' does not quote correctly, so add quotes (double-quote
49926 # substitution turns \\\\ into \\, and sed turns \\ into \).
49927 sed -n \
49928 "s/'/'\\\\''/g;
49929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49930 ;; #(
49931 *)
49932 # `set' quotes correctly as required by POSIX, so do not add quotes.
49933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49934 ;;
49935 esac |
49936 sort
49937 ) |
49938 sed '
49939 /^ac_cv_env_/b end
49940 t clear
49941 :clear
49942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49943 t end
49944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49945 :end' >>confcache
49946 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49947 if test -w "$cache_file"; then
49948 test "x$cache_file" != "x/dev/null" &&
49949 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49950 echo "$as_me: updating cache $cache_file" >&6;}
49951 cat confcache >$cache_file
49952 else
49953 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49954 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49955 fi
49956 fi
49957 rm -f confcache
49958
49959 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49960 # Let make expand exec_prefix.
49961 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49962
49963 DEFS=-DHAVE_CONFIG_H
49964
49965 ac_libobjs=
49966 ac_ltlibobjs=
49967 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49968 # 1. Remove the extension, and $U if already installed.
49969 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49970 ac_i=`echo "$ac_i" | sed "$ac_script"`
49971 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49972 # will be set to the directory where LIBOBJS objects are built.
49973 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49974 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49975 done
49976 LIBOBJS=$ac_libobjs
49977
49978 LTLIBOBJS=$ac_ltlibobjs
49979
49980
49981
49982 : ${CONFIG_STATUS=./config.status}
49983 ac_clean_files_save=$ac_clean_files
49984 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49985 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49986 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49987 cat >$CONFIG_STATUS <<_ACEOF
49988 #! $SHELL
49989 # Generated by $as_me.
49990 # Run this file to recreate the current configuration.
49991 # Compiler output produced by configure, useful for debugging
49992 # configure, is in config.log if it exists.
49993
49994 debug=false
49995 ac_cs_recheck=false
49996 ac_cs_silent=false
49997 SHELL=\${CONFIG_SHELL-$SHELL}
49998 _ACEOF
49999
50000 cat >>$CONFIG_STATUS <<\_ACEOF
50001 ## --------------------- ##
50002 ## M4sh Initialization. ##
50003 ## --------------------- ##
50004
50005 # Be more Bourne compatible
50006 DUALCASE=1; export DUALCASE # for MKS sh
50007 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50008 emulate sh
50009 NULLCMD=:
50010 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50011 # is contrary to our usage. Disable this feature.
50012 alias -g '${1+"$@"}'='"$@"'
50013 setopt NO_GLOB_SUBST
50014 else
50015 case `(set -o) 2>/dev/null` in
50016 *posix*) set -o posix ;;
50017 esac
50018
50019 fi
50020
50021
50022
50023
50024 # PATH needs CR
50025 # Avoid depending upon Character Ranges.
50026 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50027 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50028 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50029 as_cr_digits='0123456789'
50030 as_cr_alnum=$as_cr_Letters$as_cr_digits
50031
50032 # The user is always right.
50033 if test "${PATH_SEPARATOR+set}" != set; then
50034 echo "#! /bin/sh" >conf$$.sh
50035 echo "exit 0" >>conf$$.sh
50036 chmod +x conf$$.sh
50037 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50038 PATH_SEPARATOR=';'
50039 else
50040 PATH_SEPARATOR=:
50041 fi
50042 rm -f conf$$.sh
50043 fi
50044
50045 # Support unset when possible.
50046 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50047 as_unset=unset
50048 else
50049 as_unset=false
50050 fi
50051
50052
50053 # IFS
50054 # We need space, tab and new line, in precisely that order. Quoting is
50055 # there to prevent editors from complaining about space-tab.
50056 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50057 # splitting by setting IFS to empty value.)
50058 as_nl='
50059 '
50060 IFS=" "" $as_nl"
50061
50062 # Find who we are. Look in the path if we contain no directory separator.
50063 case $0 in
50064 *[\\/]* ) as_myself=$0 ;;
50065 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50066 for as_dir in $PATH
50067 do
50068 IFS=$as_save_IFS
50069 test -z "$as_dir" && as_dir=.
50070 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50071 done
50072 IFS=$as_save_IFS
50073
50074 ;;
50075 esac
50076 # We did not find ourselves, most probably we were run as `sh COMMAND'
50077 # in which case we are not to be found in the path.
50078 if test "x$as_myself" = x; then
50079 as_myself=$0
50080 fi
50081 if test ! -f "$as_myself"; then
50082 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50083 { (exit 1); exit 1; }
50084 fi
50085
50086 # Work around bugs in pre-3.0 UWIN ksh.
50087 for as_var in ENV MAIL MAILPATH
50088 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50089 done
50090 PS1='$ '
50091 PS2='> '
50092 PS4='+ '
50093
50094 # NLS nuisances.
50095 for as_var in \
50096 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50097 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50098 LC_TELEPHONE LC_TIME
50099 do
50100 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50101 eval $as_var=C; export $as_var
50102 else
50103 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50104 fi
50105 done
50106
50107 # Required to use basename.
50108 if expr a : '\(a\)' >/dev/null 2>&1 &&
50109 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50110 as_expr=expr
50111 else
50112 as_expr=false
50113 fi
50114
50115 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50116 as_basename=basename
50117 else
50118 as_basename=false
50119 fi
50120
50121
50122 # Name of the executable.
50123 as_me=`$as_basename -- "$0" ||
50124 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50125 X"$0" : 'X\(//\)$' \| \
50126 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50127 echo X/"$0" |
50128 sed '/^.*\/\([^/][^/]*\)\/*$/{
50129 s//\1/
50130 q
50131 }
50132 /^X\/\(\/\/\)$/{
50133 s//\1/
50134 q
50135 }
50136 /^X\/\(\/\).*/{
50137 s//\1/
50138 q
50139 }
50140 s/.*/./; q'`
50141
50142 # CDPATH.
50143 $as_unset CDPATH
50144
50145
50146
50147 as_lineno_1=$LINENO
50148 as_lineno_2=$LINENO
50149 test "x$as_lineno_1" != "x$as_lineno_2" &&
50150 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50151
50152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50153 # uniformly replaced by the line number. The first 'sed' inserts a
50154 # line-number line after each line using $LINENO; the second 'sed'
50155 # does the real work. The second script uses 'N' to pair each
50156 # line-number line with the line containing $LINENO, and appends
50157 # trailing '-' during substitution so that $LINENO is not a special
50158 # case at line end.
50159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50160 # scripts with optimization help from Paolo Bonzini. Blame Lee
50161 # E. McMahon (1931-1989) for sed's syntax. :-)
50162 sed -n '
50163 p
50164 /[$]LINENO/=
50165 ' <$as_myself |
50166 sed '
50167 s/[$]LINENO.*/&-/
50168 t lineno
50169 b
50170 :lineno
50171 N
50172 :loop
50173 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50174 t loop
50175 s/-\n.*//
50176 ' >$as_me.lineno &&
50177 chmod +x "$as_me.lineno" ||
50178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50179 { (exit 1); exit 1; }; }
50180
50181 # Don't try to exec as it changes $[0], causing all sort of problems
50182 # (the dirname of $[0] is not the place where we might find the
50183 # original and so on. Autoconf is especially sensitive to this).
50184 . "./$as_me.lineno"
50185 # Exit status is that of the last command.
50186 exit
50187 }
50188
50189
50190 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50191 as_dirname=dirname
50192 else
50193 as_dirname=false
50194 fi
50195
50196 ECHO_C= ECHO_N= ECHO_T=
50197 case `echo -n x` in
50198 -n*)
50199 case `echo 'x\c'` in
50200 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50201 *) ECHO_C='\c';;
50202 esac;;
50203 *)
50204 ECHO_N='-n';;
50205 esac
50206
50207 if expr a : '\(a\)' >/dev/null 2>&1 &&
50208 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50209 as_expr=expr
50210 else
50211 as_expr=false
50212 fi
50213
50214 rm -f conf$$ conf$$.exe conf$$.file
50215 if test -d conf$$.dir; then
50216 rm -f conf$$.dir/conf$$.file
50217 else
50218 rm -f conf$$.dir
50219 mkdir conf$$.dir
50220 fi
50221 echo >conf$$.file
50222 if ln -s conf$$.file conf$$ 2>/dev/null; then
50223 as_ln_s='ln -s'
50224 # ... but there are two gotchas:
50225 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50226 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50227 # In both cases, we have to default to `cp -p'.
50228 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50229 as_ln_s='cp -p'
50230 elif ln conf$$.file conf$$ 2>/dev/null; then
50231 as_ln_s=ln
50232 else
50233 as_ln_s='cp -p'
50234 fi
50235 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50236 rmdir conf$$.dir 2>/dev/null
50237
50238 if mkdir -p . 2>/dev/null; then
50239 as_mkdir_p=:
50240 else
50241 test -d ./-p && rmdir ./-p
50242 as_mkdir_p=false
50243 fi
50244
50245 if test -x / >/dev/null 2>&1; then
50246 as_test_x='test -x'
50247 else
50248 if ls -dL / >/dev/null 2>&1; then
50249 as_ls_L_option=L
50250 else
50251 as_ls_L_option=
50252 fi
50253 as_test_x='
50254 eval sh -c '\''
50255 if test -d "$1"; then
50256 test -d "$1/.";
50257 else
50258 case $1 in
50259 -*)set "./$1";;
50260 esac;
50261 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50262 ???[sx]*):;;*)false;;esac;fi
50263 '\'' sh
50264 '
50265 fi
50266 as_executable_p=$as_test_x
50267
50268 # Sed expression to map a string onto a valid CPP name.
50269 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50270
50271 # Sed expression to map a string onto a valid variable name.
50272 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50273
50274
50275 exec 6>&1
50276
50277 # Save the log message, to keep $[0] and so on meaningful, and to
50278 # report actual input values of CONFIG_FILES etc. instead of their
50279 # values after options handling.
50280 ac_log="
50281 This file was extended by wxWidgets $as_me 2.9.0, which was
50282 generated by GNU Autoconf 2.61. Invocation command line was
50283
50284 CONFIG_FILES = $CONFIG_FILES
50285 CONFIG_HEADERS = $CONFIG_HEADERS
50286 CONFIG_LINKS = $CONFIG_LINKS
50287 CONFIG_COMMANDS = $CONFIG_COMMANDS
50288 $ $0 $@
50289
50290 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50291 "
50292
50293 _ACEOF
50294
50295 cat >>$CONFIG_STATUS <<_ACEOF
50296 # Files that config.status was made for.
50297 config_files="$ac_config_files"
50298 config_headers="$ac_config_headers"
50299 config_commands="$ac_config_commands"
50300
50301 _ACEOF
50302
50303 cat >>$CONFIG_STATUS <<\_ACEOF
50304 ac_cs_usage="\
50305 \`$as_me' instantiates files from templates according to the
50306 current configuration.
50307
50308 Usage: $0 [OPTIONS] [FILE]...
50309
50310 -h, --help print this help, then exit
50311 -V, --version print version number and configuration settings, then exit
50312 -q, --quiet do not print progress messages
50313 -d, --debug don't remove temporary files
50314 --recheck update $as_me by reconfiguring in the same conditions
50315 --file=FILE[:TEMPLATE]
50316 instantiate the configuration file FILE
50317 --header=FILE[:TEMPLATE]
50318 instantiate the configuration header FILE
50319
50320 Configuration files:
50321 $config_files
50322
50323 Configuration headers:
50324 $config_headers
50325
50326 Configuration commands:
50327 $config_commands
50328
50329 Report bugs to <bug-autoconf@gnu.org>."
50330
50331 _ACEOF
50332 cat >>$CONFIG_STATUS <<_ACEOF
50333 ac_cs_version="\\
50334 wxWidgets config.status 2.9.0
50335 configured by $0, generated by GNU Autoconf 2.61,
50336 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50337
50338 Copyright (C) 2006 Free Software Foundation, Inc.
50339 This config.status script is free software; the Free Software Foundation
50340 gives unlimited permission to copy, distribute and modify it."
50341
50342 ac_pwd='$ac_pwd'
50343 srcdir='$srcdir'
50344 INSTALL='$INSTALL'
50345 _ACEOF
50346
50347 cat >>$CONFIG_STATUS <<\_ACEOF
50348 # If no file are specified by the user, then we need to provide default
50349 # value. By we need to know if files were specified by the user.
50350 ac_need_defaults=:
50351 while test $# != 0
50352 do
50353 case $1 in
50354 --*=*)
50355 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50356 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50357 ac_shift=:
50358 ;;
50359 *)
50360 ac_option=$1
50361 ac_optarg=$2
50362 ac_shift=shift
50363 ;;
50364 esac
50365
50366 case $ac_option in
50367 # Handling of the options.
50368 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50369 ac_cs_recheck=: ;;
50370 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50371 echo "$ac_cs_version"; exit ;;
50372 --debug | --debu | --deb | --de | --d | -d )
50373 debug=: ;;
50374 --file | --fil | --fi | --f )
50375 $ac_shift
50376 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50377 ac_need_defaults=false;;
50378 --header | --heade | --head | --hea )
50379 $ac_shift
50380 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50381 ac_need_defaults=false;;
50382 --he | --h)
50383 # Conflict between --help and --header
50384 { echo "$as_me: error: ambiguous option: $1
50385 Try \`$0 --help' for more information." >&2
50386 { (exit 1); exit 1; }; };;
50387 --help | --hel | -h )
50388 echo "$ac_cs_usage"; exit ;;
50389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50390 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50391 ac_cs_silent=: ;;
50392
50393 # This is an error.
50394 -*) { echo "$as_me: error: unrecognized option: $1
50395 Try \`$0 --help' for more information." >&2
50396 { (exit 1); exit 1; }; } ;;
50397
50398 *) ac_config_targets="$ac_config_targets $1"
50399 ac_need_defaults=false ;;
50400
50401 esac
50402 shift
50403 done
50404
50405 ac_configure_extra_args=
50406
50407 if $ac_cs_silent; then
50408 exec 6>/dev/null
50409 ac_configure_extra_args="$ac_configure_extra_args --silent"
50410 fi
50411
50412 _ACEOF
50413 cat >>$CONFIG_STATUS <<_ACEOF
50414 if \$ac_cs_recheck; then
50415 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50416 CONFIG_SHELL=$SHELL
50417 export CONFIG_SHELL
50418 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50419 fi
50420
50421 _ACEOF
50422 cat >>$CONFIG_STATUS <<\_ACEOF
50423 exec 5>>config.log
50424 {
50425 echo
50426 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50427 ## Running $as_me. ##
50428 _ASBOX
50429 echo "$ac_log"
50430 } >&5
50431
50432 _ACEOF
50433 cat >>$CONFIG_STATUS <<_ACEOF
50434 #
50435 # INIT-COMMANDS
50436 #
50437
50438 CPP="$CPP"
50439 infile="$srcdir/include/wx/msw/genrcdefs.h"
50440 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50441
50442
50443 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50444 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50445 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50446 LN_S="${LN_S}"
50447
50448
50449 _ACEOF
50450
50451 cat >>$CONFIG_STATUS <<\_ACEOF
50452
50453 # Handling of arguments.
50454 for ac_config_target in $ac_config_targets
50455 do
50456 case $ac_config_target in
50457 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50458 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50459 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50460 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50461 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50462 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50463 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50464 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50465
50466 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50467 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50468 { (exit 1); exit 1; }; };;
50469 esac
50470 done
50471
50472
50473 # If the user did not use the arguments to specify the items to instantiate,
50474 # then the envvar interface is used. Set only those that are not.
50475 # We use the long form for the default assignment because of an extremely
50476 # bizarre bug on SunOS 4.1.3.
50477 if $ac_need_defaults; then
50478 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50479 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50480 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50481 fi
50482
50483 # Have a temporary directory for convenience. Make it in the build tree
50484 # simply because there is no reason against having it here, and in addition,
50485 # creating and moving files from /tmp can sometimes cause problems.
50486 # Hook for its removal unless debugging.
50487 # Note that there is a small window in which the directory will not be cleaned:
50488 # after its creation but before its name has been assigned to `$tmp'.
50489 $debug ||
50490 {
50491 tmp=
50492 trap 'exit_status=$?
50493 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50494 ' 0
50495 trap '{ (exit 1); exit 1; }' 1 2 13 15
50496 }
50497 # Create a (secure) tmp directory for tmp files.
50498
50499 {
50500 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50501 test -n "$tmp" && test -d "$tmp"
50502 } ||
50503 {
50504 tmp=./conf$$-$RANDOM
50505 (umask 077 && mkdir "$tmp")
50506 } ||
50507 {
50508 echo "$me: cannot create a temporary directory in ." >&2
50509 { (exit 1); exit 1; }
50510 }
50511
50512 #
50513 # Set up the sed scripts for CONFIG_FILES section.
50514 #
50515
50516 # No need to generate the scripts if there are no CONFIG_FILES.
50517 # This happens for instance when ./config.status config.h
50518 if test -n "$CONFIG_FILES"; then
50519
50520 _ACEOF
50521
50522
50523
50524 ac_delim='%!_!# '
50525 for ac_last_try in false false false false false :; do
50526 cat >conf$$subs.sed <<_ACEOF
50527 SHELL!$SHELL$ac_delim
50528 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50529 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50530 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50531 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50532 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50533 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50534 exec_prefix!$exec_prefix$ac_delim
50535 prefix!$prefix$ac_delim
50536 program_transform_name!$program_transform_name$ac_delim
50537 bindir!$bindir$ac_delim
50538 sbindir!$sbindir$ac_delim
50539 libexecdir!$libexecdir$ac_delim
50540 datarootdir!$datarootdir$ac_delim
50541 datadir!$datadir$ac_delim
50542 sysconfdir!$sysconfdir$ac_delim
50543 sharedstatedir!$sharedstatedir$ac_delim
50544 localstatedir!$localstatedir$ac_delim
50545 includedir!$includedir$ac_delim
50546 oldincludedir!$oldincludedir$ac_delim
50547 docdir!$docdir$ac_delim
50548 infodir!$infodir$ac_delim
50549 htmldir!$htmldir$ac_delim
50550 dvidir!$dvidir$ac_delim
50551 pdfdir!$pdfdir$ac_delim
50552 psdir!$psdir$ac_delim
50553 libdir!$libdir$ac_delim
50554 localedir!$localedir$ac_delim
50555 mandir!$mandir$ac_delim
50556 DEFS!$DEFS$ac_delim
50557 ECHO_C!$ECHO_C$ac_delim
50558 ECHO_N!$ECHO_N$ac_delim
50559 ECHO_T!$ECHO_T$ac_delim
50560 LIBS!$LIBS$ac_delim
50561 build_alias!$build_alias$ac_delim
50562 host_alias!$host_alias$ac_delim
50563 target_alias!$target_alias$ac_delim
50564 build!$build$ac_delim
50565 build_cpu!$build_cpu$ac_delim
50566 build_vendor!$build_vendor$ac_delim
50567 build_os!$build_os$ac_delim
50568 host!$host$ac_delim
50569 host_cpu!$host_cpu$ac_delim
50570 host_vendor!$host_vendor$ac_delim
50571 host_os!$host_os$ac_delim
50572 target!$target$ac_delim
50573 target_cpu!$target_cpu$ac_delim
50574 target_vendor!$target_vendor$ac_delim
50575 target_os!$target_os$ac_delim
50576 wx_top_builddir!$wx_top_builddir$ac_delim
50577 CC!$CC$ac_delim
50578 CFLAGS!$CFLAGS$ac_delim
50579 LDFLAGS!$LDFLAGS$ac_delim
50580 CPPFLAGS!$CPPFLAGS$ac_delim
50581 ac_ct_CC!$ac_ct_CC$ac_delim
50582 EXEEXT!$EXEEXT$ac_delim
50583 OBJEXT!$OBJEXT$ac_delim
50584 CPP!$CPP$ac_delim
50585 GREP!$GREP$ac_delim
50586 EGREP!$EGREP$ac_delim
50587 CXX!$CXX$ac_delim
50588 CXXFLAGS!$CXXFLAGS$ac_delim
50589 ac_ct_CXX!$ac_ct_CXX$ac_delim
50590 RANLIB!$RANLIB$ac_delim
50591 AR!$AR$ac_delim
50592 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50593 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50594 INSTALL_DATA!$INSTALL_DATA$ac_delim
50595 STRIP!$STRIP$ac_delim
50596 WINDRES!$WINDRES$ac_delim
50597 DLLTOOL!$DLLTOOL$ac_delim
50598 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50599 LN_S!$LN_S$ac_delim
50600 subdirs!$subdirs$ac_delim
50601 PKG_CONFIG!$PKG_CONFIG$ac_delim
50602 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50603 GTK_LIBS!$GTK_LIBS$ac_delim
50604 GTK_CONFIG!$GTK_CONFIG$ac_delim
50605 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50606 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50607 XMKMF!$XMKMF$ac_delim
50608 X_CFLAGS!$X_CFLAGS$ac_delim
50609 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50610 X_LIBS!$X_LIBS$ac_delim
50611 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50612 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50613 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50614 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50615 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50616 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50617 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50618 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50619 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50620 REZ!$REZ$ac_delim
50621 DEREZ!$DEREZ$ac_delim
50622 SETFILE!$SETFILE$ac_delim
50623 LIBICONV!$LIBICONV$ac_delim
50624 _ACEOF
50625
50626 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50627 break
50628 elif $ac_last_try; then
50629 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50630 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50631 { (exit 1); exit 1; }; }
50632 else
50633 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50634 fi
50635 done
50636
50637 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50638 if test -n "$ac_eof"; then
50639 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50640 ac_eof=`expr $ac_eof + 1`
50641 fi
50642
50643 cat >>$CONFIG_STATUS <<_ACEOF
50644 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50646 _ACEOF
50647 sed '
50648 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50649 s/^/s,@/; s/!/@,|#_!!_#|/
50650 :n
50651 t n
50652 s/'"$ac_delim"'$/,g/; t
50653 s/$/\\/; p
50654 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50655 ' >>$CONFIG_STATUS <conf$$subs.sed
50656 rm -f conf$$subs.sed
50657 cat >>$CONFIG_STATUS <<_ACEOF
50658 CEOF$ac_eof
50659 _ACEOF
50660
50661
50662 ac_delim='%!_!# '
50663 for ac_last_try in false false false false false :; do
50664 cat >conf$$subs.sed <<_ACEOF
50665 SDL_CONFIG!$SDL_CONFIG$ac_delim
50666 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50667 SDL_LIBS!$SDL_LIBS$ac_delim
50668 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50669 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50670 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50671 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50672 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50673 HILDON_LIBS!$HILDON_LIBS$ac_delim
50674 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50675 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50676 GST_CFLAGS!$GST_CFLAGS$ac_delim
50677 GST_LIBS!$GST_LIBS$ac_delim
50678 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50679 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50680 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50681 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50682 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50683 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50684 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50685 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50686 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50687 VENDOR!$VENDOR$ac_delim
50688 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50689 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50690 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50691 WXUNIV!$WXUNIV$ac_delim
50692 MONOLITHIC!$MONOLITHIC$ac_delim
50693 USE_PLUGINS!$USE_PLUGINS$ac_delim
50694 CXXWARNINGS!$CXXWARNINGS$ac_delim
50695 EXTRALIBS!$EXTRALIBS$ac_delim
50696 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50697 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50698 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50699 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50700 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50701 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50702 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50703 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50704 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50705 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50706 UNICODE!$UNICODE$ac_delim
50707 BUILD!$BUILD$ac_delim
50708 DEBUG_INFO!$DEBUG_INFO$ac_delim
50709 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50710 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50711 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50712 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50713 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50714 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50715 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50716 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50717 SET_MAKE!$SET_MAKE$ac_delim
50718 MAKE_SET!$MAKE_SET$ac_delim
50719 AROPTIONS!$AROPTIONS$ac_delim
50720 NM!$NM$ac_delim
50721 INSTALL_DIR!$INSTALL_DIR$ac_delim
50722 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50723 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50724 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50725 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50726 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50727 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50728 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50729 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50730 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50731 SO_SUFFIX!$SO_SUFFIX$ac_delim
50732 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50733 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50734 LIBPREFIX!$LIBPREFIX$ac_delim
50735 LIBEXT!$LIBEXT$ac_delim
50736 DLLPREFIX!$DLLPREFIX$ac_delim
50737 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50738 dlldir!$dlldir$ac_delim
50739 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50740 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50741 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50742 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50743 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50744 PIC_FLAG!$PIC_FLAG$ac_delim
50745 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50746 USE_SOVERSION!$USE_SOVERSION$ac_delim
50747 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50748 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50749 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50750 USE_MACVERSION!$USE_MACVERSION$ac_delim
50751 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50752 SONAME_FLAG!$SONAME_FLAG$ac_delim
50753 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50754 BK_DEPS!$BK_DEPS$ac_delim
50755 GCC_PCH!$GCC_PCH$ac_delim
50756 ICC_PCH!$ICC_PCH$ac_delim
50757 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50758 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50759 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50760 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50761 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50762 _ACEOF
50763
50764 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50765 break
50766 elif $ac_last_try; then
50767 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50768 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50769 { (exit 1); exit 1; }; }
50770 else
50771 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50772 fi
50773 done
50774
50775 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50776 if test -n "$ac_eof"; then
50777 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50778 ac_eof=`expr $ac_eof + 1`
50779 fi
50780
50781 cat >>$CONFIG_STATUS <<_ACEOF
50782 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50783 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50784 _ACEOF
50785 sed '
50786 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50787 s/^/s,@/; s/!/@,|#_!!_#|/
50788 :n
50789 t n
50790 s/'"$ac_delim"'$/,g/; t
50791 s/$/\\/; p
50792 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50793 ' >>$CONFIG_STATUS <conf$$subs.sed
50794 rm -f conf$$subs.sed
50795 cat >>$CONFIG_STATUS <<_ACEOF
50796 CEOF$ac_eof
50797 _ACEOF
50798
50799
50800 ac_delim='%!_!# '
50801 for ac_last_try in false false false false false :; do
50802 cat >conf$$subs.sed <<_ACEOF
50803 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50804 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50805 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50806 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50807 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50808 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50809 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50810 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50811 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50812 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50813 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50814 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50815 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50816 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50817 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50818 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50819 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50820 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50823 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50824 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50825 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50826 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50827 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50828 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50834 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50835 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50836 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50837 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50838 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50839 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50840 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50841 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50842 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50843 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50844 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50845 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50846 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50847 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50848 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50849 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50850 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50851 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50852 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50853 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50854 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50855 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50856 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50857 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50858 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50859 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50860 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50861 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50862 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50863 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50864 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50865 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50866 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50867 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50868 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50869 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50870 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50871 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50872 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50873 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50874 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50875 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50876 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50877 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50878 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50879 COND_SHARED_0!$COND_SHARED_0$ac_delim
50880 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50881 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50882 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50883 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50884 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50885 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50886 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50887 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50888 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50889 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50890 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50891 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50892 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50893 COND_SHARED_1!$COND_SHARED_1$ac_delim
50894 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50895 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50896 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50897 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50898 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50899 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50900 _ACEOF
50901
50902 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50903 break
50904 elif $ac_last_try; then
50905 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50906 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50907 { (exit 1); exit 1; }; }
50908 else
50909 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50910 fi
50911 done
50912
50913 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50914 if test -n "$ac_eof"; then
50915 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50916 ac_eof=`expr $ac_eof + 1`
50917 fi
50918
50919 cat >>$CONFIG_STATUS <<_ACEOF
50920 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50921 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50922 _ACEOF
50923 sed '
50924 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50925 s/^/s,@/; s/!/@,|#_!!_#|/
50926 :n
50927 t n
50928 s/'"$ac_delim"'$/,g/; t
50929 s/$/\\/; p
50930 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50931 ' >>$CONFIG_STATUS <conf$$subs.sed
50932 rm -f conf$$subs.sed
50933 cat >>$CONFIG_STATUS <<_ACEOF
50934 CEOF$ac_eof
50935 _ACEOF
50936
50937
50938 ac_delim='%!_!# '
50939 for ac_last_try in false false false false false :; do
50940 cat >conf$$subs.sed <<_ACEOF
50941 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50942 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50943 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50944 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50945 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50946 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50947 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50948 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50949 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50950 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50951 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50952 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50953 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50954 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50955 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50956 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50957 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50958 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50959 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50960 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50961 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50962 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50963 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50964 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50965 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50966 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50967 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50968 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50969 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50970 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50971 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50972 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50973 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50974 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50975 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50976 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50977 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50978 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50979 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50980 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50981 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50982 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50983 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50984 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50985 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50986 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50987 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50988 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50989 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50990 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50991 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50992 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50993 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50994 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50995 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50996 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50997 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50998 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50999 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51000 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51001 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51002 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51003 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51004 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51005 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51006 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
51007 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51008 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51009 SHARED!$SHARED$ac_delim
51010 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51011 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51012 USE_GUI!$USE_GUI$ac_delim
51013 AFMINSTALL!$AFMINSTALL$ac_delim
51014 WIN32INSTALL!$WIN32INSTALL$ac_delim
51015 TOOLKIT!$TOOLKIT$ac_delim
51016 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51017 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51018 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51019 cross_compiling!$cross_compiling$ac_delim
51020 WIDGET_SET!$WIDGET_SET$ac_delim
51021 WX_RELEASE!$WX_RELEASE$ac_delim
51022 WX_VERSION!$WX_VERSION$ac_delim
51023 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51024 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51025 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51026 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51027 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51028 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51029 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51030 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51031 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51032 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51033 EXE_LINKER!$EXE_LINKER$ac_delim
51034 GUIDIST!$GUIDIST$ac_delim
51035 DISTDIR!$DISTDIR$ac_delim
51036 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51037 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51038 _ACEOF
51039
51040 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51041 break
51042 elif $ac_last_try; then
51043 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51044 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51045 { (exit 1); exit 1; }; }
51046 else
51047 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51048 fi
51049 done
51050
51051 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51052 if test -n "$ac_eof"; then
51053 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51054 ac_eof=`expr $ac_eof + 1`
51055 fi
51056
51057 cat >>$CONFIG_STATUS <<_ACEOF
51058 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51059 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51060 _ACEOF
51061 sed '
51062 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51063 s/^/s,@/; s/!/@,|#_!!_#|/
51064 :n
51065 t n
51066 s/'"$ac_delim"'$/,g/; t
51067 s/$/\\/; p
51068 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51069 ' >>$CONFIG_STATUS <conf$$subs.sed
51070 rm -f conf$$subs.sed
51071 cat >>$CONFIG_STATUS <<_ACEOF
51072 CEOF$ac_eof
51073 _ACEOF
51074
51075
51076 ac_delim='%!_!# '
51077 for ac_last_try in false false false false false :; do
51078 cat >conf$$subs.sed <<_ACEOF
51079 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51080 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51081 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51082 RESCOMP!$RESCOMP$ac_delim
51083 RESFLAGS!$RESFLAGS$ac_delim
51084 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51085 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51086 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51087 LIBWXMACRES!$LIBWXMACRES$ac_delim
51088 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51089 MACSETFILE!$MACSETFILE$ac_delim
51090 GCC!$GCC$ac_delim
51091 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51092 LIBOBJS!$LIBOBJS$ac_delim
51093 LTLIBOBJS!$LTLIBOBJS$ac_delim
51094 _ACEOF
51095
51096 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
51097 break
51098 elif $ac_last_try; then
51099 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51100 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51101 { (exit 1); exit 1; }; }
51102 else
51103 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51104 fi
51105 done
51106
51107 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51108 if test -n "$ac_eof"; then
51109 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51110 ac_eof=`expr $ac_eof + 1`
51111 fi
51112
51113 cat >>$CONFIG_STATUS <<_ACEOF
51114 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51115 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51116 _ACEOF
51117 sed '
51118 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51119 s/^/s,@/; s/!/@,|#_!!_#|/
51120 :n
51121 t n
51122 s/'"$ac_delim"'$/,g/; t
51123 s/$/\\/; p
51124 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51125 ' >>$CONFIG_STATUS <conf$$subs.sed
51126 rm -f conf$$subs.sed
51127 cat >>$CONFIG_STATUS <<_ACEOF
51128 :end
51129 s/|#_!!_#|//g
51130 CEOF$ac_eof
51131 _ACEOF
51132
51133
51134 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51135 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51136 # trailing colons and then remove the whole line if VPATH becomes empty
51137 # (actually we leave an empty line to preserve line numbers).
51138 if test "x$srcdir" = x.; then
51139 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51140 s/:*\$(srcdir):*/:/
51141 s/:*\${srcdir}:*/:/
51142 s/:*@srcdir@:*/:/
51143 s/^\([^=]*=[ ]*\):*/\1/
51144 s/:*$//
51145 s/^[^=]*=[ ]*$//
51146 }'
51147 fi
51148
51149 cat >>$CONFIG_STATUS <<\_ACEOF
51150 fi # test -n "$CONFIG_FILES"
51151
51152
51153 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51154 do
51155 case $ac_tag in
51156 :[FHLC]) ac_mode=$ac_tag; continue;;
51157 esac
51158 case $ac_mode$ac_tag in
51159 :[FHL]*:*);;
51160 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51161 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51162 { (exit 1); exit 1; }; };;
51163 :[FH]-) ac_tag=-:-;;
51164 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51165 esac
51166 ac_save_IFS=$IFS
51167 IFS=:
51168 set x $ac_tag
51169 IFS=$ac_save_IFS
51170 shift
51171 ac_file=$1
51172 shift
51173
51174 case $ac_mode in
51175 :L) ac_source=$1;;
51176 :[FH])
51177 ac_file_inputs=
51178 for ac_f
51179 do
51180 case $ac_f in
51181 -) ac_f="$tmp/stdin";;
51182 *) # Look for the file first in the build tree, then in the source tree
51183 # (if the path is not absolute). The absolute path cannot be DOS-style,
51184 # because $ac_f cannot contain `:'.
51185 test -f "$ac_f" ||
51186 case $ac_f in
51187 [\\/$]*) false;;
51188 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51189 esac ||
51190 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51191 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51192 { (exit 1); exit 1; }; };;
51193 esac
51194 ac_file_inputs="$ac_file_inputs $ac_f"
51195 done
51196
51197 # Let's still pretend it is `configure' which instantiates (i.e., don't
51198 # use $as_me), people would be surprised to read:
51199 # /* config.h. Generated by config.status. */
51200 configure_input="Generated from "`IFS=:
51201 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51202 if test x"$ac_file" != x-; then
51203 configure_input="$ac_file. $configure_input"
51204 { echo "$as_me:$LINENO: creating $ac_file" >&5
51205 echo "$as_me: creating $ac_file" >&6;}
51206 fi
51207
51208 case $ac_tag in
51209 *:-:* | *:-) cat >"$tmp/stdin";;
51210 esac
51211 ;;
51212 esac
51213
51214 ac_dir=`$as_dirname -- "$ac_file" ||
51215 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51216 X"$ac_file" : 'X\(//\)[^/]' \| \
51217 X"$ac_file" : 'X\(//\)$' \| \
51218 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51219 echo X"$ac_file" |
51220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51221 s//\1/
51222 q
51223 }
51224 /^X\(\/\/\)[^/].*/{
51225 s//\1/
51226 q
51227 }
51228 /^X\(\/\/\)$/{
51229 s//\1/
51230 q
51231 }
51232 /^X\(\/\).*/{
51233 s//\1/
51234 q
51235 }
51236 s/.*/./; q'`
51237 { as_dir="$ac_dir"
51238 case $as_dir in #(
51239 -*) as_dir=./$as_dir;;
51240 esac
51241 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51242 as_dirs=
51243 while :; do
51244 case $as_dir in #(
51245 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51246 *) as_qdir=$as_dir;;
51247 esac
51248 as_dirs="'$as_qdir' $as_dirs"
51249 as_dir=`$as_dirname -- "$as_dir" ||
51250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51251 X"$as_dir" : 'X\(//\)[^/]' \| \
51252 X"$as_dir" : 'X\(//\)$' \| \
51253 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51254 echo X"$as_dir" |
51255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51256 s//\1/
51257 q
51258 }
51259 /^X\(\/\/\)[^/].*/{
51260 s//\1/
51261 q
51262 }
51263 /^X\(\/\/\)$/{
51264 s//\1/
51265 q
51266 }
51267 /^X\(\/\).*/{
51268 s//\1/
51269 q
51270 }
51271 s/.*/./; q'`
51272 test -d "$as_dir" && break
51273 done
51274 test -z "$as_dirs" || eval "mkdir $as_dirs"
51275 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51276 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51277 { (exit 1); exit 1; }; }; }
51278 ac_builddir=.
51279
51280 case "$ac_dir" in
51281 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51282 *)
51283 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51284 # A ".." for each directory in $ac_dir_suffix.
51285 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51286 case $ac_top_builddir_sub in
51287 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51288 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51289 esac ;;
51290 esac
51291 ac_abs_top_builddir=$ac_pwd
51292 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51293 # for backward compatibility:
51294 ac_top_builddir=$ac_top_build_prefix
51295
51296 case $srcdir in
51297 .) # We are building in place.
51298 ac_srcdir=.
51299 ac_top_srcdir=$ac_top_builddir_sub
51300 ac_abs_top_srcdir=$ac_pwd ;;
51301 [\\/]* | ?:[\\/]* ) # Absolute name.
51302 ac_srcdir=$srcdir$ac_dir_suffix;
51303 ac_top_srcdir=$srcdir
51304 ac_abs_top_srcdir=$srcdir ;;
51305 *) # Relative name.
51306 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51307 ac_top_srcdir=$ac_top_build_prefix$srcdir
51308 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51309 esac
51310 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51311
51312
51313 case $ac_mode in
51314 :F)
51315 #
51316 # CONFIG_FILE
51317 #
51318
51319 case $INSTALL in
51320 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51321 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51322 esac
51323 _ACEOF
51324
51325 cat >>$CONFIG_STATUS <<\_ACEOF
51326 # If the template does not know about datarootdir, expand it.
51327 # FIXME: This hack should be removed a few years after 2.60.
51328 ac_datarootdir_hack=; ac_datarootdir_seen=
51329
51330 case `sed -n '/datarootdir/ {
51331 p
51332 q
51333 }
51334 /@datadir@/p
51335 /@docdir@/p
51336 /@infodir@/p
51337 /@localedir@/p
51338 /@mandir@/p
51339 ' $ac_file_inputs` in
51340 *datarootdir*) ac_datarootdir_seen=yes;;
51341 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51342 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51343 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51344 _ACEOF
51345 cat >>$CONFIG_STATUS <<_ACEOF
51346 ac_datarootdir_hack='
51347 s&@datadir@&$datadir&g
51348 s&@docdir@&$docdir&g
51349 s&@infodir@&$infodir&g
51350 s&@localedir@&$localedir&g
51351 s&@mandir@&$mandir&g
51352 s&\\\${datarootdir}&$datarootdir&g' ;;
51353 esac
51354 _ACEOF
51355
51356 # Neutralize VPATH when `$srcdir' = `.'.
51357 # Shell code in configure.ac might set extrasub.
51358 # FIXME: do we really want to maintain this feature?
51359 cat >>$CONFIG_STATUS <<_ACEOF
51360 sed "$ac_vpsub
51361 $extrasub
51362 _ACEOF
51363 cat >>$CONFIG_STATUS <<\_ACEOF
51364 :t
51365 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51366 s&@configure_input@&$configure_input&;t t
51367 s&@top_builddir@&$ac_top_builddir_sub&;t t
51368 s&@srcdir@&$ac_srcdir&;t t
51369 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51370 s&@top_srcdir@&$ac_top_srcdir&;t t
51371 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51372 s&@builddir@&$ac_builddir&;t t
51373 s&@abs_builddir@&$ac_abs_builddir&;t t
51374 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51375 s&@INSTALL@&$ac_INSTALL&;t t
51376 $ac_datarootdir_hack
51377 " $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
51378
51379 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51380 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51381 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51382 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51383 which seems to be undefined. Please make sure it is defined." >&5
51384 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51385 which seems to be undefined. Please make sure it is defined." >&2;}
51386
51387 rm -f "$tmp/stdin"
51388 case $ac_file in
51389 -) cat "$tmp/out"; rm -f "$tmp/out";;
51390 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51391 esac
51392 ;;
51393 :H)
51394 #
51395 # CONFIG_HEADER
51396 #
51397 _ACEOF
51398
51399 # Transform confdefs.h into a sed script `conftest.defines', that
51400 # substitutes the proper values into config.h.in to produce config.h.
51401 rm -f conftest.defines conftest.tail
51402 # First, append a space to every undef/define line, to ease matching.
51403 echo 's/$/ /' >conftest.defines
51404 # Then, protect against being on the right side of a sed subst, or in
51405 # an unquoted here document, in config.status. If some macros were
51406 # called several times there might be several #defines for the same
51407 # symbol, which is useless. But do not sort them, since the last
51408 # AC_DEFINE must be honored.
51409 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51410 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51411 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51412 # PARAMS is the parameter list in the macro definition--in most cases, it's
51413 # just an empty string.
51414 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51415 ac_dB='\\)[ (].*,\\1define\\2'
51416 ac_dC=' '
51417 ac_dD=' ,'
51418
51419 uniq confdefs.h |
51420 sed -n '
51421 t rset
51422 :rset
51423 s/^[ ]*#[ ]*define[ ][ ]*//
51424 t ok
51425 d
51426 :ok
51427 s/[\\&,]/\\&/g
51428 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51429 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51430 ' >>conftest.defines
51431
51432 # Remove the space that was appended to ease matching.
51433 # Then replace #undef with comments. This is necessary, for
51434 # example, in the case of _POSIX_SOURCE, which is predefined and required
51435 # on some systems where configure will not decide to define it.
51436 # (The regexp can be short, since the line contains either #define or #undef.)
51437 echo 's/ $//
51438 s,^[ #]*u.*,/* & */,' >>conftest.defines
51439
51440 # Break up conftest.defines:
51441 ac_max_sed_lines=50
51442
51443 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51444 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51445 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51446 # et cetera.
51447 ac_in='$ac_file_inputs'
51448 ac_out='"$tmp/out1"'
51449 ac_nxt='"$tmp/out2"'
51450
51451 while :
51452 do
51453 # Write a here document:
51454 cat >>$CONFIG_STATUS <<_ACEOF
51455 # First, check the format of the line:
51456 cat >"\$tmp/defines.sed" <<\\CEOF
51457 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51458 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51459 b
51460 :def
51461 _ACEOF
51462 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51463 echo 'CEOF
51464 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51465 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51466 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51467 grep . conftest.tail >/dev/null || break
51468 rm -f conftest.defines
51469 mv conftest.tail conftest.defines
51470 done
51471 rm -f conftest.defines conftest.tail
51472
51473 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51474 cat >>$CONFIG_STATUS <<\_ACEOF
51475 if test x"$ac_file" != x-; then
51476 echo "/* $configure_input */" >"$tmp/config.h"
51477 cat "$ac_result" >>"$tmp/config.h"
51478 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51479 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51480 echo "$as_me: $ac_file is unchanged" >&6;}
51481 else
51482 rm -f $ac_file
51483 mv "$tmp/config.h" $ac_file
51484 fi
51485 else
51486 echo "/* $configure_input */"
51487 cat "$ac_result"
51488 fi
51489 rm -f "$tmp/out12"
51490 ;;
51491
51492 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51493 echo "$as_me: executing $ac_file commands" >&6;}
51494 ;;
51495 esac
51496
51497
51498 case $ac_file$ac_mode in
51499 "rcdefs.h":C)
51500 mkdir -p $outdir &&
51501 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51502 ;;
51503 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51504 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51505 "wx-config":C) rm -f wx-config
51506 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51507 ;;
51508
51509 esac
51510 done # for ac_tag
51511
51512
51513 { (exit 0); exit 0; }
51514 _ACEOF
51515 chmod +x $CONFIG_STATUS
51516 ac_clean_files=$ac_clean_files_save
51517
51518
51519 # configure is writing to config.log, and then calls config.status.
51520 # config.status does its own redirection, appending to config.log.
51521 # Unfortunately, on DOS this fails, as config.log is still kept open
51522 # by configure, so config.status won't be able to write to it; its
51523 # output is simply discarded. So we exec the FD to /dev/null,
51524 # effectively closing config.log, so it can be properly (re)opened and
51525 # appended to by config.status. When coming back to configure, we
51526 # need to make the FD available again.
51527 if test "$no_create" != yes; then
51528 ac_cs_success=:
51529 ac_config_status_args=
51530 test "$silent" = yes &&
51531 ac_config_status_args="$ac_config_status_args --quiet"
51532 exec 5>/dev/null
51533 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51534 exec 5>>config.log
51535 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51536 # would make configure fail if this is the last instruction.
51537 $ac_cs_success || { (exit 1); exit 1; }
51538 fi
51539
51540 #
51541 # CONFIG_SUBDIRS section.
51542 #
51543 if test "$no_recursion" != yes; then
51544
51545 # Remove --cache-file and --srcdir arguments so they do not pile up.
51546 ac_sub_configure_args=
51547 ac_prev=
51548 eval "set x $ac_configure_args"
51549 shift
51550 for ac_arg
51551 do
51552 if test -n "$ac_prev"; then
51553 ac_prev=
51554 continue
51555 fi
51556 case $ac_arg in
51557 -cache-file | --cache-file | --cache-fil | --cache-fi \
51558 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51559 ac_prev=cache_file ;;
51560 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51561 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51562 | --c=*)
51563 ;;
51564 --config-cache | -C)
51565 ;;
51566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51567 ac_prev=srcdir ;;
51568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51569 ;;
51570 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51571 ac_prev=prefix ;;
51572 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51573 ;;
51574 *)
51575 case $ac_arg in
51576 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51577 esac
51578 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51579 esac
51580 done
51581
51582 # Always prepend --prefix to ensure using the same prefix
51583 # in subdir configurations.
51584 ac_arg="--prefix=$prefix"
51585 case $ac_arg in
51586 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51587 esac
51588 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51589
51590 # Pass --silent
51591 if test "$silent" = yes; then
51592 ac_sub_configure_args="--silent $ac_sub_configure_args"
51593 fi
51594
51595 ac_popdir=`pwd`
51596 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51597
51598 # Do not complain, so a configure script can configure whichever
51599 # parts of a large source tree are present.
51600 test -d "$srcdir/$ac_dir" || continue
51601
51602 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51603 echo "$as_me:$LINENO: $ac_msg" >&5
51604 echo "$ac_msg" >&6
51605 { as_dir="$ac_dir"
51606 case $as_dir in #(
51607 -*) as_dir=./$as_dir;;
51608 esac
51609 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51610 as_dirs=
51611 while :; do
51612 case $as_dir in #(
51613 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51614 *) as_qdir=$as_dir;;
51615 esac
51616 as_dirs="'$as_qdir' $as_dirs"
51617 as_dir=`$as_dirname -- "$as_dir" ||
51618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51619 X"$as_dir" : 'X\(//\)[^/]' \| \
51620 X"$as_dir" : 'X\(//\)$' \| \
51621 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51622 echo X"$as_dir" |
51623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51624 s//\1/
51625 q
51626 }
51627 /^X\(\/\/\)[^/].*/{
51628 s//\1/
51629 q
51630 }
51631 /^X\(\/\/\)$/{
51632 s//\1/
51633 q
51634 }
51635 /^X\(\/\).*/{
51636 s//\1/
51637 q
51638 }
51639 s/.*/./; q'`
51640 test -d "$as_dir" && break
51641 done
51642 test -z "$as_dirs" || eval "mkdir $as_dirs"
51643 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51644 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51645 { (exit 1); exit 1; }; }; }
51646 ac_builddir=.
51647
51648 case "$ac_dir" in
51649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51650 *)
51651 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51652 # A ".." for each directory in $ac_dir_suffix.
51653 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51654 case $ac_top_builddir_sub in
51655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51657 esac ;;
51658 esac
51659 ac_abs_top_builddir=$ac_pwd
51660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51661 # for backward compatibility:
51662 ac_top_builddir=$ac_top_build_prefix
51663
51664 case $srcdir in
51665 .) # We are building in place.
51666 ac_srcdir=.
51667 ac_top_srcdir=$ac_top_builddir_sub
51668 ac_abs_top_srcdir=$ac_pwd ;;
51669 [\\/]* | ?:[\\/]* ) # Absolute name.
51670 ac_srcdir=$srcdir$ac_dir_suffix;
51671 ac_top_srcdir=$srcdir
51672 ac_abs_top_srcdir=$srcdir ;;
51673 *) # Relative name.
51674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51675 ac_top_srcdir=$ac_top_build_prefix$srcdir
51676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51677 esac
51678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51679
51680
51681 cd "$ac_dir"
51682
51683 # Check for guested configure; otherwise get Cygnus style configure.
51684 if test -f "$ac_srcdir/configure.gnu"; then
51685 ac_sub_configure=$ac_srcdir/configure.gnu
51686 elif test -f "$ac_srcdir/configure"; then
51687 ac_sub_configure=$ac_srcdir/configure
51688 elif test -f "$ac_srcdir/configure.in"; then
51689 # This should be Cygnus configure.
51690 ac_sub_configure=$ac_aux_dir/configure
51691 else
51692 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51693 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51694 ac_sub_configure=
51695 fi
51696
51697 # The recursion is here.
51698 if test -n "$ac_sub_configure"; then
51699 # Make the cache file name correct relative to the subdirectory.
51700 case $cache_file in
51701 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51702 *) # Relative name.
51703 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51704 esac
51705
51706 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51707 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51708 # The eval makes quoting arguments work.
51709 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51710 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51711 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51712 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51713 { (exit 1); exit 1; }; }
51714 fi
51715
51716 cd "$ac_popdir"
51717 done
51718 fi
51719
51720
51721 echo
51722 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51723 echo ""
51724 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51725 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51726
51727 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51728 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51729 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51730 if test "$wxUSE_UNICODE" = "yes"; then
51731 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51732 echo " (using UTF-8)"
51733 else
51734 echo " (using wchar_t)"
51735 fi
51736 else
51737 echo
51738 fi
51739
51740 echo " What level of wxWidgets compatibility should be enabled?"
51741 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51742 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51743
51744 echo " Which libraries should wxWidgets use?"
51745 echo " jpeg ${wxUSE_LIBJPEG-none}"
51746 echo " png ${wxUSE_LIBPNG-none}"
51747 echo " regex ${wxUSE_REGEX}"
51748 echo " tiff ${wxUSE_LIBTIFF-none}"
51749 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51750 echo " xpm ${wxUSE_LIBXPM-none}"
51751 fi
51752 echo " zlib ${wxUSE_ZLIB}"
51753 echo " odbc ${wxUSE_ODBC}"
51754 echo " expat ${wxUSE_EXPAT}"
51755 echo " libmspack ${wxUSE_LIBMSPACK}"
51756 echo " sdl ${wxUSE_LIBSDL}"
51757
51758 echo ""
51759