]> git.saurik.com Git - wxWidgets.git/blob - configure
Upport scrolling changes and mouse wheel changes.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 REZ
711 DEREZ
712 SETFILE
713 LIBICONV
714 SDL_CONFIG
715 SDL_CFLAGS
716 SDL_LIBS
717 LIBGNOMEPRINTUI_CFLAGS
718 LIBGNOMEPRINTUI_LIBS
719 GNOMEVFS_CFLAGS
720 GNOMEVFS_LIBS
721 HILDON_CFLAGS
722 HILDON_LIBS
723 CAIRO_CFLAGS
724 CAIRO_LIBS
725 GST_CFLAGS
726 GST_LIBS
727 CORE_BASE_LIBS
728 CORE_GUI_LIBS
729 wxUSE_ZLIB
730 wxUSE_REGEX
731 wxUSE_EXPAT
732 wxUSE_ODBC
733 wxUSE_LIBJPEG
734 wxUSE_LIBPNG
735 wxUSE_LIBTIFF
736 VENDOR
737 OFFICIAL_BUILD
738 WX_FLAVOUR
739 WX_LIB_FLAVOUR
740 WXUNIV
741 MONOLITHIC
742 USE_PLUGINS
743 CXXWARNINGS
744 EXTRALIBS
745 EXTRALIBS_XML
746 EXTRALIBS_HTML
747 EXTRALIBS_ODBC
748 EXTRALIBS_GUI
749 EXTRALIBS_OPENGL
750 EXTRALIBS_SDL
751 WITH_PLUGIN_SDL
752 EXTRALIBS_GNOMEPRINT
753 EXTRALIBS_GNOMEVFS
754 EXTRALIBS_HILDON
755 UNICODE
756 BUILD
757 DEBUG_INFO
758 DEBUG_FLAG
759 TOOLKIT_LOWERCASE
760 TOOLKIT_VERSION
761 SAMPLES_RPATH_FLAG
762 SAMPLES_RPATH_POSTLINK
763 HOST_SUFFIX
764 CPPUNIT_CFLAGS
765 CPPUNIT_LIBS
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 GCC_PCH
805 ICC_PCH
806 BK_MAKE_PCH
807 COND_BUILD_DEBUG
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
816 COND_DEBUG_FLAG_1
817 COND_DEBUG_INFO_0
818 COND_DEBUG_INFO_1
819 COND_DEPS_TRACKING_0
820 COND_DEPS_TRACKING_1
821 COND_GCC_PCH_1
822 COND_ICC_PCH_1
823 COND_MONOLITHIC_0
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
833 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_QA_1
854 COND_MONOLITHIC_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_USE_STC_1
856 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1
858 COND_MONOLITHIC_1_SHARED_0
859 COND_MONOLITHIC_1_SHARED_1
860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
864 COND_PLATFORM_MACOSX_1
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
874 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MAC_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_OS2_1
879 COND_PLATFORM_UNIX_0
880 COND_PLATFORM_UNIX_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
887 COND_SHARED_0
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_USE_XRC_1
897 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
898 COND_SHARED_0_WXUSE_ODBC_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_SHARED_1_USE_XRC_1
904 COND_TOOLKIT_
905 COND_TOOLKIT_COCOA
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB
909 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL
922 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11
938 COND_TOOLKIT_X11_USE_GUI_1
939 COND_UNICODE_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_0
943 COND_USE_GUI_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
950 COND_USE_ODBC_1
951 COND_USE_OPENGL_1
952 COND_USE_PCH_1
953 COND_USE_PLUGINS_0
954 COND_USE_RTTI_0
955 COND_USE_RTTI_1
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSION_0
960 COND_USE_SOVERSOLARIS_1
961 COND_USE_STC_1
962 COND_USE_THREADS_0
963 COND_USE_THREADS_1
964 COND_USE_XRC_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
967 COND_WXUNIV_0
968 COND_WXUNIV_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_ODBC_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
976 SHARED
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
979 USE_GUI
980 AFMINSTALL
981 WIN32INSTALL
982 TOOLKIT
983 TOOLKIT_DIR
984 TOOLCHAIN_NAME
985 TOOLCHAIN_FULLNAME
986 cross_compiling
987 WIDGET_SET
988 WX_RELEASE
989 WX_VERSION
990 WX_SUBVERSION
991 WX_CHARTYPE
992 WX_DEBUGTYPE
993 WXCONFIG_CPPFLAGS
994 WXCONFIG_CFLAGS
995 WXCONFIG_CXXFLAGS
996 WXCONFIG_LIBS
997 WXCONFIG_RPATH
998 WXCONFIG_LDFLAGS_GUI
999 WXCONFIG_RESFLAGS
1000 EXE_LINKER
1001 GUIDIST
1002 DISTDIR
1003 SAMPLES_SUBDIRS
1004 LDFLAGS_GL
1005 OPENGL_LIBS
1006 DMALLOC_LIBS
1007 WX_VERSION_TAG
1008 RESCOMP
1009 RESFLAGS
1010 RESPROGRAMOBJ
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1013 LIBWXMACRES
1014 POSTLINK_COMMAND
1015 MACSETFILE
1016 GCC
1017 CPPUNIT_CONFIG
1018 LIBOBJS
1019 LTLIBOBJS'
1020 ac_subst_files=''
1021 ac_precious_vars='build_alias
1022 host_alias
1023 target_alias
1024 CC
1025 CFLAGS
1026 LDFLAGS
1027 LIBS
1028 CPPFLAGS
1029 CPP
1030 CXX
1031 CXXFLAGS
1032 CCC
1033 PKG_CONFIG
1034 DIRECTFB_CFLAGS
1035 DIRECTFB_LIBS
1036 XMKMF
1037 PANGOX_CFLAGS
1038 PANGOX_LIBS
1039 PANGOFT2_CFLAGS
1040 PANGOFT2_LIBS
1041 PANGOXFT_CFLAGS
1042 PANGOXFT_LIBS
1043 LIBGNOMEPRINTUI_CFLAGS
1044 LIBGNOMEPRINTUI_LIBS
1045 GNOMEVFS_CFLAGS
1046 GNOMEVFS_LIBS
1047 HILDON_CFLAGS
1048 HILDON_LIBS
1049 CAIRO_CFLAGS
1050 CAIRO_LIBS
1051 GST_CFLAGS
1052 GST_LIBS'
1053 ac_subdirs_all='src/expat'
1054
1055 # Initialize some variables set by options.
1056 ac_init_help=
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1108 ac_prev=
1109 continue
1110 fi
1111
1112 case $ac_option in
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114 *) ac_optarg=yes ;;
1115 esac
1116
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1118
1119 case $ac_dashdash$ac_option in
1120 --)
1121 ac_dashdash=yes ;;
1122
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 ac_prev=bindir ;;
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1127
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1132
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1139
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1142
1143 -datadir | --datadir | --datadi | --datad)
1144 ac_prev=datadir ;;
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1147
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1154
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1163
1164 -docdir | --docdir | --docdi | --doc | --do)
1165 ac_prev=docdir ;;
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1168
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 ac_prev=dvidir ;;
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1173
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1182
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1191
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1194 with_gas=yes ;;
1195
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1202
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1207
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 ac_prev=htmldir ;;
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 | --ht=*)
1212 htmldir=$ac_optarg ;;
1213
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1220
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 ac_prev=infodir ;;
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1225
1226 -libdir | --libdir | --libdi | --libd)
1227 ac_prev=libdir ;;
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1230
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1237
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1242
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1249
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 ac_prev=mandir ;;
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1254
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1257 with_fp=no ;;
1258
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1261 no_create=yes ;;
1262
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 no_recursion=yes ;;
1266
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1275
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 ac_prev=prefix ;;
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1280
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1287
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1294
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1311
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 ac_prev=pdfdir ;;
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1316
1317 -psdir | --psdir | --psdi | --psd | --ps)
1318 ac_prev=psdir ;;
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 psdir=$ac_optarg ;;
1321
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1324 silent=yes ;;
1325
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 ac_prev=sbindir ;;
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 | --sbi=* | --sb=*)
1330 sbindir=$ac_optarg ;;
1331
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1335 | --sha | --sh)
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 | --sha=* | --sh=*)
1341 sharedstatedir=$ac_optarg ;;
1342
1343 -site | --site | --sit)
1344 ac_prev=site ;;
1345 -site=* | --site=* | --sit=*)
1346 site=$ac_optarg ;;
1347
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 ac_prev=srcdir ;;
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1352
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1359
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1364
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 verbose=yes ;;
1367
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1370
1371 -with-* | --with-*)
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1379
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1388
1389 --x)
1390 # Obsolete; use --with-x.
1391 with_x=yes ;;
1392
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1399
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1406
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1410 ;;
1411
1412 *=*)
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1420
1421 *)
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 ;;
1428
1429 esac
1430 done
1431
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1436 fi
1437
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1443 do
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 esac
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1451 done
1452
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1456 build=$build_alias
1457 host=$host_alias
1458 target=$target_alias
1459
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1467 cross_compiling=yes
1468 fi
1469 fi
1470
1471 ac_tool_prefix=
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
1474 test "$silent" = yes && exec 6>/dev/null
1475
1476
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 echo X"$0" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)[^/].*/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)$/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\).*/{
1510 s//\1/
1511 q
1512 }
1513 s/.*/./; q'`
1514 srcdir=$ac_confdir
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 srcdir=..
1517 fi
1518 else
1519 ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1525 fi
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1608 _ACEOF
1609
1610 cat <<\_ACEOF
1611
1612 X features:
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1615
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 esac
1627 cat <<\_ACEOF
1628
1629 Optional Features:
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --enable-gui use GUI classes
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-universal use wxWidgets GUI controls instead of native ones
1636 --enable-nanox use NanoX
1637 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1638 --enable-gpe use GNOME PDA Environment features if possible
1639 --enable-shared create shared library code
1640 --enable-optimise create optimised code
1641 --enable-debug same as debug_flag and debug_info
1642 --enable-stl use STL for containers
1643 --enable-extended_rtti use extended RTTI (XTI)
1644 --enable-omf use OMF object format
1645 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1646 --enable-debug_info create code with debugging information
1647 --enable-debug_gdb create code with extra GDB debugging information
1648 --enable-debug_cntxt use wxDebugContext
1649 --enable-mem_tracing create code with memory tracing
1650 --enable-profile create code with profiling information
1651 --enable-no_rtti create code without RTTI information
1652 --enable-no_exceptions create code without C++ exceptions handling
1653 --enable-permissive compile code disregarding strict ANSI
1654 --enable-no_deps create code without dependency information
1655 --disable-vararg_macros don't use vararg macros, even if they are supported
1656 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1657 --enable-compat26 enable wxWidgets 2.6 compatibility
1658 --disable-compat28 disable wxWidgets 2.8 compatibility
1659 --disable-rpath disable use of rpath for uninstalled builds
1660 --enable-objc_uniquifying enable Objective-C class name uniquifying
1661 --enable-intl use internationalization system
1662 --enable-config use wxConfig (and derived) classes
1663 --enable-protocols use wxProtocol and derived classes
1664 --enable-ftp use wxFTP (requires wxProtocol
1665 --enable-http use wxHTTP (requires wxProtocol
1666 --enable-fileproto use wxFileProto class (requires wxProtocol
1667 --enable-sockets use socket/network classes
1668 --enable-ole use OLE classes (Win32 only)
1669 --enable-dataobj use data object classes
1670 --enable-ipc use interprocess communication (wxSocket etc.)
1671 --enable-apple_ieee use the Apple IEEE codec
1672 --enable-arcstream use wxArchive streams
1673 --enable-backtrace use wxStackWalker class for getting backtraces
1674 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1675 --enable-cmdline use wxCmdLineParser class
1676 --enable-datetime use wxDateTime class
1677 --enable-debugreport use wxDebugReport class
1678 --enable-dialupman use dialup network classes
1679 --enable-dynlib use wxLibrary class for DLL loading
1680 --enable-dynamicloader use (new) wxDynamicLibrary class
1681 --enable-exceptions build exception-safe library
1682 --enable-ffile use wxFFile class
1683 --enable-file use wxFile class
1684 --enable-filesystem use virtual file systems classes
1685 --enable-fontmap use font encodings conversion classes
1686 --enable-fs_archive use virtual archive filesystems
1687 --enable-fs_inet use virtual HTTP/FTP filesystems
1688 --enable-fs_zip now replaced by fs_archive
1689 --enable-geometry use geometry class
1690 --enable-log use logging system
1691 --enable-longlong use wxLongLong class
1692 --enable-mimetype use wxMimeTypesManager
1693 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1694 --enable-utf8 use UTF-8 representation for strings (Unix only)
1695 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1696 --enable-snglinst use wxSingleInstanceChecker class
1697 --enable-std_iostreams use standard C++ stream classes
1698 --enable-std_string use standard C++ string classes
1699 --enable-stdpaths use wxStandardPaths class
1700 --enable-stopwatch use wxStopWatch class
1701 --enable-streams use wxStream etc classes
1702 --enable-sysoptions use wxSystemOptions
1703 --enable-tarstream use wxTar streams
1704 --enable-textbuf use wxTextBuffer class
1705 --enable-textfile use wxTextFile class
1706 --enable-timer use wxTimer class
1707 --enable-unicode compile without Unicode support
1708 --enable-sound use wxSound class
1709 --enable-mediactrl use wxMediaCtrl class
1710 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1711 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1712 --enable-zipstream use wxZip streams
1713 --enable-url use wxURL class
1714 --enable-variant use wxVariant class
1715 --enable-protocol use wxProtocol class
1716 --enable-protocol-http HTTP support in wxProtocol
1717 --enable-protocol-ftp FTP support in wxProtocol
1718 --enable-protocol-file FILE support in wxProtocol
1719 --enable-threads use threads
1720 --enable-docview use document view architecture
1721 --enable-help use help subsystem
1722 --enable-mshtmlhelp use MS HTML Help (win32)
1723 --enable-html use wxHTML sub-library
1724 --enable-htmlhelp use wxHTML-based help
1725 --enable-xrc use XRC resources sub-library
1726 --enable-aui use AUI docking library
1727 --enable-stc use wxStyledTextCtrl library
1728 --enable-constraints use layout-constraints system
1729 --enable-printarch use printing architecture
1730 --enable-mdi use multiple document interface architecture
1731 --enable-mdidoc use docview architecture with MDI
1732 --enable-loggui use standard GUI logger
1733 --enable-logwin use wxLogWindow
1734 --enable-logdialog use wxLogDialog
1735 --enable-webkit use wxWebKitCtrl (Mac)
1736 --enable-richtext use wxRichTextCtrl
1737 --enable-graphics_ctx use graphics context 2D drawing API
1738 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1739 --enable-clipboard use wxClipboard class
1740 --enable-dnd use Drag'n'Drop classes
1741 --enable-metafile use win32 metafiles
1742 --enable-controls use all usual controls
1743 --enable-accel use accelerators
1744 --enable-animatectrl use wxAnimationCtrl class
1745 --enable-button use wxButton class
1746 --enable-bmpbutton use wxBitmapButton class
1747 --enable-bmpcombobox use wxBitmapComboBox class
1748 --enable-calendar use wxCalendarCtrl class
1749 --enable-caret use wxCaret class
1750 --enable-checkbox use wxCheckBox class
1751 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1752 --enable-choice use wxChoice class
1753 --enable-choicebook use wxChoicebook class
1754 --enable-collpane use wxCollapsiblePane class
1755 --enable-colourpicker use wxColourPickerCtrl class
1756 --enable-combobox use wxComboBox class
1757 --enable-comboctrl use wxComboCtrl class
1758 --enable-datepick use wxDatePickerCtrl class
1759 --enable-dirpicker use wxDirPickerCtrl class
1760 --enable-display use wxDisplay class
1761 --enable-detect_sm use code to detect X11 session manager
1762 --enable-editablebox use wxEditableListBox class
1763 --enable-filepicker use wxFilePickerCtrl class
1764 --enable-fontpicker use wxFontPickerCtrl class
1765 --enable-gauge use wxGauge class
1766 --enable-grid use wxGrid class
1767 --enable-dataviewctrl use wxDataViewCtrl class
1768 --enable-hyperlink use wxHyperlinkCtrl class
1769 --enable-imaglist use wxImageList class
1770 --enable-listbook use wxListbook class
1771 --enable-listbox use wxListBox class
1772 --enable-listctrl use wxListCtrl class
1773 --enable-notebook use wxNotebook class
1774 --enable-odcombobox use wxOwnerDrawnComboBox class
1775 --enable-radiobox use wxRadioBox class
1776 --enable-radiobtn use wxRadioButton class
1777 --enable-sash use wxSashWindow class
1778 --enable-scrollbar use wxScrollBar class and scrollable windows
1779 --enable-searchctrl use wxSearchCtrl class
1780 --enable-slider use wxSlider class
1781 --enable-spinbtn use wxSpinButton class
1782 --enable-spinctrl use wxSpinCtrl class
1783 --enable-splitter use wxSplitterWindow class
1784 --enable-statbmp use wxStaticBitmap class
1785 --enable-statbox use wxStaticBox class
1786 --enable-statline use wxStaticLine class
1787 --enable-stattext use wxStaticText class
1788 --enable-statusbar use wxStatusBar class
1789 --enable-tabdialog use wxTabControl class
1790 --enable-textctrl use wxTextCtrl class
1791 --enable-togglebtn use wxToggleButton class
1792 --enable-toolbar use wxToolBar class
1793 --enable-tbarnative use native wxToolBar class
1794 --enable-treebook use wxTreebook class
1795 --enable-toolbook use wxToolbook class
1796 --enable-treectrl use wxTreeCtrl class
1797 --enable-tipwindow use wxTipWindow class
1798 --enable-popupwin use wxPopUpWindow class
1799 --enable-commondlg use all common dialogs
1800 --enable-aboutdlg use wxAboutBox
1801 --enable-choicedlg use wxChoiceDialog
1802 --enable-coldlg use wxColourDialog
1803 --enable-filedlg use wxFileDialog
1804 --enable-finddlg use wxFindReplaceDialog
1805 --enable-fontdlg use wxFontDialog
1806 --enable-dirdlg use wxDirDialog
1807 --enable-msgdlg use wxMessageDialog
1808 --enable-numberdlg use wxNumberEntryDialog
1809 --enable-splash use wxSplashScreen
1810 --enable-textdlg use wxTextDialog
1811 --enable-tipdlg use startup tips
1812 --enable-progressdlg use wxProgressDialog
1813 --enable-wizarddlg use wxWizard
1814 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1815 --enable-miniframe use wxMiniFrame class
1816 --enable-tooltips use wxToolTip class
1817 --enable-splines use spline drawing code
1818 --enable-mousewheel use mousewheel
1819 --enable-validators use wxValidator and derived classes
1820 --enable-busyinfo use wxBusyInfo
1821 --enable-joystick use wxJoystick
1822 --enable-metafiles use wxMetaFile (Win32 only)
1823 --enable-dragimage use wxDragImage
1824 --enable-accessibility enable accessibility support
1825 --enable-dccache cache temporary wxDC objects (Win32 only)
1826 --enable-palette use wxPalette class
1827 --enable-image use wxImage class
1828 --enable-gif use gif images (GIF file format)
1829 --enable-pcx use pcx images (PCX file format)
1830 --enable-tga use tga images (TGA file format)
1831 --enable-iff use iff images (IFF file format)
1832 --enable-pnm use pnm images (PNM file format)
1833 --enable-xpm use xpm images (XPM file format)
1834 --enable-icocur use Windows ICO and CUR formats
1835 --enable-official_build official build of wxWidgets (win32 DLL only)
1836 --enable-vendor=VENDOR vendor name (win32 DLL only)
1837 --disable-largefile omit support for large files
1838 --disable-gtktest do not try to compile and run a test GTK+ program
1839 --disable-gtktest Do not try to compile and run a test GTK program
1840 --disable-sdltest Do not try to compile and run a test SDL program
1841 --enable-omf use OMF object format (OS/2)
1842 --disable-dependency-tracking
1843 don't use dependency tracking even if the compiler
1844 can
1845 --disable-precomp-headers
1846 don't use precompiled headers even if compiler can
1847
1848 Optional Packages:
1849 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1850 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1851 --without-subdirs don't generate makefiles for samples/demos/...
1852 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1853 --with-motif use Motif/Lesstif
1854 --with-mac use Mac OS X
1855 --with-cocoa use Cocoa
1856 --with-wine use Wine
1857 --with-msw use MS-Windows
1858 --with-pm use OS/2 Presentation Manager
1859 --with-mgl use SciTech MGL
1860 --with-directfb use DirectFB
1861 --with-microwin use MicroWindows
1862 --with-x11 use X11
1863 --with-libpng use libpng (PNG image format)
1864 --with-libjpeg use libjpeg (JPEG file format)
1865 --with-libtiff use libtiff (TIFF file format)
1866 --with-libxpm use libxpm (XPM file format)
1867 --with-libmspack use libmspack (CHM help files loading)
1868 --with-sdl use SDL for audio on Unix
1869 --with-gnomeprint use GNOME print for printing under GNOME
1870 --with-gnomevfs use GNOME VFS for associating MIME types
1871 --with-hildon use Hildon framework for Nokia 770
1872 --with-opengl use OpenGL (or Mesa)
1873 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1874 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1875 --with-regex enable support for wxRegEx class
1876 --with-zlib use zlib for LZW compression
1877 --with-odbc use the IODBC and wxODBC classes
1878 --with-expat enable XML support using expat parser
1879 --with-flavour=NAME specify a name to identify this build
1880 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1881 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1882 --with-x use the X Window System
1883 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1884 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1885 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1886 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1887 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1888
1889 Some influential environment variables:
1890 CC C compiler command
1891 CFLAGS C compiler flags
1892 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1893 nonstandard directory <lib dir>
1894 LIBS libraries to pass to the linker, e.g. -l<library>
1895 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1896 you have headers in a nonstandard directory <include dir>
1897 CPP C preprocessor
1898 CXX C++ compiler command
1899 CXXFLAGS C++ compiler flags
1900 PKG_CONFIG path to pkg-config utility
1901 DIRECTFB_CFLAGS
1902 C compiler flags for DIRECTFB, overriding pkg-config
1903 DIRECTFB_LIBS
1904 linker flags for DIRECTFB, overriding pkg-config
1905 XMKMF Path to xmkmf, Makefile generator for X Window System
1906 PANGOX_CFLAGS
1907 C compiler flags for PANGOX, overriding pkg-config
1908 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1909 PANGOFT2_CFLAGS
1910 C compiler flags for PANGOFT2, overriding pkg-config
1911 PANGOFT2_LIBS
1912 linker flags for PANGOFT2, overriding pkg-config
1913 PANGOXFT_CFLAGS
1914 C compiler flags for PANGOXFT, overriding pkg-config
1915 PANGOXFT_LIBS
1916 linker flags for PANGOXFT, overriding pkg-config
1917 LIBGNOMEPRINTUI_CFLAGS
1918 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1919 LIBGNOMEPRINTUI_LIBS
1920 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1921 GNOMEVFS_CFLAGS
1922 C compiler flags for GNOMEVFS, overriding pkg-config
1923 GNOMEVFS_LIBS
1924 linker flags for GNOMEVFS, overriding pkg-config
1925 HILDON_CFLAGS
1926 C compiler flags for HILDON, overriding pkg-config
1927 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1928 CAIRO_CFLAGS
1929 C compiler flags for CAIRO, overriding pkg-config
1930 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1931 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1932 GST_LIBS linker flags for GST, overriding pkg-config
1933
1934 Use these variables to override the choices made by `configure' or to help
1935 it to find libraries and programs with nonstandard names/locations.
1936
1937 Report bugs to <wx-dev@lists.wxwidgets.org>.
1938 _ACEOF
1939 ac_status=$?
1940 fi
1941
1942 if test "$ac_init_help" = "recursive"; then
1943 # If there are subdirs, report their specific --help.
1944 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1945 test -d "$ac_dir" || continue
1946 ac_builddir=.
1947
1948 case "$ac_dir" in
1949 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1950 *)
1951 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1952 # A ".." for each directory in $ac_dir_suffix.
1953 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1954 case $ac_top_builddir_sub in
1955 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1956 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1957 esac ;;
1958 esac
1959 ac_abs_top_builddir=$ac_pwd
1960 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1961 # for backward compatibility:
1962 ac_top_builddir=$ac_top_build_prefix
1963
1964 case $srcdir in
1965 .) # We are building in place.
1966 ac_srcdir=.
1967 ac_top_srcdir=$ac_top_builddir_sub
1968 ac_abs_top_srcdir=$ac_pwd ;;
1969 [\\/]* | ?:[\\/]* ) # Absolute name.
1970 ac_srcdir=$srcdir$ac_dir_suffix;
1971 ac_top_srcdir=$srcdir
1972 ac_abs_top_srcdir=$srcdir ;;
1973 *) # Relative name.
1974 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1975 ac_top_srcdir=$ac_top_build_prefix$srcdir
1976 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1977 esac
1978 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1979
1980 cd "$ac_dir" || { ac_status=$?; continue; }
1981 # Check for guested configure.
1982 if test -f "$ac_srcdir/configure.gnu"; then
1983 echo &&
1984 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1985 elif test -f "$ac_srcdir/configure"; then
1986 echo &&
1987 $SHELL "$ac_srcdir/configure" --help=recursive
1988 else
1989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1990 fi || ac_status=$?
1991 cd "$ac_pwd" || { ac_status=$?; break; }
1992 done
1993 fi
1994
1995 test -n "$ac_init_help" && exit $ac_status
1996 if $ac_init_version; then
1997 cat <<\_ACEOF
1998 wxWidgets configure 2.9.0
1999 generated by GNU Autoconf 2.61
2000
2001 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2003 This configure script is free software; the Free Software Foundation
2004 gives unlimited permission to copy, distribute and modify it.
2005 _ACEOF
2006 exit
2007 fi
2008 cat >config.log <<_ACEOF
2009 This file contains any messages produced by compilers while
2010 running configure, to aid debugging if configure makes a mistake.
2011
2012 It was created by wxWidgets $as_me 2.9.0, which was
2013 generated by GNU Autoconf 2.61. Invocation command line was
2014
2015 $ $0 $@
2016
2017 _ACEOF
2018 exec 5>>config.log
2019 {
2020 cat <<_ASUNAME
2021 ## --------- ##
2022 ## Platform. ##
2023 ## --------- ##
2024
2025 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2026 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2027 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2028 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2029 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2030
2031 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2032 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2033
2034 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2035 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2036 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2037 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2038 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2039 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2040 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2041
2042 _ASUNAME
2043
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 for as_dir in $PATH
2046 do
2047 IFS=$as_save_IFS
2048 test -z "$as_dir" && as_dir=.
2049 echo "PATH: $as_dir"
2050 done
2051 IFS=$as_save_IFS
2052
2053 } >&5
2054
2055 cat >&5 <<_ACEOF
2056
2057
2058 ## ----------- ##
2059 ## Core tests. ##
2060 ## ----------- ##
2061
2062 _ACEOF
2063
2064
2065 # Keep a trace of the command line.
2066 # Strip out --no-create and --no-recursion so they do not pile up.
2067 # Strip out --silent because we don't want to record it for future runs.
2068 # Also quote any args containing shell meta-characters.
2069 # Make two passes to allow for proper duplicate-argument suppression.
2070 ac_configure_args=
2071 ac_configure_args0=
2072 ac_configure_args1=
2073 ac_must_keep_next=false
2074 for ac_pass in 1 2
2075 do
2076 for ac_arg
2077 do
2078 case $ac_arg in
2079 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2081 | -silent | --silent | --silen | --sile | --sil)
2082 continue ;;
2083 *\'*)
2084 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2085 esac
2086 case $ac_pass in
2087 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2088 2)
2089 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2090 if test $ac_must_keep_next = true; then
2091 ac_must_keep_next=false # Got value, back to normal.
2092 else
2093 case $ac_arg in
2094 *=* | --config-cache | -C | -disable-* | --disable-* \
2095 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2096 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2097 | -with-* | --with-* | -without-* | --without-* | --x)
2098 case "$ac_configure_args0 " in
2099 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2100 esac
2101 ;;
2102 -* ) ac_must_keep_next=true ;;
2103 esac
2104 fi
2105 ac_configure_args="$ac_configure_args '$ac_arg'"
2106 ;;
2107 esac
2108 done
2109 done
2110 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2111 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2112
2113 # When interrupted or exit'd, cleanup temporary files, and complete
2114 # config.log. We remove comments because anyway the quotes in there
2115 # would cause problems or look ugly.
2116 # WARNING: Use '\'' to represent an apostrophe within the trap.
2117 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2118 trap 'exit_status=$?
2119 # Save into config.log some information that might help in debugging.
2120 {
2121 echo
2122
2123 cat <<\_ASBOX
2124 ## ---------------- ##
2125 ## Cache variables. ##
2126 ## ---------------- ##
2127 _ASBOX
2128 echo
2129 # The following way of writing the cache mishandles newlines in values,
2130 (
2131 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2132 eval ac_val=\$$ac_var
2133 case $ac_val in #(
2134 *${as_nl}*)
2135 case $ac_var in #(
2136 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2137 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2138 esac
2139 case $ac_var in #(
2140 _ | IFS | as_nl) ;; #(
2141 *) $as_unset $ac_var ;;
2142 esac ;;
2143 esac
2144 done
2145 (set) 2>&1 |
2146 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2147 *${as_nl}ac_space=\ *)
2148 sed -n \
2149 "s/'\''/'\''\\\\'\'''\''/g;
2150 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2151 ;; #(
2152 *)
2153 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2154 ;;
2155 esac |
2156 sort
2157 )
2158 echo
2159
2160 cat <<\_ASBOX
2161 ## ----------------- ##
2162 ## Output variables. ##
2163 ## ----------------- ##
2164 _ASBOX
2165 echo
2166 for ac_var in $ac_subst_vars
2167 do
2168 eval ac_val=\$$ac_var
2169 case $ac_val in
2170 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 esac
2172 echo "$ac_var='\''$ac_val'\''"
2173 done | sort
2174 echo
2175
2176 if test -n "$ac_subst_files"; then
2177 cat <<\_ASBOX
2178 ## ------------------- ##
2179 ## File substitutions. ##
2180 ## ------------------- ##
2181 _ASBOX
2182 echo
2183 for ac_var in $ac_subst_files
2184 do
2185 eval ac_val=\$$ac_var
2186 case $ac_val in
2187 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 esac
2189 echo "$ac_var='\''$ac_val'\''"
2190 done | sort
2191 echo
2192 fi
2193
2194 if test -s confdefs.h; then
2195 cat <<\_ASBOX
2196 ## ----------- ##
2197 ## confdefs.h. ##
2198 ## ----------- ##
2199 _ASBOX
2200 echo
2201 cat confdefs.h
2202 echo
2203 fi
2204 test "$ac_signal" != 0 &&
2205 echo "$as_me: caught signal $ac_signal"
2206 echo "$as_me: exit $exit_status"
2207 } >&5
2208 rm -f core *.core core.conftest.* &&
2209 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2210 exit $exit_status
2211 ' 0
2212 for ac_signal in 1 2 13 15; do
2213 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2214 done
2215 ac_signal=0
2216
2217 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2218 rm -f -r conftest* confdefs.h
2219
2220 # Predefined preprocessor variables.
2221
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_NAME "$PACKAGE_NAME"
2224 _ACEOF
2225
2226
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2229 _ACEOF
2230
2231
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2234 _ACEOF
2235
2236
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_STRING "$PACKAGE_STRING"
2239 _ACEOF
2240
2241
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2244 _ACEOF
2245
2246
2247 # Let the site file select an alternate cache file if it wants to.
2248 # Prefer explicitly selected file to automatically selected ones.
2249 if test -n "$CONFIG_SITE"; then
2250 set x "$CONFIG_SITE"
2251 elif test "x$prefix" != xNONE; then
2252 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2253 else
2254 set x "$ac_default_prefix/share/config.site" \
2255 "$ac_default_prefix/etc/config.site"
2256 fi
2257 shift
2258 for ac_site_file
2259 do
2260 if test -r "$ac_site_file"; then
2261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2262 echo "$as_me: loading site script $ac_site_file" >&6;}
2263 sed 's/^/| /' "$ac_site_file" >&5
2264 . "$ac_site_file"
2265 fi
2266 done
2267
2268 if test -r "$cache_file"; then
2269 # Some versions of bash will fail to source /dev/null (special
2270 # files actually), so we avoid doing that.
2271 if test -f "$cache_file"; then
2272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2273 echo "$as_me: loading cache $cache_file" >&6;}
2274 case $cache_file in
2275 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2276 *) . "./$cache_file";;
2277 esac
2278 fi
2279 else
2280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2281 echo "$as_me: creating cache $cache_file" >&6;}
2282 >$cache_file
2283 fi
2284
2285 # Check that the precious variables saved in the cache have kept the same
2286 # value.
2287 ac_cache_corrupted=false
2288 for ac_var in $ac_precious_vars; do
2289 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2290 eval ac_new_set=\$ac_env_${ac_var}_set
2291 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2292 eval ac_new_val=\$ac_env_${ac_var}_value
2293 case $ac_old_set,$ac_new_set in
2294 set,)
2295 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2296 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2297 ac_cache_corrupted=: ;;
2298 ,set)
2299 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2300 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2301 ac_cache_corrupted=: ;;
2302 ,);;
2303 *)
2304 if test "x$ac_old_val" != "x$ac_new_val"; then
2305 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2306 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2307 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2308 echo "$as_me: former value: $ac_old_val" >&2;}
2309 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2310 echo "$as_me: current value: $ac_new_val" >&2;}
2311 ac_cache_corrupted=:
2312 fi;;
2313 esac
2314 # Pass precious variables to config.status.
2315 if test "$ac_new_set" = set; then
2316 case $ac_new_val in
2317 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2318 *) ac_arg=$ac_var=$ac_new_val ;;
2319 esac
2320 case " $ac_configure_args " in
2321 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2322 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2323 esac
2324 fi
2325 done
2326 if $ac_cache_corrupted; then
2327 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2328 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2329 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2330 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2331 { (exit 1); exit 1; }; }
2332 fi
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358 ac_ext=c
2359 ac_cpp='$CPP $CPPFLAGS'
2360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364
2365
2366
2367
2368 ac_aux_dir=
2369 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2370 if test -f "$ac_dir/install-sh"; then
2371 ac_aux_dir=$ac_dir
2372 ac_install_sh="$ac_aux_dir/install-sh -c"
2373 break
2374 elif test -f "$ac_dir/install.sh"; then
2375 ac_aux_dir=$ac_dir
2376 ac_install_sh="$ac_aux_dir/install.sh -c"
2377 break
2378 elif test -f "$ac_dir/shtool"; then
2379 ac_aux_dir=$ac_dir
2380 ac_install_sh="$ac_aux_dir/shtool install -c"
2381 break
2382 fi
2383 done
2384 if test -z "$ac_aux_dir"; then
2385 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2386 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2387 { (exit 1); exit 1; }; }
2388 fi
2389
2390 # These three variables are undocumented and unsupported,
2391 # and are intended to be withdrawn in a future Autoconf release.
2392 # They can cause serious problems if a builder's source tree is in a directory
2393 # whose full name contains unusual characters.
2394 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2395 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2396 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2397
2398
2399 # Make sure we can run config.sub.
2400 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2401 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2402 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2403 { (exit 1); exit 1; }; }
2404
2405 { echo "$as_me:$LINENO: checking build system type" >&5
2406 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2407 if test "${ac_cv_build+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 else
2410 ac_build_alias=$build_alias
2411 test "x$ac_build_alias" = x &&
2412 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2413 test "x$ac_build_alias" = x &&
2414 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2415 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2416 { (exit 1); exit 1; }; }
2417 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2418 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2419 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2420 { (exit 1); exit 1; }; }
2421
2422 fi
2423 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2424 echo "${ECHO_T}$ac_cv_build" >&6; }
2425 case $ac_cv_build in
2426 *-*-*) ;;
2427 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2428 echo "$as_me: error: invalid value of canonical build" >&2;}
2429 { (exit 1); exit 1; }; };;
2430 esac
2431 build=$ac_cv_build
2432 ac_save_IFS=$IFS; IFS='-'
2433 set x $ac_cv_build
2434 shift
2435 build_cpu=$1
2436 build_vendor=$2
2437 shift; shift
2438 # Remember, the first character of IFS is used to create $*,
2439 # except with old shells:
2440 build_os=$*
2441 IFS=$ac_save_IFS
2442 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2443
2444
2445 { echo "$as_me:$LINENO: checking host system type" >&5
2446 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2447 if test "${ac_cv_host+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 else
2450 if test "x$host_alias" = x; then
2451 ac_cv_host=$ac_cv_build
2452 else
2453 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2454 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2455 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2456 { (exit 1); exit 1; }; }
2457 fi
2458
2459 fi
2460 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2461 echo "${ECHO_T}$ac_cv_host" >&6; }
2462 case $ac_cv_host in
2463 *-*-*) ;;
2464 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2465 echo "$as_me: error: invalid value of canonical host" >&2;}
2466 { (exit 1); exit 1; }; };;
2467 esac
2468 host=$ac_cv_host
2469 ac_save_IFS=$IFS; IFS='-'
2470 set x $ac_cv_host
2471 shift
2472 host_cpu=$1
2473 host_vendor=$2
2474 shift; shift
2475 # Remember, the first character of IFS is used to create $*,
2476 # except with old shells:
2477 host_os=$*
2478 IFS=$ac_save_IFS
2479 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2480
2481
2482 { echo "$as_me:$LINENO: checking target system type" >&5
2483 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2484 if test "${ac_cv_target+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 else
2487 if test "x$target_alias" = x; then
2488 ac_cv_target=$ac_cv_host
2489 else
2490 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2491 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2492 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2493 { (exit 1); exit 1; }; }
2494 fi
2495
2496 fi
2497 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2498 echo "${ECHO_T}$ac_cv_target" >&6; }
2499 case $ac_cv_target in
2500 *-*-*) ;;
2501 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2502 echo "$as_me: error: invalid value of canonical target" >&2;}
2503 { (exit 1); exit 1; }; };;
2504 esac
2505 target=$ac_cv_target
2506 ac_save_IFS=$IFS; IFS='-'
2507 set x $ac_cv_target
2508 shift
2509 target_cpu=$1
2510 target_vendor=$2
2511 shift; shift
2512 # Remember, the first character of IFS is used to create $*,
2513 # except with old shells:
2514 target_os=$*
2515 IFS=$ac_save_IFS
2516 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2517
2518
2519 # The aliases save the names the user supplied, while $host etc.
2520 # will get canonicalized.
2521 test -n "$target_alias" &&
2522 test "$program_prefix$program_suffix$program_transform_name" = \
2523 NONENONEs,x,x, &&
2524 program_prefix=${target_alias}-
2525
2526
2527
2528 wx_major_version_number=2
2529 wx_minor_version_number=9
2530 wx_release_number=0
2531 wx_subrelease_number=0
2532
2533 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2534 WX_VERSION=$WX_RELEASE.$wx_release_number
2535 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2536
2537 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2538
2539
2540 wx_top_builddir="`pwd`"
2541
2542
2543
2544
2545 USE_UNIX=1
2546 USE_OS2=0
2547 USE_WIN32=0
2548 USE_DOS=0
2549 USE_BEOS=0
2550 USE_MAC=0
2551
2552 USE_AIX=
2553 USE_BSD= USE_DARWIN= USE_FREEBSD=
2554 USE_GNU= USE_HPUX=
2555 USE_LINUX=
2556 USE_NETBSD=
2557 USE_OPENBSD=
2558 USE_OSF= USE_SGI=
2559 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2560 USE_ULTRIX=
2561 USE_UNIXWARE=
2562
2563 USE_ALPHA=
2564
2565 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2566
2567 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2568
2569 DEFAULT_wxUSE_COCOA=0
2570 DEFAULT_wxUSE_GTK=0
2571 DEFAULT_wxUSE_MAC=0
2572 DEFAULT_wxUSE_MGL=0
2573 DEFAULT_wxUSE_MICROWIN=0
2574 DEFAULT_wxUSE_MOTIF=0
2575 DEFAULT_wxUSE_MSW=0
2576 DEFAULT_wxUSE_PM=0
2577 DEFAULT_wxUSE_X11=0
2578 DEFAULT_wxUSE_DFB=0
2579
2580 DEFAULT_DEFAULT_wxUSE_COCOA=0
2581 DEFAULT_DEFAULT_wxUSE_GTK=0
2582 DEFAULT_DEFAULT_wxUSE_MAC=0
2583 DEFAULT_DEFAULT_wxUSE_MGL=0
2584 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2585 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2586 DEFAULT_DEFAULT_wxUSE_MSW=0
2587 DEFAULT_DEFAULT_wxUSE_PM=0
2588 DEFAULT_DEFAULT_wxUSE_X11=0
2589 DEFAULT_DEFAULT_wxUSE_DFB=0
2590
2591 PROGRAM_EXT=
2592 SO_SUFFIX=so
2593 SAMPLES_RPATH_FLAG=
2594 SAMPLES_RPATH_POSTLINK=
2595
2596 DEFAULT_STD_FLAG=yes
2597
2598 case "${host}" in
2599 *-hp-hpux* )
2600 USE_HPUX=1
2601 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2602 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2603 SO_SUFFIX=sl
2604 cat >>confdefs.h <<\_ACEOF
2605 #define __HPUX__ 1
2606 _ACEOF
2607
2608
2609 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2610 ;;
2611 *-*-linux* )
2612 USE_LINUX=1
2613 cat >>confdefs.h <<\_ACEOF
2614 #define __LINUX__ 1
2615 _ACEOF
2616
2617 TMP=`uname -m`
2618 if test "x$TMP" = "xalpha"; then
2619 USE_ALPHA=1
2620 cat >>confdefs.h <<\_ACEOF
2621 #define __ALPHA__ 1
2622 _ACEOF
2623
2624 fi
2625 DEFAULT_DEFAULT_wxUSE_GTK=1
2626 ;;
2627 *-*-gnu* | *-*-k*bsd*-gnu )
2628 USE_GNU=1
2629 TMP=`uname -m`
2630 if test "x$TMP" = "xalpha"; then
2631 USE_ALPHA=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __ALPHA__ 1
2634 _ACEOF
2635
2636 fi
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 ;;
2639 *-*-irix5* | *-*-irix6* )
2640 USE_SGI=1
2641 USE_SVR4=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __SGI__ 1
2644 _ACEOF
2645
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __SVR4__ 1
2648 _ACEOF
2649
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2651 ;;
2652 *-*-solaris2* )
2653 USE_SUN=1
2654 USE_SOLARIS=1
2655 USE_SVR4=1
2656 cat >>confdefs.h <<\_ACEOF
2657 #define __SUN__ 1
2658 _ACEOF
2659
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SOLARIS__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SVR4__ 1
2666 _ACEOF
2667
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2670 ;;
2671 *-*-sunos4* )
2672 USE_SUN=1
2673 USE_SUNOS=1
2674 USE_BSD=1
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SUN__ 1
2677 _ACEOF
2678
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SUNOS__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __BSD__ 1
2685 _ACEOF
2686
2687 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2688 ;;
2689 *-*-freebsd*)
2690 USE_BSD=1
2691 USE_FREEBSD=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __FREEBSD__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __BSD__ 1
2698 _ACEOF
2699
2700 DEFAULT_DEFAULT_wxUSE_GTK=1
2701 ;;
2702 *-*-openbsd*|*-*-mirbsd*)
2703 USE_BSD=1
2704 USE_OPENBSD=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __OPENBSD__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __BSD__ 1
2711 _ACEOF
2712
2713 DEFAULT_DEFAULT_wxUSE_GTK=1
2714 ;;
2715 *-*-netbsd*)
2716 USE_BSD=1
2717 USE_NETBSD=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __NETBSD__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __BSD__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_GTK=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2728
2729 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2730 ;;
2731 *-*-osf* )
2732 USE_ALPHA=1
2733 USE_OSF=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __ALPHA__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __OSF__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2744 ;;
2745 *-*-dgux5* )
2746 USE_ALPHA=1
2747 USE_SVR4=1
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __ALPHA__ 1
2750 _ACEOF
2751
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __SVR4__ 1
2754 _ACEOF
2755
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2757 ;;
2758 *-*-sysv5* )
2759 USE_SYSV=1
2760 USE_SVR4=1
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __SYSV__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __SVR4__ 1
2767 _ACEOF
2768
2769 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2770 ;;
2771 *-*-aix* )
2772 USE_AIX=1
2773 USE_SYSV=1
2774 USE_SVR4=1
2775 SO_SUFFIX=a
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __AIX__ 1
2778 _ACEOF
2779
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __SYSV__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SVR4__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 ;;
2790
2791 *-*-*UnixWare*)
2792 USE_SYSV=1
2793 USE_SVR4=1
2794 USE_UNIXWARE=1
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __UNIXWARE__ 1
2797 _ACEOF
2798
2799 ;;
2800
2801 *-*-cygwin* | *-*-mingw32* )
2802 SO_SUFFIX=dll
2803 PROGRAM_EXT=".exe"
2804 DEFAULT_DEFAULT_wxUSE_MSW=1
2805 ;;
2806
2807 *-pc-msdosdjgpp )
2808 USE_UNIX=0
2809 USE_DOS=1
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __DOS__ 1
2812 _ACEOF
2813
2814 PROGRAM_EXT=".exe"
2815 DEFAULT_DEFAULT_wxUSE_MGL=1
2816 ;;
2817
2818 *-pc-os2_emx | *-pc-os2-emx )
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __EMX__ 1
2821 _ACEOF
2822
2823 USE_OS2=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __OS2__ 1
2826 _ACEOF
2827
2828 PROGRAM_EXT=".exe"
2829 DEFAULT_DEFAULT_wxUSE_PM=1
2830 CXX=gcc
2831 LDFLAGS="$LDFLAGS -Zcrtdll"
2832 ac_executable_extensions=".exe"
2833 export ac_executable_extensions
2834 ac_save_IFS="$IFS"
2835 IFS='\\'
2836 ac_TEMP_PATH=
2837 for ac_dir in $PATH; do
2838 IFS=$ac_save_IFS
2839 if test -z "$ac_TEMP_PATH"; then
2840 ac_TEMP_PATH="$ac_dir"
2841 else
2842 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2843 fi
2844 done
2845 export PATH="$ac_TEMP_PATH"
2846 unset ac_TEMP_PATH
2847 DEFAULT_STD_FLAG=no
2848 ;;
2849
2850 *-*-darwin* )
2851 USE_BSD=1
2852 USE_DARWIN=1
2853 SO_SUFFIX=dylib
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __BSD__ 1
2856 _ACEOF
2857
2858 cat >>confdefs.h <<\_ACEOF
2859 #define __DARWIN__ 1
2860 _ACEOF
2861
2862 cat >>confdefs.h <<\_ACEOF
2863 #define TARGET_CARBON 1
2864 _ACEOF
2865
2866 DEFAULT_DEFAULT_wxUSE_MAC=1
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869 powerpc-apple-macos* )
2870 USE_UNIX=0
2871 ac_cv_c_bigendian=yes
2872 SO_SUFFIX=shlib
2873 DEFAULT_DEFAULT_wxUSE_MAC=1
2874 DEFAULT_STD_FLAG=no
2875 ;;
2876
2877 *-*-beos* )
2878 USE_BEOS=1
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __BEOS__ 1
2881 _ACEOF
2882
2883 ;;
2884
2885 *)
2886 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2887 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2888 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2889 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2890
2891 DEFAULT_DEFAULT_wxUSE_X11=1
2892 DEFAULT_wxUSE_SHARED=no
2893 esac
2894
2895
2896
2897
2898 wx_arg_cache_file="configarg.cache"
2899 echo "loading argument cache $wx_arg_cache_file"
2900 rm -f ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}.tmp
2902 touch ${wx_arg_cache_file}
2903
2904
2905 DEBUG_CONFIGURE=0
2906 if test $DEBUG_CONFIGURE = 1; then
2907 DEFAULT_wxUSE_UNIVERSAL=no
2908 DEFAULT_wxUSE_STL=no
2909 DEFAULT_wxUSE_EXTENDED_RTTI=no
2910
2911 DEFAULT_wxUSE_NANOX=no
2912
2913 DEFAULT_wxUSE_THREADS=yes
2914
2915 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2916 DEFAULT_wxUSE_OPTIMISE=no
2917 DEFAULT_wxUSE_PROFILE=no
2918 DEFAULT_wxUSE_NO_DEPS=no
2919 DEFAULT_wxUSE_VARARG_MACROS=no
2920 DEFAULT_wxUSE_NO_RTTI=no
2921 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2922 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2923 DEFAULT_wxUSE_RPATH=yes
2924 DEFAULT_wxUSE_PERMISSIVE=no
2925 DEFAULT_wxUSE_DEBUG_FLAG=yes
2926 DEFAULT_wxUSE_DEBUG_INFO=yes
2927 DEFAULT_wxUSE_DEBUG_GDB=yes
2928 DEFAULT_wxUSE_MEM_TRACING=no
2929 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2930 DEFAULT_wxUSE_DMALLOC=no
2931 DEFAULT_wxUSE_APPLE_IEEE=no
2932
2933 DEFAULT_wxUSE_EXCEPTIONS=no
2934 DEFAULT_wxUSE_LOG=yes
2935 DEFAULT_wxUSE_LOGWINDOW=no
2936 DEFAULT_wxUSE_LOGGUI=no
2937 DEFAULT_wxUSE_LOGDIALOG=no
2938
2939 DEFAULT_wxUSE_GUI=yes
2940 DEFAULT_wxUSE_CONTROLS=no
2941
2942 DEFAULT_wxUSE_REGEX=no
2943 DEFAULT_wxUSE_XML=no
2944 DEFAULT_wxUSE_EXPAT=no
2945 DEFAULT_wxUSE_ZLIB=no
2946 DEFAULT_wxUSE_LIBPNG=no
2947 DEFAULT_wxUSE_LIBJPEG=no
2948 DEFAULT_wxUSE_LIBTIFF=no
2949 DEFAULT_wxUSE_LIBXPM=no
2950 DEFAULT_wxUSE_LIBMSPACK=no
2951 DEFAULT_wxUSE_LIBSDL=no
2952 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2953 DEFAULT_wxUSE_LIBGNOMEVFS=no
2954 DEFAULT_wxUSE_LIBHILDON=no
2955 DEFAULT_wxUSE_ODBC=no
2956 DEFAULT_wxUSE_OPENGL=no
2957
2958 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2959 DEFAULT_wxUSE_STACKWALKER=no
2960 DEFAULT_wxUSE_DEBUGREPORT=no
2961 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2962 DEFAULT_wxUSE_STD_IOSTREAM=no
2963 DEFAULT_wxUSE_STD_STRING=no
2964 DEFAULT_wxUSE_CMDLINE_PARSER=no
2965 DEFAULT_wxUSE_DATETIME=no
2966 DEFAULT_wxUSE_TIMER=no
2967 DEFAULT_wxUSE_STOPWATCH=no
2968 DEFAULT_wxUSE_FILE=no
2969 DEFAULT_wxUSE_FFILE=no
2970 DEFAULT_wxUSE_STDPATHS=no
2971 DEFAULT_wxUSE_TEXTBUFFER=no
2972 DEFAULT_wxUSE_TEXTFILE=no
2973 DEFAULT_wxUSE_SOUND=no
2974 DEFAULT_wxUSE_MEDIACTRL=no
2975 DEFAULT_wxUSE_GSTREAMER8=no
2976 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2977 DEFAULT_wxUSE_INTL=no
2978 DEFAULT_wxUSE_CONFIG=no
2979 DEFAULT_wxUSE_FONTMAP=no
2980 DEFAULT_wxUSE_STREAMS=no
2981 DEFAULT_wxUSE_SOCKETS=no
2982 DEFAULT_wxUSE_OLE=no
2983 DEFAULT_wxUSE_DATAOBJ=no
2984 DEFAULT_wxUSE_DIALUP_MANAGER=no
2985 DEFAULT_wxUSE_JOYSTICK=no
2986 DEFAULT_wxUSE_DYNLIB_CLASS=no
2987 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2988 DEFAULT_wxUSE_LONGLONG=no
2989 DEFAULT_wxUSE_GEOMETRY=no
2990
2991 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2992 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2993 DEFAULT_wxUSE_POSTSCRIPT=no
2994
2995 DEFAULT_wxUSE_CLIPBOARD=no
2996 DEFAULT_wxUSE_TOOLTIPS=no
2997 DEFAULT_wxUSE_DRAG_AND_DROP=no
2998 DEFAULT_wxUSE_DRAGIMAGE=no
2999 DEFAULT_wxUSE_SPLINES=no
3000 DEFAULT_wxUSE_MOUSEWHEEL=no
3001
3002 DEFAULT_wxUSE_MDI=no
3003 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3004 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3005 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3006
3007 DEFAULT_wxUSE_CONSTRAINTS=no
3008 DEFAULT_wxUSE_IPC=no
3009 DEFAULT_wxUSE_HELP=no
3010 DEFAULT_wxUSE_MS_HTML_HELP=no
3011 DEFAULT_wxUSE_WXHTML_HELP=no
3012 DEFAULT_wxUSE_TREELAYOUT=no
3013 DEFAULT_wxUSE_METAFILE=no
3014 DEFAULT_wxUSE_MIMETYPE=no
3015 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3016 DEFAULT_wxUSE_PROTOCOL=no
3017 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FTP=no
3019 DEFAULT_wxUSE_PROTOCOL_FILE=no
3020 DEFAULT_wxUSE_URL=no
3021 DEFAULT_wxUSE_VARIANT=no
3022
3023 DEFAULT_wxUSE_ABOUTDLG=no
3024 DEFAULT_wxUSE_COMMONDLGS=no
3025 DEFAULT_wxUSE_CHOICEDLG=no
3026 DEFAULT_wxUSE_COLOURDLG=no
3027 DEFAULT_wxUSE_DIRDLG=no
3028 DEFAULT_wxUSE_FILEDLG=no
3029 DEFAULT_wxUSE_FINDREPLDLG=no
3030 DEFAULT_wxUSE_FONTDLG=no
3031 DEFAULT_wxUSE_MSGDLG=no
3032 DEFAULT_wxUSE_NUMBERDLG=no
3033 DEFAULT_wxUSE_TEXTDLG=no
3034 DEFAULT_wxUSE_SPLASH=no
3035 DEFAULT_wxUSE_STARTUP_TIPS=no
3036 DEFAULT_wxUSE_PROGRESSDLG=no
3037 DEFAULT_wxUSE_WIZARDDLG=no
3038
3039 DEFAULT_wxUSE_MENUS=no
3040 DEFAULT_wxUSE_MINIFRAME=no
3041 DEFAULT_wxUSE_HTML=no
3042 DEFAULT_wxUSE_RICHTEXT=no
3043 DEFAULT_wxUSE_XRC=no
3044 DEFAULT_wxUSE_AUI=no
3045 DEFAULT_wxUSE_STC=no
3046 DEFAULT_wxUSE_WEBKIT=no
3047 DEFAULT_wxUSE_FILESYSTEM=no
3048 DEFAULT_wxUSE_FS_INET=no
3049 DEFAULT_wxUSE_FS_ZIP=no
3050 DEFAULT_wxUSE_FS_ARCHIVE=no
3051 DEFAULT_wxUSE_BUSYINFO=no
3052 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3053 DEFAULT_wxUSE_ZIPSTREAM=no
3054 DEFAULT_wxUSE_TARSTREAM=no
3055 DEFAULT_wxUSE_VALIDATORS=no
3056
3057 DEFAULT_wxUSE_ACCEL=no
3058 DEFAULT_wxUSE_ANIMATIONCTRL=no
3059 DEFAULT_wxUSE_BUTTON=no
3060 DEFAULT_wxUSE_BMPBUTTON=no
3061 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3062 DEFAULT_wxUSE_CALCTRL=no
3063 DEFAULT_wxUSE_CARET=no
3064 DEFAULT_wxUSE_CHECKBOX=no
3065 DEFAULT_wxUSE_CHECKLST=no
3066 DEFAULT_wxUSE_CHOICE=no
3067 DEFAULT_wxUSE_CHOICEBOOK=no
3068 DEFAULT_wxUSE_COLLPANE=no
3069 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3070 DEFAULT_wxUSE_COMBOBOX=no
3071 DEFAULT_wxUSE_COMBOCTRL=no
3072 DEFAULT_wxUSE_DATEPICKCTRL=no
3073 DEFAULT_wxUSE_DISPLAY=no
3074 DEFAULT_wxUSE_DETECT_SM=no
3075 DEFAULT_wxUSE_DIRPICKERCTRL=no
3076 DEFAULT_wxUSE_EDITABLELISTBOX=no
3077 DEFAULT_wxUSE_FILEPICKERCTRL=no
3078 DEFAULT_wxUSE_FONTPICKERCTRL=no
3079 DEFAULT_wxUSE_GAUGE=no
3080 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3081 DEFAULT_wxUSE_GRID=no
3082 DEFAULT_wxUSE_HYPERLINKCTRL=no
3083 DEFAULT_wxUSE_DATAVIEWCTRL=no
3084 DEFAULT_wxUSE_IMAGLIST=no
3085 DEFAULT_wxUSE_LISTBOOK=no
3086 DEFAULT_wxUSE_LISTBOX=no
3087 DEFAULT_wxUSE_LISTCTRL=no
3088 DEFAULT_wxUSE_NOTEBOOK=no
3089 DEFAULT_wxUSE_ODCOMBOBOX=no
3090 DEFAULT_wxUSE_RADIOBOX=no
3091 DEFAULT_wxUSE_RADIOBTN=no
3092 DEFAULT_wxUSE_SASH=no
3093 DEFAULT_wxUSE_SCROLLBAR=no
3094 DEFAULT_wxUSE_SEARCHCTRL=no
3095 DEFAULT_wxUSE_SLIDER=no
3096 DEFAULT_wxUSE_SPINBTN=no
3097 DEFAULT_wxUSE_SPINCTRL=no
3098 DEFAULT_wxUSE_SPLITTER=no
3099 DEFAULT_wxUSE_STATBMP=no
3100 DEFAULT_wxUSE_STATBOX=no
3101 DEFAULT_wxUSE_STATLINE=no
3102 DEFAULT_wxUSE_STATTEXT=no
3103 DEFAULT_wxUSE_STATUSBAR=yes
3104 DEFAULT_wxUSE_TAB_DIALOG=no
3105 DEFAULT_wxUSE_TEXTCTRL=no
3106 DEFAULT_wxUSE_TOGGLEBTN=no
3107 DEFAULT_wxUSE_TOOLBAR=no
3108 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3109 DEFAULT_wxUSE_TREEBOOK=no
3110 DEFAULT_wxUSE_TOOLBOOK=no
3111 DEFAULT_wxUSE_TREECTRL=no
3112 DEFAULT_wxUSE_POPUPWIN=no
3113 DEFAULT_wxUSE_TIPWINDOW=no
3114
3115 DEFAULT_wxUSE_UNICODE=yes
3116 DEFAULT_wxUSE_UNICODE_MSLU=no
3117 DEFAULT_wxUSE_UNICODE_UTF8=auto
3118 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3119 DEFAULT_wxUSE_WCSRTOMBS=no
3120
3121 DEFAULT_wxUSE_PALETTE=no
3122 DEFAULT_wxUSE_IMAGE=no
3123 DEFAULT_wxUSE_GIF=no
3124 DEFAULT_wxUSE_PCX=no
3125 DEFAULT_wxUSE_TGA=no
3126 DEFAULT_wxUSE_PNM=no
3127 DEFAULT_wxUSE_IFF=no
3128 DEFAULT_wxUSE_XPM=no
3129 DEFAULT_wxUSE_ICO_CUR=no
3130 DEFAULT_wxUSE_ACCESSIBILITY=no
3131
3132 DEFAULT_wxUSE_MONOLITHIC=no
3133 DEFAULT_wxUSE_PLUGINS=no
3134 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3135 else
3136 DEFAULT_wxUSE_UNIVERSAL=no
3137 DEFAULT_wxUSE_STL=no
3138 DEFAULT_wxUSE_EXTENDED_RTTI=no
3139
3140 DEFAULT_wxUSE_NANOX=no
3141
3142 DEFAULT_wxUSE_THREADS=yes
3143
3144 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3145 DEFAULT_wxUSE_OPTIMISE=yes
3146 DEFAULT_wxUSE_PROFILE=no
3147 DEFAULT_wxUSE_NO_DEPS=no
3148 DEFAULT_wxUSE_VARARG_MACROS=yes
3149 DEFAULT_wxUSE_NO_RTTI=no
3150 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3151 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3152 DEFAULT_wxUSE_RPATH=yes
3153 DEFAULT_wxUSE_PERMISSIVE=no
3154 DEFAULT_wxUSE_DEBUG_FLAG=no
3155 DEFAULT_wxUSE_DEBUG_INFO=no
3156 DEFAULT_wxUSE_DEBUG_GDB=no
3157 DEFAULT_wxUSE_MEM_TRACING=no
3158 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3159 DEFAULT_wxUSE_DMALLOC=no
3160 DEFAULT_wxUSE_APPLE_IEEE=yes
3161
3162 DEFAULT_wxUSE_EXCEPTIONS=yes
3163 DEFAULT_wxUSE_LOG=yes
3164 DEFAULT_wxUSE_LOGWINDOW=yes
3165 DEFAULT_wxUSE_LOGGUI=yes
3166 DEFAULT_wxUSE_LOGDIALOG=yes
3167
3168 DEFAULT_wxUSE_GUI=yes
3169
3170 DEFAULT_wxUSE_REGEX=yes
3171 DEFAULT_wxUSE_XML=yes
3172 DEFAULT_wxUSE_EXPAT=yes
3173 DEFAULT_wxUSE_ZLIB=yes
3174 DEFAULT_wxUSE_LIBPNG=yes
3175 DEFAULT_wxUSE_LIBJPEG=yes
3176 DEFAULT_wxUSE_LIBTIFF=yes
3177 DEFAULT_wxUSE_LIBXPM=yes
3178 DEFAULT_wxUSE_LIBMSPACK=yes
3179 DEFAULT_wxUSE_LIBSDL=no
3180 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3181 DEFAULT_wxUSE_LIBGNOMEVFS=no
3182 DEFAULT_wxUSE_LIBHILDON=no
3183 DEFAULT_wxUSE_ODBC=no
3184 DEFAULT_wxUSE_OPENGL=no
3185
3186 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3187 DEFAULT_wxUSE_STACKWALKER=yes
3188 DEFAULT_wxUSE_DEBUGREPORT=yes
3189 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3190 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3192 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3193 DEFAULT_wxUSE_DATETIME=yes
3194 DEFAULT_wxUSE_TIMER=yes
3195 DEFAULT_wxUSE_STOPWATCH=yes
3196 DEFAULT_wxUSE_FILE=yes
3197 DEFAULT_wxUSE_FFILE=yes
3198 DEFAULT_wxUSE_STDPATHS=yes
3199 DEFAULT_wxUSE_TEXTBUFFER=yes
3200 DEFAULT_wxUSE_TEXTFILE=yes
3201 DEFAULT_wxUSE_SOUND=yes
3202 DEFAULT_wxUSE_MEDIACTRL=no
3203 DEFAULT_wxUSE_GSTREAMER8=no
3204 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3205 DEFAULT_wxUSE_INTL=yes
3206 DEFAULT_wxUSE_CONFIG=yes
3207 DEFAULT_wxUSE_FONTMAP=yes
3208 DEFAULT_wxUSE_STREAMS=yes
3209 DEFAULT_wxUSE_SOCKETS=yes
3210 DEFAULT_wxUSE_OLE=yes
3211 DEFAULT_wxUSE_DATAOBJ=yes
3212 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3213 DEFAULT_wxUSE_JOYSTICK=yes
3214 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3215 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3216 DEFAULT_wxUSE_LONGLONG=yes
3217 DEFAULT_wxUSE_GEOMETRY=yes
3218
3219 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3220 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3221 DEFAULT_wxUSE_POSTSCRIPT=yes
3222
3223 DEFAULT_wxUSE_CLIPBOARD=yes
3224 DEFAULT_wxUSE_TOOLTIPS=yes
3225 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3226 DEFAULT_wxUSE_DRAGIMAGE=yes
3227 DEFAULT_wxUSE_SPLINES=yes
3228 DEFAULT_wxUSE_MOUSEWHEEL=yes
3229
3230 DEFAULT_wxUSE_MDI=yes
3231 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3233 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3234
3235 DEFAULT_wxUSE_CONSTRAINTS=yes
3236 DEFAULT_wxUSE_IPC=yes
3237 DEFAULT_wxUSE_HELP=yes
3238 DEFAULT_wxUSE_MS_HTML_HELP=yes
3239 DEFAULT_wxUSE_WXHTML_HELP=yes
3240 DEFAULT_wxUSE_TREELAYOUT=yes
3241 DEFAULT_wxUSE_METAFILE=yes
3242 DEFAULT_wxUSE_MIMETYPE=yes
3243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3244 DEFAULT_wxUSE_PROTOCOL=yes
3245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3248 DEFAULT_wxUSE_URL=yes
3249 DEFAULT_wxUSE_VARIANT=yes
3250
3251 DEFAULT_wxUSE_ABOUTDLG=yes
3252 DEFAULT_wxUSE_COMMONDLGS=yes
3253 DEFAULT_wxUSE_CHOICEDLG=yes
3254 DEFAULT_wxUSE_COLOURDLG=yes
3255 DEFAULT_wxUSE_DIRDLG=yes
3256 DEFAULT_wxUSE_FILEDLG=yes
3257 DEFAULT_wxUSE_FINDREPLDLG=yes
3258 DEFAULT_wxUSE_FONTDLG=yes
3259 DEFAULT_wxUSE_MSGDLG=yes
3260 DEFAULT_wxUSE_NUMBERDLG=yes
3261 DEFAULT_wxUSE_TEXTDLG=yes
3262 DEFAULT_wxUSE_SPLASH=yes
3263 DEFAULT_wxUSE_STARTUP_TIPS=yes
3264 DEFAULT_wxUSE_PROGRESSDLG=yes
3265 DEFAULT_wxUSE_WIZARDDLG=yes
3266
3267 DEFAULT_wxUSE_MENUS=yes
3268 DEFAULT_wxUSE_MINIFRAME=yes
3269 DEFAULT_wxUSE_HTML=yes
3270 DEFAULT_wxUSE_RICHTEXT=yes
3271 DEFAULT_wxUSE_XRC=yes
3272 DEFAULT_wxUSE_AUI=yes
3273 DEFAULT_wxUSE_STC=yes
3274 DEFAULT_wxUSE_WEBKIT=yes
3275 DEFAULT_wxUSE_FILESYSTEM=yes
3276 DEFAULT_wxUSE_FS_INET=yes
3277 DEFAULT_wxUSE_FS_ZIP=yes
3278 DEFAULT_wxUSE_FS_ARCHIVE=yes
3279 DEFAULT_wxUSE_BUSYINFO=yes
3280 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3281 DEFAULT_wxUSE_ZIPSTREAM=yes
3282 DEFAULT_wxUSE_TARSTREAM=yes
3283 DEFAULT_wxUSE_VALIDATORS=yes
3284
3285 DEFAULT_wxUSE_ACCEL=yes
3286 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3287 DEFAULT_wxUSE_BUTTON=yes
3288 DEFAULT_wxUSE_BMPBUTTON=yes
3289 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3290 DEFAULT_wxUSE_CALCTRL=yes
3291 DEFAULT_wxUSE_CARET=yes
3292 DEFAULT_wxUSE_CHECKBOX=yes
3293 DEFAULT_wxUSE_CHECKLST=yes
3294 DEFAULT_wxUSE_CHOICE=yes
3295 DEFAULT_wxUSE_CHOICEBOOK=yes
3296 DEFAULT_wxUSE_COLLPANE=yes
3297 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3298 DEFAULT_wxUSE_COMBOBOX=yes
3299 DEFAULT_wxUSE_COMBOCTRL=yes
3300 DEFAULT_wxUSE_DATEPICKCTRL=yes
3301 DEFAULT_wxUSE_DISPLAY=yes
3302 DEFAULT_wxUSE_DETECT_SM=yes
3303 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3304 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3305 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3306 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3307 DEFAULT_wxUSE_GAUGE=yes
3308 DEFAULT_wxUSE_GRID=yes
3309 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3310 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3311 DEFAULT_wxUSE_DATAVIEWCTRL=no
3312 DEFAULT_wxUSE_IMAGLIST=yes
3313 DEFAULT_wxUSE_LISTBOOK=yes
3314 DEFAULT_wxUSE_LISTBOX=yes
3315 DEFAULT_wxUSE_LISTCTRL=yes
3316 DEFAULT_wxUSE_NOTEBOOK=yes
3317 DEFAULT_wxUSE_ODCOMBOBOX=yes
3318 DEFAULT_wxUSE_RADIOBOX=yes
3319 DEFAULT_wxUSE_RADIOBTN=yes
3320 DEFAULT_wxUSE_SASH=yes
3321 DEFAULT_wxUSE_SCROLLBAR=yes
3322 DEFAULT_wxUSE_SEARCHCTRL=yes
3323 DEFAULT_wxUSE_SLIDER=yes
3324 DEFAULT_wxUSE_SPINBTN=yes
3325 DEFAULT_wxUSE_SPINCTRL=yes
3326 DEFAULT_wxUSE_SPLITTER=yes
3327 DEFAULT_wxUSE_STATBMP=yes
3328 DEFAULT_wxUSE_STATBOX=yes
3329 DEFAULT_wxUSE_STATLINE=yes
3330 DEFAULT_wxUSE_STATTEXT=yes
3331 DEFAULT_wxUSE_STATUSBAR=yes
3332 DEFAULT_wxUSE_TAB_DIALOG=no
3333 DEFAULT_wxUSE_TEXTCTRL=yes
3334 DEFAULT_wxUSE_TOGGLEBTN=yes
3335 DEFAULT_wxUSE_TOOLBAR=yes
3336 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3337 DEFAULT_wxUSE_TREEBOOK=yes
3338 DEFAULT_wxUSE_TOOLBOOK=yes
3339 DEFAULT_wxUSE_TREECTRL=yes
3340 DEFAULT_wxUSE_POPUPWIN=yes
3341 DEFAULT_wxUSE_TIPWINDOW=yes
3342
3343 DEFAULT_wxUSE_UNICODE=yes
3344 DEFAULT_wxUSE_UNICODE_MSLU=yes
3345 DEFAULT_wxUSE_UNICODE_UTF8=auto
3346 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3347 DEFAULT_wxUSE_WCSRTOMBS=no
3348
3349 DEFAULT_wxUSE_PALETTE=yes
3350 DEFAULT_wxUSE_IMAGE=yes
3351 DEFAULT_wxUSE_GIF=yes
3352 DEFAULT_wxUSE_PCX=yes
3353 DEFAULT_wxUSE_TGA=yes
3354 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3355 DEFAULT_wxUSE_XPM=yes
3356 DEFAULT_wxUSE_ICO_CUR=yes
3357 DEFAULT_wxUSE_ACCESSIBILITY=no
3358
3359 DEFAULT_wxUSE_MONOLITHIC=no
3360 DEFAULT_wxUSE_PLUGINS=no
3361 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3362
3363 DEFAULT_wxUSE_GTK2=yes
3364 fi
3365
3366 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3367
3368
3369
3370
3371 for toolkit in `echo $ALL_TOOLKITS`; do
3372 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3373 if test "x$LINE" != "x" ; then
3374 has_toolkit_in_cache=1
3375 eval "DEFAULT_$LINE"
3376 eval "CACHE_$toolkit=1"
3377
3378 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3379 if test "x$LINE" != "x" ; then
3380 eval "DEFAULT_$LINE"
3381 fi
3382 fi
3383 done
3384
3385
3386
3387 enablestring=
3388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3390 no_cache=0
3391 # Check whether --enable-gui was given.
3392 if test "${enable_gui+set}" = set; then
3393 enableval=$enable_gui;
3394 if test "$enableval" = yes; then
3395 ac_cv_use_gui='wxUSE_GUI=yes'
3396 else
3397 ac_cv_use_gui='wxUSE_GUI=no'
3398 fi
3399
3400 else
3401
3402 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3403 if test "x$LINE" != x ; then
3404 eval "DEFAULT_$LINE"
3405 else
3406 no_cache=1
3407 fi
3408
3409 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3410
3411 fi
3412
3413
3414 eval "$ac_cv_use_gui"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3417 fi
3418
3419 if test "$wxUSE_GUI" = yes; then
3420 { echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6; }
3422 else
3423 { echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6; }
3425 fi
3426
3427
3428 enablestring=
3429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3430 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3431 no_cache=0
3432 # Check whether --enable-monolithic was given.
3433 if test "${enable_monolithic+set}" = set; then
3434 enableval=$enable_monolithic;
3435 if test "$enableval" = yes; then
3436 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3437 else
3438 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3439 fi
3440
3441 else
3442
3443 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3444 if test "x$LINE" != x ; then
3445 eval "DEFAULT_$LINE"
3446 else
3447 no_cache=1
3448 fi
3449
3450 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3451
3452 fi
3453
3454
3455 eval "$ac_cv_use_monolithic"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3458 fi
3459
3460 if test "$wxUSE_MONOLITHIC" = yes; then
3461 { echo "$as_me:$LINENO: result: yes" >&5
3462 echo "${ECHO_T}yes" >&6; }
3463 else
3464 { echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6; }
3466 fi
3467
3468
3469 enablestring=
3470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3471 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3472 no_cache=0
3473 # Check whether --enable-plugins was given.
3474 if test "${enable_plugins+set}" = set; then
3475 enableval=$enable_plugins;
3476 if test "$enableval" = yes; then
3477 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3478 else
3479 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3480 fi
3481
3482 else
3483
3484 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x ; then
3486 eval "DEFAULT_$LINE"
3487 else
3488 no_cache=1
3489 fi
3490
3491 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3492
3493 fi
3494
3495
3496 eval "$ac_cv_use_plugins"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3499 fi
3500
3501 if test "$wxUSE_PLUGINS" = yes; then
3502 { echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6; }
3504 else
3505 { echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6; }
3507 fi
3508
3509
3510 withstring=without
3511 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3512 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3513 no_cache=0
3514
3515 # Check whether --with-subdirs was given.
3516 if test "${with_subdirs+set}" = set; then
3517 withval=$with_subdirs;
3518 if test "$withval" = yes; then
3519 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3520 else
3521 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3522 fi
3523
3524 else
3525
3526 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3529 else
3530 no_cache=1
3531 fi
3532
3533 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3534
3535 fi
3536
3537
3538 eval "$ac_cv_use_subdirs"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3541 fi
3542
3543 if test "$wxWITH_SUBDIRS" = yes; then
3544 { echo "$as_me:$LINENO: result: yes" >&5
3545 echo "${ECHO_T}yes" >&6; }
3546 else
3547 { echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6; }
3549 fi
3550
3551
3552 if test "$wxUSE_GUI" = "yes"; then
3553
3554
3555 enablestring=
3556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3557 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3558 no_cache=0
3559 # Check whether --enable-universal was given.
3560 if test "${enable_universal+set}" = set; then
3561 enableval=$enable_universal;
3562 if test "$enableval" = yes; then
3563 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3564 else
3565 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3566 fi
3567
3568 else
3569
3570 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3578
3579 fi
3580
3581
3582 eval "$ac_cv_use_universal"
3583 if test "$no_cache" != 1; then
3584 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3585 fi
3586
3587 if test "$wxUSE_UNIVERSAL" = yes; then
3588 { echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6; }
3590 else
3591 { echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6; }
3593 fi
3594
3595
3596 # Check whether --with-gtk was given.
3597 if test "${with_gtk+set}" = set; then
3598 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3599 fi
3600
3601
3602 # Check whether --with-motif was given.
3603 if test "${with_motif+set}" = set; then
3604 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3605 fi
3606
3607
3608 # Check whether --with-mac was given.
3609 if test "${with_mac+set}" = set; then
3610 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3611 fi
3612
3613
3614 # Check whether --with-cocoa was given.
3615 if test "${with_cocoa+set}" = set; then
3616 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3617 fi
3618
3619
3620 # Check whether --with-wine was given.
3621 if test "${with_wine+set}" = set; then
3622 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3623 fi
3624
3625
3626 # Check whether --with-msw was given.
3627 if test "${with_msw+set}" = set; then
3628 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3629 fi
3630
3631
3632 # Check whether --with-pm was given.
3633 if test "${with_pm+set}" = set; then
3634 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3635 fi
3636
3637
3638 # Check whether --with-mgl was given.
3639 if test "${with_mgl+set}" = set; then
3640 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3641 fi
3642
3643
3644 # Check whether --with-directfb was given.
3645 if test "${with_directfb+set}" = set; then
3646 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3647 fi
3648
3649
3650 # Check whether --with-microwin was given.
3651 if test "${with_microwin+set}" = set; then
3652 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3653 fi
3654
3655
3656 # Check whether --with-x11 was given.
3657 if test "${with_x11+set}" = set; then
3658 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3659 fi
3660
3661
3662 enablestring=
3663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3665 no_cache=0
3666 # Check whether --enable-nanox was given.
3667 if test "${enable_nanox+set}" = set; then
3668 enableval=$enable_nanox;
3669 if test "$enableval" = yes; then
3670 ac_cv_use_nanox='wxUSE_NANOX=yes'
3671 else
3672 ac_cv_use_nanox='wxUSE_NANOX=no'
3673 fi
3674
3675 else
3676
3677 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3678 if test "x$LINE" != x ; then
3679 eval "DEFAULT_$LINE"
3680 else
3681 no_cache=1
3682 fi
3683
3684 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3685
3686 fi
3687
3688
3689 eval "$ac_cv_use_nanox"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3692 fi
3693
3694 if test "$wxUSE_NANOX" = yes; then
3695 { echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6; }
3697 else
3698 { echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6; }
3700 fi
3701
3702
3703 # Check whether --enable-gtk2 was given.
3704 if test "${enable_gtk2+set}" = set; then
3705 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3706 fi
3707
3708
3709 enablestring=
3710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3712 no_cache=0
3713 # Check whether --enable-gpe was given.
3714 if test "${enable_gpe+set}" = set; then
3715 enableval=$enable_gpe;
3716 if test "$enableval" = yes; then
3717 ac_cv_use_gpe='wxUSE_GPE=yes'
3718 else
3719 ac_cv_use_gpe='wxUSE_GPE=no'
3720 fi
3721
3722 else
3723
3724 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3727 else
3728 no_cache=1
3729 fi
3730
3731 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3732
3733 fi
3734
3735
3736 eval "$ac_cv_use_gpe"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3739 fi
3740
3741 if test "$wxUSE_GPE" = yes; then
3742 { echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6; }
3744 else
3745 { echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6; }
3747 fi
3748
3749
3750
3751 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3752 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3753 no_cache=0
3754
3755 # Check whether --with-libpng was given.
3756 if test "${with_libpng+set}" = set; then
3757 withval=$with_libpng;
3758 if test "$withval" = yes; then
3759 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3760 elif test "$withval" = no; then
3761 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3762 elif test "$withval" = sys; then
3763 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3764 elif test "$withval" = builtin; then
3765 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3766 else
3767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3768 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3769 { (exit 1); exit 1; }; }
3770 fi
3771
3772 else
3773
3774 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x ; then
3776 eval "DEFAULT_$LINE"
3777 else
3778 no_cache=1
3779 fi
3780
3781 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3782
3783 fi
3784
3785
3786 eval "$ac_cv_use_libpng"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3789 fi
3790
3791 if test "$wxUSE_LIBPNG" = yes; then
3792 { echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6; }
3794 elif test "$wxUSE_LIBPNG" = no; then
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3797 elif test "$wxUSE_LIBPNG" = sys; then
3798 { echo "$as_me:$LINENO: result: system version" >&5
3799 echo "${ECHO_T}system version" >&6; }
3800 elif test "$wxUSE_LIBPNG" = builtin; then
3801 { echo "$as_me:$LINENO: result: builtin version" >&5
3802 echo "${ECHO_T}builtin version" >&6; }
3803 else
3804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3805 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3806 { (exit 1); exit 1; }; }
3807 fi
3808
3809
3810 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3811 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3812 no_cache=0
3813
3814 # Check whether --with-libjpeg was given.
3815 if test "${with_libjpeg+set}" = set; then
3816 withval=$with_libjpeg;
3817 if test "$withval" = yes; then
3818 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3819 elif test "$withval" = no; then
3820 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3821 elif test "$withval" = sys; then
3822 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3823 elif test "$withval" = builtin; then
3824 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3825 else
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3829 fi
3830
3831 else
3832
3833 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x ; then
3835 eval "DEFAULT_$LINE"
3836 else
3837 no_cache=1
3838 fi
3839
3840 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3841
3842 fi
3843
3844
3845 eval "$ac_cv_use_libjpeg"
3846 if test "$no_cache" != 1; then
3847 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3848 fi
3849
3850 if test "$wxUSE_LIBJPEG" = yes; then
3851 { echo "$as_me:$LINENO: result: yes" >&5
3852 echo "${ECHO_T}yes" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = no; then
3854 { echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = sys; then
3857 { echo "$as_me:$LINENO: result: system version" >&5
3858 echo "${ECHO_T}system version" >&6; }
3859 elif test "$wxUSE_LIBJPEG" = builtin; then
3860 { echo "$as_me:$LINENO: result: builtin version" >&5
3861 echo "${ECHO_T}builtin version" >&6; }
3862 else
3863 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3864 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3865 { (exit 1); exit 1; }; }
3866 fi
3867
3868
3869 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3870 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3871 no_cache=0
3872
3873 # Check whether --with-libtiff was given.
3874 if test "${with_libtiff+set}" = set; then
3875 withval=$with_libtiff;
3876 if test "$withval" = yes; then
3877 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3878 elif test "$withval" = no; then
3879 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3880 elif test "$withval" = sys; then
3881 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3882 elif test "$withval" = builtin; then
3883 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3884 else
3885 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3886 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3887 { (exit 1); exit 1; }; }
3888 fi
3889
3890 else
3891
3892 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3895 else
3896 no_cache=1
3897 fi
3898
3899 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3900
3901 fi
3902
3903
3904 eval "$ac_cv_use_libtiff"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3907 fi
3908
3909 if test "$wxUSE_LIBTIFF" = yes; then
3910 { echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = no; then
3913 { echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = sys; then
3916 { echo "$as_me:$LINENO: result: system version" >&5
3917 echo "${ECHO_T}system version" >&6; }
3918 elif test "$wxUSE_LIBTIFF" = builtin; then
3919 { echo "$as_me:$LINENO: result: builtin version" >&5
3920 echo "${ECHO_T}builtin version" >&6; }
3921 else
3922 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3923 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3924 { (exit 1); exit 1; }; }
3925 fi
3926
3927
3928 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3929 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3930 no_cache=0
3931
3932 # Check whether --with-libxpm was given.
3933 if test "${with_libxpm+set}" = set; then
3934 withval=$with_libxpm;
3935 if test "$withval" = yes; then
3936 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3937 elif test "$withval" = no; then
3938 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3939 elif test "$withval" = sys; then
3940 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3941 elif test "$withval" = builtin; then
3942 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3943 else
3944 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3945 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3946 { (exit 1); exit 1; }; }
3947 fi
3948
3949 else
3950
3951 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x ; then
3953 eval "DEFAULT_$LINE"
3954 else
3955 no_cache=1
3956 fi
3957
3958 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3959
3960 fi
3961
3962
3963 eval "$ac_cv_use_libxpm"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3966 fi
3967
3968 if test "$wxUSE_LIBXPM" = yes; then
3969 { echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6; }
3971 elif test "$wxUSE_LIBXPM" = no; then
3972 { echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6; }
3974 elif test "$wxUSE_LIBXPM" = sys; then
3975 { echo "$as_me:$LINENO: result: system version" >&5
3976 echo "${ECHO_T}system version" >&6; }
3977 elif test "$wxUSE_LIBXPM" = builtin; then
3978 { echo "$as_me:$LINENO: result: builtin version" >&5
3979 echo "${ECHO_T}builtin version" >&6; }
3980 else
3981 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3982 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3983 { (exit 1); exit 1; }; }
3984 fi
3985
3986
3987 withstring=
3988 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3989 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3990 no_cache=0
3991
3992 # Check whether --with-libmspack was given.
3993 if test "${with_libmspack+set}" = set; then
3994 withval=$with_libmspack;
3995 if test "$withval" = yes; then
3996 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3997 else
3998 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3999 fi
4000
4001 else
4002
4003 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x ; then
4005 eval "DEFAULT_$LINE"
4006 else
4007 no_cache=1
4008 fi
4009
4010 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4011
4012 fi
4013
4014
4015 eval "$ac_cv_use_libmspack"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4018 fi
4019
4020 if test "$wxUSE_LIBMSPACK" = yes; then
4021 { echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6; }
4023 else
4024 { echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6; }
4026 fi
4027
4028
4029 withstring=
4030 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4031 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4032 no_cache=0
4033
4034 # Check whether --with-sdl was given.
4035 if test "${with_sdl+set}" = set; then
4036 withval=$with_sdl;
4037 if test "$withval" = yes; then
4038 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4039 else
4040 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4041 fi
4042
4043 else
4044
4045 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4048 else
4049 no_cache=1
4050 fi
4051
4052 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4053
4054 fi
4055
4056
4057 eval "$ac_cv_use_sdl"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4060 fi
4061
4062 if test "$wxUSE_LIBSDL" = yes; then
4063 { echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6; }
4065 else
4066 { echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6; }
4068 fi
4069
4070
4071 withstring=
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4074 no_cache=0
4075
4076 # Check whether --with-gnomeprint was given.
4077 if test "${with_gnomeprint+set}" = set; then
4078 withval=$with_gnomeprint;
4079 if test "$withval" = yes; then
4080 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4081 else
4082 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4083 fi
4084
4085 else
4086
4087 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x ; then
4089 eval "DEFAULT_$LINE"
4090 else
4091 no_cache=1
4092 fi
4093
4094 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4095
4096 fi
4097
4098
4099 eval "$ac_cv_use_gnomeprint"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4102 fi
4103
4104 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4105 { echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6; }
4107 else
4108 { echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6; }
4110 fi
4111
4112
4113 withstring=
4114 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4115 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4116 no_cache=0
4117
4118 # Check whether --with-gnomevfs was given.
4119 if test "${with_gnomevfs+set}" = set; then
4120 withval=$with_gnomevfs;
4121 if test "$withval" = yes; then
4122 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4123 else
4124 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4125 fi
4126
4127 else
4128
4129 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4132 else
4133 no_cache=1
4134 fi
4135
4136 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4137
4138 fi
4139
4140
4141 eval "$ac_cv_use_gnomevfs"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4147 { echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6; }
4149 else
4150 { echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6; }
4152 fi
4153
4154
4155 withstring=
4156 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4157 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4158 no_cache=0
4159
4160 # Check whether --with-hildon was given.
4161 if test "${with_hildon+set}" = set; then
4162 withval=$with_hildon;
4163 if test "$withval" = yes; then
4164 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4165 else
4166 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4167 fi
4168
4169 else
4170
4171 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4174 else
4175 no_cache=1
4176 fi
4177
4178 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4179
4180 fi
4181
4182
4183 eval "$ac_cv_use_hildon"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4186 fi
4187
4188 if test "$wxUSE_LIBHILDON" = yes; then
4189 { echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6; }
4191 else
4192 { echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6; }
4194 fi
4195
4196
4197 withstring=
4198 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4199 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4200 no_cache=0
4201
4202 # Check whether --with-opengl was given.
4203 if test "${with_opengl+set}" = set; then
4204 withval=$with_opengl;
4205 if test "$withval" = yes; then
4206 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4207 else
4208 ac_cv_use_opengl='wxUSE_OPENGL=no'
4209 fi
4210
4211 else
4212
4213 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x ; then
4215 eval "DEFAULT_$LINE"
4216 else
4217 no_cache=1
4218 fi
4219
4220 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4221
4222 fi
4223
4224
4225 eval "$ac_cv_use_opengl"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4228 fi
4229
4230 if test "$wxUSE_OPENGL" = yes; then
4231 { echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6; }
4233 else
4234 { echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6; }
4236 fi
4237
4238
4239 if test "$wxUSE_UNIVERSAL" = "yes"; then
4240
4241 # Check whether --with-themes was given.
4242 if test "${with_themes+set}" = set; then
4243 withval=$with_themes; wxUNIV_THEMES="$withval"
4244 fi
4245
4246 fi
4247
4248 fi
4249
4250
4251 withstring=
4252 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4253 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4254 no_cache=0
4255
4256 # Check whether --with-dmalloc was given.
4257 if test "${with_dmalloc+set}" = set; then
4258 withval=$with_dmalloc;
4259 if test "$withval" = yes; then
4260 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4261 else
4262 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4263 fi
4264
4265 else
4266
4267 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x ; then
4269 eval "DEFAULT_$LINE"
4270 else
4271 no_cache=1
4272 fi
4273
4274 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4275
4276 fi
4277
4278
4279 eval "$ac_cv_use_dmalloc"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4282 fi
4283
4284 if test "$wxUSE_DMALLOC" = yes; then
4285 { echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6; }
4287 else
4288 { echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6; }
4290 fi
4291
4292
4293 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4294 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4295 no_cache=0
4296
4297 # Check whether --with-regex was given.
4298 if test "${with_regex+set}" = set; then
4299 withval=$with_regex;
4300 if test "$withval" = yes; then
4301 ac_cv_use_regex='wxUSE_REGEX=yes'
4302 elif test "$withval" = no; then
4303 ac_cv_use_regex='wxUSE_REGEX=no'
4304 elif test "$withval" = sys; then
4305 ac_cv_use_regex='wxUSE_REGEX=sys'
4306 elif test "$withval" = builtin; then
4307 ac_cv_use_regex='wxUSE_REGEX=builtin'
4308 else
4309 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4310 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4311 { (exit 1); exit 1; }; }
4312 fi
4313
4314 else
4315
4316 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4319 else
4320 no_cache=1
4321 fi
4322
4323 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4324
4325 fi
4326
4327
4328 eval "$ac_cv_use_regex"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4331 fi
4332
4333 if test "$wxUSE_REGEX" = yes; then
4334 { echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6; }
4336 elif test "$wxUSE_REGEX" = no; then
4337 { echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6; }
4339 elif test "$wxUSE_REGEX" = sys; then
4340 { echo "$as_me:$LINENO: result: system version" >&5
4341 echo "${ECHO_T}system version" >&6; }
4342 elif test "$wxUSE_REGEX" = builtin; then
4343 { echo "$as_me:$LINENO: result: builtin version" >&5
4344 echo "${ECHO_T}builtin version" >&6; }
4345 else
4346 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4347 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4348 { (exit 1); exit 1; }; }
4349 fi
4350
4351
4352 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4353 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4354 no_cache=0
4355
4356 # Check whether --with-zlib was given.
4357 if test "${with_zlib+set}" = set; then
4358 withval=$with_zlib;
4359 if test "$withval" = yes; then
4360 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4361 elif test "$withval" = no; then
4362 ac_cv_use_zlib='wxUSE_ZLIB=no'
4363 elif test "$withval" = sys; then
4364 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4365 elif test "$withval" = builtin; then
4366 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4367 else
4368 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4369 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4370 { (exit 1); exit 1; }; }
4371 fi
4372
4373 else
4374
4375 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x ; then
4377 eval "DEFAULT_$LINE"
4378 else
4379 no_cache=1
4380 fi
4381
4382 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4383
4384 fi
4385
4386
4387 eval "$ac_cv_use_zlib"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4390 fi
4391
4392 if test "$wxUSE_ZLIB" = yes; then
4393 { echo "$as_me:$LINENO: result: yes" >&5
4394 echo "${ECHO_T}yes" >&6; }
4395 elif test "$wxUSE_ZLIB" = no; then
4396 { echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6; }
4398 elif test "$wxUSE_ZLIB" = sys; then
4399 { echo "$as_me:$LINENO: result: system version" >&5
4400 echo "${ECHO_T}system version" >&6; }
4401 elif test "$wxUSE_ZLIB" = builtin; then
4402 { echo "$as_me:$LINENO: result: builtin version" >&5
4403 echo "${ECHO_T}builtin version" >&6; }
4404 else
4405 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4406 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4407 { (exit 1); exit 1; }; }
4408 fi
4409
4410
4411 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4412 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4413 no_cache=0
4414
4415 # Check whether --with-odbc was given.
4416 if test "${with_odbc+set}" = set; then
4417 withval=$with_odbc;
4418 if test "$withval" = yes; then
4419 ac_cv_use_odbc='wxUSE_ODBC=yes'
4420 elif test "$withval" = no; then
4421 ac_cv_use_odbc='wxUSE_ODBC=no'
4422 elif test "$withval" = sys; then
4423 ac_cv_use_odbc='wxUSE_ODBC=sys'
4424 elif test "$withval" = builtin; then
4425 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4426 else
4427 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4428 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4429 { (exit 1); exit 1; }; }
4430 fi
4431
4432 else
4433
4434 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4437 else
4438 no_cache=1
4439 fi
4440
4441 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4442
4443 fi
4444
4445
4446 eval "$ac_cv_use_odbc"
4447 if test "$no_cache" != 1; then
4448 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4449 fi
4450
4451 if test "$wxUSE_ODBC" = yes; then
4452 { echo "$as_me:$LINENO: result: yes" >&5
4453 echo "${ECHO_T}yes" >&6; }
4454 elif test "$wxUSE_ODBC" = no; then
4455 { echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6; }
4457 elif test "$wxUSE_ODBC" = sys; then
4458 { echo "$as_me:$LINENO: result: system version" >&5
4459 echo "${ECHO_T}system version" >&6; }
4460 elif test "$wxUSE_ODBC" = builtin; then
4461 { echo "$as_me:$LINENO: result: builtin version" >&5
4462 echo "${ECHO_T}builtin version" >&6; }
4463 else
4464 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4465 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4466 { (exit 1); exit 1; }; }
4467 fi
4468
4469
4470 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4471 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4472 no_cache=0
4473
4474 # Check whether --with-expat was given.
4475 if test "${with_expat+set}" = set; then
4476 withval=$with_expat;
4477 if test "$withval" = yes; then
4478 ac_cv_use_expat='wxUSE_EXPAT=yes'
4479 elif test "$withval" = no; then
4480 ac_cv_use_expat='wxUSE_EXPAT=no'
4481 elif test "$withval" = sys; then
4482 ac_cv_use_expat='wxUSE_EXPAT=sys'
4483 elif test "$withval" = builtin; then
4484 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4485 else
4486 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4487 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4488 { (exit 1); exit 1; }; }
4489 fi
4490
4491 else
4492
4493 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4494 if test "x$LINE" != x ; then
4495 eval "DEFAULT_$LINE"
4496 else
4497 no_cache=1
4498 fi
4499
4500 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4501
4502 fi
4503
4504
4505 eval "$ac_cv_use_expat"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4508 fi
4509
4510 if test "$wxUSE_EXPAT" = yes; then
4511 { echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6; }
4513 elif test "$wxUSE_EXPAT" = no; then
4514 { echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6; }
4516 elif test "$wxUSE_EXPAT" = sys; then
4517 { echo "$as_me:$LINENO: result: system version" >&5
4518 echo "${ECHO_T}system version" >&6; }
4519 elif test "$wxUSE_EXPAT" = builtin; then
4520 { echo "$as_me:$LINENO: result: builtin version" >&5
4521 echo "${ECHO_T}builtin version" >&6; }
4522 else
4523 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4524 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4525 { (exit 1); exit 1; }; }
4526 fi
4527
4528
4529
4530
4531 enablestring=
4532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4533 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4534 no_cache=0
4535 # Check whether --enable-shared was given.
4536 if test "${enable_shared+set}" = set; then
4537 enableval=$enable_shared;
4538 if test "$enableval" = yes; then
4539 ac_cv_use_shared='wxUSE_SHARED=yes'
4540 else
4541 ac_cv_use_shared='wxUSE_SHARED=no'
4542 fi
4543
4544 else
4545
4546 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x ; then
4548 eval "DEFAULT_$LINE"
4549 else
4550 no_cache=1
4551 fi
4552
4553 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4554
4555 fi
4556
4557
4558 eval "$ac_cv_use_shared"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4561 fi
4562
4563 if test "$wxUSE_SHARED" = yes; then
4564 { echo "$as_me:$LINENO: result: yes" >&5
4565 echo "${ECHO_T}yes" >&6; }
4566 else
4567 { echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6; }
4569 fi
4570
4571
4572 enablestring=
4573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4575 no_cache=0
4576 # Check whether --enable-optimise was given.
4577 if test "${enable_optimise+set}" = set; then
4578 enableval=$enable_optimise;
4579 if test "$enableval" = yes; then
4580 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4581 else
4582 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4583 fi
4584
4585 else
4586
4587 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x ; then
4589 eval "DEFAULT_$LINE"
4590 else
4591 no_cache=1
4592 fi
4593
4594 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4595
4596 fi
4597
4598
4599 eval "$ac_cv_use_optimise"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4602 fi
4603
4604 if test "$wxUSE_OPTIMISE" = yes; then
4605 { echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6; }
4607 else
4608 { echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6; }
4610 fi
4611
4612
4613 enablestring=
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4616 no_cache=0
4617 # Check whether --enable-debug was given.
4618 if test "${enable_debug+set}" = set; then
4619 enableval=$enable_debug;
4620 if test "$enableval" = yes; then
4621 ac_cv_use_debug='wxUSE_DEBUG=yes'
4622 else
4623 ac_cv_use_debug='wxUSE_DEBUG=no'
4624 fi
4625
4626 else
4627
4628 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x ; then
4630 eval "DEFAULT_$LINE"
4631 else
4632 no_cache=1
4633 fi
4634
4635 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4636
4637 fi
4638
4639
4640 eval "$ac_cv_use_debug"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4643 fi
4644
4645 if test "$wxUSE_DEBUG" = yes; then
4646 { echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6; }
4648 else
4649 { echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6; }
4651 fi
4652
4653
4654 enablestring=
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4657 no_cache=0
4658 # Check whether --enable-stl was given.
4659 if test "${enable_stl+set}" = set; then
4660 enableval=$enable_stl;
4661 if test "$enableval" = yes; then
4662 ac_cv_use_stl='wxUSE_STL=yes'
4663 else
4664 ac_cv_use_stl='wxUSE_STL=no'
4665 fi
4666
4667 else
4668
4669 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x ; then
4671 eval "DEFAULT_$LINE"
4672 else
4673 no_cache=1
4674 fi
4675
4676 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4677
4678 fi
4679
4680
4681 eval "$ac_cv_use_stl"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4684 fi
4685
4686 if test "$wxUSE_STL" = yes; then
4687 { echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6; }
4689 else
4690 { echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6; }
4692 fi
4693
4694
4695 enablestring=
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4698 no_cache=0
4699 # Check whether --enable-extended_rtti was given.
4700 if test "${enable_extended_rtti+set}" = set; then
4701 enableval=$enable_extended_rtti;
4702 if test "$enableval" = yes; then
4703 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4704 else
4705 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4706 fi
4707
4708 else
4709
4710 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x ; then
4712 eval "DEFAULT_$LINE"
4713 else
4714 no_cache=1
4715 fi
4716
4717 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4718
4719 fi
4720
4721
4722 eval "$ac_cv_use_extended_rtti"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4725 fi
4726
4727 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4728 { echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6; }
4730 else
4731 { echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6; }
4733 fi
4734
4735 if test "$USE_OS2" = "1"; then
4736 DEFAULT_wxUSE_OMF=no
4737
4738 enablestring=
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4741 no_cache=0
4742 # Check whether --enable-omf was given.
4743 if test "${enable_omf+set}" = set; then
4744 enableval=$enable_omf;
4745 if test "$enableval" = yes; then
4746 ac_cv_use_omf='wxUSE_OMF=yes'
4747 else
4748 ac_cv_use_omf='wxUSE_OMF=no'
4749 fi
4750
4751 else
4752
4753 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4756 else
4757 no_cache=1
4758 fi
4759
4760 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4761
4762 fi
4763
4764
4765 eval "$ac_cv_use_omf"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4768 fi
4769
4770 if test "$wxUSE_OMF" = yes; then
4771 { echo "$as_me:$LINENO: result: yes" >&5
4772 echo "${ECHO_T}yes" >&6; }
4773 else
4774 { echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6; }
4776 fi
4777
4778 fi
4779
4780 if test "$wxUSE_DEBUG" = "yes"; then
4781 DEFAULT_wxUSE_DEBUG_FLAG=yes
4782 DEFAULT_wxUSE_DEBUG_INFO=yes
4783 BUILD=debug
4784 elif test "$wxUSE_DEBUG" = "no"; then
4785 DEFAULT_wxUSE_DEBUG_FLAG=no
4786 DEFAULT_wxUSE_DEBUG_INFO=no
4787 BUILD=release
4788 fi
4789
4790
4791 enablestring=
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4794 no_cache=0
4795 # Check whether --enable-debug_flag was given.
4796 if test "${enable_debug_flag+set}" = set; then
4797 enableval=$enable_debug_flag;
4798 if test "$enableval" = yes; then
4799 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4800 else
4801 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4802 fi
4803
4804 else
4805
4806 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4814
4815 fi
4816
4817
4818 eval "$ac_cv_use_debug_flag"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 if test "$wxUSE_DEBUG_FLAG" = yes; then
4824 { echo "$as_me:$LINENO: result: yes" >&5
4825 echo "${ECHO_T}yes" >&6; }
4826 else
4827 { echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6; }
4829 fi
4830
4831
4832 enablestring=
4833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4834 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4835 no_cache=0
4836 # Check whether --enable-debug_info was given.
4837 if test "${enable_debug_info+set}" = set; then
4838 enableval=$enable_debug_info;
4839 if test "$enableval" = yes; then
4840 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4841 else
4842 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4843 fi
4844
4845 else
4846
4847 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4850 else
4851 no_cache=1
4852 fi
4853
4854 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4855
4856 fi
4857
4858
4859 eval "$ac_cv_use_debug_info"
4860 if test "$no_cache" != 1; then
4861 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4862 fi
4863
4864 if test "$wxUSE_DEBUG_INFO" = yes; then
4865 { echo "$as_me:$LINENO: result: yes" >&5
4866 echo "${ECHO_T}yes" >&6; }
4867 else
4868 { echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6; }
4870 fi
4871
4872
4873 enablestring=
4874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4876 no_cache=0
4877 # Check whether --enable-debug_gdb was given.
4878 if test "${enable_debug_gdb+set}" = set; then
4879 enableval=$enable_debug_gdb;
4880 if test "$enableval" = yes; then
4881 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4882 else
4883 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4884 fi
4885
4886 else
4887
4888 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4891 else
4892 no_cache=1
4893 fi
4894
4895 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4896
4897 fi
4898
4899
4900 eval "$ac_cv_use_debug_gdb"
4901 if test "$no_cache" != 1; then
4902 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4903 fi
4904
4905 if test "$wxUSE_DEBUG_GDB" = yes; then
4906 { echo "$as_me:$LINENO: result: yes" >&5
4907 echo "${ECHO_T}yes" >&6; }
4908 else
4909 { echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6; }
4911 fi
4912
4913
4914 enablestring=
4915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4916 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4917 no_cache=0
4918 # Check whether --enable-debug_cntxt was given.
4919 if test "${enable_debug_cntxt+set}" = set; then
4920 enableval=$enable_debug_cntxt;
4921 if test "$enableval" = yes; then
4922 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4923 else
4924 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4925 fi
4926
4927 else
4928
4929 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4932 else
4933 no_cache=1
4934 fi
4935
4936 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4937
4938 fi
4939
4940
4941 eval "$ac_cv_use_debug_cntxt"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4944 fi
4945
4946 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4947 { echo "$as_me:$LINENO: result: yes" >&5
4948 echo "${ECHO_T}yes" >&6; }
4949 else
4950 { echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6; }
4952 fi
4953
4954
4955 enablestring=
4956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4957 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4958 no_cache=0
4959 # Check whether --enable-mem_tracing was given.
4960 if test "${enable_mem_tracing+set}" = set; then
4961 enableval=$enable_mem_tracing;
4962 if test "$enableval" = yes; then
4963 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4964 else
4965 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4966 fi
4967
4968 else
4969
4970 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4973 else
4974 no_cache=1
4975 fi
4976
4977 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4978
4979 fi
4980
4981
4982 eval "$ac_cv_use_mem_tracing"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4985 fi
4986
4987 if test "$wxUSE_MEM_TRACING" = yes; then
4988 { echo "$as_me:$LINENO: result: yes" >&5
4989 echo "${ECHO_T}yes" >&6; }
4990 else
4991 { echo "$as_me:$LINENO: result: no" >&5
4992 echo "${ECHO_T}no" >&6; }
4993 fi
4994
4995
4996 enablestring=
4997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4999 no_cache=0
5000 # Check whether --enable-profile was given.
5001 if test "${enable_profile+set}" = set; then
5002 enableval=$enable_profile;
5003 if test "$enableval" = yes; then
5004 ac_cv_use_profile='wxUSE_PROFILE=yes'
5005 else
5006 ac_cv_use_profile='wxUSE_PROFILE=no'
5007 fi
5008
5009 else
5010
5011 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x ; then
5013 eval "DEFAULT_$LINE"
5014 else
5015 no_cache=1
5016 fi
5017
5018 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5019
5020 fi
5021
5022
5023 eval "$ac_cv_use_profile"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5026 fi
5027
5028 if test "$wxUSE_PROFILE" = yes; then
5029 { echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6; }
5031 else
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5034 fi
5035
5036
5037 enablestring=
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5040 no_cache=0
5041 # Check whether --enable-no_rtti was given.
5042 if test "${enable_no_rtti+set}" = set; then
5043 enableval=$enable_no_rtti;
5044 if test "$enableval" = yes; then
5045 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5046 else
5047 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5048 fi
5049
5050 else
5051
5052 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5053 if test "x$LINE" != x ; then
5054 eval "DEFAULT_$LINE"
5055 else
5056 no_cache=1
5057 fi
5058
5059 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5060
5061 fi
5062
5063
5064 eval "$ac_cv_use_no_rtti"
5065 if test "$no_cache" != 1; then
5066 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5067 fi
5068
5069 if test "$wxUSE_NO_RTTI" = yes; then
5070 { echo "$as_me:$LINENO: result: yes" >&5
5071 echo "${ECHO_T}yes" >&6; }
5072 else
5073 { echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6; }
5075 fi
5076
5077
5078 enablestring=
5079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5081 no_cache=0
5082 # Check whether --enable-no_exceptions was given.
5083 if test "${enable_no_exceptions+set}" = set; then
5084 enableval=$enable_no_exceptions;
5085 if test "$enableval" = yes; then
5086 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5087 else
5088 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5089 fi
5090
5091 else
5092
5093 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x ; then
5095 eval "DEFAULT_$LINE"
5096 else
5097 no_cache=1
5098 fi
5099
5100 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5101
5102 fi
5103
5104
5105 eval "$ac_cv_use_no_exceptions"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5108 fi
5109
5110 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5111 { echo "$as_me:$LINENO: result: yes" >&5
5112 echo "${ECHO_T}yes" >&6; }
5113 else
5114 { echo "$as_me:$LINENO: result: no" >&5
5115 echo "${ECHO_T}no" >&6; }
5116 fi
5117
5118
5119 enablestring=
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5122 no_cache=0
5123 # Check whether --enable-permissive was given.
5124 if test "${enable_permissive+set}" = set; then
5125 enableval=$enable_permissive;
5126 if test "$enableval" = yes; then
5127 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5128 else
5129 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5130 fi
5131
5132 else
5133
5134 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5135 if test "x$LINE" != x ; then
5136 eval "DEFAULT_$LINE"
5137 else
5138 no_cache=1
5139 fi
5140
5141 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5142
5143 fi
5144
5145
5146 eval "$ac_cv_use_permissive"
5147 if test "$no_cache" != 1; then
5148 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5149 fi
5150
5151 if test "$wxUSE_PERMISSIVE" = yes; then
5152 { echo "$as_me:$LINENO: result: yes" >&5
5153 echo "${ECHO_T}yes" >&6; }
5154 else
5155 { echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6; }
5157 fi
5158
5159
5160 enablestring=
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5163 no_cache=0
5164 # Check whether --enable-no_deps was given.
5165 if test "${enable_no_deps+set}" = set; then
5166 enableval=$enable_no_deps;
5167 if test "$enableval" = yes; then
5168 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5169 else
5170 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5171 fi
5172
5173 else
5174
5175 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5176 if test "x$LINE" != x ; then
5177 eval "DEFAULT_$LINE"
5178 else
5179 no_cache=1
5180 fi
5181
5182 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5183
5184 fi
5185
5186
5187 eval "$ac_cv_use_no_deps"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5190 fi
5191
5192 if test "$wxUSE_NO_DEPS" = yes; then
5193 { echo "$as_me:$LINENO: result: yes" >&5
5194 echo "${ECHO_T}yes" >&6; }
5195 else
5196 { echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6; }
5198 fi
5199
5200
5201 enablestring=
5202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5204 no_cache=0
5205 # Check whether --enable-vararg_macros was given.
5206 if test "${enable_vararg_macros+set}" = set; then
5207 enableval=$enable_vararg_macros;
5208 if test "$enableval" = yes; then
5209 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5210 else
5211 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5212 fi
5213
5214 else
5215
5216 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5217 if test "x$LINE" != x ; then
5218 eval "DEFAULT_$LINE"
5219 else
5220 no_cache=1
5221 fi
5222
5223 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5224
5225 fi
5226
5227
5228 eval "$ac_cv_use_vararg_macros"
5229 if test "$no_cache" != 1; then
5230 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5231 fi
5232
5233 if test "$wxUSE_VARARG_MACROS" = yes; then
5234 { echo "$as_me:$LINENO: result: yes" >&5
5235 echo "${ECHO_T}yes" >&6; }
5236 else
5237 { echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6; }
5239 fi
5240
5241
5242 enablestring=
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5245 no_cache=0
5246 # Check whether --enable-universal_binary was given.
5247 if test "${enable_universal_binary+set}" = set; then
5248 enableval=$enable_universal_binary;
5249 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5250
5251 else
5252
5253 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5256 else
5257 no_cache=1
5258 fi
5259
5260 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5261
5262 fi
5263
5264
5265 eval "$wx_cv_use_universal_binary"
5266 if test "$no_cache" != 1; then
5267 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5268 fi
5269
5270 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5271 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5272
5273
5274
5275 enablestring=enable
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5278 no_cache=0
5279 # Check whether --enable-compat26 was given.
5280 if test "${enable_compat26+set}" = set; then
5281 enableval=$enable_compat26;
5282 if test "$enableval" = yes; then
5283 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5284 else
5285 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5286 fi
5287
5288 else
5289
5290 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5293 else
5294 no_cache=1
5295 fi
5296
5297 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5298
5299 fi
5300
5301
5302 eval "$ac_cv_use_compat26"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5305 fi
5306
5307 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5308 { echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6; }
5310 else
5311 { echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6; }
5313 fi
5314
5315
5316 enablestring=disable
5317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5319 no_cache=0
5320 # Check whether --enable-compat28 was given.
5321 if test "${enable_compat28+set}" = set; then
5322 enableval=$enable_compat28;
5323 if test "$enableval" = yes; then
5324 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5325 else
5326 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5327 fi
5328
5329 else
5330
5331 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5334 else
5335 no_cache=1
5336 fi
5337
5338 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5339
5340 fi
5341
5342
5343 eval "$ac_cv_use_compat28"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5346 fi
5347
5348 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5349 { echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6; }
5351 else
5352 { echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6; }
5354 fi
5355
5356
5357
5358 enablestring=
5359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5361 no_cache=0
5362 # Check whether --enable-rpath was given.
5363 if test "${enable_rpath+set}" = set; then
5364 enableval=$enable_rpath;
5365 if test "$enableval" = yes; then
5366 ac_cv_use_rpath='wxUSE_RPATH=yes'
5367 else
5368 ac_cv_use_rpath='wxUSE_RPATH=no'
5369 fi
5370
5371 else
5372
5373 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5376 else
5377 no_cache=1
5378 fi
5379
5380 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5381
5382 fi
5383
5384
5385 eval "$ac_cv_use_rpath"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_RPATH" = yes; then
5391 { echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6; }
5393 else
5394 { echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6; }
5396 fi
5397
5398
5399
5400 enablestring=
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5403 no_cache=0
5404 # Check whether --enable-objc_uniquifying was given.
5405 if test "${enable_objc_uniquifying+set}" = set; then
5406 enableval=$enable_objc_uniquifying;
5407 if test "$enableval" = yes; then
5408 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5409 else
5410 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING='$DEFAULT_wxUSE_OBJC_UNIQUIFYING
5423
5424 fi
5425
5426
5427 eval "$ac_cv_use_objc_uniquifying"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5430 fi
5431
5432 if test "$wxUSE_OBJC_UNIQUIFYING" = yes; then
5433 { echo "$as_me:$LINENO: result: yes" >&5
5434 echo "${ECHO_T}yes" >&6; }
5435 else
5436 { echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6; }
5438 fi
5439
5440
5441
5442
5443 enablestring=
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5446 no_cache=0
5447 # Check whether --enable-intl was given.
5448 if test "${enable_intl+set}" = set; then
5449 enableval=$enable_intl;
5450 if test "$enableval" = yes; then
5451 ac_cv_use_intl='wxUSE_INTL=yes'
5452 else
5453 ac_cv_use_intl='wxUSE_INTL=no'
5454 fi
5455
5456 else
5457
5458 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5461 else
5462 no_cache=1
5463 fi
5464
5465 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5466
5467 fi
5468
5469
5470 eval "$ac_cv_use_intl"
5471 if test "$no_cache" != 1; then
5472 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5473 fi
5474
5475 if test "$wxUSE_INTL" = yes; then
5476 { echo "$as_me:$LINENO: result: yes" >&5
5477 echo "${ECHO_T}yes" >&6; }
5478 else
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5481 fi
5482
5483
5484 enablestring=
5485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5486 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5487 no_cache=0
5488 # Check whether --enable-config was given.
5489 if test "${enable_config+set}" = set; then
5490 enableval=$enable_config;
5491 if test "$enableval" = yes; then
5492 ac_cv_use_config='wxUSE_CONFIG=yes'
5493 else
5494 ac_cv_use_config='wxUSE_CONFIG=no'
5495 fi
5496
5497 else
5498
5499 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5502 else
5503 no_cache=1
5504 fi
5505
5506 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5507
5508 fi
5509
5510
5511 eval "$ac_cv_use_config"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5514 fi
5515
5516 if test "$wxUSE_CONFIG" = yes; then
5517 { echo "$as_me:$LINENO: result: yes" >&5
5518 echo "${ECHO_T}yes" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5522 fi
5523
5524
5525
5526 enablestring=
5527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5528 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5529 no_cache=0
5530 # Check whether --enable-protocols was given.
5531 if test "${enable_protocols+set}" = set; then
5532 enableval=$enable_protocols;
5533 if test "$enableval" = yes; then
5534 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5535 else
5536 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5537 fi
5538
5539 else
5540
5541 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x ; then
5543 eval "DEFAULT_$LINE"
5544 else
5545 no_cache=1
5546 fi
5547
5548 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5549
5550 fi
5551
5552
5553 eval "$ac_cv_use_protocols"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5556 fi
5557
5558 if test "$wxUSE_PROTOCOL" = yes; then
5559 { echo "$as_me:$LINENO: result: yes" >&5
5560 echo "${ECHO_T}yes" >&6; }
5561 else
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5564 fi
5565
5566
5567 enablestring=
5568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5569 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5570 no_cache=0
5571 # Check whether --enable-ftp was given.
5572 if test "${enable_ftp+set}" = set; then
5573 enableval=$enable_ftp;
5574 if test "$enableval" = yes; then
5575 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5576 else
5577 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5578 fi
5579
5580 else
5581
5582 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5583 if test "x$LINE" != x ; then
5584 eval "DEFAULT_$LINE"
5585 else
5586 no_cache=1
5587 fi
5588
5589 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5590
5591 fi
5592
5593
5594 eval "$ac_cv_use_ftp"
5595 if test "$no_cache" != 1; then
5596 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5597 fi
5598
5599 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5600 { echo "$as_me:$LINENO: result: yes" >&5
5601 echo "${ECHO_T}yes" >&6; }
5602 else
5603 { echo "$as_me:$LINENO: result: no" >&5
5604 echo "${ECHO_T}no" >&6; }
5605 fi
5606
5607
5608 enablestring=
5609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5610 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5611 no_cache=0
5612 # Check whether --enable-http was given.
5613 if test "${enable_http+set}" = set; then
5614 enableval=$enable_http;
5615 if test "$enableval" = yes; then
5616 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5617 else
5618 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5619 fi
5620
5621 else
5622
5623 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5624 if test "x$LINE" != x ; then
5625 eval "DEFAULT_$LINE"
5626 else
5627 no_cache=1
5628 fi
5629
5630 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5631
5632 fi
5633
5634
5635 eval "$ac_cv_use_http"
5636 if test "$no_cache" != 1; then
5637 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5638 fi
5639
5640 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5641 { echo "$as_me:$LINENO: result: yes" >&5
5642 echo "${ECHO_T}yes" >&6; }
5643 else
5644 { echo "$as_me:$LINENO: result: no" >&5
5645 echo "${ECHO_T}no" >&6; }
5646 fi
5647
5648
5649 enablestring=
5650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5651 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5652 no_cache=0
5653 # Check whether --enable-fileproto was given.
5654 if test "${enable_fileproto+set}" = set; then
5655 enableval=$enable_fileproto;
5656 if test "$enableval" = yes; then
5657 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5658 else
5659 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5660 fi
5661
5662 else
5663
5664 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5665 if test "x$LINE" != x ; then
5666 eval "DEFAULT_$LINE"
5667 else
5668 no_cache=1
5669 fi
5670
5671 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5672
5673 fi
5674
5675
5676 eval "$ac_cv_use_fileproto"
5677 if test "$no_cache" != 1; then
5678 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5679 fi
5680
5681 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no" >&5
5686 echo "${ECHO_T}no" >&6; }
5687 fi
5688
5689
5690 enablestring=
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5693 no_cache=0
5694 # Check whether --enable-sockets was given.
5695 if test "${enable_sockets+set}" = set; then
5696 enableval=$enable_sockets;
5697 if test "$enableval" = yes; then
5698 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5699 else
5700 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5701 fi
5702
5703 else
5704
5705 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5708 else
5709 no_cache=1
5710 fi
5711
5712 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5713
5714 fi
5715
5716
5717 eval "$ac_cv_use_sockets"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5720 fi
5721
5722 if test "$wxUSE_SOCKETS" = yes; then
5723 { echo "$as_me:$LINENO: result: yes" >&5
5724 echo "${ECHO_T}yes" >&6; }
5725 else
5726 { echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6; }
5728 fi
5729
5730
5731 enablestring=
5732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5733 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5734 no_cache=0
5735 # Check whether --enable-ole was given.
5736 if test "${enable_ole+set}" = set; then
5737 enableval=$enable_ole;
5738 if test "$enableval" = yes; then
5739 ac_cv_use_ole='wxUSE_OLE=yes'
5740 else
5741 ac_cv_use_ole='wxUSE_OLE=no'
5742 fi
5743
5744 else
5745
5746 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5747 if test "x$LINE" != x ; then
5748 eval "DEFAULT_$LINE"
5749 else
5750 no_cache=1
5751 fi
5752
5753 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5754
5755 fi
5756
5757
5758 eval "$ac_cv_use_ole"
5759 if test "$no_cache" != 1; then
5760 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5761 fi
5762
5763 if test "$wxUSE_OLE" = yes; then
5764 { echo "$as_me:$LINENO: result: yes" >&5
5765 echo "${ECHO_T}yes" >&6; }
5766 else
5767 { echo "$as_me:$LINENO: result: no" >&5
5768 echo "${ECHO_T}no" >&6; }
5769 fi
5770
5771
5772 enablestring=
5773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5774 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5775 no_cache=0
5776 # Check whether --enable-dataobj was given.
5777 if test "${enable_dataobj+set}" = set; then
5778 enableval=$enable_dataobj;
5779 if test "$enableval" = yes; then
5780 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5781 else
5782 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5783 fi
5784
5785 else
5786
5787 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x ; then
5789 eval "DEFAULT_$LINE"
5790 else
5791 no_cache=1
5792 fi
5793
5794 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5795
5796 fi
5797
5798
5799 eval "$ac_cv_use_dataobj"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5802 fi
5803
5804 if test "$wxUSE_DATAOBJ" = yes; then
5805 { echo "$as_me:$LINENO: result: yes" >&5
5806 echo "${ECHO_T}yes" >&6; }
5807 else
5808 { echo "$as_me:$LINENO: result: no" >&5
5809 echo "${ECHO_T}no" >&6; }
5810 fi
5811
5812
5813
5814 enablestring=
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5817 no_cache=0
5818 # Check whether --enable-ipc was given.
5819 if test "${enable_ipc+set}" = set; then
5820 enableval=$enable_ipc;
5821 if test "$enableval" = yes; then
5822 ac_cv_use_ipc='wxUSE_IPC=yes'
5823 else
5824 ac_cv_use_ipc='wxUSE_IPC=no'
5825 fi
5826
5827 else
5828
5829 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5832 else
5833 no_cache=1
5834 fi
5835
5836 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5837
5838 fi
5839
5840
5841 eval "$ac_cv_use_ipc"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_IPC" = yes; then
5847 { echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6; }
5849 else
5850 { echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6; }
5852 fi
5853
5854
5855
5856 enablestring=
5857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5859 no_cache=0
5860 # Check whether --enable-apple_ieee was given.
5861 if test "${enable_apple_ieee+set}" = set; then
5862 enableval=$enable_apple_ieee;
5863 if test "$enableval" = yes; then
5864 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5865 else
5866 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5879
5880 fi
5881
5882
5883 eval "$ac_cv_use_apple_ieee"
5884 if test "$no_cache" != 1; then
5885 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5886 fi
5887
5888 if test "$wxUSE_APPLE_IEEE" = yes; then
5889 { echo "$as_me:$LINENO: result: yes" >&5
5890 echo "${ECHO_T}yes" >&6; }
5891 else
5892 { echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6; }
5894 fi
5895
5896
5897 enablestring=
5898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5900 no_cache=0
5901 # Check whether --enable-arcstream was given.
5902 if test "${enable_arcstream+set}" = set; then
5903 enableval=$enable_arcstream;
5904 if test "$enableval" = yes; then
5905 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5906 else
5907 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5920
5921 fi
5922
5923
5924 eval "$ac_cv_use_arcstream"
5925 if test "$no_cache" != 1; then
5926 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5927 fi
5928
5929 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5930 { echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6; }
5932 else
5933 { echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6; }
5935 fi
5936
5937
5938 enablestring=
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5941 no_cache=0
5942 # Check whether --enable-backtrace was given.
5943 if test "${enable_backtrace+set}" = set; then
5944 enableval=$enable_backtrace;
5945 if test "$enableval" = yes; then
5946 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5947 else
5948 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5949 fi
5950
5951 else
5952
5953 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 else
5957 no_cache=1
5958 fi
5959
5960 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5961
5962 fi
5963
5964
5965 eval "$ac_cv_use_backtrace"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5968 fi
5969
5970 if test "$wxUSE_STACKWALKER" = yes; then
5971 { echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6; }
5973 else
5974 { echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6; }
5976 fi
5977
5978
5979 enablestring=
5980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5982 no_cache=0
5983 # Check whether --enable-catch_segvs was given.
5984 if test "${enable_catch_segvs+set}" = set; then
5985 enableval=$enable_catch_segvs;
5986 if test "$enableval" = yes; then
5987 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5988 else
5989 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5990 fi
5991
5992 else
5993
5994 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
5997 else
5998 no_cache=1
5999 fi
6000
6001 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
6002
6003 fi
6004
6005
6006 eval "$ac_cv_use_catch_segvs"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6009 fi
6010
6011 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
6012 { echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6; }
6014 else
6015 { echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6; }
6017 fi
6018
6019
6020 enablestring=
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6023 no_cache=0
6024 # Check whether --enable-cmdline was given.
6025 if test "${enable_cmdline+set}" = set; then
6026 enableval=$enable_cmdline;
6027 if test "$enableval" = yes; then
6028 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6029 else
6030 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6031 fi
6032
6033 else
6034
6035 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6038 else
6039 no_cache=1
6040 fi
6041
6042 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
6043
6044 fi
6045
6046
6047 eval "$ac_cv_use_cmdline"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6050 fi
6051
6052 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6053 { echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6; }
6055 else
6056 { echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6; }
6058 fi
6059
6060
6061 enablestring=
6062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6064 no_cache=0
6065 # Check whether --enable-datetime was given.
6066 if test "${enable_datetime+set}" = set; then
6067 enableval=$enable_datetime;
6068 if test "$enableval" = yes; then
6069 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6070 else
6071 ac_cv_use_datetime='wxUSE_DATETIME=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6084
6085 fi
6086
6087
6088 eval "$ac_cv_use_datetime"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_DATETIME" = yes; then
6094 { echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6; }
6096 else
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6099 fi
6100
6101
6102 enablestring=
6103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6105 no_cache=0
6106 # Check whether --enable-debugreport was given.
6107 if test "${enable_debugreport+set}" = set; then
6108 enableval=$enable_debugreport;
6109 if test "$enableval" = yes; then
6110 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6111 else
6112 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6125
6126 fi
6127
6128
6129 eval "$ac_cv_use_debugreport"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_DEBUGREPORT" = yes; then
6135 { echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6; }
6137 else
6138 { echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6; }
6140 fi
6141
6142
6143 enablestring=
6144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6146 no_cache=0
6147 # Check whether --enable-dialupman was given.
6148 if test "${enable_dialupman+set}" = set; then
6149 enableval=$enable_dialupman;
6150 if test "$enableval" = yes; then
6151 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6152 else
6153 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6166
6167 fi
6168
6169
6170 eval "$ac_cv_use_dialupman"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6173 fi
6174
6175 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6176 { echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6; }
6178 else
6179 { echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6; }
6181 fi
6182
6183
6184 enablestring=
6185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6187 no_cache=0
6188 # Check whether --enable-dynlib was given.
6189 if test "${enable_dynlib+set}" = set; then
6190 enableval=$enable_dynlib;
6191 if test "$enableval" = yes; then
6192 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6193 else
6194 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6195 fi
6196
6197 else
6198
6199 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 else
6203 no_cache=1
6204 fi
6205
6206 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6207
6208 fi
6209
6210
6211 eval "$ac_cv_use_dynlib"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6214 fi
6215
6216 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6217 { echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6; }
6219 else
6220 { echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6; }
6222 fi
6223
6224
6225 enablestring=
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6228 no_cache=0
6229 # Check whether --enable-dynamicloader was given.
6230 if test "${enable_dynamicloader+set}" = set; then
6231 enableval=$enable_dynamicloader;
6232 if test "$enableval" = yes; then
6233 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6234 else
6235 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6248
6249 fi
6250
6251
6252 eval "$ac_cv_use_dynamicloader"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6255 fi
6256
6257 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6258 { echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6; }
6260 else
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6263 fi
6264
6265
6266 enablestring=
6267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6269 no_cache=0
6270 # Check whether --enable-exceptions was given.
6271 if test "${enable_exceptions+set}" = set; then
6272 enableval=$enable_exceptions;
6273 if test "$enableval" = yes; then
6274 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6275 else
6276 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6277 fi
6278
6279 else
6280
6281 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6284 else
6285 no_cache=1
6286 fi
6287
6288 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6289
6290 fi
6291
6292
6293 eval "$ac_cv_use_exceptions"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6296 fi
6297
6298 if test "$wxUSE_EXCEPTIONS" = yes; then
6299 { echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6; }
6301 else
6302 { echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6; }
6304 fi
6305
6306
6307 enablestring=
6308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6310 no_cache=0
6311 # Check whether --enable-ffile was given.
6312 if test "${enable_ffile+set}" = set; then
6313 enableval=$enable_ffile;
6314 if test "$enableval" = yes; then
6315 ac_cv_use_ffile='wxUSE_FFILE=yes'
6316 else
6317 ac_cv_use_ffile='wxUSE_FFILE=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6330
6331 fi
6332
6333
6334 eval "$ac_cv_use_ffile"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6337 fi
6338
6339 if test "$wxUSE_FFILE" = yes; then
6340 { echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6; }
6342 else
6343 { echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6; }
6345 fi
6346
6347
6348 enablestring=
6349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6351 no_cache=0
6352 # Check whether --enable-file was given.
6353 if test "${enable_file+set}" = set; then
6354 enableval=$enable_file;
6355 if test "$enableval" = yes; then
6356 ac_cv_use_file='wxUSE_FILE=yes'
6357 else
6358 ac_cv_use_file='wxUSE_FILE=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6371
6372 fi
6373
6374
6375 eval "$ac_cv_use_file"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6378 fi
6379
6380 if test "$wxUSE_FILE" = yes; then
6381 { echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6; }
6383 else
6384 { echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6; }
6386 fi
6387
6388
6389 enablestring=
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6392 no_cache=0
6393 # Check whether --enable-filesystem was given.
6394 if test "${enable_filesystem+set}" = set; then
6395 enableval=$enable_filesystem;
6396 if test "$enableval" = yes; then
6397 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6398 else
6399 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6412
6413 fi
6414
6415
6416 eval "$ac_cv_use_filesystem"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6419 fi
6420
6421 if test "$wxUSE_FILESYSTEM" = yes; then
6422 { echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6; }
6424 else
6425 { echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6; }
6427 fi
6428
6429
6430 enablestring=
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6433 no_cache=0
6434 # Check whether --enable-fontmap was given.
6435 if test "${enable_fontmap+set}" = set; then
6436 enableval=$enable_fontmap;
6437 if test "$enableval" = yes; then
6438 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6439 else
6440 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6453
6454 fi
6455
6456
6457 eval "$ac_cv_use_fontmap"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6460 fi
6461
6462 if test "$wxUSE_FONTMAP" = yes; then
6463 { echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6; }
6465 else
6466 { echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6; }
6468 fi
6469
6470
6471 enablestring=
6472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6474 no_cache=0
6475 # Check whether --enable-fs_archive was given.
6476 if test "${enable_fs_archive+set}" = set; then
6477 enableval=$enable_fs_archive;
6478 if test "$enableval" = yes; then
6479 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6480 else
6481 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6494
6495 fi
6496
6497
6498 eval "$ac_cv_use_fs_archive"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6501 fi
6502
6503 if test "$wxUSE_FS_ARCHIVE" = yes; then
6504 { echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6; }
6506 else
6507 { echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6; }
6509 fi
6510
6511
6512 enablestring=
6513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6515 no_cache=0
6516 # Check whether --enable-fs_inet was given.
6517 if test "${enable_fs_inet+set}" = set; then
6518 enableval=$enable_fs_inet;
6519 if test "$enableval" = yes; then
6520 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6521 else
6522 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6523 fi
6524
6525 else
6526
6527 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6530 else
6531 no_cache=1
6532 fi
6533
6534 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6535
6536 fi
6537
6538
6539 eval "$ac_cv_use_fs_inet"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6542 fi
6543
6544 if test "$wxUSE_FS_INET" = yes; then
6545 { echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6; }
6547 else
6548 { echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6; }
6550 fi
6551
6552
6553 enablestring=
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6556 no_cache=0
6557 # Check whether --enable-fs_zip was given.
6558 if test "${enable_fs_zip+set}" = set; then
6559 enableval=$enable_fs_zip;
6560 if test "$enableval" = yes; then
6561 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6562 else
6563 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6576
6577 fi
6578
6579
6580 eval "$ac_cv_use_fs_zip"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6583 fi
6584
6585 if test "$wxUSE_FS_ZIP" = yes; then
6586 { echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6; }
6588 else
6589 { echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6; }
6591 fi
6592
6593
6594 enablestring=
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6597 no_cache=0
6598 # Check whether --enable-geometry was given.
6599 if test "${enable_geometry+set}" = set; then
6600 enableval=$enable_geometry;
6601 if test "$enableval" = yes; then
6602 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6603 else
6604 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6617
6618 fi
6619
6620
6621 eval "$ac_cv_use_geometry"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6624 fi
6625
6626 if test "$wxUSE_GEOMETRY" = yes; then
6627 { echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6; }
6629 else
6630 { echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6; }
6632 fi
6633
6634
6635 enablestring=
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6638 no_cache=0
6639 # Check whether --enable-log was given.
6640 if test "${enable_log+set}" = set; then
6641 enableval=$enable_log;
6642 if test "$enableval" = yes; then
6643 ac_cv_use_log='wxUSE_LOG=yes'
6644 else
6645 ac_cv_use_log='wxUSE_LOG=no'
6646 fi
6647
6648 else
6649
6650 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x ; then
6652 eval "DEFAULT_$LINE"
6653 else
6654 no_cache=1
6655 fi
6656
6657 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6658
6659 fi
6660
6661
6662 eval "$ac_cv_use_log"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_LOG" = yes; then
6668 { echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6; }
6670 else
6671 { echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6; }
6673 fi
6674
6675
6676 enablestring=
6677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6679 no_cache=0
6680 # Check whether --enable-longlong was given.
6681 if test "${enable_longlong+set}" = set; then
6682 enableval=$enable_longlong;
6683 if test "$enableval" = yes; then
6684 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6685 else
6686 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6687 fi
6688
6689 else
6690
6691 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6694 else
6695 no_cache=1
6696 fi
6697
6698 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6699
6700 fi
6701
6702
6703 eval "$ac_cv_use_longlong"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_LONGLONG" = yes; then
6709 { echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6; }
6711 else
6712 { echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6; }
6714 fi
6715
6716
6717 enablestring=
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6720 no_cache=0
6721 # Check whether --enable-mimetype was given.
6722 if test "${enable_mimetype+set}" = set; then
6723 enableval=$enable_mimetype;
6724 if test "$enableval" = yes; then
6725 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6726 else
6727 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6728 fi
6729
6730 else
6731
6732 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6735 else
6736 no_cache=1
6737 fi
6738
6739 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6740
6741 fi
6742
6743
6744 eval "$ac_cv_use_mimetype"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_MIMETYPE" = yes; then
6750 { echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6; }
6752 else
6753 { echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6; }
6755 fi
6756
6757
6758 enablestring=
6759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6761 no_cache=0
6762 # Check whether --enable-mslu was given.
6763 if test "${enable_mslu+set}" = set; then
6764 enableval=$enable_mslu;
6765 if test "$enableval" = yes; then
6766 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6767 else
6768 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6769 fi
6770
6771 else
6772
6773 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x ; then
6775 eval "DEFAULT_$LINE"
6776 else
6777 no_cache=1
6778 fi
6779
6780 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6781
6782 fi
6783
6784
6785 eval "$ac_cv_use_mslu"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_UNICODE_MSLU" = yes; then
6791 { echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6; }
6793 else
6794 { echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6; }
6796 fi
6797
6798
6799 enablestring=
6800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6802 no_cache=0
6803 # Check whether --enable-utf8 was given.
6804 if test "${enable_utf8+set}" = set; then
6805 enableval=$enable_utf8;
6806 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6807
6808 else
6809
6810 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6813 else
6814 no_cache=1
6815 fi
6816
6817 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6818
6819 fi
6820
6821
6822 eval "$wx_cv_use_utf8"
6823 if test "$no_cache" != 1; then
6824 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6825 fi
6826
6827 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6828 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6829
6830
6831 enablestring=
6832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6834 no_cache=0
6835 # Check whether --enable-utf8only was given.
6836 if test "${enable_utf8only+set}" = set; then
6837 enableval=$enable_utf8only;
6838 if test "$enableval" = yes; then
6839 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6840 else
6841 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6842 fi
6843
6844 else
6845
6846 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
6847 if test "x$LINE" != x ; then
6848 eval "DEFAULT_$LINE"
6849 else
6850 no_cache=1
6851 fi
6852
6853 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6854
6855 fi
6856
6857
6858 eval "$ac_cv_use_utf8only"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6861 fi
6862
6863 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6864 { echo "$as_me:$LINENO: result: yes" >&5
6865 echo "${ECHO_T}yes" >&6; }
6866 else
6867 { echo "$as_me:$LINENO: result: no" >&5
6868 echo "${ECHO_T}no" >&6; }
6869 fi
6870
6871
6872 enablestring=
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6875 no_cache=0
6876 # Check whether --enable-snglinst was given.
6877 if test "${enable_snglinst+set}" = set; then
6878 enableval=$enable_snglinst;
6879 if test "$enableval" = yes; then
6880 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6881 else
6882 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6883 fi
6884
6885 else
6886
6887 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6888 if test "x$LINE" != x ; then
6889 eval "DEFAULT_$LINE"
6890 else
6891 no_cache=1
6892 fi
6893
6894 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6895
6896 fi
6897
6898
6899 eval "$ac_cv_use_snglinst"
6900 if test "$no_cache" != 1; then
6901 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6902 fi
6903
6904 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6905 { echo "$as_me:$LINENO: result: yes" >&5
6906 echo "${ECHO_T}yes" >&6; }
6907 else
6908 { echo "$as_me:$LINENO: result: no" >&5
6909 echo "${ECHO_T}no" >&6; }
6910 fi
6911
6912
6913 enablestring=
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6916 no_cache=0
6917 # Check whether --enable-std_iostreams was given.
6918 if test "${enable_std_iostreams+set}" = set; then
6919 enableval=$enable_std_iostreams;
6920 if test "$enableval" = yes; then
6921 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6922 else
6923 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6924 fi
6925
6926 else
6927
6928 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
6929 if test "x$LINE" != x ; then
6930 eval "DEFAULT_$LINE"
6931 else
6932 no_cache=1
6933 fi
6934
6935 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6936
6937 fi
6938
6939
6940 eval "$ac_cv_use_std_iostreams"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6943 fi
6944
6945 if test "$wxUSE_STD_IOSTREAM" = yes; then
6946 { echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6; }
6948 else
6949 { echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6; }
6951 fi
6952
6953
6954 enablestring=
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6957 no_cache=0
6958 # Check whether --enable-std_string was given.
6959 if test "${enable_std_string+set}" = set; then
6960 enableval=$enable_std_string;
6961 if test "$enableval" = yes; then
6962 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6963 else
6964 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6965 fi
6966
6967 else
6968
6969 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x ; then
6971 eval "DEFAULT_$LINE"
6972 else
6973 no_cache=1
6974 fi
6975
6976 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6977
6978 fi
6979
6980
6981 eval "$ac_cv_use_std_string"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6984 fi
6985
6986 if test "$wxUSE_STD_STRING" = yes; then
6987 { echo "$as_me:$LINENO: result: yes" >&5
6988 echo "${ECHO_T}yes" >&6; }
6989 else
6990 { echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6; }
6992 fi
6993
6994
6995 enablestring=
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6998 no_cache=0
6999 # Check whether --enable-stdpaths was given.
7000 if test "${enable_stdpaths+set}" = set; then
7001 enableval=$enable_stdpaths;
7002 if test "$enableval" = yes; then
7003 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7004 else
7005 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7006 fi
7007
7008 else
7009
7010 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x ; then
7012 eval "DEFAULT_$LINE"
7013 else
7014 no_cache=1
7015 fi
7016
7017 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
7018
7019 fi
7020
7021
7022 eval "$ac_cv_use_stdpaths"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7025 fi
7026
7027 if test "$wxUSE_STDPATHS" = yes; then
7028 { echo "$as_me:$LINENO: result: yes" >&5
7029 echo "${ECHO_T}yes" >&6; }
7030 else
7031 { echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6; }
7033 fi
7034
7035
7036 enablestring=
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7039 no_cache=0
7040 # Check whether --enable-stopwatch was given.
7041 if test "${enable_stopwatch+set}" = set; then
7042 enableval=$enable_stopwatch;
7043 if test "$enableval" = yes; then
7044 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7045 else
7046 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7047 fi
7048
7049 else
7050
7051 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7054 else
7055 no_cache=1
7056 fi
7057
7058 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7059
7060 fi
7061
7062
7063 eval "$ac_cv_use_stopwatch"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7066 fi
7067
7068 if test "$wxUSE_STOPWATCH" = yes; then
7069 { echo "$as_me:$LINENO: result: yes" >&5
7070 echo "${ECHO_T}yes" >&6; }
7071 else
7072 { echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6; }
7074 fi
7075
7076
7077 enablestring=
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7080 no_cache=0
7081 # Check whether --enable-streams was given.
7082 if test "${enable_streams+set}" = set; then
7083 enableval=$enable_streams;
7084 if test "$enableval" = yes; then
7085 ac_cv_use_streams='wxUSE_STREAMS=yes'
7086 else
7087 ac_cv_use_streams='wxUSE_STREAMS=no'
7088 fi
7089
7090 else
7091
7092 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x ; then
7094 eval "DEFAULT_$LINE"
7095 else
7096 no_cache=1
7097 fi
7098
7099 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7100
7101 fi
7102
7103
7104 eval "$ac_cv_use_streams"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7107 fi
7108
7109 if test "$wxUSE_STREAMS" = yes; then
7110 { echo "$as_me:$LINENO: result: yes" >&5
7111 echo "${ECHO_T}yes" >&6; }
7112 else
7113 { echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6; }
7115 fi
7116
7117
7118 enablestring=
7119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7120 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7121 no_cache=0
7122 # Check whether --enable-system_options was given.
7123 if test "${enable_system_options+set}" = set; then
7124 enableval=$enable_system_options;
7125 if test "$enableval" = yes; then
7126 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7127 else
7128 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7129 fi
7130
7131 else
7132
7133 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x ; then
7135 eval "DEFAULT_$LINE"
7136 else
7137 no_cache=1
7138 fi
7139
7140 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7141
7142 fi
7143
7144
7145 eval "$ac_cv_use_system_options"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7148 fi
7149
7150 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7151 { echo "$as_me:$LINENO: result: yes" >&5
7152 echo "${ECHO_T}yes" >&6; }
7153 else
7154 { echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6; }
7156 fi
7157
7158
7159 enablestring=
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7162 no_cache=0
7163 # Check whether --enable-tarstream was given.
7164 if test "${enable_tarstream+set}" = set; then
7165 enableval=$enable_tarstream;
7166 if test "$enableval" = yes; then
7167 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7168 else
7169 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7170 fi
7171
7172 else
7173
7174 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x ; then
7176 eval "DEFAULT_$LINE"
7177 else
7178 no_cache=1
7179 fi
7180
7181 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7182
7183 fi
7184
7185
7186 eval "$ac_cv_use_tarstream"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7189 fi
7190
7191 if test "$wxUSE_TARSTREAM" = yes; then
7192 { echo "$as_me:$LINENO: result: yes" >&5
7193 echo "${ECHO_T}yes" >&6; }
7194 else
7195 { echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6; }
7197 fi
7198
7199
7200 enablestring=
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7203 no_cache=0
7204 # Check whether --enable-textbuf was given.
7205 if test "${enable_textbuf+set}" = set; then
7206 enableval=$enable_textbuf;
7207 if test "$enableval" = yes; then
7208 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7209 else
7210 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7211 fi
7212
7213 else
7214
7215 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x ; then
7217 eval "DEFAULT_$LINE"
7218 else
7219 no_cache=1
7220 fi
7221
7222 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7223
7224 fi
7225
7226
7227 eval "$ac_cv_use_textbuf"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7230 fi
7231
7232 if test "$wxUSE_TEXTBUFFER" = yes; then
7233 { echo "$as_me:$LINENO: result: yes" >&5
7234 echo "${ECHO_T}yes" >&6; }
7235 else
7236 { echo "$as_me:$LINENO: result: no" >&5
7237 echo "${ECHO_T}no" >&6; }
7238 fi
7239
7240
7241 enablestring=
7242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7244 no_cache=0
7245 # Check whether --enable-textfile was given.
7246 if test "${enable_textfile+set}" = set; then
7247 enableval=$enable_textfile;
7248 if test "$enableval" = yes; then
7249 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7250 else
7251 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7252 fi
7253
7254 else
7255
7256 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x ; then
7258 eval "DEFAULT_$LINE"
7259 else
7260 no_cache=1
7261 fi
7262
7263 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7264
7265 fi
7266
7267
7268 eval "$ac_cv_use_textfile"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7271 fi
7272
7273 if test "$wxUSE_TEXTFILE" = yes; then
7274 { echo "$as_me:$LINENO: result: yes" >&5
7275 echo "${ECHO_T}yes" >&6; }
7276 else
7277 { echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6; }
7279 fi
7280
7281
7282 enablestring=
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7285 no_cache=0
7286 # Check whether --enable-timer was given.
7287 if test "${enable_timer+set}" = set; then
7288 enableval=$enable_timer;
7289 if test "$enableval" = yes; then
7290 ac_cv_use_timer='wxUSE_TIMER=yes'
7291 else
7292 ac_cv_use_timer='wxUSE_TIMER=no'
7293 fi
7294
7295 else
7296
7297 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7300 else
7301 no_cache=1
7302 fi
7303
7304 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7305
7306 fi
7307
7308
7309 eval "$ac_cv_use_timer"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7312 fi
7313
7314 if test "$wxUSE_TIMER" = yes; then
7315 { echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6; }
7317 else
7318 { echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6; }
7320 fi
7321
7322
7323 enablestring=
7324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7326 no_cache=0
7327 # Check whether --enable-unicode was given.
7328 if test "${enable_unicode+set}" = set; then
7329 enableval=$enable_unicode;
7330 if test "$enableval" = yes; then
7331 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7332 else
7333 ac_cv_use_unicode='wxUSE_UNICODE=no'
7334 fi
7335
7336 else
7337
7338 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
7339 if test "x$LINE" != x ; then
7340 eval "DEFAULT_$LINE"
7341 else
7342 no_cache=1
7343 fi
7344
7345 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7346
7347 fi
7348
7349
7350 eval "$ac_cv_use_unicode"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7353 fi
7354
7355 if test "$wxUSE_UNICODE" = yes; then
7356 { echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6; }
7358 else
7359 { echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6; }
7361 fi
7362
7363
7364 enablestring=
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7367 no_cache=0
7368 # Check whether --enable-sound was given.
7369 if test "${enable_sound+set}" = set; then
7370 enableval=$enable_sound;
7371 if test "$enableval" = yes; then
7372 ac_cv_use_sound='wxUSE_SOUND=yes'
7373 else
7374 ac_cv_use_sound='wxUSE_SOUND=no'
7375 fi
7376
7377 else
7378
7379 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x ; then
7381 eval "DEFAULT_$LINE"
7382 else
7383 no_cache=1
7384 fi
7385
7386 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7387
7388 fi
7389
7390
7391 eval "$ac_cv_use_sound"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7394 fi
7395
7396 if test "$wxUSE_SOUND" = yes; then
7397 { echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6; }
7399 else
7400 { echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6; }
7402 fi
7403
7404
7405 enablestring=
7406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7408 no_cache=0
7409 # Check whether --enable-mediactrl was given.
7410 if test "${enable_mediactrl+set}" = set; then
7411 enableval=$enable_mediactrl;
7412 if test "$enableval" = yes; then
7413 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7414 else
7415 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7416 fi
7417
7418 else
7419
7420 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7421 if test "x$LINE" != x ; then
7422 eval "DEFAULT_$LINE"
7423 else
7424 no_cache=1
7425 fi
7426
7427 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7428
7429 fi
7430
7431
7432 eval "$ac_cv_use_mediactrl"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7435 fi
7436
7437 if test "$wxUSE_MEDIACTRL" = yes; then
7438 { echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6; }
7440 else
7441 { echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6; }
7443 fi
7444
7445
7446 enablestring=
7447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7449 no_cache=0
7450 # Check whether --enable-gstreamer8 was given.
7451 if test "${enable_gstreamer8+set}" = set; then
7452 enableval=$enable_gstreamer8;
7453 if test "$enableval" = yes; then
7454 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7455 else
7456 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7457 fi
7458
7459 else
7460
7461 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7462 if test "x$LINE" != x ; then
7463 eval "DEFAULT_$LINE"
7464 else
7465 no_cache=1
7466 fi
7467
7468 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7469
7470 fi
7471
7472
7473 eval "$ac_cv_use_gstreamer8"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7476 fi
7477
7478 if test "$wxUSE_GSTREAMER8" = yes; then
7479 { echo "$as_me:$LINENO: result: yes" >&5
7480 echo "${ECHO_T}yes" >&6; }
7481 else
7482 { echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6; }
7484 fi
7485
7486
7487 enablestring=
7488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7490 no_cache=0
7491 # Check whether --enable-printfposparam was given.
7492 if test "${enable_printfposparam+set}" = set; then
7493 enableval=$enable_printfposparam;
7494 if test "$enableval" = yes; then
7495 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7496 else
7497 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7498 fi
7499
7500 else
7501
7502 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7503 if test "x$LINE" != x ; then
7504 eval "DEFAULT_$LINE"
7505 else
7506 no_cache=1
7507 fi
7508
7509 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7510
7511 fi
7512
7513
7514 eval "$ac_cv_use_printfposparam"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7517 fi
7518
7519 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7520 { echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6; }
7522 else
7523 { echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6; }
7525 fi
7526
7527
7528 enablestring=
7529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7531 no_cache=0
7532 # Check whether --enable-zipstream was given.
7533 if test "${enable_zipstream+set}" = set; then
7534 enableval=$enable_zipstream;
7535 if test "$enableval" = yes; then
7536 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7537 else
7538 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7539 fi
7540
7541 else
7542
7543 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x ; then
7545 eval "DEFAULT_$LINE"
7546 else
7547 no_cache=1
7548 fi
7549
7550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7551
7552 fi
7553
7554
7555 eval "$ac_cv_use_zipstream"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7558 fi
7559
7560 if test "$wxUSE_ZIPSTREAM" = yes; then
7561 { echo "$as_me:$LINENO: result: yes" >&5
7562 echo "${ECHO_T}yes" >&6; }
7563 else
7564 { echo "$as_me:$LINENO: result: no" >&5
7565 echo "${ECHO_T}no" >&6; }
7566 fi
7567
7568
7569
7570 enablestring=
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7573 no_cache=0
7574 # Check whether --enable-url was given.
7575 if test "${enable_url+set}" = set; then
7576 enableval=$enable_url;
7577 if test "$enableval" = yes; then
7578 ac_cv_use_url='wxUSE_URL=yes'
7579 else
7580 ac_cv_use_url='wxUSE_URL=no'
7581 fi
7582
7583 else
7584
7585 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x ; then
7587 eval "DEFAULT_$LINE"
7588 else
7589 no_cache=1
7590 fi
7591
7592 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7593
7594 fi
7595
7596
7597 eval "$ac_cv_use_url"
7598 if test "$no_cache" != 1; then
7599 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7600 fi
7601
7602 if test "$wxUSE_URL" = yes; then
7603 { echo "$as_me:$LINENO: result: yes" >&5
7604 echo "${ECHO_T}yes" >&6; }
7605 else
7606 { echo "$as_me:$LINENO: result: no" >&5
7607 echo "${ECHO_T}no" >&6; }
7608 fi
7609
7610
7611 enablestring=
7612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7613 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7614 no_cache=0
7615 # Check whether --enable-variant was given.
7616 if test "${enable_variant+set}" = set; then
7617 enableval=$enable_variant;
7618 if test "$enableval" = yes; then
7619 ac_cv_use_variant='wxUSE_VARIANT=yes'
7620 else
7621 ac_cv_use_variant='wxUSE_VARIANT=no'
7622 fi
7623
7624 else
7625
7626 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x ; then
7628 eval "DEFAULT_$LINE"
7629 else
7630 no_cache=1
7631 fi
7632
7633 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7634
7635 fi
7636
7637
7638 eval "$ac_cv_use_variant"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7641 fi
7642
7643 if test "$wxUSE_VARIANT" = yes; then
7644 { echo "$as_me:$LINENO: result: yes" >&5
7645 echo "${ECHO_T}yes" >&6; }
7646 else
7647 { echo "$as_me:$LINENO: result: no" >&5
7648 echo "${ECHO_T}no" >&6; }
7649 fi
7650
7651
7652 enablestring=
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7655 no_cache=0
7656 # Check whether --enable-protocol was given.
7657 if test "${enable_protocol+set}" = set; then
7658 enableval=$enable_protocol;
7659 if test "$enableval" = yes; then
7660 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7661 else
7662 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7663 fi
7664
7665 else
7666
7667 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x ; then
7669 eval "DEFAULT_$LINE"
7670 else
7671 no_cache=1
7672 fi
7673
7674 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7675
7676 fi
7677
7678
7679 eval "$ac_cv_use_protocol"
7680 if test "$no_cache" != 1; then
7681 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7682 fi
7683
7684 if test "$wxUSE_PROTOCOL" = yes; then
7685 { echo "$as_me:$LINENO: result: yes" >&5
7686 echo "${ECHO_T}yes" >&6; }
7687 else
7688 { echo "$as_me:$LINENO: result: no" >&5
7689 echo "${ECHO_T}no" >&6; }
7690 fi
7691
7692
7693 enablestring=
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7696 no_cache=0
7697 # Check whether --enable-protocol_http was given.
7698 if test "${enable_protocol_http+set}" = set; then
7699 enableval=$enable_protocol_http;
7700 if test "$enableval" = yes; then
7701 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7702 else
7703 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7704 fi
7705
7706 else
7707
7708 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7711 else
7712 no_cache=1
7713 fi
7714
7715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7716
7717 fi
7718
7719
7720 eval "$ac_cv_use_protocol_http"
7721 if test "$no_cache" != 1; then
7722 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7723 fi
7724
7725 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7726 { echo "$as_me:$LINENO: result: yes" >&5
7727 echo "${ECHO_T}yes" >&6; }
7728 else
7729 { echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6; }
7731 fi
7732
7733
7734 enablestring=
7735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7736 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7737 no_cache=0
7738 # Check whether --enable-protocol_ftp was given.
7739 if test "${enable_protocol_ftp+set}" = set; then
7740 enableval=$enable_protocol_ftp;
7741 if test "$enableval" = yes; then
7742 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7743 else
7744 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7745 fi
7746
7747 else
7748
7749 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x ; then
7751 eval "DEFAULT_$LINE"
7752 else
7753 no_cache=1
7754 fi
7755
7756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7757
7758 fi
7759
7760
7761 eval "$ac_cv_use_protocol_ftp"
7762 if test "$no_cache" != 1; then
7763 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7764 fi
7765
7766 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7767 { echo "$as_me:$LINENO: result: yes" >&5
7768 echo "${ECHO_T}yes" >&6; }
7769 else
7770 { echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6; }
7772 fi
7773
7774
7775 enablestring=
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7778 no_cache=0
7779 # Check whether --enable-protocol_file was given.
7780 if test "${enable_protocol_file+set}" = set; then
7781 enableval=$enable_protocol_file;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7784 else
7785 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7786 fi
7787
7788 else
7789
7790 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7793 else
7794 no_cache=1
7795 fi
7796
7797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7798
7799 fi
7800
7801
7802 eval "$ac_cv_use_protocol_file"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7805 fi
7806
7807 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7808 { echo "$as_me:$LINENO: result: yes" >&5
7809 echo "${ECHO_T}yes" >&6; }
7810 else
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7813 fi
7814
7815
7816
7817
7818
7819 enablestring=
7820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7821 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7822 no_cache=0
7823 # Check whether --enable-threads was given.
7824 if test "${enable_threads+set}" = set; then
7825 enableval=$enable_threads;
7826 if test "$enableval" = yes; then
7827 ac_cv_use_threads='wxUSE_THREADS=yes'
7828 else
7829 ac_cv_use_threads='wxUSE_THREADS=no'
7830 fi
7831
7832 else
7833
7834 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
7835 if test "x$LINE" != x ; then
7836 eval "DEFAULT_$LINE"
7837 else
7838 no_cache=1
7839 fi
7840
7841 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7842
7843 fi
7844
7845
7846 eval "$ac_cv_use_threads"
7847 if test "$no_cache" != 1; then
7848 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7849 fi
7850
7851 if test "$wxUSE_THREADS" = yes; then
7852 { echo "$as_me:$LINENO: result: yes" >&5
7853 echo "${ECHO_T}yes" >&6; }
7854 else
7855 { echo "$as_me:$LINENO: result: no" >&5
7856 echo "${ECHO_T}no" >&6; }
7857 fi
7858
7859
7860 if test "$wxUSE_GUI" = "yes"; then
7861
7862
7863
7864 enablestring=
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7867 no_cache=0
7868 # Check whether --enable-docview was given.
7869 if test "${enable_docview+set}" = set; then
7870 enableval=$enable_docview;
7871 if test "$enableval" = yes; then
7872 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7873 else
7874 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7875 fi
7876
7877 else
7878
7879 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7882 else
7883 no_cache=1
7884 fi
7885
7886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7887
7888 fi
7889
7890
7891 eval "$ac_cv_use_docview"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7894 fi
7895
7896 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7897 { echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6; }
7899 else
7900 { echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6; }
7902 fi
7903
7904
7905 enablestring=
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7908 no_cache=0
7909 # Check whether --enable-help was given.
7910 if test "${enable_help+set}" = set; then
7911 enableval=$enable_help;
7912 if test "$enableval" = yes; then
7913 ac_cv_use_help='wxUSE_HELP=yes'
7914 else
7915 ac_cv_use_help='wxUSE_HELP=no'
7916 fi
7917
7918 else
7919
7920 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7923 else
7924 no_cache=1
7925 fi
7926
7927 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7928
7929 fi
7930
7931
7932 eval "$ac_cv_use_help"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test "$wxUSE_HELP" = yes; then
7938 { echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6; }
7940 else
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7943 fi
7944
7945
7946 enablestring=
7947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7949 no_cache=0
7950 # Check whether --enable-mshtmlhelp was given.
7951 if test "${enable_mshtmlhelp+set}" = set; then
7952 enableval=$enable_mshtmlhelp;
7953 if test "$enableval" = yes; then
7954 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7955 else
7956 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7957 fi
7958
7959 else
7960
7961 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7964 else
7965 no_cache=1
7966 fi
7967
7968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7969
7970 fi
7971
7972
7973 eval "$ac_cv_use_mshtmlhelp"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7976 fi
7977
7978 if test "$wxUSE_MS_HTML_HELP" = yes; then
7979 { echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6; }
7981 else
7982 { echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6; }
7984 fi
7985
7986
7987 enablestring=
7988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7990 no_cache=0
7991 # Check whether --enable-html was given.
7992 if test "${enable_html+set}" = set; then
7993 enableval=$enable_html;
7994 if test "$enableval" = yes; then
7995 ac_cv_use_html='wxUSE_HTML=yes'
7996 else
7997 ac_cv_use_html='wxUSE_HTML=no'
7998 fi
7999
8000 else
8001
8002 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8005 else
8006 no_cache=1
8007 fi
8008
8009 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
8010
8011 fi
8012
8013
8014 eval "$ac_cv_use_html"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
8017 fi
8018
8019 if test "$wxUSE_HTML" = yes; then
8020 { echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6; }
8022 else
8023 { echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6; }
8025 fi
8026
8027
8028 enablestring=
8029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8031 no_cache=0
8032 # Check whether --enable-htmlhelp was given.
8033 if test "${enable_htmlhelp+set}" = set; then
8034 enableval=$enable_htmlhelp;
8035 if test "$enableval" = yes; then
8036 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8037 else
8038 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8039 fi
8040
8041 else
8042
8043 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8046 else
8047 no_cache=1
8048 fi
8049
8050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8051
8052 fi
8053
8054
8055 eval "$ac_cv_use_htmlhelp"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8058 fi
8059
8060 if test "$wxUSE_WXHTML_HELP" = yes; then
8061 { echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6; }
8063 else
8064 { echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6; }
8066 fi
8067
8068
8069 enablestring=
8070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8072 no_cache=0
8073 # Check whether --enable-xrc was given.
8074 if test "${enable_xrc+set}" = set; then
8075 enableval=$enable_xrc;
8076 if test "$enableval" = yes; then
8077 ac_cv_use_xrc='wxUSE_XRC=yes'
8078 else
8079 ac_cv_use_xrc='wxUSE_XRC=no'
8080 fi
8081
8082 else
8083
8084 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 else
8088 no_cache=1
8089 fi
8090
8091 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8092
8093 fi
8094
8095
8096 eval "$ac_cv_use_xrc"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8099 fi
8100
8101 if test "$wxUSE_XRC" = yes; then
8102 { echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6; }
8104 else
8105 { echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6; }
8107 fi
8108
8109
8110 enablestring=
8111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8113 no_cache=0
8114 # Check whether --enable-aui was given.
8115 if test "${enable_aui+set}" = set; then
8116 enableval=$enable_aui;
8117 if test "$enableval" = yes; then
8118 ac_cv_use_aui='wxUSE_AUI=yes'
8119 else
8120 ac_cv_use_aui='wxUSE_AUI=no'
8121 fi
8122
8123 else
8124
8125 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8128 else
8129 no_cache=1
8130 fi
8131
8132 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8133
8134 fi
8135
8136
8137 eval "$ac_cv_use_aui"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8140 fi
8141
8142 if test "$wxUSE_AUI" = yes; then
8143 { echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6; }
8145 else
8146 { echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6; }
8148 fi
8149
8150
8151 enablestring=
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8154 no_cache=0
8155 # Check whether --enable-stc was given.
8156 if test "${enable_stc+set}" = set; then
8157 enableval=$enable_stc;
8158 if test "$enableval" = yes; then
8159 ac_cv_use_stc='wxUSE_STC=yes'
8160 else
8161 ac_cv_use_stc='wxUSE_STC=no'
8162 fi
8163
8164 else
8165
8166 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8169 else
8170 no_cache=1
8171 fi
8172
8173 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8174
8175 fi
8176
8177
8178 eval "$ac_cv_use_stc"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test "$wxUSE_STC" = yes; then
8184 { echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6; }
8186 else
8187 { echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6; }
8189 fi
8190
8191
8192 enablestring=
8193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8195 no_cache=0
8196 # Check whether --enable-constraints was given.
8197 if test "${enable_constraints+set}" = set; then
8198 enableval=$enable_constraints;
8199 if test "$enableval" = yes; then
8200 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8201 else
8202 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8203 fi
8204
8205 else
8206
8207 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8210 else
8211 no_cache=1
8212 fi
8213
8214 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8215
8216 fi
8217
8218
8219 eval "$ac_cv_use_constraints"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8222 fi
8223
8224 if test "$wxUSE_CONSTRAINTS" = yes; then
8225 { echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6; }
8227 else
8228 { echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6; }
8230 fi
8231
8232
8233 enablestring=
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8236 no_cache=0
8237 # Check whether --enable-printarch was given.
8238 if test "${enable_printarch+set}" = set; then
8239 enableval=$enable_printarch;
8240 if test "$enableval" = yes; then
8241 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8242 else
8243 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8244 fi
8245
8246 else
8247
8248 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8251 else
8252 no_cache=1
8253 fi
8254
8255 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8256
8257 fi
8258
8259
8260 eval "$ac_cv_use_printarch"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8266 { echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6; }
8268 else
8269 { echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6; }
8271 fi
8272
8273
8274 enablestring=
8275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8277 no_cache=0
8278 # Check whether --enable-mdi was given.
8279 if test "${enable_mdi+set}" = set; then
8280 enableval=$enable_mdi;
8281 if test "$enableval" = yes; then
8282 ac_cv_use_mdi='wxUSE_MDI=yes'
8283 else
8284 ac_cv_use_mdi='wxUSE_MDI=no'
8285 fi
8286
8287 else
8288
8289 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8292 else
8293 no_cache=1
8294 fi
8295
8296 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8297
8298 fi
8299
8300
8301 eval "$ac_cv_use_mdi"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8304 fi
8305
8306 if test "$wxUSE_MDI" = yes; then
8307 { echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6; }
8309 else
8310 { echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6; }
8312 fi
8313
8314
8315 enablestring=
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8318 no_cache=0
8319 # Check whether --enable-mdidoc was given.
8320 if test "${enable_mdidoc+set}" = set; then
8321 enableval=$enable_mdidoc;
8322 if test "$enableval" = yes; then
8323 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8324 else
8325 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8326 fi
8327
8328 else
8329
8330 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8333 else
8334 no_cache=1
8335 fi
8336
8337 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8338
8339 fi
8340
8341
8342 eval "$ac_cv_use_mdidoc"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8348 { echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6; }
8350 else
8351 { echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6; }
8353 fi
8354
8355
8356 enablestring=
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8359 no_cache=0
8360 # Check whether --enable-loggui was given.
8361 if test "${enable_loggui+set}" = set; then
8362 enableval=$enable_loggui;
8363 if test "$enableval" = yes; then
8364 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8365 else
8366 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8367 fi
8368
8369 else
8370
8371 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8374 else
8375 no_cache=1
8376 fi
8377
8378 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8379
8380 fi
8381
8382
8383 eval "$ac_cv_use_loggui"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_LOGGUI" = yes; then
8389 { echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6; }
8391 else
8392 { echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6; }
8394 fi
8395
8396
8397 enablestring=
8398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8400 no_cache=0
8401 # Check whether --enable-logwin was given.
8402 if test "${enable_logwin+set}" = set; then
8403 enableval=$enable_logwin;
8404 if test "$enableval" = yes; then
8405 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8406 else
8407 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8408 fi
8409
8410 else
8411
8412 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8413 if test "x$LINE" != x ; then
8414 eval "DEFAULT_$LINE"
8415 else
8416 no_cache=1
8417 fi
8418
8419 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8420
8421 fi
8422
8423
8424 eval "$ac_cv_use_logwin"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_LOGWINDOW" = yes; then
8430 { echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6; }
8432 else
8433 { echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6; }
8435 fi
8436
8437
8438 enablestring=
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8441 no_cache=0
8442 # Check whether --enable-logdialog was given.
8443 if test "${enable_logdialog+set}" = set; then
8444 enableval=$enable_logdialog;
8445 if test "$enableval" = yes; then
8446 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8447 else
8448 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8449 fi
8450
8451 else
8452
8453 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8454 if test "x$LINE" != x ; then
8455 eval "DEFAULT_$LINE"
8456 else
8457 no_cache=1
8458 fi
8459
8460 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8461
8462 fi
8463
8464
8465 eval "$ac_cv_use_logdialog"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8468 fi
8469
8470 if test "$wxUSE_LOGDIALOG" = yes; then
8471 { echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6; }
8473 else
8474 { echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6; }
8476 fi
8477
8478
8479 enablestring=
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8482 no_cache=0
8483 # Check whether --enable-webkit was given.
8484 if test "${enable_webkit+set}" = set; then
8485 enableval=$enable_webkit;
8486 if test "$enableval" = yes; then
8487 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8488 else
8489 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8490 fi
8491
8492 else
8493
8494 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8495 if test "x$LINE" != x ; then
8496 eval "DEFAULT_$LINE"
8497 else
8498 no_cache=1
8499 fi
8500
8501 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8502
8503 fi
8504
8505
8506 eval "$ac_cv_use_webkit"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8509 fi
8510
8511 if test "$wxUSE_WEBKIT" = yes; then
8512 { echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6; }
8514 else
8515 { echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6; }
8517 fi
8518
8519
8520 enablestring=
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8523 no_cache=0
8524 # Check whether --enable-richtext was given.
8525 if test "${enable_richtext+set}" = set; then
8526 enableval=$enable_richtext;
8527 if test "$enableval" = yes; then
8528 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8529 else
8530 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8531 fi
8532
8533 else
8534
8535 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x ; then
8537 eval "DEFAULT_$LINE"
8538 else
8539 no_cache=1
8540 fi
8541
8542 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8543
8544 fi
8545
8546
8547 eval "$ac_cv_use_richtext"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8550 fi
8551
8552 if test "$wxUSE_RICHTEXT" = yes; then
8553 { echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6; }
8555 else
8556 { echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6; }
8558 fi
8559
8560
8561 enablestring=
8562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8564 no_cache=0
8565 # Check whether --enable-graphics_ctx was given.
8566 if test "${enable_graphics_ctx+set}" = set; then
8567 enableval=$enable_graphics_ctx;
8568 if test "$enableval" = yes; then
8569 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8570 else
8571 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8572 fi
8573
8574 else
8575
8576 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
8577 if test "x$LINE" != x ; then
8578 eval "DEFAULT_$LINE"
8579 else
8580 no_cache=1
8581 fi
8582
8583 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8584
8585 fi
8586
8587
8588 eval "$ac_cv_use_graphics_ctx"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8591 fi
8592
8593 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8594 { echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6; }
8596 else
8597 { echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6; }
8599 fi
8600
8601
8602
8603 enablestring=
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8606 no_cache=0
8607 # Check whether --enable-postscript was given.
8608 if test "${enable_postscript+set}" = set; then
8609 enableval=$enable_postscript;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8612 else
8613 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8621 else
8622 no_cache=1
8623 fi
8624
8625 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8626
8627 fi
8628
8629
8630 eval "$ac_cv_use_postscript"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_POSTSCRIPT" = yes; then
8636 { echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6; }
8638 else
8639 { echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6; }
8641 fi
8642
8643
8644
8645
8646
8647 enablestring=
8648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8650 no_cache=0
8651 # Check whether --enable-clipboard was given.
8652 if test "${enable_clipboard+set}" = set; then
8653 enableval=$enable_clipboard;
8654 if test "$enableval" = yes; then
8655 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8656 else
8657 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8658 fi
8659
8660 else
8661
8662 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x ; then
8664 eval "DEFAULT_$LINE"
8665 else
8666 no_cache=1
8667 fi
8668
8669 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8670
8671 fi
8672
8673
8674 eval "$ac_cv_use_clipboard"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8677 fi
8678
8679 if test "$wxUSE_CLIPBOARD" = yes; then
8680 { echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6; }
8682 else
8683 { echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6; }
8685 fi
8686
8687
8688 enablestring=
8689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8691 no_cache=0
8692 # Check whether --enable-dnd was given.
8693 if test "${enable_dnd+set}" = set; then
8694 enableval=$enable_dnd;
8695 if test "$enableval" = yes; then
8696 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8697 else
8698 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8699 fi
8700
8701 else
8702
8703 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x ; then
8705 eval "DEFAULT_$LINE"
8706 else
8707 no_cache=1
8708 fi
8709
8710 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8711
8712 fi
8713
8714
8715 eval "$ac_cv_use_dnd"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8718 fi
8719
8720 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8721 { echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6; }
8723 else
8724 { echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6; }
8726 fi
8727
8728
8729 enablestring=
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8732 no_cache=0
8733 # Check whether --enable-metafile was given.
8734 if test "${enable_metafile+set}" = set; then
8735 enableval=$enable_metafile;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8738 else
8739 ac_cv_use_metafile='wxUSE_METAFILE=no'
8740 fi
8741
8742 else
8743
8744 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x ; then
8746 eval "DEFAULT_$LINE"
8747 else
8748 no_cache=1
8749 fi
8750
8751 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8752
8753 fi
8754
8755
8756 eval "$ac_cv_use_metafile"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_METAFILE" = yes; then
8762 { echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6; }
8764 else
8765 { echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6; }
8767 fi
8768
8769
8770
8771
8772
8773 enablestring=
8774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8776 no_cache=0
8777 # Check whether --enable-controls was given.
8778 if test "${enable_controls+set}" = set; then
8779 enableval=$enable_controls;
8780 if test "$enableval" = yes; then
8781 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8782 else
8783 ac_cv_use_controls='wxUSE_CONTROLS=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8796
8797 fi
8798
8799
8800 eval "$ac_cv_use_controls"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_CONTROLS" = yes; then
8806 { echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6; }
8808 else
8809 { echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6; }
8811 fi
8812
8813
8814 if test "$wxUSE_CONTROLS" = "yes"; then
8815 DEFAULT_wxUSE_ACCEL=yes
8816 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8817 DEFAULT_wxUSE_BMPBUTTON=yes
8818 DEFAULT_wxUSE_BUTTON=yes
8819 DEFAULT_wxUSE_CALCTRL=yes
8820 DEFAULT_wxUSE_CARET=yes
8821 DEFAULT_wxUSE_COMBOBOX=yes
8822 DEFAULT_wxUSE_CHECKBOX=yes
8823 DEFAULT_wxUSE_CHECKLISTBOX=yes
8824 DEFAULT_wxUSE_CHOICE=yes
8825 DEFAULT_wxUSE_CHOICEBOOK=yes
8826 DEFAULT_wxUSE_COLLPANE=yes
8827 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8828 DEFAULT_wxUSE_COMBOBOX=yes
8829 DEFAULT_wxUSE_DATEPICKCTRL=yes
8830 DEFAULT_wxUSE_DISPLAY=yes
8831 DEFAULT_wxUSE_DETECT_SM=yes
8832 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8833 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8834 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8835 DEFAULT_wxUSE_GAUGE=yes
8836 DEFAULT_wxUSE_GRID=yes
8837 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8838 DEFAULT_wxUSE_DATAVIEWCTRL=no
8839 DEFAULT_wxUSE_IMAGLIST=yes
8840 DEFAULT_wxUSE_LISTBOOK=yes
8841 DEFAULT_wxUSE_LISTBOX=yes
8842 DEFAULT_wxUSE_LISTCTRL=yes
8843 DEFAULT_wxUSE_NOTEBOOK=yes
8844 DEFAULT_wxUSE_RADIOBOX=yes
8845 DEFAULT_wxUSE_RADIOBTN=yes
8846 DEFAULT_wxUSE_SASH=yes
8847 DEFAULT_wxUSE_SCROLLBAR=yes
8848 DEFAULT_wxUSE_SEARCHCTRL=yes
8849 DEFAULT_wxUSE_SLIDER=yes
8850 DEFAULT_wxUSE_SPINBTN=yes
8851 DEFAULT_wxUSE_SPINCTRL=yes
8852 DEFAULT_wxUSE_SPLITTER=yes
8853 DEFAULT_wxUSE_STATBMP=yes
8854 DEFAULT_wxUSE_STATBOX=yes
8855 DEFAULT_wxUSE_STATLINE=yes
8856 DEFAULT_wxUSE_STATUSBAR=yes
8857 DEFAULT_wxUSE_TAB_DIALOG=yes
8858 DEFAULT_wxUSE_TOGGLEBTN=yes
8859 DEFAULT_wxUSE_TOOLBAR=yes
8860 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8861 DEFAULT_wxUSE_TOOLTIPS=yes
8862 DEFAULT_wxUSE_TREEBOOK=yes
8863 DEFAULT_wxUSE_TOOLBOOK=yes
8864 DEFAULT_wxUSE_TREECTRL=yes
8865 DEFAULT_wxUSE_POPUPWIN=yes
8866 DEFAULT_wxUSE_TIPWINDOW=yes
8867 elif test "$wxUSE_CONTROLS" = "no"; then
8868 DEFAULT_wxUSE_ACCEL=no
8869 DEFAULT_wxUSE_ANIMATIONCTRL=no
8870 DEFAULT_wxUSE_BMPBUTTON=no
8871 DEFAULT_wxUSE_BUTTON=no
8872 DEFAULT_wxUSE_CALCTRL=no
8873 DEFAULT_wxUSE_CARET=no
8874 DEFAULT_wxUSE_COLLPANE=no
8875 DEFAULT_wxUSE_COMBOBOX=no
8876 DEFAULT_wxUSE_CHECKBOX=no
8877 DEFAULT_wxUSE_CHECKLISTBOX=no
8878 DEFAULT_wxUSE_CHOICE=no
8879 DEFAULT_wxUSE_CHOICEBOOK=no
8880 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8881 DEFAULT_wxUSE_COMBOBOX=no
8882 DEFAULT_wxUSE_DATEPICKCTRL=no
8883 DEFAULT_wxUSE_DISPLAY=no
8884 DEFAULT_wxUSE_DETECT_SM=no
8885 DEFAULT_wxUSE_DIRPICKERCTRL=no
8886 DEFAULT_wxUSE_FILEPICKERCTRL=no
8887 DEFAULT_wxUSE_FONTPICKERCTRL=no
8888 DEFAULT_wxUSE_GAUGE=no
8889 DEFAULT_wxUSE_GRID=no
8890 DEFAULT_wxUSE_HYPERLINKCTRL=no
8891 DEFAULT_wxUSE_DATAVIEWCTRL=no
8892 DEFAULT_wxUSE_IMAGLIST=no
8893 DEFAULT_wxUSE_LISTBOOK=no
8894 DEFAULT_wxUSE_LISTBOX=no
8895 DEFAULT_wxUSE_LISTCTRL=no
8896 DEFAULT_wxUSE_NOTEBOOK=no
8897 DEFAULT_wxUSE_RADIOBOX=no
8898 DEFAULT_wxUSE_RADIOBTN=no
8899 DEFAULT_wxUSE_SASH=no
8900 DEFAULT_wxUSE_SCROLLBAR=no
8901 DEFAULT_wxUSE_SEARCHCTRL=no
8902 DEFAULT_wxUSE_SLIDER=no
8903 DEFAULT_wxUSE_SPINBTN=no
8904 DEFAULT_wxUSE_SPINCTRL=no
8905 DEFAULT_wxUSE_SPLITTER=no
8906 DEFAULT_wxUSE_STATBMP=no
8907 DEFAULT_wxUSE_STATBOX=no
8908 DEFAULT_wxUSE_STATLINE=no
8909 DEFAULT_wxUSE_STATUSBAR=no
8910 DEFAULT_wxUSE_TAB_DIALOG=no
8911 DEFAULT_wxUSE_TOGGLEBTN=no
8912 DEFAULT_wxUSE_TOOLBAR=no
8913 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8914 DEFAULT_wxUSE_TOOLTIPS=no
8915 DEFAULT_wxUSE_TREEBOOK=no
8916 DEFAULT_wxUSE_TOOLBOOK=no
8917 DEFAULT_wxUSE_TREECTRL=no
8918 DEFAULT_wxUSE_POPUPWIN=no
8919 DEFAULT_wxUSE_TIPWINDOW=no
8920 fi
8921
8922
8923 enablestring=
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8926 no_cache=0
8927 # Check whether --enable-accel was given.
8928 if test "${enable_accel+set}" = set; then
8929 enableval=$enable_accel;
8930 if test "$enableval" = yes; then
8931 ac_cv_use_accel='wxUSE_ACCEL=yes'
8932 else
8933 ac_cv_use_accel='wxUSE_ACCEL=no'
8934 fi
8935
8936 else
8937
8938 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8941 else
8942 no_cache=1
8943 fi
8944
8945 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8946
8947 fi
8948
8949
8950 eval "$ac_cv_use_accel"
8951 if test "$no_cache" != 1; then
8952 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8953 fi
8954
8955 if test "$wxUSE_ACCEL" = yes; then
8956 { echo "$as_me:$LINENO: result: yes" >&5
8957 echo "${ECHO_T}yes" >&6; }
8958 else
8959 { echo "$as_me:$LINENO: result: no" >&5
8960 echo "${ECHO_T}no" >&6; }
8961 fi
8962
8963
8964 enablestring=
8965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8967 no_cache=0
8968 # Check whether --enable-animatectrl was given.
8969 if test "${enable_animatectrl+set}" = set; then
8970 enableval=$enable_animatectrl;
8971 if test "$enableval" = yes; then
8972 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8973 else
8974 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8975 fi
8976
8977 else
8978
8979 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8982 else
8983 no_cache=1
8984 fi
8985
8986 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8987
8988 fi
8989
8990
8991 eval "$ac_cv_use_animatectrl"
8992 if test "$no_cache" != 1; then
8993 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8994 fi
8995
8996 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8997 { echo "$as_me:$LINENO: result: yes" >&5
8998 echo "${ECHO_T}yes" >&6; }
8999 else
9000 { echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6; }
9002 fi
9003
9004
9005 enablestring=
9006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9008 no_cache=0
9009 # Check whether --enable-button was given.
9010 if test "${enable_button+set}" = set; then
9011 enableval=$enable_button;
9012 if test "$enableval" = yes; then
9013 ac_cv_use_button='wxUSE_BUTTON=yes'
9014 else
9015 ac_cv_use_button='wxUSE_BUTTON=no'
9016 fi
9017
9018 else
9019
9020 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9023 else
9024 no_cache=1
9025 fi
9026
9027 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
9028
9029 fi
9030
9031
9032 eval "$ac_cv_use_button"
9033 if test "$no_cache" != 1; then
9034 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
9035 fi
9036
9037 if test "$wxUSE_BUTTON" = yes; then
9038 { echo "$as_me:$LINENO: result: yes" >&5
9039 echo "${ECHO_T}yes" >&6; }
9040 else
9041 { echo "$as_me:$LINENO: result: no" >&5
9042 echo "${ECHO_T}no" >&6; }
9043 fi
9044
9045
9046 enablestring=
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9049 no_cache=0
9050 # Check whether --enable-bmpbutton was given.
9051 if test "${enable_bmpbutton+set}" = set; then
9052 enableval=$enable_bmpbutton;
9053 if test "$enableval" = yes; then
9054 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9055 else
9056 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9057 fi
9058
9059 else
9060
9061 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9064 else
9065 no_cache=1
9066 fi
9067
9068 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9069
9070 fi
9071
9072
9073 eval "$ac_cv_use_bmpbutton"
9074 if test "$no_cache" != 1; then
9075 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9076 fi
9077
9078 if test "$wxUSE_BMPBUTTON" = yes; then
9079 { echo "$as_me:$LINENO: result: yes" >&5
9080 echo "${ECHO_T}yes" >&6; }
9081 else
9082 { echo "$as_me:$LINENO: result: no" >&5
9083 echo "${ECHO_T}no" >&6; }
9084 fi
9085
9086
9087 enablestring=
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9090 no_cache=0
9091 # Check whether --enable-bmpcombobox was given.
9092 if test "${enable_bmpcombobox+set}" = set; then
9093 enableval=$enable_bmpcombobox;
9094 if test "$enableval" = yes; then
9095 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9096 else
9097 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9098 fi
9099
9100 else
9101
9102 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9105 else
9106 no_cache=1
9107 fi
9108
9109 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9110
9111 fi
9112
9113
9114 eval "$ac_cv_use_bmpcombobox"
9115 if test "$no_cache" != 1; then
9116 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9117 fi
9118
9119 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9120 { echo "$as_me:$LINENO: result: yes" >&5
9121 echo "${ECHO_T}yes" >&6; }
9122 else
9123 { echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6; }
9125 fi
9126
9127
9128 enablestring=
9129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9131 no_cache=0
9132 # Check whether --enable-calendar was given.
9133 if test "${enable_calendar+set}" = set; then
9134 enableval=$enable_calendar;
9135 if test "$enableval" = yes; then
9136 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9137 else
9138 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9139 fi
9140
9141 else
9142
9143 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9146 else
9147 no_cache=1
9148 fi
9149
9150 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9151
9152 fi
9153
9154
9155 eval "$ac_cv_use_calendar"
9156 if test "$no_cache" != 1; then
9157 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9158 fi
9159
9160 if test "$wxUSE_CALCTRL" = yes; then
9161 { echo "$as_me:$LINENO: result: yes" >&5
9162 echo "${ECHO_T}yes" >&6; }
9163 else
9164 { echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6; }
9166 fi
9167
9168
9169 enablestring=
9170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9172 no_cache=0
9173 # Check whether --enable-caret was given.
9174 if test "${enable_caret+set}" = set; then
9175 enableval=$enable_caret;
9176 if test "$enableval" = yes; then
9177 ac_cv_use_caret='wxUSE_CARET=yes'
9178 else
9179 ac_cv_use_caret='wxUSE_CARET=no'
9180 fi
9181
9182 else
9183
9184 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9187 else
9188 no_cache=1
9189 fi
9190
9191 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9192
9193 fi
9194
9195
9196 eval "$ac_cv_use_caret"
9197 if test "$no_cache" != 1; then
9198 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9199 fi
9200
9201 if test "$wxUSE_CARET" = yes; then
9202 { echo "$as_me:$LINENO: result: yes" >&5
9203 echo "${ECHO_T}yes" >&6; }
9204 else
9205 { echo "$as_me:$LINENO: result: no" >&5
9206 echo "${ECHO_T}no" >&6; }
9207 fi
9208
9209
9210 enablestring=
9211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9213 no_cache=0
9214 # Check whether --enable-checkbox was given.
9215 if test "${enable_checkbox+set}" = set; then
9216 enableval=$enable_checkbox;
9217 if test "$enableval" = yes; then
9218 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9219 else
9220 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9221 fi
9222
9223 else
9224
9225 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9228 else
9229 no_cache=1
9230 fi
9231
9232 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9233
9234 fi
9235
9236
9237 eval "$ac_cv_use_checkbox"
9238 if test "$no_cache" != 1; then
9239 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9240 fi
9241
9242 if test "$wxUSE_CHECKBOX" = yes; then
9243 { echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6; }
9245 else
9246 { echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6; }
9248 fi
9249
9250
9251 enablestring=
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9254 no_cache=0
9255 # Check whether --enable-checklst was given.
9256 if test "${enable_checklst+set}" = set; then
9257 enableval=$enable_checklst;
9258 if test "$enableval" = yes; then
9259 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9260 else
9261 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9262 fi
9263
9264 else
9265
9266 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9269 else
9270 no_cache=1
9271 fi
9272
9273 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9274
9275 fi
9276
9277
9278 eval "$ac_cv_use_checklst"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9281 fi
9282
9283 if test "$wxUSE_CHECKLST" = yes; then
9284 { echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6; }
9286 else
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9289 fi
9290
9291
9292 enablestring=
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9295 no_cache=0
9296 # Check whether --enable-choice was given.
9297 if test "${enable_choice+set}" = set; then
9298 enableval=$enable_choice;
9299 if test "$enableval" = yes; then
9300 ac_cv_use_choice='wxUSE_CHOICE=yes'
9301 else
9302 ac_cv_use_choice='wxUSE_CHOICE=no'
9303 fi
9304
9305 else
9306
9307 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9310 else
9311 no_cache=1
9312 fi
9313
9314 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9315
9316 fi
9317
9318
9319 eval "$ac_cv_use_choice"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9322 fi
9323
9324 if test "$wxUSE_CHOICE" = yes; then
9325 { echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6; }
9327 else
9328 { echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6; }
9330 fi
9331
9332
9333 enablestring=
9334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9336 no_cache=0
9337 # Check whether --enable-choicebook was given.
9338 if test "${enable_choicebook+set}" = set; then
9339 enableval=$enable_choicebook;
9340 if test "$enableval" = yes; then
9341 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9342 else
9343 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9344 fi
9345
9346 else
9347
9348 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
9349 if test "x$LINE" != x ; then
9350 eval "DEFAULT_$LINE"
9351 else
9352 no_cache=1
9353 fi
9354
9355 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9356
9357 fi
9358
9359
9360 eval "$ac_cv_use_choicebook"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9363 fi
9364
9365 if test "$wxUSE_CHOICEBOOK" = yes; then
9366 { echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6; }
9368 else
9369 { echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6; }
9371 fi
9372
9373
9374 enablestring=
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9377 no_cache=0
9378 # Check whether --enable-collpane was given.
9379 if test "${enable_collpane+set}" = set; then
9380 enableval=$enable_collpane;
9381 if test "$enableval" = yes; then
9382 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9383 else
9384 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9385 fi
9386
9387 else
9388
9389 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
9390 if test "x$LINE" != x ; then
9391 eval "DEFAULT_$LINE"
9392 else
9393 no_cache=1
9394 fi
9395
9396 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9397
9398 fi
9399
9400
9401 eval "$ac_cv_use_collpane"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9404 fi
9405
9406 if test "$wxUSE_COLLPANE" = yes; then
9407 { echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6; }
9409 else
9410 { echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6; }
9412 fi
9413
9414
9415 enablestring=
9416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9418 no_cache=0
9419 # Check whether --enable-colourpicker was given.
9420 if test "${enable_colourpicker+set}" = set; then
9421 enableval=$enable_colourpicker;
9422 if test "$enableval" = yes; then
9423 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9424 else
9425 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9426 fi
9427
9428 else
9429
9430 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
9431 if test "x$LINE" != x ; then
9432 eval "DEFAULT_$LINE"
9433 else
9434 no_cache=1
9435 fi
9436
9437 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9438
9439 fi
9440
9441
9442 eval "$ac_cv_use_colourpicker"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9445 fi
9446
9447 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9448 { echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6; }
9450 else
9451 { echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6; }
9453 fi
9454
9455
9456 enablestring=
9457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9459 no_cache=0
9460 # Check whether --enable-combobox was given.
9461 if test "${enable_combobox+set}" = set; then
9462 enableval=$enable_combobox;
9463 if test "$enableval" = yes; then
9464 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9465 else
9466 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9467 fi
9468
9469 else
9470
9471 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
9472 if test "x$LINE" != x ; then
9473 eval "DEFAULT_$LINE"
9474 else
9475 no_cache=1
9476 fi
9477
9478 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9479
9480 fi
9481
9482
9483 eval "$ac_cv_use_combobox"
9484 if test "$no_cache" != 1; then
9485 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9486 fi
9487
9488 if test "$wxUSE_COMBOBOX" = yes; then
9489 { echo "$as_me:$LINENO: result: yes" >&5
9490 echo "${ECHO_T}yes" >&6; }
9491 else
9492 { echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6; }
9494 fi
9495
9496
9497 enablestring=
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9500 no_cache=0
9501 # Check whether --enable-comboctrl was given.
9502 if test "${enable_comboctrl+set}" = set; then
9503 enableval=$enable_comboctrl;
9504 if test "$enableval" = yes; then
9505 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9506 else
9507 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9508 fi
9509
9510 else
9511
9512 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
9513 if test "x$LINE" != x ; then
9514 eval "DEFAULT_$LINE"
9515 else
9516 no_cache=1
9517 fi
9518
9519 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9520
9521 fi
9522
9523
9524 eval "$ac_cv_use_comboctrl"
9525 if test "$no_cache" != 1; then
9526 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9527 fi
9528
9529 if test "$wxUSE_COMBOCTRL" = yes; then
9530 { echo "$as_me:$LINENO: result: yes" >&5
9531 echo "${ECHO_T}yes" >&6; }
9532 else
9533 { echo "$as_me:$LINENO: result: no" >&5
9534 echo "${ECHO_T}no" >&6; }
9535 fi
9536
9537
9538 enablestring=
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9541 no_cache=0
9542 # Check whether --enable-datepick was given.
9543 if test "${enable_datepick+set}" = set; then
9544 enableval=$enable_datepick;
9545 if test "$enableval" = yes; then
9546 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9547 else
9548 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9549 fi
9550
9551 else
9552
9553 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
9554 if test "x$LINE" != x ; then
9555 eval "DEFAULT_$LINE"
9556 else
9557 no_cache=1
9558 fi
9559
9560 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9561
9562 fi
9563
9564
9565 eval "$ac_cv_use_datepick"
9566 if test "$no_cache" != 1; then
9567 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9568 fi
9569
9570 if test "$wxUSE_DATEPICKCTRL" = yes; then
9571 { echo "$as_me:$LINENO: result: yes" >&5
9572 echo "${ECHO_T}yes" >&6; }
9573 else
9574 { echo "$as_me:$LINENO: result: no" >&5
9575 echo "${ECHO_T}no" >&6; }
9576 fi
9577
9578
9579 enablestring=
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9582 no_cache=0
9583 # Check whether --enable-dirpicker was given.
9584 if test "${enable_dirpicker+set}" = set; then
9585 enableval=$enable_dirpicker;
9586 if test "$enableval" = yes; then
9587 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9588 else
9589 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9590 fi
9591
9592 else
9593
9594 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9597 else
9598 no_cache=1
9599 fi
9600
9601 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9602
9603 fi
9604
9605
9606 eval "$ac_cv_use_dirpicker"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9609 fi
9610
9611 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9612 { echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6; }
9614 else
9615 { echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6; }
9617 fi
9618
9619
9620 enablestring=
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9623 no_cache=0
9624 # Check whether --enable-display was given.
9625 if test "${enable_display+set}" = set; then
9626 enableval=$enable_display;
9627 if test "$enableval" = yes; then
9628 ac_cv_use_display='wxUSE_DISPLAY=yes'
9629 else
9630 ac_cv_use_display='wxUSE_DISPLAY=no'
9631 fi
9632
9633 else
9634
9635 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9638 else
9639 no_cache=1
9640 fi
9641
9642 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9643
9644 fi
9645
9646
9647 eval "$ac_cv_use_display"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9650 fi
9651
9652 if test "$wxUSE_DISPLAY" = yes; then
9653 { echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6; }
9655 else
9656 { echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6; }
9658 fi
9659
9660
9661 enablestring=
9662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9664 no_cache=0
9665 # Check whether --enable-detect_sm was given.
9666 if test "${enable_detect_sm+set}" = set; then
9667 enableval=$enable_detect_sm;
9668 if test "$enableval" = yes; then
9669 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9670 else
9671 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9672 fi
9673
9674 else
9675
9676 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9679 else
9680 no_cache=1
9681 fi
9682
9683 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9684
9685 fi
9686
9687
9688 eval "$ac_cv_use_detect_sm"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9691 fi
9692
9693 if test "$wxUSE_DETECT_SM" = yes; then
9694 { echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6; }
9696 else
9697 { echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6; }
9699 fi
9700
9701
9702 enablestring=
9703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9705 no_cache=0
9706 # Check whether --enable-editablebox was given.
9707 if test "${enable_editablebox+set}" = set; then
9708 enableval=$enable_editablebox;
9709 if test "$enableval" = yes; then
9710 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9711 else
9712 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9713 fi
9714
9715 else
9716
9717 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9720 else
9721 no_cache=1
9722 fi
9723
9724 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9725
9726 fi
9727
9728
9729 eval "$ac_cv_use_editablebox"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9732 fi
9733
9734 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9735 { echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6; }
9737 else
9738 { echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6; }
9740 fi
9741
9742
9743 enablestring=
9744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9746 no_cache=0
9747 # Check whether --enable-filepicker was given.
9748 if test "${enable_filepicker+set}" = set; then
9749 enableval=$enable_filepicker;
9750 if test "$enableval" = yes; then
9751 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9752 else
9753 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9754 fi
9755
9756 else
9757
9758 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9761 else
9762 no_cache=1
9763 fi
9764
9765 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9766
9767 fi
9768
9769
9770 eval "$ac_cv_use_filepicker"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9773 fi
9774
9775 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9776 { echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6; }
9778 else
9779 { echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6; }
9781 fi
9782
9783
9784 enablestring=
9785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9787 no_cache=0
9788 # Check whether --enable-fontpicker was given.
9789 if test "${enable_fontpicker+set}" = set; then
9790 enableval=$enable_fontpicker;
9791 if test "$enableval" = yes; then
9792 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9793 else
9794 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9795 fi
9796
9797 else
9798
9799 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9802 else
9803 no_cache=1
9804 fi
9805
9806 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9807
9808 fi
9809
9810
9811 eval "$ac_cv_use_fontpicker"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9814 fi
9815
9816 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9817 { echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6; }
9819 else
9820 { echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6; }
9822 fi
9823
9824
9825 enablestring=
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9828 no_cache=0
9829 # Check whether --enable-gauge was given.
9830 if test "${enable_gauge+set}" = set; then
9831 enableval=$enable_gauge;
9832 if test "$enableval" = yes; then
9833 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9834 else
9835 ac_cv_use_gauge='wxUSE_GAUGE=no'
9836 fi
9837
9838 else
9839
9840 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 else
9844 no_cache=1
9845 fi
9846
9847 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9848
9849 fi
9850
9851
9852 eval "$ac_cv_use_gauge"
9853 if test "$no_cache" != 1; then
9854 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9855 fi
9856
9857 if test "$wxUSE_GAUGE" = yes; then
9858 { echo "$as_me:$LINENO: result: yes" >&5
9859 echo "${ECHO_T}yes" >&6; }
9860 else
9861 { echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6; }
9863 fi
9864
9865
9866 enablestring=
9867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9869 no_cache=0
9870 # Check whether --enable-grid was given.
9871 if test "${enable_grid+set}" = set; then
9872 enableval=$enable_grid;
9873 if test "$enableval" = yes; then
9874 ac_cv_use_grid='wxUSE_GRID=yes'
9875 else
9876 ac_cv_use_grid='wxUSE_GRID=no'
9877 fi
9878
9879 else
9880
9881 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9884 else
9885 no_cache=1
9886 fi
9887
9888 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9889
9890 fi
9891
9892
9893 eval "$ac_cv_use_grid"
9894 if test "$no_cache" != 1; then
9895 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9896 fi
9897
9898 if test "$wxUSE_GRID" = yes; then
9899 { echo "$as_me:$LINENO: result: yes" >&5
9900 echo "${ECHO_T}yes" >&6; }
9901 else
9902 { echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6; }
9904 fi
9905
9906
9907 enablestring=
9908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9909 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9910 no_cache=0
9911 # Check whether --enable-dataviewctrl was given.
9912 if test "${enable_dataviewctrl+set}" = set; then
9913 enableval=$enable_dataviewctrl;
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9916 else
9917 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9918 fi
9919
9920 else
9921
9922 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9925 else
9926 no_cache=1
9927 fi
9928
9929 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9930
9931 fi
9932
9933
9934 eval "$ac_cv_use_dataviewctrl"
9935 if test "$no_cache" != 1; then
9936 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9937 fi
9938
9939 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9940 { echo "$as_me:$LINENO: result: yes" >&5
9941 echo "${ECHO_T}yes" >&6; }
9942 else
9943 { echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6; }
9945 fi
9946
9947
9948 enablestring=
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9951 no_cache=0
9952 # Check whether --enable-hyperlink was given.
9953 if test "${enable_hyperlink+set}" = set; then
9954 enableval=$enable_hyperlink;
9955 if test "$enableval" = yes; then
9956 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9957 else
9958 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 else
9967 no_cache=1
9968 fi
9969
9970 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9971
9972 fi
9973
9974
9975 eval "$ac_cv_use_hyperlink"
9976 if test "$no_cache" != 1; then
9977 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9978 fi
9979
9980 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9981 { echo "$as_me:$LINENO: result: yes" >&5
9982 echo "${ECHO_T}yes" >&6; }
9983 else
9984 { echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6; }
9986 fi
9987
9988
9989 enablestring=
9990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9992 no_cache=0
9993 # Check whether --enable-imaglist was given.
9994 if test "${enable_imaglist+set}" = set; then
9995 enableval=$enable_imaglist;
9996 if test "$enableval" = yes; then
9997 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9998 else
9999 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
10000 fi
10001
10002 else
10003
10004 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10007 else
10008 no_cache=1
10009 fi
10010
10011 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
10012
10013 fi
10014
10015
10016 eval "$ac_cv_use_imaglist"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
10019 fi
10020
10021 if test "$wxUSE_IMAGLIST" = yes; then
10022 { echo "$as_me:$LINENO: result: yes" >&5
10023 echo "${ECHO_T}yes" >&6; }
10024 else
10025 { echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6; }
10027 fi
10028
10029
10030 enablestring=
10031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10032 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10033 no_cache=0
10034 # Check whether --enable-listbook was given.
10035 if test "${enable_listbook+set}" = set; then
10036 enableval=$enable_listbook;
10037 if test "$enableval" = yes; then
10038 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
10039 else
10040 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
10041 fi
10042
10043 else
10044
10045 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x ; then
10047 eval "DEFAULT_$LINE"
10048 else
10049 no_cache=1
10050 fi
10051
10052 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10053
10054 fi
10055
10056
10057 eval "$ac_cv_use_listbook"
10058 if test "$no_cache" != 1; then
10059 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10060 fi
10061
10062 if test "$wxUSE_LISTBOOK" = yes; then
10063 { echo "$as_me:$LINENO: result: yes" >&5
10064 echo "${ECHO_T}yes" >&6; }
10065 else
10066 { echo "$as_me:$LINENO: result: no" >&5
10067 echo "${ECHO_T}no" >&6; }
10068 fi
10069
10070
10071 enablestring=
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10074 no_cache=0
10075 # Check whether --enable-listbox was given.
10076 if test "${enable_listbox+set}" = set; then
10077 enableval=$enable_listbox;
10078 if test "$enableval" = yes; then
10079 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10080 else
10081 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10082 fi
10083
10084 else
10085
10086 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10089 else
10090 no_cache=1
10091 fi
10092
10093 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10094
10095 fi
10096
10097
10098 eval "$ac_cv_use_listbox"
10099 if test "$no_cache" != 1; then
10100 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10101 fi
10102
10103 if test "$wxUSE_LISTBOX" = yes; then
10104 { echo "$as_me:$LINENO: result: yes" >&5
10105 echo "${ECHO_T}yes" >&6; }
10106 else
10107 { echo "$as_me:$LINENO: result: no" >&5
10108 echo "${ECHO_T}no" >&6; }
10109 fi
10110
10111
10112 enablestring=
10113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10115 no_cache=0
10116 # Check whether --enable-listctrl was given.
10117 if test "${enable_listctrl+set}" = set; then
10118 enableval=$enable_listctrl;
10119 if test "$enableval" = yes; then
10120 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10121 else
10122 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10123 fi
10124
10125 else
10126
10127 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x ; then
10129 eval "DEFAULT_$LINE"
10130 else
10131 no_cache=1
10132 fi
10133
10134 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10135
10136 fi
10137
10138
10139 eval "$ac_cv_use_listctrl"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10142 fi
10143
10144 if test "$wxUSE_LISTCTRL" = yes; then
10145 { echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6; }
10147 else
10148 { echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6; }
10150 fi
10151
10152
10153 enablestring=
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10156 no_cache=0
10157 # Check whether --enable-notebook was given.
10158 if test "${enable_notebook+set}" = set; then
10159 enableval=$enable_notebook;
10160 if test "$enableval" = yes; then
10161 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10162 else
10163 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10164 fi
10165
10166 else
10167
10168 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10171 else
10172 no_cache=1
10173 fi
10174
10175 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10176
10177 fi
10178
10179
10180 eval "$ac_cv_use_notebook"
10181 if test "$no_cache" != 1; then
10182 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10183 fi
10184
10185 if test "$wxUSE_NOTEBOOK" = yes; then
10186 { echo "$as_me:$LINENO: result: yes" >&5
10187 echo "${ECHO_T}yes" >&6; }
10188 else
10189 { echo "$as_me:$LINENO: result: no" >&5
10190 echo "${ECHO_T}no" >&6; }
10191 fi
10192
10193
10194 enablestring=
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10197 no_cache=0
10198 # Check whether --enable-odcombobox was given.
10199 if test "${enable_odcombobox+set}" = set; then
10200 enableval=$enable_odcombobox;
10201 if test "$enableval" = yes; then
10202 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10203 else
10204 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10205 fi
10206
10207 else
10208
10209 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x ; then
10211 eval "DEFAULT_$LINE"
10212 else
10213 no_cache=1
10214 fi
10215
10216 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10217
10218 fi
10219
10220
10221 eval "$ac_cv_use_odcombobox"
10222 if test "$no_cache" != 1; then
10223 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10224 fi
10225
10226 if test "$wxUSE_ODCOMBOBOX" = yes; then
10227 { echo "$as_me:$LINENO: result: yes" >&5
10228 echo "${ECHO_T}yes" >&6; }
10229 else
10230 { echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6; }
10232 fi
10233
10234
10235 enablestring=
10236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10238 no_cache=0
10239 # Check whether --enable-radiobox was given.
10240 if test "${enable_radiobox+set}" = set; then
10241 enableval=$enable_radiobox;
10242 if test "$enableval" = yes; then
10243 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10244 else
10245 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10246 fi
10247
10248 else
10249
10250 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x ; then
10252 eval "DEFAULT_$LINE"
10253 else
10254 no_cache=1
10255 fi
10256
10257 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10258
10259 fi
10260
10261
10262 eval "$ac_cv_use_radiobox"
10263 if test "$no_cache" != 1; then
10264 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10265 fi
10266
10267 if test "$wxUSE_RADIOBOX" = yes; then
10268 { echo "$as_me:$LINENO: result: yes" >&5
10269 echo "${ECHO_T}yes" >&6; }
10270 else
10271 { echo "$as_me:$LINENO: result: no" >&5
10272 echo "${ECHO_T}no" >&6; }
10273 fi
10274
10275
10276 enablestring=
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10279 no_cache=0
10280 # Check whether --enable-radiobtn was given.
10281 if test "${enable_radiobtn+set}" = set; then
10282 enableval=$enable_radiobtn;
10283 if test "$enableval" = yes; then
10284 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10285 else
10286 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10287 fi
10288
10289 else
10290
10291 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10294 else
10295 no_cache=1
10296 fi
10297
10298 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10299
10300 fi
10301
10302
10303 eval "$ac_cv_use_radiobtn"
10304 if test "$no_cache" != 1; then
10305 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10306 fi
10307
10308 if test "$wxUSE_RADIOBTN" = yes; then
10309 { echo "$as_me:$LINENO: result: yes" >&5
10310 echo "${ECHO_T}yes" >&6; }
10311 else
10312 { echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6; }
10314 fi
10315
10316
10317 enablestring=
10318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10320 no_cache=0
10321 # Check whether --enable-sash was given.
10322 if test "${enable_sash+set}" = set; then
10323 enableval=$enable_sash;
10324 if test "$enableval" = yes; then
10325 ac_cv_use_sash='wxUSE_SASH=yes'
10326 else
10327 ac_cv_use_sash='wxUSE_SASH=no'
10328 fi
10329
10330 else
10331
10332 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
10333 if test "x$LINE" != x ; then
10334 eval "DEFAULT_$LINE"
10335 else
10336 no_cache=1
10337 fi
10338
10339 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10340
10341 fi
10342
10343
10344 eval "$ac_cv_use_sash"
10345 if test "$no_cache" != 1; then
10346 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10347 fi
10348
10349 if test "$wxUSE_SASH" = yes; then
10350 { echo "$as_me:$LINENO: result: yes" >&5
10351 echo "${ECHO_T}yes" >&6; }
10352 else
10353 { echo "$as_me:$LINENO: result: no" >&5
10354 echo "${ECHO_T}no" >&6; }
10355 fi
10356
10357
10358 enablestring=
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10361 no_cache=0
10362 # Check whether --enable-scrollbar was given.
10363 if test "${enable_scrollbar+set}" = set; then
10364 enableval=$enable_scrollbar;
10365 if test "$enableval" = yes; then
10366 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10367 else
10368 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10369 fi
10370
10371 else
10372
10373 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10376 else
10377 no_cache=1
10378 fi
10379
10380 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10381
10382 fi
10383
10384
10385 eval "$ac_cv_use_scrollbar"
10386 if test "$no_cache" != 1; then
10387 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10388 fi
10389
10390 if test "$wxUSE_SCROLLBAR" = yes; then
10391 { echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6; }
10393 else
10394 { echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6; }
10396 fi
10397
10398
10399 enablestring=
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10402 no_cache=0
10403 # Check whether --enable-searchctrl was given.
10404 if test "${enable_searchctrl+set}" = set; then
10405 enableval=$enable_searchctrl;
10406 if test "$enableval" = yes; then
10407 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10408 else
10409 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10410 fi
10411
10412 else
10413
10414 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
10415 if test "x$LINE" != x ; then
10416 eval "DEFAULT_$LINE"
10417 else
10418 no_cache=1
10419 fi
10420
10421 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10422
10423 fi
10424
10425
10426 eval "$ac_cv_use_searchctrl"
10427 if test "$no_cache" != 1; then
10428 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10429 fi
10430
10431 if test "$wxUSE_SEARCHCTRL" = yes; then
10432 { echo "$as_me:$LINENO: result: yes" >&5
10433 echo "${ECHO_T}yes" >&6; }
10434 else
10435 { echo "$as_me:$LINENO: result: no" >&5
10436 echo "${ECHO_T}no" >&6; }
10437 fi
10438
10439
10440 enablestring=
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10443 no_cache=0
10444 # Check whether --enable-slider was given.
10445 if test "${enable_slider+set}" = set; then
10446 enableval=$enable_slider;
10447 if test "$enableval" = yes; then
10448 ac_cv_use_slider='wxUSE_SLIDER=yes'
10449 else
10450 ac_cv_use_slider='wxUSE_SLIDER=no'
10451 fi
10452
10453 else
10454
10455 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10458 else
10459 no_cache=1
10460 fi
10461
10462 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10463
10464 fi
10465
10466
10467 eval "$ac_cv_use_slider"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10470 fi
10471
10472 if test "$wxUSE_SLIDER" = yes; then
10473 { echo "$as_me:$LINENO: result: yes" >&5
10474 echo "${ECHO_T}yes" >&6; }
10475 else
10476 { echo "$as_me:$LINENO: result: no" >&5
10477 echo "${ECHO_T}no" >&6; }
10478 fi
10479
10480
10481 enablestring=
10482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10484 no_cache=0
10485 # Check whether --enable-spinbtn was given.
10486 if test "${enable_spinbtn+set}" = set; then
10487 enableval=$enable_spinbtn;
10488 if test "$enableval" = yes; then
10489 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10490 else
10491 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10492 fi
10493
10494 else
10495
10496 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
10497 if test "x$LINE" != x ; then
10498 eval "DEFAULT_$LINE"
10499 else
10500 no_cache=1
10501 fi
10502
10503 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10504
10505 fi
10506
10507
10508 eval "$ac_cv_use_spinbtn"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10511 fi
10512
10513 if test "$wxUSE_SPINBTN" = yes; then
10514 { echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6; }
10516 else
10517 { echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6; }
10519 fi
10520
10521
10522 enablestring=
10523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10524 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10525 no_cache=0
10526 # Check whether --enable-spinctrl was given.
10527 if test "${enable_spinctrl+set}" = set; then
10528 enableval=$enable_spinctrl;
10529 if test "$enableval" = yes; then
10530 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10531 else
10532 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10533 fi
10534
10535 else
10536
10537 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
10538 if test "x$LINE" != x ; then
10539 eval "DEFAULT_$LINE"
10540 else
10541 no_cache=1
10542 fi
10543
10544 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10545
10546 fi
10547
10548
10549 eval "$ac_cv_use_spinctrl"
10550 if test "$no_cache" != 1; then
10551 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10552 fi
10553
10554 if test "$wxUSE_SPINCTRL" = yes; then
10555 { echo "$as_me:$LINENO: result: yes" >&5
10556 echo "${ECHO_T}yes" >&6; }
10557 else
10558 { echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6; }
10560 fi
10561
10562
10563 enablestring=
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10566 no_cache=0
10567 # Check whether --enable-splitter was given.
10568 if test "${enable_splitter+set}" = set; then
10569 enableval=$enable_splitter;
10570 if test "$enableval" = yes; then
10571 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10572 else
10573 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10574 fi
10575
10576 else
10577
10578 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10581 else
10582 no_cache=1
10583 fi
10584
10585 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10586
10587 fi
10588
10589
10590 eval "$ac_cv_use_splitter"
10591 if test "$no_cache" != 1; then
10592 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10593 fi
10594
10595 if test "$wxUSE_SPLITTER" = yes; then
10596 { echo "$as_me:$LINENO: result: yes" >&5
10597 echo "${ECHO_T}yes" >&6; }
10598 else
10599 { echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6; }
10601 fi
10602
10603
10604 enablestring=
10605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10606 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10607 no_cache=0
10608 # Check whether --enable-statbmp was given.
10609 if test "${enable_statbmp+set}" = set; then
10610 enableval=$enable_statbmp;
10611 if test "$enableval" = yes; then
10612 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10613 else
10614 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10615 fi
10616
10617 else
10618
10619 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
10620 if test "x$LINE" != x ; then
10621 eval "DEFAULT_$LINE"
10622 else
10623 no_cache=1
10624 fi
10625
10626 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10627
10628 fi
10629
10630
10631 eval "$ac_cv_use_statbmp"
10632 if test "$no_cache" != 1; then
10633 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10634 fi
10635
10636 if test "$wxUSE_STATBMP" = yes; then
10637 { echo "$as_me:$LINENO: result: yes" >&5
10638 echo "${ECHO_T}yes" >&6; }
10639 else
10640 { echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6; }
10642 fi
10643
10644
10645 enablestring=
10646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10647 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10648 no_cache=0
10649 # Check whether --enable-statbox was given.
10650 if test "${enable_statbox+set}" = set; then
10651 enableval=$enable_statbox;
10652 if test "$enableval" = yes; then
10653 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10654 else
10655 ac_cv_use_statbox='wxUSE_STATBOX=no'
10656 fi
10657
10658 else
10659
10660 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
10661 if test "x$LINE" != x ; then
10662 eval "DEFAULT_$LINE"
10663 else
10664 no_cache=1
10665 fi
10666
10667 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10668
10669 fi
10670
10671
10672 eval "$ac_cv_use_statbox"
10673 if test "$no_cache" != 1; then
10674 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10675 fi
10676
10677 if test "$wxUSE_STATBOX" = yes; then
10678 { echo "$as_me:$LINENO: result: yes" >&5
10679 echo "${ECHO_T}yes" >&6; }
10680 else
10681 { echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6; }
10683 fi
10684
10685
10686 enablestring=
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10689 no_cache=0
10690 # Check whether --enable-statline was given.
10691 if test "${enable_statline+set}" = set; then
10692 enableval=$enable_statline;
10693 if test "$enableval" = yes; then
10694 ac_cv_use_statline='wxUSE_STATLINE=yes'
10695 else
10696 ac_cv_use_statline='wxUSE_STATLINE=no'
10697 fi
10698
10699 else
10700
10701 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
10702 if test "x$LINE" != x ; then
10703 eval "DEFAULT_$LINE"
10704 else
10705 no_cache=1
10706 fi
10707
10708 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10709
10710 fi
10711
10712
10713 eval "$ac_cv_use_statline"
10714 if test "$no_cache" != 1; then
10715 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10716 fi
10717
10718 if test "$wxUSE_STATLINE" = yes; then
10719 { echo "$as_me:$LINENO: result: yes" >&5
10720 echo "${ECHO_T}yes" >&6; }
10721 else
10722 { echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6; }
10724 fi
10725
10726
10727 enablestring=
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10730 no_cache=0
10731 # Check whether --enable-stattext was given.
10732 if test "${enable_stattext+set}" = set; then
10733 enableval=$enable_stattext;
10734 if test "$enableval" = yes; then
10735 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10736 else
10737 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10738 fi
10739
10740 else
10741
10742 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
10743 if test "x$LINE" != x ; then
10744 eval "DEFAULT_$LINE"
10745 else
10746 no_cache=1
10747 fi
10748
10749 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10750
10751 fi
10752
10753
10754 eval "$ac_cv_use_stattext"
10755 if test "$no_cache" != 1; then
10756 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10757 fi
10758
10759 if test "$wxUSE_STATTEXT" = yes; then
10760 { echo "$as_me:$LINENO: result: yes" >&5
10761 echo "${ECHO_T}yes" >&6; }
10762 else
10763 { echo "$as_me:$LINENO: result: no" >&5
10764 echo "${ECHO_T}no" >&6; }
10765 fi
10766
10767
10768 enablestring=
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10771 no_cache=0
10772 # Check whether --enable-statusbar was given.
10773 if test "${enable_statusbar+set}" = set; then
10774 enableval=$enable_statusbar;
10775 if test "$enableval" = yes; then
10776 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10777 else
10778 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10779 fi
10780
10781 else
10782
10783 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
10784 if test "x$LINE" != x ; then
10785 eval "DEFAULT_$LINE"
10786 else
10787 no_cache=1
10788 fi
10789
10790 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10791
10792 fi
10793
10794
10795 eval "$ac_cv_use_statusbar"
10796 if test "$no_cache" != 1; then
10797 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10798 fi
10799
10800 if test "$wxUSE_STATUSBAR" = yes; then
10801 { echo "$as_me:$LINENO: result: yes" >&5
10802 echo "${ECHO_T}yes" >&6; }
10803 else
10804 { echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6; }
10806 fi
10807
10808
10809 enablestring=
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10812 no_cache=0
10813 # Check whether --enable-tabdialog was given.
10814 if test "${enable_tabdialog+set}" = set; then
10815 enableval=$enable_tabdialog;
10816 if test "$enableval" = yes; then
10817 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10818 else
10819 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10820 fi
10821
10822 else
10823
10824 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
10825 if test "x$LINE" != x ; then
10826 eval "DEFAULT_$LINE"
10827 else
10828 no_cache=1
10829 fi
10830
10831 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10832
10833 fi
10834
10835
10836 eval "$ac_cv_use_tabdialog"
10837 if test "$no_cache" != 1; then
10838 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10839 fi
10840
10841 if test "$wxUSE_TAB_DIALOG" = yes; then
10842 { echo "$as_me:$LINENO: result: yes" >&5
10843 echo "${ECHO_T}yes" >&6; }
10844 else
10845 { echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6; }
10847 fi
10848
10849
10850 enablestring=
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10853 no_cache=0
10854 # Check whether --enable-textctrl was given.
10855 if test "${enable_textctrl+set}" = set; then
10856 enableval=$enable_textctrl;
10857 if test "$enableval" = yes; then
10858 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10859 else
10860 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10861 fi
10862
10863 else
10864
10865 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10868 else
10869 no_cache=1
10870 fi
10871
10872 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10873
10874 fi
10875
10876
10877 eval "$ac_cv_use_textctrl"
10878 if test "$no_cache" != 1; then
10879 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10880 fi
10881
10882 if test "$wxUSE_TEXTCTRL" = yes; then
10883 { echo "$as_me:$LINENO: result: yes" >&5
10884 echo "${ECHO_T}yes" >&6; }
10885 else
10886 { echo "$as_me:$LINENO: result: no" >&5
10887 echo "${ECHO_T}no" >&6; }
10888 fi
10889
10890
10891 enablestring=
10892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10893 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10894 no_cache=0
10895 # Check whether --enable-togglebtn was given.
10896 if test "${enable_togglebtn+set}" = set; then
10897 enableval=$enable_togglebtn;
10898 if test "$enableval" = yes; then
10899 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10900 else
10901 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10902 fi
10903
10904 else
10905
10906 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
10907 if test "x$LINE" != x ; then
10908 eval "DEFAULT_$LINE"
10909 else
10910 no_cache=1
10911 fi
10912
10913 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10914
10915 fi
10916
10917
10918 eval "$ac_cv_use_togglebtn"
10919 if test "$no_cache" != 1; then
10920 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10921 fi
10922
10923 if test "$wxUSE_TOGGLEBTN" = yes; then
10924 { echo "$as_me:$LINENO: result: yes" >&5
10925 echo "${ECHO_T}yes" >&6; }
10926 else
10927 { echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6; }
10929 fi
10930
10931
10932 enablestring=
10933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10935 no_cache=0
10936 # Check whether --enable-toolbar was given.
10937 if test "${enable_toolbar+set}" = set; then
10938 enableval=$enable_toolbar;
10939 if test "$enableval" = yes; then
10940 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10941 else
10942 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10943 fi
10944
10945 else
10946
10947 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
10948 if test "x$LINE" != x ; then
10949 eval "DEFAULT_$LINE"
10950 else
10951 no_cache=1
10952 fi
10953
10954 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10955
10956 fi
10957
10958
10959 eval "$ac_cv_use_toolbar"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10962 fi
10963
10964 if test "$wxUSE_TOOLBAR" = yes; then
10965 { echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6; }
10967 else
10968 { echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6; }
10970 fi
10971
10972
10973 enablestring=
10974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10976 no_cache=0
10977 # Check whether --enable-tbarnative was given.
10978 if test "${enable_tbarnative+set}" = set; then
10979 enableval=$enable_tbarnative;
10980 if test "$enableval" = yes; then
10981 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10982 else
10983 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10984 fi
10985
10986 else
10987
10988 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
10989 if test "x$LINE" != x ; then
10990 eval "DEFAULT_$LINE"
10991 else
10992 no_cache=1
10993 fi
10994
10995 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10996
10997 fi
10998
10999
11000 eval "$ac_cv_use_tbarnative"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
11003 fi
11004
11005 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
11006 { echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6; }
11008 else
11009 { echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6; }
11011 fi
11012
11013
11014 enablestring=
11015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11017 no_cache=0
11018 # Check whether --enable-treebook was given.
11019 if test "${enable_treebook+set}" = set; then
11020 enableval=$enable_treebook;
11021 if test "$enableval" = yes; then
11022 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
11023 else
11024 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
11025 fi
11026
11027 else
11028
11029 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
11030 if test "x$LINE" != x ; then
11031 eval "DEFAULT_$LINE"
11032 else
11033 no_cache=1
11034 fi
11035
11036 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
11037
11038 fi
11039
11040
11041 eval "$ac_cv_use_treebook"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11044 fi
11045
11046 if test "$wxUSE_TREEBOOK" = yes; then
11047 { echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6; }
11049 else
11050 { echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6; }
11052 fi
11053
11054
11055 enablestring=
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11058 no_cache=0
11059 # Check whether --enable-toolbook was given.
11060 if test "${enable_toolbook+set}" = set; then
11061 enableval=$enable_toolbook;
11062 if test "$enableval" = yes; then
11063 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11064 else
11065 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11066 fi
11067
11068 else
11069
11070 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
11071 if test "x$LINE" != x ; then
11072 eval "DEFAULT_$LINE"
11073 else
11074 no_cache=1
11075 fi
11076
11077 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11078
11079 fi
11080
11081
11082 eval "$ac_cv_use_toolbook"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11085 fi
11086
11087 if test "$wxUSE_TOOLBOOK" = yes; then
11088 { echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6; }
11090 else
11091 { echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6; }
11093 fi
11094
11095
11096 enablestring=
11097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11099 no_cache=0
11100 # Check whether --enable-treectrl was given.
11101 if test "${enable_treectrl+set}" = set; then
11102 enableval=$enable_treectrl;
11103 if test "$enableval" = yes; then
11104 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11105 else
11106 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11107 fi
11108
11109 else
11110
11111 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
11112 if test "x$LINE" != x ; then
11113 eval "DEFAULT_$LINE"
11114 else
11115 no_cache=1
11116 fi
11117
11118 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11119
11120 fi
11121
11122
11123 eval "$ac_cv_use_treectrl"
11124 if test "$no_cache" != 1; then
11125 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11126 fi
11127
11128 if test "$wxUSE_TREECTRL" = yes; then
11129 { echo "$as_me:$LINENO: result: yes" >&5
11130 echo "${ECHO_T}yes" >&6; }
11131 else
11132 { echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6; }
11134 fi
11135
11136
11137 enablestring=
11138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11140 no_cache=0
11141 # Check whether --enable-tipwindow was given.
11142 if test "${enable_tipwindow+set}" = set; then
11143 enableval=$enable_tipwindow;
11144 if test "$enableval" = yes; then
11145 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11146 else
11147 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11148 fi
11149
11150 else
11151
11152 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
11153 if test "x$LINE" != x ; then
11154 eval "DEFAULT_$LINE"
11155 else
11156 no_cache=1
11157 fi
11158
11159 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11160
11161 fi
11162
11163
11164 eval "$ac_cv_use_tipwindow"
11165 if test "$no_cache" != 1; then
11166 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11167 fi
11168
11169 if test "$wxUSE_TIPWINDOW" = yes; then
11170 { echo "$as_me:$LINENO: result: yes" >&5
11171 echo "${ECHO_T}yes" >&6; }
11172 else
11173 { echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6; }
11175 fi
11176
11177
11178 enablestring=
11179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11180 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11181 no_cache=0
11182 # Check whether --enable-popupwin was given.
11183 if test "${enable_popupwin+set}" = set; then
11184 enableval=$enable_popupwin;
11185 if test "$enableval" = yes; then
11186 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11187 else
11188 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11189 fi
11190
11191 else
11192
11193 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
11194 if test "x$LINE" != x ; then
11195 eval "DEFAULT_$LINE"
11196 else
11197 no_cache=1
11198 fi
11199
11200 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11201
11202 fi
11203
11204
11205 eval "$ac_cv_use_popupwin"
11206 if test "$no_cache" != 1; then
11207 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11208 fi
11209
11210 if test "$wxUSE_POPUPWIN" = yes; then
11211 { echo "$as_me:$LINENO: result: yes" >&5
11212 echo "${ECHO_T}yes" >&6; }
11213 else
11214 { echo "$as_me:$LINENO: result: no" >&5
11215 echo "${ECHO_T}no" >&6; }
11216 fi
11217
11218
11219
11220
11221 enablestring=
11222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11224 no_cache=0
11225 # Check whether --enable-commondlg was given.
11226 if test "${enable_commondlg+set}" = set; then
11227 enableval=$enable_commondlg;
11228 if test "$enableval" = yes; then
11229 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11230 else
11231 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11232 fi
11233
11234 else
11235
11236 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x ; then
11238 eval "DEFAULT_$LINE"
11239 else
11240 no_cache=1
11241 fi
11242
11243 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11244
11245 fi
11246
11247
11248 eval "$ac_cv_use_commondlg"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11251 fi
11252
11253 if test "$wxUSE_COMMONDLGS" = yes; then
11254 { echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6; }
11256 else
11257 { echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6; }
11259 fi
11260
11261
11262 enablestring=
11263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11265 no_cache=0
11266 # Check whether --enable-aboutdlg was given.
11267 if test "${enable_aboutdlg+set}" = set; then
11268 enableval=$enable_aboutdlg;
11269 if test "$enableval" = yes; then
11270 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11271 else
11272 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11273 fi
11274
11275 else
11276
11277 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
11278 if test "x$LINE" != x ; then
11279 eval "DEFAULT_$LINE"
11280 else
11281 no_cache=1
11282 fi
11283
11284 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11285
11286 fi
11287
11288
11289 eval "$ac_cv_use_aboutdlg"
11290 if test "$no_cache" != 1; then
11291 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11292 fi
11293
11294 if test "$wxUSE_ABOUTDLG" = yes; then
11295 { echo "$as_me:$LINENO: result: yes" >&5
11296 echo "${ECHO_T}yes" >&6; }
11297 else
11298 { echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6; }
11300 fi
11301
11302
11303 enablestring=
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11306 no_cache=0
11307 # Check whether --enable-choicedlg was given.
11308 if test "${enable_choicedlg+set}" = set; then
11309 enableval=$enable_choicedlg;
11310 if test "$enableval" = yes; then
11311 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11312 else
11313 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11314 fi
11315
11316 else
11317
11318 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
11319 if test "x$LINE" != x ; then
11320 eval "DEFAULT_$LINE"
11321 else
11322 no_cache=1
11323 fi
11324
11325 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11326
11327 fi
11328
11329
11330 eval "$ac_cv_use_choicedlg"
11331 if test "$no_cache" != 1; then
11332 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11333 fi
11334
11335 if test "$wxUSE_CHOICEDLG" = yes; then
11336 { echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6; }
11338 else
11339 { echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6; }
11341 fi
11342
11343
11344 enablestring=
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11347 no_cache=0
11348 # Check whether --enable-coldlg was given.
11349 if test "${enable_coldlg+set}" = set; then
11350 enableval=$enable_coldlg;
11351 if test "$enableval" = yes; then
11352 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11353 else
11354 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11355 fi
11356
11357 else
11358
11359 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11362 else
11363 no_cache=1
11364 fi
11365
11366 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11367
11368 fi
11369
11370
11371 eval "$ac_cv_use_coldlg"
11372 if test "$no_cache" != 1; then
11373 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11374 fi
11375
11376 if test "$wxUSE_COLOURDLG" = yes; then
11377 { echo "$as_me:$LINENO: result: yes" >&5
11378 echo "${ECHO_T}yes" >&6; }
11379 else
11380 { echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6; }
11382 fi
11383
11384
11385 enablestring=
11386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11388 no_cache=0
11389 # Check whether --enable-filedlg was given.
11390 if test "${enable_filedlg+set}" = set; then
11391 enableval=$enable_filedlg;
11392 if test "$enableval" = yes; then
11393 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11394 else
11395 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11396 fi
11397
11398 else
11399
11400 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
11401 if test "x$LINE" != x ; then
11402 eval "DEFAULT_$LINE"
11403 else
11404 no_cache=1
11405 fi
11406
11407 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11408
11409 fi
11410
11411
11412 eval "$ac_cv_use_filedlg"
11413 if test "$no_cache" != 1; then
11414 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11415 fi
11416
11417 if test "$wxUSE_FILEDLG" = yes; then
11418 { echo "$as_me:$LINENO: result: yes" >&5
11419 echo "${ECHO_T}yes" >&6; }
11420 else
11421 { echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6; }
11423 fi
11424
11425
11426 enablestring=
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11429 no_cache=0
11430 # Check whether --enable-finddlg was given.
11431 if test "${enable_finddlg+set}" = set; then
11432 enableval=$enable_finddlg;
11433 if test "$enableval" = yes; then
11434 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11435 else
11436 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11437 fi
11438
11439 else
11440
11441 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
11442 if test "x$LINE" != x ; then
11443 eval "DEFAULT_$LINE"
11444 else
11445 no_cache=1
11446 fi
11447
11448 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11449
11450 fi
11451
11452
11453 eval "$ac_cv_use_finddlg"
11454 if test "$no_cache" != 1; then
11455 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11456 fi
11457
11458 if test "$wxUSE_FINDREPLDLG" = yes; then
11459 { echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6; }
11461 else
11462 { echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6; }
11464 fi
11465
11466
11467 enablestring=
11468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11470 no_cache=0
11471 # Check whether --enable-fontdlg was given.
11472 if test "${enable_fontdlg+set}" = set; then
11473 enableval=$enable_fontdlg;
11474 if test "$enableval" = yes; then
11475 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11476 else
11477 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11478 fi
11479
11480 else
11481
11482 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
11483 if test "x$LINE" != x ; then
11484 eval "DEFAULT_$LINE"
11485 else
11486 no_cache=1
11487 fi
11488
11489 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11490
11491 fi
11492
11493
11494 eval "$ac_cv_use_fontdlg"
11495 if test "$no_cache" != 1; then
11496 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11497 fi
11498
11499 if test "$wxUSE_FONTDLG" = yes; then
11500 { echo "$as_me:$LINENO: result: yes" >&5
11501 echo "${ECHO_T}yes" >&6; }
11502 else
11503 { echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6; }
11505 fi
11506
11507
11508 enablestring=
11509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11511 no_cache=0
11512 # Check whether --enable-dirdlg was given.
11513 if test "${enable_dirdlg+set}" = set; then
11514 enableval=$enable_dirdlg;
11515 if test "$enableval" = yes; then
11516 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11517 else
11518 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11519 fi
11520
11521 else
11522
11523 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
11524 if test "x$LINE" != x ; then
11525 eval "DEFAULT_$LINE"
11526 else
11527 no_cache=1
11528 fi
11529
11530 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11531
11532 fi
11533
11534
11535 eval "$ac_cv_use_dirdlg"
11536 if test "$no_cache" != 1; then
11537 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11538 fi
11539
11540 if test "$wxUSE_DIRDLG" = yes; then
11541 { echo "$as_me:$LINENO: result: yes" >&5
11542 echo "${ECHO_T}yes" >&6; }
11543 else
11544 { echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6; }
11546 fi
11547
11548
11549 enablestring=
11550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11551 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11552 no_cache=0
11553 # Check whether --enable-msgdlg was given.
11554 if test "${enable_msgdlg+set}" = set; then
11555 enableval=$enable_msgdlg;
11556 if test "$enableval" = yes; then
11557 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11558 else
11559 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11560 fi
11561
11562 else
11563
11564 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
11565 if test "x$LINE" != x ; then
11566 eval "DEFAULT_$LINE"
11567 else
11568 no_cache=1
11569 fi
11570
11571 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11572
11573 fi
11574
11575
11576 eval "$ac_cv_use_msgdlg"
11577 if test "$no_cache" != 1; then
11578 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11579 fi
11580
11581 if test "$wxUSE_MSGDLG" = yes; then
11582 { echo "$as_me:$LINENO: result: yes" >&5
11583 echo "${ECHO_T}yes" >&6; }
11584 else
11585 { echo "$as_me:$LINENO: result: no" >&5
11586 echo "${ECHO_T}no" >&6; }
11587 fi
11588
11589
11590 enablestring=
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11593 no_cache=0
11594 # Check whether --enable-numberdlg was given.
11595 if test "${enable_numberdlg+set}" = set; then
11596 enableval=$enable_numberdlg;
11597 if test "$enableval" = yes; then
11598 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11599 else
11600 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11601 fi
11602
11603 else
11604
11605 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
11606 if test "x$LINE" != x ; then
11607 eval "DEFAULT_$LINE"
11608 else
11609 no_cache=1
11610 fi
11611
11612 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11613
11614 fi
11615
11616
11617 eval "$ac_cv_use_numberdlg"
11618 if test "$no_cache" != 1; then
11619 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11620 fi
11621
11622 if test "$wxUSE_NUMBERDLG" = yes; then
11623 { echo "$as_me:$LINENO: result: yes" >&5
11624 echo "${ECHO_T}yes" >&6; }
11625 else
11626 { echo "$as_me:$LINENO: result: no" >&5
11627 echo "${ECHO_T}no" >&6; }
11628 fi
11629
11630
11631 enablestring=
11632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11633 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11634 no_cache=0
11635 # Check whether --enable-splash was given.
11636 if test "${enable_splash+set}" = set; then
11637 enableval=$enable_splash;
11638 if test "$enableval" = yes; then
11639 ac_cv_use_splash='wxUSE_SPLASH=yes'
11640 else
11641 ac_cv_use_splash='wxUSE_SPLASH=no'
11642 fi
11643
11644 else
11645
11646 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
11647 if test "x$LINE" != x ; then
11648 eval "DEFAULT_$LINE"
11649 else
11650 no_cache=1
11651 fi
11652
11653 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11654
11655 fi
11656
11657
11658 eval "$ac_cv_use_splash"
11659 if test "$no_cache" != 1; then
11660 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11661 fi
11662
11663 if test "$wxUSE_SPLASH" = yes; then
11664 { echo "$as_me:$LINENO: result: yes" >&5
11665 echo "${ECHO_T}yes" >&6; }
11666 else
11667 { echo "$as_me:$LINENO: result: no" >&5
11668 echo "${ECHO_T}no" >&6; }
11669 fi
11670
11671
11672 enablestring=
11673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11674 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11675 no_cache=0
11676 # Check whether --enable-textdlg was given.
11677 if test "${enable_textdlg+set}" = set; then
11678 enableval=$enable_textdlg;
11679 if test "$enableval" = yes; then
11680 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11681 else
11682 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11683 fi
11684
11685 else
11686
11687 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
11688 if test "x$LINE" != x ; then
11689 eval "DEFAULT_$LINE"
11690 else
11691 no_cache=1
11692 fi
11693
11694 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11695
11696 fi
11697
11698
11699 eval "$ac_cv_use_textdlg"
11700 if test "$no_cache" != 1; then
11701 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11702 fi
11703
11704 if test "$wxUSE_TEXTDLG" = yes; then
11705 { echo "$as_me:$LINENO: result: yes" >&5
11706 echo "${ECHO_T}yes" >&6; }
11707 else
11708 { echo "$as_me:$LINENO: result: no" >&5
11709 echo "${ECHO_T}no" >&6; }
11710 fi
11711
11712
11713 enablestring=
11714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11715 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11716 no_cache=0
11717 # Check whether --enable-tipdlg was given.
11718 if test "${enable_tipdlg+set}" = set; then
11719 enableval=$enable_tipdlg;
11720 if test "$enableval" = yes; then
11721 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11722 else
11723 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11724 fi
11725
11726 else
11727
11728 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
11729 if test "x$LINE" != x ; then
11730 eval "DEFAULT_$LINE"
11731 else
11732 no_cache=1
11733 fi
11734
11735 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11736
11737 fi
11738
11739
11740 eval "$ac_cv_use_tipdlg"
11741 if test "$no_cache" != 1; then
11742 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11743 fi
11744
11745 if test "$wxUSE_STARTUP_TIPS" = yes; then
11746 { echo "$as_me:$LINENO: result: yes" >&5
11747 echo "${ECHO_T}yes" >&6; }
11748 else
11749 { echo "$as_me:$LINENO: result: no" >&5
11750 echo "${ECHO_T}no" >&6; }
11751 fi
11752
11753
11754 enablestring=
11755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11756 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11757 no_cache=0
11758 # Check whether --enable-progressdlg was given.
11759 if test "${enable_progressdlg+set}" = set; then
11760 enableval=$enable_progressdlg;
11761 if test "$enableval" = yes; then
11762 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11763 else
11764 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11765 fi
11766
11767 else
11768
11769 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
11770 if test "x$LINE" != x ; then
11771 eval "DEFAULT_$LINE"
11772 else
11773 no_cache=1
11774 fi
11775
11776 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11777
11778 fi
11779
11780
11781 eval "$ac_cv_use_progressdlg"
11782 if test "$no_cache" != 1; then
11783 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11784 fi
11785
11786 if test "$wxUSE_PROGRESSDLG" = yes; then
11787 { echo "$as_me:$LINENO: result: yes" >&5
11788 echo "${ECHO_T}yes" >&6; }
11789 else
11790 { echo "$as_me:$LINENO: result: no" >&5
11791 echo "${ECHO_T}no" >&6; }
11792 fi
11793
11794
11795 enablestring=
11796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11797 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11798 no_cache=0
11799 # Check whether --enable-wizarddlg was given.
11800 if test "${enable_wizarddlg+set}" = set; then
11801 enableval=$enable_wizarddlg;
11802 if test "$enableval" = yes; then
11803 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11804 else
11805 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11806 fi
11807
11808 else
11809
11810 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
11811 if test "x$LINE" != x ; then
11812 eval "DEFAULT_$LINE"
11813 else
11814 no_cache=1
11815 fi
11816
11817 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11818
11819 fi
11820
11821
11822 eval "$ac_cv_use_wizarddlg"
11823 if test "$no_cache" != 1; then
11824 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11825 fi
11826
11827 if test "$wxUSE_WIZARDDLG" = yes; then
11828 { echo "$as_me:$LINENO: result: yes" >&5
11829 echo "${ECHO_T}yes" >&6; }
11830 else
11831 { echo "$as_me:$LINENO: result: no" >&5
11832 echo "${ECHO_T}no" >&6; }
11833 fi
11834
11835
11836
11837
11838 enablestring=
11839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11840 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11841 no_cache=0
11842 # Check whether --enable-menus was given.
11843 if test "${enable_menus+set}" = set; then
11844 enableval=$enable_menus;
11845 if test "$enableval" = yes; then
11846 ac_cv_use_menus='wxUSE_MENUS=yes'
11847 else
11848 ac_cv_use_menus='wxUSE_MENUS=no'
11849 fi
11850
11851 else
11852
11853 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
11854 if test "x$LINE" != x ; then
11855 eval "DEFAULT_$LINE"
11856 else
11857 no_cache=1
11858 fi
11859
11860 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11861
11862 fi
11863
11864
11865 eval "$ac_cv_use_menus"
11866 if test "$no_cache" != 1; then
11867 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11868 fi
11869
11870 if test "$wxUSE_MENUS" = yes; then
11871 { echo "$as_me:$LINENO: result: yes" >&5
11872 echo "${ECHO_T}yes" >&6; }
11873 else
11874 { echo "$as_me:$LINENO: result: no" >&5
11875 echo "${ECHO_T}no" >&6; }
11876 fi
11877
11878
11879 enablestring=
11880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11881 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11882 no_cache=0
11883 # Check whether --enable-miniframe was given.
11884 if test "${enable_miniframe+set}" = set; then
11885 enableval=$enable_miniframe;
11886 if test "$enableval" = yes; then
11887 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11888 else
11889 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11890 fi
11891
11892 else
11893
11894 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
11895 if test "x$LINE" != x ; then
11896 eval "DEFAULT_$LINE"
11897 else
11898 no_cache=1
11899 fi
11900
11901 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11902
11903 fi
11904
11905
11906 eval "$ac_cv_use_miniframe"
11907 if test "$no_cache" != 1; then
11908 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11909 fi
11910
11911 if test "$wxUSE_MINIFRAME" = yes; then
11912 { echo "$as_me:$LINENO: result: yes" >&5
11913 echo "${ECHO_T}yes" >&6; }
11914 else
11915 { echo "$as_me:$LINENO: result: no" >&5
11916 echo "${ECHO_T}no" >&6; }
11917 fi
11918
11919
11920 enablestring=
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11923 no_cache=0
11924 # Check whether --enable-tooltips was given.
11925 if test "${enable_tooltips+set}" = set; then
11926 enableval=$enable_tooltips;
11927 if test "$enableval" = yes; then
11928 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11929 else
11930 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11931 fi
11932
11933 else
11934
11935 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
11936 if test "x$LINE" != x ; then
11937 eval "DEFAULT_$LINE"
11938 else
11939 no_cache=1
11940 fi
11941
11942 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11943
11944 fi
11945
11946
11947 eval "$ac_cv_use_tooltips"
11948 if test "$no_cache" != 1; then
11949 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11950 fi
11951
11952 if test "$wxUSE_TOOLTIPS" = yes; then
11953 { echo "$as_me:$LINENO: result: yes" >&5
11954 echo "${ECHO_T}yes" >&6; }
11955 else
11956 { echo "$as_me:$LINENO: result: no" >&5
11957 echo "${ECHO_T}no" >&6; }
11958 fi
11959
11960
11961 enablestring=
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11964 no_cache=0
11965 # Check whether --enable-splines was given.
11966 if test "${enable_splines+set}" = set; then
11967 enableval=$enable_splines;
11968 if test "$enableval" = yes; then
11969 ac_cv_use_splines='wxUSE_SPLINES=yes'
11970 else
11971 ac_cv_use_splines='wxUSE_SPLINES=no'
11972 fi
11973
11974 else
11975
11976 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
11977 if test "x$LINE" != x ; then
11978 eval "DEFAULT_$LINE"
11979 else
11980 no_cache=1
11981 fi
11982
11983 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11984
11985 fi
11986
11987
11988 eval "$ac_cv_use_splines"
11989 if test "$no_cache" != 1; then
11990 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11991 fi
11992
11993 if test "$wxUSE_SPLINES" = yes; then
11994 { echo "$as_me:$LINENO: result: yes" >&5
11995 echo "${ECHO_T}yes" >&6; }
11996 else
11997 { echo "$as_me:$LINENO: result: no" >&5
11998 echo "${ECHO_T}no" >&6; }
11999 fi
12000
12001
12002 enablestring=
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12005 no_cache=0
12006 # Check whether --enable-mousewheel was given.
12007 if test "${enable_mousewheel+set}" = set; then
12008 enableval=$enable_mousewheel;
12009 if test "$enableval" = yes; then
12010 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12011 else
12012 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12013 fi
12014
12015 else
12016
12017 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
12018 if test "x$LINE" != x ; then
12019 eval "DEFAULT_$LINE"
12020 else
12021 no_cache=1
12022 fi
12023
12024 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
12025
12026 fi
12027
12028
12029 eval "$ac_cv_use_mousewheel"
12030 if test "$no_cache" != 1; then
12031 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
12032 fi
12033
12034 if test "$wxUSE_MOUSEWHEEL" = yes; then
12035 { echo "$as_me:$LINENO: result: yes" >&5
12036 echo "${ECHO_T}yes" >&6; }
12037 else
12038 { echo "$as_me:$LINENO: result: no" >&5
12039 echo "${ECHO_T}no" >&6; }
12040 fi
12041
12042
12043 enablestring=
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12046 no_cache=0
12047 # Check whether --enable-validators was given.
12048 if test "${enable_validators+set}" = set; then
12049 enableval=$enable_validators;
12050 if test "$enableval" = yes; then
12051 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12052 else
12053 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12054 fi
12055
12056 else
12057
12058 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
12059 if test "x$LINE" != x ; then
12060 eval "DEFAULT_$LINE"
12061 else
12062 no_cache=1
12063 fi
12064
12065 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12066
12067 fi
12068
12069
12070 eval "$ac_cv_use_validators"
12071 if test "$no_cache" != 1; then
12072 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12073 fi
12074
12075 if test "$wxUSE_VALIDATORS" = yes; then
12076 { echo "$as_me:$LINENO: result: yes" >&5
12077 echo "${ECHO_T}yes" >&6; }
12078 else
12079 { echo "$as_me:$LINENO: result: no" >&5
12080 echo "${ECHO_T}no" >&6; }
12081 fi
12082
12083
12084 enablestring=
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12087 no_cache=0
12088 # Check whether --enable-busyinfo was given.
12089 if test "${enable_busyinfo+set}" = set; then
12090 enableval=$enable_busyinfo;
12091 if test "$enableval" = yes; then
12092 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12093 else
12094 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12095 fi
12096
12097 else
12098
12099 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
12100 if test "x$LINE" != x ; then
12101 eval "DEFAULT_$LINE"
12102 else
12103 no_cache=1
12104 fi
12105
12106 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12107
12108 fi
12109
12110
12111 eval "$ac_cv_use_busyinfo"
12112 if test "$no_cache" != 1; then
12113 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12114 fi
12115
12116 if test "$wxUSE_BUSYINFO" = yes; then
12117 { echo "$as_me:$LINENO: result: yes" >&5
12118 echo "${ECHO_T}yes" >&6; }
12119 else
12120 { echo "$as_me:$LINENO: result: no" >&5
12121 echo "${ECHO_T}no" >&6; }
12122 fi
12123
12124
12125 enablestring=
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12128 no_cache=0
12129 # Check whether --enable-joystick was given.
12130 if test "${enable_joystick+set}" = set; then
12131 enableval=$enable_joystick;
12132 if test "$enableval" = yes; then
12133 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12134 else
12135 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12136 fi
12137
12138 else
12139
12140 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
12141 if test "x$LINE" != x ; then
12142 eval "DEFAULT_$LINE"
12143 else
12144 no_cache=1
12145 fi
12146
12147 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12148
12149 fi
12150
12151
12152 eval "$ac_cv_use_joystick"
12153 if test "$no_cache" != 1; then
12154 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12155 fi
12156
12157 if test "$wxUSE_JOYSTICK" = yes; then
12158 { echo "$as_me:$LINENO: result: yes" >&5
12159 echo "${ECHO_T}yes" >&6; }
12160 else
12161 { echo "$as_me:$LINENO: result: no" >&5
12162 echo "${ECHO_T}no" >&6; }
12163 fi
12164
12165
12166 enablestring=
12167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12168 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12169 no_cache=0
12170 # Check whether --enable-metafile was given.
12171 if test "${enable_metafile+set}" = set; then
12172 enableval=$enable_metafile;
12173 if test "$enableval" = yes; then
12174 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12175 else
12176 ac_cv_use_metafile='wxUSE_METAFILE=no'
12177 fi
12178
12179 else
12180
12181 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
12182 if test "x$LINE" != x ; then
12183 eval "DEFAULT_$LINE"
12184 else
12185 no_cache=1
12186 fi
12187
12188 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12189
12190 fi
12191
12192
12193 eval "$ac_cv_use_metafile"
12194 if test "$no_cache" != 1; then
12195 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12196 fi
12197
12198 if test "$wxUSE_METAFILE" = yes; then
12199 { echo "$as_me:$LINENO: result: yes" >&5
12200 echo "${ECHO_T}yes" >&6; }
12201 else
12202 { echo "$as_me:$LINENO: result: no" >&5
12203 echo "${ECHO_T}no" >&6; }
12204 fi
12205
12206
12207 enablestring=
12208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12209 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12210 no_cache=0
12211 # Check whether --enable-dragimage was given.
12212 if test "${enable_dragimage+set}" = set; then
12213 enableval=$enable_dragimage;
12214 if test "$enableval" = yes; then
12215 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12216 else
12217 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12218 fi
12219
12220 else
12221
12222 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
12223 if test "x$LINE" != x ; then
12224 eval "DEFAULT_$LINE"
12225 else
12226 no_cache=1
12227 fi
12228
12229 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12230
12231 fi
12232
12233
12234 eval "$ac_cv_use_dragimage"
12235 if test "$no_cache" != 1; then
12236 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12237 fi
12238
12239 if test "$wxUSE_DRAGIMAGE" = yes; then
12240 { echo "$as_me:$LINENO: result: yes" >&5
12241 echo "${ECHO_T}yes" >&6; }
12242 else
12243 { echo "$as_me:$LINENO: result: no" >&5
12244 echo "${ECHO_T}no" >&6; }
12245 fi
12246
12247
12248 enablestring=
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12251 no_cache=0
12252 # Check whether --enable-accessibility was given.
12253 if test "${enable_accessibility+set}" = set; then
12254 enableval=$enable_accessibility;
12255 if test "$enableval" = yes; then
12256 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12257 else
12258 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12259 fi
12260
12261 else
12262
12263 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
12264 if test "x$LINE" != x ; then
12265 eval "DEFAULT_$LINE"
12266 else
12267 no_cache=1
12268 fi
12269
12270 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12271
12272 fi
12273
12274
12275 eval "$ac_cv_use_accessibility"
12276 if test "$no_cache" != 1; then
12277 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12278 fi
12279
12280 if test "$wxUSE_ACCESSIBILITY" = yes; then
12281 { echo "$as_me:$LINENO: result: yes" >&5
12282 echo "${ECHO_T}yes" >&6; }
12283 else
12284 { echo "$as_me:$LINENO: result: no" >&5
12285 echo "${ECHO_T}no" >&6; }
12286 fi
12287
12288
12289 if test "$wxUSE_MSW" = "1"; then
12290
12291 enablestring=
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12294 no_cache=0
12295 # Check whether --enable-dccache was given.
12296 if test "${enable_dccache+set}" = set; then
12297 enableval=$enable_dccache;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12300 else
12301 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12302 fi
12303
12304 else
12305
12306 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12309 else
12310 no_cache=1
12311 fi
12312
12313 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12314
12315 fi
12316
12317
12318 eval "$ac_cv_use_dccache"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12321 fi
12322
12323 if test "$wxUSE_DC_CACHEING" = yes; then
12324 { echo "$as_me:$LINENO: result: yes" >&5
12325 echo "${ECHO_T}yes" >&6; }
12326 else
12327 { echo "$as_me:$LINENO: result: no" >&5
12328 echo "${ECHO_T}no" >&6; }
12329 fi
12330
12331 fi
12332
12333
12334
12335 enablestring=
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12338 no_cache=0
12339 # Check whether --enable-palette was given.
12340 if test "${enable_palette+set}" = set; then
12341 enableval=$enable_palette;
12342 if test "$enableval" = yes; then
12343 ac_cv_use_palette='wxUSE_PALETTE=yes'
12344 else
12345 ac_cv_use_palette='wxUSE_PALETTE=no'
12346 fi
12347
12348 else
12349
12350 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
12351 if test "x$LINE" != x ; then
12352 eval "DEFAULT_$LINE"
12353 else
12354 no_cache=1
12355 fi
12356
12357 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12358
12359 fi
12360
12361
12362 eval "$ac_cv_use_palette"
12363 if test "$no_cache" != 1; then
12364 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12365 fi
12366
12367 if test "$wxUSE_PALETTE" = yes; then
12368 { echo "$as_me:$LINENO: result: yes" >&5
12369 echo "${ECHO_T}yes" >&6; }
12370 else
12371 { echo "$as_me:$LINENO: result: no" >&5
12372 echo "${ECHO_T}no" >&6; }
12373 fi
12374
12375
12376 enablestring=
12377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12378 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12379 no_cache=0
12380 # Check whether --enable-image was given.
12381 if test "${enable_image+set}" = set; then
12382 enableval=$enable_image;
12383 if test "$enableval" = yes; then
12384 ac_cv_use_image='wxUSE_IMAGE=yes'
12385 else
12386 ac_cv_use_image='wxUSE_IMAGE=no'
12387 fi
12388
12389 else
12390
12391 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
12392 if test "x$LINE" != x ; then
12393 eval "DEFAULT_$LINE"
12394 else
12395 no_cache=1
12396 fi
12397
12398 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12399
12400 fi
12401
12402
12403 eval "$ac_cv_use_image"
12404 if test "$no_cache" != 1; then
12405 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12406 fi
12407
12408 if test "$wxUSE_IMAGE" = yes; then
12409 { echo "$as_me:$LINENO: result: yes" >&5
12410 echo "${ECHO_T}yes" >&6; }
12411 else
12412 { echo "$as_me:$LINENO: result: no" >&5
12413 echo "${ECHO_T}no" >&6; }
12414 fi
12415
12416
12417 enablestring=
12418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12419 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12420 no_cache=0
12421 # Check whether --enable-gif was given.
12422 if test "${enable_gif+set}" = set; then
12423 enableval=$enable_gif;
12424 if test "$enableval" = yes; then
12425 ac_cv_use_gif='wxUSE_GIF=yes'
12426 else
12427 ac_cv_use_gif='wxUSE_GIF=no'
12428 fi
12429
12430 else
12431
12432 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
12433 if test "x$LINE" != x ; then
12434 eval "DEFAULT_$LINE"
12435 else
12436 no_cache=1
12437 fi
12438
12439 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12440
12441 fi
12442
12443
12444 eval "$ac_cv_use_gif"
12445 if test "$no_cache" != 1; then
12446 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12447 fi
12448
12449 if test "$wxUSE_GIF" = yes; then
12450 { echo "$as_me:$LINENO: result: yes" >&5
12451 echo "${ECHO_T}yes" >&6; }
12452 else
12453 { echo "$as_me:$LINENO: result: no" >&5
12454 echo "${ECHO_T}no" >&6; }
12455 fi
12456
12457
12458 enablestring=
12459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12460 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12461 no_cache=0
12462 # Check whether --enable-pcx was given.
12463 if test "${enable_pcx+set}" = set; then
12464 enableval=$enable_pcx;
12465 if test "$enableval" = yes; then
12466 ac_cv_use_pcx='wxUSE_PCX=yes'
12467 else
12468 ac_cv_use_pcx='wxUSE_PCX=no'
12469 fi
12470
12471 else
12472
12473 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
12474 if test "x$LINE" != x ; then
12475 eval "DEFAULT_$LINE"
12476 else
12477 no_cache=1
12478 fi
12479
12480 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12481
12482 fi
12483
12484
12485 eval "$ac_cv_use_pcx"
12486 if test "$no_cache" != 1; then
12487 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12488 fi
12489
12490 if test "$wxUSE_PCX" = yes; then
12491 { echo "$as_me:$LINENO: result: yes" >&5
12492 echo "${ECHO_T}yes" >&6; }
12493 else
12494 { echo "$as_me:$LINENO: result: no" >&5
12495 echo "${ECHO_T}no" >&6; }
12496 fi
12497
12498
12499 enablestring=
12500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12501 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12502 no_cache=0
12503 # Check whether --enable-tga was given.
12504 if test "${enable_tga+set}" = set; then
12505 enableval=$enable_tga;
12506 if test "$enableval" = yes; then
12507 ac_cv_use_tga='wxUSE_TGA=yes'
12508 else
12509 ac_cv_use_tga='wxUSE_TGA=no'
12510 fi
12511
12512 else
12513
12514 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
12515 if test "x$LINE" != x ; then
12516 eval "DEFAULT_$LINE"
12517 else
12518 no_cache=1
12519 fi
12520
12521 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12522
12523 fi
12524
12525
12526 eval "$ac_cv_use_tga"
12527 if test "$no_cache" != 1; then
12528 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12529 fi
12530
12531 if test "$wxUSE_TGA" = yes; then
12532 { echo "$as_me:$LINENO: result: yes" >&5
12533 echo "${ECHO_T}yes" >&6; }
12534 else
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12537 fi
12538
12539
12540 enablestring=
12541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12542 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12543 no_cache=0
12544 # Check whether --enable-iff was given.
12545 if test "${enable_iff+set}" = set; then
12546 enableval=$enable_iff;
12547 if test "$enableval" = yes; then
12548 ac_cv_use_iff='wxUSE_IFF=yes'
12549 else
12550 ac_cv_use_iff='wxUSE_IFF=no'
12551 fi
12552
12553 else
12554
12555 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
12556 if test "x$LINE" != x ; then
12557 eval "DEFAULT_$LINE"
12558 else
12559 no_cache=1
12560 fi
12561
12562 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12563
12564 fi
12565
12566
12567 eval "$ac_cv_use_iff"
12568 if test "$no_cache" != 1; then
12569 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12570 fi
12571
12572 if test "$wxUSE_IFF" = yes; then
12573 { echo "$as_me:$LINENO: result: yes" >&5
12574 echo "${ECHO_T}yes" >&6; }
12575 else
12576 { echo "$as_me:$LINENO: result: no" >&5
12577 echo "${ECHO_T}no" >&6; }
12578 fi
12579
12580
12581 enablestring=
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12584 no_cache=0
12585 # Check whether --enable-pnm was given.
12586 if test "${enable_pnm+set}" = set; then
12587 enableval=$enable_pnm;
12588 if test "$enableval" = yes; then
12589 ac_cv_use_pnm='wxUSE_PNM=yes'
12590 else
12591 ac_cv_use_pnm='wxUSE_PNM=no'
12592 fi
12593
12594 else
12595
12596 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
12597 if test "x$LINE" != x ; then
12598 eval "DEFAULT_$LINE"
12599 else
12600 no_cache=1
12601 fi
12602
12603 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12604
12605 fi
12606
12607
12608 eval "$ac_cv_use_pnm"
12609 if test "$no_cache" != 1; then
12610 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12611 fi
12612
12613 if test "$wxUSE_PNM" = yes; then
12614 { echo "$as_me:$LINENO: result: yes" >&5
12615 echo "${ECHO_T}yes" >&6; }
12616 else
12617 { echo "$as_me:$LINENO: result: no" >&5
12618 echo "${ECHO_T}no" >&6; }
12619 fi
12620
12621
12622 enablestring=
12623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12624 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12625 no_cache=0
12626 # Check whether --enable-xpm was given.
12627 if test "${enable_xpm+set}" = set; then
12628 enableval=$enable_xpm;
12629 if test "$enableval" = yes; then
12630 ac_cv_use_xpm='wxUSE_XPM=yes'
12631 else
12632 ac_cv_use_xpm='wxUSE_XPM=no'
12633 fi
12634
12635 else
12636
12637 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
12638 if test "x$LINE" != x ; then
12639 eval "DEFAULT_$LINE"
12640 else
12641 no_cache=1
12642 fi
12643
12644 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12645
12646 fi
12647
12648
12649 eval "$ac_cv_use_xpm"
12650 if test "$no_cache" != 1; then
12651 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12652 fi
12653
12654 if test "$wxUSE_XPM" = yes; then
12655 { echo "$as_me:$LINENO: result: yes" >&5
12656 echo "${ECHO_T}yes" >&6; }
12657 else
12658 { echo "$as_me:$LINENO: result: no" >&5
12659 echo "${ECHO_T}no" >&6; }
12660 fi
12661
12662
12663 enablestring=
12664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12665 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12666 no_cache=0
12667 # Check whether --enable-ico_cur was given.
12668 if test "${enable_ico_cur+set}" = set; then
12669 enableval=$enable_ico_cur;
12670 if test "$enableval" = yes; then
12671 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12672 else
12673 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12674 fi
12675
12676 else
12677
12678 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
12679 if test "x$LINE" != x ; then
12680 eval "DEFAULT_$LINE"
12681 else
12682 no_cache=1
12683 fi
12684
12685 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12686
12687 fi
12688
12689
12690 eval "$ac_cv_use_ico_cur"
12691 if test "$no_cache" != 1; then
12692 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12693 fi
12694
12695 if test "$wxUSE_ICO_CUR" = yes; then
12696 { echo "$as_me:$LINENO: result: yes" >&5
12697 echo "${ECHO_T}yes" >&6; }
12698 else
12699 { echo "$as_me:$LINENO: result: no" >&5
12700 echo "${ECHO_T}no" >&6; }
12701 fi
12702
12703
12704 fi
12705
12706
12707
12708 # Check whether --with-flavour was given.
12709 if test "${with_flavour+set}" = set; then
12710 withval=$with_flavour; WX_FLAVOUR="$withval"
12711 fi
12712
12713
12714
12715
12716 enablestring=
12717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12718 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12719 no_cache=0
12720 # Check whether --enable-official_build was given.
12721 if test "${enable_official_build+set}" = set; then
12722 enableval=$enable_official_build;
12723 if test "$enableval" = yes; then
12724 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12725 else
12726 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12727 fi
12728
12729 else
12730
12731 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
12732 if test "x$LINE" != x ; then
12733 eval "DEFAULT_$LINE"
12734 else
12735 no_cache=1
12736 fi
12737
12738 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12739
12740 fi
12741
12742
12743 eval "$ac_cv_use_official_build"
12744 if test "$no_cache" != 1; then
12745 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12746 fi
12747
12748 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12749 { echo "$as_me:$LINENO: result: yes" >&5
12750 echo "${ECHO_T}yes" >&6; }
12751 else
12752 { echo "$as_me:$LINENO: result: no" >&5
12753 echo "${ECHO_T}no" >&6; }
12754 fi
12755
12756 # Check whether --enable-vendor was given.
12757 if test "${enable_vendor+set}" = set; then
12758 enableval=$enable_vendor; VENDOR="$enableval"
12759 fi
12760
12761 if test "x$VENDOR" = "x"; then
12762 VENDOR="custom"
12763 fi
12764
12765
12766
12767
12768 echo "saving argument cache $wx_arg_cache_file"
12769 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12770
12771
12772
12773 { echo "$as_me:$LINENO: checking for toolkit" >&5
12774 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12775
12776 # In Wine, we need to default to MSW, not GTK or MOTIF
12777 if test "$wxUSE_WINE" = "yes"; then
12778 DEFAULT_DEFAULT_wxUSE_GTK=0
12779 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12780 DEFAULT_DEFAULT_wxUSE_MSW=1
12781 wxUSE_SHARED=no
12782 CC=${CC:-winegcc}
12783 CXX=${CXX:-wineg++}
12784 fi
12785
12786
12787 if test "$wxUSE_GUI" = "yes"; then
12788
12789 if test "$USE_BEOS" = 1; then
12790 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12791 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12792 { (exit 1); exit 1; }; }
12793 fi
12794
12795 if test "$TOOLKIT_GIVEN" = 1; then
12796 for toolkit in `echo $ALL_TOOLKITS`; do
12797 var=wxUSE_$toolkit
12798 eval "value=\$${var}"
12799 if test "x$value" = "xno"; then
12800 eval "$var=0"
12801 elif test "x$value" != "x"; then
12802 eval "$var=1"
12803 fi
12804
12805 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12806 eval "wx${toolkit}_VERSION=$value"
12807 fi
12808 done
12809 else
12810 for toolkit in `echo $ALL_TOOLKITS`; do
12811 if test "$has_toolkit_in_cache" != 1; then
12812 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12813 else
12814 var=DEFAULT_wxUSE_$toolkit
12815
12816 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12817 if test "x$version" != "x"; then
12818 eval "wx${toolkit}_VERSION=$version"
12819 fi
12820 fi
12821 eval "wxUSE_$toolkit=\$${var}"
12822 done
12823 fi
12824
12825 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12826 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12827 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12828
12829 case "${host}" in
12830 *-pc-os2_emx | *-pc-os2-emx )
12831 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12832 esac
12833
12834 case "$NUM_TOOLKITS" in
12835 1)
12836 ;;
12837 0)
12838 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12839 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12840 { (exit 1); exit 1; }; }
12841 ;;
12842 *)
12843 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12844 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12845 { (exit 1); exit 1; }; }
12846 esac
12847
12848 # to be removed when --disable-gtk2 isn't needed
12849 if test "x$wxUSE_GTK2" = "xyes"; then
12850 wxGTK_VERSION=2
12851 elif test "x$wxUSE_GTK2" = "xno"; then
12852 wxGTK_VERSION=1
12853 fi
12854
12855 for toolkit in `echo $ALL_TOOLKITS`; do
12856 var=wxUSE_$toolkit
12857 eval "value=\$${var}"
12858 if test "x$value" != x; then
12859 cache_var=CACHE_$toolkit
12860 eval "cache=\$${cache_var}"
12861 if test "$cache" = 1; then
12862 echo "$var=$value" >> ${wx_arg_cache_file}
12863 eval "version=\$wx${toolkit}_VERSION"
12864 if test "x$version" != "x"; then
12865 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12866 fi
12867 fi
12868 if test "$value" = 1; then
12869 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12870 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12871 echo "${ECHO_T}$toolkit_echo" >&6; }
12872 fi
12873 fi
12874 done
12875 else
12876 if test "x$host_alias" != "x"; then
12877 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12878 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12879 else
12880 { echo "$as_me:$LINENO: result: base only" >&5
12881 echo "${ECHO_T}base only" >&6; }
12882 fi
12883 fi
12884
12885
12886 cat >confcache <<\_ACEOF
12887 # This file is a shell script that caches the results of configure
12888 # tests run on this system so they can be shared between configure
12889 # scripts and configure runs, see configure's option --config-cache.
12890 # It is not useful on other systems. If it contains results you don't
12891 # want to keep, you may remove or edit it.
12892 #
12893 # config.status only pays attention to the cache file if you give it
12894 # the --recheck option to rerun configure.
12895 #
12896 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12897 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12898 # following values.
12899
12900 _ACEOF
12901
12902 # The following way of writing the cache mishandles newlines in values,
12903 # but we know of no workaround that is simple, portable, and efficient.
12904 # So, we kill variables containing newlines.
12905 # Ultrix sh set writes to stderr and can't be redirected directly,
12906 # and sets the high bit in the cache file unless we assign to the vars.
12907 (
12908 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12909 eval ac_val=\$$ac_var
12910 case $ac_val in #(
12911 *${as_nl}*)
12912 case $ac_var in #(
12913 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12914 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12915 esac
12916 case $ac_var in #(
12917 _ | IFS | as_nl) ;; #(
12918 *) $as_unset $ac_var ;;
12919 esac ;;
12920 esac
12921 done
12922
12923 (set) 2>&1 |
12924 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12925 *${as_nl}ac_space=\ *)
12926 # `set' does not quote correctly, so add quotes (double-quote
12927 # substitution turns \\\\ into \\, and sed turns \\ into \).
12928 sed -n \
12929 "s/'/'\\\\''/g;
12930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12931 ;; #(
12932 *)
12933 # `set' quotes correctly as required by POSIX, so do not add quotes.
12934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12935 ;;
12936 esac |
12937 sort
12938 ) |
12939 sed '
12940 /^ac_cv_env_/b end
12941 t clear
12942 :clear
12943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12944 t end
12945 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12946 :end' >>confcache
12947 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12948 if test -w "$cache_file"; then
12949 test "x$cache_file" != "x/dev/null" &&
12950 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12951 echo "$as_me: updating cache $cache_file" >&6;}
12952 cat confcache >$cache_file
12953 else
12954 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12955 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12956 fi
12957 fi
12958 rm -f confcache
12959
12960 CFLAGS=${CFLAGS:=}
12961
12962
12963
12964 ac_ext=c
12965 ac_cpp='$CPP $CPPFLAGS'
12966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12969 if test -n "$ac_tool_prefix"; then
12970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12971 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12974 if test "${ac_cv_prog_CC+set}" = set; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 else
12977 if test -n "$CC"; then
12978 ac_cv_prog_CC="$CC" # Let the user override the test.
12979 else
12980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12981 for as_dir in $PATH
12982 do
12983 IFS=$as_save_IFS
12984 test -z "$as_dir" && as_dir=.
12985 for ac_exec_ext in '' $ac_executable_extensions; do
12986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12987 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12989 break 2
12990 fi
12991 done
12992 done
12993 IFS=$as_save_IFS
12994
12995 fi
12996 fi
12997 CC=$ac_cv_prog_CC
12998 if test -n "$CC"; then
12999 { echo "$as_me:$LINENO: result: $CC" >&5
13000 echo "${ECHO_T}$CC" >&6; }
13001 else
13002 { echo "$as_me:$LINENO: result: no" >&5
13003 echo "${ECHO_T}no" >&6; }
13004 fi
13005
13006
13007 fi
13008 if test -z "$ac_cv_prog_CC"; then
13009 ac_ct_CC=$CC
13010 # Extract the first word of "gcc", so it can be a program name with args.
13011 set dummy gcc; ac_word=$2
13012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13016 else
13017 if test -n "$ac_ct_CC"; then
13018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13019 else
13020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13021 for as_dir in $PATH
13022 do
13023 IFS=$as_save_IFS
13024 test -z "$as_dir" && as_dir=.
13025 for ac_exec_ext in '' $ac_executable_extensions; do
13026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13027 ac_cv_prog_ac_ct_CC="gcc"
13028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13029 break 2
13030 fi
13031 done
13032 done
13033 IFS=$as_save_IFS
13034
13035 fi
13036 fi
13037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13038 if test -n "$ac_ct_CC"; then
13039 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13040 echo "${ECHO_T}$ac_ct_CC" >&6; }
13041 else
13042 { echo "$as_me:$LINENO: result: no" >&5
13043 echo "${ECHO_T}no" >&6; }
13044 fi
13045
13046 if test "x$ac_ct_CC" = x; then
13047 CC=""
13048 else
13049 case $cross_compiling:$ac_tool_warned in
13050 yes:)
13051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13052 whose name does not start with the host triplet. If you think this
13053 configuration is useful to you, please write to autoconf@gnu.org." >&5
13054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13055 whose name does not start with the host triplet. If you think this
13056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13057 ac_tool_warned=yes ;;
13058 esac
13059 CC=$ac_ct_CC
13060 fi
13061 else
13062 CC="$ac_cv_prog_CC"
13063 fi
13064
13065 if test -z "$CC"; then
13066 if test -n "$ac_tool_prefix"; then
13067 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13068 set dummy ${ac_tool_prefix}cc; ac_word=$2
13069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13071 if test "${ac_cv_prog_CC+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 else
13074 if test -n "$CC"; then
13075 ac_cv_prog_CC="$CC" # Let the user override the test.
13076 else
13077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13078 for as_dir in $PATH
13079 do
13080 IFS=$as_save_IFS
13081 test -z "$as_dir" && as_dir=.
13082 for ac_exec_ext in '' $ac_executable_extensions; do
13083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13084 ac_cv_prog_CC="${ac_tool_prefix}cc"
13085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13086 break 2
13087 fi
13088 done
13089 done
13090 IFS=$as_save_IFS
13091
13092 fi
13093 fi
13094 CC=$ac_cv_prog_CC
13095 if test -n "$CC"; then
13096 { echo "$as_me:$LINENO: result: $CC" >&5
13097 echo "${ECHO_T}$CC" >&6; }
13098 else
13099 { echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6; }
13101 fi
13102
13103
13104 fi
13105 fi
13106 if test -z "$CC"; then
13107 # Extract the first word of "cc", so it can be a program name with args.
13108 set dummy cc; ac_word=$2
13109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13111 if test "${ac_cv_prog_CC+set}" = set; then
13112 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 else
13114 if test -n "$CC"; then
13115 ac_cv_prog_CC="$CC" # Let the user override the test.
13116 else
13117 ac_prog_rejected=no
13118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13119 for as_dir in $PATH
13120 do
13121 IFS=$as_save_IFS
13122 test -z "$as_dir" && as_dir=.
13123 for ac_exec_ext in '' $ac_executable_extensions; do
13124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13125 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13126 ac_prog_rejected=yes
13127 continue
13128 fi
13129 ac_cv_prog_CC="cc"
13130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13131 break 2
13132 fi
13133 done
13134 done
13135 IFS=$as_save_IFS
13136
13137 if test $ac_prog_rejected = yes; then
13138 # We found a bogon in the path, so make sure we never use it.
13139 set dummy $ac_cv_prog_CC
13140 shift
13141 if test $# != 0; then
13142 # We chose a different compiler from the bogus one.
13143 # However, it has the same basename, so the bogon will be chosen
13144 # first if we set CC to just the basename; use the full file name.
13145 shift
13146 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13147 fi
13148 fi
13149 fi
13150 fi
13151 CC=$ac_cv_prog_CC
13152 if test -n "$CC"; then
13153 { echo "$as_me:$LINENO: result: $CC" >&5
13154 echo "${ECHO_T}$CC" >&6; }
13155 else
13156 { echo "$as_me:$LINENO: result: no" >&5
13157 echo "${ECHO_T}no" >&6; }
13158 fi
13159
13160
13161 fi
13162 if test -z "$CC"; then
13163 if test -n "$ac_tool_prefix"; then
13164 for ac_prog in cl.exe
13165 do
13166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13167 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13170 if test "${ac_cv_prog_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 else
13173 if test -n "$CC"; then
13174 ac_cv_prog_CC="$CC" # Let the user override the test.
13175 else
13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13177 for as_dir in $PATH
13178 do
13179 IFS=$as_save_IFS
13180 test -z "$as_dir" && as_dir=.
13181 for ac_exec_ext in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13185 break 2
13186 fi
13187 done
13188 done
13189 IFS=$as_save_IFS
13190
13191 fi
13192 fi
13193 CC=$ac_cv_prog_CC
13194 if test -n "$CC"; then
13195 { echo "$as_me:$LINENO: result: $CC" >&5
13196 echo "${ECHO_T}$CC" >&6; }
13197 else
13198 { echo "$as_me:$LINENO: result: no" >&5
13199 echo "${ECHO_T}no" >&6; }
13200 fi
13201
13202
13203 test -n "$CC" && break
13204 done
13205 fi
13206 if test -z "$CC"; then
13207 ac_ct_CC=$CC
13208 for ac_prog in cl.exe
13209 do
13210 # Extract the first word of "$ac_prog", so it can be a program name with args.
13211 set dummy $ac_prog; ac_word=$2
13212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13215 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 else
13217 if test -n "$ac_ct_CC"; then
13218 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13219 else
13220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13221 for as_dir in $PATH
13222 do
13223 IFS=$as_save_IFS
13224 test -z "$as_dir" && as_dir=.
13225 for ac_exec_ext in '' $ac_executable_extensions; do
13226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13227 ac_cv_prog_ac_ct_CC="$ac_prog"
13228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13229 break 2
13230 fi
13231 done
13232 done
13233 IFS=$as_save_IFS
13234
13235 fi
13236 fi
13237 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13238 if test -n "$ac_ct_CC"; then
13239 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13240 echo "${ECHO_T}$ac_ct_CC" >&6; }
13241 else
13242 { echo "$as_me:$LINENO: result: no" >&5
13243 echo "${ECHO_T}no" >&6; }
13244 fi
13245
13246
13247 test -n "$ac_ct_CC" && break
13248 done
13249
13250 if test "x$ac_ct_CC" = x; then
13251 CC=""
13252 else
13253 case $cross_compiling:$ac_tool_warned in
13254 yes:)
13255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13256 whose name does not start with the host triplet. If you think this
13257 configuration is useful to you, please write to autoconf@gnu.org." >&5
13258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13259 whose name does not start with the host triplet. If you think this
13260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13261 ac_tool_warned=yes ;;
13262 esac
13263 CC=$ac_ct_CC
13264 fi
13265 fi
13266
13267 fi
13268
13269
13270 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13271 See \`config.log' for more details." >&5
13272 echo "$as_me: error: no acceptable C compiler found in \$PATH
13273 See \`config.log' for more details." >&2;}
13274 { (exit 1); exit 1; }; }
13275
13276 # Provide some information about the compiler.
13277 echo "$as_me:$LINENO: checking for C compiler version" >&5
13278 ac_compiler=`set X $ac_compile; echo $2`
13279 { (ac_try="$ac_compiler --version >&5"
13280 case "(($ac_try" in
13281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13282 *) ac_try_echo=$ac_try;;
13283 esac
13284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13285 (eval "$ac_compiler --version >&5") 2>&5
13286 ac_status=$?
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }
13289 { (ac_try="$ac_compiler -v >&5"
13290 case "(($ac_try" in
13291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292 *) ac_try_echo=$ac_try;;
13293 esac
13294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13295 (eval "$ac_compiler -v >&5") 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }
13299 { (ac_try="$ac_compiler -V >&5"
13300 case "(($ac_try" in
13301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13302 *) ac_try_echo=$ac_try;;
13303 esac
13304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13305 (eval "$ac_compiler -V >&5") 2>&5
13306 ac_status=$?
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); }
13309
13310 cat >conftest.$ac_ext <<_ACEOF
13311 /* confdefs.h. */
13312 _ACEOF
13313 cat confdefs.h >>conftest.$ac_ext
13314 cat >>conftest.$ac_ext <<_ACEOF
13315 /* end confdefs.h. */
13316
13317 int
13318 main ()
13319 {
13320
13321 ;
13322 return 0;
13323 }
13324 _ACEOF
13325 ac_clean_files_save=$ac_clean_files
13326 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13327 # Try to create an executable without -o first, disregard a.out.
13328 # It will help us diagnose broken compilers, and finding out an intuition
13329 # of exeext.
13330 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13331 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13332 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13333 #
13334 # List of possible output files, starting from the most likely.
13335 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13336 # only as a last resort. b.out is created by i960 compilers.
13337 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13338 #
13339 # The IRIX 6 linker writes into existing files which may not be
13340 # executable, retaining their permissions. Remove them first so a
13341 # subsequent execution test works.
13342 ac_rmfiles=
13343 for ac_file in $ac_files
13344 do
13345 case $ac_file in
13346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13347 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13348 esac
13349 done
13350 rm -f $ac_rmfiles
13351
13352 if { (ac_try="$ac_link_default"
13353 case "(($ac_try" in
13354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13355 *) ac_try_echo=$ac_try;;
13356 esac
13357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13358 (eval "$ac_link_default") 2>&5
13359 ac_status=$?
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; then
13362 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13364 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13365 # so that the user can short-circuit this test for compilers unknown to
13366 # Autoconf.
13367 for ac_file in $ac_files ''
13368 do
13369 test -f "$ac_file" || continue
13370 case $ac_file in
13371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13372 ;;
13373 [ab].out )
13374 # We found the default executable, but exeext='' is most
13375 # certainly right.
13376 break;;
13377 *.* )
13378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13379 then :; else
13380 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13381 fi
13382 # We set ac_cv_exeext here because the later test for it is not
13383 # safe: cross compilers may not add the suffix if given an `-o'
13384 # argument, so we may need to know it at that point already.
13385 # Even if this section looks crufty: it has the advantage of
13386 # actually working.
13387 break;;
13388 * )
13389 break;;
13390 esac
13391 done
13392 test "$ac_cv_exeext" = no && ac_cv_exeext=
13393
13394 else
13395 ac_file=''
13396 fi
13397
13398 { echo "$as_me:$LINENO: result: $ac_file" >&5
13399 echo "${ECHO_T}$ac_file" >&6; }
13400 if test -z "$ac_file"; then
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13403
13404 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13405 See \`config.log' for more details." >&5
13406 echo "$as_me: error: C compiler cannot create executables
13407 See \`config.log' for more details." >&2;}
13408 { (exit 77); exit 77; }; }
13409 fi
13410
13411 ac_exeext=$ac_cv_exeext
13412
13413 # Check that the compiler produces executables we can run. If not, either
13414 # the compiler is broken, or we cross compile.
13415 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13418 # If not cross compiling, check that we can run a simple program.
13419 if test "$cross_compiling" != yes; then
13420 if { ac_try='./$ac_file'
13421 { (case "(($ac_try" in
13422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13423 *) ac_try_echo=$ac_try;;
13424 esac
13425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13426 (eval "$ac_try") 2>&5
13427 ac_status=$?
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13430 cross_compiling=no
13431 else
13432 if test "$cross_compiling" = maybe; then
13433 cross_compiling=yes
13434 else
13435 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13436 If you meant to cross compile, use \`--host'.
13437 See \`config.log' for more details." >&5
13438 echo "$as_me: error: cannot run C compiled programs.
13439 If you meant to cross compile, use \`--host'.
13440 See \`config.log' for more details." >&2;}
13441 { (exit 1); exit 1; }; }
13442 fi
13443 fi
13444 fi
13445 { echo "$as_me:$LINENO: result: yes" >&5
13446 echo "${ECHO_T}yes" >&6; }
13447
13448 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13449 ac_clean_files=$ac_clean_files_save
13450 # Check that the compiler produces executables we can run. If not, either
13451 # the compiler is broken, or we cross compile.
13452 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13453 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13454 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13455 echo "${ECHO_T}$cross_compiling" >&6; }
13456
13457 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13458 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13459 if { (ac_try="$ac_link"
13460 case "(($ac_try" in
13461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13462 *) ac_try_echo=$ac_try;;
13463 esac
13464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13465 (eval "$ac_link") 2>&5
13466 ac_status=$?
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; then
13469 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13470 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13471 # work properly (i.e., refer to `conftest.exe'), while it won't with
13472 # `rm'.
13473 for ac_file in conftest.exe conftest conftest.*; do
13474 test -f "$ac_file" || continue
13475 case $ac_file in
13476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13477 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13478 break;;
13479 * ) break;;
13480 esac
13481 done
13482 else
13483 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13484 See \`config.log' for more details." >&5
13485 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13486 See \`config.log' for more details." >&2;}
13487 { (exit 1); exit 1; }; }
13488 fi
13489
13490 rm -f conftest$ac_cv_exeext
13491 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13492 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13493
13494 rm -f conftest.$ac_ext
13495 EXEEXT=$ac_cv_exeext
13496 ac_exeext=$EXEEXT
13497 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13498 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13499 if test "${ac_cv_objext+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
13502 cat >conftest.$ac_ext <<_ACEOF
13503 /* confdefs.h. */
13504 _ACEOF
13505 cat confdefs.h >>conftest.$ac_ext
13506 cat >>conftest.$ac_ext <<_ACEOF
13507 /* end confdefs.h. */
13508
13509 int
13510 main ()
13511 {
13512
13513 ;
13514 return 0;
13515 }
13516 _ACEOF
13517 rm -f conftest.o conftest.obj
13518 if { (ac_try="$ac_compile"
13519 case "(($ac_try" in
13520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13521 *) ac_try_echo=$ac_try;;
13522 esac
13523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13524 (eval "$ac_compile") 2>&5
13525 ac_status=$?
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; then
13528 for ac_file in conftest.o conftest.obj conftest.*; do
13529 test -f "$ac_file" || continue;
13530 case $ac_file in
13531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13532 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13533 break;;
13534 esac
13535 done
13536 else
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13539
13540 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13541 See \`config.log' for more details." >&5
13542 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13543 See \`config.log' for more details." >&2;}
13544 { (exit 1); exit 1; }; }
13545 fi
13546
13547 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13548 fi
13549 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13550 echo "${ECHO_T}$ac_cv_objext" >&6; }
13551 OBJEXT=$ac_cv_objext
13552 ac_objext=$OBJEXT
13553 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13554 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13555 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13556 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 else
13558 cat >conftest.$ac_ext <<_ACEOF
13559 /* confdefs.h. */
13560 _ACEOF
13561 cat confdefs.h >>conftest.$ac_ext
13562 cat >>conftest.$ac_ext <<_ACEOF
13563 /* end confdefs.h. */
13564
13565 int
13566 main ()
13567 {
13568 #ifndef __GNUC__
13569 choke me
13570 #endif
13571
13572 ;
13573 return 0;
13574 }
13575 _ACEOF
13576 rm -f conftest.$ac_objext
13577 if { (ac_try="$ac_compile"
13578 case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13581 esac
13582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_compile") 2>conftest.er1
13584 ac_status=$?
13585 grep -v '^ *+' conftest.er1 >conftest.err
13586 rm -f conftest.er1
13587 cat conftest.err >&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } && {
13590 test -z "$ac_c_werror_flag" ||
13591 test ! -s conftest.err
13592 } && test -s conftest.$ac_objext; then
13593 ac_compiler_gnu=yes
13594 else
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.$ac_ext >&5
13597
13598 ac_compiler_gnu=no
13599 fi
13600
13601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13603
13604 fi
13605 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13606 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13607 GCC=`test $ac_compiler_gnu = yes && echo yes`
13608 ac_test_CFLAGS=${CFLAGS+set}
13609 ac_save_CFLAGS=$CFLAGS
13610 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13612 if test "${ac_cv_prog_cc_g+set}" = set; then
13613 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 else
13615 ac_save_c_werror_flag=$ac_c_werror_flag
13616 ac_c_werror_flag=yes
13617 ac_cv_prog_cc_g=no
13618 CFLAGS="-g"
13619 cat >conftest.$ac_ext <<_ACEOF
13620 /* confdefs.h. */
13621 _ACEOF
13622 cat confdefs.h >>conftest.$ac_ext
13623 cat >>conftest.$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13625
13626 int
13627 main ()
13628 {
13629
13630 ;
13631 return 0;
13632 }
13633 _ACEOF
13634 rm -f conftest.$ac_objext
13635 if { (ac_try="$ac_compile"
13636 case "(($ac_try" in
13637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13638 *) ac_try_echo=$ac_try;;
13639 esac
13640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13641 (eval "$ac_compile") 2>conftest.er1
13642 ac_status=$?
13643 grep -v '^ *+' conftest.er1 >conftest.err
13644 rm -f conftest.er1
13645 cat conftest.err >&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); } && {
13648 test -z "$ac_c_werror_flag" ||
13649 test ! -s conftest.err
13650 } && test -s conftest.$ac_objext; then
13651 ac_cv_prog_cc_g=yes
13652 else
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13655
13656 CFLAGS=""
13657 cat >conftest.$ac_ext <<_ACEOF
13658 /* confdefs.h. */
13659 _ACEOF
13660 cat confdefs.h >>conftest.$ac_ext
13661 cat >>conftest.$ac_ext <<_ACEOF
13662 /* end confdefs.h. */
13663
13664 int
13665 main ()
13666 {
13667
13668 ;
13669 return 0;
13670 }
13671 _ACEOF
13672 rm -f conftest.$ac_objext
13673 if { (ac_try="$ac_compile"
13674 case "(($ac_try" in
13675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13676 *) ac_try_echo=$ac_try;;
13677 esac
13678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13679 (eval "$ac_compile") 2>conftest.er1
13680 ac_status=$?
13681 grep -v '^ *+' conftest.er1 >conftest.err
13682 rm -f conftest.er1
13683 cat conftest.err >&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); } && {
13686 test -z "$ac_c_werror_flag" ||
13687 test ! -s conftest.err
13688 } && test -s conftest.$ac_objext; then
13689 :
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13693
13694 ac_c_werror_flag=$ac_save_c_werror_flag
13695 CFLAGS="-g"
13696 cat >conftest.$ac_ext <<_ACEOF
13697 /* confdefs.h. */
13698 _ACEOF
13699 cat confdefs.h >>conftest.$ac_ext
13700 cat >>conftest.$ac_ext <<_ACEOF
13701 /* end confdefs.h. */
13702
13703 int
13704 main ()
13705 {
13706
13707 ;
13708 return 0;
13709 }
13710 _ACEOF
13711 rm -f conftest.$ac_objext
13712 if { (ac_try="$ac_compile"
13713 case "(($ac_try" in
13714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13715 *) ac_try_echo=$ac_try;;
13716 esac
13717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13718 (eval "$ac_compile") 2>conftest.er1
13719 ac_status=$?
13720 grep -v '^ *+' conftest.er1 >conftest.err
13721 rm -f conftest.er1
13722 cat conftest.err >&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); } && {
13725 test -z "$ac_c_werror_flag" ||
13726 test ! -s conftest.err
13727 } && test -s conftest.$ac_objext; then
13728 ac_cv_prog_cc_g=yes
13729 else
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13732
13733
13734 fi
13735
13736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13737 fi
13738
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13740 fi
13741
13742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13743 ac_c_werror_flag=$ac_save_c_werror_flag
13744 fi
13745 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13746 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13747 if test "$ac_test_CFLAGS" = set; then
13748 CFLAGS=$ac_save_CFLAGS
13749 elif test $ac_cv_prog_cc_g = yes; then
13750 if test "$GCC" = yes; then
13751 CFLAGS="-g -O2"
13752 else
13753 CFLAGS="-g"
13754 fi
13755 else
13756 if test "$GCC" = yes; then
13757 CFLAGS="-O2"
13758 else
13759 CFLAGS=
13760 fi
13761 fi
13762 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13763 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13764 if test "${ac_cv_prog_cc_c89+set}" = set; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13766 else
13767 ac_cv_prog_cc_c89=no
13768 ac_save_CC=$CC
13769 cat >conftest.$ac_ext <<_ACEOF
13770 /* confdefs.h. */
13771 _ACEOF
13772 cat confdefs.h >>conftest.$ac_ext
13773 cat >>conftest.$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 #include <stdarg.h>
13776 #include <stdio.h>
13777 #include <sys/types.h>
13778 #include <sys/stat.h>
13779 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13780 struct buf { int x; };
13781 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13782 static char *e (p, i)
13783 char **p;
13784 int i;
13785 {
13786 return p[i];
13787 }
13788 static char *f (char * (*g) (char **, int), char **p, ...)
13789 {
13790 char *s;
13791 va_list v;
13792 va_start (v,p);
13793 s = g (p, va_arg (v,int));
13794 va_end (v);
13795 return s;
13796 }
13797
13798 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13799 function prototypes and stuff, but not '\xHH' hex character constants.
13800 These don't provoke an error unfortunately, instead are silently treated
13801 as 'x'. The following induces an error, until -std is added to get
13802 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13803 array size at least. It's necessary to write '\x00'==0 to get something
13804 that's true only with -std. */
13805 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13806
13807 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13808 inside strings and character constants. */
13809 #define FOO(x) 'x'
13810 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13811
13812 int test (int i, double x);
13813 struct s1 {int (*f) (int a);};
13814 struct s2 {int (*f) (double a);};
13815 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13816 int argc;
13817 char **argv;
13818 int
13819 main ()
13820 {
13821 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13822 ;
13823 return 0;
13824 }
13825 _ACEOF
13826 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13827 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13828 do
13829 CC="$ac_save_CC $ac_arg"
13830 rm -f conftest.$ac_objext
13831 if { (ac_try="$ac_compile"
13832 case "(($ac_try" in
13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13834 *) ac_try_echo=$ac_try;;
13835 esac
13836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_compile") 2>conftest.er1
13838 ac_status=$?
13839 grep -v '^ *+' conftest.er1 >conftest.err
13840 rm -f conftest.er1
13841 cat conftest.err >&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } && {
13844 test -z "$ac_c_werror_flag" ||
13845 test ! -s conftest.err
13846 } && test -s conftest.$ac_objext; then
13847 ac_cv_prog_cc_c89=$ac_arg
13848 else
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.$ac_ext >&5
13851
13852
13853 fi
13854
13855 rm -f core conftest.err conftest.$ac_objext
13856 test "x$ac_cv_prog_cc_c89" != "xno" && break
13857 done
13858 rm -f conftest.$ac_ext
13859 CC=$ac_save_CC
13860
13861 fi
13862 # AC_CACHE_VAL
13863 case "x$ac_cv_prog_cc_c89" in
13864 x)
13865 { echo "$as_me:$LINENO: result: none needed" >&5
13866 echo "${ECHO_T}none needed" >&6; } ;;
13867 xno)
13868 { echo "$as_me:$LINENO: result: unsupported" >&5
13869 echo "${ECHO_T}unsupported" >&6; } ;;
13870 *)
13871 CC="$CC $ac_cv_prog_cc_c89"
13872 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13873 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13874 esac
13875
13876
13877 ac_ext=c
13878 ac_cpp='$CPP $CPPFLAGS'
13879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13882
13883
13884
13885
13886 ac_ext=c
13887 ac_cpp='$CPP $CPPFLAGS'
13888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13891
13892 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13893 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13894 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13895 echo $ECHO_N "(cached) $ECHO_C" >&6
13896 else
13897 cat >conftest.$ac_ext <<_ACEOF
13898 /* confdefs.h. */
13899 _ACEOF
13900 cat confdefs.h >>conftest.$ac_ext
13901 cat >>conftest.$ac_ext <<_ACEOF
13902 /* end confdefs.h. */
13903
13904 int
13905 main ()
13906 {
13907
13908 #ifndef __INTEL_COMPILER
13909 choke me
13910 #endif
13911
13912 ;
13913 return 0;
13914 }
13915 _ACEOF
13916 rm -f conftest.$ac_objext
13917 if { (ac_try="$ac_compile"
13918 case "(($ac_try" in
13919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13920 *) ac_try_echo=$ac_try;;
13921 esac
13922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13923 (eval "$ac_compile") 2>conftest.er1
13924 ac_status=$?
13925 grep -v '^ *+' conftest.er1 >conftest.err
13926 rm -f conftest.er1
13927 cat conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); } && {
13930 test -z "$ac_c_werror_flag" ||
13931 test ! -s conftest.err
13932 } && test -s conftest.$ac_objext; then
13933 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13934 else
13935 echo "$as_me: failed program was:" >&5
13936 sed 's/^/| /' conftest.$ac_ext >&5
13937
13938 bakefile_cv_c_compiler___INTEL_COMPILER=no
13939
13940 fi
13941
13942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13943
13944
13945 fi
13946 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13947 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13948 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13949 :; INTELCC=yes
13950 else
13951 :;
13952 fi
13953 ac_ext=c
13954 ac_cpp='$CPP $CPPFLAGS'
13955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13958
13959
13960
13961
13962 if test "x$GCC" != "xyes"; then
13963 if test "xCC" = "xC"; then
13964 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13965 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13966 if test "${bakefile_cv_c_exto+set}" = set; then
13967 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 else
13969 cat >conftest.$ac_ext <<_ACEOF
13970 /* confdefs.h. */
13971 _ACEOF
13972 cat confdefs.h >>conftest.$ac_ext
13973 cat >>conftest.$ac_ext <<_ACEOF
13974 /* end confdefs.h. */
13975
13976 int
13977 main ()
13978 {
13979
13980 ;
13981 return 0;
13982 }
13983 _ACEOF
13984 rm -f conftest.$ac_objext conftest.$ac_ext.o
13985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13986 (eval $ac_compile) 2>&5
13987 ac_status=$?
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; then
13990 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13991 case $ac_file in
13992 conftest.$ac_ext.o)
13993 bakefile_cv_c_exto="-ext o"
13994 ;;
13995 *)
13996 ;;
13997 esac
13998 done
13999 else
14000 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14001 See \`config.log' for more details." >&5
14002 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14003 See \`config.log' for more details." >&2;}
14004 { (exit 1); exit 1; }; }
14005
14006 fi
14007
14008 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14009
14010 fi
14011 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14012 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14013 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14014 if test "c" = "c"; then
14015 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14016 fi
14017 if test "c" = "cxx"; then
14018 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14019 fi
14020 fi
14021
14022 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14023 unset ac_cv_prog_cc_g
14024 ac_test_CFLAGS=${CFLAGS+set}
14025 ac_save_CFLAGS=$CFLAGS
14026 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14027 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14028 if test "${ac_cv_prog_cc_g+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 else
14031 ac_save_c_werror_flag=$ac_c_werror_flag
14032 ac_c_werror_flag=yes
14033 ac_cv_prog_cc_g=no
14034 CFLAGS="-g"
14035 cat >conftest.$ac_ext <<_ACEOF
14036 /* confdefs.h. */
14037 _ACEOF
14038 cat confdefs.h >>conftest.$ac_ext
14039 cat >>conftest.$ac_ext <<_ACEOF
14040 /* end confdefs.h. */
14041
14042 int
14043 main ()
14044 {
14045
14046 ;
14047 return 0;
14048 }
14049 _ACEOF
14050 rm -f conftest.$ac_objext
14051 if { (ac_try="$ac_compile"
14052 case "(($ac_try" in
14053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14054 *) ac_try_echo=$ac_try;;
14055 esac
14056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14057 (eval "$ac_compile") 2>conftest.er1
14058 ac_status=$?
14059 grep -v '^ *+' conftest.er1 >conftest.err
14060 rm -f conftest.er1
14061 cat conftest.err >&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); } && {
14064 test -z "$ac_c_werror_flag" ||
14065 test ! -s conftest.err
14066 } && test -s conftest.$ac_objext; then
14067 ac_cv_prog_cc_g=yes
14068 else
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.$ac_ext >&5
14071
14072 CFLAGS=""
14073 cat >conftest.$ac_ext <<_ACEOF
14074 /* confdefs.h. */
14075 _ACEOF
14076 cat confdefs.h >>conftest.$ac_ext
14077 cat >>conftest.$ac_ext <<_ACEOF
14078 /* end confdefs.h. */
14079
14080 int
14081 main ()
14082 {
14083
14084 ;
14085 return 0;
14086 }
14087 _ACEOF
14088 rm -f conftest.$ac_objext
14089 if { (ac_try="$ac_compile"
14090 case "(($ac_try" in
14091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14092 *) ac_try_echo=$ac_try;;
14093 esac
14094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14095 (eval "$ac_compile") 2>conftest.er1
14096 ac_status=$?
14097 grep -v '^ *+' conftest.er1 >conftest.err
14098 rm -f conftest.er1
14099 cat conftest.err >&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); } && {
14102 test -z "$ac_c_werror_flag" ||
14103 test ! -s conftest.err
14104 } && test -s conftest.$ac_objext; then
14105 :
14106 else
14107 echo "$as_me: failed program was:" >&5
14108 sed 's/^/| /' conftest.$ac_ext >&5
14109
14110 ac_c_werror_flag=$ac_save_c_werror_flag
14111 CFLAGS="-g"
14112 cat >conftest.$ac_ext <<_ACEOF
14113 /* confdefs.h. */
14114 _ACEOF
14115 cat confdefs.h >>conftest.$ac_ext
14116 cat >>conftest.$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14118
14119 int
14120 main ()
14121 {
14122
14123 ;
14124 return 0;
14125 }
14126 _ACEOF
14127 rm -f conftest.$ac_objext
14128 if { (ac_try="$ac_compile"
14129 case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14132 esac
14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14134 (eval "$ac_compile") 2>conftest.er1
14135 ac_status=$?
14136 grep -v '^ *+' conftest.er1 >conftest.err
14137 rm -f conftest.er1
14138 cat conftest.err >&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } && {
14141 test -z "$ac_c_werror_flag" ||
14142 test ! -s conftest.err
14143 } && test -s conftest.$ac_objext; then
14144 ac_cv_prog_cc_g=yes
14145 else
14146 echo "$as_me: failed program was:" >&5
14147 sed 's/^/| /' conftest.$ac_ext >&5
14148
14149
14150 fi
14151
14152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14153 fi
14154
14155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14156 fi
14157
14158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14159 ac_c_werror_flag=$ac_save_c_werror_flag
14160 fi
14161 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14162 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14163 if test "$ac_test_CFLAGS" = set; then
14164 CFLAGS=$ac_save_CFLAGS
14165 elif test $ac_cv_prog_cc_g = yes; then
14166 if test "$GCC" = yes; then
14167 CFLAGS="-g -O2"
14168 else
14169 CFLAGS="-g"
14170 fi
14171 else
14172 if test "$GCC" = yes; then
14173 CFLAGS="-O2"
14174 else
14175 CFLAGS=
14176 fi
14177 fi
14178 fi
14179 fi
14180
14181 case `uname -s` in
14182 AIX*)
14183
14184
14185 ac_ext=c
14186 ac_cpp='$CPP $CPPFLAGS'
14187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14190
14191 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14192 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14193 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
14194 echo $ECHO_N "(cached) $ECHO_C" >&6
14195 else
14196 cat >conftest.$ac_ext <<_ACEOF
14197 /* confdefs.h. */
14198 _ACEOF
14199 cat confdefs.h >>conftest.$ac_ext
14200 cat >>conftest.$ac_ext <<_ACEOF
14201 /* end confdefs.h. */
14202
14203 int
14204 main ()
14205 {
14206
14207 #ifndef __xlC__
14208 choke me
14209 #endif
14210
14211 ;
14212 return 0;
14213 }
14214 _ACEOF
14215 rm -f conftest.$ac_objext
14216 if { (ac_try="$ac_compile"
14217 case "(($ac_try" in
14218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14219 *) ac_try_echo=$ac_try;;
14220 esac
14221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14222 (eval "$ac_compile") 2>conftest.er1
14223 ac_status=$?
14224 grep -v '^ *+' conftest.er1 >conftest.err
14225 rm -f conftest.er1
14226 cat conftest.err >&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } && {
14229 test -z "$ac_c_werror_flag" ||
14230 test ! -s conftest.err
14231 } && test -s conftest.$ac_objext; then
14232 bakefile_cv_c_compiler___xlC__=yes
14233 else
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14236
14237 bakefile_cv_c_compiler___xlC__=no
14238
14239 fi
14240
14241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14242
14243
14244 fi
14245 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
14246 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
14247 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
14248 :; XLCC=yes
14249 else
14250 :;
14251 fi
14252 ac_ext=c
14253 ac_cpp='$CPP $CPPFLAGS'
14254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14257
14258
14259
14260 ;;
14261
14262 Darwin)
14263
14264
14265 ac_ext=c
14266 ac_cpp='$CPP $CPPFLAGS'
14267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14270
14271 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14272 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14273 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 else
14276 cat >conftest.$ac_ext <<_ACEOF
14277 /* confdefs.h. */
14278 _ACEOF
14279 cat confdefs.h >>conftest.$ac_ext
14280 cat >>conftest.$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14282
14283 int
14284 main ()
14285 {
14286
14287 #ifndef __MWERKS__
14288 choke me
14289 #endif
14290
14291 ;
14292 return 0;
14293 }
14294 _ACEOF
14295 rm -f conftest.$ac_objext
14296 if { (ac_try="$ac_compile"
14297 case "(($ac_try" in
14298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14299 *) ac_try_echo=$ac_try;;
14300 esac
14301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14302 (eval "$ac_compile") 2>conftest.er1
14303 ac_status=$?
14304 grep -v '^ *+' conftest.er1 >conftest.err
14305 rm -f conftest.er1
14306 cat conftest.err >&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } && {
14309 test -z "$ac_c_werror_flag" ||
14310 test ! -s conftest.err
14311 } && test -s conftest.$ac_objext; then
14312 bakefile_cv_c_compiler___MWERKS__=yes
14313 else
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.$ac_ext >&5
14316
14317 bakefile_cv_c_compiler___MWERKS__=no
14318
14319 fi
14320
14321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14322
14323
14324 fi
14325 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
14326 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
14327 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
14328 :; MWCC=yes
14329 else
14330 :;
14331 fi
14332 ac_ext=c
14333 ac_cpp='$CPP $CPPFLAGS'
14334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14337
14338
14339
14340
14341
14342 ac_ext=c
14343 ac_cpp='$CPP $CPPFLAGS'
14344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14347
14348 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14349 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14350 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 cat >conftest.$ac_ext <<_ACEOF
14354 /* confdefs.h. */
14355 _ACEOF
14356 cat confdefs.h >>conftest.$ac_ext
14357 cat >>conftest.$ac_ext <<_ACEOF
14358 /* end confdefs.h. */
14359
14360 int
14361 main ()
14362 {
14363
14364 #ifndef __xlC__
14365 choke me
14366 #endif
14367
14368 ;
14369 return 0;
14370 }
14371 _ACEOF
14372 rm -f conftest.$ac_objext
14373 if { (ac_try="$ac_compile"
14374 case "(($ac_try" in
14375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14376 *) ac_try_echo=$ac_try;;
14377 esac
14378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14379 (eval "$ac_compile") 2>conftest.er1
14380 ac_status=$?
14381 grep -v '^ *+' conftest.er1 >conftest.err
14382 rm -f conftest.er1
14383 cat conftest.err >&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } && {
14386 test -z "$ac_c_werror_flag" ||
14387 test ! -s conftest.err
14388 } && test -s conftest.$ac_objext; then
14389 bakefile_cv_c_compiler___xlC__=yes
14390 else
14391 echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.$ac_ext >&5
14393
14394 bakefile_cv_c_compiler___xlC__=no
14395
14396 fi
14397
14398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14399
14400
14401 fi
14402 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
14403 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
14404 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
14405 :; XLCC=yes
14406 else
14407 :;
14408 fi
14409 ac_ext=c
14410 ac_cpp='$CPP $CPPFLAGS'
14411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14414
14415
14416
14417 ;;
14418
14419 IRIX*)
14420
14421
14422 ac_ext=c
14423 ac_cpp='$CPP $CPPFLAGS'
14424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14427
14428 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14429 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14430 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14431 echo $ECHO_N "(cached) $ECHO_C" >&6
14432 else
14433 cat >conftest.$ac_ext <<_ACEOF
14434 /* confdefs.h. */
14435 _ACEOF
14436 cat confdefs.h >>conftest.$ac_ext
14437 cat >>conftest.$ac_ext <<_ACEOF
14438 /* end confdefs.h. */
14439
14440 int
14441 main ()
14442 {
14443
14444 #ifndef _SGI_COMPILER_VERSION
14445 choke me
14446 #endif
14447
14448 ;
14449 return 0;
14450 }
14451 _ACEOF
14452 rm -f conftest.$ac_objext
14453 if { (ac_try="$ac_compile"
14454 case "(($ac_try" in
14455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14456 *) ac_try_echo=$ac_try;;
14457 esac
14458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14459 (eval "$ac_compile") 2>conftest.er1
14460 ac_status=$?
14461 grep -v '^ *+' conftest.er1 >conftest.err
14462 rm -f conftest.er1
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } && {
14466 test -z "$ac_c_werror_flag" ||
14467 test ! -s conftest.err
14468 } && test -s conftest.$ac_objext; then
14469 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14470 else
14471 echo "$as_me: failed program was:" >&5
14472 sed 's/^/| /' conftest.$ac_ext >&5
14473
14474 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14475
14476 fi
14477
14478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14479
14480
14481 fi
14482 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14483 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14484 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14485 :; SGICC=yes
14486 else
14487 :;
14488 fi
14489 ac_ext=c
14490 ac_cpp='$CPP $CPPFLAGS'
14491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14494
14495
14496
14497 ;;
14498
14499 Linux*)
14500
14501
14502 ac_ext=c
14503 ac_cpp='$CPP $CPPFLAGS'
14504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14507
14508 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14509 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14510 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 else
14513 cat >conftest.$ac_ext <<_ACEOF
14514 /* confdefs.h. */
14515 _ACEOF
14516 cat confdefs.h >>conftest.$ac_ext
14517 cat >>conftest.$ac_ext <<_ACEOF
14518 /* end confdefs.h. */
14519
14520 int
14521 main ()
14522 {
14523
14524 #ifndef __SUNPRO_C
14525 choke me
14526 #endif
14527
14528 ;
14529 return 0;
14530 }
14531 _ACEOF
14532 rm -f conftest.$ac_objext
14533 if { (ac_try="$ac_compile"
14534 case "(($ac_try" in
14535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14536 *) ac_try_echo=$ac_try;;
14537 esac
14538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14539 (eval "$ac_compile") 2>conftest.er1
14540 ac_status=$?
14541 grep -v '^ *+' conftest.er1 >conftest.err
14542 rm -f conftest.er1
14543 cat conftest.err >&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); } && {
14546 test -z "$ac_c_werror_flag" ||
14547 test ! -s conftest.err
14548 } && test -s conftest.$ac_objext; then
14549 bakefile_cv_c_compiler___SUNPRO_C=yes
14550 else
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.$ac_ext >&5
14553
14554 bakefile_cv_c_compiler___SUNPRO_C=no
14555
14556 fi
14557
14558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14559
14560
14561 fi
14562 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14563 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14564 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14565 :; SUNCC=yes
14566 else
14567 :;
14568 fi
14569 ac_ext=c
14570 ac_cpp='$CPP $CPPFLAGS'
14571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14574
14575
14576
14577 ;;
14578
14579 HP-UX*)
14580
14581
14582 ac_ext=c
14583 ac_cpp='$CPP $CPPFLAGS'
14584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14587
14588 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14589 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14590 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14591 echo $ECHO_N "(cached) $ECHO_C" >&6
14592 else
14593 cat >conftest.$ac_ext <<_ACEOF
14594 /* confdefs.h. */
14595 _ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599
14600 int
14601 main ()
14602 {
14603
14604 #ifndef __HP_cc
14605 choke me
14606 #endif
14607
14608 ;
14609 return 0;
14610 }
14611 _ACEOF
14612 rm -f conftest.$ac_objext
14613 if { (ac_try="$ac_compile"
14614 case "(($ac_try" in
14615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14616 *) ac_try_echo=$ac_try;;
14617 esac
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_compile") 2>conftest.er1
14620 ac_status=$?
14621 grep -v '^ *+' conftest.er1 >conftest.err
14622 rm -f conftest.er1
14623 cat conftest.err >&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } && {
14626 test -z "$ac_c_werror_flag" ||
14627 test ! -s conftest.err
14628 } && test -s conftest.$ac_objext; then
14629 bakefile_cv_c_compiler___HP_cc=yes
14630 else
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.$ac_ext >&5
14633
14634 bakefile_cv_c_compiler___HP_cc=no
14635
14636 fi
14637
14638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14639
14640
14641 fi
14642 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14643 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14644 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14645 :; HPCC=yes
14646 else
14647 :;
14648 fi
14649 ac_ext=c
14650 ac_cpp='$CPP $CPPFLAGS'
14651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14654
14655
14656
14657 ;;
14658
14659 OSF1)
14660
14661
14662 ac_ext=c
14663 ac_cpp='$CPP $CPPFLAGS'
14664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14667
14668 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14669 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14670 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14672 else
14673 cat >conftest.$ac_ext <<_ACEOF
14674 /* confdefs.h. */
14675 _ACEOF
14676 cat confdefs.h >>conftest.$ac_ext
14677 cat >>conftest.$ac_ext <<_ACEOF
14678 /* end confdefs.h. */
14679
14680 int
14681 main ()
14682 {
14683
14684 #ifndef __DECC
14685 choke me
14686 #endif
14687
14688 ;
14689 return 0;
14690 }
14691 _ACEOF
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14697 esac
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14700 ac_status=$?
14701 grep -v '^ *+' conftest.er1 >conftest.err
14702 rm -f conftest.er1
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 bakefile_cv_c_compiler___DECC=yes
14710 else
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714 bakefile_cv_c_compiler___DECC=no
14715
14716 fi
14717
14718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14719
14720
14721 fi
14722 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14723 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14724 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14725 :; COMPAQCC=yes
14726 else
14727 :;
14728 fi
14729 ac_ext=c
14730 ac_cpp='$CPP $CPPFLAGS'
14731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14734
14735
14736
14737 ;;
14738
14739 SunOS)
14740
14741
14742 ac_ext=c
14743 ac_cpp='$CPP $CPPFLAGS'
14744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14747
14748 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14749 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14750 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 else
14753 cat >conftest.$ac_ext <<_ACEOF
14754 /* confdefs.h. */
14755 _ACEOF
14756 cat confdefs.h >>conftest.$ac_ext
14757 cat >>conftest.$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14759
14760 int
14761 main ()
14762 {
14763
14764 #ifndef __SUNPRO_C
14765 choke me
14766 #endif
14767
14768 ;
14769 return 0;
14770 }
14771 _ACEOF
14772 rm -f conftest.$ac_objext
14773 if { (ac_try="$ac_compile"
14774 case "(($ac_try" in
14775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14776 *) ac_try_echo=$ac_try;;
14777 esac
14778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14779 (eval "$ac_compile") 2>conftest.er1
14780 ac_status=$?
14781 grep -v '^ *+' conftest.er1 >conftest.err
14782 rm -f conftest.er1
14783 cat conftest.err >&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } && {
14786 test -z "$ac_c_werror_flag" ||
14787 test ! -s conftest.err
14788 } && test -s conftest.$ac_objext; then
14789 bakefile_cv_c_compiler___SUNPRO_C=yes
14790 else
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.$ac_ext >&5
14793
14794 bakefile_cv_c_compiler___SUNPRO_C=no
14795
14796 fi
14797
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799
14800
14801 fi
14802 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14803 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14804 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14805 :; SUNCC=yes
14806 else
14807 :;
14808 fi
14809 ac_ext=c
14810 ac_cpp='$CPP $CPPFLAGS'
14811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14814
14815
14816
14817 ;;
14818 esac
14819 fi
14820
14821
14822
14823 ac_ext=c
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14828 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14829 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14830 # On Suns, sometimes $CPP names a directory.
14831 if test -n "$CPP" && test -d "$CPP"; then
14832 CPP=
14833 fi
14834 if test -z "$CPP"; then
14835 if test "${ac_cv_prog_CPP+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14837 else
14838 # Double quotes because CPP needs to be expanded
14839 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14840 do
14841 ac_preproc_ok=false
14842 for ac_c_preproc_warn_flag in '' yes
14843 do
14844 # Use a header file that comes with gcc, so configuring glibc
14845 # with a fresh cross-compiler works.
14846 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14847 # <limits.h> exists even on freestanding compilers.
14848 # On the NeXT, cc -E runs the code through the compiler's parser,
14849 # not just through cpp. "Syntax error" is here to catch this case.
14850 cat >conftest.$ac_ext <<_ACEOF
14851 /* confdefs.h. */
14852 _ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 #ifdef __STDC__
14857 # include <limits.h>
14858 #else
14859 # include <assert.h>
14860 #endif
14861 Syntax error
14862 _ACEOF
14863 if { (ac_try="$ac_cpp conftest.$ac_ext"
14864 case "(($ac_try" in
14865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14866 *) ac_try_echo=$ac_try;;
14867 esac
14868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14869 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14870 ac_status=$?
14871 grep -v '^ *+' conftest.er1 >conftest.err
14872 rm -f conftest.er1
14873 cat conftest.err >&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } >/dev/null && {
14876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14877 test ! -s conftest.err
14878 }; then
14879 :
14880 else
14881 echo "$as_me: failed program was:" >&5
14882 sed 's/^/| /' conftest.$ac_ext >&5
14883
14884 # Broken: fails on valid input.
14885 continue
14886 fi
14887
14888 rm -f conftest.err conftest.$ac_ext
14889
14890 # OK, works on sane cases. Now check whether nonexistent headers
14891 # can be detected and how.
14892 cat >conftest.$ac_ext <<_ACEOF
14893 /* confdefs.h. */
14894 _ACEOF
14895 cat confdefs.h >>conftest.$ac_ext
14896 cat >>conftest.$ac_ext <<_ACEOF
14897 /* end confdefs.h. */
14898 #include <ac_nonexistent.h>
14899 _ACEOF
14900 if { (ac_try="$ac_cpp conftest.$ac_ext"
14901 case "(($ac_try" in
14902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14903 *) ac_try_echo=$ac_try;;
14904 esac
14905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14907 ac_status=$?
14908 grep -v '^ *+' conftest.er1 >conftest.err
14909 rm -f conftest.er1
14910 cat conftest.err >&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } >/dev/null && {
14913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14914 test ! -s conftest.err
14915 }; then
14916 # Broken: success on invalid input.
14917 continue
14918 else
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.$ac_ext >&5
14921
14922 # Passes both tests.
14923 ac_preproc_ok=:
14924 break
14925 fi
14926
14927 rm -f conftest.err conftest.$ac_ext
14928
14929 done
14930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14931 rm -f conftest.err conftest.$ac_ext
14932 if $ac_preproc_ok; then
14933 break
14934 fi
14935
14936 done
14937 ac_cv_prog_CPP=$CPP
14938
14939 fi
14940 CPP=$ac_cv_prog_CPP
14941 else
14942 ac_cv_prog_CPP=$CPP
14943 fi
14944 { echo "$as_me:$LINENO: result: $CPP" >&5
14945 echo "${ECHO_T}$CPP" >&6; }
14946 ac_preproc_ok=false
14947 for ac_c_preproc_warn_flag in '' yes
14948 do
14949 # Use a header file that comes with gcc, so configuring glibc
14950 # with a fresh cross-compiler works.
14951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14952 # <limits.h> exists even on freestanding compilers.
14953 # On the NeXT, cc -E runs the code through the compiler's parser,
14954 # not just through cpp. "Syntax error" is here to catch this case.
14955 cat >conftest.$ac_ext <<_ACEOF
14956 /* confdefs.h. */
14957 _ACEOF
14958 cat confdefs.h >>conftest.$ac_ext
14959 cat >>conftest.$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 #ifdef __STDC__
14962 # include <limits.h>
14963 #else
14964 # include <assert.h>
14965 #endif
14966 Syntax error
14967 _ACEOF
14968 if { (ac_try="$ac_cpp conftest.$ac_ext"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14972 esac
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14975 ac_status=$?
14976 grep -v '^ *+' conftest.er1 >conftest.err
14977 rm -f conftest.er1
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } >/dev/null && {
14981 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14982 test ! -s conftest.err
14983 }; then
14984 :
14985 else
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.$ac_ext >&5
14988
14989 # Broken: fails on valid input.
14990 continue
14991 fi
14992
14993 rm -f conftest.err conftest.$ac_ext
14994
14995 # OK, works on sane cases. Now check whether nonexistent headers
14996 # can be detected and how.
14997 cat >conftest.$ac_ext <<_ACEOF
14998 /* confdefs.h. */
14999 _ACEOF
15000 cat confdefs.h >>conftest.$ac_ext
15001 cat >>conftest.$ac_ext <<_ACEOF
15002 /* end confdefs.h. */
15003 #include <ac_nonexistent.h>
15004 _ACEOF
15005 if { (ac_try="$ac_cpp conftest.$ac_ext"
15006 case "(($ac_try" in
15007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15008 *) ac_try_echo=$ac_try;;
15009 esac
15010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15011 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15012 ac_status=$?
15013 grep -v '^ *+' conftest.er1 >conftest.err
15014 rm -f conftest.er1
15015 cat conftest.err >&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); } >/dev/null && {
15018 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15019 test ! -s conftest.err
15020 }; then
15021 # Broken: success on invalid input.
15022 continue
15023 else
15024 echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.$ac_ext >&5
15026
15027 # Passes both tests.
15028 ac_preproc_ok=:
15029 break
15030 fi
15031
15032 rm -f conftest.err conftest.$ac_ext
15033
15034 done
15035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15036 rm -f conftest.err conftest.$ac_ext
15037 if $ac_preproc_ok; then
15038 :
15039 else
15040 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15041 See \`config.log' for more details." >&5
15042 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15043 See \`config.log' for more details." >&2;}
15044 { (exit 1); exit 1; }; }
15045 fi
15046
15047 ac_ext=c
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15052
15053
15054 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15055 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15056 if test "${ac_cv_path_GREP+set}" = set; then
15057 echo $ECHO_N "(cached) $ECHO_C" >&6
15058 else
15059 # Extract the first word of "grep ggrep" to use in msg output
15060 if test -z "$GREP"; then
15061 set dummy grep ggrep; ac_prog_name=$2
15062 if test "${ac_cv_path_GREP+set}" = set; then
15063 echo $ECHO_N "(cached) $ECHO_C" >&6
15064 else
15065 ac_path_GREP_found=false
15066 # Loop through the user's path and test for each of PROGNAME-LIST
15067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15068 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15069 do
15070 IFS=$as_save_IFS
15071 test -z "$as_dir" && as_dir=.
15072 for ac_prog in grep ggrep; do
15073 for ac_exec_ext in '' $ac_executable_extensions; do
15074 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15075 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15076 # Check for GNU ac_path_GREP and select it if it is found.
15077 # Check for GNU $ac_path_GREP
15078 case `"$ac_path_GREP" --version 2>&1` in
15079 *GNU*)
15080 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15081 *)
15082 ac_count=0
15083 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15084 while :
15085 do
15086 cat "conftest.in" "conftest.in" >"conftest.tmp"
15087 mv "conftest.tmp" "conftest.in"
15088 cp "conftest.in" "conftest.nl"
15089 echo 'GREP' >> "conftest.nl"
15090 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15091 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15092 ac_count=`expr $ac_count + 1`
15093 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15094 # Best one so far, save it but keep looking for a better one
15095 ac_cv_path_GREP="$ac_path_GREP"
15096 ac_path_GREP_max=$ac_count
15097 fi
15098 # 10*(2^10) chars as input seems more than enough
15099 test $ac_count -gt 10 && break
15100 done
15101 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15102 esac
15103
15104
15105 $ac_path_GREP_found && break 3
15106 done
15107 done
15108
15109 done
15110 IFS=$as_save_IFS
15111
15112
15113 fi
15114
15115 GREP="$ac_cv_path_GREP"
15116 if test -z "$GREP"; then
15117 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15118 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15119 { (exit 1); exit 1; }; }
15120 fi
15121
15122 else
15123 ac_cv_path_GREP=$GREP
15124 fi
15125
15126
15127 fi
15128 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15129 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15130 GREP="$ac_cv_path_GREP"
15131
15132
15133 { echo "$as_me:$LINENO: checking for egrep" >&5
15134 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15135 if test "${ac_cv_path_EGREP+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15139 then ac_cv_path_EGREP="$GREP -E"
15140 else
15141 # Extract the first word of "egrep" to use in msg output
15142 if test -z "$EGREP"; then
15143 set dummy egrep; ac_prog_name=$2
15144 if test "${ac_cv_path_EGREP+set}" = set; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15146 else
15147 ac_path_EGREP_found=false
15148 # Loop through the user's path and test for each of PROGNAME-LIST
15149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15150 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15151 do
15152 IFS=$as_save_IFS
15153 test -z "$as_dir" && as_dir=.
15154 for ac_prog in egrep; do
15155 for ac_exec_ext in '' $ac_executable_extensions; do
15156 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15157 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15158 # Check for GNU ac_path_EGREP and select it if it is found.
15159 # Check for GNU $ac_path_EGREP
15160 case `"$ac_path_EGREP" --version 2>&1` in
15161 *GNU*)
15162 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15163 *)
15164 ac_count=0
15165 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15166 while :
15167 do
15168 cat "conftest.in" "conftest.in" >"conftest.tmp"
15169 mv "conftest.tmp" "conftest.in"
15170 cp "conftest.in" "conftest.nl"
15171 echo 'EGREP' >> "conftest.nl"
15172 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15173 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15174 ac_count=`expr $ac_count + 1`
15175 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15176 # Best one so far, save it but keep looking for a better one
15177 ac_cv_path_EGREP="$ac_path_EGREP"
15178 ac_path_EGREP_max=$ac_count
15179 fi
15180 # 10*(2^10) chars as input seems more than enough
15181 test $ac_count -gt 10 && break
15182 done
15183 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15184 esac
15185
15186
15187 $ac_path_EGREP_found && break 3
15188 done
15189 done
15190
15191 done
15192 IFS=$as_save_IFS
15193
15194
15195 fi
15196
15197 EGREP="$ac_cv_path_EGREP"
15198 if test -z "$EGREP"; then
15199 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15200 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15201 { (exit 1); exit 1; }; }
15202 fi
15203
15204 else
15205 ac_cv_path_EGREP=$EGREP
15206 fi
15207
15208
15209 fi
15210 fi
15211 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15212 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15213 EGREP="$ac_cv_path_EGREP"
15214
15215
15216 if test $ac_cv_c_compiler_gnu = yes; then
15217 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15218 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15219 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 else
15222 ac_pattern="Autoconf.*'x'"
15223 cat >conftest.$ac_ext <<_ACEOF
15224 /* confdefs.h. */
15225 _ACEOF
15226 cat confdefs.h >>conftest.$ac_ext
15227 cat >>conftest.$ac_ext <<_ACEOF
15228 /* end confdefs.h. */
15229 #include <sgtty.h>
15230 Autoconf TIOCGETP
15231 _ACEOF
15232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15233 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15234 ac_cv_prog_gcc_traditional=yes
15235 else
15236 ac_cv_prog_gcc_traditional=no
15237 fi
15238 rm -f conftest*
15239
15240
15241 if test $ac_cv_prog_gcc_traditional = no; then
15242 cat >conftest.$ac_ext <<_ACEOF
15243 /* confdefs.h. */
15244 _ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15248 #include <termio.h>
15249 Autoconf TCGETA
15250 _ACEOF
15251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15252 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15253 ac_cv_prog_gcc_traditional=yes
15254 fi
15255 rm -f conftest*
15256
15257 fi
15258 fi
15259 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15260 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15261 if test $ac_cv_prog_gcc_traditional = yes; then
15262 CC="$CC -traditional"
15263 fi
15264 fi
15265
15266
15267 CXXFLAGS=${CXXFLAGS:=}
15268
15269
15270
15271 ac_ext=cpp
15272 ac_cpp='$CXXCPP $CPPFLAGS'
15273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15276 if test -z "$CXX"; then
15277 if test -n "$CCC"; then
15278 CXX=$CCC
15279 else
15280 if test -n "$ac_tool_prefix"; then
15281 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15282 do
15283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15287 if test "${ac_cv_prog_CXX+set}" = set; then
15288 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 else
15290 if test -n "$CXX"; then
15291 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15292 else
15293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15294 for as_dir in $PATH
15295 do
15296 IFS=$as_save_IFS
15297 test -z "$as_dir" && as_dir=.
15298 for ac_exec_ext in '' $ac_executable_extensions; do
15299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15300 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15302 break 2
15303 fi
15304 done
15305 done
15306 IFS=$as_save_IFS
15307
15308 fi
15309 fi
15310 CXX=$ac_cv_prog_CXX
15311 if test -n "$CXX"; then
15312 { echo "$as_me:$LINENO: result: $CXX" >&5
15313 echo "${ECHO_T}$CXX" >&6; }
15314 else
15315 { echo "$as_me:$LINENO: result: no" >&5
15316 echo "${ECHO_T}no" >&6; }
15317 fi
15318
15319
15320 test -n "$CXX" && break
15321 done
15322 fi
15323 if test -z "$CXX"; then
15324 ac_ct_CXX=$CXX
15325 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15326 do
15327 # Extract the first word of "$ac_prog", so it can be a program name with args.
15328 set dummy $ac_prog; ac_word=$2
15329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15331 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15332 echo $ECHO_N "(cached) $ECHO_C" >&6
15333 else
15334 if test -n "$ac_ct_CXX"; then
15335 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15336 else
15337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15338 for as_dir in $PATH
15339 do
15340 IFS=$as_save_IFS
15341 test -z "$as_dir" && as_dir=.
15342 for ac_exec_ext in '' $ac_executable_extensions; do
15343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15344 ac_cv_prog_ac_ct_CXX="$ac_prog"
15345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15346 break 2
15347 fi
15348 done
15349 done
15350 IFS=$as_save_IFS
15351
15352 fi
15353 fi
15354 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15355 if test -n "$ac_ct_CXX"; then
15356 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15357 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15358 else
15359 { echo "$as_me:$LINENO: result: no" >&5
15360 echo "${ECHO_T}no" >&6; }
15361 fi
15362
15363
15364 test -n "$ac_ct_CXX" && break
15365 done
15366
15367 if test "x$ac_ct_CXX" = x; then
15368 CXX="g++"
15369 else
15370 case $cross_compiling:$ac_tool_warned in
15371 yes:)
15372 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15373 whose name does not start with the host triplet. If you think this
15374 configuration is useful to you, please write to autoconf@gnu.org." >&5
15375 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15376 whose name does not start with the host triplet. If you think this
15377 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15378 ac_tool_warned=yes ;;
15379 esac
15380 CXX=$ac_ct_CXX
15381 fi
15382 fi
15383
15384 fi
15385 fi
15386 # Provide some information about the compiler.
15387 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15388 ac_compiler=`set X $ac_compile; echo $2`
15389 { (ac_try="$ac_compiler --version >&5"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15393 esac
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_compiler --version >&5") 2>&5
15396 ac_status=$?
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }
15399 { (ac_try="$ac_compiler -v >&5"
15400 case "(($ac_try" in
15401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15402 *) ac_try_echo=$ac_try;;
15403 esac
15404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15405 (eval "$ac_compiler -v >&5") 2>&5
15406 ac_status=$?
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }
15409 { (ac_try="$ac_compiler -V >&5"
15410 case "(($ac_try" in
15411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15412 *) ac_try_echo=$ac_try;;
15413 esac
15414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15415 (eval "$ac_compiler -V >&5") 2>&5
15416 ac_status=$?
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }
15419
15420 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15421 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15422 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15423 echo $ECHO_N "(cached) $ECHO_C" >&6
15424 else
15425 cat >conftest.$ac_ext <<_ACEOF
15426 /* confdefs.h. */
15427 _ACEOF
15428 cat confdefs.h >>conftest.$ac_ext
15429 cat >>conftest.$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15431
15432 int
15433 main ()
15434 {
15435 #ifndef __GNUC__
15436 choke me
15437 #endif
15438
15439 ;
15440 return 0;
15441 }
15442 _ACEOF
15443 rm -f conftest.$ac_objext
15444 if { (ac_try="$ac_compile"
15445 case "(($ac_try" in
15446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15447 *) ac_try_echo=$ac_try;;
15448 esac
15449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15450 (eval "$ac_compile") 2>conftest.er1
15451 ac_status=$?
15452 grep -v '^ *+' conftest.er1 >conftest.err
15453 rm -f conftest.er1
15454 cat conftest.err >&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } && {
15457 test -z "$ac_cxx_werror_flag" ||
15458 test ! -s conftest.err
15459 } && test -s conftest.$ac_objext; then
15460 ac_compiler_gnu=yes
15461 else
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.$ac_ext >&5
15464
15465 ac_compiler_gnu=no
15466 fi
15467
15468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15469 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15470
15471 fi
15472 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15473 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15474 GXX=`test $ac_compiler_gnu = yes && echo yes`
15475 ac_test_CXXFLAGS=${CXXFLAGS+set}
15476 ac_save_CXXFLAGS=$CXXFLAGS
15477 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15478 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15479 if test "${ac_cv_prog_cxx_g+set}" = set; then
15480 echo $ECHO_N "(cached) $ECHO_C" >&6
15481 else
15482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15483 ac_cxx_werror_flag=yes
15484 ac_cv_prog_cxx_g=no
15485 CXXFLAGS="-g"
15486 cat >conftest.$ac_ext <<_ACEOF
15487 /* confdefs.h. */
15488 _ACEOF
15489 cat confdefs.h >>conftest.$ac_ext
15490 cat >>conftest.$ac_ext <<_ACEOF
15491 /* end confdefs.h. */
15492
15493 int
15494 main ()
15495 {
15496
15497 ;
15498 return 0;
15499 }
15500 _ACEOF
15501 rm -f conftest.$ac_objext
15502 if { (ac_try="$ac_compile"
15503 case "(($ac_try" in
15504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15505 *) ac_try_echo=$ac_try;;
15506 esac
15507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15508 (eval "$ac_compile") 2>conftest.er1
15509 ac_status=$?
15510 grep -v '^ *+' conftest.er1 >conftest.err
15511 rm -f conftest.er1
15512 cat conftest.err >&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } && {
15515 test -z "$ac_cxx_werror_flag" ||
15516 test ! -s conftest.err
15517 } && test -s conftest.$ac_objext; then
15518 ac_cv_prog_cxx_g=yes
15519 else
15520 echo "$as_me: failed program was:" >&5
15521 sed 's/^/| /' conftest.$ac_ext >&5
15522
15523 CXXFLAGS=""
15524 cat >conftest.$ac_ext <<_ACEOF
15525 /* confdefs.h. */
15526 _ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530
15531 int
15532 main ()
15533 {
15534
15535 ;
15536 return 0;
15537 }
15538 _ACEOF
15539 rm -f conftest.$ac_objext
15540 if { (ac_try="$ac_compile"
15541 case "(($ac_try" in
15542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15543 *) ac_try_echo=$ac_try;;
15544 esac
15545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15546 (eval "$ac_compile") 2>conftest.er1
15547 ac_status=$?
15548 grep -v '^ *+' conftest.er1 >conftest.err
15549 rm -f conftest.er1
15550 cat conftest.err >&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } && {
15553 test -z "$ac_cxx_werror_flag" ||
15554 test ! -s conftest.err
15555 } && test -s conftest.$ac_objext; then
15556 :
15557 else
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15560
15561 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15562 CXXFLAGS="-g"
15563 cat >conftest.$ac_ext <<_ACEOF
15564 /* confdefs.h. */
15565 _ACEOF
15566 cat confdefs.h >>conftest.$ac_ext
15567 cat >>conftest.$ac_ext <<_ACEOF
15568 /* end confdefs.h. */
15569
15570 int
15571 main ()
15572 {
15573
15574 ;
15575 return 0;
15576 }
15577 _ACEOF
15578 rm -f conftest.$ac_objext
15579 if { (ac_try="$ac_compile"
15580 case "(($ac_try" in
15581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15583 esac
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_compile") 2>conftest.er1
15586 ac_status=$?
15587 grep -v '^ *+' conftest.er1 >conftest.err
15588 rm -f conftest.er1
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } && {
15592 test -z "$ac_cxx_werror_flag" ||
15593 test ! -s conftest.err
15594 } && test -s conftest.$ac_objext; then
15595 ac_cv_prog_cxx_g=yes
15596 else
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.$ac_ext >&5
15599
15600
15601 fi
15602
15603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15604 fi
15605
15606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15607 fi
15608
15609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15610 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15611 fi
15612 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15613 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15614 if test "$ac_test_CXXFLAGS" = set; then
15615 CXXFLAGS=$ac_save_CXXFLAGS
15616 elif test $ac_cv_prog_cxx_g = yes; then
15617 if test "$GXX" = yes; then
15618 CXXFLAGS="-g -O2"
15619 else
15620 CXXFLAGS="-g"
15621 fi
15622 else
15623 if test "$GXX" = yes; then
15624 CXXFLAGS="-O2"
15625 else
15626 CXXFLAGS=
15627 fi
15628 fi
15629 ac_ext=c
15630 ac_cpp='$CPP $CPPFLAGS'
15631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15634
15635
15636
15637
15638 ac_ext=cpp
15639 ac_cpp='$CXXCPP $CPPFLAGS'
15640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15643
15644 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15645 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15646 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15647 echo $ECHO_N "(cached) $ECHO_C" >&6
15648 else
15649 cat >conftest.$ac_ext <<_ACEOF
15650 /* confdefs.h. */
15651 _ACEOF
15652 cat confdefs.h >>conftest.$ac_ext
15653 cat >>conftest.$ac_ext <<_ACEOF
15654 /* end confdefs.h. */
15655
15656 int
15657 main ()
15658 {
15659
15660 #ifndef __INTEL_COMPILER
15661 choke me
15662 #endif
15663
15664 ;
15665 return 0;
15666 }
15667 _ACEOF
15668 rm -f conftest.$ac_objext
15669 if { (ac_try="$ac_compile"
15670 case "(($ac_try" in
15671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15672 *) ac_try_echo=$ac_try;;
15673 esac
15674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15675 (eval "$ac_compile") 2>conftest.er1
15676 ac_status=$?
15677 grep -v '^ *+' conftest.er1 >conftest.err
15678 rm -f conftest.er1
15679 cat conftest.err >&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } && {
15682 test -z "$ac_cxx_werror_flag" ||
15683 test ! -s conftest.err
15684 } && test -s conftest.$ac_objext; then
15685 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15686 else
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15689
15690 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15691
15692 fi
15693
15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15695
15696
15697 fi
15698 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15699 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15700 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15701 :; INTELCXX=yes
15702 else
15703 :;
15704 fi
15705 ac_ext=c
15706 ac_cpp='$CPP $CPPFLAGS'
15707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15710
15711
15712
15713
15714 if test "x$GCXX" != "xyes"; then
15715 if test "xCXX" = "xC"; then
15716 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15717 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15718 if test "${bakefile_cv_c_exto+set}" = set; then
15719 echo $ECHO_N "(cached) $ECHO_C" >&6
15720 else
15721 cat >conftest.$ac_ext <<_ACEOF
15722 /* confdefs.h. */
15723 _ACEOF
15724 cat confdefs.h >>conftest.$ac_ext
15725 cat >>conftest.$ac_ext <<_ACEOF
15726 /* end confdefs.h. */
15727
15728 int
15729 main ()
15730 {
15731
15732 ;
15733 return 0;
15734 }
15735 _ACEOF
15736 rm -f conftest.$ac_objext conftest.$ac_ext.o
15737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15738 (eval $ac_compile) 2>&5
15739 ac_status=$?
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; then
15742 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15743 case $ac_file in
15744 conftest.$ac_ext.o)
15745 bakefile_cv_c_exto="-ext o"
15746 ;;
15747 *)
15748 ;;
15749 esac
15750 done
15751 else
15752 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15753 See \`config.log' for more details." >&5
15754 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15755 See \`config.log' for more details." >&2;}
15756 { (exit 1); exit 1; }; }
15757
15758 fi
15759
15760 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15761
15762 fi
15763 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15764 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15765 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15766 if test "c" = "c"; then
15767 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15768 fi
15769 if test "c" = "cxx"; then
15770 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15771 fi
15772 fi
15773
15774 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15775 unset ac_cv_prog_cc_g
15776 ac_test_CFLAGS=${CFLAGS+set}
15777 ac_save_CFLAGS=$CFLAGS
15778 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15779 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15780 if test "${ac_cv_prog_cc_g+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 else
15783 ac_save_c_werror_flag=$ac_c_werror_flag
15784 ac_c_werror_flag=yes
15785 ac_cv_prog_cc_g=no
15786 CFLAGS="-g"
15787 cat >conftest.$ac_ext <<_ACEOF
15788 /* confdefs.h. */
15789 _ACEOF
15790 cat confdefs.h >>conftest.$ac_ext
15791 cat >>conftest.$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15793
15794 int
15795 main ()
15796 {
15797
15798 ;
15799 return 0;
15800 }
15801 _ACEOF
15802 rm -f conftest.$ac_objext
15803 if { (ac_try="$ac_compile"
15804 case "(($ac_try" in
15805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15806 *) ac_try_echo=$ac_try;;
15807 esac
15808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15809 (eval "$ac_compile") 2>conftest.er1
15810 ac_status=$?
15811 grep -v '^ *+' conftest.er1 >conftest.err
15812 rm -f conftest.er1
15813 cat conftest.err >&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); } && {
15816 test -z "$ac_c_werror_flag" ||
15817 test ! -s conftest.err
15818 } && test -s conftest.$ac_objext; then
15819 ac_cv_prog_cc_g=yes
15820 else
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.$ac_ext >&5
15823
15824 CFLAGS=""
15825 cat >conftest.$ac_ext <<_ACEOF
15826 /* confdefs.h. */
15827 _ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15831
15832 int
15833 main ()
15834 {
15835
15836 ;
15837 return 0;
15838 }
15839 _ACEOF
15840 rm -f conftest.$ac_objext
15841 if { (ac_try="$ac_compile"
15842 case "(($ac_try" in
15843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15844 *) ac_try_echo=$ac_try;;
15845 esac
15846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15847 (eval "$ac_compile") 2>conftest.er1
15848 ac_status=$?
15849 grep -v '^ *+' conftest.er1 >conftest.err
15850 rm -f conftest.er1
15851 cat conftest.err >&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } && {
15854 test -z "$ac_c_werror_flag" ||
15855 test ! -s conftest.err
15856 } && test -s conftest.$ac_objext; then
15857 :
15858 else
15859 echo "$as_me: failed program was:" >&5
15860 sed 's/^/| /' conftest.$ac_ext >&5
15861
15862 ac_c_werror_flag=$ac_save_c_werror_flag
15863 CFLAGS="-g"
15864 cat >conftest.$ac_ext <<_ACEOF
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870
15871 int
15872 main ()
15873 {
15874
15875 ;
15876 return 0;
15877 }
15878 _ACEOF
15879 rm -f conftest.$ac_objext
15880 if { (ac_try="$ac_compile"
15881 case "(($ac_try" in
15882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15883 *) ac_try_echo=$ac_try;;
15884 esac
15885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15886 (eval "$ac_compile") 2>conftest.er1
15887 ac_status=$?
15888 grep -v '^ *+' conftest.er1 >conftest.err
15889 rm -f conftest.er1
15890 cat conftest.err >&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); } && {
15893 test -z "$ac_c_werror_flag" ||
15894 test ! -s conftest.err
15895 } && test -s conftest.$ac_objext; then
15896 ac_cv_prog_cc_g=yes
15897 else
15898 echo "$as_me: failed program was:" >&5
15899 sed 's/^/| /' conftest.$ac_ext >&5
15900
15901
15902 fi
15903
15904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15905 fi
15906
15907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15908 fi
15909
15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15911 ac_c_werror_flag=$ac_save_c_werror_flag
15912 fi
15913 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15914 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15915 if test "$ac_test_CFLAGS" = set; then
15916 CFLAGS=$ac_save_CFLAGS
15917 elif test $ac_cv_prog_cc_g = yes; then
15918 if test "$GCC" = yes; then
15919 CFLAGS="-g -O2"
15920 else
15921 CFLAGS="-g"
15922 fi
15923 else
15924 if test "$GCC" = yes; then
15925 CFLAGS="-O2"
15926 else
15927 CFLAGS=
15928 fi
15929 fi
15930 fi
15931 fi
15932
15933 case `uname -s` in
15934 AIX*)
15935
15936
15937 ac_ext=cpp
15938 ac_cpp='$CXXCPP $CPPFLAGS'
15939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15942
15943 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15944 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15945 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
15946 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 else
15948 cat >conftest.$ac_ext <<_ACEOF
15949 /* confdefs.h. */
15950 _ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954
15955 int
15956 main ()
15957 {
15958
15959 #ifndef __xlC__
15960 choke me
15961 #endif
15962
15963 ;
15964 return 0;
15965 }
15966 _ACEOF
15967 rm -f conftest.$ac_objext
15968 if { (ac_try="$ac_compile"
15969 case "(($ac_try" in
15970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15971 *) ac_try_echo=$ac_try;;
15972 esac
15973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15974 (eval "$ac_compile") 2>conftest.er1
15975 ac_status=$?
15976 grep -v '^ *+' conftest.er1 >conftest.err
15977 rm -f conftest.er1
15978 cat conftest.err >&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); } && {
15981 test -z "$ac_cxx_werror_flag" ||
15982 test ! -s conftest.err
15983 } && test -s conftest.$ac_objext; then
15984 bakefile_cv_cxx_compiler___xlC__=yes
15985 else
15986 echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.$ac_ext >&5
15988
15989 bakefile_cv_cxx_compiler___xlC__=no
15990
15991 fi
15992
15993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15994
15995
15996 fi
15997 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
15998 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
15999 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16000 :; XLCXX=yes
16001 else
16002 :;
16003 fi
16004 ac_ext=c
16005 ac_cpp='$CPP $CPPFLAGS'
16006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16009
16010
16011
16012 ;;
16013
16014 Darwin)
16015
16016
16017 ac_ext=cpp
16018 ac_cpp='$CXXCPP $CPPFLAGS'
16019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16022
16023 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16024 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16025 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6
16027 else
16028 cat >conftest.$ac_ext <<_ACEOF
16029 /* confdefs.h. */
16030 _ACEOF
16031 cat confdefs.h >>conftest.$ac_ext
16032 cat >>conftest.$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034
16035 int
16036 main ()
16037 {
16038
16039 #ifndef __MWERKS__
16040 choke me
16041 #endif
16042
16043 ;
16044 return 0;
16045 }
16046 _ACEOF
16047 rm -f conftest.$ac_objext
16048 if { (ac_try="$ac_compile"
16049 case "(($ac_try" in
16050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16051 *) ac_try_echo=$ac_try;;
16052 esac
16053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16054 (eval "$ac_compile") 2>conftest.er1
16055 ac_status=$?
16056 grep -v '^ *+' conftest.er1 >conftest.err
16057 rm -f conftest.er1
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } && {
16061 test -z "$ac_cxx_werror_flag" ||
16062 test ! -s conftest.err
16063 } && test -s conftest.$ac_objext; then
16064 bakefile_cv_cxx_compiler___MWERKS__=yes
16065 else
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.$ac_ext >&5
16068
16069 bakefile_cv_cxx_compiler___MWERKS__=no
16070
16071 fi
16072
16073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16074
16075
16076 fi
16077 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16078 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16079 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16080 :; MWCXX=yes
16081 else
16082 :;
16083 fi
16084 ac_ext=c
16085 ac_cpp='$CPP $CPPFLAGS'
16086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16089
16090
16091
16092
16093
16094 ac_ext=cpp
16095 ac_cpp='$CXXCPP $CPPFLAGS'
16096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16099
16100 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16101 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16102 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16103 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 else
16105 cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111
16112 int
16113 main ()
16114 {
16115
16116 #ifndef __xlC__
16117 choke me
16118 #endif
16119
16120 ;
16121 return 0;
16122 }
16123 _ACEOF
16124 rm -f conftest.$ac_objext
16125 if { (ac_try="$ac_compile"
16126 case "(($ac_try" in
16127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16128 *) ac_try_echo=$ac_try;;
16129 esac
16130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16131 (eval "$ac_compile") 2>conftest.er1
16132 ac_status=$?
16133 grep -v '^ *+' conftest.er1 >conftest.err
16134 rm -f conftest.er1
16135 cat conftest.err >&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } && {
16138 test -z "$ac_cxx_werror_flag" ||
16139 test ! -s conftest.err
16140 } && test -s conftest.$ac_objext; then
16141 bakefile_cv_cxx_compiler___xlC__=yes
16142 else
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.$ac_ext >&5
16145
16146 bakefile_cv_cxx_compiler___xlC__=no
16147
16148 fi
16149
16150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16151
16152
16153 fi
16154 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16155 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16156 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16157 :; XLCXX=yes
16158 else
16159 :;
16160 fi
16161 ac_ext=c
16162 ac_cpp='$CPP $CPPFLAGS'
16163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16166
16167
16168
16169 ;;
16170
16171 IRIX*)
16172
16173
16174 ac_ext=cpp
16175 ac_cpp='$CXXCPP $CPPFLAGS'
16176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16179
16180 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16181 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16182 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16184 else
16185 cat >conftest.$ac_ext <<_ACEOF
16186 /* confdefs.h. */
16187 _ACEOF
16188 cat confdefs.h >>conftest.$ac_ext
16189 cat >>conftest.$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16191
16192 int
16193 main ()
16194 {
16195
16196 #ifndef _SGI_COMPILER_VERSION
16197 choke me
16198 #endif
16199
16200 ;
16201 return 0;
16202 }
16203 _ACEOF
16204 rm -f conftest.$ac_objext
16205 if { (ac_try="$ac_compile"
16206 case "(($ac_try" in
16207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16208 *) ac_try_echo=$ac_try;;
16209 esac
16210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16211 (eval "$ac_compile") 2>conftest.er1
16212 ac_status=$?
16213 grep -v '^ *+' conftest.er1 >conftest.err
16214 rm -f conftest.er1
16215 cat conftest.err >&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } && {
16218 test -z "$ac_cxx_werror_flag" ||
16219 test ! -s conftest.err
16220 } && test -s conftest.$ac_objext; then
16221 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16222 else
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.$ac_ext >&5
16225
16226 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16227
16228 fi
16229
16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16231
16232
16233 fi
16234 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16235 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16236 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16237 :; SGICXX=yes
16238 else
16239 :;
16240 fi
16241 ac_ext=c
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16246
16247
16248
16249 ;;
16250
16251 Linux*)
16252
16253
16254 ac_ext=cpp
16255 ac_cpp='$CXXCPP $CPPFLAGS'
16256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16259
16260 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16261 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16262 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 else
16265 cat >conftest.$ac_ext <<_ACEOF
16266 /* confdefs.h. */
16267 _ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271
16272 int
16273 main ()
16274 {
16275
16276 #ifndef __SUNPRO_CC
16277 choke me
16278 #endif
16279
16280 ;
16281 return 0;
16282 }
16283 _ACEOF
16284 rm -f conftest.$ac_objext
16285 if { (ac_try="$ac_compile"
16286 case "(($ac_try" in
16287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16288 *) ac_try_echo=$ac_try;;
16289 esac
16290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16291 (eval "$ac_compile") 2>conftest.er1
16292 ac_status=$?
16293 grep -v '^ *+' conftest.er1 >conftest.err
16294 rm -f conftest.er1
16295 cat conftest.err >&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); } && {
16298 test -z "$ac_cxx_werror_flag" ||
16299 test ! -s conftest.err
16300 } && test -s conftest.$ac_objext; then
16301 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16302 else
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.$ac_ext >&5
16305
16306 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16307
16308 fi
16309
16310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16311
16312
16313 fi
16314 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16315 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16316 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16317 :; SUNCXX=yes
16318 else
16319 :;
16320 fi
16321 ac_ext=c
16322 ac_cpp='$CPP $CPPFLAGS'
16323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16326
16327
16328
16329 ;;
16330
16331 HP-UX*)
16332
16333
16334 ac_ext=cpp
16335 ac_cpp='$CXXCPP $CPPFLAGS'
16336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16339
16340 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16341 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16342 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 else
16345 cat >conftest.$ac_ext <<_ACEOF
16346 /* confdefs.h. */
16347 _ACEOF
16348 cat confdefs.h >>conftest.$ac_ext
16349 cat >>conftest.$ac_ext <<_ACEOF
16350 /* end confdefs.h. */
16351
16352 int
16353 main ()
16354 {
16355
16356 #ifndef __HP_aCC
16357 choke me
16358 #endif
16359
16360 ;
16361 return 0;
16362 }
16363 _ACEOF
16364 rm -f conftest.$ac_objext
16365 if { (ac_try="$ac_compile"
16366 case "(($ac_try" in
16367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16368 *) ac_try_echo=$ac_try;;
16369 esac
16370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16371 (eval "$ac_compile") 2>conftest.er1
16372 ac_status=$?
16373 grep -v '^ *+' conftest.er1 >conftest.err
16374 rm -f conftest.er1
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } && {
16378 test -z "$ac_cxx_werror_flag" ||
16379 test ! -s conftest.err
16380 } && test -s conftest.$ac_objext; then
16381 bakefile_cv_cxx_compiler___HP_aCC=yes
16382 else
16383 echo "$as_me: failed program was:" >&5
16384 sed 's/^/| /' conftest.$ac_ext >&5
16385
16386 bakefile_cv_cxx_compiler___HP_aCC=no
16387
16388 fi
16389
16390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16391
16392
16393 fi
16394 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16395 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16396 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
16397 :; HPCXX=yes
16398 else
16399 :;
16400 fi
16401 ac_ext=c
16402 ac_cpp='$CPP $CPPFLAGS'
16403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16406
16407
16408
16409 ;;
16410
16411 OSF1)
16412
16413
16414 ac_ext=cpp
16415 ac_cpp='$CXXCPP $CPPFLAGS'
16416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16419
16420 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16421 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16422 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16424 else
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431
16432 int
16433 main ()
16434 {
16435
16436 #ifndef __DECCXX
16437 choke me
16438 #endif
16439
16440 ;
16441 return 0;
16442 }
16443 _ACEOF
16444 rm -f conftest.$ac_objext
16445 if { (ac_try="$ac_compile"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16449 esac
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_compile") 2>conftest.er1
16452 ac_status=$?
16453 grep -v '^ *+' conftest.er1 >conftest.err
16454 rm -f conftest.er1
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } && {
16458 test -z "$ac_cxx_werror_flag" ||
16459 test ! -s conftest.err
16460 } && test -s conftest.$ac_objext; then
16461 bakefile_cv_cxx_compiler___DECCXX=yes
16462 else
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.$ac_ext >&5
16465
16466 bakefile_cv_cxx_compiler___DECCXX=no
16467
16468 fi
16469
16470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16471
16472
16473 fi
16474 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16475 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16476 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
16477 :; COMPAQCXX=yes
16478 else
16479 :;
16480 fi
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486
16487
16488
16489 ;;
16490
16491 SunOS)
16492
16493
16494 ac_ext=cpp
16495 ac_cpp='$CXXCPP $CPPFLAGS'
16496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16499
16500 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16501 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16502 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 else
16505 cat >conftest.$ac_ext <<_ACEOF
16506 /* confdefs.h. */
16507 _ACEOF
16508 cat confdefs.h >>conftest.$ac_ext
16509 cat >>conftest.$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16511
16512 int
16513 main ()
16514 {
16515
16516 #ifndef __SUNPRO_CC
16517 choke me
16518 #endif
16519
16520 ;
16521 return 0;
16522 }
16523 _ACEOF
16524 rm -f conftest.$ac_objext
16525 if { (ac_try="$ac_compile"
16526 case "(($ac_try" in
16527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16528 *) ac_try_echo=$ac_try;;
16529 esac
16530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16531 (eval "$ac_compile") 2>conftest.er1
16532 ac_status=$?
16533 grep -v '^ *+' conftest.er1 >conftest.err
16534 rm -f conftest.er1
16535 cat conftest.err >&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } && {
16538 test -z "$ac_cxx_werror_flag" ||
16539 test ! -s conftest.err
16540 } && test -s conftest.$ac_objext; then
16541 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16542 else
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.$ac_ext >&5
16545
16546 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16547
16548 fi
16549
16550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16551
16552
16553 fi
16554 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16555 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16556 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16557 :; SUNCXX=yes
16558 else
16559 :;
16560 fi
16561 ac_ext=c
16562 ac_cpp='$CPP $CPPFLAGS'
16563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16566
16567
16568
16569 ;;
16570 esac
16571 fi
16572
16573
16574
16575 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16576 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16577 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16578 { (exit 1); exit 1; }; }
16579 fi
16580
16581 if test -n "$ac_tool_prefix"; then
16582 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16583 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16586 if test "${ac_cv_prog_RANLIB+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 else
16589 if test -n "$RANLIB"; then
16590 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16591 else
16592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16593 for as_dir in $PATH
16594 do
16595 IFS=$as_save_IFS
16596 test -z "$as_dir" && as_dir=.
16597 for ac_exec_ext in '' $ac_executable_extensions; do
16598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16599 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16601 break 2
16602 fi
16603 done
16604 done
16605 IFS=$as_save_IFS
16606
16607 fi
16608 fi
16609 RANLIB=$ac_cv_prog_RANLIB
16610 if test -n "$RANLIB"; then
16611 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16612 echo "${ECHO_T}$RANLIB" >&6; }
16613 else
16614 { echo "$as_me:$LINENO: result: no" >&5
16615 echo "${ECHO_T}no" >&6; }
16616 fi
16617
16618
16619 fi
16620 if test -z "$ac_cv_prog_RANLIB"; then
16621 ac_ct_RANLIB=$RANLIB
16622 # Extract the first word of "ranlib", so it can be a program name with args.
16623 set dummy ranlib; ac_word=$2
16624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16626 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16628 else
16629 if test -n "$ac_ct_RANLIB"; then
16630 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16631 else
16632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16633 for as_dir in $PATH
16634 do
16635 IFS=$as_save_IFS
16636 test -z "$as_dir" && as_dir=.
16637 for ac_exec_ext in '' $ac_executable_extensions; do
16638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639 ac_cv_prog_ac_ct_RANLIB="ranlib"
16640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16641 break 2
16642 fi
16643 done
16644 done
16645 IFS=$as_save_IFS
16646
16647 fi
16648 fi
16649 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16650 if test -n "$ac_ct_RANLIB"; then
16651 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16652 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16653 else
16654 { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16656 fi
16657
16658 if test "x$ac_ct_RANLIB" = x; then
16659 RANLIB=":"
16660 else
16661 case $cross_compiling:$ac_tool_warned in
16662 yes:)
16663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16664 whose name does not start with the host triplet. If you think this
16665 configuration is useful to you, please write to autoconf@gnu.org." >&5
16666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16667 whose name does not start with the host triplet. If you think this
16668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16669 ac_tool_warned=yes ;;
16670 esac
16671 RANLIB=$ac_ct_RANLIB
16672 fi
16673 else
16674 RANLIB="$ac_cv_prog_RANLIB"
16675 fi
16676
16677
16678 if test "x$SUNCXX" != xyes; then
16679 if test -n "$ac_tool_prefix"; then
16680 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16681 set dummy ${ac_tool_prefix}ar; ac_word=$2
16682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16684 if test "${ac_cv_prog_AR+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 else
16687 if test -n "$AR"; then
16688 ac_cv_prog_AR="$AR" # Let the user override the test.
16689 else
16690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16691 for as_dir in $PATH
16692 do
16693 IFS=$as_save_IFS
16694 test -z "$as_dir" && as_dir=.
16695 for ac_exec_ext in '' $ac_executable_extensions; do
16696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16697 ac_cv_prog_AR="${ac_tool_prefix}ar"
16698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16699 break 2
16700 fi
16701 done
16702 done
16703 IFS=$as_save_IFS
16704
16705 fi
16706 fi
16707 AR=$ac_cv_prog_AR
16708 if test -n "$AR"; then
16709 { echo "$as_me:$LINENO: result: $AR" >&5
16710 echo "${ECHO_T}$AR" >&6; }
16711 else
16712 { echo "$as_me:$LINENO: result: no" >&5
16713 echo "${ECHO_T}no" >&6; }
16714 fi
16715
16716
16717 fi
16718 if test -z "$ac_cv_prog_AR"; then
16719 ac_ct_AR=$AR
16720 # Extract the first word of "ar", so it can be a program name with args.
16721 set dummy ar; ac_word=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 else
16727 if test -n "$ac_ct_AR"; then
16728 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16729 else
16730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16731 for as_dir in $PATH
16732 do
16733 IFS=$as_save_IFS
16734 test -z "$as_dir" && as_dir=.
16735 for ac_exec_ext in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 ac_cv_prog_ac_ct_AR="ar"
16738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16739 break 2
16740 fi
16741 done
16742 done
16743 IFS=$as_save_IFS
16744
16745 fi
16746 fi
16747 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16748 if test -n "$ac_ct_AR"; then
16749 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16750 echo "${ECHO_T}$ac_ct_AR" >&6; }
16751 else
16752 { echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6; }
16754 fi
16755
16756 if test "x$ac_ct_AR" = x; then
16757 AR=""
16758 else
16759 case $cross_compiling:$ac_tool_warned in
16760 yes:)
16761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16762 whose name does not start with the host triplet. If you think this
16763 configuration is useful to you, please write to autoconf@gnu.org." >&5
16764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16765 whose name does not start with the host triplet. If you think this
16766 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16767 ac_tool_warned=yes ;;
16768 esac
16769 AR=$ac_ct_AR
16770 fi
16771 else
16772 AR="$ac_cv_prog_AR"
16773 fi
16774
16775 if test "x$AR" = "x" ; then
16776 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16777 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16778 { (exit 1); exit 1; }; }
16779 fi
16780 fi
16781
16782 # Find a good install program. We prefer a C program (faster),
16783 # so one script is as good as another. But avoid the broken or
16784 # incompatible versions:
16785 # SysV /etc/install, /usr/sbin/install
16786 # SunOS /usr/etc/install
16787 # IRIX /sbin/install
16788 # AIX /bin/install
16789 # AmigaOS /C/install, which installs bootblocks on floppy discs
16790 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16791 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16792 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16793 # OS/2's system install, which has a completely different semantic
16794 # ./install, which can be erroneously created by make from ./install.sh.
16795 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16796 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16797 if test -z "$INSTALL"; then
16798 if test "${ac_cv_path_install+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16800 else
16801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16802 for as_dir in $PATH
16803 do
16804 IFS=$as_save_IFS
16805 test -z "$as_dir" && as_dir=.
16806 # Account for people who put trailing slashes in PATH elements.
16807 case $as_dir/ in
16808 ./ | .// | /cC/* | \
16809 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16810 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16811 /usr/ucb/* ) ;;
16812 *)
16813 # OSF1 and SCO ODT 3.0 have their own names for install.
16814 # Don't use installbsd from OSF since it installs stuff as root
16815 # by default.
16816 for ac_prog in ginstall scoinst install; do
16817 for ac_exec_ext in '' $ac_executable_extensions; do
16818 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16819 if test $ac_prog = install &&
16820 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16821 # AIX install. It has an incompatible calling convention.
16822 :
16823 elif test $ac_prog = install &&
16824 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16825 # program-specific install script used by HP pwplus--don't use.
16826 :
16827 else
16828 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16829 break 3
16830 fi
16831 fi
16832 done
16833 done
16834 ;;
16835 esac
16836 done
16837 IFS=$as_save_IFS
16838
16839
16840 fi
16841 if test "${ac_cv_path_install+set}" = set; then
16842 INSTALL=$ac_cv_path_install
16843 else
16844 # As a last resort, use the slow shell script. Don't cache a
16845 # value for INSTALL within a source directory, because that will
16846 # break other packages using the cache if that directory is
16847 # removed, or if the value is a relative name.
16848 INSTALL=$ac_install_sh
16849 fi
16850 fi
16851 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16852 echo "${ECHO_T}$INSTALL" >&6; }
16853
16854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16855 # It thinks the first close brace ends the variable substitution.
16856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16857
16858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16859
16860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16861
16862
16863 case ${INSTALL} in
16864 /* ) # Absolute
16865 ;;
16866 ?:* ) # Drive letter, considered as absolute.
16867 ;;
16868 *)
16869 INSTALL=`pwd`/${INSTALL} ;;
16870 esac
16871
16872
16873 case "${host}" in
16874
16875 *-*-darwin* )
16876 INSTALL_PROGRAM="cp -fp"
16877 INSTALL_DATA="cp -fp"
16878 ;;
16879 *)
16880 ;;
16881 esac
16882
16883 if test -n "$ac_tool_prefix"; then
16884 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16885 set dummy ${ac_tool_prefix}strip; ac_word=$2
16886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16888 if test "${ac_cv_prog_STRIP+set}" = set; then
16889 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 else
16891 if test -n "$STRIP"; then
16892 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16893 else
16894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16895 for as_dir in $PATH
16896 do
16897 IFS=$as_save_IFS
16898 test -z "$as_dir" && as_dir=.
16899 for ac_exec_ext in '' $ac_executable_extensions; do
16900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16901 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16903 break 2
16904 fi
16905 done
16906 done
16907 IFS=$as_save_IFS
16908
16909 fi
16910 fi
16911 STRIP=$ac_cv_prog_STRIP
16912 if test -n "$STRIP"; then
16913 { echo "$as_me:$LINENO: result: $STRIP" >&5
16914 echo "${ECHO_T}$STRIP" >&6; }
16915 else
16916 { echo "$as_me:$LINENO: result: no" >&5
16917 echo "${ECHO_T}no" >&6; }
16918 fi
16919
16920
16921 fi
16922 if test -z "$ac_cv_prog_STRIP"; then
16923 ac_ct_STRIP=$STRIP
16924 # Extract the first word of "strip", so it can be a program name with args.
16925 set dummy strip; ac_word=$2
16926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16928 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 else
16931 if test -n "$ac_ct_STRIP"; then
16932 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16933 else
16934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16935 for as_dir in $PATH
16936 do
16937 IFS=$as_save_IFS
16938 test -z "$as_dir" && as_dir=.
16939 for ac_exec_ext in '' $ac_executable_extensions; do
16940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16941 ac_cv_prog_ac_ct_STRIP="strip"
16942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16943 break 2
16944 fi
16945 done
16946 done
16947 IFS=$as_save_IFS
16948
16949 fi
16950 fi
16951 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16952 if test -n "$ac_ct_STRIP"; then
16953 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16954 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16955 else
16956 { echo "$as_me:$LINENO: result: no" >&5
16957 echo "${ECHO_T}no" >&6; }
16958 fi
16959
16960 if test "x$ac_ct_STRIP" = x; then
16961 STRIP="true"
16962 else
16963 case $cross_compiling:$ac_tool_warned in
16964 yes:)
16965 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16966 whose name does not start with the host triplet. If you think this
16967 configuration is useful to you, please write to autoconf@gnu.org." >&5
16968 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16969 whose name does not start with the host triplet. If you think this
16970 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16971 ac_tool_warned=yes ;;
16972 esac
16973 STRIP=$ac_ct_STRIP
16974 fi
16975 else
16976 STRIP="$ac_cv_prog_STRIP"
16977 fi
16978
16979
16980 if test "$wxUSE_WINE" = "yes"; then
16981 if test -n "$ac_tool_prefix"; then
16982 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16983 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16986 if test "${ac_cv_prog_WINDRES+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 else
16989 if test -n "$WINDRES"; then
16990 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16991 else
16992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16993 for as_dir in $PATH
16994 do
16995 IFS=$as_save_IFS
16996 test -z "$as_dir" && as_dir=.
16997 for ac_exec_ext in '' $ac_executable_extensions; do
16998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16999 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
17000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17001 break 2
17002 fi
17003 done
17004 done
17005 IFS=$as_save_IFS
17006
17007 fi
17008 fi
17009 WINDRES=$ac_cv_prog_WINDRES
17010 if test -n "$WINDRES"; then
17011 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17012 echo "${ECHO_T}$WINDRES" >&6; }
17013 else
17014 { echo "$as_me:$LINENO: result: no" >&5
17015 echo "${ECHO_T}no" >&6; }
17016 fi
17017
17018
17019 fi
17020 if test -z "$ac_cv_prog_WINDRES"; then
17021 ac_ct_WINDRES=$WINDRES
17022 # Extract the first word of "wrc", so it can be a program name with args.
17023 set dummy wrc; ac_word=$2
17024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17026 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 else
17029 if test -n "$ac_ct_WINDRES"; then
17030 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17031 else
17032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17033 for as_dir in $PATH
17034 do
17035 IFS=$as_save_IFS
17036 test -z "$as_dir" && as_dir=.
17037 for ac_exec_ext in '' $ac_executable_extensions; do
17038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17039 ac_cv_prog_ac_ct_WINDRES="wrc"
17040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17041 break 2
17042 fi
17043 done
17044 done
17045 IFS=$as_save_IFS
17046
17047 fi
17048 fi
17049 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17050 if test -n "$ac_ct_WINDRES"; then
17051 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17052 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17053 else
17054 { echo "$as_me:$LINENO: result: no" >&5
17055 echo "${ECHO_T}no" >&6; }
17056 fi
17057
17058 if test "x$ac_ct_WINDRES" = x; then
17059 WINDRES=""
17060 else
17061 case $cross_compiling:$ac_tool_warned in
17062 yes:)
17063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17064 whose name does not start with the host triplet. If you think this
17065 configuration is useful to you, please write to autoconf@gnu.org." >&5
17066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17067 whose name does not start with the host triplet. If you think this
17068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17069 ac_tool_warned=yes ;;
17070 esac
17071 WINDRES=$ac_ct_WINDRES
17072 fi
17073 else
17074 WINDRES="$ac_cv_prog_WINDRES"
17075 fi
17076
17077 RESCOMP="$WINDRES"
17078 else
17079 case "${host}" in
17080 *-*-cygwin* | *-*-mingw32* )
17081 if test -n "$ac_tool_prefix"; then
17082 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17083 set dummy ${ac_tool_prefix}windres; ac_word=$2
17084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17086 if test "${ac_cv_prog_WINDRES+set}" = set; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 else
17089 if test -n "$WINDRES"; then
17090 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17091 else
17092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17093 for as_dir in $PATH
17094 do
17095 IFS=$as_save_IFS
17096 test -z "$as_dir" && as_dir=.
17097 for ac_exec_ext in '' $ac_executable_extensions; do
17098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17099 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17101 break 2
17102 fi
17103 done
17104 done
17105 IFS=$as_save_IFS
17106
17107 fi
17108 fi
17109 WINDRES=$ac_cv_prog_WINDRES
17110 if test -n "$WINDRES"; then
17111 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17112 echo "${ECHO_T}$WINDRES" >&6; }
17113 else
17114 { echo "$as_me:$LINENO: result: no" >&5
17115 echo "${ECHO_T}no" >&6; }
17116 fi
17117
17118
17119 fi
17120 if test -z "$ac_cv_prog_WINDRES"; then
17121 ac_ct_WINDRES=$WINDRES
17122 # Extract the first word of "windres", so it can be a program name with args.
17123 set dummy windres; ac_word=$2
17124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17126 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17127 echo $ECHO_N "(cached) $ECHO_C" >&6
17128 else
17129 if test -n "$ac_ct_WINDRES"; then
17130 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17131 else
17132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17133 for as_dir in $PATH
17134 do
17135 IFS=$as_save_IFS
17136 test -z "$as_dir" && as_dir=.
17137 for ac_exec_ext in '' $ac_executable_extensions; do
17138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17139 ac_cv_prog_ac_ct_WINDRES="windres"
17140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17141 break 2
17142 fi
17143 done
17144 done
17145 IFS=$as_save_IFS
17146
17147 fi
17148 fi
17149 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17150 if test -n "$ac_ct_WINDRES"; then
17151 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17152 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17153 else
17154 { echo "$as_me:$LINENO: result: no" >&5
17155 echo "${ECHO_T}no" >&6; }
17156 fi
17157
17158 if test "x$ac_ct_WINDRES" = x; then
17159 WINDRES=""
17160 else
17161 case $cross_compiling:$ac_tool_warned in
17162 yes:)
17163 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17164 whose name does not start with the host triplet. If you think this
17165 configuration is useful to you, please write to autoconf@gnu.org." >&5
17166 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17167 whose name does not start with the host triplet. If you think this
17168 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17169 ac_tool_warned=yes ;;
17170 esac
17171 WINDRES=$ac_ct_WINDRES
17172 fi
17173 else
17174 WINDRES="$ac_cv_prog_WINDRES"
17175 fi
17176
17177 RESCOMP="$WINDRES"
17178 if test -n "$ac_tool_prefix"; then
17179 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17180 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
17181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17183 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17185 else
17186 if test -n "$DLLTOOL"; then
17187 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17188 else
17189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17190 for as_dir in $PATH
17191 do
17192 IFS=$as_save_IFS
17193 test -z "$as_dir" && as_dir=.
17194 for ac_exec_ext in '' $ac_executable_extensions; do
17195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17196 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
17197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17198 break 2
17199 fi
17200 done
17201 done
17202 IFS=$as_save_IFS
17203
17204 fi
17205 fi
17206 DLLTOOL=$ac_cv_prog_DLLTOOL
17207 if test -n "$DLLTOOL"; then
17208 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17209 echo "${ECHO_T}$DLLTOOL" >&6; }
17210 else
17211 { echo "$as_me:$LINENO: result: no" >&5
17212 echo "${ECHO_T}no" >&6; }
17213 fi
17214
17215
17216 fi
17217 if test -z "$ac_cv_prog_DLLTOOL"; then
17218 ac_ct_DLLTOOL=$DLLTOOL
17219 # Extract the first word of "dlltool", so it can be a program name with args.
17220 set dummy dlltool; ac_word=$2
17221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17223 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17225 else
17226 if test -n "$ac_ct_DLLTOOL"; then
17227 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17228 else
17229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17230 for as_dir in $PATH
17231 do
17232 IFS=$as_save_IFS
17233 test -z "$as_dir" && as_dir=.
17234 for ac_exec_ext in '' $ac_executable_extensions; do
17235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17236 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17238 break 2
17239 fi
17240 done
17241 done
17242 IFS=$as_save_IFS
17243
17244 fi
17245 fi
17246 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17247 if test -n "$ac_ct_DLLTOOL"; then
17248 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17249 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17250 else
17251 { echo "$as_me:$LINENO: result: no" >&5
17252 echo "${ECHO_T}no" >&6; }
17253 fi
17254
17255 if test "x$ac_ct_DLLTOOL" = x; then
17256 DLLTOOL=""
17257 else
17258 case $cross_compiling:$ac_tool_warned in
17259 yes:)
17260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17261 whose name does not start with the host triplet. If you think this
17262 configuration is useful to you, please write to autoconf@gnu.org." >&5
17263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17264 whose name does not start with the host triplet. If you think this
17265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17266 ac_tool_warned=yes ;;
17267 esac
17268 DLLTOOL=$ac_ct_DLLTOOL
17269 fi
17270 else
17271 DLLTOOL="$ac_cv_prog_DLLTOOL"
17272 fi
17273
17274 ;;
17275 esac
17276 fi
17277
17278 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17279 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17280 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 else
17283
17284 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17285 $EGREP -s GNU > /dev/null); then
17286 wx_cv_prog_makeisgnu="yes"
17287 else
17288 wx_cv_prog_makeisgnu="no"
17289 fi
17290
17291 fi
17292 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17293 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17294
17295 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17296 IF_GNU_MAKE=""
17297 else
17298 IF_GNU_MAKE="#"
17299 fi
17300
17301
17302
17303 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17304 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17305 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17306 if test "${wx_cv_prog_makevpath+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 else
17309
17310 cat - << EOF > confMake
17311 check : file
17312 cp \$? \$@
17313 cp \$? final_file
17314 EOF
17315
17316 if test ! -d sub ; then
17317 mkdir sub
17318 fi
17319 echo dummy > sub/file
17320 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17321 RESULT=$?
17322 rm -f sub/file check final_file confMake
17323 rmdir sub
17324 if test "$RESULT" = 0; then
17325 wx_cv_prog_makevpath="yes"
17326 else
17327 wx_cv_prog_makevpath="no"
17328 fi
17329
17330 fi
17331 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17332 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17333
17334 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17335 { { echo "$as_me:$LINENO: error:
17336 You need a make-utility that is able to use the variable
17337 VPATH correctly.
17338 If your version of make does not support VPATH correctly,
17339 please install GNU-make (possibly as gmake), and start
17340 configure with the following command:
17341 export MAKE=gmake; ./configure for sh-type shells
17342 setenv MAKE gmake; ./configure for csh-type shells
17343 Also please do remember to use gmake in this case every time
17344 you are trying to compile.
17345 " >&5
17346 echo "$as_me: error:
17347 You need a make-utility that is able to use the variable
17348 VPATH correctly.
17349 If your version of make does not support VPATH correctly,
17350 please install GNU-make (possibly as gmake), and start
17351 configure with the following command:
17352 export MAKE=gmake; ./configure for sh-type shells
17353 setenv MAKE gmake; ./configure for csh-type shells
17354 Also please do remember to use gmake in this case every time
17355 you are trying to compile.
17356 " >&2;}
17357 { (exit 1); exit 1; }; }
17358 fi fi
17359 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17360 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17361 LN_S=$as_ln_s
17362 if test "$LN_S" = "ln -s"; then
17363 { echo "$as_me:$LINENO: result: yes" >&5
17364 echo "${ECHO_T}yes" >&6; }
17365 else
17366 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17367 echo "${ECHO_T}no, using $LN_S" >&6; }
17368 fi
17369
17370
17371
17372
17373 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17374 CXXFLAGS="-qunique $CXXFLAGS"
17375 fi
17376
17377 case "${host}" in
17378 powerpc-*-darwin* )
17379 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17380 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17381 cat >conftest.$ac_ext <<_ACEOF
17382 /* confdefs.h. */
17383 _ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387
17388 int
17389 main ()
17390 {
17391 #ifndef __POWERPC__
17392 choke me for lack of PowerPC
17393 #endif
17394
17395 ;
17396 return 0;
17397 }
17398 _ACEOF
17399 rm -f conftest.$ac_objext
17400 if { (ac_try="$ac_compile"
17401 case "(($ac_try" in
17402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17403 *) ac_try_echo=$ac_try;;
17404 esac
17405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17406 (eval "$ac_compile") 2>conftest.er1
17407 ac_status=$?
17408 grep -v '^ *+' conftest.er1 >conftest.err
17409 rm -f conftest.er1
17410 cat conftest.err >&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); } && {
17413 test -z "$ac_c_werror_flag" ||
17414 test ! -s conftest.err
17415 } && test -s conftest.$ac_objext; then
17416 { echo "$as_me:$LINENO: result: yes" >&5
17417 echo "${ECHO_T}yes" >&6; }
17418 else
17419 echo "$as_me: failed program was:" >&5
17420 sed 's/^/| /' conftest.$ac_ext >&5
17421
17422 { echo "$as_me:$LINENO: result: no" >&5
17423 echo "${ECHO_T}no" >&6; }
17424 cat >>confdefs.h <<\_ACEOF
17425 #define __POWERPC__ 1
17426 _ACEOF
17427
17428
17429 fi
17430
17431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17432 ;;
17433 esac
17434
17435 case "${host}" in
17436 *-*-darwin* )
17437 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17438 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17439 cat >conftest.$ac_ext <<_ACEOF
17440 /* confdefs.h. */
17441 _ACEOF
17442 cat confdefs.h >>conftest.$ac_ext
17443 cat >>conftest.$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17445 #include <CoreFoundation/CFBase.h>
17446
17447 int
17448 main ()
17449 {
17450
17451 ;
17452 return 0;
17453 }
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (ac_try="$ac_compile"
17457 case "(($ac_try" in
17458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17459 *) ac_try_echo=$ac_try;;
17460 esac
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_compile") 2>conftest.er1
17463 ac_status=$?
17464 grep -v '^ *+' conftest.er1 >conftest.err
17465 rm -f conftest.er1
17466 cat conftest.err >&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } && {
17469 test -z "$ac_c_werror_flag" ||
17470 test ! -s conftest.err
17471 } && test -s conftest.$ac_objext; then
17472 { echo "$as_me:$LINENO: result: yes" >&5
17473 echo "${ECHO_T}yes" >&6; }
17474 else
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17477
17478 { echo "$as_me:$LINENO: result: no" >&5
17479 echo "${ECHO_T}no" >&6; }
17480 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17481 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17482 cat >conftest.$ac_ext <<_ACEOF
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488 #define __CF_USE_FRAMEWORK_INCLUDES__
17489 #include <CoreFoundation/CFBase.h>
17490
17491 int
17492 main ()
17493 {
17494
17495 ;
17496 return 0;
17497 }
17498 _ACEOF
17499 rm -f conftest.$ac_objext
17500 if { (ac_try="$ac_compile"
17501 case "(($ac_try" in
17502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17503 *) ac_try_echo=$ac_try;;
17504 esac
17505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17506 (eval "$ac_compile") 2>conftest.er1
17507 ac_status=$?
17508 grep -v '^ *+' conftest.er1 >conftest.err
17509 rm -f conftest.er1
17510 cat conftest.err >&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } && {
17513 test -z "$ac_c_werror_flag" ||
17514 test ! -s conftest.err
17515 } && test -s conftest.$ac_objext; then
17516 { echo "$as_me:$LINENO: result: yes" >&5
17517 echo "${ECHO_T}yes" >&6; }
17518 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17519 else
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17522
17523 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17524 See \`config.log' for more details." >&5
17525 echo "$as_me: error: no. CoreFoundation not available.
17526 See \`config.log' for more details." >&2;}
17527 { (exit 1); exit 1; }; }
17528
17529 fi
17530
17531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17532
17533
17534 fi
17535
17536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17537 ;;
17538 esac
17539
17540 wants_win32=0
17541 doesnt_want_win32=0
17542 case "${host}" in
17543 *-*-cygwin*)
17544 if test "$wxUSE_MSW" = 1 ; then
17545 wants_win32=1
17546 else
17547 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17548 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17549 if test "${wx_cv_nocygwin+set}" = set; then
17550 echo $ECHO_N "(cached) $ECHO_C" >&6
17551 else
17552
17553 cat >conftest.$ac_ext <<_ACEOF
17554 /* confdefs.h. */
17555 _ACEOF
17556 cat confdefs.h >>conftest.$ac_ext
17557 cat >>conftest.$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17559
17560 int
17561 main ()
17562 {
17563
17564 #ifdef __MINGW32__
17565 choke me
17566 #endif
17567
17568 ;
17569 return 0;
17570 }
17571 _ACEOF
17572 rm -f conftest.$ac_objext
17573 if { (ac_try="$ac_compile"
17574 case "(($ac_try" in
17575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17576 *) ac_try_echo=$ac_try;;
17577 esac
17578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17579 (eval "$ac_compile") 2>conftest.er1
17580 ac_status=$?
17581 grep -v '^ *+' conftest.er1 >conftest.err
17582 rm -f conftest.er1
17583 cat conftest.err >&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } && {
17586 test -z "$ac_c_werror_flag" ||
17587 test ! -s conftest.err
17588 } && test -s conftest.$ac_objext; then
17589 wx_cv_nocygwin=no
17590 else
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17593
17594 wx_cv_nocygwin=yes
17595
17596 fi
17597
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599
17600
17601 fi
17602 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17603 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17604
17605 if test "$wx_cv_nocygwin" = "yes"; then
17606 wants_win32=1
17607 else
17608 doesnt_want_win32=1
17609 fi
17610 fi
17611 if test "$wants_win32" = 1 ; then
17612 BAKEFILE_FORCE_PLATFORM=win32
17613 fi
17614 ;;
17615 *-*-mingw*)
17616 wants_win32=1
17617 ;;
17618 esac
17619
17620 if test "$wxUSE_WINE" = "yes"; then
17621 wants_win32=1
17622 LDFLAGS_GUI="-mwindows"
17623 fi
17624
17625 if test "$wants_win32" = 1 ; then
17626 USE_UNIX=0
17627 USE_WIN32=1
17628 cat >>confdefs.h <<\_ACEOF
17629 #define __WIN32__ 1
17630 _ACEOF
17631
17632 cat >>confdefs.h <<\_ACEOF
17633 #define __WIN95__ 1
17634 _ACEOF
17635
17636 cat >>confdefs.h <<\_ACEOF
17637 #define __WINDOWS__ 1
17638 _ACEOF
17639
17640 cat >>confdefs.h <<\_ACEOF
17641 #define __GNUWIN32__ 1
17642 _ACEOF
17643
17644 cat >>confdefs.h <<\_ACEOF
17645 #define STRICT 1
17646 _ACEOF
17647
17648 fi
17649 if test "$doesnt_want_win32" = 1 ; then
17650 USE_UNIX=1
17651 USE_WIN32=0
17652 fi
17653
17654 if test "$USE_UNIX" = 1 ; then
17655 wxUSE_UNIX=yes
17656 cat >>confdefs.h <<\_ACEOF
17657 #define __UNIX__ 1
17658 _ACEOF
17659
17660 fi
17661
17662 case "${host}" in
17663 *-pc-os2_emx | *-pc-os2-emx )
17664 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17665 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17666 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17667 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17668 echo $ECHO_N "(cached) $ECHO_C" >&6
17669 else
17670 ac_check_lib_save_LIBS=$LIBS
17671 LIBS="-lcExt $LIBS"
17672 cat >conftest.$ac_ext <<_ACEOF
17673 /* confdefs.h. */
17674 _ACEOF
17675 cat confdefs.h >>conftest.$ac_ext
17676 cat >>conftest.$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17678
17679 /* Override any GCC internal prototype to avoid an error.
17680 Use char because int might match the return type of a GCC
17681 builtin and then its argument prototype would still apply. */
17682 #ifdef __cplusplus
17683 extern "C"
17684 #endif
17685 char drand48 ();
17686 int
17687 main ()
17688 {
17689 return drand48 ();
17690 ;
17691 return 0;
17692 }
17693 _ACEOF
17694 rm -f conftest.$ac_objext conftest$ac_exeext
17695 if { (ac_try="$ac_link"
17696 case "(($ac_try" in
17697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17698 *) ac_try_echo=$ac_try;;
17699 esac
17700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17701 (eval "$ac_link") 2>conftest.er1
17702 ac_status=$?
17703 grep -v '^ *+' conftest.er1 >conftest.err
17704 rm -f conftest.er1
17705 cat conftest.err >&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } && {
17708 test -z "$ac_c_werror_flag" ||
17709 test ! -s conftest.err
17710 } && test -s conftest$ac_exeext &&
17711 $as_test_x conftest$ac_exeext; then
17712 ac_cv_lib_cExt_drand48=yes
17713 else
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.$ac_ext >&5
17716
17717 ac_cv_lib_cExt_drand48=no
17718 fi
17719
17720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17721 conftest$ac_exeext conftest.$ac_ext
17722 LIBS=$ac_check_lib_save_LIBS
17723 fi
17724 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17725 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17726 if test $ac_cv_lib_cExt_drand48 = yes; then
17727 LIBS="$LIBS -lcExt"
17728 fi
17729
17730 else
17731 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17732 fi
17733 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17734 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17735 if test "${wx_cv_gccversion+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 else
17738
17739 if test "$cross_compiling" = yes; then
17740 wx_cv_gccversion="EMX2"
17741
17742 else
17743 cat >conftest.$ac_ext <<_ACEOF
17744 /* confdefs.h. */
17745 _ACEOF
17746 cat confdefs.h >>conftest.$ac_ext
17747 cat >>conftest.$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749
17750 #include <stdio.h>
17751
17752 int main()
17753 {
17754 FILE *f=fopen("conftestval", "w");
17755 if (!f) exit(1);
17756 fprintf(f,
17757 #if (__GNUC__ < 3)
17758 "EMX2"
17759 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17760 "EMX3"
17761 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17762 "Innotek5"
17763 #else
17764 "Innotek6"
17765 #endif
17766 );
17767 exit(0);
17768 }
17769
17770 _ACEOF
17771 rm -f conftest$ac_exeext
17772 if { (ac_try="$ac_link"
17773 case "(($ac_try" in
17774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17775 *) ac_try_echo=$ac_try;;
17776 esac
17777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17778 (eval "$ac_link") 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17782 { (case "(($ac_try" in
17783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17784 *) ac_try_echo=$ac_try;;
17785 esac
17786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17787 (eval "$ac_try") 2>&5
17788 ac_status=$?
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; }; then
17791 wx_cv_gccversion=`cat conftestval`
17792 else
17793 echo "$as_me: program exited with status $ac_status" >&5
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.$ac_ext >&5
17796
17797 ( exit $ac_status )
17798 wx_cv_gccversion="EMX2"
17799 fi
17800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17801 fi
17802
17803
17804
17805 fi
17806 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17807 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17808 if test "$wx_cv_gccversion" = "EMX2"; then
17809 LIBS="$LIBS -lstdcpp"
17810 LDFLAGS="$LDFLAGS -Zsysv-signals"
17811 else
17812 if test "$wx_cv_gccversion" = "EMX3"; then
17813 LIBS="$LIBS -lstdcxx -lgcc"
17814 LDFLAGS="$LDFLAGS -Zsysv-signals"
17815 else
17816 LIBS="$LIBS -lstdc++"
17817 fi
17818 fi
17819 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17820 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17821 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17822 wxUSE_OMF=yes
17823 enable_omf=yes
17824 fi
17825 ;;
17826 *)
17827
17828 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17829 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17830 if test "${ac_cv_string_strcasecmp+set}" = set; then
17831 echo $ECHO_N "(cached) $ECHO_C" >&6
17832 else
17833
17834 cat >conftest.$ac_ext <<_ACEOF
17835 /* confdefs.h. */
17836 _ACEOF
17837 cat confdefs.h >>conftest.$ac_ext
17838 cat >>conftest.$ac_ext <<_ACEOF
17839 /* end confdefs.h. */
17840
17841 #include <string.h>
17842
17843 int
17844 main ()
17845 {
17846
17847 strcasecmp("foo", "bar");
17848
17849 ;
17850 return 0;
17851 }
17852 _ACEOF
17853 rm -f conftest.$ac_objext conftest$ac_exeext
17854 if { (ac_try="$ac_link"
17855 case "(($ac_try" in
17856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17857 *) ac_try_echo=$ac_try;;
17858 esac
17859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17860 (eval "$ac_link") 2>conftest.er1
17861 ac_status=$?
17862 grep -v '^ *+' conftest.er1 >conftest.err
17863 rm -f conftest.er1
17864 cat conftest.err >&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } && {
17867 test -z "$ac_c_werror_flag" ||
17868 test ! -s conftest.err
17869 } && test -s conftest$ac_exeext &&
17870 $as_test_x conftest$ac_exeext; then
17871 ac_cv_string_strcasecmp=yes
17872 else
17873 echo "$as_me: failed program was:" >&5
17874 sed 's/^/| /' conftest.$ac_ext >&5
17875
17876 ac_cv_string_strcasecmp=no
17877
17878 fi
17879
17880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17881 conftest$ac_exeext conftest.$ac_ext
17882
17883 fi
17884 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17885 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17886
17887 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17888 cat >>confdefs.h <<\_ACEOF
17889 #define HAVE_STRCASECMP_IN_STRING_H 1
17890 _ACEOF
17891
17892 else
17893 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17894 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17895 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17896 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 else
17898
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905
17906 #include <strings.h>
17907
17908 int
17909 main ()
17910 {
17911
17912 strcasecmp("foo", "bar");
17913
17914 ;
17915 return 0;
17916 }
17917 _ACEOF
17918 rm -f conftest.$ac_objext conftest$ac_exeext
17919 if { (ac_try="$ac_link"
17920 case "(($ac_try" in
17921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17922 *) ac_try_echo=$ac_try;;
17923 esac
17924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17925 (eval "$ac_link") 2>conftest.er1
17926 ac_status=$?
17927 grep -v '^ *+' conftest.er1 >conftest.err
17928 rm -f conftest.er1
17929 cat conftest.err >&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } && {
17932 test -z "$ac_c_werror_flag" ||
17933 test ! -s conftest.err
17934 } && test -s conftest$ac_exeext &&
17935 $as_test_x conftest$ac_exeext; then
17936 ac_cv_strings_strcasecmp=yes
17937 else
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.$ac_ext >&5
17940
17941 ac_cv_strings_strcasecmp=no
17942
17943 fi
17944
17945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17946 conftest$ac_exeext conftest.$ac_ext
17947
17948 fi
17949 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17950 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17951
17952 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17953 cat >>confdefs.h <<\_ACEOF
17954 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17955 _ACEOF
17956
17957 else
17958 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17959 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17960 { (exit 1); exit 1; }; }
17961 fi
17962 fi
17963
17964 ;;
17965 esac
17966
17967
17968 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17969 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17970 if test "${ac_cv_header_stdc+set}" = set; then
17971 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 else
17973 cat >conftest.$ac_ext <<_ACEOF
17974 /* confdefs.h. */
17975 _ACEOF
17976 cat confdefs.h >>conftest.$ac_ext
17977 cat >>conftest.$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17979 #include <stdlib.h>
17980 #include <stdarg.h>
17981 #include <string.h>
17982 #include <float.h>
17983
17984 int
17985 main ()
17986 {
17987
17988 ;
17989 return 0;
17990 }
17991 _ACEOF
17992 rm -f conftest.$ac_objext
17993 if { (ac_try="$ac_compile"
17994 case "(($ac_try" in
17995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17996 *) ac_try_echo=$ac_try;;
17997 esac
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 (eval "$ac_compile") 2>conftest.er1
18000 ac_status=$?
18001 grep -v '^ *+' conftest.er1 >conftest.err
18002 rm -f conftest.er1
18003 cat conftest.err >&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && {
18006 test -z "$ac_c_werror_flag" ||
18007 test ! -s conftest.err
18008 } && test -s conftest.$ac_objext; then
18009 ac_cv_header_stdc=yes
18010 else
18011 echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.$ac_ext >&5
18013
18014 ac_cv_header_stdc=no
18015 fi
18016
18017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018
18019 if test $ac_cv_header_stdc = yes; then
18020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18021 cat >conftest.$ac_ext <<_ACEOF
18022 /* confdefs.h. */
18023 _ACEOF
18024 cat confdefs.h >>conftest.$ac_ext
18025 cat >>conftest.$ac_ext <<_ACEOF
18026 /* end confdefs.h. */
18027 #include <string.h>
18028
18029 _ACEOF
18030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18031 $EGREP "memchr" >/dev/null 2>&1; then
18032 :
18033 else
18034 ac_cv_header_stdc=no
18035 fi
18036 rm -f conftest*
18037
18038 fi
18039
18040 if test $ac_cv_header_stdc = yes; then
18041 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18042 cat >conftest.$ac_ext <<_ACEOF
18043 /* confdefs.h. */
18044 _ACEOF
18045 cat confdefs.h >>conftest.$ac_ext
18046 cat >>conftest.$ac_ext <<_ACEOF
18047 /* end confdefs.h. */
18048 #include <stdlib.h>
18049
18050 _ACEOF
18051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18052 $EGREP "free" >/dev/null 2>&1; then
18053 :
18054 else
18055 ac_cv_header_stdc=no
18056 fi
18057 rm -f conftest*
18058
18059 fi
18060
18061 if test $ac_cv_header_stdc = yes; then
18062 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18063 if test "$cross_compiling" = yes; then
18064 :
18065 else
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #include <ctype.h>
18073 #include <stdlib.h>
18074 #if ((' ' & 0x0FF) == 0x020)
18075 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18076 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18077 #else
18078 # define ISLOWER(c) \
18079 (('a' <= (c) && (c) <= 'i') \
18080 || ('j' <= (c) && (c) <= 'r') \
18081 || ('s' <= (c) && (c) <= 'z'))
18082 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18083 #endif
18084
18085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18086 int
18087 main ()
18088 {
18089 int i;
18090 for (i = 0; i < 256; i++)
18091 if (XOR (islower (i), ISLOWER (i))
18092 || toupper (i) != TOUPPER (i))
18093 return 2;
18094 return 0;
18095 }
18096 _ACEOF
18097 rm -f conftest$ac_exeext
18098 if { (ac_try="$ac_link"
18099 case "(($ac_try" in
18100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18101 *) ac_try_echo=$ac_try;;
18102 esac
18103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18104 (eval "$ac_link") 2>&5
18105 ac_status=$?
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18108 { (case "(($ac_try" in
18109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18110 *) ac_try_echo=$ac_try;;
18111 esac
18112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18113 (eval "$ac_try") 2>&5
18114 ac_status=$?
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18117 :
18118 else
18119 echo "$as_me: program exited with status $ac_status" >&5
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.$ac_ext >&5
18122
18123 ( exit $ac_status )
18124 ac_cv_header_stdc=no
18125 fi
18126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18127 fi
18128
18129
18130 fi
18131 fi
18132 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18133 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18134 if test $ac_cv_header_stdc = yes; then
18135
18136 cat >>confdefs.h <<\_ACEOF
18137 #define STDC_HEADERS 1
18138 _ACEOF
18139
18140 fi
18141
18142 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18153 inttypes.h stdint.h unistd.h
18154 do
18155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18159 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 else
18161 cat >conftest.$ac_ext <<_ACEOF
18162 /* confdefs.h. */
18163 _ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 $ac_includes_default
18168
18169 #include <$ac_header>
18170 _ACEOF
18171 rm -f conftest.$ac_objext
18172 if { (ac_try="$ac_compile"
18173 case "(($ac_try" in
18174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18175 *) ac_try_echo=$ac_try;;
18176 esac
18177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18178 (eval "$ac_compile") 2>conftest.er1
18179 ac_status=$?
18180 grep -v '^ *+' conftest.er1 >conftest.err
18181 rm -f conftest.er1
18182 cat conftest.err >&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } && {
18185 test -z "$ac_c_werror_flag" ||
18186 test ! -s conftest.err
18187 } && test -s conftest.$ac_objext; then
18188 eval "$as_ac_Header=yes"
18189 else
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18192
18193 eval "$as_ac_Header=no"
18194 fi
18195
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 fi
18198 ac_res=`eval echo '${'$as_ac_Header'}'`
18199 { echo "$as_me:$LINENO: result: $ac_res" >&5
18200 echo "${ECHO_T}$ac_res" >&6; }
18201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18202 cat >>confdefs.h <<_ACEOF
18203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18204 _ACEOF
18205
18206 fi
18207
18208 done
18209
18210
18211
18212
18213
18214
18215
18216
18217 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18218 do
18219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18223 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 else
18225 cat >conftest.$ac_ext <<_ACEOF
18226 /* confdefs.h. */
18227 _ACEOF
18228 cat confdefs.h >>conftest.$ac_ext
18229 cat >>conftest.$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 $ac_includes_default
18232
18233 #include <$ac_header>
18234 _ACEOF
18235 rm -f conftest.$ac_objext
18236 if { (ac_try="$ac_compile"
18237 case "(($ac_try" in
18238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18239 *) ac_try_echo=$ac_try;;
18240 esac
18241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18242 (eval "$ac_compile") 2>conftest.er1
18243 ac_status=$?
18244 grep -v '^ *+' conftest.er1 >conftest.err
18245 rm -f conftest.er1
18246 cat conftest.err >&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); } && {
18249 test -z "$ac_c_werror_flag" ||
18250 test ! -s conftest.err
18251 } && test -s conftest.$ac_objext; then
18252 eval "$as_ac_Header=yes"
18253 else
18254 echo "$as_me: failed program was:" >&5
18255 sed 's/^/| /' conftest.$ac_ext >&5
18256
18257 eval "$as_ac_Header=no"
18258 fi
18259
18260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18261 fi
18262 ac_res=`eval echo '${'$as_ac_Header'}'`
18263 { echo "$as_me:$LINENO: result: $ac_res" >&5
18264 echo "${ECHO_T}$ac_res" >&6; }
18265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18266 cat >>confdefs.h <<_ACEOF
18267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18268 _ACEOF
18269
18270 fi
18271
18272 done
18273
18274
18275 if test "$ac_cv_header_wchar_h" != "yes"; then
18276 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18277 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18278 if test "${ac_cv_header_wcstr_h+set}" = set; then
18279 echo $ECHO_N "(cached) $ECHO_C" >&6
18280 else
18281 cat >conftest.$ac_ext <<_ACEOF
18282 /* confdefs.h. */
18283 _ACEOF
18284 cat confdefs.h >>conftest.$ac_ext
18285 cat >>conftest.$ac_ext <<_ACEOF
18286 /* end confdefs.h. */
18287 $ac_includes_default
18288
18289 #include <wcstr.h>
18290 _ACEOF
18291 rm -f conftest.$ac_objext
18292 if { (ac_try="$ac_compile"
18293 case "(($ac_try" in
18294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18295 *) ac_try_echo=$ac_try;;
18296 esac
18297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18298 (eval "$ac_compile") 2>conftest.er1
18299 ac_status=$?
18300 grep -v '^ *+' conftest.er1 >conftest.err
18301 rm -f conftest.er1
18302 cat conftest.err >&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } && {
18305 test -z "$ac_c_werror_flag" ||
18306 test ! -s conftest.err
18307 } && test -s conftest.$ac_objext; then
18308 ac_cv_header_wcstr_h=yes
18309 else
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.$ac_ext >&5
18312
18313 ac_cv_header_wcstr_h=no
18314 fi
18315
18316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18317 fi
18318 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18319 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18320
18321
18322 fi
18323
18324 case "${host}" in
18325 *-pc-os2_emx | *-pc-os2-emx )
18326 if test $ac_cv_header_langinfo_h = "yes" \
18327 -a \( "$wx_cv_gccversion" = "EMX2" \
18328 -o "$wx_cv_gccversion" = "EMX3" \
18329 -o "$wx_cv_gccversion" = "Innotek5" \); then
18330 LIBS="$LIBS -lintl"
18331 fi
18332 ;;
18333 esac
18334
18335 if test "$USE_UNIX" = 1 ; then
18336 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18337 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18338 if test "${ac_cv_header_sys_select_h+set}" = set; then
18339 echo $ECHO_N "(cached) $ECHO_C" >&6
18340 else
18341 cat >conftest.$ac_ext <<_ACEOF
18342 /* confdefs.h. */
18343 _ACEOF
18344 cat confdefs.h >>conftest.$ac_ext
18345 cat >>conftest.$ac_ext <<_ACEOF
18346 /* end confdefs.h. */
18347 $ac_includes_default
18348
18349 #include <sys/select.h>
18350 _ACEOF
18351 rm -f conftest.$ac_objext
18352 if { (ac_try="$ac_compile"
18353 case "(($ac_try" in
18354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18355 *) ac_try_echo=$ac_try;;
18356 esac
18357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18358 (eval "$ac_compile") 2>conftest.er1
18359 ac_status=$?
18360 grep -v '^ *+' conftest.er1 >conftest.err
18361 rm -f conftest.er1
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } && {
18365 test -z "$ac_c_werror_flag" ||
18366 test ! -s conftest.err
18367 } && test -s conftest.$ac_objext; then
18368 ac_cv_header_sys_select_h=yes
18369 else
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18372
18373 ac_cv_header_sys_select_h=no
18374 fi
18375
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377 fi
18378 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18379 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18380
18381
18382 fi
18383
18384
18385 for ac_header in sys/epoll.h
18386 do
18387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18393 fi
18394 ac_res=`eval echo '${'$as_ac_Header'}'`
18395 { echo "$as_me:$LINENO: result: $ac_res" >&5
18396 echo "${ECHO_T}$ac_res" >&6; }
18397 else
18398 # Is the header compilable?
18399 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18401 cat >conftest.$ac_ext <<_ACEOF
18402 /* confdefs.h. */
18403 _ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 $ac_includes_default
18408 #include <$ac_header>
18409 _ACEOF
18410 rm -f conftest.$ac_objext
18411 if { (ac_try="$ac_compile"
18412 case "(($ac_try" in
18413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18414 *) ac_try_echo=$ac_try;;
18415 esac
18416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18417 (eval "$ac_compile") 2>conftest.er1
18418 ac_status=$?
18419 grep -v '^ *+' conftest.er1 >conftest.err
18420 rm -f conftest.er1
18421 cat conftest.err >&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } && {
18424 test -z "$ac_c_werror_flag" ||
18425 test ! -s conftest.err
18426 } && test -s conftest.$ac_objext; then
18427 ac_header_compiler=yes
18428 else
18429 echo "$as_me: failed program was:" >&5
18430 sed 's/^/| /' conftest.$ac_ext >&5
18431
18432 ac_header_compiler=no
18433 fi
18434
18435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18437 echo "${ECHO_T}$ac_header_compiler" >&6; }
18438
18439 # Is the header present?
18440 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18442 cat >conftest.$ac_ext <<_ACEOF
18443 /* confdefs.h. */
18444 _ACEOF
18445 cat confdefs.h >>conftest.$ac_ext
18446 cat >>conftest.$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 #include <$ac_header>
18449 _ACEOF
18450 if { (ac_try="$ac_cpp conftest.$ac_ext"
18451 case "(($ac_try" in
18452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18453 *) ac_try_echo=$ac_try;;
18454 esac
18455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18457 ac_status=$?
18458 grep -v '^ *+' conftest.er1 >conftest.err
18459 rm -f conftest.er1
18460 cat conftest.err >&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); } >/dev/null && {
18463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18464 test ! -s conftest.err
18465 }; then
18466 ac_header_preproc=yes
18467 else
18468 echo "$as_me: failed program was:" >&5
18469 sed 's/^/| /' conftest.$ac_ext >&5
18470
18471 ac_header_preproc=no
18472 fi
18473
18474 rm -f conftest.err conftest.$ac_ext
18475 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18476 echo "${ECHO_T}$ac_header_preproc" >&6; }
18477
18478 # So? What about this header?
18479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18480 yes:no: )
18481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18485 ac_header_preproc=yes
18486 ;;
18487 no:yes:* )
18488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18500 ( cat <<\_ASBOX
18501 ## ----------------------------------------- ##
18502 ## Report this to wx-dev@lists.wxwidgets.org ##
18503 ## ----------------------------------------- ##
18504 _ASBOX
18505 ) | sed "s/^/$as_me: WARNING: /" >&2
18506 ;;
18507 esac
18508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18512 else
18513 eval "$as_ac_Header=\$ac_header_preproc"
18514 fi
18515 ac_res=`eval echo '${'$as_ac_Header'}'`
18516 { echo "$as_me:$LINENO: result: $ac_res" >&5
18517 echo "${ECHO_T}$ac_res" >&6; }
18518
18519 fi
18520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18521 cat >>confdefs.h <<_ACEOF
18522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18523 _ACEOF
18524
18525 fi
18526
18527 done
18528
18529
18530
18531 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18532 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18533 if test "${ac_cv_c_const+set}" = set; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18535 else
18536 cat >conftest.$ac_ext <<_ACEOF
18537 /* confdefs.h. */
18538 _ACEOF
18539 cat confdefs.h >>conftest.$ac_ext
18540 cat >>conftest.$ac_ext <<_ACEOF
18541 /* end confdefs.h. */
18542
18543 int
18544 main ()
18545 {
18546 /* FIXME: Include the comments suggested by Paul. */
18547 #ifndef __cplusplus
18548 /* Ultrix mips cc rejects this. */
18549 typedef int charset[2];
18550 const charset cs;
18551 /* SunOS 4.1.1 cc rejects this. */
18552 char const *const *pcpcc;
18553 char **ppc;
18554 /* NEC SVR4.0.2 mips cc rejects this. */
18555 struct point {int x, y;};
18556 static struct point const zero = {0,0};
18557 /* AIX XL C 1.02.0.0 rejects this.
18558 It does not let you subtract one const X* pointer from another in
18559 an arm of an if-expression whose if-part is not a constant
18560 expression */
18561 const char *g = "string";
18562 pcpcc = &g + (g ? g-g : 0);
18563 /* HPUX 7.0 cc rejects these. */
18564 ++pcpcc;
18565 ppc = (char**) pcpcc;
18566 pcpcc = (char const *const *) ppc;
18567 { /* SCO 3.2v4 cc rejects this. */
18568 char *t;
18569 char const *s = 0 ? (char *) 0 : (char const *) 0;
18570
18571 *t++ = 0;
18572 if (s) return 0;
18573 }
18574 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18575 int x[] = {25, 17};
18576 const int *foo = &x[0];
18577 ++foo;
18578 }
18579 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18580 typedef const int *iptr;
18581 iptr p = 0;
18582 ++p;
18583 }
18584 { /* AIX XL C 1.02.0.0 rejects this saying
18585 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18586 struct s { int j; const int *ap[3]; };
18587 struct s *b; b->j = 5;
18588 }
18589 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18590 const int foo = 10;
18591 if (!foo) return 0;
18592 }
18593 return !cs[0] && !zero.x;
18594 #endif
18595
18596 ;
18597 return 0;
18598 }
18599 _ACEOF
18600 rm -f conftest.$ac_objext
18601 if { (ac_try="$ac_compile"
18602 case "(($ac_try" in
18603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18604 *) ac_try_echo=$ac_try;;
18605 esac
18606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18607 (eval "$ac_compile") 2>conftest.er1
18608 ac_status=$?
18609 grep -v '^ *+' conftest.er1 >conftest.err
18610 rm -f conftest.er1
18611 cat conftest.err >&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } && {
18614 test -z "$ac_c_werror_flag" ||
18615 test ! -s conftest.err
18616 } && test -s conftest.$ac_objext; then
18617 ac_cv_c_const=yes
18618 else
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.$ac_ext >&5
18621
18622 ac_cv_c_const=no
18623 fi
18624
18625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18626 fi
18627 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18628 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18629 if test $ac_cv_c_const = no; then
18630
18631 cat >>confdefs.h <<\_ACEOF
18632 #define const
18633 _ACEOF
18634
18635 fi
18636
18637 { echo "$as_me:$LINENO: checking for inline" >&5
18638 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18639 if test "${ac_cv_c_inline+set}" = set; then
18640 echo $ECHO_N "(cached) $ECHO_C" >&6
18641 else
18642 ac_cv_c_inline=no
18643 for ac_kw in inline __inline__ __inline; do
18644 cat >conftest.$ac_ext <<_ACEOF
18645 /* confdefs.h. */
18646 _ACEOF
18647 cat confdefs.h >>conftest.$ac_ext
18648 cat >>conftest.$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 #ifndef __cplusplus
18651 typedef int foo_t;
18652 static $ac_kw foo_t static_foo () {return 0; }
18653 $ac_kw foo_t foo () {return 0; }
18654 #endif
18655
18656 _ACEOF
18657 rm -f conftest.$ac_objext
18658 if { (ac_try="$ac_compile"
18659 case "(($ac_try" in
18660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18661 *) ac_try_echo=$ac_try;;
18662 esac
18663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_compile") 2>conftest.er1
18665 ac_status=$?
18666 grep -v '^ *+' conftest.er1 >conftest.err
18667 rm -f conftest.er1
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } && {
18671 test -z "$ac_c_werror_flag" ||
18672 test ! -s conftest.err
18673 } && test -s conftest.$ac_objext; then
18674 ac_cv_c_inline=$ac_kw
18675 else
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679
18680 fi
18681
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 test "$ac_cv_c_inline" != no && break
18684 done
18685
18686 fi
18687 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18688 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18689
18690
18691 case $ac_cv_c_inline in
18692 inline | yes) ;;
18693 *)
18694 case $ac_cv_c_inline in
18695 no) ac_val=;;
18696 *) ac_val=$ac_cv_c_inline;;
18697 esac
18698 cat >>confdefs.h <<_ACEOF
18699 #ifndef __cplusplus
18700 #define inline $ac_val
18701 #endif
18702 _ACEOF
18703 ;;
18704 esac
18705
18706
18707 { echo "$as_me:$LINENO: checking for short" >&5
18708 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18709 if test "${ac_cv_type_short+set}" = set; then
18710 echo $ECHO_N "(cached) $ECHO_C" >&6
18711 else
18712 cat >conftest.$ac_ext <<_ACEOF
18713 /* confdefs.h. */
18714 _ACEOF
18715 cat confdefs.h >>conftest.$ac_ext
18716 cat >>conftest.$ac_ext <<_ACEOF
18717 /* end confdefs.h. */
18718 $ac_includes_default
18719 typedef short ac__type_new_;
18720 int
18721 main ()
18722 {
18723 if ((ac__type_new_ *) 0)
18724 return 0;
18725 if (sizeof (ac__type_new_))
18726 return 0;
18727 ;
18728 return 0;
18729 }
18730 _ACEOF
18731 rm -f conftest.$ac_objext
18732 if { (ac_try="$ac_compile"
18733 case "(($ac_try" in
18734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18735 *) ac_try_echo=$ac_try;;
18736 esac
18737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18738 (eval "$ac_compile") 2>conftest.er1
18739 ac_status=$?
18740 grep -v '^ *+' conftest.er1 >conftest.err
18741 rm -f conftest.er1
18742 cat conftest.err >&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } && {
18745 test -z "$ac_c_werror_flag" ||
18746 test ! -s conftest.err
18747 } && test -s conftest.$ac_objext; then
18748 ac_cv_type_short=yes
18749 else
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.$ac_ext >&5
18752
18753 ac_cv_type_short=no
18754 fi
18755
18756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18757 fi
18758 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18759 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18760
18761 # The cast to long int works around a bug in the HP C Compiler
18762 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18763 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18764 # This bug is HP SR number 8606223364.
18765 { echo "$as_me:$LINENO: checking size of short" >&5
18766 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18767 if test "${ac_cv_sizeof_short+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 else
18770 if test "$cross_compiling" = yes; then
18771 # Depending upon the size, compute the lo and hi bounds.
18772 cat >conftest.$ac_ext <<_ACEOF
18773 /* confdefs.h. */
18774 _ACEOF
18775 cat confdefs.h >>conftest.$ac_ext
18776 cat >>conftest.$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18778 $ac_includes_default
18779 typedef short ac__type_sizeof_;
18780 int
18781 main ()
18782 {
18783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18784 test_array [0] = 0
18785
18786 ;
18787 return 0;
18788 }
18789 _ACEOF
18790 rm -f conftest.$ac_objext
18791 if { (ac_try="$ac_compile"
18792 case "(($ac_try" in
18793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18794 *) ac_try_echo=$ac_try;;
18795 esac
18796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18797 (eval "$ac_compile") 2>conftest.er1
18798 ac_status=$?
18799 grep -v '^ *+' conftest.er1 >conftest.err
18800 rm -f conftest.er1
18801 cat conftest.err >&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } && {
18804 test -z "$ac_c_werror_flag" ||
18805 test ! -s conftest.err
18806 } && test -s conftest.$ac_objext; then
18807 ac_lo=0 ac_mid=0
18808 while :; do
18809 cat >conftest.$ac_ext <<_ACEOF
18810 /* confdefs.h. */
18811 _ACEOF
18812 cat confdefs.h >>conftest.$ac_ext
18813 cat >>conftest.$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18815 $ac_includes_default
18816 typedef short ac__type_sizeof_;
18817 int
18818 main ()
18819 {
18820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18821 test_array [0] = 0
18822
18823 ;
18824 return 0;
18825 }
18826 _ACEOF
18827 rm -f conftest.$ac_objext
18828 if { (ac_try="$ac_compile"
18829 case "(($ac_try" in
18830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18831 *) ac_try_echo=$ac_try;;
18832 esac
18833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18834 (eval "$ac_compile") 2>conftest.er1
18835 ac_status=$?
18836 grep -v '^ *+' conftest.er1 >conftest.err
18837 rm -f conftest.er1
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } && {
18841 test -z "$ac_c_werror_flag" ||
18842 test ! -s conftest.err
18843 } && test -s conftest.$ac_objext; then
18844 ac_hi=$ac_mid; break
18845 else
18846 echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.$ac_ext >&5
18848
18849 ac_lo=`expr $ac_mid + 1`
18850 if test $ac_lo -le $ac_mid; then
18851 ac_lo= ac_hi=
18852 break
18853 fi
18854 ac_mid=`expr 2 '*' $ac_mid + 1`
18855 fi
18856
18857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18858 done
18859 else
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.$ac_ext >&5
18862
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 $ac_includes_default
18870 typedef short ac__type_sizeof_;
18871 int
18872 main ()
18873 {
18874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18875 test_array [0] = 0
18876
18877 ;
18878 return 0;
18879 }
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18886 esac
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18889 ac_status=$?
18890 grep -v '^ *+' conftest.er1 >conftest.err
18891 rm -f conftest.er1
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 ac_hi=-1 ac_mid=-1
18899 while :; do
18900 cat >conftest.$ac_ext <<_ACEOF
18901 /* confdefs.h. */
18902 _ACEOF
18903 cat confdefs.h >>conftest.$ac_ext
18904 cat >>conftest.$ac_ext <<_ACEOF
18905 /* end confdefs.h. */
18906 $ac_includes_default
18907 typedef short ac__type_sizeof_;
18908 int
18909 main ()
18910 {
18911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18912 test_array [0] = 0
18913
18914 ;
18915 return 0;
18916 }
18917 _ACEOF
18918 rm -f conftest.$ac_objext
18919 if { (ac_try="$ac_compile"
18920 case "(($ac_try" in
18921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18922 *) ac_try_echo=$ac_try;;
18923 esac
18924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18925 (eval "$ac_compile") 2>conftest.er1
18926 ac_status=$?
18927 grep -v '^ *+' conftest.er1 >conftest.err
18928 rm -f conftest.er1
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && {
18932 test -z "$ac_c_werror_flag" ||
18933 test ! -s conftest.err
18934 } && test -s conftest.$ac_objext; then
18935 ac_lo=$ac_mid; break
18936 else
18937 echo "$as_me: failed program was:" >&5
18938 sed 's/^/| /' conftest.$ac_ext >&5
18939
18940 ac_hi=`expr '(' $ac_mid ')' - 1`
18941 if test $ac_mid -le $ac_hi; then
18942 ac_lo= ac_hi=
18943 break
18944 fi
18945 ac_mid=`expr 2 '*' $ac_mid`
18946 fi
18947
18948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18949 done
18950 else
18951 echo "$as_me: failed program was:" >&5
18952 sed 's/^/| /' conftest.$ac_ext >&5
18953
18954 ac_lo= ac_hi=
18955 fi
18956
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18958 fi
18959
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961 # Binary search between lo and hi bounds.
18962 while test "x$ac_lo" != "x$ac_hi"; do
18963 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 $ac_includes_default
18971 typedef short ac__type_sizeof_;
18972 int
18973 main ()
18974 {
18975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18976 test_array [0] = 0
18977
18978 ;
18979 return 0;
18980 }
18981 _ACEOF
18982 rm -f conftest.$ac_objext
18983 if { (ac_try="$ac_compile"
18984 case "(($ac_try" in
18985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18986 *) ac_try_echo=$ac_try;;
18987 esac
18988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18989 (eval "$ac_compile") 2>conftest.er1
18990 ac_status=$?
18991 grep -v '^ *+' conftest.er1 >conftest.err
18992 rm -f conftest.er1
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } && {
18996 test -z "$ac_c_werror_flag" ||
18997 test ! -s conftest.err
18998 } && test -s conftest.$ac_objext; then
18999 ac_hi=$ac_mid
19000 else
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.$ac_ext >&5
19003
19004 ac_lo=`expr '(' $ac_mid ')' + 1`
19005 fi
19006
19007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19008 done
19009 case $ac_lo in
19010 ?*) ac_cv_sizeof_short=$ac_lo;;
19011 '') if test "$ac_cv_type_short" = yes; then
19012 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19013 See \`config.log' for more details." >&5
19014 echo "$as_me: error: cannot compute sizeof (short)
19015 See \`config.log' for more details." >&2;}
19016 { (exit 77); exit 77; }; }
19017 else
19018 ac_cv_sizeof_short=0
19019 fi ;;
19020 esac
19021 else
19022 cat >conftest.$ac_ext <<_ACEOF
19023 /* confdefs.h. */
19024 _ACEOF
19025 cat confdefs.h >>conftest.$ac_ext
19026 cat >>conftest.$ac_ext <<_ACEOF
19027 /* end confdefs.h. */
19028 $ac_includes_default
19029 typedef short ac__type_sizeof_;
19030 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19031 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19032 #include <stdio.h>
19033 #include <stdlib.h>
19034 int
19035 main ()
19036 {
19037
19038 FILE *f = fopen ("conftest.val", "w");
19039 if (! f)
19040 return 1;
19041 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19042 {
19043 long int i = longval ();
19044 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19045 return 1;
19046 fprintf (f, "%ld\n", i);
19047 }
19048 else
19049 {
19050 unsigned long int i = ulongval ();
19051 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19052 return 1;
19053 fprintf (f, "%lu\n", i);
19054 }
19055 return ferror (f) || fclose (f) != 0;
19056
19057 ;
19058 return 0;
19059 }
19060 _ACEOF
19061 rm -f conftest$ac_exeext
19062 if { (ac_try="$ac_link"
19063 case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19066 esac
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_link") 2>&5
19069 ac_status=$?
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19072 { (case "(($ac_try" in
19073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19074 *) ac_try_echo=$ac_try;;
19075 esac
19076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19077 (eval "$ac_try") 2>&5
19078 ac_status=$?
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); }; }; then
19081 ac_cv_sizeof_short=`cat conftest.val`
19082 else
19083 echo "$as_me: program exited with status $ac_status" >&5
19084 echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19086
19087 ( exit $ac_status )
19088 if test "$ac_cv_type_short" = yes; then
19089 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19090 See \`config.log' for more details." >&5
19091 echo "$as_me: error: cannot compute sizeof (short)
19092 See \`config.log' for more details." >&2;}
19093 { (exit 77); exit 77; }; }
19094 else
19095 ac_cv_sizeof_short=0
19096 fi
19097 fi
19098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19099 fi
19100 rm -f conftest.val
19101 fi
19102 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19103 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19104
19105
19106
19107 cat >>confdefs.h <<_ACEOF
19108 #define SIZEOF_SHORT $ac_cv_sizeof_short
19109 _ACEOF
19110
19111
19112 { echo "$as_me:$LINENO: checking for void *" >&5
19113 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19114 if test "${ac_cv_type_void_p+set}" = set; then
19115 echo $ECHO_N "(cached) $ECHO_C" >&6
19116 else
19117 cat >conftest.$ac_ext <<_ACEOF
19118 /* confdefs.h. */
19119 _ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19124 typedef void * ac__type_new_;
19125 int
19126 main ()
19127 {
19128 if ((ac__type_new_ *) 0)
19129 return 0;
19130 if (sizeof (ac__type_new_))
19131 return 0;
19132 ;
19133 return 0;
19134 }
19135 _ACEOF
19136 rm -f conftest.$ac_objext
19137 if { (ac_try="$ac_compile"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19141 esac
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compile") 2>conftest.er1
19144 ac_status=$?
19145 grep -v '^ *+' conftest.er1 >conftest.err
19146 rm -f conftest.er1
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } && {
19150 test -z "$ac_c_werror_flag" ||
19151 test ! -s conftest.err
19152 } && test -s conftest.$ac_objext; then
19153 ac_cv_type_void_p=yes
19154 else
19155 echo "$as_me: failed program was:" >&5
19156 sed 's/^/| /' conftest.$ac_ext >&5
19157
19158 ac_cv_type_void_p=no
19159 fi
19160
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19162 fi
19163 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19164 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19165
19166 # The cast to long int works around a bug in the HP C Compiler
19167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19169 # This bug is HP SR number 8606223364.
19170 { echo "$as_me:$LINENO: checking size of void *" >&5
19171 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19172 if test "${ac_cv_sizeof_void_p+set}" = set; then
19173 echo $ECHO_N "(cached) $ECHO_C" >&6
19174 else
19175 if test "$cross_compiling" = yes; then
19176 # Depending upon the size, compute the lo and hi bounds.
19177 cat >conftest.$ac_ext <<_ACEOF
19178 /* confdefs.h. */
19179 _ACEOF
19180 cat confdefs.h >>conftest.$ac_ext
19181 cat >>conftest.$ac_ext <<_ACEOF
19182 /* end confdefs.h. */
19183 $ac_includes_default
19184 typedef void * ac__type_sizeof_;
19185 int
19186 main ()
19187 {
19188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19189 test_array [0] = 0
19190
19191 ;
19192 return 0;
19193 }
19194 _ACEOF
19195 rm -f conftest.$ac_objext
19196 if { (ac_try="$ac_compile"
19197 case "(($ac_try" in
19198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19199 *) ac_try_echo=$ac_try;;
19200 esac
19201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19202 (eval "$ac_compile") 2>conftest.er1
19203 ac_status=$?
19204 grep -v '^ *+' conftest.er1 >conftest.err
19205 rm -f conftest.er1
19206 cat conftest.err >&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } && {
19209 test -z "$ac_c_werror_flag" ||
19210 test ! -s conftest.err
19211 } && test -s conftest.$ac_objext; then
19212 ac_lo=0 ac_mid=0
19213 while :; do
19214 cat >conftest.$ac_ext <<_ACEOF
19215 /* confdefs.h. */
19216 _ACEOF
19217 cat confdefs.h >>conftest.$ac_ext
19218 cat >>conftest.$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220 $ac_includes_default
19221 typedef void * ac__type_sizeof_;
19222 int
19223 main ()
19224 {
19225 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19226 test_array [0] = 0
19227
19228 ;
19229 return 0;
19230 }
19231 _ACEOF
19232 rm -f conftest.$ac_objext
19233 if { (ac_try="$ac_compile"
19234 case "(($ac_try" in
19235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19236 *) ac_try_echo=$ac_try;;
19237 esac
19238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19239 (eval "$ac_compile") 2>conftest.er1
19240 ac_status=$?
19241 grep -v '^ *+' conftest.er1 >conftest.err
19242 rm -f conftest.er1
19243 cat conftest.err >&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } && {
19246 test -z "$ac_c_werror_flag" ||
19247 test ! -s conftest.err
19248 } && test -s conftest.$ac_objext; then
19249 ac_hi=$ac_mid; break
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19253
19254 ac_lo=`expr $ac_mid + 1`
19255 if test $ac_lo -le $ac_mid; then
19256 ac_lo= ac_hi=
19257 break
19258 fi
19259 ac_mid=`expr 2 '*' $ac_mid + 1`
19260 fi
19261
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 done
19264 else
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.$ac_ext >&5
19267
19268 cat >conftest.$ac_ext <<_ACEOF
19269 /* confdefs.h. */
19270 _ACEOF
19271 cat confdefs.h >>conftest.$ac_ext
19272 cat >>conftest.$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 $ac_includes_default
19275 typedef void * ac__type_sizeof_;
19276 int
19277 main ()
19278 {
19279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19280 test_array [0] = 0
19281
19282 ;
19283 return 0;
19284 }
19285 _ACEOF
19286 rm -f conftest.$ac_objext
19287 if { (ac_try="$ac_compile"
19288 case "(($ac_try" in
19289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19290 *) ac_try_echo=$ac_try;;
19291 esac
19292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19293 (eval "$ac_compile") 2>conftest.er1
19294 ac_status=$?
19295 grep -v '^ *+' conftest.er1 >conftest.err
19296 rm -f conftest.er1
19297 cat conftest.err >&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } && {
19300 test -z "$ac_c_werror_flag" ||
19301 test ! -s conftest.err
19302 } && test -s conftest.$ac_objext; then
19303 ac_hi=-1 ac_mid=-1
19304 while :; do
19305 cat >conftest.$ac_ext <<_ACEOF
19306 /* confdefs.h. */
19307 _ACEOF
19308 cat confdefs.h >>conftest.$ac_ext
19309 cat >>conftest.$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 $ac_includes_default
19312 typedef void * ac__type_sizeof_;
19313 int
19314 main ()
19315 {
19316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19317 test_array [0] = 0
19318
19319 ;
19320 return 0;
19321 }
19322 _ACEOF
19323 rm -f conftest.$ac_objext
19324 if { (ac_try="$ac_compile"
19325 case "(($ac_try" in
19326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19327 *) ac_try_echo=$ac_try;;
19328 esac
19329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19330 (eval "$ac_compile") 2>conftest.er1
19331 ac_status=$?
19332 grep -v '^ *+' conftest.er1 >conftest.err
19333 rm -f conftest.er1
19334 cat conftest.err >&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } && {
19337 test -z "$ac_c_werror_flag" ||
19338 test ! -s conftest.err
19339 } && test -s conftest.$ac_objext; then
19340 ac_lo=$ac_mid; break
19341 else
19342 echo "$as_me: failed program was:" >&5
19343 sed 's/^/| /' conftest.$ac_ext >&5
19344
19345 ac_hi=`expr '(' $ac_mid ')' - 1`
19346 if test $ac_mid -le $ac_hi; then
19347 ac_lo= ac_hi=
19348 break
19349 fi
19350 ac_mid=`expr 2 '*' $ac_mid`
19351 fi
19352
19353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19354 done
19355 else
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.$ac_ext >&5
19358
19359 ac_lo= ac_hi=
19360 fi
19361
19362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 fi
19364
19365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19366 # Binary search between lo and hi bounds.
19367 while test "x$ac_lo" != "x$ac_hi"; do
19368 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19369 cat >conftest.$ac_ext <<_ACEOF
19370 /* confdefs.h. */
19371 _ACEOF
19372 cat confdefs.h >>conftest.$ac_ext
19373 cat >>conftest.$ac_ext <<_ACEOF
19374 /* end confdefs.h. */
19375 $ac_includes_default
19376 typedef void * ac__type_sizeof_;
19377 int
19378 main ()
19379 {
19380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19381 test_array [0] = 0
19382
19383 ;
19384 return 0;
19385 }
19386 _ACEOF
19387 rm -f conftest.$ac_objext
19388 if { (ac_try="$ac_compile"
19389 case "(($ac_try" in
19390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19391 *) ac_try_echo=$ac_try;;
19392 esac
19393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19394 (eval "$ac_compile") 2>conftest.er1
19395 ac_status=$?
19396 grep -v '^ *+' conftest.er1 >conftest.err
19397 rm -f conftest.er1
19398 cat conftest.err >&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } && {
19401 test -z "$ac_c_werror_flag" ||
19402 test ! -s conftest.err
19403 } && test -s conftest.$ac_objext; then
19404 ac_hi=$ac_mid
19405 else
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19408
19409 ac_lo=`expr '(' $ac_mid ')' + 1`
19410 fi
19411
19412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19413 done
19414 case $ac_lo in
19415 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19416 '') if test "$ac_cv_type_void_p" = yes; then
19417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19418 See \`config.log' for more details." >&5
19419 echo "$as_me: error: cannot compute sizeof (void *)
19420 See \`config.log' for more details." >&2;}
19421 { (exit 77); exit 77; }; }
19422 else
19423 ac_cv_sizeof_void_p=0
19424 fi ;;
19425 esac
19426 else
19427 cat >conftest.$ac_ext <<_ACEOF
19428 /* confdefs.h. */
19429 _ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 $ac_includes_default
19434 typedef void * ac__type_sizeof_;
19435 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19436 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19437 #include <stdio.h>
19438 #include <stdlib.h>
19439 int
19440 main ()
19441 {
19442
19443 FILE *f = fopen ("conftest.val", "w");
19444 if (! f)
19445 return 1;
19446 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19447 {
19448 long int i = longval ();
19449 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19450 return 1;
19451 fprintf (f, "%ld\n", i);
19452 }
19453 else
19454 {
19455 unsigned long int i = ulongval ();
19456 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19457 return 1;
19458 fprintf (f, "%lu\n", i);
19459 }
19460 return ferror (f) || fclose (f) != 0;
19461
19462 ;
19463 return 0;
19464 }
19465 _ACEOF
19466 rm -f conftest$ac_exeext
19467 if { (ac_try="$ac_link"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19471 esac
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_link") 2>&5
19474 ac_status=$?
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19477 { (case "(($ac_try" in
19478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19479 *) ac_try_echo=$ac_try;;
19480 esac
19481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19482 (eval "$ac_try") 2>&5
19483 ac_status=$?
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; }; then
19486 ac_cv_sizeof_void_p=`cat conftest.val`
19487 else
19488 echo "$as_me: program exited with status $ac_status" >&5
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19491
19492 ( exit $ac_status )
19493 if test "$ac_cv_type_void_p" = yes; then
19494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19495 See \`config.log' for more details." >&5
19496 echo "$as_me: error: cannot compute sizeof (void *)
19497 See \`config.log' for more details." >&2;}
19498 { (exit 77); exit 77; }; }
19499 else
19500 ac_cv_sizeof_void_p=0
19501 fi
19502 fi
19503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19504 fi
19505 rm -f conftest.val
19506 fi
19507 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19508 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19509
19510
19511
19512 cat >>confdefs.h <<_ACEOF
19513 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19514 _ACEOF
19515
19516
19517 { echo "$as_me:$LINENO: checking for int" >&5
19518 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19519 if test "${ac_cv_type_int+set}" = set; then
19520 echo $ECHO_N "(cached) $ECHO_C" >&6
19521 else
19522 cat >conftest.$ac_ext <<_ACEOF
19523 /* confdefs.h. */
19524 _ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 $ac_includes_default
19529 typedef int ac__type_new_;
19530 int
19531 main ()
19532 {
19533 if ((ac__type_new_ *) 0)
19534 return 0;
19535 if (sizeof (ac__type_new_))
19536 return 0;
19537 ;
19538 return 0;
19539 }
19540 _ACEOF
19541 rm -f conftest.$ac_objext
19542 if { (ac_try="$ac_compile"
19543 case "(($ac_try" in
19544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19545 *) ac_try_echo=$ac_try;;
19546 esac
19547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19548 (eval "$ac_compile") 2>conftest.er1
19549 ac_status=$?
19550 grep -v '^ *+' conftest.er1 >conftest.err
19551 rm -f conftest.er1
19552 cat conftest.err >&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } && {
19555 test -z "$ac_c_werror_flag" ||
19556 test ! -s conftest.err
19557 } && test -s conftest.$ac_objext; then
19558 ac_cv_type_int=yes
19559 else
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19562
19563 ac_cv_type_int=no
19564 fi
19565
19566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19567 fi
19568 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19569 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19570
19571 # The cast to long int works around a bug in the HP C Compiler
19572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19574 # This bug is HP SR number 8606223364.
19575 { echo "$as_me:$LINENO: checking size of int" >&5
19576 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19577 if test "${ac_cv_sizeof_int+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19579 else
19580 if test "$cross_compiling" = yes; then
19581 # Depending upon the size, compute the lo and hi bounds.
19582 cat >conftest.$ac_ext <<_ACEOF
19583 /* confdefs.h. */
19584 _ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19589 typedef int ac__type_sizeof_;
19590 int
19591 main ()
19592 {
19593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19594 test_array [0] = 0
19595
19596 ;
19597 return 0;
19598 }
19599 _ACEOF
19600 rm -f conftest.$ac_objext
19601 if { (ac_try="$ac_compile"
19602 case "(($ac_try" in
19603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19604 *) ac_try_echo=$ac_try;;
19605 esac
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_compile") 2>conftest.er1
19608 ac_status=$?
19609 grep -v '^ *+' conftest.er1 >conftest.err
19610 rm -f conftest.er1
19611 cat conftest.err >&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } && {
19614 test -z "$ac_c_werror_flag" ||
19615 test ! -s conftest.err
19616 } && test -s conftest.$ac_objext; then
19617 ac_lo=0 ac_mid=0
19618 while :; do
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19626 typedef int ac__type_sizeof_;
19627 int
19628 main ()
19629 {
19630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19631 test_array [0] = 0
19632
19633 ;
19634 return 0;
19635 }
19636 _ACEOF
19637 rm -f conftest.$ac_objext
19638 if { (ac_try="$ac_compile"
19639 case "(($ac_try" in
19640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19641 *) ac_try_echo=$ac_try;;
19642 esac
19643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19644 (eval "$ac_compile") 2>conftest.er1
19645 ac_status=$?
19646 grep -v '^ *+' conftest.er1 >conftest.err
19647 rm -f conftest.er1
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } && {
19651 test -z "$ac_c_werror_flag" ||
19652 test ! -s conftest.err
19653 } && test -s conftest.$ac_objext; then
19654 ac_hi=$ac_mid; break
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 ac_lo=`expr $ac_mid + 1`
19660 if test $ac_lo -le $ac_mid; then
19661 ac_lo= ac_hi=
19662 break
19663 fi
19664 ac_mid=`expr 2 '*' $ac_mid + 1`
19665 fi
19666
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19668 done
19669 else
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.$ac_ext >&5
19672
19673 cat >conftest.$ac_ext <<_ACEOF
19674 /* confdefs.h. */
19675 _ACEOF
19676 cat confdefs.h >>conftest.$ac_ext
19677 cat >>conftest.$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19679 $ac_includes_default
19680 typedef int ac__type_sizeof_;
19681 int
19682 main ()
19683 {
19684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19685 test_array [0] = 0
19686
19687 ;
19688 return 0;
19689 }
19690 _ACEOF
19691 rm -f conftest.$ac_objext
19692 if { (ac_try="$ac_compile"
19693 case "(($ac_try" in
19694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19695 *) ac_try_echo=$ac_try;;
19696 esac
19697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_compile") 2>conftest.er1
19699 ac_status=$?
19700 grep -v '^ *+' conftest.er1 >conftest.err
19701 rm -f conftest.er1
19702 cat conftest.err >&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } && {
19705 test -z "$ac_c_werror_flag" ||
19706 test ! -s conftest.err
19707 } && test -s conftest.$ac_objext; then
19708 ac_hi=-1 ac_mid=-1
19709 while :; do
19710 cat >conftest.$ac_ext <<_ACEOF
19711 /* confdefs.h. */
19712 _ACEOF
19713 cat confdefs.h >>conftest.$ac_ext
19714 cat >>conftest.$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19716 $ac_includes_default
19717 typedef int ac__type_sizeof_;
19718 int
19719 main ()
19720 {
19721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19722 test_array [0] = 0
19723
19724 ;
19725 return 0;
19726 }
19727 _ACEOF
19728 rm -f conftest.$ac_objext
19729 if { (ac_try="$ac_compile"
19730 case "(($ac_try" in
19731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19732 *) ac_try_echo=$ac_try;;
19733 esac
19734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19735 (eval "$ac_compile") 2>conftest.er1
19736 ac_status=$?
19737 grep -v '^ *+' conftest.er1 >conftest.err
19738 rm -f conftest.er1
19739 cat conftest.err >&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } && {
19742 test -z "$ac_c_werror_flag" ||
19743 test ! -s conftest.err
19744 } && test -s conftest.$ac_objext; then
19745 ac_lo=$ac_mid; break
19746 else
19747 echo "$as_me: failed program was:" >&5
19748 sed 's/^/| /' conftest.$ac_ext >&5
19749
19750 ac_hi=`expr '(' $ac_mid ')' - 1`
19751 if test $ac_mid -le $ac_hi; then
19752 ac_lo= ac_hi=
19753 break
19754 fi
19755 ac_mid=`expr 2 '*' $ac_mid`
19756 fi
19757
19758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19759 done
19760 else
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.$ac_ext >&5
19763
19764 ac_lo= ac_hi=
19765 fi
19766
19767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19768 fi
19769
19770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19771 # Binary search between lo and hi bounds.
19772 while test "x$ac_lo" != "x$ac_hi"; do
19773 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19774 cat >conftest.$ac_ext <<_ACEOF
19775 /* confdefs.h. */
19776 _ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19781 typedef int ac__type_sizeof_;
19782 int
19783 main ()
19784 {
19785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19786 test_array [0] = 0
19787
19788 ;
19789 return 0;
19790 }
19791 _ACEOF
19792 rm -f conftest.$ac_objext
19793 if { (ac_try="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19797 esac
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19800 ac_status=$?
19801 grep -v '^ *+' conftest.er1 >conftest.err
19802 rm -f conftest.er1
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } && {
19806 test -z "$ac_c_werror_flag" ||
19807 test ! -s conftest.err
19808 } && test -s conftest.$ac_objext; then
19809 ac_hi=$ac_mid
19810 else
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19813
19814 ac_lo=`expr '(' $ac_mid ')' + 1`
19815 fi
19816
19817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19818 done
19819 case $ac_lo in
19820 ?*) ac_cv_sizeof_int=$ac_lo;;
19821 '') if test "$ac_cv_type_int" = yes; then
19822 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19823 See \`config.log' for more details." >&5
19824 echo "$as_me: error: cannot compute sizeof (int)
19825 See \`config.log' for more details." >&2;}
19826 { (exit 77); exit 77; }; }
19827 else
19828 ac_cv_sizeof_int=0
19829 fi ;;
19830 esac
19831 else
19832 cat >conftest.$ac_ext <<_ACEOF
19833 /* confdefs.h. */
19834 _ACEOF
19835 cat confdefs.h >>conftest.$ac_ext
19836 cat >>conftest.$ac_ext <<_ACEOF
19837 /* end confdefs.h. */
19838 $ac_includes_default
19839 typedef int ac__type_sizeof_;
19840 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19841 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19842 #include <stdio.h>
19843 #include <stdlib.h>
19844 int
19845 main ()
19846 {
19847
19848 FILE *f = fopen ("conftest.val", "w");
19849 if (! f)
19850 return 1;
19851 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19852 {
19853 long int i = longval ();
19854 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19855 return 1;
19856 fprintf (f, "%ld\n", i);
19857 }
19858 else
19859 {
19860 unsigned long int i = ulongval ();
19861 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19862 return 1;
19863 fprintf (f, "%lu\n", i);
19864 }
19865 return ferror (f) || fclose (f) != 0;
19866
19867 ;
19868 return 0;
19869 }
19870 _ACEOF
19871 rm -f conftest$ac_exeext
19872 if { (ac_try="$ac_link"
19873 case "(($ac_try" in
19874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19875 *) ac_try_echo=$ac_try;;
19876 esac
19877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19878 (eval "$ac_link") 2>&5
19879 ac_status=$?
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19882 { (case "(($ac_try" in
19883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19884 *) ac_try_echo=$ac_try;;
19885 esac
19886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19887 (eval "$ac_try") 2>&5
19888 ac_status=$?
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19891 ac_cv_sizeof_int=`cat conftest.val`
19892 else
19893 echo "$as_me: program exited with status $ac_status" >&5
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19896
19897 ( exit $ac_status )
19898 if test "$ac_cv_type_int" = yes; then
19899 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19900 See \`config.log' for more details." >&5
19901 echo "$as_me: error: cannot compute sizeof (int)
19902 See \`config.log' for more details." >&2;}
19903 { (exit 77); exit 77; }; }
19904 else
19905 ac_cv_sizeof_int=0
19906 fi
19907 fi
19908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19909 fi
19910 rm -f conftest.val
19911 fi
19912 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19913 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19914
19915
19916
19917 cat >>confdefs.h <<_ACEOF
19918 #define SIZEOF_INT $ac_cv_sizeof_int
19919 _ACEOF
19920
19921
19922 { echo "$as_me:$LINENO: checking for long" >&5
19923 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19924 if test "${ac_cv_type_long+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19926 else
19927 cat >conftest.$ac_ext <<_ACEOF
19928 /* confdefs.h. */
19929 _ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 $ac_includes_default
19934 typedef long ac__type_new_;
19935 int
19936 main ()
19937 {
19938 if ((ac__type_new_ *) 0)
19939 return 0;
19940 if (sizeof (ac__type_new_))
19941 return 0;
19942 ;
19943 return 0;
19944 }
19945 _ACEOF
19946 rm -f conftest.$ac_objext
19947 if { (ac_try="$ac_compile"
19948 case "(($ac_try" in
19949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19950 *) ac_try_echo=$ac_try;;
19951 esac
19952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19953 (eval "$ac_compile") 2>conftest.er1
19954 ac_status=$?
19955 grep -v '^ *+' conftest.er1 >conftest.err
19956 rm -f conftest.er1
19957 cat conftest.err >&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } && {
19960 test -z "$ac_c_werror_flag" ||
19961 test ! -s conftest.err
19962 } && test -s conftest.$ac_objext; then
19963 ac_cv_type_long=yes
19964 else
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.$ac_ext >&5
19967
19968 ac_cv_type_long=no
19969 fi
19970
19971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19972 fi
19973 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19974 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19975
19976 # The cast to long int works around a bug in the HP C Compiler
19977 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19978 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19979 # This bug is HP SR number 8606223364.
19980 { echo "$as_me:$LINENO: checking size of long" >&5
19981 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19982 if test "${ac_cv_sizeof_long+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 else
19985 if test "$cross_compiling" = yes; then
19986 # Depending upon the size, compute the lo and hi bounds.
19987 cat >conftest.$ac_ext <<_ACEOF
19988 /* confdefs.h. */
19989 _ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 $ac_includes_default
19994 typedef long ac__type_sizeof_;
19995 int
19996 main ()
19997 {
19998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19999 test_array [0] = 0
20000
20001 ;
20002 return 0;
20003 }
20004 _ACEOF
20005 rm -f conftest.$ac_objext
20006 if { (ac_try="$ac_compile"
20007 case "(($ac_try" in
20008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20010 esac
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_compile") 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && {
20019 test -z "$ac_c_werror_flag" ||
20020 test ! -s conftest.err
20021 } && test -s conftest.$ac_objext; then
20022 ac_lo=0 ac_mid=0
20023 while :; do
20024 cat >conftest.$ac_ext <<_ACEOF
20025 /* confdefs.h. */
20026 _ACEOF
20027 cat confdefs.h >>conftest.$ac_ext
20028 cat >>conftest.$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20030 $ac_includes_default
20031 typedef long ac__type_sizeof_;
20032 int
20033 main ()
20034 {
20035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20036 test_array [0] = 0
20037
20038 ;
20039 return 0;
20040 }
20041 _ACEOF
20042 rm -f conftest.$ac_objext
20043 if { (ac_try="$ac_compile"
20044 case "(($ac_try" in
20045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20046 *) ac_try_echo=$ac_try;;
20047 esac
20048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20049 (eval "$ac_compile") 2>conftest.er1
20050 ac_status=$?
20051 grep -v '^ *+' conftest.er1 >conftest.err
20052 rm -f conftest.er1
20053 cat conftest.err >&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); } && {
20056 test -z "$ac_c_werror_flag" ||
20057 test ! -s conftest.err
20058 } && test -s conftest.$ac_objext; then
20059 ac_hi=$ac_mid; break
20060 else
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20063
20064 ac_lo=`expr $ac_mid + 1`
20065 if test $ac_lo -le $ac_mid; then
20066 ac_lo= ac_hi=
20067 break
20068 fi
20069 ac_mid=`expr 2 '*' $ac_mid + 1`
20070 fi
20071
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 done
20074 else
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.$ac_ext >&5
20077
20078 cat >conftest.$ac_ext <<_ACEOF
20079 /* confdefs.h. */
20080 _ACEOF
20081 cat confdefs.h >>conftest.$ac_ext
20082 cat >>conftest.$ac_ext <<_ACEOF
20083 /* end confdefs.h. */
20084 $ac_includes_default
20085 typedef long ac__type_sizeof_;
20086 int
20087 main ()
20088 {
20089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20090 test_array [0] = 0
20091
20092 ;
20093 return 0;
20094 }
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (ac_try="$ac_compile"
20098 case "(($ac_try" in
20099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20101 esac
20102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20103 (eval "$ac_compile") 2>conftest.er1
20104 ac_status=$?
20105 grep -v '^ *+' conftest.er1 >conftest.err
20106 rm -f conftest.er1
20107 cat conftest.err >&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } && {
20110 test -z "$ac_c_werror_flag" ||
20111 test ! -s conftest.err
20112 } && test -s conftest.$ac_objext; then
20113 ac_hi=-1 ac_mid=-1
20114 while :; do
20115 cat >conftest.$ac_ext <<_ACEOF
20116 /* confdefs.h. */
20117 _ACEOF
20118 cat confdefs.h >>conftest.$ac_ext
20119 cat >>conftest.$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20121 $ac_includes_default
20122 typedef long ac__type_sizeof_;
20123 int
20124 main ()
20125 {
20126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20127 test_array [0] = 0
20128
20129 ;
20130 return 0;
20131 }
20132 _ACEOF
20133 rm -f conftest.$ac_objext
20134 if { (ac_try="$ac_compile"
20135 case "(($ac_try" in
20136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20137 *) ac_try_echo=$ac_try;;
20138 esac
20139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20140 (eval "$ac_compile") 2>conftest.er1
20141 ac_status=$?
20142 grep -v '^ *+' conftest.er1 >conftest.err
20143 rm -f conftest.er1
20144 cat conftest.err >&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } && {
20147 test -z "$ac_c_werror_flag" ||
20148 test ! -s conftest.err
20149 } && test -s conftest.$ac_objext; then
20150 ac_lo=$ac_mid; break
20151 else
20152 echo "$as_me: failed program was:" >&5
20153 sed 's/^/| /' conftest.$ac_ext >&5
20154
20155 ac_hi=`expr '(' $ac_mid ')' - 1`
20156 if test $ac_mid -le $ac_hi; then
20157 ac_lo= ac_hi=
20158 break
20159 fi
20160 ac_mid=`expr 2 '*' $ac_mid`
20161 fi
20162
20163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20164 done
20165 else
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20168
20169 ac_lo= ac_hi=
20170 fi
20171
20172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20173 fi
20174
20175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20176 # Binary search between lo and hi bounds.
20177 while test "x$ac_lo" != "x$ac_hi"; do
20178 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20179 cat >conftest.$ac_ext <<_ACEOF
20180 /* confdefs.h. */
20181 _ACEOF
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 $ac_includes_default
20186 typedef long ac__type_sizeof_;
20187 int
20188 main ()
20189 {
20190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20191 test_array [0] = 0
20192
20193 ;
20194 return 0;
20195 }
20196 _ACEOF
20197 rm -f conftest.$ac_objext
20198 if { (ac_try="$ac_compile"
20199 case "(($ac_try" in
20200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20201 *) ac_try_echo=$ac_try;;
20202 esac
20203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20204 (eval "$ac_compile") 2>conftest.er1
20205 ac_status=$?
20206 grep -v '^ *+' conftest.er1 >conftest.err
20207 rm -f conftest.er1
20208 cat conftest.err >&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); } && {
20211 test -z "$ac_c_werror_flag" ||
20212 test ! -s conftest.err
20213 } && test -s conftest.$ac_objext; then
20214 ac_hi=$ac_mid
20215 else
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 ac_lo=`expr '(' $ac_mid ')' + 1`
20220 fi
20221
20222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223 done
20224 case $ac_lo in
20225 ?*) ac_cv_sizeof_long=$ac_lo;;
20226 '') if test "$ac_cv_type_long" = yes; then
20227 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20228 See \`config.log' for more details." >&5
20229 echo "$as_me: error: cannot compute sizeof (long)
20230 See \`config.log' for more details." >&2;}
20231 { (exit 77); exit 77; }; }
20232 else
20233 ac_cv_sizeof_long=0
20234 fi ;;
20235 esac
20236 else
20237 cat >conftest.$ac_ext <<_ACEOF
20238 /* confdefs.h. */
20239 _ACEOF
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 $ac_includes_default
20244 typedef long ac__type_sizeof_;
20245 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20246 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20247 #include <stdio.h>
20248 #include <stdlib.h>
20249 int
20250 main ()
20251 {
20252
20253 FILE *f = fopen ("conftest.val", "w");
20254 if (! f)
20255 return 1;
20256 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20257 {
20258 long int i = longval ();
20259 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20260 return 1;
20261 fprintf (f, "%ld\n", i);
20262 }
20263 else
20264 {
20265 unsigned long int i = ulongval ();
20266 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20267 return 1;
20268 fprintf (f, "%lu\n", i);
20269 }
20270 return ferror (f) || fclose (f) != 0;
20271
20272 ;
20273 return 0;
20274 }
20275 _ACEOF
20276 rm -f conftest$ac_exeext
20277 if { (ac_try="$ac_link"
20278 case "(($ac_try" in
20279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20281 esac
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_link") 2>&5
20284 ac_status=$?
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20287 { (case "(($ac_try" in
20288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20289 *) ac_try_echo=$ac_try;;
20290 esac
20291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20292 (eval "$ac_try") 2>&5
20293 ac_status=$?
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; }; then
20296 ac_cv_sizeof_long=`cat conftest.val`
20297 else
20298 echo "$as_me: program exited with status $ac_status" >&5
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
20301
20302 ( exit $ac_status )
20303 if test "$ac_cv_type_long" = yes; then
20304 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20305 See \`config.log' for more details." >&5
20306 echo "$as_me: error: cannot compute sizeof (long)
20307 See \`config.log' for more details." >&2;}
20308 { (exit 77); exit 77; }; }
20309 else
20310 ac_cv_sizeof_long=0
20311 fi
20312 fi
20313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20314 fi
20315 rm -f conftest.val
20316 fi
20317 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20318 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20319
20320
20321
20322 cat >>confdefs.h <<_ACEOF
20323 #define SIZEOF_LONG $ac_cv_sizeof_long
20324 _ACEOF
20325
20326
20327 { echo "$as_me:$LINENO: checking for size_t" >&5
20328 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20329 if test "${ac_cv_type_size_t+set}" = set; then
20330 echo $ECHO_N "(cached) $ECHO_C" >&6
20331 else
20332 cat >conftest.$ac_ext <<_ACEOF
20333 /* confdefs.h. */
20334 _ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20339 typedef size_t ac__type_new_;
20340 int
20341 main ()
20342 {
20343 if ((ac__type_new_ *) 0)
20344 return 0;
20345 if (sizeof (ac__type_new_))
20346 return 0;
20347 ;
20348 return 0;
20349 }
20350 _ACEOF
20351 rm -f conftest.$ac_objext
20352 if { (ac_try="$ac_compile"
20353 case "(($ac_try" in
20354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20355 *) ac_try_echo=$ac_try;;
20356 esac
20357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20358 (eval "$ac_compile") 2>conftest.er1
20359 ac_status=$?
20360 grep -v '^ *+' conftest.er1 >conftest.err
20361 rm -f conftest.er1
20362 cat conftest.err >&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && {
20365 test -z "$ac_c_werror_flag" ||
20366 test ! -s conftest.err
20367 } && test -s conftest.$ac_objext; then
20368 ac_cv_type_size_t=yes
20369 else
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20372
20373 ac_cv_type_size_t=no
20374 fi
20375
20376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20377 fi
20378 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20379 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20380
20381 # The cast to long int works around a bug in the HP C Compiler
20382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20384 # This bug is HP SR number 8606223364.
20385 { echo "$as_me:$LINENO: checking size of size_t" >&5
20386 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20387 if test "${ac_cv_sizeof_size_t+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20389 else
20390 if test "$cross_compiling" = yes; then
20391 # Depending upon the size, compute the lo and hi bounds.
20392 cat >conftest.$ac_ext <<_ACEOF
20393 /* confdefs.h. */
20394 _ACEOF
20395 cat confdefs.h >>conftest.$ac_ext
20396 cat >>conftest.$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20399 typedef size_t ac__type_sizeof_;
20400 int
20401 main ()
20402 {
20403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20404 test_array [0] = 0
20405
20406 ;
20407 return 0;
20408 }
20409 _ACEOF
20410 rm -f conftest.$ac_objext
20411 if { (ac_try="$ac_compile"
20412 case "(($ac_try" in
20413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20415 esac
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_compile") 2>conftest.er1
20418 ac_status=$?
20419 grep -v '^ *+' conftest.er1 >conftest.err
20420 rm -f conftest.er1
20421 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } && {
20424 test -z "$ac_c_werror_flag" ||
20425 test ! -s conftest.err
20426 } && test -s conftest.$ac_objext; then
20427 ac_lo=0 ac_mid=0
20428 while :; do
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h. */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 $ac_includes_default
20436 typedef size_t ac__type_sizeof_;
20437 int
20438 main ()
20439 {
20440 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20441 test_array [0] = 0
20442
20443 ;
20444 return 0;
20445 }
20446 _ACEOF
20447 rm -f conftest.$ac_objext
20448 if { (ac_try="$ac_compile"
20449 case "(($ac_try" in
20450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20452 esac
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_compile") 2>conftest.er1
20455 ac_status=$?
20456 grep -v '^ *+' conftest.er1 >conftest.err
20457 rm -f conftest.er1
20458 cat conftest.err >&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } && {
20461 test -z "$ac_c_werror_flag" ||
20462 test ! -s conftest.err
20463 } && test -s conftest.$ac_objext; then
20464 ac_hi=$ac_mid; break
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20468
20469 ac_lo=`expr $ac_mid + 1`
20470 if test $ac_lo -le $ac_mid; then
20471 ac_lo= ac_hi=
20472 break
20473 fi
20474 ac_mid=`expr 2 '*' $ac_mid + 1`
20475 fi
20476
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20478 done
20479 else
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.$ac_ext >&5
20482
20483 cat >conftest.$ac_ext <<_ACEOF
20484 /* confdefs.h. */
20485 _ACEOF
20486 cat confdefs.h >>conftest.$ac_ext
20487 cat >>conftest.$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 $ac_includes_default
20490 typedef size_t ac__type_sizeof_;
20491 int
20492 main ()
20493 {
20494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20495 test_array [0] = 0
20496
20497 ;
20498 return 0;
20499 }
20500 _ACEOF
20501 rm -f conftest.$ac_objext
20502 if { (ac_try="$ac_compile"
20503 case "(($ac_try" in
20504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20506 esac
20507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20508 (eval "$ac_compile") 2>conftest.er1
20509 ac_status=$?
20510 grep -v '^ *+' conftest.er1 >conftest.err
20511 rm -f conftest.er1
20512 cat conftest.err >&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); } && {
20515 test -z "$ac_c_werror_flag" ||
20516 test ! -s conftest.err
20517 } && test -s conftest.$ac_objext; then
20518 ac_hi=-1 ac_mid=-1
20519 while :; do
20520 cat >conftest.$ac_ext <<_ACEOF
20521 /* confdefs.h. */
20522 _ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 $ac_includes_default
20527 typedef size_t ac__type_sizeof_;
20528 int
20529 main ()
20530 {
20531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20532 test_array [0] = 0
20533
20534 ;
20535 return 0;
20536 }
20537 _ACEOF
20538 rm -f conftest.$ac_objext
20539 if { (ac_try="$ac_compile"
20540 case "(($ac_try" in
20541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20542 *) ac_try_echo=$ac_try;;
20543 esac
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_compile") 2>conftest.er1
20546 ac_status=$?
20547 grep -v '^ *+' conftest.er1 >conftest.err
20548 rm -f conftest.er1
20549 cat conftest.err >&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && {
20552 test -z "$ac_c_werror_flag" ||
20553 test ! -s conftest.err
20554 } && test -s conftest.$ac_objext; then
20555 ac_lo=$ac_mid; break
20556 else
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20559
20560 ac_hi=`expr '(' $ac_mid ')' - 1`
20561 if test $ac_mid -le $ac_hi; then
20562 ac_lo= ac_hi=
20563 break
20564 fi
20565 ac_mid=`expr 2 '*' $ac_mid`
20566 fi
20567
20568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20569 done
20570 else
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.$ac_ext >&5
20573
20574 ac_lo= ac_hi=
20575 fi
20576
20577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20578 fi
20579
20580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20581 # Binary search between lo and hi bounds.
20582 while test "x$ac_lo" != "x$ac_hi"; do
20583 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20584 cat >conftest.$ac_ext <<_ACEOF
20585 /* confdefs.h. */
20586 _ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 $ac_includes_default
20591 typedef size_t ac__type_sizeof_;
20592 int
20593 main ()
20594 {
20595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20596 test_array [0] = 0
20597
20598 ;
20599 return 0;
20600 }
20601 _ACEOF
20602 rm -f conftest.$ac_objext
20603 if { (ac_try="$ac_compile"
20604 case "(($ac_try" in
20605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20607 esac
20608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_compile") 2>conftest.er1
20610 ac_status=$?
20611 grep -v '^ *+' conftest.er1 >conftest.err
20612 rm -f conftest.er1
20613 cat conftest.err >&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); } && {
20616 test -z "$ac_c_werror_flag" ||
20617 test ! -s conftest.err
20618 } && test -s conftest.$ac_objext; then
20619 ac_hi=$ac_mid
20620 else
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20623
20624 ac_lo=`expr '(' $ac_mid ')' + 1`
20625 fi
20626
20627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20628 done
20629 case $ac_lo in
20630 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20631 '') if test "$ac_cv_type_size_t" = yes; then
20632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20633 See \`config.log' for more details." >&5
20634 echo "$as_me: error: cannot compute sizeof (size_t)
20635 See \`config.log' for more details." >&2;}
20636 { (exit 77); exit 77; }; }
20637 else
20638 ac_cv_sizeof_size_t=0
20639 fi ;;
20640 esac
20641 else
20642 cat >conftest.$ac_ext <<_ACEOF
20643 /* confdefs.h. */
20644 _ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20649 typedef size_t ac__type_sizeof_;
20650 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20651 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20652 #include <stdio.h>
20653 #include <stdlib.h>
20654 int
20655 main ()
20656 {
20657
20658 FILE *f = fopen ("conftest.val", "w");
20659 if (! f)
20660 return 1;
20661 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20662 {
20663 long int i = longval ();
20664 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20665 return 1;
20666 fprintf (f, "%ld\n", i);
20667 }
20668 else
20669 {
20670 unsigned long int i = ulongval ();
20671 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20672 return 1;
20673 fprintf (f, "%lu\n", i);
20674 }
20675 return ferror (f) || fclose (f) != 0;
20676
20677 ;
20678 return 0;
20679 }
20680 _ACEOF
20681 rm -f conftest$ac_exeext
20682 if { (ac_try="$ac_link"
20683 case "(($ac_try" in
20684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20685 *) ac_try_echo=$ac_try;;
20686 esac
20687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20688 (eval "$ac_link") 2>&5
20689 ac_status=$?
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20692 { (case "(($ac_try" in
20693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20695 esac
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_try") 2>&5
20698 ac_status=$?
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 ac_cv_sizeof_size_t=`cat conftest.val`
20702 else
20703 echo "$as_me: program exited with status $ac_status" >&5
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20706
20707 ( exit $ac_status )
20708 if test "$ac_cv_type_size_t" = yes; then
20709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20710 See \`config.log' for more details." >&5
20711 echo "$as_me: error: cannot compute sizeof (size_t)
20712 See \`config.log' for more details." >&2;}
20713 { (exit 77); exit 77; }; }
20714 else
20715 ac_cv_sizeof_size_t=0
20716 fi
20717 fi
20718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20719 fi
20720 rm -f conftest.val
20721 fi
20722 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20723 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20724
20725
20726
20727 cat >>confdefs.h <<_ACEOF
20728 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20729 _ACEOF
20730
20731
20732
20733 case "${host}" in
20734 arm-*-linux* )
20735 { echo "$as_me:$LINENO: checking for long long" >&5
20736 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20737 if test "${ac_cv_type_long_long+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 else
20740 cat >conftest.$ac_ext <<_ACEOF
20741 /* confdefs.h. */
20742 _ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 $ac_includes_default
20747 typedef long long ac__type_new_;
20748 int
20749 main ()
20750 {
20751 if ((ac__type_new_ *) 0)
20752 return 0;
20753 if (sizeof (ac__type_new_))
20754 return 0;
20755 ;
20756 return 0;
20757 }
20758 _ACEOF
20759 rm -f conftest.$ac_objext
20760 if { (ac_try="$ac_compile"
20761 case "(($ac_try" in
20762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20763 *) ac_try_echo=$ac_try;;
20764 esac
20765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20766 (eval "$ac_compile") 2>conftest.er1
20767 ac_status=$?
20768 grep -v '^ *+' conftest.er1 >conftest.err
20769 rm -f conftest.er1
20770 cat conftest.err >&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } && {
20773 test -z "$ac_c_werror_flag" ||
20774 test ! -s conftest.err
20775 } && test -s conftest.$ac_objext; then
20776 ac_cv_type_long_long=yes
20777 else
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.$ac_ext >&5
20780
20781 ac_cv_type_long_long=no
20782 fi
20783
20784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20785 fi
20786 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20787 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20788
20789 # The cast to long int works around a bug in the HP C Compiler
20790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20792 # This bug is HP SR number 8606223364.
20793 { echo "$as_me:$LINENO: checking size of long long" >&5
20794 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20795 if test "${ac_cv_sizeof_long_long+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 else
20798 if test "$cross_compiling" = yes; then
20799 # Depending upon the size, compute the lo and hi bounds.
20800 cat >conftest.$ac_ext <<_ACEOF
20801 /* confdefs.h. */
20802 _ACEOF
20803 cat confdefs.h >>conftest.$ac_ext
20804 cat >>conftest.$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 $ac_includes_default
20807 typedef long long ac__type_sizeof_;
20808 int
20809 main ()
20810 {
20811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20812 test_array [0] = 0
20813
20814 ;
20815 return 0;
20816 }
20817 _ACEOF
20818 rm -f conftest.$ac_objext
20819 if { (ac_try="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20823 esac
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20826 ac_status=$?
20827 grep -v '^ *+' conftest.er1 >conftest.err
20828 rm -f conftest.er1
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20835 ac_lo=0 ac_mid=0
20836 while :; do
20837 cat >conftest.$ac_ext <<_ACEOF
20838 /* confdefs.h. */
20839 _ACEOF
20840 cat confdefs.h >>conftest.$ac_ext
20841 cat >>conftest.$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843 $ac_includes_default
20844 typedef long long ac__type_sizeof_;
20845 int
20846 main ()
20847 {
20848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20849 test_array [0] = 0
20850
20851 ;
20852 return 0;
20853 }
20854 _ACEOF
20855 rm -f conftest.$ac_objext
20856 if { (ac_try="$ac_compile"
20857 case "(($ac_try" in
20858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20859 *) ac_try_echo=$ac_try;;
20860 esac
20861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20862 (eval "$ac_compile") 2>conftest.er1
20863 ac_status=$?
20864 grep -v '^ *+' conftest.er1 >conftest.err
20865 rm -f conftest.er1
20866 cat conftest.err >&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); } && {
20869 test -z "$ac_c_werror_flag" ||
20870 test ! -s conftest.err
20871 } && test -s conftest.$ac_objext; then
20872 ac_hi=$ac_mid; break
20873 else
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.$ac_ext >&5
20876
20877 ac_lo=`expr $ac_mid + 1`
20878 if test $ac_lo -le $ac_mid; then
20879 ac_lo= ac_hi=
20880 break
20881 fi
20882 ac_mid=`expr 2 '*' $ac_mid + 1`
20883 fi
20884
20885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20886 done
20887 else
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20890
20891 cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h. */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef long long ac__type_sizeof_;
20899 int
20900 main ()
20901 {
20902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20903 test_array [0] = 0
20904
20905 ;
20906 return 0;
20907 }
20908 _ACEOF
20909 rm -f conftest.$ac_objext
20910 if { (ac_try="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20914 esac
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20917 ac_status=$?
20918 grep -v '^ *+' conftest.er1 >conftest.err
20919 rm -f conftest.er1
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20926 ac_hi=-1 ac_mid=-1
20927 while :; do
20928 cat >conftest.$ac_ext <<_ACEOF
20929 /* confdefs.h. */
20930 _ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20935 typedef long long ac__type_sizeof_;
20936 int
20937 main ()
20938 {
20939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20940 test_array [0] = 0
20941
20942 ;
20943 return 0;
20944 }
20945 _ACEOF
20946 rm -f conftest.$ac_objext
20947 if { (ac_try="$ac_compile"
20948 case "(($ac_try" in
20949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20950 *) ac_try_echo=$ac_try;;
20951 esac
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_compile") 2>conftest.er1
20954 ac_status=$?
20955 grep -v '^ *+' conftest.er1 >conftest.err
20956 rm -f conftest.er1
20957 cat conftest.err >&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && {
20960 test -z "$ac_c_werror_flag" ||
20961 test ! -s conftest.err
20962 } && test -s conftest.$ac_objext; then
20963 ac_lo=$ac_mid; break
20964 else
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20967
20968 ac_hi=`expr '(' $ac_mid ')' - 1`
20969 if test $ac_mid -le $ac_hi; then
20970 ac_lo= ac_hi=
20971 break
20972 fi
20973 ac_mid=`expr 2 '*' $ac_mid`
20974 fi
20975
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977 done
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20981
20982 ac_lo= ac_hi=
20983 fi
20984
20985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20986 fi
20987
20988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20989 # Binary search between lo and hi bounds.
20990 while test "x$ac_lo" != "x$ac_hi"; do
20991 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20992 cat >conftest.$ac_ext <<_ACEOF
20993 /* confdefs.h. */
20994 _ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998 $ac_includes_default
20999 typedef long long ac__type_sizeof_;
21000 int
21001 main ()
21002 {
21003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21004 test_array [0] = 0
21005
21006 ;
21007 return 0;
21008 }
21009 _ACEOF
21010 rm -f conftest.$ac_objext
21011 if { (ac_try="$ac_compile"
21012 case "(($ac_try" in
21013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21015 esac
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_compile") 2>conftest.er1
21018 ac_status=$?
21019 grep -v '^ *+' conftest.er1 >conftest.err
21020 rm -f conftest.er1
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && {
21024 test -z "$ac_c_werror_flag" ||
21025 test ! -s conftest.err
21026 } && test -s conftest.$ac_objext; then
21027 ac_hi=$ac_mid
21028 else
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21031
21032 ac_lo=`expr '(' $ac_mid ')' + 1`
21033 fi
21034
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21036 done
21037 case $ac_lo in
21038 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21039 '') if test "$ac_cv_type_long_long" = yes; then
21040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21041 See \`config.log' for more details." >&5
21042 echo "$as_me: error: cannot compute sizeof (long long)
21043 See \`config.log' for more details." >&2;}
21044 { (exit 77); exit 77; }; }
21045 else
21046 ac_cv_sizeof_long_long=0
21047 fi ;;
21048 esac
21049 else
21050 cat >conftest.$ac_ext <<_ACEOF
21051 /* confdefs.h. */
21052 _ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 $ac_includes_default
21057 typedef long long ac__type_sizeof_;
21058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21060 #include <stdio.h>
21061 #include <stdlib.h>
21062 int
21063 main ()
21064 {
21065
21066 FILE *f = fopen ("conftest.val", "w");
21067 if (! f)
21068 return 1;
21069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21070 {
21071 long int i = longval ();
21072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21073 return 1;
21074 fprintf (f, "%ld\n", i);
21075 }
21076 else
21077 {
21078 unsigned long int i = ulongval ();
21079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21080 return 1;
21081 fprintf (f, "%lu\n", i);
21082 }
21083 return ferror (f) || fclose (f) != 0;
21084
21085 ;
21086 return 0;
21087 }
21088 _ACEOF
21089 rm -f conftest$ac_exeext
21090 if { (ac_try="$ac_link"
21091 case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21094 esac
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_link") 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21100 { (case "(($ac_try" in
21101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21102 *) ac_try_echo=$ac_try;;
21103 esac
21104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21105 (eval "$ac_try") 2>&5
21106 ac_status=$?
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); }; }; then
21109 ac_cv_sizeof_long_long=`cat conftest.val`
21110 else
21111 echo "$as_me: program exited with status $ac_status" >&5
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21114
21115 ( exit $ac_status )
21116 if test "$ac_cv_type_long_long" = yes; then
21117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21118 See \`config.log' for more details." >&5
21119 echo "$as_me: error: cannot compute sizeof (long long)
21120 See \`config.log' for more details." >&2;}
21121 { (exit 77); exit 77; }; }
21122 else
21123 ac_cv_sizeof_long_long=0
21124 fi
21125 fi
21126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21127 fi
21128 rm -f conftest.val
21129 fi
21130 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21131 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21132
21133
21134
21135 cat >>confdefs.h <<_ACEOF
21136 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21137 _ACEOF
21138
21139
21140 ;;
21141 *-hp-hpux* )
21142 { echo "$as_me:$LINENO: checking for long long" >&5
21143 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21144 if test "${ac_cv_type_long_long+set}" = set; then
21145 echo $ECHO_N "(cached) $ECHO_C" >&6
21146 else
21147 cat >conftest.$ac_ext <<_ACEOF
21148 /* confdefs.h. */
21149 _ACEOF
21150 cat confdefs.h >>conftest.$ac_ext
21151 cat >>conftest.$ac_ext <<_ACEOF
21152 /* end confdefs.h. */
21153 $ac_includes_default
21154 typedef long long ac__type_new_;
21155 int
21156 main ()
21157 {
21158 if ((ac__type_new_ *) 0)
21159 return 0;
21160 if (sizeof (ac__type_new_))
21161 return 0;
21162 ;
21163 return 0;
21164 }
21165 _ACEOF
21166 rm -f conftest.$ac_objext
21167 if { (ac_try="$ac_compile"
21168 case "(($ac_try" in
21169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21171 esac
21172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_compile") 2>conftest.er1
21174 ac_status=$?
21175 grep -v '^ *+' conftest.er1 >conftest.err
21176 rm -f conftest.er1
21177 cat conftest.err >&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } && {
21180 test -z "$ac_c_werror_flag" ||
21181 test ! -s conftest.err
21182 } && test -s conftest.$ac_objext; then
21183 ac_cv_type_long_long=yes
21184 else
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.$ac_ext >&5
21187
21188 ac_cv_type_long_long=no
21189 fi
21190
21191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21192 fi
21193 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21194 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21195
21196 # The cast to long int works around a bug in the HP C Compiler
21197 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21198 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21199 # This bug is HP SR number 8606223364.
21200 { echo "$as_me:$LINENO: checking size of long long" >&5
21201 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21202 if test "${ac_cv_sizeof_long_long+set}" = set; then
21203 echo $ECHO_N "(cached) $ECHO_C" >&6
21204 else
21205 if test "$cross_compiling" = yes; then
21206 # Depending upon the size, compute the lo and hi bounds.
21207 cat >conftest.$ac_ext <<_ACEOF
21208 /* confdefs.h. */
21209 _ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213 $ac_includes_default
21214 typedef long long ac__type_sizeof_;
21215 int
21216 main ()
21217 {
21218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21219 test_array [0] = 0
21220
21221 ;
21222 return 0;
21223 }
21224 _ACEOF
21225 rm -f conftest.$ac_objext
21226 if { (ac_try="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21230 esac
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21233 ac_status=$?
21234 grep -v '^ *+' conftest.er1 >conftest.err
21235 rm -f conftest.er1
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21242 ac_lo=0 ac_mid=0
21243 while :; do
21244 cat >conftest.$ac_ext <<_ACEOF
21245 /* confdefs.h. */
21246 _ACEOF
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21250 $ac_includes_default
21251 typedef long long ac__type_sizeof_;
21252 int
21253 main ()
21254 {
21255 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21256 test_array [0] = 0
21257
21258 ;
21259 return 0;
21260 }
21261 _ACEOF
21262 rm -f conftest.$ac_objext
21263 if { (ac_try="$ac_compile"
21264 case "(($ac_try" in
21265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21266 *) ac_try_echo=$ac_try;;
21267 esac
21268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21269 (eval "$ac_compile") 2>conftest.er1
21270 ac_status=$?
21271 grep -v '^ *+' conftest.er1 >conftest.err
21272 rm -f conftest.er1
21273 cat conftest.err >&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); } && {
21276 test -z "$ac_c_werror_flag" ||
21277 test ! -s conftest.err
21278 } && test -s conftest.$ac_objext; then
21279 ac_hi=$ac_mid; break
21280 else
21281 echo "$as_me: failed program was:" >&5
21282 sed 's/^/| /' conftest.$ac_ext >&5
21283
21284 ac_lo=`expr $ac_mid + 1`
21285 if test $ac_lo -le $ac_mid; then
21286 ac_lo= ac_hi=
21287 break
21288 fi
21289 ac_mid=`expr 2 '*' $ac_mid + 1`
21290 fi
21291
21292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21293 done
21294 else
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.$ac_ext >&5
21297
21298 cat >conftest.$ac_ext <<_ACEOF
21299 /* confdefs.h. */
21300 _ACEOF
21301 cat confdefs.h >>conftest.$ac_ext
21302 cat >>conftest.$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21304 $ac_includes_default
21305 typedef long long ac__type_sizeof_;
21306 int
21307 main ()
21308 {
21309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21310 test_array [0] = 0
21311
21312 ;
21313 return 0;
21314 }
21315 _ACEOF
21316 rm -f conftest.$ac_objext
21317 if { (ac_try="$ac_compile"
21318 case "(($ac_try" in
21319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21320 *) ac_try_echo=$ac_try;;
21321 esac
21322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21323 (eval "$ac_compile") 2>conftest.er1
21324 ac_status=$?
21325 grep -v '^ *+' conftest.er1 >conftest.err
21326 rm -f conftest.er1
21327 cat conftest.err >&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } && {
21330 test -z "$ac_c_werror_flag" ||
21331 test ! -s conftest.err
21332 } && test -s conftest.$ac_objext; then
21333 ac_hi=-1 ac_mid=-1
21334 while :; do
21335 cat >conftest.$ac_ext <<_ACEOF
21336 /* confdefs.h. */
21337 _ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 $ac_includes_default
21342 typedef long long ac__type_sizeof_;
21343 int
21344 main ()
21345 {
21346 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21347 test_array [0] = 0
21348
21349 ;
21350 return 0;
21351 }
21352 _ACEOF
21353 rm -f conftest.$ac_objext
21354 if { (ac_try="$ac_compile"
21355 case "(($ac_try" in
21356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21357 *) ac_try_echo=$ac_try;;
21358 esac
21359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21360 (eval "$ac_compile") 2>conftest.er1
21361 ac_status=$?
21362 grep -v '^ *+' conftest.er1 >conftest.err
21363 rm -f conftest.er1
21364 cat conftest.err >&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } && {
21367 test -z "$ac_c_werror_flag" ||
21368 test ! -s conftest.err
21369 } && test -s conftest.$ac_objext; then
21370 ac_lo=$ac_mid; break
21371 else
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21374
21375 ac_hi=`expr '(' $ac_mid ')' - 1`
21376 if test $ac_mid -le $ac_hi; then
21377 ac_lo= ac_hi=
21378 break
21379 fi
21380 ac_mid=`expr 2 '*' $ac_mid`
21381 fi
21382
21383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21384 done
21385 else
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.$ac_ext >&5
21388
21389 ac_lo= ac_hi=
21390 fi
21391
21392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21393 fi
21394
21395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21396 # Binary search between lo and hi bounds.
21397 while test "x$ac_lo" != "x$ac_hi"; do
21398 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21399 cat >conftest.$ac_ext <<_ACEOF
21400 /* confdefs.h. */
21401 _ACEOF
21402 cat confdefs.h >>conftest.$ac_ext
21403 cat >>conftest.$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405 $ac_includes_default
21406 typedef long long ac__type_sizeof_;
21407 int
21408 main ()
21409 {
21410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21411 test_array [0] = 0
21412
21413 ;
21414 return 0;
21415 }
21416 _ACEOF
21417 rm -f conftest.$ac_objext
21418 if { (ac_try="$ac_compile"
21419 case "(($ac_try" in
21420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21421 *) ac_try_echo=$ac_try;;
21422 esac
21423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21424 (eval "$ac_compile") 2>conftest.er1
21425 ac_status=$?
21426 grep -v '^ *+' conftest.er1 >conftest.err
21427 rm -f conftest.er1
21428 cat conftest.err >&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); } && {
21431 test -z "$ac_c_werror_flag" ||
21432 test ! -s conftest.err
21433 } && test -s conftest.$ac_objext; then
21434 ac_hi=$ac_mid
21435 else
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21438
21439 ac_lo=`expr '(' $ac_mid ')' + 1`
21440 fi
21441
21442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21443 done
21444 case $ac_lo in
21445 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21446 '') if test "$ac_cv_type_long_long" = yes; then
21447 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21448 See \`config.log' for more details." >&5
21449 echo "$as_me: error: cannot compute sizeof (long long)
21450 See \`config.log' for more details." >&2;}
21451 { (exit 77); exit 77; }; }
21452 else
21453 ac_cv_sizeof_long_long=0
21454 fi ;;
21455 esac
21456 else
21457 cat >conftest.$ac_ext <<_ACEOF
21458 /* confdefs.h. */
21459 _ACEOF
21460 cat confdefs.h >>conftest.$ac_ext
21461 cat >>conftest.$ac_ext <<_ACEOF
21462 /* end confdefs.h. */
21463 $ac_includes_default
21464 typedef long long ac__type_sizeof_;
21465 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21466 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21467 #include <stdio.h>
21468 #include <stdlib.h>
21469 int
21470 main ()
21471 {
21472
21473 FILE *f = fopen ("conftest.val", "w");
21474 if (! f)
21475 return 1;
21476 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21477 {
21478 long int i = longval ();
21479 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21480 return 1;
21481 fprintf (f, "%ld\n", i);
21482 }
21483 else
21484 {
21485 unsigned long int i = ulongval ();
21486 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21487 return 1;
21488 fprintf (f, "%lu\n", i);
21489 }
21490 return ferror (f) || fclose (f) != 0;
21491
21492 ;
21493 return 0;
21494 }
21495 _ACEOF
21496 rm -f conftest$ac_exeext
21497 if { (ac_try="$ac_link"
21498 case "(($ac_try" in
21499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21500 *) ac_try_echo=$ac_try;;
21501 esac
21502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21503 (eval "$ac_link") 2>&5
21504 ac_status=$?
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21507 { (case "(($ac_try" in
21508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21509 *) ac_try_echo=$ac_try;;
21510 esac
21511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21512 (eval "$ac_try") 2>&5
21513 ac_status=$?
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; }; then
21516 ac_cv_sizeof_long_long=`cat conftest.val`
21517 else
21518 echo "$as_me: program exited with status $ac_status" >&5
21519 echo "$as_me: failed program was:" >&5
21520 sed 's/^/| /' conftest.$ac_ext >&5
21521
21522 ( exit $ac_status )
21523 if test "$ac_cv_type_long_long" = yes; then
21524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21525 See \`config.log' for more details." >&5
21526 echo "$as_me: error: cannot compute sizeof (long long)
21527 See \`config.log' for more details." >&2;}
21528 { (exit 77); exit 77; }; }
21529 else
21530 ac_cv_sizeof_long_long=0
21531 fi
21532 fi
21533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21534 fi
21535 rm -f conftest.val
21536 fi
21537 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21538 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21539
21540
21541
21542 cat >>confdefs.h <<_ACEOF
21543 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21544 _ACEOF
21545
21546
21547 if test "$ac_cv_sizeof_long_long" != "0"; then
21548 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21549 fi
21550 ;;
21551 * )
21552 { echo "$as_me:$LINENO: checking for long long" >&5
21553 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21554 if test "${ac_cv_type_long_long+set}" = set; then
21555 echo $ECHO_N "(cached) $ECHO_C" >&6
21556 else
21557 cat >conftest.$ac_ext <<_ACEOF
21558 /* confdefs.h. */
21559 _ACEOF
21560 cat confdefs.h >>conftest.$ac_ext
21561 cat >>conftest.$ac_ext <<_ACEOF
21562 /* end confdefs.h. */
21563 $ac_includes_default
21564 typedef long long ac__type_new_;
21565 int
21566 main ()
21567 {
21568 if ((ac__type_new_ *) 0)
21569 return 0;
21570 if (sizeof (ac__type_new_))
21571 return 0;
21572 ;
21573 return 0;
21574 }
21575 _ACEOF
21576 rm -f conftest.$ac_objext
21577 if { (ac_try="$ac_compile"
21578 case "(($ac_try" in
21579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21580 *) ac_try_echo=$ac_try;;
21581 esac
21582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21583 (eval "$ac_compile") 2>conftest.er1
21584 ac_status=$?
21585 grep -v '^ *+' conftest.er1 >conftest.err
21586 rm -f conftest.er1
21587 cat conftest.err >&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } && {
21590 test -z "$ac_c_werror_flag" ||
21591 test ! -s conftest.err
21592 } && test -s conftest.$ac_objext; then
21593 ac_cv_type_long_long=yes
21594 else
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21597
21598 ac_cv_type_long_long=no
21599 fi
21600
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 fi
21603 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21604 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21605
21606 # The cast to long int works around a bug in the HP C Compiler
21607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21609 # This bug is HP SR number 8606223364.
21610 { echo "$as_me:$LINENO: checking size of long long" >&5
21611 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21612 if test "${ac_cv_sizeof_long_long+set}" = set; then
21613 echo $ECHO_N "(cached) $ECHO_C" >&6
21614 else
21615 if test "$cross_compiling" = yes; then
21616 # Depending upon the size, compute the lo and hi bounds.
21617 cat >conftest.$ac_ext <<_ACEOF
21618 /* confdefs.h. */
21619 _ACEOF
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 $ac_includes_default
21624 typedef long long ac__type_sizeof_;
21625 int
21626 main ()
21627 {
21628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21629 test_array [0] = 0
21630
21631 ;
21632 return 0;
21633 }
21634 _ACEOF
21635 rm -f conftest.$ac_objext
21636 if { (ac_try="$ac_compile"
21637 case "(($ac_try" in
21638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21639 *) ac_try_echo=$ac_try;;
21640 esac
21641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21642 (eval "$ac_compile") 2>conftest.er1
21643 ac_status=$?
21644 grep -v '^ *+' conftest.er1 >conftest.err
21645 rm -f conftest.er1
21646 cat conftest.err >&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } && {
21649 test -z "$ac_c_werror_flag" ||
21650 test ! -s conftest.err
21651 } && test -s conftest.$ac_objext; then
21652 ac_lo=0 ac_mid=0
21653 while :; do
21654 cat >conftest.$ac_ext <<_ACEOF
21655 /* confdefs.h. */
21656 _ACEOF
21657 cat confdefs.h >>conftest.$ac_ext
21658 cat >>conftest.$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 $ac_includes_default
21661 typedef long long ac__type_sizeof_;
21662 int
21663 main ()
21664 {
21665 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21666 test_array [0] = 0
21667
21668 ;
21669 return 0;
21670 }
21671 _ACEOF
21672 rm -f conftest.$ac_objext
21673 if { (ac_try="$ac_compile"
21674 case "(($ac_try" in
21675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21676 *) ac_try_echo=$ac_try;;
21677 esac
21678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21679 (eval "$ac_compile") 2>conftest.er1
21680 ac_status=$?
21681 grep -v '^ *+' conftest.er1 >conftest.err
21682 rm -f conftest.er1
21683 cat conftest.err >&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } && {
21686 test -z "$ac_c_werror_flag" ||
21687 test ! -s conftest.err
21688 } && test -s conftest.$ac_objext; then
21689 ac_hi=$ac_mid; break
21690 else
21691 echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.$ac_ext >&5
21693
21694 ac_lo=`expr $ac_mid + 1`
21695 if test $ac_lo -le $ac_mid; then
21696 ac_lo= ac_hi=
21697 break
21698 fi
21699 ac_mid=`expr 2 '*' $ac_mid + 1`
21700 fi
21701
21702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21703 done
21704 else
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.$ac_ext >&5
21707
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef long long ac__type_sizeof_;
21716 int
21717 main ()
21718 {
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21720 test_array [0] = 0
21721
21722 ;
21723 return 0;
21724 }
21725 _ACEOF
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21731 esac
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21734 ac_status=$?
21735 grep -v '^ *+' conftest.er1 >conftest.err
21736 rm -f conftest.er1
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21743 ac_hi=-1 ac_mid=-1
21744 while :; do
21745 cat >conftest.$ac_ext <<_ACEOF
21746 /* confdefs.h. */
21747 _ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 $ac_includes_default
21752 typedef long long ac__type_sizeof_;
21753 int
21754 main ()
21755 {
21756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21757 test_array [0] = 0
21758
21759 ;
21760 return 0;
21761 }
21762 _ACEOF
21763 rm -f conftest.$ac_objext
21764 if { (ac_try="$ac_compile"
21765 case "(($ac_try" in
21766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21767 *) ac_try_echo=$ac_try;;
21768 esac
21769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21770 (eval "$ac_compile") 2>conftest.er1
21771 ac_status=$?
21772 grep -v '^ *+' conftest.er1 >conftest.err
21773 rm -f conftest.er1
21774 cat conftest.err >&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } && {
21777 test -z "$ac_c_werror_flag" ||
21778 test ! -s conftest.err
21779 } && test -s conftest.$ac_objext; then
21780 ac_lo=$ac_mid; break
21781 else
21782 echo "$as_me: failed program was:" >&5
21783 sed 's/^/| /' conftest.$ac_ext >&5
21784
21785 ac_hi=`expr '(' $ac_mid ')' - 1`
21786 if test $ac_mid -le $ac_hi; then
21787 ac_lo= ac_hi=
21788 break
21789 fi
21790 ac_mid=`expr 2 '*' $ac_mid`
21791 fi
21792
21793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21794 done
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 ac_lo= ac_hi=
21800 fi
21801
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 fi
21804
21805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21806 # Binary search between lo and hi bounds.
21807 while test "x$ac_lo" != "x$ac_hi"; do
21808 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21809 cat >conftest.$ac_ext <<_ACEOF
21810 /* confdefs.h. */
21811 _ACEOF
21812 cat confdefs.h >>conftest.$ac_ext
21813 cat >>conftest.$ac_ext <<_ACEOF
21814 /* end confdefs.h. */
21815 $ac_includes_default
21816 typedef long long ac__type_sizeof_;
21817 int
21818 main ()
21819 {
21820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21821 test_array [0] = 0
21822
21823 ;
21824 return 0;
21825 }
21826 _ACEOF
21827 rm -f conftest.$ac_objext
21828 if { (ac_try="$ac_compile"
21829 case "(($ac_try" in
21830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21831 *) ac_try_echo=$ac_try;;
21832 esac
21833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21834 (eval "$ac_compile") 2>conftest.er1
21835 ac_status=$?
21836 grep -v '^ *+' conftest.er1 >conftest.err
21837 rm -f conftest.er1
21838 cat conftest.err >&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } && {
21841 test -z "$ac_c_werror_flag" ||
21842 test ! -s conftest.err
21843 } && test -s conftest.$ac_objext; then
21844 ac_hi=$ac_mid
21845 else
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.$ac_ext >&5
21848
21849 ac_lo=`expr '(' $ac_mid ')' + 1`
21850 fi
21851
21852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21853 done
21854 case $ac_lo in
21855 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21856 '') if test "$ac_cv_type_long_long" = yes; then
21857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21858 See \`config.log' for more details." >&5
21859 echo "$as_me: error: cannot compute sizeof (long long)
21860 See \`config.log' for more details." >&2;}
21861 { (exit 77); exit 77; }; }
21862 else
21863 ac_cv_sizeof_long_long=0
21864 fi ;;
21865 esac
21866 else
21867 cat >conftest.$ac_ext <<_ACEOF
21868 /* confdefs.h. */
21869 _ACEOF
21870 cat confdefs.h >>conftest.$ac_ext
21871 cat >>conftest.$ac_ext <<_ACEOF
21872 /* end confdefs.h. */
21873 $ac_includes_default
21874 typedef long long ac__type_sizeof_;
21875 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21876 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21877 #include <stdio.h>
21878 #include <stdlib.h>
21879 int
21880 main ()
21881 {
21882
21883 FILE *f = fopen ("conftest.val", "w");
21884 if (! f)
21885 return 1;
21886 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21887 {
21888 long int i = longval ();
21889 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21890 return 1;
21891 fprintf (f, "%ld\n", i);
21892 }
21893 else
21894 {
21895 unsigned long int i = ulongval ();
21896 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21897 return 1;
21898 fprintf (f, "%lu\n", i);
21899 }
21900 return ferror (f) || fclose (f) != 0;
21901
21902 ;
21903 return 0;
21904 }
21905 _ACEOF
21906 rm -f conftest$ac_exeext
21907 if { (ac_try="$ac_link"
21908 case "(($ac_try" in
21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21911 esac
21912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_link") 2>&5
21914 ac_status=$?
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21917 { (case "(($ac_try" in
21918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21919 *) ac_try_echo=$ac_try;;
21920 esac
21921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21922 (eval "$ac_try") 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_cv_sizeof_long_long=`cat conftest.val`
21927 else
21928 echo "$as_me: program exited with status $ac_status" >&5
21929 echo "$as_me: failed program was:" >&5
21930 sed 's/^/| /' conftest.$ac_ext >&5
21931
21932 ( exit $ac_status )
21933 if test "$ac_cv_type_long_long" = yes; then
21934 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21935 See \`config.log' for more details." >&5
21936 echo "$as_me: error: cannot compute sizeof (long long)
21937 See \`config.log' for more details." >&2;}
21938 { (exit 77); exit 77; }; }
21939 else
21940 ac_cv_sizeof_long_long=0
21941 fi
21942 fi
21943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21944 fi
21945 rm -f conftest.val
21946 fi
21947 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21948 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21949
21950
21951
21952 cat >>confdefs.h <<_ACEOF
21953 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21954 _ACEOF
21955
21956
21957 esac
21958
21959 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21960 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21961 if test "${ac_cv_type_wchar_t+set}" = set; then
21962 echo $ECHO_N "(cached) $ECHO_C" >&6
21963 else
21964 cat >conftest.$ac_ext <<_ACEOF
21965 /* confdefs.h. */
21966 _ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21970
21971 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21972 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21973 # error "fake wchar_t"
21974 #endif
21975 #ifdef HAVE_WCHAR_H
21976 # ifdef __CYGWIN__
21977 # include <stddef.h>
21978 # endif
21979 # include <wchar.h>
21980 #endif
21981 #ifdef HAVE_STDLIB_H
21982 # include <stdlib.h>
21983 #endif
21984 #include <stdio.h>
21985
21986
21987
21988 typedef wchar_t ac__type_new_;
21989 int
21990 main ()
21991 {
21992 if ((ac__type_new_ *) 0)
21993 return 0;
21994 if (sizeof (ac__type_new_))
21995 return 0;
21996 ;
21997 return 0;
21998 }
21999 _ACEOF
22000 rm -f conftest.$ac_objext
22001 if { (ac_try="$ac_compile"
22002 case "(($ac_try" in
22003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22004 *) ac_try_echo=$ac_try;;
22005 esac
22006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_compile") 2>conftest.er1
22008 ac_status=$?
22009 grep -v '^ *+' conftest.er1 >conftest.err
22010 rm -f conftest.er1
22011 cat conftest.err >&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } && {
22014 test -z "$ac_c_werror_flag" ||
22015 test ! -s conftest.err
22016 } && test -s conftest.$ac_objext; then
22017 ac_cv_type_wchar_t=yes
22018 else
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22021
22022 ac_cv_type_wchar_t=no
22023 fi
22024
22025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22026 fi
22027 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22028 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22029
22030 # The cast to long int works around a bug in the HP C Compiler
22031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22032 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22033 # This bug is HP SR number 8606223364.
22034 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22035 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22036 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22038 else
22039 if test "$cross_compiling" = yes; then
22040 # Depending upon the size, compute the lo and hi bounds.
22041 cat >conftest.$ac_ext <<_ACEOF
22042 /* confdefs.h. */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047
22048 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22049 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22050 # error "fake wchar_t"
22051 #endif
22052 #ifdef HAVE_WCHAR_H
22053 # ifdef __CYGWIN__
22054 # include <stddef.h>
22055 # endif
22056 # include <wchar.h>
22057 #endif
22058 #ifdef HAVE_STDLIB_H
22059 # include <stdlib.h>
22060 #endif
22061 #include <stdio.h>
22062
22063
22064
22065 typedef wchar_t ac__type_sizeof_;
22066 int
22067 main ()
22068 {
22069 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22070 test_array [0] = 0
22071
22072 ;
22073 return 0;
22074 }
22075 _ACEOF
22076 rm -f conftest.$ac_objext
22077 if { (ac_try="$ac_compile"
22078 case "(($ac_try" in
22079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22080 *) ac_try_echo=$ac_try;;
22081 esac
22082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22083 (eval "$ac_compile") 2>conftest.er1
22084 ac_status=$?
22085 grep -v '^ *+' conftest.er1 >conftest.err
22086 rm -f conftest.er1
22087 cat conftest.err >&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } && {
22090 test -z "$ac_c_werror_flag" ||
22091 test ! -s conftest.err
22092 } && test -s conftest.$ac_objext; then
22093 ac_lo=0 ac_mid=0
22094 while :; do
22095 cat >conftest.$ac_ext <<_ACEOF
22096 /* confdefs.h. */
22097 _ACEOF
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101
22102 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22103 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22104 # error "fake wchar_t"
22105 #endif
22106 #ifdef HAVE_WCHAR_H
22107 # ifdef __CYGWIN__
22108 # include <stddef.h>
22109 # endif
22110 # include <wchar.h>
22111 #endif
22112 #ifdef HAVE_STDLIB_H
22113 # include <stdlib.h>
22114 #endif
22115 #include <stdio.h>
22116
22117
22118
22119 typedef wchar_t ac__type_sizeof_;
22120 int
22121 main ()
22122 {
22123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22124 test_array [0] = 0
22125
22126 ;
22127 return 0;
22128 }
22129 _ACEOF
22130 rm -f conftest.$ac_objext
22131 if { (ac_try="$ac_compile"
22132 case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22135 esac
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_compile") 2>conftest.er1
22138 ac_status=$?
22139 grep -v '^ *+' conftest.er1 >conftest.err
22140 rm -f conftest.er1
22141 cat conftest.err >&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } && {
22144 test -z "$ac_c_werror_flag" ||
22145 test ! -s conftest.err
22146 } && test -s conftest.$ac_objext; then
22147 ac_hi=$ac_mid; break
22148 else
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22151
22152 ac_lo=`expr $ac_mid + 1`
22153 if test $ac_lo -le $ac_mid; then
22154 ac_lo= ac_hi=
22155 break
22156 fi
22157 ac_mid=`expr 2 '*' $ac_mid + 1`
22158 fi
22159
22160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22161 done
22162 else
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.$ac_ext >&5
22165
22166 cat >conftest.$ac_ext <<_ACEOF
22167 /* confdefs.h. */
22168 _ACEOF
22169 cat confdefs.h >>conftest.$ac_ext
22170 cat >>conftest.$ac_ext <<_ACEOF
22171 /* end confdefs.h. */
22172
22173 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22174 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22175 # error "fake wchar_t"
22176 #endif
22177 #ifdef HAVE_WCHAR_H
22178 # ifdef __CYGWIN__
22179 # include <stddef.h>
22180 # endif
22181 # include <wchar.h>
22182 #endif
22183 #ifdef HAVE_STDLIB_H
22184 # include <stdlib.h>
22185 #endif
22186 #include <stdio.h>
22187
22188
22189
22190 typedef wchar_t ac__type_sizeof_;
22191 int
22192 main ()
22193 {
22194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22195 test_array [0] = 0
22196
22197 ;
22198 return 0;
22199 }
22200 _ACEOF
22201 rm -f conftest.$ac_objext
22202 if { (ac_try="$ac_compile"
22203 case "(($ac_try" in
22204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22205 *) ac_try_echo=$ac_try;;
22206 esac
22207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22208 (eval "$ac_compile") 2>conftest.er1
22209 ac_status=$?
22210 grep -v '^ *+' conftest.er1 >conftest.err
22211 rm -f conftest.er1
22212 cat conftest.err >&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } && {
22215 test -z "$ac_c_werror_flag" ||
22216 test ! -s conftest.err
22217 } && test -s conftest.$ac_objext; then
22218 ac_hi=-1 ac_mid=-1
22219 while :; do
22220 cat >conftest.$ac_ext <<_ACEOF
22221 /* confdefs.h. */
22222 _ACEOF
22223 cat confdefs.h >>conftest.$ac_ext
22224 cat >>conftest.$ac_ext <<_ACEOF
22225 /* end confdefs.h. */
22226
22227 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22228 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22229 # error "fake wchar_t"
22230 #endif
22231 #ifdef HAVE_WCHAR_H
22232 # ifdef __CYGWIN__
22233 # include <stddef.h>
22234 # endif
22235 # include <wchar.h>
22236 #endif
22237 #ifdef HAVE_STDLIB_H
22238 # include <stdlib.h>
22239 #endif
22240 #include <stdio.h>
22241
22242
22243
22244 typedef wchar_t ac__type_sizeof_;
22245 int
22246 main ()
22247 {
22248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22249 test_array [0] = 0
22250
22251 ;
22252 return 0;
22253 }
22254 _ACEOF
22255 rm -f conftest.$ac_objext
22256 if { (ac_try="$ac_compile"
22257 case "(($ac_try" in
22258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22259 *) ac_try_echo=$ac_try;;
22260 esac
22261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22262 (eval "$ac_compile") 2>conftest.er1
22263 ac_status=$?
22264 grep -v '^ *+' conftest.er1 >conftest.err
22265 rm -f conftest.er1
22266 cat conftest.err >&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); } && {
22269 test -z "$ac_c_werror_flag" ||
22270 test ! -s conftest.err
22271 } && test -s conftest.$ac_objext; then
22272 ac_lo=$ac_mid; break
22273 else
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.$ac_ext >&5
22276
22277 ac_hi=`expr '(' $ac_mid ')' - 1`
22278 if test $ac_mid -le $ac_hi; then
22279 ac_lo= ac_hi=
22280 break
22281 fi
22282 ac_mid=`expr 2 '*' $ac_mid`
22283 fi
22284
22285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22286 done
22287 else
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22290
22291 ac_lo= ac_hi=
22292 fi
22293
22294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22295 fi
22296
22297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22298 # Binary search between lo and hi bounds.
22299 while test "x$ac_lo" != "x$ac_hi"; do
22300 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22301 cat >conftest.$ac_ext <<_ACEOF
22302 /* confdefs.h. */
22303 _ACEOF
22304 cat confdefs.h >>conftest.$ac_ext
22305 cat >>conftest.$ac_ext <<_ACEOF
22306 /* end confdefs.h. */
22307
22308 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22309 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22310 # error "fake wchar_t"
22311 #endif
22312 #ifdef HAVE_WCHAR_H
22313 # ifdef __CYGWIN__
22314 # include <stddef.h>
22315 # endif
22316 # include <wchar.h>
22317 #endif
22318 #ifdef HAVE_STDLIB_H
22319 # include <stdlib.h>
22320 #endif
22321 #include <stdio.h>
22322
22323
22324
22325 typedef wchar_t ac__type_sizeof_;
22326 int
22327 main ()
22328 {
22329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22330 test_array [0] = 0
22331
22332 ;
22333 return 0;
22334 }
22335 _ACEOF
22336 rm -f conftest.$ac_objext
22337 if { (ac_try="$ac_compile"
22338 case "(($ac_try" in
22339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22340 *) ac_try_echo=$ac_try;;
22341 esac
22342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22343 (eval "$ac_compile") 2>conftest.er1
22344 ac_status=$?
22345 grep -v '^ *+' conftest.er1 >conftest.err
22346 rm -f conftest.er1
22347 cat conftest.err >&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } && {
22350 test -z "$ac_c_werror_flag" ||
22351 test ! -s conftest.err
22352 } && test -s conftest.$ac_objext; then
22353 ac_hi=$ac_mid
22354 else
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22357
22358 ac_lo=`expr '(' $ac_mid ')' + 1`
22359 fi
22360
22361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22362 done
22363 case $ac_lo in
22364 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22365 '') if test "$ac_cv_type_wchar_t" = yes; then
22366 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22367 See \`config.log' for more details." >&5
22368 echo "$as_me: error: cannot compute sizeof (wchar_t)
22369 See \`config.log' for more details." >&2;}
22370 { (exit 77); exit 77; }; }
22371 else
22372 ac_cv_sizeof_wchar_t=0
22373 fi ;;
22374 esac
22375 else
22376 cat >conftest.$ac_ext <<_ACEOF
22377 /* confdefs.h. */
22378 _ACEOF
22379 cat confdefs.h >>conftest.$ac_ext
22380 cat >>conftest.$ac_ext <<_ACEOF
22381 /* end confdefs.h. */
22382
22383 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22384 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22385 # error "fake wchar_t"
22386 #endif
22387 #ifdef HAVE_WCHAR_H
22388 # ifdef __CYGWIN__
22389 # include <stddef.h>
22390 # endif
22391 # include <wchar.h>
22392 #endif
22393 #ifdef HAVE_STDLIB_H
22394 # include <stdlib.h>
22395 #endif
22396 #include <stdio.h>
22397
22398
22399
22400 typedef wchar_t ac__type_sizeof_;
22401 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22402 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22403 #include <stdio.h>
22404 #include <stdlib.h>
22405 int
22406 main ()
22407 {
22408
22409 FILE *f = fopen ("conftest.val", "w");
22410 if (! f)
22411 return 1;
22412 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22413 {
22414 long int i = longval ();
22415 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22416 return 1;
22417 fprintf (f, "%ld\n", i);
22418 }
22419 else
22420 {
22421 unsigned long int i = ulongval ();
22422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22423 return 1;
22424 fprintf (f, "%lu\n", i);
22425 }
22426 return ferror (f) || fclose (f) != 0;
22427
22428 ;
22429 return 0;
22430 }
22431 _ACEOF
22432 rm -f conftest$ac_exeext
22433 if { (ac_try="$ac_link"
22434 case "(($ac_try" in
22435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22436 *) ac_try_echo=$ac_try;;
22437 esac
22438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22439 (eval "$ac_link") 2>&5
22440 ac_status=$?
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22443 { (case "(($ac_try" in
22444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22445 *) ac_try_echo=$ac_try;;
22446 esac
22447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22448 (eval "$ac_try") 2>&5
22449 ac_status=$?
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); }; }; then
22452 ac_cv_sizeof_wchar_t=`cat conftest.val`
22453 else
22454 echo "$as_me: program exited with status $ac_status" >&5
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5
22457
22458 ( exit $ac_status )
22459 if test "$ac_cv_type_wchar_t" = yes; then
22460 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22461 See \`config.log' for more details." >&5
22462 echo "$as_me: error: cannot compute sizeof (wchar_t)
22463 See \`config.log' for more details." >&2;}
22464 { (exit 77); exit 77; }; }
22465 else
22466 ac_cv_sizeof_wchar_t=0
22467 fi
22468 fi
22469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22470 fi
22471 rm -f conftest.val
22472 fi
22473 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22474 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22475
22476
22477
22478 cat >>confdefs.h <<_ACEOF
22479 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22480 _ACEOF
22481
22482
22483 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22484 wxUSE_WCHAR_T=yes
22485 else
22486 wxUSE_WCHAR_T=no
22487 fi
22488
22489 { echo "$as_me:$LINENO: checking for va_copy" >&5
22490 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22491 if test "${wx_cv_func_va_copy+set}" = set; then
22492 echo $ECHO_N "(cached) $ECHO_C" >&6
22493 else
22494
22495 ac_ext=cpp
22496 ac_cpp='$CXXCPP $CPPFLAGS'
22497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22500
22501 cat >conftest.$ac_ext <<_ACEOF
22502
22503 #include <stdarg.h>
22504 void foo(char *f, ...)
22505 {
22506 va_list ap1, ap2;
22507 va_start(ap1, f);
22508 va_copy(ap2, ap1);
22509 va_end(ap2);
22510 va_end(ap1);
22511 }
22512 int main()
22513 {
22514 foo("hi", 17);
22515 return 0;
22516 }
22517 _ACEOF
22518 rm -f conftest.$ac_objext conftest$ac_exeext
22519 if { (ac_try="$ac_link"
22520 case "(($ac_try" in
22521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22522 *) ac_try_echo=$ac_try;;
22523 esac
22524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22525 (eval "$ac_link") 2>conftest.er1
22526 ac_status=$?
22527 grep -v '^ *+' conftest.er1 >conftest.err
22528 rm -f conftest.er1
22529 cat conftest.err >&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } && {
22532 test -z "$ac_cxx_werror_flag" ||
22533 test ! -s conftest.err
22534 } && test -s conftest$ac_exeext &&
22535 $as_test_x conftest$ac_exeext; then
22536 wx_cv_func_va_copy=yes
22537 else
22538 echo "$as_me: failed program was:" >&5
22539 sed 's/^/| /' conftest.$ac_ext >&5
22540
22541 wx_cv_func_va_copy=no
22542
22543 fi
22544
22545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22546 conftest$ac_exeext conftest.$ac_ext
22547 ac_ext=c
22548 ac_cpp='$CPP $CPPFLAGS'
22549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22552
22553
22554
22555 fi
22556 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22557 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22558
22559 if test $wx_cv_func_va_copy = "yes"; then
22560 cat >>confdefs.h <<\_ACEOF
22561 #define HAVE_VA_COPY 1
22562 _ACEOF
22563
22564 else
22565 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22566 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22567 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22568 echo $ECHO_N "(cached) $ECHO_C" >&6
22569 else
22570
22571 if test "$cross_compiling" = yes; then
22572 wx_cv_type_va_list_lvalue=yes
22573
22574 else
22575 cat >conftest.$ac_ext <<_ACEOF
22576
22577 #include <stdarg.h>
22578 int foo(char *f, ...)
22579 {
22580 va_list ap1, ap2;
22581 va_start(ap1, f);
22582 ap2 = ap1;
22583 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22584 return 1;
22585 va_end(ap2);
22586 va_end(ap1);
22587 return 0;
22588 }
22589 int main()
22590 {
22591 return foo("hi", 17);
22592 }
22593 _ACEOF
22594 rm -f conftest$ac_exeext
22595 if { (ac_try="$ac_link"
22596 case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22598 *) ac_try_echo=$ac_try;;
22599 esac
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_link") 2>&5
22602 ac_status=$?
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22605 { (case "(($ac_try" in
22606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22607 *) ac_try_echo=$ac_try;;
22608 esac
22609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22610 (eval "$ac_try") 2>&5
22611 ac_status=$?
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; }; then
22614 wx_cv_type_va_list_lvalue=yes
22615 else
22616 echo "$as_me: program exited with status $ac_status" >&5
22617 echo "$as_me: failed program was:" >&5
22618 sed 's/^/| /' conftest.$ac_ext >&5
22619
22620 ( exit $ac_status )
22621 wx_cv_type_va_list_lvalue=no
22622 fi
22623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22624 fi
22625
22626
22627
22628
22629 fi
22630 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22631 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22632
22633 if test $wx_cv_type_va_list_lvalue != "yes"; then
22634 cat >>confdefs.h <<\_ACEOF
22635 #define VA_LIST_IS_ARRAY 1
22636 _ACEOF
22637
22638 fi
22639 fi
22640
22641 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22642
22643 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22644 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22645 if test "${wx_cv_have_variadic_macros+set}" = set; then
22646 echo $ECHO_N "(cached) $ECHO_C" >&6
22647 else
22648
22649 ac_ext=cpp
22650 ac_cpp='$CXXCPP $CPPFLAGS'
22651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22654
22655 cat >conftest.$ac_ext <<_ACEOF
22656 /* confdefs.h. */
22657 _ACEOF
22658 cat confdefs.h >>conftest.$ac_ext
22659 cat >>conftest.$ac_ext <<_ACEOF
22660 /* end confdefs.h. */
22661
22662 #include <stdio.h>
22663 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22664
22665 int
22666 main ()
22667 {
22668
22669 test("%s %d %p", "test", 1, 0);
22670
22671
22672 ;
22673 return 0;
22674 }
22675 _ACEOF
22676 rm -f conftest.$ac_objext
22677 if { (ac_try="$ac_compile"
22678 case "(($ac_try" in
22679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22680 *) ac_try_echo=$ac_try;;
22681 esac
22682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22683 (eval "$ac_compile") 2>conftest.er1
22684 ac_status=$?
22685 grep -v '^ *+' conftest.er1 >conftest.err
22686 rm -f conftest.er1
22687 cat conftest.err >&5
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } && {
22690 test -z "$ac_cxx_werror_flag" ||
22691 test ! -s conftest.err
22692 } && test -s conftest.$ac_objext; then
22693 wx_cv_have_variadic_macros=yes
22694 else
22695 echo "$as_me: failed program was:" >&5
22696 sed 's/^/| /' conftest.$ac_ext >&5
22697
22698 wx_cv_have_variadic_macros=no
22699
22700 fi
22701
22702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22703 ac_ext=c
22704 ac_cpp='$CPP $CPPFLAGS'
22705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22708
22709
22710
22711 fi
22712 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22713 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22714
22715 if test $wx_cv_have_variadic_macros = "yes"; then
22716 cat >>confdefs.h <<\_ACEOF
22717 #define HAVE_VARIADIC_MACROS 1
22718 _ACEOF
22719
22720 fi
22721
22722 fi
22723 # Check whether --enable-largefile was given.
22724 if test "${enable_largefile+set}" = set; then
22725 enableval=$enable_largefile;
22726 fi
22727
22728 if test "$enable_largefile" != no; then
22729 wx_largefile=no
22730
22731 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22732 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22733 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22734 echo $ECHO_N "(cached) $ECHO_C" >&6
22735 else
22736
22737 cat >conftest.$ac_ext <<_ACEOF
22738 /* confdefs.h. */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 #define _FILE_OFFSET_BITS 64
22744 #include <sys/types.h>
22745 int
22746 main ()
22747 {
22748 typedef struct {
22749 unsigned int field: sizeof(off_t) == 8;
22750 } wxlf;
22751
22752 ;
22753 return 0;
22754 }
22755 _ACEOF
22756 rm -f conftest.$ac_objext
22757 if { (ac_try="$ac_compile"
22758 case "(($ac_try" in
22759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22760 *) ac_try_echo=$ac_try;;
22761 esac
22762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22763 (eval "$ac_compile") 2>conftest.er1
22764 ac_status=$?
22765 grep -v '^ *+' conftest.er1 >conftest.err
22766 rm -f conftest.er1
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } && {
22770 test -z "$ac_c_werror_flag" ||
22771 test ! -s conftest.err
22772 } && test -s conftest.$ac_objext; then
22773 ac_cv_sys_file_offset_bits=64
22774 else
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22777
22778 ac_cv_sys_file_offset_bits=no
22779 fi
22780
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782
22783
22784 fi
22785 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22786 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22787
22788 if test "$ac_cv_sys_file_offset_bits" != no; then
22789 wx_largefile=yes
22790 cat >>confdefs.h <<_ACEOF
22791 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22792 _ACEOF
22793
22794 fi
22795
22796 if test "x$wx_largefile" != "xyes"; then
22797
22798 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22799 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22800 if test "${ac_cv_sys_large_files+set}" = set; then
22801 echo $ECHO_N "(cached) $ECHO_C" >&6
22802 else
22803
22804 cat >conftest.$ac_ext <<_ACEOF
22805 /* confdefs.h. */
22806 _ACEOF
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22810 #define _LARGE_FILES 1
22811 #include <sys/types.h>
22812 int
22813 main ()
22814 {
22815 typedef struct {
22816 unsigned int field: sizeof(off_t) == 8;
22817 } wxlf;
22818
22819 ;
22820 return 0;
22821 }
22822 _ACEOF
22823 rm -f conftest.$ac_objext
22824 if { (ac_try="$ac_compile"
22825 case "(($ac_try" in
22826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22827 *) ac_try_echo=$ac_try;;
22828 esac
22829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22830 (eval "$ac_compile") 2>conftest.er1
22831 ac_status=$?
22832 grep -v '^ *+' conftest.er1 >conftest.err
22833 rm -f conftest.er1
22834 cat conftest.err >&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } && {
22837 test -z "$ac_c_werror_flag" ||
22838 test ! -s conftest.err
22839 } && test -s conftest.$ac_objext; then
22840 ac_cv_sys_large_files=1
22841 else
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.$ac_ext >&5
22844
22845 ac_cv_sys_large_files=no
22846 fi
22847
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849
22850
22851 fi
22852 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22853 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22854
22855 if test "$ac_cv_sys_large_files" != no; then
22856 wx_largefile=yes
22857 cat >>confdefs.h <<_ACEOF
22858 #define _LARGE_FILES $ac_cv_sys_large_files
22859 _ACEOF
22860
22861 fi
22862
22863 fi
22864
22865 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22866 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22867 if test "x$wx_largefile" = "xyes"; then
22868 cat >>confdefs.h <<\_ACEOF
22869 #define HAVE_LARGEFILE_SUPPORT 1
22870 _ACEOF
22871
22872 fi
22873 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22874 echo "${ECHO_T}$wx_largefile" >&6; }
22875 fi
22876
22877
22878 if test "x$wx_largefile" = "xyes"; then
22879 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22880 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22881
22882 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22883 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22884 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22885 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22886 echo $ECHO_N "(cached) $ECHO_C" >&6
22887 else
22888
22889 ac_ext=cpp
22890 ac_cpp='$CXXCPP $CPPFLAGS'
22891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22894
22895 cat >conftest.$ac_ext <<_ACEOF
22896 /* confdefs.h. */
22897 _ACEOF
22898 cat confdefs.h >>conftest.$ac_ext
22899 cat >>conftest.$ac_ext <<_ACEOF
22900 /* end confdefs.h. */
22901
22902 int
22903 main ()
22904 {
22905
22906 #ifndef __STDC_EXT__
22907 choke me
22908 #endif
22909
22910 ;
22911 return 0;
22912 }
22913 _ACEOF
22914 rm -f conftest.$ac_objext
22915 if { (ac_try="$ac_compile"
22916 case "(($ac_try" in
22917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22918 *) ac_try_echo=$ac_try;;
22919 esac
22920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22921 (eval "$ac_compile") 2>conftest.er1
22922 ac_status=$?
22923 grep -v '^ *+' conftest.er1 >conftest.err
22924 rm -f conftest.er1
22925 cat conftest.err >&5
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); } && {
22928 test -z "$ac_cxx_werror_flag" ||
22929 test ! -s conftest.err
22930 } && test -s conftest.$ac_objext; then
22931 wx_cv_STDC_EXT_required=no
22932 else
22933 echo "$as_me: failed program was:" >&5
22934 sed 's/^/| /' conftest.$ac_ext >&5
22935
22936 wx_cv_STDC_EXT_required=yes
22937
22938 fi
22939
22940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22941 ac_ext=c
22942 ac_cpp='$CPP $CPPFLAGS'
22943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22946
22947
22948
22949 fi
22950 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22951 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22952 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22953 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22954 fi
22955 fi
22956 else
22957 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22958 fi
22959 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22960 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22961 if test "${ac_cv_sys_largefile_source+set}" = set; then
22962 echo $ECHO_N "(cached) $ECHO_C" >&6
22963 else
22964 while :; do
22965 cat >conftest.$ac_ext <<_ACEOF
22966 /* confdefs.h. */
22967 _ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22971 #include <sys/types.h> /* for off_t */
22972 #include <stdio.h>
22973 int
22974 main ()
22975 {
22976 int (*fp) (FILE *, off_t, int) = fseeko;
22977 return fseeko (stdin, 0, 0) && fp (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 <sys/types.h> /* for off_t */
23018 #include <stdio.h>
23019 int
23020 main ()
23021 {
23022 int (*fp) (FILE *, off_t, int) = fseeko;
23023 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext conftest$ac_exeext
23029 if { (ac_try="$ac_link"
23030 case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23033 esac
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_link") 2>conftest.er1
23036 ac_status=$?
23037 grep -v '^ *+' conftest.er1 >conftest.err
23038 rm -f conftest.er1
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_c_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest$ac_exeext &&
23045 $as_test_x conftest$ac_exeext; then
23046 ac_cv_sys_largefile_source=1; break
23047 else
23048 echo "$as_me: failed program was:" >&5
23049 sed 's/^/| /' conftest.$ac_ext >&5
23050
23051
23052 fi
23053
23054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23055 conftest$ac_exeext conftest.$ac_ext
23056 ac_cv_sys_largefile_source=unknown
23057 break
23058 done
23059 fi
23060 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23061 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23062 case $ac_cv_sys_largefile_source in #(
23063 no | unknown) ;;
23064 *)
23065 cat >>confdefs.h <<_ACEOF
23066 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23067 _ACEOF
23068 ;;
23069 esac
23070 rm -f conftest*
23071
23072 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23073 # in glibc 2.1.3, but that breaks too many other things.
23074 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23075 if test $ac_cv_sys_largefile_source != unknown; then
23076
23077 cat >>confdefs.h <<\_ACEOF
23078 #define HAVE_FSEEKO 1
23079 _ACEOF
23080
23081 fi
23082
23083 if test "$ac_cv_sys_largefile_source" != no; then
23084 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23085 fi
23086 fi
23087
23088 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23089 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23090 if test "${ac_cv_c_bigendian+set}" = set; then
23091 echo $ECHO_N "(cached) $ECHO_C" >&6
23092 else
23093 ac_cv_c_bigendian=unknown
23094 # See if sys/param.h defines the BYTE_ORDER macro.
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h. */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101 #include <sys/types.h>
23102 #include <sys/param.h>
23103 int
23104 main ()
23105 {
23106
23107 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23108 bogus endian macros
23109 #endif
23110 ;
23111 return 0;
23112 }
23113 _ACEOF
23114 rm -f conftest.$ac_objext
23115 if { (ac_try="$ac_compile"
23116 case "(($ac_try" in
23117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23118 *) ac_try_echo=$ac_try;;
23119 esac
23120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23121 (eval "$ac_compile") 2>conftest.er1
23122 ac_status=$?
23123 grep -v '^ *+' conftest.er1 >conftest.err
23124 rm -f conftest.er1
23125 cat conftest.err >&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); } && {
23128 test -z "$ac_c_werror_flag" ||
23129 test ! -s conftest.err
23130 } && test -s conftest.$ac_objext; then
23131 # It does; now see whether it defined to BIG_ENDIAN or not.
23132 cat >conftest.$ac_ext <<_ACEOF
23133 /* confdefs.h. */
23134 _ACEOF
23135 cat confdefs.h >>conftest.$ac_ext
23136 cat >>conftest.$ac_ext <<_ACEOF
23137 /* end confdefs.h. */
23138 #include <sys/types.h>
23139 #include <sys/param.h>
23140 int
23141 main ()
23142 {
23143
23144 #if BYTE_ORDER != BIG_ENDIAN
23145 not big endian
23146 #endif
23147 ;
23148 return 0;
23149 }
23150 _ACEOF
23151 rm -f conftest.$ac_objext
23152 if { (ac_try="$ac_compile"
23153 case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23156 esac
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_compile") 2>conftest.er1
23159 ac_status=$?
23160 grep -v '^ *+' conftest.er1 >conftest.err
23161 rm -f conftest.er1
23162 cat conftest.err >&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } && {
23165 test -z "$ac_c_werror_flag" ||
23166 test ! -s conftest.err
23167 } && test -s conftest.$ac_objext; then
23168 ac_cv_c_bigendian=yes
23169 else
23170 echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23172
23173 ac_cv_c_bigendian=no
23174 fi
23175
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 else
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23180
23181
23182 fi
23183
23184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23185 if test $ac_cv_c_bigendian = unknown; then
23186 if test "$cross_compiling" = yes; then
23187 ac_cv_c_bigendian=unknown
23188 else
23189 cat >conftest.$ac_ext <<_ACEOF
23190 /* confdefs.h. */
23191 _ACEOF
23192 cat confdefs.h >>conftest.$ac_ext
23193 cat >>conftest.$ac_ext <<_ACEOF
23194 /* end confdefs.h. */
23195 main () {
23196 /* Are we little or big endian? From Harbison&Steele. */
23197 union
23198 {
23199 long l;
23200 char c[sizeof (long)];
23201 } u;
23202 u.l = 1;
23203 exit (u.c[sizeof (long) - 1] == 1);
23204 }
23205 _ACEOF
23206 rm -f conftest$ac_exeext
23207 if { (ac_try="$ac_link"
23208 case "(($ac_try" in
23209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23210 *) ac_try_echo=$ac_try;;
23211 esac
23212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23213 (eval "$ac_link") 2>&5
23214 ac_status=$?
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23217 { (case "(($ac_try" in
23218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23219 *) ac_try_echo=$ac_try;;
23220 esac
23221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23222 (eval "$ac_try") 2>&5
23223 ac_status=$?
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; }; then
23226 ac_cv_c_bigendian=no
23227 else
23228 echo "$as_me: program exited with status $ac_status" >&5
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.$ac_ext >&5
23231
23232 ( exit $ac_status )
23233 ac_cv_c_bigendian=yes
23234 fi
23235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23236 fi
23237
23238
23239 fi
23240 fi
23241 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23242 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23243 if test $ac_cv_c_bigendian = unknown; then
23244 { 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
23245 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;}
23246 fi
23247 if test $ac_cv_c_bigendian = yes; then
23248 cat >>confdefs.h <<\_ACEOF
23249 #define WORDS_BIGENDIAN 1
23250 _ACEOF
23251
23252 fi
23253
23254
23255
23256
23257 ac_ext=cpp
23258 ac_cpp='$CXXCPP $CPPFLAGS'
23259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23262
23263
23264 { echo "$as_me:$LINENO: checking for iostream" >&5
23265 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
23266 if test "${ac_cv_header_iostream+set}" = set; then
23267 echo $ECHO_N "(cached) $ECHO_C" >&6
23268 else
23269 cat >conftest.$ac_ext <<_ACEOF
23270 /* confdefs.h. */
23271 _ACEOF
23272 cat confdefs.h >>conftest.$ac_ext
23273 cat >>conftest.$ac_ext <<_ACEOF
23274 /* end confdefs.h. */
23275
23276
23277 #include <iostream>
23278 _ACEOF
23279 rm -f conftest.$ac_objext
23280 if { (ac_try="$ac_compile"
23281 case "(($ac_try" in
23282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23283 *) ac_try_echo=$ac_try;;
23284 esac
23285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23286 (eval "$ac_compile") 2>conftest.er1
23287 ac_status=$?
23288 grep -v '^ *+' conftest.er1 >conftest.err
23289 rm -f conftest.er1
23290 cat conftest.err >&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); } && {
23293 test -z "$ac_cxx_werror_flag" ||
23294 test ! -s conftest.err
23295 } && test -s conftest.$ac_objext; then
23296 ac_cv_header_iostream=yes
23297 else
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.$ac_ext >&5
23300
23301 ac_cv_header_iostream=no
23302 fi
23303
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305 fi
23306 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23307 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23308
23309
23310
23311 if test "$ac_cv_header_iostream" = "yes" ; then
23312 :
23313 else
23314 cat >>confdefs.h <<\_ACEOF
23315 #define wxUSE_IOSTREAMH 1
23316 _ACEOF
23317
23318 fi
23319
23320 ac_ext=c
23321 ac_cpp='$CPP $CPPFLAGS'
23322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23325
23326
23327
23328
23329 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23330 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23331 if test "${wx_cv_cpp_bool+set}" = set; then
23332 echo $ECHO_N "(cached) $ECHO_C" >&6
23333 else
23334
23335
23336 ac_ext=cpp
23337 ac_cpp='$CXXCPP $CPPFLAGS'
23338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23341
23342
23343 cat >conftest.$ac_ext <<_ACEOF
23344 /* confdefs.h. */
23345 _ACEOF
23346 cat confdefs.h >>conftest.$ac_ext
23347 cat >>conftest.$ac_ext <<_ACEOF
23348 /* end confdefs.h. */
23349
23350
23351 int
23352 main ()
23353 {
23354
23355 bool b = true;
23356
23357 return 0;
23358
23359 ;
23360 return 0;
23361 }
23362 _ACEOF
23363 rm -f conftest.$ac_objext
23364 if { (ac_try="$ac_compile"
23365 case "(($ac_try" in
23366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23367 *) ac_try_echo=$ac_try;;
23368 esac
23369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23370 (eval "$ac_compile") 2>conftest.er1
23371 ac_status=$?
23372 grep -v '^ *+' conftest.er1 >conftest.err
23373 rm -f conftest.er1
23374 cat conftest.err >&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } && {
23377 test -z "$ac_cxx_werror_flag" ||
23378 test ! -s conftest.err
23379 } && test -s conftest.$ac_objext; then
23380
23381 wx_cv_cpp_bool=yes
23382
23383 else
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.$ac_ext >&5
23386
23387
23388 wx_cv_cpp_bool=no
23389
23390
23391 fi
23392
23393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23394
23395 ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400
23401
23402 fi
23403 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23404 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23405
23406 if test "$wx_cv_cpp_bool" = "yes"; then
23407 cat >>confdefs.h <<\_ACEOF
23408 #define HAVE_BOOL 1
23409 _ACEOF
23410
23411 fi
23412
23413
23414
23415 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23416 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23417 if test "${wx_cv_explicit+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23419 else
23420
23421
23422 ac_ext=cpp
23423 ac_cpp='$CXXCPP $CPPFLAGS'
23424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23427
23428
23429 cat >conftest.$ac_ext <<_ACEOF
23430 /* confdefs.h. */
23431 _ACEOF
23432 cat confdefs.h >>conftest.$ac_ext
23433 cat >>conftest.$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23435
23436 class Foo { public: explicit Foo(int) {} };
23437
23438 int
23439 main ()
23440 {
23441
23442 return 0;
23443
23444 ;
23445 return 0;
23446 }
23447 _ACEOF
23448 rm -f conftest.$ac_objext
23449 if { (ac_try="$ac_compile"
23450 case "(($ac_try" in
23451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23452 *) ac_try_echo=$ac_try;;
23453 esac
23454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23455 (eval "$ac_compile") 2>conftest.er1
23456 ac_status=$?
23457 grep -v '^ *+' conftest.er1 >conftest.err
23458 rm -f conftest.er1
23459 cat conftest.err >&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); } && {
23462 test -z "$ac_cxx_werror_flag" ||
23463 test ! -s conftest.err
23464 } && test -s conftest.$ac_objext; then
23465
23466 cat >conftest.$ac_ext <<_ACEOF
23467 /* confdefs.h. */
23468 _ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472
23473 class Foo { public: explicit Foo(int) {} };
23474 static void TakeFoo(const Foo& foo) { }
23475
23476 int
23477 main ()
23478 {
23479
23480 TakeFoo(17);
23481 return 0;
23482
23483 ;
23484 return 0;
23485 }
23486 _ACEOF
23487 rm -f conftest.$ac_objext
23488 if { (ac_try="$ac_compile"
23489 case "(($ac_try" in
23490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23491 *) ac_try_echo=$ac_try;;
23492 esac
23493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23494 (eval "$ac_compile") 2>conftest.er1
23495 ac_status=$?
23496 grep -v '^ *+' conftest.er1 >conftest.err
23497 rm -f conftest.er1
23498 cat conftest.err >&5
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); } && {
23501 test -z "$ac_cxx_werror_flag" ||
23502 test ! -s conftest.err
23503 } && test -s conftest.$ac_objext; then
23504 wx_cv_explicit=no
23505 else
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.$ac_ext >&5
23508
23509 wx_cv_explicit=yes
23510
23511 fi
23512
23513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23514
23515 else
23516 echo "$as_me: failed program was:" >&5
23517 sed 's/^/| /' conftest.$ac_ext >&5
23518
23519 wx_cv_explicit=no
23520
23521 fi
23522
23523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23524
23525 ac_ext=c
23526 ac_cpp='$CPP $CPPFLAGS'
23527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23530
23531
23532 fi
23533 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23534 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23535
23536 if test "$wx_cv_explicit" = "yes"; then
23537 cat >>confdefs.h <<\_ACEOF
23538 #define HAVE_EXPLICIT 1
23539 _ACEOF
23540
23541 fi
23542
23543
23544 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23545 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23546 if test "${ac_cv_cxx_const_cast+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 else
23549
23550 ac_ext=cpp
23551 ac_cpp='$CXXCPP $CPPFLAGS'
23552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23555
23556 cat >conftest.$ac_ext <<_ACEOF
23557 /* confdefs.h. */
23558 _ACEOF
23559 cat confdefs.h >>conftest.$ac_ext
23560 cat >>conftest.$ac_ext <<_ACEOF
23561 /* end confdefs.h. */
23562
23563 int
23564 main ()
23565 {
23566 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23567 ;
23568 return 0;
23569 }
23570 _ACEOF
23571 rm -f conftest.$ac_objext
23572 if { (ac_try="$ac_compile"
23573 case "(($ac_try" in
23574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23575 *) ac_try_echo=$ac_try;;
23576 esac
23577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23578 (eval "$ac_compile") 2>conftest.er1
23579 ac_status=$?
23580 grep -v '^ *+' conftest.er1 >conftest.err
23581 rm -f conftest.er1
23582 cat conftest.err >&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } && {
23585 test -z "$ac_cxx_werror_flag" ||
23586 test ! -s conftest.err
23587 } && test -s conftest.$ac_objext; then
23588 ac_cv_cxx_const_cast=yes
23589 else
23590 echo "$as_me: failed program was:" >&5
23591 sed 's/^/| /' conftest.$ac_ext >&5
23592
23593 ac_cv_cxx_const_cast=no
23594 fi
23595
23596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23597 ac_ext=c
23598 ac_cpp='$CPP $CPPFLAGS'
23599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23602
23603
23604 fi
23605 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23606 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23607 if test "$ac_cv_cxx_const_cast" = yes; then
23608
23609 cat >>confdefs.h <<\_ACEOF
23610 #define HAVE_CONST_CAST
23611 _ACEOF
23612
23613 fi
23614
23615 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23616 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23617 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23619 else
23620
23621 ac_ext=cpp
23622 ac_cpp='$CXXCPP $CPPFLAGS'
23623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23626
23627 cat >conftest.$ac_ext <<_ACEOF
23628 /* confdefs.h. */
23629 _ACEOF
23630 cat confdefs.h >>conftest.$ac_ext
23631 cat >>conftest.$ac_ext <<_ACEOF
23632 /* end confdefs.h. */
23633 #include <typeinfo>
23634 class Base { public : Base () {} virtual void f () = 0;};
23635 class Derived : public Base { public : Derived () {} virtual void f () {} };
23636 class Unrelated { public : Unrelated () {} };
23637 int g (Unrelated&) { return 0; }
23638 int
23639 main ()
23640 {
23641
23642 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23643 ;
23644 return 0;
23645 }
23646 _ACEOF
23647 rm -f conftest.$ac_objext
23648 if { (ac_try="$ac_compile"
23649 case "(($ac_try" in
23650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23651 *) ac_try_echo=$ac_try;;
23652 esac
23653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23654 (eval "$ac_compile") 2>conftest.er1
23655 ac_status=$?
23656 grep -v '^ *+' conftest.er1 >conftest.err
23657 rm -f conftest.er1
23658 cat conftest.err >&5
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); } && {
23661 test -z "$ac_cxx_werror_flag" ||
23662 test ! -s conftest.err
23663 } && test -s conftest.$ac_objext; then
23664 ac_cv_cxx_reinterpret_cast=yes
23665 else
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23668
23669 ac_cv_cxx_reinterpret_cast=no
23670 fi
23671
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673 ac_ext=c
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23678
23679
23680 fi
23681 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23682 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23683 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23684
23685 cat >>confdefs.h <<\_ACEOF
23686 #define HAVE_REINTERPRET_CAST
23687 _ACEOF
23688
23689 fi
23690
23691 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23692 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23693 if test "${ac_cv_cxx_static_cast+set}" = set; then
23694 echo $ECHO_N "(cached) $ECHO_C" >&6
23695 else
23696
23697 ac_ext=cpp
23698 ac_cpp='$CXXCPP $CPPFLAGS'
23699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23702
23703 cat >conftest.$ac_ext <<_ACEOF
23704 /* confdefs.h. */
23705 _ACEOF
23706 cat confdefs.h >>conftest.$ac_ext
23707 cat >>conftest.$ac_ext <<_ACEOF
23708 /* end confdefs.h. */
23709 #include <typeinfo>
23710 class Base { public : Base () {} virtual void f () = 0; };
23711 class Derived : public Base { public : Derived () {} virtual void f () {} };
23712 int g (Derived&) { return 0; }
23713 int
23714 main ()
23715 {
23716
23717 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23718 ;
23719 return 0;
23720 }
23721 _ACEOF
23722 rm -f conftest.$ac_objext
23723 if { (ac_try="$ac_compile"
23724 case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23727 esac
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_compile") 2>conftest.er1
23730 ac_status=$?
23731 grep -v '^ *+' conftest.er1 >conftest.err
23732 rm -f conftest.er1
23733 cat conftest.err >&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } && {
23736 test -z "$ac_cxx_werror_flag" ||
23737 test ! -s conftest.err
23738 } && test -s conftest.$ac_objext; then
23739 ac_cv_cxx_static_cast=yes
23740 else
23741 echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.$ac_ext >&5
23743
23744 ac_cv_cxx_static_cast=no
23745 fi
23746
23747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23748 ac_ext=c
23749 ac_cpp='$CPP $CPPFLAGS'
23750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23753
23754
23755 fi
23756 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23757 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23758 if test "$ac_cv_cxx_static_cast" = yes; then
23759
23760 cat >>confdefs.h <<\_ACEOF
23761 #define HAVE_STATIC_CAST
23762 _ACEOF
23763
23764 fi
23765
23766
23767 if test "x$SUNCXX" = xyes; then
23768 CXXFLAGS="-features=tmplife $CXXFLAGS"
23769 fi
23770
23771 if test "x$SUNCC" = xyes; then
23772 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23773 fi
23774
23775 if test "x$SGICC" = "xyes"; then
23776 CFLAGS="-woff 3970 $CFLAGS"
23777 fi
23778 if test "x$SGICXX" = "xyes"; then
23779 CXXFLAGS="-woff 3970 $CXXFLAGS"
23780 fi
23781
23782 if test "x$HPCC" = "xyes"; then
23783 CFLAGS="+W 2011,2450 $CFLAGS"
23784 fi
23785 if test "x$HPCXX" = "xyes"; then
23786 CXXFLAGS="+W 2340 $CXXFLAGS"
23787 fi
23788
23789 if test "x$COMPAQCXX" = "xyes"; then
23790 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23791 fi
23792
23793 ac_ext=cpp
23794 ac_cpp='$CXXCPP $CPPFLAGS'
23795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23798
23799
23800 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23801 if test "$wxUSE_UNICODE" = "yes"; then
23802 std_string="std::wstring"
23803 char_type="wchar_t"
23804 else
23805 std_string="std::string"
23806 char_type="char"
23807 fi
23808
23809 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23810 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23811 if test "${wx_cv_class_stdstring+set}" = set; then
23812 echo $ECHO_N "(cached) $ECHO_C" >&6
23813 else
23814
23815 cat >conftest.$ac_ext <<_ACEOF
23816 /* confdefs.h. */
23817 _ACEOF
23818 cat confdefs.h >>conftest.$ac_ext
23819 cat >>conftest.$ac_ext <<_ACEOF
23820 /* end confdefs.h. */
23821 #include <string>
23822 int
23823 main ()
23824 {
23825 $std_string foo;
23826 ;
23827 return 0;
23828 }
23829 _ACEOF
23830 rm -f conftest.$ac_objext
23831 if { (ac_try="$ac_compile"
23832 case "(($ac_try" in
23833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23834 *) ac_try_echo=$ac_try;;
23835 esac
23836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23837 (eval "$ac_compile") 2>conftest.er1
23838 ac_status=$?
23839 grep -v '^ *+' conftest.er1 >conftest.err
23840 rm -f conftest.er1
23841 cat conftest.err >&5
23842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23843 (exit $ac_status); } && {
23844 test -z "$ac_cxx_werror_flag" ||
23845 test ! -s conftest.err
23846 } && test -s conftest.$ac_objext; then
23847 wx_cv_class_stdstring=yes
23848 else
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23851
23852 wx_cv_class_stdstring=no
23853
23854 fi
23855
23856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23857
23858
23859 fi
23860 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23861 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23862
23863 if test "$wx_cv_class_stdstring" = yes; then
23864 if test "$wxUSE_UNICODE" = "yes"; then
23865 cat >>confdefs.h <<\_ACEOF
23866 #define HAVE_STD_WSTRING 1
23867 _ACEOF
23868
23869 fi
23870 else
23871 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23872 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23873 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23874 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 else
23876
23877 cat >conftest.$ac_ext <<_ACEOF
23878 /* confdefs.h. */
23879 _ACEOF
23880 cat confdefs.h >>conftest.$ac_ext
23881 cat >>conftest.$ac_ext <<_ACEOF
23882 /* end confdefs.h. */
23883
23884 #ifdef HAVE_WCHAR_H
23885 # ifdef __CYGWIN__
23886 # include <stddef.h>
23887 # endif
23888 # include <wchar.h>
23889 #endif
23890 #ifdef HAVE_STDLIB_H
23891 # include <stdlib.h>
23892 #endif
23893 #include <stdio.h>
23894 #include <string>
23895
23896 int
23897 main ()
23898 {
23899 std::basic_string<$char_type> foo;
23900 const $char_type* dummy = foo.c_str();
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 rm -f conftest.$ac_objext
23906 if { (ac_try="$ac_compile"
23907 case "(($ac_try" in
23908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23909 *) ac_try_echo=$ac_try;;
23910 esac
23911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23912 (eval "$ac_compile") 2>conftest.er1
23913 ac_status=$?
23914 grep -v '^ *+' conftest.er1 >conftest.err
23915 rm -f conftest.er1
23916 cat conftest.err >&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } && {
23919 test -z "$ac_cxx_werror_flag" ||
23920 test ! -s conftest.err
23921 } && test -s conftest.$ac_objext; then
23922 wx_cv_class_stdbasicstring=yes
23923 else
23924 echo "$as_me: failed program was:" >&5
23925 sed 's/^/| /' conftest.$ac_ext >&5
23926
23927 wx_cv_class_stdbasicstring=no
23928
23929 fi
23930
23931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23932
23933
23934 fi
23935 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23936 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23937
23938 if test "$wx_cv_class_stdbasicstring" != yes; then
23939 if test "$wxUSE_STL" = "yes"; then
23940 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23941 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23942 { (exit 1); exit 1; }; }
23943 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23944 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23945 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23946 { (exit 1); exit 1; }; }
23947 else
23948 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23949 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23950 wxUSE_STD_STRING=no
23951 fi
23952 fi
23953 fi
23954 fi
23955
23956 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23957 { echo "$as_me:$LINENO: checking for std::istream" >&5
23958 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23959 if test "${ac_cv_type_std__istream+set}" = set; then
23960 echo $ECHO_N "(cached) $ECHO_C" >&6
23961 else
23962 cat >conftest.$ac_ext <<_ACEOF
23963 /* confdefs.h. */
23964 _ACEOF
23965 cat confdefs.h >>conftest.$ac_ext
23966 cat >>conftest.$ac_ext <<_ACEOF
23967 /* end confdefs.h. */
23968 #include <iostream>
23969
23970 typedef std::istream ac__type_new_;
23971 int
23972 main ()
23973 {
23974 if ((ac__type_new_ *) 0)
23975 return 0;
23976 if (sizeof (ac__type_new_))
23977 return 0;
23978 ;
23979 return 0;
23980 }
23981 _ACEOF
23982 rm -f conftest.$ac_objext
23983 if { (ac_try="$ac_compile"
23984 case "(($ac_try" in
23985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23986 *) ac_try_echo=$ac_try;;
23987 esac
23988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23989 (eval "$ac_compile") 2>conftest.er1
23990 ac_status=$?
23991 grep -v '^ *+' conftest.er1 >conftest.err
23992 rm -f conftest.er1
23993 cat conftest.err >&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } && {
23996 test -z "$ac_cxx_werror_flag" ||
23997 test ! -s conftest.err
23998 } && test -s conftest.$ac_objext; then
23999 ac_cv_type_std__istream=yes
24000 else
24001 echo "$as_me: failed program was:" >&5
24002 sed 's/^/| /' conftest.$ac_ext >&5
24003
24004 ac_cv_type_std__istream=no
24005 fi
24006
24007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24008 fi
24009 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24010 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24011 if test $ac_cv_type_std__istream = yes; then
24012
24013 cat >>confdefs.h <<_ACEOF
24014 #define HAVE_STD__ISTREAM 1
24015 _ACEOF
24016
24017
24018 else
24019 wxUSE_STD_IOSTREAM=no
24020 fi
24021 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24022 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24023 if test "${ac_cv_type_std__ostream+set}" = set; then
24024 echo $ECHO_N "(cached) $ECHO_C" >&6
24025 else
24026 cat >conftest.$ac_ext <<_ACEOF
24027 /* confdefs.h. */
24028 _ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032 #include <iostream>
24033
24034 typedef std::ostream ac__type_new_;
24035 int
24036 main ()
24037 {
24038 if ((ac__type_new_ *) 0)
24039 return 0;
24040 if (sizeof (ac__type_new_))
24041 return 0;
24042 ;
24043 return 0;
24044 }
24045 _ACEOF
24046 rm -f conftest.$ac_objext
24047 if { (ac_try="$ac_compile"
24048 case "(($ac_try" in
24049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24050 *) ac_try_echo=$ac_try;;
24051 esac
24052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24053 (eval "$ac_compile") 2>conftest.er1
24054 ac_status=$?
24055 grep -v '^ *+' conftest.er1 >conftest.err
24056 rm -f conftest.er1
24057 cat conftest.err >&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); } && {
24060 test -z "$ac_cxx_werror_flag" ||
24061 test ! -s conftest.err
24062 } && test -s conftest.$ac_objext; then
24063 ac_cv_type_std__ostream=yes
24064 else
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24067
24068 ac_cv_type_std__ostream=no
24069 fi
24070
24071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24072 fi
24073 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24074 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24075 if test $ac_cv_type_std__ostream = yes; then
24076
24077 cat >>confdefs.h <<_ACEOF
24078 #define HAVE_STD__OSTREAM 1
24079 _ACEOF
24080
24081
24082 else
24083 wxUSE_STD_IOSTREAM=no
24084 fi
24085
24086
24087 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24088 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24089 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24090 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24091 { (exit 1); exit 1; }; }
24092 else
24093 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24094 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24095 fi
24096 fi
24097 fi
24098
24099 if test "$wxUSE_STL" = "yes"; then
24100 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24101 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24102 if test "${wx_cv_lib_stl+set}" = set; then
24103 echo $ECHO_N "(cached) $ECHO_C" >&6
24104 else
24105 cat >conftest.$ac_ext <<_ACEOF
24106 /* confdefs.h. */
24107 _ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 #include <string>
24112 #include <functional>
24113 #include <algorithm>
24114 #include <vector>
24115 #include <list>
24116 int
24117 main ()
24118 {
24119 std::vector<int> moo;
24120 std::list<int> foo;
24121 std::vector<int>::iterator it =
24122 std::find_if(moo.begin(), moo.end(),
24123 std::bind2nd(std::less<int>(), 3));
24124 ;
24125 return 0;
24126 }
24127 _ACEOF
24128 rm -f conftest.$ac_objext
24129 if { (ac_try="$ac_compile"
24130 case "(($ac_try" in
24131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24132 *) ac_try_echo=$ac_try;;
24133 esac
24134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24135 (eval "$ac_compile") 2>conftest.er1
24136 ac_status=$?
24137 grep -v '^ *+' conftest.er1 >conftest.err
24138 rm -f conftest.er1
24139 cat conftest.err >&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } && {
24142 test -z "$ac_cxx_werror_flag" ||
24143 test ! -s conftest.err
24144 } && test -s conftest.$ac_objext; then
24145 wx_cv_lib_stl=yes
24146 else
24147 echo "$as_me: failed program was:" >&5
24148 sed 's/^/| /' conftest.$ac_ext >&5
24149
24150 wx_cv_lib_stl=no
24151
24152 fi
24153
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155
24156 fi
24157 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24158 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24159
24160 if test "$wx_cv_lib_stl" != yes; then
24161 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24162 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24163 { (exit 1); exit 1; }; }
24164 fi
24165
24166 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24167 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24168 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24169 echo $ECHO_N "(cached) $ECHO_C" >&6
24170 else
24171 cat >conftest.$ac_ext <<_ACEOF
24172 /* confdefs.h. */
24173 _ACEOF
24174 cat confdefs.h >>conftest.$ac_ext
24175 cat >>conftest.$ac_ext <<_ACEOF
24176 /* end confdefs.h. */
24177 #include <string>
24178 int
24179 main ()
24180 {
24181 std::string foo, bar;
24182 foo.compare(bar);
24183 foo.compare(1, 1, bar);
24184 foo.compare(1, 1, bar, 1, 1);
24185 foo.compare("");
24186 foo.compare(1, 1, "");
24187 foo.compare(1, 1, "", 2);
24188 ;
24189 return 0;
24190 }
24191 _ACEOF
24192 rm -f conftest.$ac_objext
24193 if { (ac_try="$ac_compile"
24194 case "(($ac_try" in
24195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24196 *) ac_try_echo=$ac_try;;
24197 esac
24198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24199 (eval "$ac_compile") 2>conftest.er1
24200 ac_status=$?
24201 grep -v '^ *+' conftest.er1 >conftest.err
24202 rm -f conftest.er1
24203 cat conftest.err >&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } && {
24206 test -z "$ac_cxx_werror_flag" ||
24207 test ! -s conftest.err
24208 } && test -s conftest.$ac_objext; then
24209 wx_cv_func_stdstring_compare=yes
24210 else
24211 echo "$as_me: failed program was:" >&5
24212 sed 's/^/| /' conftest.$ac_ext >&5
24213
24214 wx_cv_func_stdstring_compare=no
24215
24216 fi
24217
24218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24219
24220 fi
24221 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24222 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24223
24224 if test "$wx_cv_func_stdstring_compare" = yes; then
24225 cat >>confdefs.h <<\_ACEOF
24226 #define HAVE_STD_STRING_COMPARE 1
24227 _ACEOF
24228
24229 fi
24230
24231 { echo "$as_me:$LINENO: checking for hash_map" >&5
24232 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24233 if test "${ac_cv_header_hash_map+set}" = set; then
24234 echo $ECHO_N "(cached) $ECHO_C" >&6
24235 else
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242
24243
24244
24245 #include <hash_map>
24246 _ACEOF
24247 rm -f conftest.$ac_objext
24248 if { (ac_try="$ac_compile"
24249 case "(($ac_try" in
24250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24251 *) ac_try_echo=$ac_try;;
24252 esac
24253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24254 (eval "$ac_compile") 2>conftest.er1
24255 ac_status=$?
24256 grep -v '^ *+' conftest.er1 >conftest.err
24257 rm -f conftest.er1
24258 cat conftest.err >&5
24259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24260 (exit $ac_status); } && {
24261 test -z "$ac_cxx_werror_flag" ||
24262 test ! -s conftest.err
24263 } && test -s conftest.$ac_objext; then
24264 ac_cv_header_hash_map=yes
24265 else
24266 echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.$ac_ext >&5
24268
24269 ac_cv_header_hash_map=no
24270 fi
24271
24272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24273 fi
24274 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24275 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24276 if test $ac_cv_header_hash_map = yes; then
24277 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24278 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24279 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24280 echo $ECHO_N "(cached) $ECHO_C" >&6
24281 else
24282 cat >conftest.$ac_ext <<_ACEOF
24283 /* confdefs.h. */
24284 _ACEOF
24285 cat confdefs.h >>conftest.$ac_ext
24286 cat >>conftest.$ac_ext <<_ACEOF
24287 /* end confdefs.h. */
24288 #include <hash_map>
24289 #include <hash_set>
24290 int
24291 main ()
24292 {
24293 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24294 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24295 ;
24296 return 0;
24297 }
24298 _ACEOF
24299 rm -f conftest.$ac_objext
24300 if { (ac_try="$ac_compile"
24301 case "(($ac_try" in
24302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24303 *) ac_try_echo=$ac_try;;
24304 esac
24305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24306 (eval "$ac_compile") 2>conftest.er1
24307 ac_status=$?
24308 grep -v '^ *+' conftest.er1 >conftest.err
24309 rm -f conftest.er1
24310 cat conftest.err >&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); } && {
24313 test -z "$ac_cxx_werror_flag" ||
24314 test ! -s conftest.err
24315 } && test -s conftest.$ac_objext; then
24316 wx_cv_class_stdhashmapset=yes
24317 else
24318 echo "$as_me: failed program was:" >&5
24319 sed 's/^/| /' conftest.$ac_ext >&5
24320
24321 wx_cv_class_stdhashmapset=no
24322 fi
24323
24324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24325
24326
24327 fi
24328 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24329 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24330 fi
24331
24332
24333
24334 if test "$wx_cv_class_stdhashmapset" = yes; then
24335 cat >>confdefs.h <<\_ACEOF
24336 #define HAVE_HASH_MAP 1
24337 _ACEOF
24338
24339 cat >>confdefs.h <<\_ACEOF
24340 #define HAVE_STD_HASH_MAP 1
24341 _ACEOF
24342
24343 fi
24344
24345 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24346 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24347 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24348 echo $ECHO_N "(cached) $ECHO_C" >&6
24349 else
24350 cat >conftest.$ac_ext <<_ACEOF
24351 /* confdefs.h. */
24352 _ACEOF
24353 cat confdefs.h >>conftest.$ac_ext
24354 cat >>conftest.$ac_ext <<_ACEOF
24355 /* end confdefs.h. */
24356
24357
24358
24359 #include <ext/hash_map>
24360 _ACEOF
24361 rm -f conftest.$ac_objext
24362 if { (ac_try="$ac_compile"
24363 case "(($ac_try" in
24364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24365 *) ac_try_echo=$ac_try;;
24366 esac
24367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24368 (eval "$ac_compile") 2>conftest.er1
24369 ac_status=$?
24370 grep -v '^ *+' conftest.er1 >conftest.err
24371 rm -f conftest.er1
24372 cat conftest.err >&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } && {
24375 test -z "$ac_cxx_werror_flag" ||
24376 test ! -s conftest.err
24377 } && test -s conftest.$ac_objext; then
24378 ac_cv_header_ext_hash_map=yes
24379 else
24380 echo "$as_me: failed program was:" >&5
24381 sed 's/^/| /' conftest.$ac_ext >&5
24382
24383 ac_cv_header_ext_hash_map=no
24384 fi
24385
24386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24387 fi
24388 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24389 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24390 if test $ac_cv_header_ext_hash_map = yes; then
24391 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24392 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24393 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24394 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 else
24396 cat >conftest.$ac_ext <<_ACEOF
24397 /* confdefs.h. */
24398 _ACEOF
24399 cat confdefs.h >>conftest.$ac_ext
24400 cat >>conftest.$ac_ext <<_ACEOF
24401 /* end confdefs.h. */
24402 #include <ext/hash_map>
24403 #include <ext/hash_set>
24404 int
24405 main ()
24406 {
24407 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24408 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24409 ;
24410 return 0;
24411 }
24412 _ACEOF
24413 rm -f conftest.$ac_objext
24414 if { (ac_try="$ac_compile"
24415 case "(($ac_try" in
24416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24417 *) ac_try_echo=$ac_try;;
24418 esac
24419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24420 (eval "$ac_compile") 2>conftest.er1
24421 ac_status=$?
24422 grep -v '^ *+' conftest.er1 >conftest.err
24423 rm -f conftest.er1
24424 cat conftest.err >&5
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); } && {
24427 test -z "$ac_cxx_werror_flag" ||
24428 test ! -s conftest.err
24429 } && test -s conftest.$ac_objext; then
24430 wx_cv_class_gnuhashmapset=yes
24431 else
24432 echo "$as_me: failed program was:" >&5
24433 sed 's/^/| /' conftest.$ac_ext >&5
24434
24435 wx_cv_class_gnuhashmapset=no
24436 fi
24437
24438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24439
24440
24441 fi
24442 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24443 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24444 fi
24445
24446
24447
24448 if test "$wx_cv_class_gnuhashmapset" = yes; then
24449 cat >>confdefs.h <<\_ACEOF
24450 #define HAVE_EXT_HASH_MAP 1
24451 _ACEOF
24452
24453 cat >>confdefs.h <<\_ACEOF
24454 #define HAVE_GNU_CXX_HASH_MAP 1
24455 _ACEOF
24456
24457 fi
24458 fi
24459
24460 ac_ext=c
24461 ac_cpp='$CPP $CPPFLAGS'
24462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24465
24466
24467
24468 SEARCH_INCLUDE="\
24469 /usr/local/include \
24470 \
24471 /usr/Motif-2.1/include \
24472 /usr/Motif-1.2/include \
24473 /usr/include/Motif1.2 \
24474 \
24475 /usr/dt/include \
24476 /usr/openwin/include \
24477 \
24478 /usr/include/Xm \
24479 \
24480 /usr/X11R6/include \
24481 /usr/X11R6.4/include \
24482 /usr/X11R5/include \
24483 /usr/X11R4/include \
24484 \
24485 /usr/include/X11R6 \
24486 /usr/include/X11R5 \
24487 /usr/include/X11R4 \
24488 \
24489 /usr/local/X11R6/include \
24490 /usr/local/X11R5/include \
24491 /usr/local/X11R4/include \
24492 \
24493 /usr/local/include/X11R6 \
24494 /usr/local/include/X11R5 \
24495 /usr/local/include/X11R4 \
24496 \
24497 /usr/X11/include \
24498 /usr/include/X11 \
24499 /usr/local/X11/include \
24500 /usr/local/include/X11 \
24501 \
24502 /usr/XFree86/include/X11 \
24503 /usr/pkg/include \
24504 \
24505 /usr/openwin/share/include"
24506
24507 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24508 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24509
24510 case "${host}" in
24511 *-*-irix6* )
24512 if test "${wx_cv_std_libpath+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24514 else
24515
24516 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24517 for e in a so sl dylib dll.a; do
24518 libc="$d/libc.$e"
24519 if test -f $libc; then
24520 save_LIBS="$LIBS"
24521 LIBS="$libc"
24522 cat >conftest.$ac_ext <<_ACEOF
24523 int main() { return 0; }
24524 _ACEOF
24525 rm -f conftest.$ac_objext conftest$ac_exeext
24526 if { (ac_try="$ac_link"
24527 case "(($ac_try" in
24528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24529 *) ac_try_echo=$ac_try;;
24530 esac
24531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24532 (eval "$ac_link") 2>conftest.er1
24533 ac_status=$?
24534 grep -v '^ *+' conftest.er1 >conftest.err
24535 rm -f conftest.er1
24536 cat conftest.err >&5
24537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538 (exit $ac_status); } && {
24539 test -z "$ac_c_werror_flag" ||
24540 test ! -s conftest.err
24541 } && test -s conftest$ac_exeext &&
24542 $as_test_x conftest$ac_exeext; then
24543 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24544 else
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.$ac_ext >&5
24547
24548
24549 fi
24550
24551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24552 conftest$ac_exeext conftest.$ac_ext
24553 LIBS="$save_LIBS"
24554 if test "x$wx_cv_std_libpath" != "x"; then
24555 break 2
24556 fi
24557 fi
24558 done
24559 done
24560 if test "x$wx_cv_std_libpath" = "x"; then
24561 wx_cv_std_libpath="lib"
24562 fi
24563
24564
24565 fi
24566
24567 ;;
24568
24569 *-*-solaris2* )
24570 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24571 wx_cv_std_libpath="lib/64"
24572 else
24573 wx_cv_std_libpath="lib"
24574 fi
24575 ;;
24576
24577 *-*-linux* )
24578 if test "$ac_cv_sizeof_void_p" = 8 -a \
24579 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24580 wx_cv_std_libpath="lib64"
24581 else
24582 wx_cv_std_libpath="lib"
24583 fi
24584 ;;
24585
24586 *)
24587 wx_cv_std_libpath="lib";
24588 ;;
24589 esac
24590
24591 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24592 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24593
24594 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24595
24596 if test "$build" != "$host" -a "$GCC" = yes; then
24597 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24598 cross_root=`dirname $cross_root`
24599 cross_root=`dirname $cross_root`
24600
24601 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24602 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24603 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24604
24605 if test -z "$PKG_CONFIG_PATH"; then
24606 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24607 export PKG_CONFIG_PATH
24608 fi
24609
24610 if test -z "$x_includes" -o "$x_includes" = NONE; then
24611
24612 ac_find_includes=
24613 for ac_dir in $SEARCH_INCLUDE /usr/include;
24614 do
24615 if test -f "$ac_dir/X11/Intrinsic.h"; then
24616 ac_find_includes=$ac_dir
24617 break
24618 fi
24619 done
24620
24621 x_includes=$ac_find_includes
24622 fi
24623 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24624
24625 ac_find_libraries=
24626 for ac_dir in $SEARCH_LIB;
24627 do
24628 for ac_extension in a so sl dylib dll.a; do
24629 if test -f "$ac_dir/libXt.$ac_extension"; then
24630 ac_find_libraries=$ac_dir
24631 break 2
24632 fi
24633 done
24634 done
24635
24636 x_libraries=$ac_find_libraries
24637 fi
24638 fi
24639 fi
24640
24641
24642 cat >confcache <<\_ACEOF
24643 # This file is a shell script that caches the results of configure
24644 # tests run on this system so they can be shared between configure
24645 # scripts and configure runs, see configure's option --config-cache.
24646 # It is not useful on other systems. If it contains results you don't
24647 # want to keep, you may remove or edit it.
24648 #
24649 # config.status only pays attention to the cache file if you give it
24650 # the --recheck option to rerun configure.
24651 #
24652 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24653 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24654 # following values.
24655
24656 _ACEOF
24657
24658 # The following way of writing the cache mishandles newlines in values,
24659 # but we know of no workaround that is simple, portable, and efficient.
24660 # So, we kill variables containing newlines.
24661 # Ultrix sh set writes to stderr and can't be redirected directly,
24662 # and sets the high bit in the cache file unless we assign to the vars.
24663 (
24664 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24665 eval ac_val=\$$ac_var
24666 case $ac_val in #(
24667 *${as_nl}*)
24668 case $ac_var in #(
24669 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24670 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24671 esac
24672 case $ac_var in #(
24673 _ | IFS | as_nl) ;; #(
24674 *) $as_unset $ac_var ;;
24675 esac ;;
24676 esac
24677 done
24678
24679 (set) 2>&1 |
24680 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24681 *${as_nl}ac_space=\ *)
24682 # `set' does not quote correctly, so add quotes (double-quote
24683 # substitution turns \\\\ into \\, and sed turns \\ into \).
24684 sed -n \
24685 "s/'/'\\\\''/g;
24686 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24687 ;; #(
24688 *)
24689 # `set' quotes correctly as required by POSIX, so do not add quotes.
24690 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24691 ;;
24692 esac |
24693 sort
24694 ) |
24695 sed '
24696 /^ac_cv_env_/b end
24697 t clear
24698 :clear
24699 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24700 t end
24701 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24702 :end' >>confcache
24703 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24704 if test -w "$cache_file"; then
24705 test "x$cache_file" != "x/dev/null" &&
24706 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24707 echo "$as_me: updating cache $cache_file" >&6;}
24708 cat confcache >$cache_file
24709 else
24710 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24711 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24712 fi
24713 fi
24714 rm -f confcache
24715
24716 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24717 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24718 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24719 if test "${wx_cv_lib_glibc21+set}" = set; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6
24721 else
24722
24723 cat >conftest.$ac_ext <<_ACEOF
24724 /* confdefs.h. */
24725 _ACEOF
24726 cat confdefs.h >>conftest.$ac_ext
24727 cat >>conftest.$ac_ext <<_ACEOF
24728 /* end confdefs.h. */
24729 #include <features.h>
24730 int
24731 main ()
24732 {
24733
24734 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24735 not glibc 2.1
24736 #endif
24737
24738 ;
24739 return 0;
24740 }
24741 _ACEOF
24742 rm -f conftest.$ac_objext
24743 if { (ac_try="$ac_compile"
24744 case "(($ac_try" in
24745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24746 *) ac_try_echo=$ac_try;;
24747 esac
24748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24749 (eval "$ac_compile") 2>conftest.er1
24750 ac_status=$?
24751 grep -v '^ *+' conftest.er1 >conftest.err
24752 rm -f conftest.er1
24753 cat conftest.err >&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); } && {
24756 test -z "$ac_c_werror_flag" ||
24757 test ! -s conftest.err
24758 } && test -s conftest.$ac_objext; then
24759
24760 wx_cv_lib_glibc21=yes
24761
24762 else
24763 echo "$as_me: failed program was:" >&5
24764 sed 's/^/| /' conftest.$ac_ext >&5
24765
24766
24767 wx_cv_lib_glibc21=no
24768
24769
24770 fi
24771
24772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24773
24774 fi
24775 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24776 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24777 if test "$wx_cv_lib_glibc21" = "yes"; then
24778 cat >>confdefs.h <<\_ACEOF
24779 #define wxHAVE_GLIBC2 1
24780 _ACEOF
24781
24782 fi
24783 fi
24784
24785 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24786 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24787 cat >>confdefs.h <<\_ACEOF
24788 #define _GNU_SOURCE 1
24789 _ACEOF
24790
24791 fi
24792 fi
24793
24794 have_cos=0
24795 have_floor=0
24796
24797 for ac_func in cos
24798 do
24799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24800 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24803 echo $ECHO_N "(cached) $ECHO_C" >&6
24804 else
24805 cat >conftest.$ac_ext <<_ACEOF
24806 /* confdefs.h. */
24807 _ACEOF
24808 cat confdefs.h >>conftest.$ac_ext
24809 cat >>conftest.$ac_ext <<_ACEOF
24810 /* end confdefs.h. */
24811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24813 #define $ac_func innocuous_$ac_func
24814
24815 /* System header to define __stub macros and hopefully few prototypes,
24816 which can conflict with char $ac_func (); below.
24817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24818 <limits.h> exists even on freestanding compilers. */
24819
24820 #ifdef __STDC__
24821 # include <limits.h>
24822 #else
24823 # include <assert.h>
24824 #endif
24825
24826 #undef $ac_func
24827
24828 /* Override any GCC internal prototype to avoid an error.
24829 Use char because int might match the return type of a GCC
24830 builtin and then its argument prototype would still apply. */
24831 #ifdef __cplusplus
24832 extern "C"
24833 #endif
24834 char $ac_func ();
24835 /* The GNU C library defines this for functions which it implements
24836 to always fail with ENOSYS. Some functions are actually named
24837 something starting with __ and the normal name is an alias. */
24838 #if defined __stub_$ac_func || defined __stub___$ac_func
24839 choke me
24840 #endif
24841
24842 int
24843 main ()
24844 {
24845 return $ac_func ();
24846 ;
24847 return 0;
24848 }
24849 _ACEOF
24850 rm -f conftest.$ac_objext conftest$ac_exeext
24851 if { (ac_try="$ac_link"
24852 case "(($ac_try" in
24853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24854 *) ac_try_echo=$ac_try;;
24855 esac
24856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24857 (eval "$ac_link") 2>conftest.er1
24858 ac_status=$?
24859 grep -v '^ *+' conftest.er1 >conftest.err
24860 rm -f conftest.er1
24861 cat conftest.err >&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); } && {
24864 test -z "$ac_c_werror_flag" ||
24865 test ! -s conftest.err
24866 } && test -s conftest$ac_exeext &&
24867 $as_test_x conftest$ac_exeext; then
24868 eval "$as_ac_var=yes"
24869 else
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.$ac_ext >&5
24872
24873 eval "$as_ac_var=no"
24874 fi
24875
24876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24877 conftest$ac_exeext conftest.$ac_ext
24878 fi
24879 ac_res=`eval echo '${'$as_ac_var'}'`
24880 { echo "$as_me:$LINENO: result: $ac_res" >&5
24881 echo "${ECHO_T}$ac_res" >&6; }
24882 if test `eval echo '${'$as_ac_var'}'` = yes; then
24883 cat >>confdefs.h <<_ACEOF
24884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24885 _ACEOF
24886 have_cos=1
24887 fi
24888 done
24889
24890
24891 for ac_func in floor
24892 do
24893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24897 echo $ECHO_N "(cached) $ECHO_C" >&6
24898 else
24899 cat >conftest.$ac_ext <<_ACEOF
24900 /* confdefs.h. */
24901 _ACEOF
24902 cat confdefs.h >>conftest.$ac_ext
24903 cat >>conftest.$ac_ext <<_ACEOF
24904 /* end confdefs.h. */
24905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24907 #define $ac_func innocuous_$ac_func
24908
24909 /* System header to define __stub macros and hopefully few prototypes,
24910 which can conflict with char $ac_func (); below.
24911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24912 <limits.h> exists even on freestanding compilers. */
24913
24914 #ifdef __STDC__
24915 # include <limits.h>
24916 #else
24917 # include <assert.h>
24918 #endif
24919
24920 #undef $ac_func
24921
24922 /* Override any GCC internal prototype to avoid an error.
24923 Use char because int might match the return type of a GCC
24924 builtin and then its argument prototype would still apply. */
24925 #ifdef __cplusplus
24926 extern "C"
24927 #endif
24928 char $ac_func ();
24929 /* The GNU C library defines this for functions which it implements
24930 to always fail with ENOSYS. Some functions are actually named
24931 something starting with __ and the normal name is an alias. */
24932 #if defined __stub_$ac_func || defined __stub___$ac_func
24933 choke me
24934 #endif
24935
24936 int
24937 main ()
24938 {
24939 return $ac_func ();
24940 ;
24941 return 0;
24942 }
24943 _ACEOF
24944 rm -f conftest.$ac_objext conftest$ac_exeext
24945 if { (ac_try="$ac_link"
24946 case "(($ac_try" in
24947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24948 *) ac_try_echo=$ac_try;;
24949 esac
24950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24951 (eval "$ac_link") 2>conftest.er1
24952 ac_status=$?
24953 grep -v '^ *+' conftest.er1 >conftest.err
24954 rm -f conftest.er1
24955 cat conftest.err >&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } && {
24958 test -z "$ac_c_werror_flag" ||
24959 test ! -s conftest.err
24960 } && test -s conftest$ac_exeext &&
24961 $as_test_x conftest$ac_exeext; then
24962 eval "$as_ac_var=yes"
24963 else
24964 echo "$as_me: failed program was:" >&5
24965 sed 's/^/| /' conftest.$ac_ext >&5
24966
24967 eval "$as_ac_var=no"
24968 fi
24969
24970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24971 conftest$ac_exeext conftest.$ac_ext
24972 fi
24973 ac_res=`eval echo '${'$as_ac_var'}'`
24974 { echo "$as_me:$LINENO: result: $ac_res" >&5
24975 echo "${ECHO_T}$ac_res" >&6; }
24976 if test `eval echo '${'$as_ac_var'}'` = yes; then
24977 cat >>confdefs.h <<_ACEOF
24978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24979 _ACEOF
24980 have_floor=1
24981 fi
24982 done
24983
24984 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24985 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24986 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24987 { echo "$as_me:$LINENO: result: yes" >&5
24988 echo "${ECHO_T}yes" >&6; }
24989 else
24990 { echo "$as_me:$LINENO: result: no" >&5
24991 echo "${ECHO_T}no" >&6; }
24992 LIBS="$LIBS -lm"
24993 # use different functions to avoid configure caching
24994 have_sin=0
24995 have_ceil=0
24996
24997 for ac_func in sin
24998 do
24999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25000 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25002 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25003 echo $ECHO_N "(cached) $ECHO_C" >&6
25004 else
25005 cat >conftest.$ac_ext <<_ACEOF
25006 /* confdefs.h. */
25007 _ACEOF
25008 cat confdefs.h >>conftest.$ac_ext
25009 cat >>conftest.$ac_ext <<_ACEOF
25010 /* end confdefs.h. */
25011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25013 #define $ac_func innocuous_$ac_func
25014
25015 /* System header to define __stub macros and hopefully few prototypes,
25016 which can conflict with char $ac_func (); below.
25017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25018 <limits.h> exists even on freestanding compilers. */
25019
25020 #ifdef __STDC__
25021 # include <limits.h>
25022 #else
25023 # include <assert.h>
25024 #endif
25025
25026 #undef $ac_func
25027
25028 /* Override any GCC internal prototype to avoid an error.
25029 Use char because int might match the return type of a GCC
25030 builtin and then its argument prototype would still apply. */
25031 #ifdef __cplusplus
25032 extern "C"
25033 #endif
25034 char $ac_func ();
25035 /* The GNU C library defines this for functions which it implements
25036 to always fail with ENOSYS. Some functions are actually named
25037 something starting with __ and the normal name is an alias. */
25038 #if defined __stub_$ac_func || defined __stub___$ac_func
25039 choke me
25040 #endif
25041
25042 int
25043 main ()
25044 {
25045 return $ac_func ();
25046 ;
25047 return 0;
25048 }
25049 _ACEOF
25050 rm -f conftest.$ac_objext conftest$ac_exeext
25051 if { (ac_try="$ac_link"
25052 case "(($ac_try" in
25053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25054 *) ac_try_echo=$ac_try;;
25055 esac
25056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25057 (eval "$ac_link") 2>conftest.er1
25058 ac_status=$?
25059 grep -v '^ *+' conftest.er1 >conftest.err
25060 rm -f conftest.er1
25061 cat conftest.err >&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); } && {
25064 test -z "$ac_c_werror_flag" ||
25065 test ! -s conftest.err
25066 } && test -s conftest$ac_exeext &&
25067 $as_test_x conftest$ac_exeext; then
25068 eval "$as_ac_var=yes"
25069 else
25070 echo "$as_me: failed program was:" >&5
25071 sed 's/^/| /' conftest.$ac_ext >&5
25072
25073 eval "$as_ac_var=no"
25074 fi
25075
25076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25077 conftest$ac_exeext conftest.$ac_ext
25078 fi
25079 ac_res=`eval echo '${'$as_ac_var'}'`
25080 { echo "$as_me:$LINENO: result: $ac_res" >&5
25081 echo "${ECHO_T}$ac_res" >&6; }
25082 if test `eval echo '${'$as_ac_var'}'` = yes; then
25083 cat >>confdefs.h <<_ACEOF
25084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25085 _ACEOF
25086 have_sin=1
25087 fi
25088 done
25089
25090
25091 for ac_func in ceil
25092 do
25093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25094 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25096 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25098 else
25099 cat >conftest.$ac_ext <<_ACEOF
25100 /* confdefs.h. */
25101 _ACEOF
25102 cat confdefs.h >>conftest.$ac_ext
25103 cat >>conftest.$ac_ext <<_ACEOF
25104 /* end confdefs.h. */
25105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25107 #define $ac_func innocuous_$ac_func
25108
25109 /* System header to define __stub macros and hopefully few prototypes,
25110 which can conflict with char $ac_func (); below.
25111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25112 <limits.h> exists even on freestanding compilers. */
25113
25114 #ifdef __STDC__
25115 # include <limits.h>
25116 #else
25117 # include <assert.h>
25118 #endif
25119
25120 #undef $ac_func
25121
25122 /* Override any GCC internal prototype to avoid an error.
25123 Use char because int might match the return type of a GCC
25124 builtin and then its argument prototype would still apply. */
25125 #ifdef __cplusplus
25126 extern "C"
25127 #endif
25128 char $ac_func ();
25129 /* The GNU C library defines this for functions which it implements
25130 to always fail with ENOSYS. Some functions are actually named
25131 something starting with __ and the normal name is an alias. */
25132 #if defined __stub_$ac_func || defined __stub___$ac_func
25133 choke me
25134 #endif
25135
25136 int
25137 main ()
25138 {
25139 return $ac_func ();
25140 ;
25141 return 0;
25142 }
25143 _ACEOF
25144 rm -f conftest.$ac_objext conftest$ac_exeext
25145 if { (ac_try="$ac_link"
25146 case "(($ac_try" in
25147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25148 *) ac_try_echo=$ac_try;;
25149 esac
25150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25151 (eval "$ac_link") 2>conftest.er1
25152 ac_status=$?
25153 grep -v '^ *+' conftest.er1 >conftest.err
25154 rm -f conftest.er1
25155 cat conftest.err >&5
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); } && {
25158 test -z "$ac_c_werror_flag" ||
25159 test ! -s conftest.err
25160 } && test -s conftest$ac_exeext &&
25161 $as_test_x conftest$ac_exeext; then
25162 eval "$as_ac_var=yes"
25163 else
25164 echo "$as_me: failed program was:" >&5
25165 sed 's/^/| /' conftest.$ac_ext >&5
25166
25167 eval "$as_ac_var=no"
25168 fi
25169
25170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25171 conftest$ac_exeext conftest.$ac_ext
25172 fi
25173 ac_res=`eval echo '${'$as_ac_var'}'`
25174 { echo "$as_me:$LINENO: result: $ac_res" >&5
25175 echo "${ECHO_T}$ac_res" >&6; }
25176 if test `eval echo '${'$as_ac_var'}'` = yes; then
25177 cat >>confdefs.h <<_ACEOF
25178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25179 _ACEOF
25180 have_ceil=1
25181 fi
25182 done
25183
25184 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25185 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25186 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25187 { echo "$as_me:$LINENO: result: yes" >&5
25188 echo "${ECHO_T}yes" >&6; }
25189 else
25190 { echo "$as_me:$LINENO: result: no" >&5
25191 echo "${ECHO_T}no" >&6; }
25192 # not sure we should warn the user, crash, etc.
25193 fi
25194 fi
25195
25196 ac_ext=cpp
25197 ac_cpp='$CXXCPP $CPPFLAGS'
25198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25201
25202 if test "wxUSE_UNICODE" = "yes"; then
25203
25204 for wx_func in wcstoull
25205 do
25206 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25207 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25208 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25210 else
25211
25212 cat >conftest.$ac_ext <<_ACEOF
25213
25214 /* confdefs.h. */
25215 _ACEOF
25216 cat confdefs.h >>conftest.$ac_ext
25217 cat >>conftest.$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25219
25220
25221 $ac_includes_default
25222
25223 int
25224 main ()
25225 {
25226
25227 #ifndef $wx_func
25228 &$wx_func;
25229 #endif
25230
25231
25232 ;
25233 return 0;
25234 }
25235
25236 _ACEOF
25237 rm -f conftest.$ac_objext conftest$ac_exeext
25238 if { (ac_try="$ac_link"
25239 case "(($ac_try" in
25240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25241 *) ac_try_echo=$ac_try;;
25242 esac
25243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25244 (eval "$ac_link") 2>conftest.er1
25245 ac_status=$?
25246 grep -v '^ *+' conftest.er1 >conftest.err
25247 rm -f conftest.er1
25248 cat conftest.err >&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } && {
25251 test -z "$ac_cxx_werror_flag" ||
25252 test ! -s conftest.err
25253 } && test -s conftest$ac_exeext &&
25254 $as_test_x conftest$ac_exeext; then
25255 eval wx_cv_func_$wx_func=yes
25256 else
25257 echo "$as_me: failed program was:" >&5
25258 sed 's/^/| /' conftest.$ac_ext >&5
25259
25260 eval wx_cv_func_$wx_func=no
25261 fi
25262
25263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25264 conftest$ac_exeext conftest.$ac_ext
25265
25266 fi
25267 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25268 { echo "$as_me:$LINENO: result: $ac_res" >&5
25269 echo "${ECHO_T}$ac_res" >&6; }
25270
25271 if eval test \$wx_cv_func_$wx_func = yes
25272 then
25273 cat >>confdefs.h <<_ACEOF
25274 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25275 _ACEOF
25276
25277
25278 else
25279 :
25280
25281 fi
25282 done
25283
25284 else
25285
25286 for wx_func in strtoull
25287 do
25288 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25289 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25290 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25291 echo $ECHO_N "(cached) $ECHO_C" >&6
25292 else
25293
25294 cat >conftest.$ac_ext <<_ACEOF
25295
25296 /* confdefs.h. */
25297 _ACEOF
25298 cat confdefs.h >>conftest.$ac_ext
25299 cat >>conftest.$ac_ext <<_ACEOF
25300 /* end confdefs.h. */
25301
25302
25303 $ac_includes_default
25304
25305 int
25306 main ()
25307 {
25308
25309 #ifndef $wx_func
25310 &$wx_func;
25311 #endif
25312
25313
25314 ;
25315 return 0;
25316 }
25317
25318 _ACEOF
25319 rm -f conftest.$ac_objext conftest$ac_exeext
25320 if { (ac_try="$ac_link"
25321 case "(($ac_try" in
25322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25323 *) ac_try_echo=$ac_try;;
25324 esac
25325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25326 (eval "$ac_link") 2>conftest.er1
25327 ac_status=$?
25328 grep -v '^ *+' conftest.er1 >conftest.err
25329 rm -f conftest.er1
25330 cat conftest.err >&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } && {
25333 test -z "$ac_cxx_werror_flag" ||
25334 test ! -s conftest.err
25335 } && test -s conftest$ac_exeext &&
25336 $as_test_x conftest$ac_exeext; then
25337 eval wx_cv_func_$wx_func=yes
25338 else
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25341
25342 eval wx_cv_func_$wx_func=no
25343 fi
25344
25345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25346 conftest$ac_exeext conftest.$ac_ext
25347
25348 fi
25349 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25350 { echo "$as_me:$LINENO: result: $ac_res" >&5
25351 echo "${ECHO_T}$ac_res" >&6; }
25352
25353 if eval test \$wx_cv_func_$wx_func = yes
25354 then
25355 cat >>confdefs.h <<_ACEOF
25356 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25357 _ACEOF
25358
25359
25360 else
25361 :
25362
25363 fi
25364 done
25365
25366 fi
25367 ac_ext=c
25368 ac_cpp='$CPP $CPPFLAGS'
25369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25372
25373
25374
25375
25376 if test "$wxUSE_REGEX" != "no"; then
25377 cat >>confdefs.h <<\_ACEOF
25378 #define wxUSE_REGEX 1
25379 _ACEOF
25380
25381
25382 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25383 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25384 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25385 wxUSE_REGEX=builtin
25386 fi
25387
25388 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25389 { echo "$as_me:$LINENO: checking for regex.h" >&5
25390 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25391 if test "${ac_cv_header_regex_h+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25393 else
25394 cat >conftest.$ac_ext <<_ACEOF
25395 /* confdefs.h. */
25396 _ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h. */
25400
25401
25402 #include <regex.h>
25403 _ACEOF
25404 rm -f conftest.$ac_objext
25405 if { (ac_try="$ac_compile"
25406 case "(($ac_try" in
25407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25408 *) ac_try_echo=$ac_try;;
25409 esac
25410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25411 (eval "$ac_compile") 2>conftest.er1
25412 ac_status=$?
25413 grep -v '^ *+' conftest.er1 >conftest.err
25414 rm -f conftest.er1
25415 cat conftest.err >&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } && {
25418 test -z "$ac_c_werror_flag" ||
25419 test ! -s conftest.err
25420 } && test -s conftest.$ac_objext; then
25421 ac_cv_header_regex_h=yes
25422 else
25423 echo "$as_me: failed program was:" >&5
25424 sed 's/^/| /' conftest.$ac_ext >&5
25425
25426 ac_cv_header_regex_h=no
25427 fi
25428
25429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25430 fi
25431 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25432 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25433 if test $ac_cv_header_regex_h = yes; then
25434
25435
25436 for ac_func in regcomp re_search
25437 do
25438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25439 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 else
25444 cat >conftest.$ac_ext <<_ACEOF
25445 /* confdefs.h. */
25446 _ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25452 #define $ac_func innocuous_$ac_func
25453
25454 /* System header to define __stub macros and hopefully few prototypes,
25455 which can conflict with char $ac_func (); below.
25456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25457 <limits.h> exists even on freestanding compilers. */
25458
25459 #ifdef __STDC__
25460 # include <limits.h>
25461 #else
25462 # include <assert.h>
25463 #endif
25464
25465 #undef $ac_func
25466
25467 /* Override any GCC internal prototype to avoid an error.
25468 Use char because int might match the return type of a GCC
25469 builtin and then its argument prototype would still apply. */
25470 #ifdef __cplusplus
25471 extern "C"
25472 #endif
25473 char $ac_func ();
25474 /* The GNU C library defines this for functions which it implements
25475 to always fail with ENOSYS. Some functions are actually named
25476 something starting with __ and the normal name is an alias. */
25477 #if defined __stub_$ac_func || defined __stub___$ac_func
25478 choke me
25479 #endif
25480
25481 int
25482 main ()
25483 {
25484 return $ac_func ();
25485 ;
25486 return 0;
25487 }
25488 _ACEOF
25489 rm -f conftest.$ac_objext conftest$ac_exeext
25490 if { (ac_try="$ac_link"
25491 case "(($ac_try" in
25492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25493 *) ac_try_echo=$ac_try;;
25494 esac
25495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25496 (eval "$ac_link") 2>conftest.er1
25497 ac_status=$?
25498 grep -v '^ *+' conftest.er1 >conftest.err
25499 rm -f conftest.er1
25500 cat conftest.err >&5
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); } && {
25503 test -z "$ac_c_werror_flag" ||
25504 test ! -s conftest.err
25505 } && test -s conftest$ac_exeext &&
25506 $as_test_x conftest$ac_exeext; then
25507 eval "$as_ac_var=yes"
25508 else
25509 echo "$as_me: failed program was:" >&5
25510 sed 's/^/| /' conftest.$ac_ext >&5
25511
25512 eval "$as_ac_var=no"
25513 fi
25514
25515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25516 conftest$ac_exeext conftest.$ac_ext
25517 fi
25518 ac_res=`eval echo '${'$as_ac_var'}'`
25519 { echo "$as_me:$LINENO: result: $ac_res" >&5
25520 echo "${ECHO_T}$ac_res" >&6; }
25521 if test `eval echo '${'$as_ac_var'}'` = yes; then
25522 cat >>confdefs.h <<_ACEOF
25523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25524 _ACEOF
25525
25526 fi
25527 done
25528
25529 fi
25530
25531
25532
25533 if test "x$ac_cv_func_regcomp" != "xyes"; then
25534 if test "$wxUSE_REGEX" = "sys" ; then
25535 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25536 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25537 { (exit 1); exit 1; }; }
25538 else
25539 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25540 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25541 wxUSE_REGEX=builtin
25542 fi
25543 else
25544 wxUSE_REGEX=sys
25545 cat >>confdefs.h <<\_ACEOF
25546 #define WX_NO_REGEX_ADVANCED 1
25547 _ACEOF
25548
25549 fi
25550 fi
25551 fi
25552
25553
25554 ZLIB_LINK=
25555 if test "$wxUSE_ZLIB" != "no" ; then
25556 cat >>confdefs.h <<\_ACEOF
25557 #define wxUSE_ZLIB 1
25558 _ACEOF
25559
25560
25561 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25562 if test "$USE_DARWIN" = 1; then
25563 system_zlib_h_ok="yes"
25564 else
25565 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25566 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25567 if test "${ac_cv_header_zlib_h+set}" = set; then
25568 echo $ECHO_N "(cached) $ECHO_C" >&6
25569 else
25570 if test "$cross_compiling" = yes; then
25571 unset ac_cv_header_zlib_h
25572
25573 else
25574 cat >conftest.$ac_ext <<_ACEOF
25575 /* confdefs.h. */
25576 _ACEOF
25577 cat confdefs.h >>conftest.$ac_ext
25578 cat >>conftest.$ac_ext <<_ACEOF
25579 /* end confdefs.h. */
25580
25581 #include <zlib.h>
25582 #include <stdio.h>
25583
25584 int main()
25585 {
25586 FILE *f=fopen("conftestval", "w");
25587 if (!f) exit(1);
25588 fprintf(f, "%s",
25589 ZLIB_VERSION[0] == '1' &&
25590 (ZLIB_VERSION[2] > '1' ||
25591 (ZLIB_VERSION[2] == '1' &&
25592 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25593 exit(0);
25594 }
25595
25596 _ACEOF
25597 rm -f conftest$ac_exeext
25598 if { (ac_try="$ac_link"
25599 case "(($ac_try" in
25600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25601 *) ac_try_echo=$ac_try;;
25602 esac
25603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25604 (eval "$ac_link") 2>&5
25605 ac_status=$?
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25608 { (case "(($ac_try" in
25609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25610 *) ac_try_echo=$ac_try;;
25611 esac
25612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25613 (eval "$ac_try") 2>&5
25614 ac_status=$?
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); }; }; then
25617 ac_cv_header_zlib_h=`cat conftestval`
25618 else
25619 echo "$as_me: program exited with status $ac_status" >&5
25620 echo "$as_me: failed program was:" >&5
25621 sed 's/^/| /' conftest.$ac_ext >&5
25622
25623 ( exit $ac_status )
25624 ac_cv_header_zlib_h=no
25625 fi
25626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25627 fi
25628
25629
25630
25631 fi
25632 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25633 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25634 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25635 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25636 if test "${ac_cv_header_zlib_h+set}" = set; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25638 else
25639 cat >conftest.$ac_ext <<_ACEOF
25640 /* confdefs.h. */
25641 _ACEOF
25642 cat confdefs.h >>conftest.$ac_ext
25643 cat >>conftest.$ac_ext <<_ACEOF
25644 /* end confdefs.h. */
25645
25646
25647 #include <zlib.h>
25648 _ACEOF
25649 rm -f conftest.$ac_objext
25650 if { (ac_try="$ac_compile"
25651 case "(($ac_try" in
25652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25653 *) ac_try_echo=$ac_try;;
25654 esac
25655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25656 (eval "$ac_compile") 2>conftest.er1
25657 ac_status=$?
25658 grep -v '^ *+' conftest.er1 >conftest.err
25659 rm -f conftest.er1
25660 cat conftest.err >&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); } && {
25663 test -z "$ac_c_werror_flag" ||
25664 test ! -s conftest.err
25665 } && test -s conftest.$ac_objext; then
25666 ac_cv_header_zlib_h=yes
25667 else
25668 echo "$as_me: failed program was:" >&5
25669 sed 's/^/| /' conftest.$ac_ext >&5
25670
25671 ac_cv_header_zlib_h=no
25672 fi
25673
25674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25675 fi
25676 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25677 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25678
25679
25680
25681 system_zlib_h_ok=$ac_cv_header_zlib_h
25682 fi
25683
25684 if test "$system_zlib_h_ok" = "yes"; then
25685 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25686 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25687 if test "${ac_cv_lib_z_deflate+set}" = set; then
25688 echo $ECHO_N "(cached) $ECHO_C" >&6
25689 else
25690 ac_check_lib_save_LIBS=$LIBS
25691 LIBS="-lz $LIBS"
25692 cat >conftest.$ac_ext <<_ACEOF
25693 /* confdefs.h. */
25694 _ACEOF
25695 cat confdefs.h >>conftest.$ac_ext
25696 cat >>conftest.$ac_ext <<_ACEOF
25697 /* end confdefs.h. */
25698
25699 /* Override any GCC internal prototype to avoid an error.
25700 Use char because int might match the return type of a GCC
25701 builtin and then its argument prototype would still apply. */
25702 #ifdef __cplusplus
25703 extern "C"
25704 #endif
25705 char deflate ();
25706 int
25707 main ()
25708 {
25709 return deflate ();
25710 ;
25711 return 0;
25712 }
25713 _ACEOF
25714 rm -f conftest.$ac_objext conftest$ac_exeext
25715 if { (ac_try="$ac_link"
25716 case "(($ac_try" in
25717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25718 *) ac_try_echo=$ac_try;;
25719 esac
25720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25721 (eval "$ac_link") 2>conftest.er1
25722 ac_status=$?
25723 grep -v '^ *+' conftest.er1 >conftest.err
25724 rm -f conftest.er1
25725 cat conftest.err >&5
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); } && {
25728 test -z "$ac_c_werror_flag" ||
25729 test ! -s conftest.err
25730 } && test -s conftest$ac_exeext &&
25731 $as_test_x conftest$ac_exeext; then
25732 ac_cv_lib_z_deflate=yes
25733 else
25734 echo "$as_me: failed program was:" >&5
25735 sed 's/^/| /' conftest.$ac_ext >&5
25736
25737 ac_cv_lib_z_deflate=no
25738 fi
25739
25740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25741 conftest$ac_exeext conftest.$ac_ext
25742 LIBS=$ac_check_lib_save_LIBS
25743 fi
25744 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25745 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25746 if test $ac_cv_lib_z_deflate = yes; then
25747 ZLIB_LINK=" -lz"
25748 fi
25749
25750 fi
25751
25752 if test "x$ZLIB_LINK" = "x" ; then
25753 if test "$wxUSE_ZLIB" = "sys" ; then
25754 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25755 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25756 { (exit 1); exit 1; }; }
25757 else
25758 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25759 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25760 wxUSE_ZLIB=builtin
25761 fi
25762 else
25763 wxUSE_ZLIB=sys
25764 fi
25765 fi
25766 fi
25767
25768
25769 PNG_LINK=
25770 if test "$wxUSE_LIBPNG" != "no" ; then
25771 cat >>confdefs.h <<\_ACEOF
25772 #define wxUSE_LIBPNG 1
25773 _ACEOF
25774
25775
25776 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25777 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25778 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25779 wxUSE_LIBPNG=sys
25780 fi
25781
25782 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25783 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25784 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25785 wxUSE_LIBPNG=builtin
25786 fi
25787
25788 if test "$wxUSE_MGL" != 1 ; then
25789 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25790 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25791 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25792 if test "${ac_cv_header_png_h+set}" = set; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
25794 else
25795 if test "$cross_compiling" = yes; then
25796 unset ac_cv_header_png_h
25797
25798 else
25799 cat >conftest.$ac_ext <<_ACEOF
25800 /* confdefs.h. */
25801 _ACEOF
25802 cat confdefs.h >>conftest.$ac_ext
25803 cat >>conftest.$ac_ext <<_ACEOF
25804 /* end confdefs.h. */
25805
25806 #include <png.h>
25807 #include <stdio.h>
25808
25809 int main()
25810 {
25811 FILE *f=fopen("conftestval", "w");
25812 if (!f) exit(1);
25813 fprintf(f, "%s",
25814 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25815 exit(0);
25816 }
25817
25818 _ACEOF
25819 rm -f conftest$ac_exeext
25820 if { (ac_try="$ac_link"
25821 case "(($ac_try" in
25822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25823 *) ac_try_echo=$ac_try;;
25824 esac
25825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25826 (eval "$ac_link") 2>&5
25827 ac_status=$?
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25830 { (case "(($ac_try" in
25831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25832 *) ac_try_echo=$ac_try;;
25833 esac
25834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25835 (eval "$ac_try") 2>&5
25836 ac_status=$?
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); }; }; then
25839 ac_cv_header_png_h=`cat conftestval`
25840 else
25841 echo "$as_me: program exited with status $ac_status" >&5
25842 echo "$as_me: failed program was:" >&5
25843 sed 's/^/| /' conftest.$ac_ext >&5
25844
25845 ( exit $ac_status )
25846 ac_cv_header_png_h=no
25847 fi
25848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25849 fi
25850
25851
25852
25853 fi
25854 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25855 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25856 { echo "$as_me:$LINENO: checking for png.h" >&5
25857 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25858 if test "${ac_cv_header_png_h+set}" = set; then
25859 echo $ECHO_N "(cached) $ECHO_C" >&6
25860 else
25861 cat >conftest.$ac_ext <<_ACEOF
25862 /* confdefs.h. */
25863 _ACEOF
25864 cat confdefs.h >>conftest.$ac_ext
25865 cat >>conftest.$ac_ext <<_ACEOF
25866 /* end confdefs.h. */
25867
25868
25869 #include <png.h>
25870 _ACEOF
25871 rm -f conftest.$ac_objext
25872 if { (ac_try="$ac_compile"
25873 case "(($ac_try" in
25874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25875 *) ac_try_echo=$ac_try;;
25876 esac
25877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25878 (eval "$ac_compile") 2>conftest.er1
25879 ac_status=$?
25880 grep -v '^ *+' conftest.er1 >conftest.err
25881 rm -f conftest.er1
25882 cat conftest.err >&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } && {
25885 test -z "$ac_c_werror_flag" ||
25886 test ! -s conftest.err
25887 } && test -s conftest.$ac_objext; then
25888 ac_cv_header_png_h=yes
25889 else
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.$ac_ext >&5
25892
25893 ac_cv_header_png_h=no
25894 fi
25895
25896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 fi
25898 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25899 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25900
25901
25902
25903 if test "$ac_cv_header_png_h" = "yes"; then
25904 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25905 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25906 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25907 echo $ECHO_N "(cached) $ECHO_C" >&6
25908 else
25909 ac_check_lib_save_LIBS=$LIBS
25910 LIBS="-lpng -lz -lm $LIBS"
25911 cat >conftest.$ac_ext <<_ACEOF
25912 /* confdefs.h. */
25913 _ACEOF
25914 cat confdefs.h >>conftest.$ac_ext
25915 cat >>conftest.$ac_ext <<_ACEOF
25916 /* end confdefs.h. */
25917
25918 /* Override any GCC internal prototype to avoid an error.
25919 Use char because int might match the return type of a GCC
25920 builtin and then its argument prototype would still apply. */
25921 #ifdef __cplusplus
25922 extern "C"
25923 #endif
25924 char png_check_sig ();
25925 int
25926 main ()
25927 {
25928 return png_check_sig ();
25929 ;
25930 return 0;
25931 }
25932 _ACEOF
25933 rm -f conftest.$ac_objext conftest$ac_exeext
25934 if { (ac_try="$ac_link"
25935 case "(($ac_try" in
25936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25937 *) ac_try_echo=$ac_try;;
25938 esac
25939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25940 (eval "$ac_link") 2>conftest.er1
25941 ac_status=$?
25942 grep -v '^ *+' conftest.er1 >conftest.err
25943 rm -f conftest.er1
25944 cat conftest.err >&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); } && {
25947 test -z "$ac_c_werror_flag" ||
25948 test ! -s conftest.err
25949 } && test -s conftest$ac_exeext &&
25950 $as_test_x conftest$ac_exeext; then
25951 ac_cv_lib_png_png_check_sig=yes
25952 else
25953 echo "$as_me: failed program was:" >&5
25954 sed 's/^/| /' conftest.$ac_ext >&5
25955
25956 ac_cv_lib_png_png_check_sig=no
25957 fi
25958
25959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25960 conftest$ac_exeext conftest.$ac_ext
25961 LIBS=$ac_check_lib_save_LIBS
25962 fi
25963 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25964 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25965 if test $ac_cv_lib_png_png_check_sig = yes; then
25966 PNG_LINK=" -lpng -lz"
25967 fi
25968
25969 fi
25970
25971 if test "x$PNG_LINK" = "x" ; then
25972 if test "$wxUSE_LIBPNG" = "sys" ; then
25973 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25974 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25975 { (exit 1); exit 1; }; }
25976 else
25977 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25978 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25979 wxUSE_LIBPNG=builtin
25980 fi
25981 else
25982 wxUSE_LIBPNG=sys
25983 fi
25984 fi
25985 fi
25986
25987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25988 fi
25989
25990
25991 JPEG_LINK=
25992 if test "$wxUSE_LIBJPEG" != "no" ; then
25993 cat >>confdefs.h <<\_ACEOF
25994 #define wxUSE_LIBJPEG 1
25995 _ACEOF
25996
25997
25998 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25999 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26000 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26001 wxUSE_LIBJPEG=sys
26002 fi
26003
26004 if test "$wxUSE_MGL" != 1 ; then
26005 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26006 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26007 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26008 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26010 else
26011 cat >conftest.$ac_ext <<_ACEOF
26012 /* confdefs.h. */
26013 _ACEOF
26014 cat confdefs.h >>conftest.$ac_ext
26015 cat >>conftest.$ac_ext <<_ACEOF
26016 /* end confdefs.h. */
26017
26018 #undef HAVE_STDLIB_H
26019 #include <stdio.h>
26020 #include <jpeglib.h>
26021
26022 int
26023 main ()
26024 {
26025
26026
26027 ;
26028 return 0;
26029 }
26030 _ACEOF
26031 rm -f conftest.$ac_objext
26032 if { (ac_try="$ac_compile"
26033 case "(($ac_try" in
26034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26035 *) ac_try_echo=$ac_try;;
26036 esac
26037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26038 (eval "$ac_compile") 2>conftest.er1
26039 ac_status=$?
26040 grep -v '^ *+' conftest.er1 >conftest.err
26041 rm -f conftest.er1
26042 cat conftest.err >&5
26043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044 (exit $ac_status); } && {
26045 test -z "$ac_c_werror_flag" ||
26046 test ! -s conftest.err
26047 } && test -s conftest.$ac_objext; then
26048 ac_cv_header_jpeglib_h=yes
26049 else
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26052
26053 ac_cv_header_jpeglib_h=no
26054
26055 fi
26056
26057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26058
26059 fi
26060
26061 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26062 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26063
26064 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26065 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26066 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26067 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26069 else
26070 ac_check_lib_save_LIBS=$LIBS
26071 LIBS="-ljpeg $LIBS"
26072 cat >conftest.$ac_ext <<_ACEOF
26073 /* confdefs.h. */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078
26079 /* Override any GCC internal prototype to avoid an error.
26080 Use char because int might match the return type of a GCC
26081 builtin and then its argument prototype would still apply. */
26082 #ifdef __cplusplus
26083 extern "C"
26084 #endif
26085 char jpeg_read_header ();
26086 int
26087 main ()
26088 {
26089 return jpeg_read_header ();
26090 ;
26091 return 0;
26092 }
26093 _ACEOF
26094 rm -f conftest.$ac_objext conftest$ac_exeext
26095 if { (ac_try="$ac_link"
26096 case "(($ac_try" in
26097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26098 *) ac_try_echo=$ac_try;;
26099 esac
26100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101 (eval "$ac_link") 2>conftest.er1
26102 ac_status=$?
26103 grep -v '^ *+' conftest.er1 >conftest.err
26104 rm -f conftest.er1
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } && {
26108 test -z "$ac_c_werror_flag" ||
26109 test ! -s conftest.err
26110 } && test -s conftest$ac_exeext &&
26111 $as_test_x conftest$ac_exeext; then
26112 ac_cv_lib_jpeg_jpeg_read_header=yes
26113 else
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26116
26117 ac_cv_lib_jpeg_jpeg_read_header=no
26118 fi
26119
26120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26121 conftest$ac_exeext conftest.$ac_ext
26122 LIBS=$ac_check_lib_save_LIBS
26123 fi
26124 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26125 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26126 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26127 JPEG_LINK=" -ljpeg"
26128 fi
26129
26130 fi
26131
26132 if test "x$JPEG_LINK" = "x" ; then
26133 if test "$wxUSE_LIBJPEG" = "sys" ; then
26134 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26135 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26136 { (exit 1); exit 1; }; }
26137 else
26138 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26139 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26140 wxUSE_LIBJPEG=builtin
26141 fi
26142 else
26143 wxUSE_LIBJPEG=sys
26144
26145 if test "$wxUSE_MSW" = 1; then
26146 { echo "$as_me:$LINENO: checking for boolean" >&5
26147 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26148 if test "${ac_cv_type_boolean+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26150 else
26151 cat >conftest.$ac_ext <<_ACEOF
26152 /* confdefs.h. */
26153 _ACEOF
26154 cat confdefs.h >>conftest.$ac_ext
26155 cat >>conftest.$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26157 #include <windows.h>
26158
26159 typedef boolean ac__type_new_;
26160 int
26161 main ()
26162 {
26163 if ((ac__type_new_ *) 0)
26164 return 0;
26165 if (sizeof (ac__type_new_))
26166 return 0;
26167 ;
26168 return 0;
26169 }
26170 _ACEOF
26171 rm -f conftest.$ac_objext
26172 if { (ac_try="$ac_compile"
26173 case "(($ac_try" in
26174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26175 *) ac_try_echo=$ac_try;;
26176 esac
26177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26178 (eval "$ac_compile") 2>conftest.er1
26179 ac_status=$?
26180 grep -v '^ *+' conftest.er1 >conftest.err
26181 rm -f conftest.er1
26182 cat conftest.err >&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); } && {
26185 test -z "$ac_c_werror_flag" ||
26186 test ! -s conftest.err
26187 } && test -s conftest.$ac_objext; then
26188 ac_cv_type_boolean=yes
26189 else
26190 echo "$as_me: failed program was:" >&5
26191 sed 's/^/| /' conftest.$ac_ext >&5
26192
26193 ac_cv_type_boolean=no
26194 fi
26195
26196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26197 fi
26198 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26199 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26200 if test $ac_cv_type_boolean = yes; then
26201
26202 cat >>confdefs.h <<_ACEOF
26203 #define HAVE_BOOLEAN 1
26204 _ACEOF
26205
26206
26207 { echo "$as_me:$LINENO: checking for boolean" >&5
26208 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26209 if test "${ac_cv_type_boolean+set}" = set; then
26210 echo $ECHO_N "(cached) $ECHO_C" >&6
26211 else
26212 cat >conftest.$ac_ext <<_ACEOF
26213 /* confdefs.h. */
26214 _ACEOF
26215 cat confdefs.h >>conftest.$ac_ext
26216 cat >>conftest.$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26218
26219 #undef HAVE_BOOLEAN
26220 #include <stdio.h>
26221 #include <jpeglib.h>
26222
26223
26224 typedef boolean ac__type_new_;
26225 int
26226 main ()
26227 {
26228 if ((ac__type_new_ *) 0)
26229 return 0;
26230 if (sizeof (ac__type_new_))
26231 return 0;
26232 ;
26233 return 0;
26234 }
26235 _ACEOF
26236 rm -f conftest.$ac_objext
26237 if { (ac_try="$ac_compile"
26238 case "(($ac_try" in
26239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26240 *) ac_try_echo=$ac_try;;
26241 esac
26242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26243 (eval "$ac_compile") 2>conftest.er1
26244 ac_status=$?
26245 grep -v '^ *+' conftest.er1 >conftest.err
26246 rm -f conftest.er1
26247 cat conftest.err >&5
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); } && {
26250 test -z "$ac_c_werror_flag" ||
26251 test ! -s conftest.err
26252 } && test -s conftest.$ac_objext; then
26253 ac_cv_type_boolean=yes
26254 else
26255 echo "$as_me: failed program was:" >&5
26256 sed 's/^/| /' conftest.$ac_ext >&5
26257
26258 ac_cv_type_boolean=no
26259 fi
26260
26261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26262 fi
26263 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26264 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26265
26266 # The cast to long int works around a bug in the HP C Compiler
26267 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26268 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26269 # This bug is HP SR number 8606223364.
26270 { echo "$as_me:$LINENO: checking size of boolean" >&5
26271 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26272 if test "${ac_cv_sizeof_boolean+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26275 if test "$cross_compiling" = yes; then
26276 # Depending upon the size, compute the lo and hi bounds.
26277 cat >conftest.$ac_ext <<_ACEOF
26278 /* confdefs.h. */
26279 _ACEOF
26280 cat confdefs.h >>conftest.$ac_ext
26281 cat >>conftest.$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283
26284 #undef HAVE_BOOLEAN
26285 #include <stdio.h>
26286 #include <jpeglib.h>
26287
26288
26289 typedef boolean ac__type_sizeof_;
26290 int
26291 main ()
26292 {
26293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26294 test_array [0] = 0
26295
26296 ;
26297 return 0;
26298 }
26299 _ACEOF
26300 rm -f conftest.$ac_objext
26301 if { (ac_try="$ac_compile"
26302 case "(($ac_try" in
26303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26304 *) ac_try_echo=$ac_try;;
26305 esac
26306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26307 (eval "$ac_compile") 2>conftest.er1
26308 ac_status=$?
26309 grep -v '^ *+' conftest.er1 >conftest.err
26310 rm -f conftest.er1
26311 cat conftest.err >&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } && {
26314 test -z "$ac_c_werror_flag" ||
26315 test ! -s conftest.err
26316 } && test -s conftest.$ac_objext; then
26317 ac_lo=0 ac_mid=0
26318 while :; do
26319 cat >conftest.$ac_ext <<_ACEOF
26320 /* confdefs.h. */
26321 _ACEOF
26322 cat confdefs.h >>conftest.$ac_ext
26323 cat >>conftest.$ac_ext <<_ACEOF
26324 /* end confdefs.h. */
26325
26326 #undef HAVE_BOOLEAN
26327 #include <stdio.h>
26328 #include <jpeglib.h>
26329
26330
26331 typedef boolean ac__type_sizeof_;
26332 int
26333 main ()
26334 {
26335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26336 test_array [0] = 0
26337
26338 ;
26339 return 0;
26340 }
26341 _ACEOF
26342 rm -f conftest.$ac_objext
26343 if { (ac_try="$ac_compile"
26344 case "(($ac_try" in
26345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26346 *) ac_try_echo=$ac_try;;
26347 esac
26348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26349 (eval "$ac_compile") 2>conftest.er1
26350 ac_status=$?
26351 grep -v '^ *+' conftest.er1 >conftest.err
26352 rm -f conftest.er1
26353 cat conftest.err >&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } && {
26356 test -z "$ac_c_werror_flag" ||
26357 test ! -s conftest.err
26358 } && test -s conftest.$ac_objext; then
26359 ac_hi=$ac_mid; break
26360 else
26361 echo "$as_me: failed program was:" >&5
26362 sed 's/^/| /' conftest.$ac_ext >&5
26363
26364 ac_lo=`expr $ac_mid + 1`
26365 if test $ac_lo -le $ac_mid; then
26366 ac_lo= ac_hi=
26367 break
26368 fi
26369 ac_mid=`expr 2 '*' $ac_mid + 1`
26370 fi
26371
26372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26373 done
26374 else
26375 echo "$as_me: failed program was:" >&5
26376 sed 's/^/| /' conftest.$ac_ext >&5
26377
26378 cat >conftest.$ac_ext <<_ACEOF
26379 /* confdefs.h. */
26380 _ACEOF
26381 cat confdefs.h >>conftest.$ac_ext
26382 cat >>conftest.$ac_ext <<_ACEOF
26383 /* end confdefs.h. */
26384
26385 #undef HAVE_BOOLEAN
26386 #include <stdio.h>
26387 #include <jpeglib.h>
26388
26389
26390 typedef boolean ac__type_sizeof_;
26391 int
26392 main ()
26393 {
26394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26395 test_array [0] = 0
26396
26397 ;
26398 return 0;
26399 }
26400 _ACEOF
26401 rm -f conftest.$ac_objext
26402 if { (ac_try="$ac_compile"
26403 case "(($ac_try" in
26404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26405 *) ac_try_echo=$ac_try;;
26406 esac
26407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26408 (eval "$ac_compile") 2>conftest.er1
26409 ac_status=$?
26410 grep -v '^ *+' conftest.er1 >conftest.err
26411 rm -f conftest.er1
26412 cat conftest.err >&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } && {
26415 test -z "$ac_c_werror_flag" ||
26416 test ! -s conftest.err
26417 } && test -s conftest.$ac_objext; then
26418 ac_hi=-1 ac_mid=-1
26419 while :; do
26420 cat >conftest.$ac_ext <<_ACEOF
26421 /* confdefs.h. */
26422 _ACEOF
26423 cat confdefs.h >>conftest.$ac_ext
26424 cat >>conftest.$ac_ext <<_ACEOF
26425 /* end confdefs.h. */
26426
26427 #undef HAVE_BOOLEAN
26428 #include <stdio.h>
26429 #include <jpeglib.h>
26430
26431
26432 typedef boolean ac__type_sizeof_;
26433 int
26434 main ()
26435 {
26436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26437 test_array [0] = 0
26438
26439 ;
26440 return 0;
26441 }
26442 _ACEOF
26443 rm -f conftest.$ac_objext
26444 if { (ac_try="$ac_compile"
26445 case "(($ac_try" in
26446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26447 *) ac_try_echo=$ac_try;;
26448 esac
26449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26450 (eval "$ac_compile") 2>conftest.er1
26451 ac_status=$?
26452 grep -v '^ *+' conftest.er1 >conftest.err
26453 rm -f conftest.er1
26454 cat conftest.err >&5
26455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456 (exit $ac_status); } && {
26457 test -z "$ac_c_werror_flag" ||
26458 test ! -s conftest.err
26459 } && test -s conftest.$ac_objext; then
26460 ac_lo=$ac_mid; break
26461 else
26462 echo "$as_me: failed program was:" >&5
26463 sed 's/^/| /' conftest.$ac_ext >&5
26464
26465 ac_hi=`expr '(' $ac_mid ')' - 1`
26466 if test $ac_mid -le $ac_hi; then
26467 ac_lo= ac_hi=
26468 break
26469 fi
26470 ac_mid=`expr 2 '*' $ac_mid`
26471 fi
26472
26473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26474 done
26475 else
26476 echo "$as_me: failed program was:" >&5
26477 sed 's/^/| /' conftest.$ac_ext >&5
26478
26479 ac_lo= ac_hi=
26480 fi
26481
26482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26483 fi
26484
26485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26486 # Binary search between lo and hi bounds.
26487 while test "x$ac_lo" != "x$ac_hi"; do
26488 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26489 cat >conftest.$ac_ext <<_ACEOF
26490 /* confdefs.h. */
26491 _ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26495
26496 #undef HAVE_BOOLEAN
26497 #include <stdio.h>
26498 #include <jpeglib.h>
26499
26500
26501 typedef boolean ac__type_sizeof_;
26502 int
26503 main ()
26504 {
26505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26506 test_array [0] = 0
26507
26508 ;
26509 return 0;
26510 }
26511 _ACEOF
26512 rm -f conftest.$ac_objext
26513 if { (ac_try="$ac_compile"
26514 case "(($ac_try" in
26515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26516 *) ac_try_echo=$ac_try;;
26517 esac
26518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26519 (eval "$ac_compile") 2>conftest.er1
26520 ac_status=$?
26521 grep -v '^ *+' conftest.er1 >conftest.err
26522 rm -f conftest.er1
26523 cat conftest.err >&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } && {
26526 test -z "$ac_c_werror_flag" ||
26527 test ! -s conftest.err
26528 } && test -s conftest.$ac_objext; then
26529 ac_hi=$ac_mid
26530 else
26531 echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26533
26534 ac_lo=`expr '(' $ac_mid ')' + 1`
26535 fi
26536
26537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26538 done
26539 case $ac_lo in
26540 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26541 '') if test "$ac_cv_type_boolean" = yes; then
26542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26543 See \`config.log' for more details." >&5
26544 echo "$as_me: error: cannot compute sizeof (boolean)
26545 See \`config.log' for more details." >&2;}
26546 { (exit 77); exit 77; }; }
26547 else
26548 ac_cv_sizeof_boolean=0
26549 fi ;;
26550 esac
26551 else
26552 cat >conftest.$ac_ext <<_ACEOF
26553 /* confdefs.h. */
26554 _ACEOF
26555 cat confdefs.h >>conftest.$ac_ext
26556 cat >>conftest.$ac_ext <<_ACEOF
26557 /* end confdefs.h. */
26558
26559 #undef HAVE_BOOLEAN
26560 #include <stdio.h>
26561 #include <jpeglib.h>
26562
26563
26564 typedef boolean ac__type_sizeof_;
26565 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26566 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26567 #include <stdio.h>
26568 #include <stdlib.h>
26569 int
26570 main ()
26571 {
26572
26573 FILE *f = fopen ("conftest.val", "w");
26574 if (! f)
26575 return 1;
26576 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26577 {
26578 long int i = longval ();
26579 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26580 return 1;
26581 fprintf (f, "%ld\n", i);
26582 }
26583 else
26584 {
26585 unsigned long int i = ulongval ();
26586 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26587 return 1;
26588 fprintf (f, "%lu\n", i);
26589 }
26590 return ferror (f) || fclose (f) != 0;
26591
26592 ;
26593 return 0;
26594 }
26595 _ACEOF
26596 rm -f conftest$ac_exeext
26597 if { (ac_try="$ac_link"
26598 case "(($ac_try" in
26599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26600 *) ac_try_echo=$ac_try;;
26601 esac
26602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26603 (eval "$ac_link") 2>&5
26604 ac_status=$?
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26607 { (case "(($ac_try" in
26608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26609 *) ac_try_echo=$ac_try;;
26610 esac
26611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26612 (eval "$ac_try") 2>&5
26613 ac_status=$?
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; }; then
26616 ac_cv_sizeof_boolean=`cat conftest.val`
26617 else
26618 echo "$as_me: program exited with status $ac_status" >&5
26619 echo "$as_me: failed program was:" >&5
26620 sed 's/^/| /' conftest.$ac_ext >&5
26621
26622 ( exit $ac_status )
26623 if test "$ac_cv_type_boolean" = yes; then
26624 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26625 See \`config.log' for more details." >&5
26626 echo "$as_me: error: cannot compute sizeof (boolean)
26627 See \`config.log' for more details." >&2;}
26628 { (exit 77); exit 77; }; }
26629 else
26630 ac_cv_sizeof_boolean=0
26631 fi
26632 fi
26633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26634 fi
26635 rm -f conftest.val
26636 fi
26637 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26638 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26639
26640
26641
26642 cat >>confdefs.h <<_ACEOF
26643 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26644 _ACEOF
26645
26646
26647 cat >>confdefs.h <<_ACEOF
26648 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26649 _ACEOF
26650
26651
26652 fi
26653
26654 fi
26655 fi
26656 fi
26657 fi
26658 fi
26659
26660
26661 TIFF_LINK=
26662 TIFF_PREREQ_LINKS=-lm
26663 if test "$wxUSE_LIBTIFF" != "no" ; then
26664 cat >>confdefs.h <<\_ACEOF
26665 #define wxUSE_LIBTIFF 1
26666 _ACEOF
26667
26668
26669 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26670 if test "$wxUSE_LIBJPEG" = "sys"; then
26671 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26672 fi
26673 if test "$wxUSE_ZLIB" = "sys"; then
26674 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26675 fi
26676 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26677 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26678 if test "${ac_cv_header_tiffio_h+set}" = set; then
26679 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 else
26681 cat >conftest.$ac_ext <<_ACEOF
26682 /* confdefs.h. */
26683 _ACEOF
26684 cat confdefs.h >>conftest.$ac_ext
26685 cat >>conftest.$ac_ext <<_ACEOF
26686 /* end confdefs.h. */
26687
26688
26689
26690 #include <tiffio.h>
26691 _ACEOF
26692 rm -f conftest.$ac_objext
26693 if { (ac_try="$ac_compile"
26694 case "(($ac_try" in
26695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26696 *) ac_try_echo=$ac_try;;
26697 esac
26698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26699 (eval "$ac_compile") 2>conftest.er1
26700 ac_status=$?
26701 grep -v '^ *+' conftest.er1 >conftest.err
26702 rm -f conftest.er1
26703 cat conftest.err >&5
26704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26705 (exit $ac_status); } && {
26706 test -z "$ac_c_werror_flag" ||
26707 test ! -s conftest.err
26708 } && test -s conftest.$ac_objext; then
26709 ac_cv_header_tiffio_h=yes
26710 else
26711 echo "$as_me: failed program was:" >&5
26712 sed 's/^/| /' conftest.$ac_ext >&5
26713
26714 ac_cv_header_tiffio_h=no
26715 fi
26716
26717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26718 fi
26719 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26720 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26721 if test $ac_cv_header_tiffio_h = yes; then
26722
26723 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26724 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26725 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26726 echo $ECHO_N "(cached) $ECHO_C" >&6
26727 else
26728 ac_check_lib_save_LIBS=$LIBS
26729 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26730 cat >conftest.$ac_ext <<_ACEOF
26731 /* confdefs.h. */
26732 _ACEOF
26733 cat confdefs.h >>conftest.$ac_ext
26734 cat >>conftest.$ac_ext <<_ACEOF
26735 /* end confdefs.h. */
26736
26737 /* Override any GCC internal prototype to avoid an error.
26738 Use char because int might match the return type of a GCC
26739 builtin and then its argument prototype would still apply. */
26740 #ifdef __cplusplus
26741 extern "C"
26742 #endif
26743 char TIFFError ();
26744 int
26745 main ()
26746 {
26747 return TIFFError ();
26748 ;
26749 return 0;
26750 }
26751 _ACEOF
26752 rm -f conftest.$ac_objext conftest$ac_exeext
26753 if { (ac_try="$ac_link"
26754 case "(($ac_try" in
26755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26756 *) ac_try_echo=$ac_try;;
26757 esac
26758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26759 (eval "$ac_link") 2>conftest.er1
26760 ac_status=$?
26761 grep -v '^ *+' conftest.er1 >conftest.err
26762 rm -f conftest.er1
26763 cat conftest.err >&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } && {
26766 test -z "$ac_c_werror_flag" ||
26767 test ! -s conftest.err
26768 } && test -s conftest$ac_exeext &&
26769 $as_test_x conftest$ac_exeext; then
26770 ac_cv_lib_tiff_TIFFError=yes
26771 else
26772 echo "$as_me: failed program was:" >&5
26773 sed 's/^/| /' conftest.$ac_ext >&5
26774
26775 ac_cv_lib_tiff_TIFFError=no
26776 fi
26777
26778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26779 conftest$ac_exeext conftest.$ac_ext
26780 LIBS=$ac_check_lib_save_LIBS
26781 fi
26782 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26783 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26784 if test $ac_cv_lib_tiff_TIFFError = yes; then
26785 TIFF_LINK=" -ltiff"
26786 fi
26787
26788
26789 fi
26790
26791
26792
26793 if test "x$TIFF_LINK" = "x" ; then
26794 if test "$wxUSE_LIBTIFF" = "sys" ; then
26795 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26796 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26797 { (exit 1); exit 1; }; }
26798 else
26799 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26800 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26801 wxUSE_LIBTIFF=builtin
26802 fi
26803 else
26804 wxUSE_LIBTIFF=sys
26805 fi
26806 fi
26807 fi
26808
26809
26810 if test "$wxUSE_WCHAR_T" != "yes"; then
26811 if test "$wxUSE_EXPAT" != "no"; then
26812 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26813 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26814 wxUSE_EXPAT=no
26815 fi
26816 if test "$wxUSE_XML" != "no"; then
26817 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26818 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26819 wxUSE_XML=no
26820 fi
26821 fi
26822
26823 if test "$wxUSE_EXPAT" != "no"; then
26824 wxUSE_XML=yes
26825 cat >>confdefs.h <<\_ACEOF
26826 #define wxUSE_EXPAT 1
26827 _ACEOF
26828
26829 cat >>confdefs.h <<\_ACEOF
26830 #define wxUSE_XML 1
26831 _ACEOF
26832
26833
26834 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26835 { echo "$as_me:$LINENO: checking for expat.h" >&5
26836 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26837 if test "${ac_cv_header_expat_h+set}" = set; then
26838 echo $ECHO_N "(cached) $ECHO_C" >&6
26839 else
26840 cat >conftest.$ac_ext <<_ACEOF
26841 /* confdefs.h. */
26842 _ACEOF
26843 cat confdefs.h >>conftest.$ac_ext
26844 cat >>conftest.$ac_ext <<_ACEOF
26845 /* end confdefs.h. */
26846
26847
26848 #include <expat.h>
26849 _ACEOF
26850 rm -f conftest.$ac_objext
26851 if { (ac_try="$ac_compile"
26852 case "(($ac_try" in
26853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26854 *) ac_try_echo=$ac_try;;
26855 esac
26856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26857 (eval "$ac_compile") 2>conftest.er1
26858 ac_status=$?
26859 grep -v '^ *+' conftest.er1 >conftest.err
26860 rm -f conftest.er1
26861 cat conftest.err >&5
26862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26863 (exit $ac_status); } && {
26864 test -z "$ac_c_werror_flag" ||
26865 test ! -s conftest.err
26866 } && test -s conftest.$ac_objext; then
26867 ac_cv_header_expat_h=yes
26868 else
26869 echo "$as_me: failed program was:" >&5
26870 sed 's/^/| /' conftest.$ac_ext >&5
26871
26872 ac_cv_header_expat_h=no
26873 fi
26874
26875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26876 fi
26877 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26878 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26879 if test $ac_cv_header_expat_h = yes; then
26880 found_expat_h=1
26881 fi
26882
26883
26884 if test "x$found_expat_h" = "x1"; then
26885 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26886 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26887 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26888 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 else
26890
26891 ac_ext=cpp
26892 ac_cpp='$CXXCPP $CPPFLAGS'
26893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26896
26897 cat >conftest.$ac_ext <<_ACEOF
26898 /* confdefs.h. */
26899 _ACEOF
26900 cat confdefs.h >>conftest.$ac_ext
26901 cat >>conftest.$ac_ext <<_ACEOF
26902 /* end confdefs.h. */
26903 #include <expat.h>
26904 int
26905 main ()
26906 {
26907
26908 ;
26909 return 0;
26910 }
26911 _ACEOF
26912 rm -f conftest.$ac_objext
26913 if { (ac_try="$ac_compile"
26914 case "(($ac_try" in
26915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26916 *) ac_try_echo=$ac_try;;
26917 esac
26918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26919 (eval "$ac_compile") 2>conftest.er1
26920 ac_status=$?
26921 grep -v '^ *+' conftest.er1 >conftest.err
26922 rm -f conftest.er1
26923 cat conftest.err >&5
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); } && {
26926 test -z "$ac_cxx_werror_flag" ||
26927 test ! -s conftest.err
26928 } && test -s conftest.$ac_objext; then
26929 wx_cv_expat_is_not_broken=yes
26930 else
26931 echo "$as_me: failed program was:" >&5
26932 sed 's/^/| /' conftest.$ac_ext >&5
26933
26934 wx_cv_expat_is_not_broken=no
26935
26936 fi
26937
26938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26939 ac_ext=c
26940 ac_cpp='$CPP $CPPFLAGS'
26941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26944
26945
26946
26947 fi
26948 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26949 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26950 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26951 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26952 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26953 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26954 echo $ECHO_N "(cached) $ECHO_C" >&6
26955 else
26956 ac_check_lib_save_LIBS=$LIBS
26957 LIBS="-lexpat $LIBS"
26958 cat >conftest.$ac_ext <<_ACEOF
26959 /* confdefs.h. */
26960 _ACEOF
26961 cat confdefs.h >>conftest.$ac_ext
26962 cat >>conftest.$ac_ext <<_ACEOF
26963 /* end confdefs.h. */
26964
26965 /* Override any GCC internal prototype to avoid an error.
26966 Use char because int might match the return type of a GCC
26967 builtin and then its argument prototype would still apply. */
26968 #ifdef __cplusplus
26969 extern "C"
26970 #endif
26971 char XML_ParserCreate ();
26972 int
26973 main ()
26974 {
26975 return XML_ParserCreate ();
26976 ;
26977 return 0;
26978 }
26979 _ACEOF
26980 rm -f conftest.$ac_objext conftest$ac_exeext
26981 if { (ac_try="$ac_link"
26982 case "(($ac_try" in
26983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26984 *) ac_try_echo=$ac_try;;
26985 esac
26986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26987 (eval "$ac_link") 2>conftest.er1
26988 ac_status=$?
26989 grep -v '^ *+' conftest.er1 >conftest.err
26990 rm -f conftest.er1
26991 cat conftest.err >&5
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); } && {
26994 test -z "$ac_c_werror_flag" ||
26995 test ! -s conftest.err
26996 } && test -s conftest$ac_exeext &&
26997 $as_test_x conftest$ac_exeext; then
26998 ac_cv_lib_expat_XML_ParserCreate=yes
26999 else
27000 echo "$as_me: failed program was:" >&5
27001 sed 's/^/| /' conftest.$ac_ext >&5
27002
27003 ac_cv_lib_expat_XML_ParserCreate=no
27004 fi
27005
27006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27007 conftest$ac_exeext conftest.$ac_ext
27008 LIBS=$ac_check_lib_save_LIBS
27009 fi
27010 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27011 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27012 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27013 EXPAT_LINK=" -lexpat"
27014 fi
27015
27016 fi
27017 fi
27018 if test "x$EXPAT_LINK" = "x" ; then
27019 if test "$wxUSE_EXPAT" = "sys" ; then
27020 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27021 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27022 { (exit 1); exit 1; }; }
27023 else
27024 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27025 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27026 wxUSE_EXPAT=builtin
27027 fi
27028 else
27029 wxUSE_EXPAT=sys
27030 fi
27031 fi
27032 if test "$wxUSE_EXPAT" = "builtin" ; then
27033 subdirs="$subdirs src/expat"
27034
27035 fi
27036 fi
27037
27038
27039
27040 if test "$wxUSE_LIBMSPACK" != "no"; then
27041 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27042 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27043 if test "${ac_cv_header_mspack_h+set}" = set; then
27044 echo $ECHO_N "(cached) $ECHO_C" >&6
27045 else
27046 cat >conftest.$ac_ext <<_ACEOF
27047 /* confdefs.h. */
27048 _ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27052
27053
27054 #include <mspack.h>
27055 _ACEOF
27056 rm -f conftest.$ac_objext
27057 if { (ac_try="$ac_compile"
27058 case "(($ac_try" in
27059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27060 *) ac_try_echo=$ac_try;;
27061 esac
27062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27063 (eval "$ac_compile") 2>conftest.er1
27064 ac_status=$?
27065 grep -v '^ *+' conftest.er1 >conftest.err
27066 rm -f conftest.er1
27067 cat conftest.err >&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); } && {
27070 test -z "$ac_c_werror_flag" ||
27071 test ! -s conftest.err
27072 } && test -s conftest.$ac_objext; then
27073 ac_cv_header_mspack_h=yes
27074 else
27075 echo "$as_me: failed program was:" >&5
27076 sed 's/^/| /' conftest.$ac_ext >&5
27077
27078 ac_cv_header_mspack_h=no
27079 fi
27080
27081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27082 fi
27083 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27084 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27085 if test $ac_cv_header_mspack_h = yes; then
27086 found_mspack_h=1
27087 fi
27088
27089
27090 if test "x$found_mspack_h" = "x1"; then
27091 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27092 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27093 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27094 echo $ECHO_N "(cached) $ECHO_C" >&6
27095 else
27096 ac_check_lib_save_LIBS=$LIBS
27097 LIBS="-lmspack $LIBS"
27098 cat >conftest.$ac_ext <<_ACEOF
27099 /* confdefs.h. */
27100 _ACEOF
27101 cat confdefs.h >>conftest.$ac_ext
27102 cat >>conftest.$ac_ext <<_ACEOF
27103 /* end confdefs.h. */
27104
27105 /* Override any GCC internal prototype to avoid an error.
27106 Use char because int might match the return type of a GCC
27107 builtin and then its argument prototype would still apply. */
27108 #ifdef __cplusplus
27109 extern "C"
27110 #endif
27111 char mspack_create_chm_decompressor ();
27112 int
27113 main ()
27114 {
27115 return mspack_create_chm_decompressor ();
27116 ;
27117 return 0;
27118 }
27119 _ACEOF
27120 rm -f conftest.$ac_objext conftest$ac_exeext
27121 if { (ac_try="$ac_link"
27122 case "(($ac_try" in
27123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27124 *) ac_try_echo=$ac_try;;
27125 esac
27126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27127 (eval "$ac_link") 2>conftest.er1
27128 ac_status=$?
27129 grep -v '^ *+' conftest.er1 >conftest.err
27130 rm -f conftest.er1
27131 cat conftest.err >&5
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); } && {
27134 test -z "$ac_c_werror_flag" ||
27135 test ! -s conftest.err
27136 } && test -s conftest$ac_exeext &&
27137 $as_test_x conftest$ac_exeext; then
27138 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27139 else
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27142
27143 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27144 fi
27145
27146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27147 conftest$ac_exeext conftest.$ac_ext
27148 LIBS=$ac_check_lib_save_LIBS
27149 fi
27150 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27151 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27152 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27153 MSPACK_LINK=" -lmspack"
27154 fi
27155
27156 fi
27157 if test "x$MSPACK_LINK" = "x" ; then
27158 wxUSE_LIBMSPACK=no
27159 fi
27160 fi
27161
27162 if test "$wxUSE_LIBMSPACK" != "no"; then
27163 cat >>confdefs.h <<\_ACEOF
27164 #define wxUSE_LIBMSPACK 1
27165 _ACEOF
27166
27167 fi
27168
27169
27170
27171 AFMINSTALL=
27172 WIN32INSTALL=
27173
27174 TOOLKIT=
27175 TOOLKIT_INCLUDE=
27176 WIDGET_SET=
27177
27178 if test "$USE_WIN32" = 1 ; then
27179 { echo "$as_me:$LINENO: checking for w32api.h" >&5
27180 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
27181 if test "${ac_cv_header_w32api_h+set}" = set; then
27182 echo $ECHO_N "(cached) $ECHO_C" >&6
27183 else
27184 cat >conftest.$ac_ext <<_ACEOF
27185 /* confdefs.h. */
27186 _ACEOF
27187 cat confdefs.h >>conftest.$ac_ext
27188 cat >>conftest.$ac_ext <<_ACEOF
27189 /* end confdefs.h. */
27190
27191
27192 #include <w32api.h>
27193 _ACEOF
27194 rm -f conftest.$ac_objext
27195 if { (ac_try="$ac_compile"
27196 case "(($ac_try" in
27197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27198 *) ac_try_echo=$ac_try;;
27199 esac
27200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27201 (eval "$ac_compile") 2>conftest.er1
27202 ac_status=$?
27203 grep -v '^ *+' conftest.er1 >conftest.err
27204 rm -f conftest.er1
27205 cat conftest.err >&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); } && {
27208 test -z "$ac_c_werror_flag" ||
27209 test ! -s conftest.err
27210 } && test -s conftest.$ac_objext; then
27211 ac_cv_header_w32api_h=yes
27212 else
27213 echo "$as_me: failed program was:" >&5
27214 sed 's/^/| /' conftest.$ac_ext >&5
27215
27216 ac_cv_header_w32api_h=no
27217 fi
27218
27219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27220 fi
27221 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
27222 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
27223
27224
27225 { echo "$as_me:$LINENO: checking for windows.h" >&5
27226 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27227 if test "${ac_cv_header_windows_h+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 else
27230 cat >conftest.$ac_ext <<_ACEOF
27231 /* confdefs.h. */
27232 _ACEOF
27233 cat confdefs.h >>conftest.$ac_ext
27234 cat >>conftest.$ac_ext <<_ACEOF
27235 /* end confdefs.h. */
27236
27237
27238 #include <windows.h>
27239 _ACEOF
27240 rm -f conftest.$ac_objext
27241 if { (ac_try="$ac_compile"
27242 case "(($ac_try" in
27243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27244 *) ac_try_echo=$ac_try;;
27245 esac
27246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27247 (eval "$ac_compile") 2>conftest.er1
27248 ac_status=$?
27249 grep -v '^ *+' conftest.er1 >conftest.err
27250 rm -f conftest.er1
27251 cat conftest.err >&5
27252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253 (exit $ac_status); } && {
27254 test -z "$ac_c_werror_flag" ||
27255 test ! -s conftest.err
27256 } && test -s conftest.$ac_objext; then
27257 ac_cv_header_windows_h=yes
27258 else
27259 echo "$as_me: failed program was:" >&5
27260 sed 's/^/| /' conftest.$ac_ext >&5
27261
27262 ac_cv_header_windows_h=no
27263 fi
27264
27265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27266 fi
27267 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27268 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27269 if test $ac_cv_header_windows_h = yes; then
27270 :
27271 else
27272
27273 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27274 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27275 { (exit 1); exit 1; }; }
27276
27277 fi
27278
27279
27280
27281 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27282
27283 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27284 LIBS="$LIBS -loleacc"
27285 fi
27286
27287 case "${host}" in
27288 *-*-cygwin* )
27289 LIBS="$LIBS -lkernel32 -luser32"
27290 esac
27291
27292 if test "$wxUSE_ODBC" = "sys" ; then
27293 wxUSE_ODBC = "yes"
27294 fi
27295 if test "$wxUSE_ODBC" = "yes" ; then
27296 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27297 cat >>confdefs.h <<\_ACEOF
27298 #define wxUSE_ODBC 1
27299 _ACEOF
27300
27301 fi
27302
27303 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27304 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27305
27306 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27307
27308 WIN32INSTALL=win32install
27309
27310 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27311 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27312 if test "${ac_cv_header_pbt_h+set}" = set; then
27313 echo $ECHO_N "(cached) $ECHO_C" >&6
27314 else
27315 cat >conftest.$ac_ext <<_ACEOF
27316 /* confdefs.h. */
27317 _ACEOF
27318 cat confdefs.h >>conftest.$ac_ext
27319 cat >>conftest.$ac_ext <<_ACEOF
27320 /* end confdefs.h. */
27321
27322
27323 #include <pbt.h>
27324 _ACEOF
27325 rm -f conftest.$ac_objext
27326 if { (ac_try="$ac_compile"
27327 case "(($ac_try" in
27328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27329 *) ac_try_echo=$ac_try;;
27330 esac
27331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27332 (eval "$ac_compile") 2>conftest.er1
27333 ac_status=$?
27334 grep -v '^ *+' conftest.er1 >conftest.err
27335 rm -f conftest.er1
27336 cat conftest.err >&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); } && {
27339 test -z "$ac_c_werror_flag" ||
27340 test ! -s conftest.err
27341 } && test -s conftest.$ac_objext; then
27342 ac_cv_header_pbt_h=yes
27343 else
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.$ac_ext >&5
27346
27347 ac_cv_header_pbt_h=no
27348 fi
27349
27350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27351 fi
27352 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27353 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27354 if test $ac_cv_header_pbt_h = yes; then
27355 :
27356 else
27357 cat >>confdefs.h <<\_ACEOF
27358 #define NEED_PBT_H 1
27359 _ACEOF
27360
27361 fi
27362
27363
27364 fi
27365
27366 if test "$wxUSE_GUI" = "yes"; then
27367 USE_GUI=1
27368
27369 GUI_TK_LIBRARY=
27370
27371 WXGTK12=
27372 WXGTK127=
27373 WXGTK20=
27374 WXGPE=
27375
27376 if test "$wxUSE_COCOA" = 1 ; then
27377 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27378 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27379 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27380 wxUSE_PRINTING_ARCHITECTURE=no
27381 fi
27382 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27383 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27384 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27385 wxUSE_DRAG_AND_DROP=no
27386 fi
27387 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27388 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27389 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27390 wxUSE_DRAGIMAGE=no
27391 fi
27392 fi
27393
27394 if test "$wxUSE_MSW" = 1 ; then
27395 TOOLKIT=MSW
27396 GUIDIST=MSW_DIST
27397
27398 case "${host}" in
27399 *-*-mingw32* )
27400 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27401 esac
27402 fi
27403
27404 if test "$wxUSE_GTK" = 1; then
27405 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27406 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27407
27408 gtk_version_cached=1
27409 if test "${wx_cv_lib_gtk+set}" = set; then
27410 echo $ECHO_N "(cached) $ECHO_C" >&6
27411 else
27412
27413 gtk_version_cached=0
27414 { echo "$as_me:$LINENO: result: " >&5
27415 echo "${ECHO_T}" >&6; }
27416
27417 GTK_MODULES=
27418 if test "$wxUSE_THREADS" = "yes"; then
27419 GTK_MODULES=gthread
27420 fi
27421
27422 wx_cv_lib_gtk=
27423 if test "x$wxGTK_VERSION" != "x1"
27424 then
27425 case "${host}" in
27426 *-*-solaris2* )
27427 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27428 enable_gtktest=no
27429 fi
27430 esac
27431
27432 # Check whether --enable-gtktest was given.
27433 if test "${enable_gtktest+set}" = set; then
27434 enableval=$enable_gtktest;
27435 else
27436 enable_gtktest=yes
27437 fi
27438
27439
27440 pkg_config_args=gtk+-2.0
27441 for module in . $GTK_MODULES
27442 do
27443 case "$module" in
27444 gthread)
27445 pkg_config_args="$pkg_config_args gthread-2.0"
27446 ;;
27447 esac
27448 done
27449
27450 no_gtk=""
27451
27452 # Extract the first word of "pkg-config", so it can be a program name with args.
27453 set dummy pkg-config; ac_word=$2
27454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27456 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27457 echo $ECHO_N "(cached) $ECHO_C" >&6
27458 else
27459 case $PKG_CONFIG in
27460 [\\/]* | ?:[\\/]*)
27461 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27462 ;;
27463 *)
27464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27465 for as_dir in $PATH
27466 do
27467 IFS=$as_save_IFS
27468 test -z "$as_dir" && as_dir=.
27469 for ac_exec_ext in '' $ac_executable_extensions; do
27470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27471 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27473 break 2
27474 fi
27475 done
27476 done
27477 IFS=$as_save_IFS
27478
27479 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27480 ;;
27481 esac
27482 fi
27483 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27484 if test -n "$PKG_CONFIG"; then
27485 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27486 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27487 else
27488 { echo "$as_me:$LINENO: result: no" >&5
27489 echo "${ECHO_T}no" >&6; }
27490 fi
27491
27492
27493
27494 if test x$PKG_CONFIG != xno ; then
27495 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27496 :
27497 else
27498 echo "*** pkg-config too old; version 0.7 or better required."
27499 no_gtk=yes
27500 PKG_CONFIG=no
27501 fi
27502 else
27503 no_gtk=yes
27504 fi
27505
27506 min_gtk_version=2.0.0
27507 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27508 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27509
27510 if test x$PKG_CONFIG != xno ; then
27511 ## don't try to run the test against uninstalled libtool libs
27512 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27513 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27514 enable_gtktest=no
27515 fi
27516
27517 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27518 :
27519 else
27520 no_gtk=yes
27521 fi
27522 fi
27523
27524 if test x"$no_gtk" = x ; then
27525 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27526 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27527 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27529 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27530 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27531 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27532 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27533 if test "x$enable_gtktest" = "xyes" ; then
27534 ac_save_CFLAGS="$CFLAGS"
27535 ac_save_LIBS="$LIBS"
27536 CFLAGS="$CFLAGS $GTK_CFLAGS"
27537 LIBS="$GTK_LIBS $LIBS"
27538 rm -f conf.gtktest
27539 if test "$cross_compiling" = yes; then
27540 echo $ac_n "cross compiling; assumed OK... $ac_c"
27541 else
27542 cat >conftest.$ac_ext <<_ACEOF
27543 /* confdefs.h. */
27544 _ACEOF
27545 cat confdefs.h >>conftest.$ac_ext
27546 cat >>conftest.$ac_ext <<_ACEOF
27547 /* end confdefs.h. */
27548
27549 #include <gtk/gtk.h>
27550 #include <stdio.h>
27551 #include <stdlib.h>
27552
27553 int
27554 main ()
27555 {
27556 int major, minor, micro;
27557 char *tmp_version;
27558
27559 system ("touch conf.gtktest");
27560
27561 /* HP/UX 9 (%@#!) writes to sscanf strings */
27562 tmp_version = g_strdup("$min_gtk_version");
27563 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27564 printf("%s, bad version string\n", "$min_gtk_version");
27565 exit(1);
27566 }
27567
27568 if ((gtk_major_version != $gtk_config_major_version) ||
27569 (gtk_minor_version != $gtk_config_minor_version) ||
27570 (gtk_micro_version != $gtk_config_micro_version))
27571 {
27572 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27573 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27574 gtk_major_version, gtk_minor_version, gtk_micro_version);
27575 printf ("*** was found! If pkg-config was correct, then it is best\n");
27576 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27577 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27578 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27579 printf("*** required on your system.\n");
27580 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27581 printf("*** to point to the correct configuration files\n");
27582 }
27583 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27584 (gtk_minor_version != GTK_MINOR_VERSION) ||
27585 (gtk_micro_version != GTK_MICRO_VERSION))
27586 {
27587 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27588 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27589 printf("*** library (version %d.%d.%d)\n",
27590 gtk_major_version, gtk_minor_version, gtk_micro_version);
27591 }
27592 else
27593 {
27594 if ((gtk_major_version > major) ||
27595 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27596 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27597 {
27598 return 0;
27599 }
27600 else
27601 {
27602 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27603 gtk_major_version, gtk_minor_version, gtk_micro_version);
27604 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27605 major, minor, micro);
27606 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27607 printf("***\n");
27608 printf("*** If you have already installed a sufficiently new version, this error\n");
27609 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27610 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27611 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27612 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27613 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27614 printf("*** so that the correct libraries are found at run-time))\n");
27615 }
27616 }
27617 return 1;
27618 }
27619
27620 _ACEOF
27621 rm -f conftest$ac_exeext
27622 if { (ac_try="$ac_link"
27623 case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27625 *) ac_try_echo=$ac_try;;
27626 esac
27627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_link") 2>&5
27629 ac_status=$?
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27632 { (case "(($ac_try" in
27633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27634 *) ac_try_echo=$ac_try;;
27635 esac
27636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27637 (eval "$ac_try") 2>&5
27638 ac_status=$?
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); }; }; then
27641 :
27642 else
27643 echo "$as_me: program exited with status $ac_status" >&5
27644 echo "$as_me: failed program was:" >&5
27645 sed 's/^/| /' conftest.$ac_ext >&5
27646
27647 ( exit $ac_status )
27648 no_gtk=yes
27649 fi
27650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27651 fi
27652
27653
27654 CFLAGS="$ac_save_CFLAGS"
27655 LIBS="$ac_save_LIBS"
27656 fi
27657 fi
27658 if test "x$no_gtk" = x ; then
27659 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27660 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27661 wx_cv_lib_gtk=2.0
27662 else
27663 { echo "$as_me:$LINENO: result: no" >&5
27664 echo "${ECHO_T}no" >&6; }
27665 if test "$PKG_CONFIG" = "no" ; then
27666 echo "*** A new enough version of pkg-config was not found."
27667 echo "*** See http://pkgconfig.sourceforge.net"
27668 else
27669 if test -f conf.gtktest ; then
27670 :
27671 else
27672 echo "*** Could not run GTK+ test program, checking why..."
27673 ac_save_CFLAGS="$CFLAGS"
27674 ac_save_LIBS="$LIBS"
27675 CFLAGS="$CFLAGS $GTK_CFLAGS"
27676 LIBS="$LIBS $GTK_LIBS"
27677 cat >conftest.$ac_ext <<_ACEOF
27678 /* confdefs.h. */
27679 _ACEOF
27680 cat confdefs.h >>conftest.$ac_ext
27681 cat >>conftest.$ac_ext <<_ACEOF
27682 /* end confdefs.h. */
27683
27684 #include <gtk/gtk.h>
27685 #include <stdio.h>
27686
27687 int
27688 main ()
27689 {
27690 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27691 ;
27692 return 0;
27693 }
27694 _ACEOF
27695 rm -f conftest.$ac_objext conftest$ac_exeext
27696 if { (ac_try="$ac_link"
27697 case "(($ac_try" in
27698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27699 *) ac_try_echo=$ac_try;;
27700 esac
27701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27702 (eval "$ac_link") 2>conftest.er1
27703 ac_status=$?
27704 grep -v '^ *+' conftest.er1 >conftest.err
27705 rm -f conftest.er1
27706 cat conftest.err >&5
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); } && {
27709 test -z "$ac_c_werror_flag" ||
27710 test ! -s conftest.err
27711 } && test -s conftest$ac_exeext &&
27712 $as_test_x conftest$ac_exeext; then
27713 echo "*** The test program compiled, but did not run. This usually means"
27714 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27715 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27716 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27717 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27718 echo "*** is required on your system"
27719 echo "***"
27720 echo "*** If you have an old version installed, it is best to remove it, although"
27721 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27722 else
27723 echo "$as_me: failed program was:" >&5
27724 sed 's/^/| /' conftest.$ac_ext >&5
27725
27726 echo "*** The test program failed to compile or link. See the file config.log for the"
27727 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27728 fi
27729
27730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27731 conftest$ac_exeext conftest.$ac_ext
27732 CFLAGS="$ac_save_CFLAGS"
27733 LIBS="$ac_save_LIBS"
27734 fi
27735 fi
27736 GTK_CFLAGS=""
27737 GTK_LIBS=""
27738 :
27739 fi
27740
27741
27742 rm -f conf.gtktest
27743
27744
27745 case "${host}" in
27746 *-*-solaris2* )
27747 if test "$wxUSE_SHARED" != "yes"; then
27748 GTK_LIBS="$GTK_LIBS -lX11"
27749 fi
27750 esac
27751 fi
27752
27753 if test -z "$wx_cv_lib_gtk"; then
27754 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27755
27756 # Check whether --with-gtk-prefix was given.
27757 if test "${with_gtk_prefix+set}" = set; then
27758 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27759 else
27760 gtk_config_prefix=""
27761 fi
27762
27763
27764 # Check whether --with-gtk-exec-prefix was given.
27765 if test "${with_gtk_exec_prefix+set}" = set; then
27766 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27767 else
27768 gtk_config_exec_prefix=""
27769 fi
27770
27771 # Check whether --enable-gtktest was given.
27772 if test "${enable_gtktest+set}" = set; then
27773 enableval=$enable_gtktest;
27774 else
27775 enable_gtktest=yes
27776 fi
27777
27778
27779 for module in . $GTK_MODULES
27780 do
27781 case "$module" in
27782 gthread)
27783 gtk_config_args="$gtk_config_args gthread"
27784 ;;
27785 esac
27786 done
27787
27788 if test x$gtk_config_exec_prefix != x ; then
27789 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27790 if test x${GTK_CONFIG+set} != xset ; then
27791 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27792 fi
27793 fi
27794 if test x$gtk_config_prefix != x ; then
27795 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27796 if test x${GTK_CONFIG+set} != xset ; then
27797 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27798 fi
27799 fi
27800
27801 # Extract the first word of "gtk-config", so it can be a program name with args.
27802 set dummy gtk-config; ac_word=$2
27803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27805 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27806 echo $ECHO_N "(cached) $ECHO_C" >&6
27807 else
27808 case $GTK_CONFIG in
27809 [\\/]* | ?:[\\/]*)
27810 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27811 ;;
27812 *)
27813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27814 for as_dir in $PATH
27815 do
27816 IFS=$as_save_IFS
27817 test -z "$as_dir" && as_dir=.
27818 for ac_exec_ext in '' $ac_executable_extensions; do
27819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27820 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27822 break 2
27823 fi
27824 done
27825 done
27826 IFS=$as_save_IFS
27827
27828 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27829 ;;
27830 esac
27831 fi
27832 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27833 if test -n "$GTK_CONFIG"; then
27834 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27835 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27836 else
27837 { echo "$as_me:$LINENO: result: no" >&5
27838 echo "${ECHO_T}no" >&6; }
27839 fi
27840
27841
27842 min_gtk_version=1.2.7
27843 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27844 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27845 no_gtk=""
27846 if test "$GTK_CONFIG" = "no" ; then
27847 no_gtk=yes
27848 else
27849 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27850 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27851 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27852 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27853 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27855 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27857 if test "x$enable_gtktest" = "xyes" ; then
27858 ac_save_CFLAGS="$CFLAGS"
27859 ac_save_LIBS="$LIBS"
27860 CFLAGS="$CFLAGS $GTK_CFLAGS"
27861 LIBS="$GTK_LIBS $LIBS"
27862 rm -f conf.gtktest
27863 if test "$cross_compiling" = yes; then
27864 echo $ac_n "cross compiling; assumed OK... $ac_c"
27865 else
27866 cat >conftest.$ac_ext <<_ACEOF
27867 /* confdefs.h. */
27868 _ACEOF
27869 cat confdefs.h >>conftest.$ac_ext
27870 cat >>conftest.$ac_ext <<_ACEOF
27871 /* end confdefs.h. */
27872
27873 #include <gtk/gtk.h>
27874 #include <stdio.h>
27875 #include <stdlib.h>
27876
27877 int
27878 main ()
27879 {
27880 int major, minor, micro;
27881 char *tmp_version;
27882
27883 system ("touch conf.gtktest");
27884
27885 /* HP/UX 9 (%@#!) writes to sscanf strings */
27886 tmp_version = g_strdup("$min_gtk_version");
27887 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27888 printf("%s, bad version string\n", "$min_gtk_version");
27889 exit(1);
27890 }
27891
27892 if ((gtk_major_version != $gtk_config_major_version) ||
27893 (gtk_minor_version != $gtk_config_minor_version) ||
27894 (gtk_micro_version != $gtk_config_micro_version))
27895 {
27896 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27897 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27898 gtk_major_version, gtk_minor_version, gtk_micro_version);
27899 printf ("*** was found! If gtk-config was correct, then it is best\n");
27900 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27901 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27902 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27903 printf("*** required on your system.\n");
27904 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27905 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27906 printf("*** before re-running configure\n");
27907 }
27908 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27909 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27910 (gtk_minor_version != GTK_MINOR_VERSION) ||
27911 (gtk_micro_version != GTK_MICRO_VERSION))
27912 {
27913 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27914 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27915 printf("*** library (version %d.%d.%d)\n",
27916 gtk_major_version, gtk_minor_version, gtk_micro_version);
27917 }
27918 #endif /* defined (GTK_MAJOR_VERSION) ... */
27919 else
27920 {
27921 if ((gtk_major_version > major) ||
27922 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27923 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27924 {
27925 return 0;
27926 }
27927 else
27928 {
27929 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27930 gtk_major_version, gtk_minor_version, gtk_micro_version);
27931 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27932 major, minor, micro);
27933 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27934 printf("***\n");
27935 printf("*** If you have already installed a sufficiently new version, this error\n");
27936 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27937 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27938 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27939 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27940 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27941 printf("*** so that the correct libraries are found at run-time))\n");
27942 }
27943 }
27944 return 1;
27945 }
27946
27947 _ACEOF
27948 rm -f conftest$ac_exeext
27949 if { (ac_try="$ac_link"
27950 case "(($ac_try" in
27951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27952 *) ac_try_echo=$ac_try;;
27953 esac
27954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27955 (eval "$ac_link") 2>&5
27956 ac_status=$?
27957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27958 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27959 { (case "(($ac_try" in
27960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27961 *) ac_try_echo=$ac_try;;
27962 esac
27963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27964 (eval "$ac_try") 2>&5
27965 ac_status=$?
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; }; then
27968 :
27969 else
27970 echo "$as_me: program exited with status $ac_status" >&5
27971 echo "$as_me: failed program was:" >&5
27972 sed 's/^/| /' conftest.$ac_ext >&5
27973
27974 ( exit $ac_status )
27975 no_gtk=yes
27976 fi
27977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27978 fi
27979
27980
27981 CFLAGS="$ac_save_CFLAGS"
27982 LIBS="$ac_save_LIBS"
27983 fi
27984 fi
27985 if test "x$no_gtk" = x ; then
27986 { echo "$as_me:$LINENO: result: yes" >&5
27987 echo "${ECHO_T}yes" >&6; }
27988 wx_cv_lib_gtk=1.2.7
27989 else
27990 { echo "$as_me:$LINENO: result: no" >&5
27991 echo "${ECHO_T}no" >&6; }
27992 if test "$GTK_CONFIG" = "no" ; then
27993 echo "*** The gtk-config script installed by GTK could not be found"
27994 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27995 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27996 echo "*** full path to gtk-config."
27997 else
27998 if test -f conf.gtktest ; then
27999 :
28000 else
28001 echo "*** Could not run GTK test program, checking why..."
28002 CFLAGS="$CFLAGS $GTK_CFLAGS"
28003 LIBS="$LIBS $GTK_LIBS"
28004 cat >conftest.$ac_ext <<_ACEOF
28005 /* confdefs.h. */
28006 _ACEOF
28007 cat confdefs.h >>conftest.$ac_ext
28008 cat >>conftest.$ac_ext <<_ACEOF
28009 /* end confdefs.h. */
28010
28011 #include <gtk/gtk.h>
28012 #include <stdio.h>
28013
28014 int
28015 main ()
28016 {
28017 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28018 ;
28019 return 0;
28020 }
28021 _ACEOF
28022 rm -f conftest.$ac_objext conftest$ac_exeext
28023 if { (ac_try="$ac_link"
28024 case "(($ac_try" in
28025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28026 *) ac_try_echo=$ac_try;;
28027 esac
28028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28029 (eval "$ac_link") 2>conftest.er1
28030 ac_status=$?
28031 grep -v '^ *+' conftest.er1 >conftest.err
28032 rm -f conftest.er1
28033 cat conftest.err >&5
28034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035 (exit $ac_status); } && {
28036 test -z "$ac_c_werror_flag" ||
28037 test ! -s conftest.err
28038 } && test -s conftest$ac_exeext &&
28039 $as_test_x conftest$ac_exeext; then
28040 echo "*** The test program compiled, but did not run. This usually means"
28041 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28042 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28043 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28044 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28045 echo "*** is required on your system"
28046 echo "***"
28047 echo "*** If you have an old version installed, it is best to remove it, although"
28048 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28049 echo "***"
28050 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28051 echo "*** came with the system with the command"
28052 echo "***"
28053 echo "*** rpm --erase --nodeps gtk gtk-devel"
28054 else
28055 echo "$as_me: failed program was:" >&5
28056 sed 's/^/| /' conftest.$ac_ext >&5
28057
28058 echo "*** The test program failed to compile or link. See the file config.log for the"
28059 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28060 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28061 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28062 fi
28063
28064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28065 conftest$ac_exeext conftest.$ac_ext
28066 CFLAGS="$ac_save_CFLAGS"
28067 LIBS="$ac_save_LIBS"
28068 fi
28069 fi
28070 GTK_CFLAGS=""
28071 GTK_LIBS=""
28072 :
28073 fi
28074
28075
28076 rm -f conf.gtktest
28077
28078
28079 if test -z "$wx_cv_lib_gtk"; then
28080
28081 # Check whether --with-gtk-prefix was given.
28082 if test "${with_gtk_prefix+set}" = set; then
28083 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28084 else
28085 gtk_config_prefix=""
28086 fi
28087
28088
28089 # Check whether --with-gtk-exec-prefix was given.
28090 if test "${with_gtk_exec_prefix+set}" = set; then
28091 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28092 else
28093 gtk_config_exec_prefix=""
28094 fi
28095
28096 # Check whether --enable-gtktest was given.
28097 if test "${enable_gtktest+set}" = set; then
28098 enableval=$enable_gtktest;
28099 else
28100 enable_gtktest=yes
28101 fi
28102
28103
28104 for module in . $GTK_MODULES
28105 do
28106 case "$module" in
28107 gthread)
28108 gtk_config_args="$gtk_config_args gthread"
28109 ;;
28110 esac
28111 done
28112
28113 if test x$gtk_config_exec_prefix != x ; then
28114 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28115 if test x${GTK_CONFIG+set} != xset ; then
28116 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28117 fi
28118 fi
28119 if test x$gtk_config_prefix != x ; then
28120 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28121 if test x${GTK_CONFIG+set} != xset ; then
28122 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28123 fi
28124 fi
28125
28126 # Extract the first word of "gtk-config", so it can be a program name with args.
28127 set dummy gtk-config; ac_word=$2
28128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28130 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28131 echo $ECHO_N "(cached) $ECHO_C" >&6
28132 else
28133 case $GTK_CONFIG in
28134 [\\/]* | ?:[\\/]*)
28135 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28136 ;;
28137 *)
28138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28139 for as_dir in $PATH
28140 do
28141 IFS=$as_save_IFS
28142 test -z "$as_dir" && as_dir=.
28143 for ac_exec_ext in '' $ac_executable_extensions; do
28144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28145 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28147 break 2
28148 fi
28149 done
28150 done
28151 IFS=$as_save_IFS
28152
28153 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28154 ;;
28155 esac
28156 fi
28157 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28158 if test -n "$GTK_CONFIG"; then
28159 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28160 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28161 else
28162 { echo "$as_me:$LINENO: result: no" >&5
28163 echo "${ECHO_T}no" >&6; }
28164 fi
28165
28166
28167 min_gtk_version=1.2.3
28168 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28169 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28170 no_gtk=""
28171 if test "$GTK_CONFIG" = "no" ; then
28172 no_gtk=yes
28173 else
28174 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28175 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28176 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28178 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28179 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28180 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28181 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28182 if test "x$enable_gtktest" = "xyes" ; then
28183 ac_save_CFLAGS="$CFLAGS"
28184 ac_save_LIBS="$LIBS"
28185 CFLAGS="$CFLAGS $GTK_CFLAGS"
28186 LIBS="$GTK_LIBS $LIBS"
28187 rm -f conf.gtktest
28188 if test "$cross_compiling" = yes; then
28189 echo $ac_n "cross compiling; assumed OK... $ac_c"
28190 else
28191 cat >conftest.$ac_ext <<_ACEOF
28192 /* confdefs.h. */
28193 _ACEOF
28194 cat confdefs.h >>conftest.$ac_ext
28195 cat >>conftest.$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28197
28198 #include <gtk/gtk.h>
28199 #include <stdio.h>
28200 #include <stdlib.h>
28201
28202 int
28203 main ()
28204 {
28205 int major, minor, micro;
28206 char *tmp_version;
28207
28208 system ("touch conf.gtktest");
28209
28210 /* HP/UX 9 (%@#!) writes to sscanf strings */
28211 tmp_version = g_strdup("$min_gtk_version");
28212 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28213 printf("%s, bad version string\n", "$min_gtk_version");
28214 exit(1);
28215 }
28216
28217 if ((gtk_major_version != $gtk_config_major_version) ||
28218 (gtk_minor_version != $gtk_config_minor_version) ||
28219 (gtk_micro_version != $gtk_config_micro_version))
28220 {
28221 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28222 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28223 gtk_major_version, gtk_minor_version, gtk_micro_version);
28224 printf ("*** was found! If gtk-config was correct, then it is best\n");
28225 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28226 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28227 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28228 printf("*** required on your system.\n");
28229 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28230 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28231 printf("*** before re-running configure\n");
28232 }
28233 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28234 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28235 (gtk_minor_version != GTK_MINOR_VERSION) ||
28236 (gtk_micro_version != GTK_MICRO_VERSION))
28237 {
28238 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28239 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28240 printf("*** library (version %d.%d.%d)\n",
28241 gtk_major_version, gtk_minor_version, gtk_micro_version);
28242 }
28243 #endif /* defined (GTK_MAJOR_VERSION) ... */
28244 else
28245 {
28246 if ((gtk_major_version > major) ||
28247 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28248 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28249 {
28250 return 0;
28251 }
28252 else
28253 {
28254 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28255 gtk_major_version, gtk_minor_version, gtk_micro_version);
28256 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28257 major, minor, micro);
28258 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28259 printf("***\n");
28260 printf("*** If you have already installed a sufficiently new version, this error\n");
28261 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28262 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28263 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28264 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28265 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28266 printf("*** so that the correct libraries are found at run-time))\n");
28267 }
28268 }
28269 return 1;
28270 }
28271
28272 _ACEOF
28273 rm -f conftest$ac_exeext
28274 if { (ac_try="$ac_link"
28275 case "(($ac_try" in
28276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28277 *) ac_try_echo=$ac_try;;
28278 esac
28279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28280 (eval "$ac_link") 2>&5
28281 ac_status=$?
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28284 { (case "(($ac_try" in
28285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28286 *) ac_try_echo=$ac_try;;
28287 esac
28288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28289 (eval "$ac_try") 2>&5
28290 ac_status=$?
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); }; }; then
28293 :
28294 else
28295 echo "$as_me: program exited with status $ac_status" >&5
28296 echo "$as_me: failed program was:" >&5
28297 sed 's/^/| /' conftest.$ac_ext >&5
28298
28299 ( exit $ac_status )
28300 no_gtk=yes
28301 fi
28302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28303 fi
28304
28305
28306 CFLAGS="$ac_save_CFLAGS"
28307 LIBS="$ac_save_LIBS"
28308 fi
28309 fi
28310 if test "x$no_gtk" = x ; then
28311 { echo "$as_me:$LINENO: result: yes" >&5
28312 echo "${ECHO_T}yes" >&6; }
28313 wx_cv_lib_gtk=1.2.3
28314 else
28315 { echo "$as_me:$LINENO: result: no" >&5
28316 echo "${ECHO_T}no" >&6; }
28317 if test "$GTK_CONFIG" = "no" ; then
28318 echo "*** The gtk-config script installed by GTK could not be found"
28319 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28320 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28321 echo "*** full path to gtk-config."
28322 else
28323 if test -f conf.gtktest ; then
28324 :
28325 else
28326 echo "*** Could not run GTK test program, checking why..."
28327 CFLAGS="$CFLAGS $GTK_CFLAGS"
28328 LIBS="$LIBS $GTK_LIBS"
28329 cat >conftest.$ac_ext <<_ACEOF
28330 /* confdefs.h. */
28331 _ACEOF
28332 cat confdefs.h >>conftest.$ac_ext
28333 cat >>conftest.$ac_ext <<_ACEOF
28334 /* end confdefs.h. */
28335
28336 #include <gtk/gtk.h>
28337 #include <stdio.h>
28338
28339 int
28340 main ()
28341 {
28342 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28343 ;
28344 return 0;
28345 }
28346 _ACEOF
28347 rm -f conftest.$ac_objext conftest$ac_exeext
28348 if { (ac_try="$ac_link"
28349 case "(($ac_try" in
28350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28351 *) ac_try_echo=$ac_try;;
28352 esac
28353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28354 (eval "$ac_link") 2>conftest.er1
28355 ac_status=$?
28356 grep -v '^ *+' conftest.er1 >conftest.err
28357 rm -f conftest.er1
28358 cat conftest.err >&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); } && {
28361 test -z "$ac_c_werror_flag" ||
28362 test ! -s conftest.err
28363 } && test -s conftest$ac_exeext &&
28364 $as_test_x conftest$ac_exeext; then
28365 echo "*** The test program compiled, but did not run. This usually means"
28366 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28367 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28368 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28369 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28370 echo "*** is required on your system"
28371 echo "***"
28372 echo "*** If you have an old version installed, it is best to remove it, although"
28373 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28374 echo "***"
28375 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28376 echo "*** came with the system with the command"
28377 echo "***"
28378 echo "*** rpm --erase --nodeps gtk gtk-devel"
28379 else
28380 echo "$as_me: failed program was:" >&5
28381 sed 's/^/| /' conftest.$ac_ext >&5
28382
28383 echo "*** The test program failed to compile or link. See the file config.log for the"
28384 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28385 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28386 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28387 fi
28388
28389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28390 conftest$ac_exeext conftest.$ac_ext
28391 CFLAGS="$ac_save_CFLAGS"
28392 LIBS="$ac_save_LIBS"
28393 fi
28394 fi
28395 GTK_CFLAGS=""
28396 GTK_LIBS=""
28397 :
28398 fi
28399
28400
28401 rm -f conf.gtktest
28402
28403 fi
28404 fi
28405 fi
28406
28407 if test -z "$wx_cv_lib_gtk"; then
28408 wx_cv_lib_gtk=none
28409 else
28410 wx_cv_cflags_gtk=$GTK_CFLAGS
28411 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28412 fi
28413
28414
28415 fi
28416
28417
28418 if test "$gtk_version_cached" = 1; then
28419 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28420 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28421 fi
28422
28423 case "$wx_cv_lib_gtk" in
28424 2.0) WXGTK20=1
28425 TOOLKIT_VERSION=2
28426 ;;
28427 1.2.7) WXGTK127=1
28428 WXGTK12=1
28429 ;;
28430 1.2.3) WXGTK12=1
28431 ;;
28432 *) { { echo "$as_me:$LINENO: error:
28433 The development files for GTK+ were not found. For GTK+ 2, please
28434 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28435 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28436 and that the version is 1.2.3 or above. Also check that the
28437 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28438 --libs' are in the LD_LIBRARY_PATH or equivalent.
28439 " >&5
28440 echo "$as_me: error:
28441 The development files for GTK+ were not found. For GTK+ 2, please
28442 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28443 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28444 and that the version is 1.2.3 or above. Also check that the
28445 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28446 --libs' are in the LD_LIBRARY_PATH or equivalent.
28447 " >&2;}
28448 { (exit 1); exit 1; }; }
28449 ;;
28450 esac
28451
28452 if test "$WXGTK20" = 1; then
28453 save_CFLAGS="$CFLAGS"
28454 save_LIBS="$LIBS"
28455 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28456 LIBS="$LIBS $wx_cv_libs_gtk"
28457
28458 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28459 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28460 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28461 echo $ECHO_N "(cached) $ECHO_C" >&6
28462 else
28463 cat >conftest.$ac_ext <<_ACEOF
28464 /* confdefs.h. */
28465 _ACEOF
28466 cat confdefs.h >>conftest.$ac_ext
28467 cat >>conftest.$ac_ext <<_ACEOF
28468 /* end confdefs.h. */
28469 #include <gtk/gtk.h>
28470
28471 int
28472 main ()
28473 {
28474 #ifndef gtk_icon_size_lookup
28475 (void) gtk_icon_size_lookup;
28476 #endif
28477
28478 ;
28479 return 0;
28480 }
28481 _ACEOF
28482 rm -f conftest.$ac_objext
28483 if { (ac_try="$ac_compile"
28484 case "(($ac_try" in
28485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28486 *) ac_try_echo=$ac_try;;
28487 esac
28488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28489 (eval "$ac_compile") 2>conftest.er1
28490 ac_status=$?
28491 grep -v '^ *+' conftest.er1 >conftest.err
28492 rm -f conftest.er1
28493 cat conftest.err >&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } && {
28496 test -z "$ac_c_werror_flag" ||
28497 test ! -s conftest.err
28498 } && test -s conftest.$ac_objext; then
28499 ac_cv_have_decl_gtk_icon_size_lookup=yes
28500 else
28501 echo "$as_me: failed program was:" >&5
28502 sed 's/^/| /' conftest.$ac_ext >&5
28503
28504 ac_cv_have_decl_gtk_icon_size_lookup=no
28505 fi
28506
28507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28508 fi
28509 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28510 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28511 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28512
28513 cat >>confdefs.h <<_ACEOF
28514 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28515 _ACEOF
28516
28517
28518 else
28519 cat >>confdefs.h <<_ACEOF
28520 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28521 _ACEOF
28522
28523 cat >>confdefs.h <<\_ACEOF
28524 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28525 _ACEOF
28526
28527 fi
28528
28529
28530
28531
28532 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28533 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28534 cat >conftest.$ac_ext <<_ACEOF
28535 /* confdefs.h. */
28536 _ACEOF
28537 cat confdefs.h >>conftest.$ac_ext
28538 cat >>conftest.$ac_ext <<_ACEOF
28539 /* end confdefs.h. */
28540
28541 #include <gtk/gtk.h>
28542
28543 int
28544 main ()
28545 {
28546
28547 #if !GTK_CHECK_VERSION(2,10,0)
28548 Not GTK+ 2.10
28549 #endif
28550
28551 ;
28552 return 0;
28553 }
28554 _ACEOF
28555 rm -f conftest.$ac_objext
28556 if { (ac_try="$ac_compile"
28557 case "(($ac_try" in
28558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28559 *) ac_try_echo=$ac_try;;
28560 esac
28561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28562 (eval "$ac_compile") 2>conftest.er1
28563 ac_status=$?
28564 grep -v '^ *+' conftest.er1 >conftest.err
28565 rm -f conftest.er1
28566 cat conftest.err >&5
28567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568 (exit $ac_status); } && {
28569 test -z "$ac_c_werror_flag" ||
28570 test ! -s conftest.err
28571 } && test -s conftest.$ac_objext; then
28572
28573 cat >>confdefs.h <<\_ACEOF
28574 #define __WXGTK210__ 1
28575 _ACEOF
28576
28577 cat >>confdefs.h <<\_ACEOF
28578 #define __WXGTK26__ 1
28579 _ACEOF
28580
28581 cat >>confdefs.h <<\_ACEOF
28582 #define __WXGTK24__ 1
28583 _ACEOF
28584
28585 { echo "$as_me:$LINENO: result: yes" >&5
28586 echo "${ECHO_T}yes" >&6; }
28587 ac_wxgtk210=1
28588
28589 else
28590 echo "$as_me: failed program was:" >&5
28591 sed 's/^/| /' conftest.$ac_ext >&5
28592
28593
28594 { echo "$as_me:$LINENO: result: no" >&5
28595 echo "${ECHO_T}no" >&6; }
28596 ac_wxgtk210=0
28597
28598 fi
28599
28600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28601
28602 if test "$ac_wxgtk210" = 0; then
28603 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28604 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28605 cat >conftest.$ac_ext <<_ACEOF
28606 /* confdefs.h. */
28607 _ACEOF
28608 cat confdefs.h >>conftest.$ac_ext
28609 cat >>conftest.$ac_ext <<_ACEOF
28610 /* end confdefs.h. */
28611
28612 #include <gtk/gtk.h>
28613
28614 int
28615 main ()
28616 {
28617
28618 #if !GTK_CHECK_VERSION(2,6,0)
28619 Not GTK+ 2.6
28620 #endif
28621
28622 ;
28623 return 0;
28624 }
28625 _ACEOF
28626 rm -f conftest.$ac_objext
28627 if { (ac_try="$ac_compile"
28628 case "(($ac_try" in
28629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28630 *) ac_try_echo=$ac_try;;
28631 esac
28632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28633 (eval "$ac_compile") 2>conftest.er1
28634 ac_status=$?
28635 grep -v '^ *+' conftest.er1 >conftest.err
28636 rm -f conftest.er1
28637 cat conftest.err >&5
28638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28639 (exit $ac_status); } && {
28640 test -z "$ac_c_werror_flag" ||
28641 test ! -s conftest.err
28642 } && test -s conftest.$ac_objext; then
28643
28644 cat >>confdefs.h <<\_ACEOF
28645 #define __WXGTK26__ 1
28646 _ACEOF
28647
28648 cat >>confdefs.h <<\_ACEOF
28649 #define __WXGTK24__ 1
28650 _ACEOF
28651
28652 { echo "$as_me:$LINENO: result: yes" >&5
28653 echo "${ECHO_T}yes" >&6; }
28654 ac_wxgtk26=1
28655
28656 else
28657 echo "$as_me: failed program was:" >&5
28658 sed 's/^/| /' conftest.$ac_ext >&5
28659
28660
28661 { echo "$as_me:$LINENO: result: no" >&5
28662 echo "${ECHO_T}no" >&6; }
28663 ac_wxgtk26=0
28664
28665 fi
28666
28667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28668 fi
28669
28670 if test "$ac_wxgtk26" = 0; then
28671 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28672 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28673 cat >conftest.$ac_ext <<_ACEOF
28674 /* confdefs.h. */
28675 _ACEOF
28676 cat confdefs.h >>conftest.$ac_ext
28677 cat >>conftest.$ac_ext <<_ACEOF
28678 /* end confdefs.h. */
28679
28680 #include <gtk/gtk.h>
28681
28682 int
28683 main ()
28684 {
28685
28686 #if !GTK_CHECK_VERSION(2,4,0)
28687 Not GTK+ 2.4
28688 #endif
28689
28690 ;
28691 return 0;
28692 }
28693 _ACEOF
28694 rm -f conftest.$ac_objext
28695 if { (ac_try="$ac_compile"
28696 case "(($ac_try" in
28697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28698 *) ac_try_echo=$ac_try;;
28699 esac
28700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28701 (eval "$ac_compile") 2>conftest.er1
28702 ac_status=$?
28703 grep -v '^ *+' conftest.er1 >conftest.err
28704 rm -f conftest.er1
28705 cat conftest.err >&5
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); } && {
28708 test -z "$ac_c_werror_flag" ||
28709 test ! -s conftest.err
28710 } && test -s conftest.$ac_objext; then
28711
28712 cat >>confdefs.h <<\_ACEOF
28713 #define __WXGTK24__ 1
28714 _ACEOF
28715
28716 { echo "$as_me:$LINENO: result: yes" >&5
28717 echo "${ECHO_T}yes" >&6; }
28718
28719 else
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.$ac_ext >&5
28722
28723
28724 { echo "$as_me:$LINENO: result: no" >&5
28725 echo "${ECHO_T}no" >&6; }
28726
28727 fi
28728
28729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28730 fi
28731
28732 CFLAGS="$save_CFLAGS"
28733 LIBS="$save_LIBS"
28734 else
28735 if test "$wxUSE_UNICODE" = "yes"; then
28736 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28737 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28738 wxUSE_UNICODE=no
28739 fi
28740
28741 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28742 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28743 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28744 echo $ECHO_N "(cached) $ECHO_C" >&6
28745 else
28746 ac_check_lib_save_LIBS=$LIBS
28747 LIBS="-lgdk $LIBS"
28748 cat >conftest.$ac_ext <<_ACEOF
28749 /* confdefs.h. */
28750 _ACEOF
28751 cat confdefs.h >>conftest.$ac_ext
28752 cat >>conftest.$ac_ext <<_ACEOF
28753 /* end confdefs.h. */
28754
28755 /* Override any GCC internal prototype to avoid an error.
28756 Use char because int might match the return type of a GCC
28757 builtin and then its argument prototype would still apply. */
28758 #ifdef __cplusplus
28759 extern "C"
28760 #endif
28761 char gdk_im_open ();
28762 int
28763 main ()
28764 {
28765 return gdk_im_open ();
28766 ;
28767 return 0;
28768 }
28769 _ACEOF
28770 rm -f conftest.$ac_objext conftest$ac_exeext
28771 if { (ac_try="$ac_link"
28772 case "(($ac_try" in
28773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28774 *) ac_try_echo=$ac_try;;
28775 esac
28776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28777 (eval "$ac_link") 2>conftest.er1
28778 ac_status=$?
28779 grep -v '^ *+' conftest.er1 >conftest.err
28780 rm -f conftest.er1
28781 cat conftest.err >&5
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); } && {
28784 test -z "$ac_c_werror_flag" ||
28785 test ! -s conftest.err
28786 } && test -s conftest$ac_exeext &&
28787 $as_test_x conftest$ac_exeext; then
28788 ac_cv_lib_gdk_gdk_im_open=yes
28789 else
28790 echo "$as_me: failed program was:" >&5
28791 sed 's/^/| /' conftest.$ac_ext >&5
28792
28793 ac_cv_lib_gdk_gdk_im_open=no
28794 fi
28795
28796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28797 conftest$ac_exeext conftest.$ac_ext
28798 LIBS=$ac_check_lib_save_LIBS
28799 fi
28800 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28801 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28802 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28803 cat >>confdefs.h <<\_ACEOF
28804 #define HAVE_XIM 1
28805 _ACEOF
28806
28807 fi
28808
28809
28810 if test "$USE_DARWIN" != 1; then
28811
28812 for ac_func in poll
28813 do
28814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28815 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28817 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28818 echo $ECHO_N "(cached) $ECHO_C" >&6
28819 else
28820 cat >conftest.$ac_ext <<_ACEOF
28821 /* confdefs.h. */
28822 _ACEOF
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h. */
28826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28828 #define $ac_func innocuous_$ac_func
28829
28830 /* System header to define __stub macros and hopefully few prototypes,
28831 which can conflict with char $ac_func (); below.
28832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28833 <limits.h> exists even on freestanding compilers. */
28834
28835 #ifdef __STDC__
28836 # include <limits.h>
28837 #else
28838 # include <assert.h>
28839 #endif
28840
28841 #undef $ac_func
28842
28843 /* Override any GCC internal prototype to avoid an error.
28844 Use char because int might match the return type of a GCC
28845 builtin and then its argument prototype would still apply. */
28846 #ifdef __cplusplus
28847 extern "C"
28848 #endif
28849 char $ac_func ();
28850 /* The GNU C library defines this for functions which it implements
28851 to always fail with ENOSYS. Some functions are actually named
28852 something starting with __ and the normal name is an alias. */
28853 #if defined __stub_$ac_func || defined __stub___$ac_func
28854 choke me
28855 #endif
28856
28857 int
28858 main ()
28859 {
28860 return $ac_func ();
28861 ;
28862 return 0;
28863 }
28864 _ACEOF
28865 rm -f conftest.$ac_objext conftest$ac_exeext
28866 if { (ac_try="$ac_link"
28867 case "(($ac_try" in
28868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28869 *) ac_try_echo=$ac_try;;
28870 esac
28871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28872 (eval "$ac_link") 2>conftest.er1
28873 ac_status=$?
28874 grep -v '^ *+' conftest.er1 >conftest.err
28875 rm -f conftest.er1
28876 cat conftest.err >&5
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); } && {
28879 test -z "$ac_c_werror_flag" ||
28880 test ! -s conftest.err
28881 } && test -s conftest$ac_exeext &&
28882 $as_test_x conftest$ac_exeext; then
28883 eval "$as_ac_var=yes"
28884 else
28885 echo "$as_me: failed program was:" >&5
28886 sed 's/^/| /' conftest.$ac_ext >&5
28887
28888 eval "$as_ac_var=no"
28889 fi
28890
28891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28892 conftest$ac_exeext conftest.$ac_ext
28893 fi
28894 ac_res=`eval echo '${'$as_ac_var'}'`
28895 { echo "$as_me:$LINENO: result: $ac_res" >&5
28896 echo "${ECHO_T}$ac_res" >&6; }
28897 if test `eval echo '${'$as_ac_var'}'` = yes; then
28898 cat >>confdefs.h <<_ACEOF
28899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28900 _ACEOF
28901
28902 fi
28903 done
28904
28905 fi
28906 fi
28907
28908 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28909 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28910
28911 AFMINSTALL=afminstall
28912 TOOLKIT=GTK
28913 GUIDIST=GTK_DIST
28914
28915 if test "$wxUSE_GPE" = "yes"; then
28916 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28917 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28918
28919 ac_find_libraries=
28920 for ac_dir in $SEARCH_LIB;
28921 do
28922 for ac_extension in a so sl dylib dll.a; do
28923 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28924 ac_find_libraries=$ac_dir
28925 break 2
28926 fi
28927 done
28928 done
28929
28930 if test "$ac_find_libraries" != "" ; then
28931
28932 if test "$ac_find_libraries" = "default location"; then
28933 ac_path_to_link=""
28934 else
28935 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28936 result=$?
28937 if test $result = 0; then
28938 ac_path_to_link=""
28939 else
28940 ac_path_to_link=" -L$ac_find_libraries"
28941 fi
28942 fi
28943
28944 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28945 WXGPE=1
28946 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28947 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28948 else
28949 { echo "$as_me:$LINENO: result: not found" >&5
28950 echo "${ECHO_T}not found" >&6; }
28951 fi
28952
28953 fi
28954 fi
28955
28956 if test "$wxUSE_MGL" = 1; then
28957 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28958 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28959 if test "x$MGL_ROOT" = x ; then
28960 { echo "$as_me:$LINENO: result: not found" >&5
28961 echo "${ECHO_T}not found" >&6; }
28962 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28963 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28964 { (exit 1); exit 1; }; }
28965 else
28966 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28967 echo "${ECHO_T}$MGL_ROOT" >&6; }
28968 fi
28969
28970 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28971 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28972 case "${host}" in
28973 *-*-linux* )
28974 if test "x$wxUSE_SHARED" = xyes ; then
28975 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28976 else
28977 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28978 fi
28979 ;;
28980 *-pc-msdosdjgpp )
28981 mgl_os_candidates="dos32/dj2"
28982 ;;
28983 *)
28984 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28985 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28986 { (exit 1); exit 1; }; }
28987 esac
28988
28989 mgl_lib_type=""
28990 mgl_os=""
28991
28992 for mgl_os_i in $mgl_os_candidates ; do
28993 if test "x$mgl_os" = x ; then
28994 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28995 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28996 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28997 mgl_lib_type=debug
28998 mgl_os=$mgl_os_i
28999 fi
29000 fi
29001 if test "x$mgl_lib_type" = x ; then
29002 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29003 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29004 mgl_lib_type=release
29005 mgl_os=$mgl_os_i
29006 fi
29007 fi
29008 fi
29009 done
29010
29011 if test "x$mgl_os" = x ; then
29012 { echo "$as_me:$LINENO: result: not found" >&5
29013 echo "${ECHO_T}not found" >&6; }
29014 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29015 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29016 { (exit 1); exit 1; }; }
29017 fi
29018 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29019 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29020
29021 wxUSE_UNIVERSAL="yes"
29022
29023 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29024 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29025
29026 AFMINSTALL=afminstall
29027 TOOLKIT=MGL
29028 GUIDIST=MGL_DIST
29029 fi
29030
29031 if test "$wxUSE_DFB" = 1; then
29032
29033
29034 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29035 if test -n "$ac_tool_prefix"; then
29036 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29037 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29040 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29041 echo $ECHO_N "(cached) $ECHO_C" >&6
29042 else
29043 case $PKG_CONFIG in
29044 [\\/]* | ?:[\\/]*)
29045 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29046 ;;
29047 *)
29048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29049 for as_dir in $PATH
29050 do
29051 IFS=$as_save_IFS
29052 test -z "$as_dir" && as_dir=.
29053 for ac_exec_ext in '' $ac_executable_extensions; do
29054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29055 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29057 break 2
29058 fi
29059 done
29060 done
29061 IFS=$as_save_IFS
29062
29063 ;;
29064 esac
29065 fi
29066 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29067 if test -n "$PKG_CONFIG"; then
29068 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29069 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29070 else
29071 { echo "$as_me:$LINENO: result: no" >&5
29072 echo "${ECHO_T}no" >&6; }
29073 fi
29074
29075
29076 fi
29077 if test -z "$ac_cv_path_PKG_CONFIG"; then
29078 ac_pt_PKG_CONFIG=$PKG_CONFIG
29079 # Extract the first word of "pkg-config", so it can be a program name with args.
29080 set dummy pkg-config; ac_word=$2
29081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29083 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29084 echo $ECHO_N "(cached) $ECHO_C" >&6
29085 else
29086 case $ac_pt_PKG_CONFIG in
29087 [\\/]* | ?:[\\/]*)
29088 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29089 ;;
29090 *)
29091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29092 for as_dir in $PATH
29093 do
29094 IFS=$as_save_IFS
29095 test -z "$as_dir" && as_dir=.
29096 for ac_exec_ext in '' $ac_executable_extensions; do
29097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29098 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29100 break 2
29101 fi
29102 done
29103 done
29104 IFS=$as_save_IFS
29105
29106 ;;
29107 esac
29108 fi
29109 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29110 if test -n "$ac_pt_PKG_CONFIG"; then
29111 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29112 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29113 else
29114 { echo "$as_me:$LINENO: result: no" >&5
29115 echo "${ECHO_T}no" >&6; }
29116 fi
29117
29118 if test "x$ac_pt_PKG_CONFIG" = x; then
29119 PKG_CONFIG=""
29120 else
29121 case $cross_compiling:$ac_tool_warned in
29122 yes:)
29123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29124 whose name does not start with the host triplet. If you think this
29125 configuration is useful to you, please write to autoconf@gnu.org." >&5
29126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29127 whose name does not start with the host triplet. If you think this
29128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29129 ac_tool_warned=yes ;;
29130 esac
29131 PKG_CONFIG=$ac_pt_PKG_CONFIG
29132 fi
29133 else
29134 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29135 fi
29136
29137 fi
29138 if test -n "$PKG_CONFIG"; then
29139 _pkg_min_version=0.9.0
29140 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29141 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29142 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29143 { echo "$as_me:$LINENO: result: yes" >&5
29144 echo "${ECHO_T}yes" >&6; }
29145 else
29146 { echo "$as_me:$LINENO: result: no" >&5
29147 echo "${ECHO_T}no" >&6; }
29148 PKG_CONFIG=""
29149 fi
29150
29151 fi
29152
29153
29154 pkg_failed=no
29155 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29156 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29157
29158 if test -n "$PKG_CONFIG"; then
29159 if test -n "$DIRECTFB_CFLAGS"; then
29160 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29161 else
29162 if test -n "$PKG_CONFIG" && \
29163 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29164 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29165 ac_status=$?
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); }; then
29168 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29169 else
29170 pkg_failed=yes
29171 fi
29172 fi
29173 else
29174 pkg_failed=untried
29175 fi
29176 if test -n "$PKG_CONFIG"; then
29177 if test -n "$DIRECTFB_LIBS"; then
29178 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29179 else
29180 if test -n "$PKG_CONFIG" && \
29181 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29182 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29183 ac_status=$?
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); }; then
29186 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29187 else
29188 pkg_failed=yes
29189 fi
29190 fi
29191 else
29192 pkg_failed=untried
29193 fi
29194
29195
29196
29197 if test $pkg_failed = yes; then
29198
29199 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29200 _pkg_short_errors_supported=yes
29201 else
29202 _pkg_short_errors_supported=no
29203 fi
29204 if test $_pkg_short_errors_supported = yes; then
29205 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29206 else
29207 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29208 fi
29209 # Put the nasty error message in config.log where it belongs
29210 echo "$DIRECTFB_PKG_ERRORS" >&5
29211
29212
29213 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29214 echo "$as_me: error: DirectFB not found." >&2;}
29215 { (exit 1); exit 1; }; }
29216
29217
29218 elif test $pkg_failed = untried; then
29219
29220 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29221 echo "$as_me: error: DirectFB not found." >&2;}
29222 { (exit 1); exit 1; }; }
29223
29224
29225 else
29226 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29227 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29228 { echo "$as_me:$LINENO: result: yes" >&5
29229 echo "${ECHO_T}yes" >&6; }
29230
29231 wxUSE_UNIVERSAL="yes"
29232 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29233 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29234 TOOLKIT=DFB
29235 GUIDIST=DFB_DIST
29236
29237 fi
29238 fi
29239
29240 if test "$wxUSE_MICROWIN" = 1; then
29241 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29242 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29243 if test "x$MICROWINDOWS" = x ; then
29244 { echo "$as_me:$LINENO: result: not found" >&5
29245 echo "${ECHO_T}not found" >&6; }
29246 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29247 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29248 { (exit 1); exit 1; }; }
29249 else
29250 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29251 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29252 fi
29253
29254 if test -f $MICROWINDOWS/lib/libmwin.a; then
29255 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29256 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29257 else
29258 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29259 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29260 { (exit 1); exit 1; }; }
29261 fi
29262
29263 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29264 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29265
29266 wxUSE_UNIVERSAL="yes"
29267
29268 AFMINSTALL=afminstall
29269 TOOLKIT=MICROWIN
29270 GUIDIST=MICROWIN_DIST
29271
29272 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29273 fi
29274
29275 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29276 { echo "$as_me:$LINENO: checking for X" >&5
29277 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29278
29279
29280 # Check whether --with-x was given.
29281 if test "${with_x+set}" = set; then
29282 withval=$with_x;
29283 fi
29284
29285 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29286 if test "x$with_x" = xno; then
29287 # The user explicitly disabled X.
29288 have_x=disabled
29289 else
29290 case $x_includes,$x_libraries in #(
29291 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29292 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29293 { (exit 1); exit 1; }; };; #(
29294 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29295 echo $ECHO_N "(cached) $ECHO_C" >&6
29296 else
29297 # One or both of the vars are not set, and there is no cached value.
29298 ac_x_includes=no ac_x_libraries=no
29299 rm -f -r conftest.dir
29300 if mkdir conftest.dir; then
29301 cd conftest.dir
29302 cat >Imakefile <<'_ACEOF'
29303 incroot:
29304 @echo incroot='${INCROOT}'
29305 usrlibdir:
29306 @echo usrlibdir='${USRLIBDIR}'
29307 libdir:
29308 @echo libdir='${LIBDIR}'
29309 _ACEOF
29310 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29311 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29312 for ac_var in incroot usrlibdir libdir; do
29313 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29314 done
29315 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29316 for ac_extension in a so sl; do
29317 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29318 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29319 ac_im_usrlibdir=$ac_im_libdir; break
29320 fi
29321 done
29322 # Screen out bogus values from the imake configuration. They are
29323 # bogus both because they are the default anyway, and because
29324 # using them would break gcc on systems where it needs fixed includes.
29325 case $ac_im_incroot in
29326 /usr/include) ac_x_includes= ;;
29327 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29328 esac
29329 case $ac_im_usrlibdir in
29330 /usr/lib | /lib) ;;
29331 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29332 esac
29333 fi
29334 cd ..
29335 rm -f -r conftest.dir
29336 fi
29337
29338 # Standard set of common directories for X headers.
29339 # Check X11 before X11Rn because it is often a symlink to the current release.
29340 ac_x_header_dirs='
29341 /usr/X11/include
29342 /usr/X11R6/include
29343 /usr/X11R5/include
29344 /usr/X11R4/include
29345
29346 /usr/include/X11
29347 /usr/include/X11R6
29348 /usr/include/X11R5
29349 /usr/include/X11R4
29350
29351 /usr/local/X11/include
29352 /usr/local/X11R6/include
29353 /usr/local/X11R5/include
29354 /usr/local/X11R4/include
29355
29356 /usr/local/include/X11
29357 /usr/local/include/X11R6
29358 /usr/local/include/X11R5
29359 /usr/local/include/X11R4
29360
29361 /usr/X386/include
29362 /usr/x386/include
29363 /usr/XFree86/include/X11
29364
29365 /usr/include
29366 /usr/local/include
29367 /usr/unsupported/include
29368 /usr/athena/include
29369 /usr/local/x11r5/include
29370 /usr/lpp/Xamples/include
29371
29372 /usr/openwin/include
29373 /usr/openwin/share/include'
29374
29375 if test "$ac_x_includes" = no; then
29376 # Guess where to find include files, by looking for Xlib.h.
29377 # First, try using that file with no special directory specified.
29378 cat >conftest.$ac_ext <<_ACEOF
29379 /* confdefs.h. */
29380 _ACEOF
29381 cat confdefs.h >>conftest.$ac_ext
29382 cat >>conftest.$ac_ext <<_ACEOF
29383 /* end confdefs.h. */
29384 #include <X11/Xlib.h>
29385 _ACEOF
29386 if { (ac_try="$ac_cpp conftest.$ac_ext"
29387 case "(($ac_try" in
29388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29389 *) ac_try_echo=$ac_try;;
29390 esac
29391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29392 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29393 ac_status=$?
29394 grep -v '^ *+' conftest.er1 >conftest.err
29395 rm -f conftest.er1
29396 cat conftest.err >&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } >/dev/null && {
29399 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29400 test ! -s conftest.err
29401 }; then
29402 # We can compile using X headers with no special include directory.
29403 ac_x_includes=
29404 else
29405 echo "$as_me: failed program was:" >&5
29406 sed 's/^/| /' conftest.$ac_ext >&5
29407
29408 for ac_dir in $ac_x_header_dirs; do
29409 if test -r "$ac_dir/X11/Xlib.h"; then
29410 ac_x_includes=$ac_dir
29411 break
29412 fi
29413 done
29414 fi
29415
29416 rm -f conftest.err conftest.$ac_ext
29417 fi # $ac_x_includes = no
29418
29419 if test "$ac_x_libraries" = no; then
29420 # Check for the libraries.
29421 # See if we find them without any special options.
29422 # Don't add to $LIBS permanently.
29423 ac_save_LIBS=$LIBS
29424 LIBS="-lX11 $LIBS"
29425 cat >conftest.$ac_ext <<_ACEOF
29426 /* confdefs.h. */
29427 _ACEOF
29428 cat confdefs.h >>conftest.$ac_ext
29429 cat >>conftest.$ac_ext <<_ACEOF
29430 /* end confdefs.h. */
29431 #include <X11/Xlib.h>
29432 int
29433 main ()
29434 {
29435 XrmInitialize ()
29436 ;
29437 return 0;
29438 }
29439 _ACEOF
29440 rm -f conftest.$ac_objext conftest$ac_exeext
29441 if { (ac_try="$ac_link"
29442 case "(($ac_try" in
29443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29444 *) ac_try_echo=$ac_try;;
29445 esac
29446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29447 (eval "$ac_link") 2>conftest.er1
29448 ac_status=$?
29449 grep -v '^ *+' conftest.er1 >conftest.err
29450 rm -f conftest.er1
29451 cat conftest.err >&5
29452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29453 (exit $ac_status); } && {
29454 test -z "$ac_c_werror_flag" ||
29455 test ! -s conftest.err
29456 } && test -s conftest$ac_exeext &&
29457 $as_test_x conftest$ac_exeext; then
29458 LIBS=$ac_save_LIBS
29459 # We can link X programs with no special library path.
29460 ac_x_libraries=
29461 else
29462 echo "$as_me: failed program was:" >&5
29463 sed 's/^/| /' conftest.$ac_ext >&5
29464
29465 LIBS=$ac_save_LIBS
29466 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29467 do
29468 # Don't even attempt the hair of trying to link an X program!
29469 for ac_extension in a so sl; do
29470 if test -r "$ac_dir/libX11.$ac_extension"; then
29471 ac_x_libraries=$ac_dir
29472 break 2
29473 fi
29474 done
29475 done
29476 fi
29477
29478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29479 conftest$ac_exeext conftest.$ac_ext
29480 fi # $ac_x_libraries = no
29481
29482 case $ac_x_includes,$ac_x_libraries in #(
29483 no,* | *,no | *\'*)
29484 # Didn't find X, or a directory has "'" in its name.
29485 ac_cv_have_x="have_x=no";; #(
29486 *)
29487 # Record where we found X for the cache.
29488 ac_cv_have_x="have_x=yes\
29489 ac_x_includes='$ac_x_includes'\
29490 ac_x_libraries='$ac_x_libraries'"
29491 esac
29492 fi
29493 ;; #(
29494 *) have_x=yes;;
29495 esac
29496 eval "$ac_cv_have_x"
29497 fi # $with_x != no
29498
29499 if test "$have_x" != yes; then
29500 { echo "$as_me:$LINENO: result: $have_x" >&5
29501 echo "${ECHO_T}$have_x" >&6; }
29502 no_x=yes
29503 else
29504 # If each of the values was on the command line, it overrides each guess.
29505 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29506 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29507 # Update the cache value to reflect the command line values.
29508 ac_cv_have_x="have_x=yes\
29509 ac_x_includes='$x_includes'\
29510 ac_x_libraries='$x_libraries'"
29511 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29512 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29513 fi
29514
29515 if test "$no_x" = yes; then
29516 # Not all programs may use this symbol, but it does not hurt to define it.
29517
29518 cat >>confdefs.h <<\_ACEOF
29519 #define X_DISPLAY_MISSING 1
29520 _ACEOF
29521
29522 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29523 else
29524 if test -n "$x_includes"; then
29525 X_CFLAGS="$X_CFLAGS -I$x_includes"
29526 fi
29527
29528 # It would also be nice to do this for all -L options, not just this one.
29529 if test -n "$x_libraries"; then
29530 X_LIBS="$X_LIBS -L$x_libraries"
29531 # For Solaris; some versions of Sun CC require a space after -R and
29532 # others require no space. Words are not sufficient . . . .
29533 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29534 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29535 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29536 ac_xsave_c_werror_flag=$ac_c_werror_flag
29537 ac_c_werror_flag=yes
29538 cat >conftest.$ac_ext <<_ACEOF
29539 /* confdefs.h. */
29540 _ACEOF
29541 cat confdefs.h >>conftest.$ac_ext
29542 cat >>conftest.$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29544
29545 int
29546 main ()
29547 {
29548
29549 ;
29550 return 0;
29551 }
29552 _ACEOF
29553 rm -f conftest.$ac_objext conftest$ac_exeext
29554 if { (ac_try="$ac_link"
29555 case "(($ac_try" in
29556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29557 *) ac_try_echo=$ac_try;;
29558 esac
29559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_link") 2>conftest.er1
29561 ac_status=$?
29562 grep -v '^ *+' conftest.er1 >conftest.err
29563 rm -f conftest.er1
29564 cat conftest.err >&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); } && {
29567 test -z "$ac_c_werror_flag" ||
29568 test ! -s conftest.err
29569 } && test -s conftest$ac_exeext &&
29570 $as_test_x conftest$ac_exeext; then
29571 { echo "$as_me:$LINENO: result: no" >&5
29572 echo "${ECHO_T}no" >&6; }
29573 X_LIBS="$X_LIBS -R$x_libraries"
29574 else
29575 echo "$as_me: failed program was:" >&5
29576 sed 's/^/| /' conftest.$ac_ext >&5
29577
29578 LIBS="$ac_xsave_LIBS -R $x_libraries"
29579 cat >conftest.$ac_ext <<_ACEOF
29580 /* confdefs.h. */
29581 _ACEOF
29582 cat confdefs.h >>conftest.$ac_ext
29583 cat >>conftest.$ac_ext <<_ACEOF
29584 /* end confdefs.h. */
29585
29586 int
29587 main ()
29588 {
29589
29590 ;
29591 return 0;
29592 }
29593 _ACEOF
29594 rm -f conftest.$ac_objext conftest$ac_exeext
29595 if { (ac_try="$ac_link"
29596 case "(($ac_try" in
29597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29598 *) ac_try_echo=$ac_try;;
29599 esac
29600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29601 (eval "$ac_link") 2>conftest.er1
29602 ac_status=$?
29603 grep -v '^ *+' conftest.er1 >conftest.err
29604 rm -f conftest.er1
29605 cat conftest.err >&5
29606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29607 (exit $ac_status); } && {
29608 test -z "$ac_c_werror_flag" ||
29609 test ! -s conftest.err
29610 } && test -s conftest$ac_exeext &&
29611 $as_test_x conftest$ac_exeext; then
29612 { echo "$as_me:$LINENO: result: yes" >&5
29613 echo "${ECHO_T}yes" >&6; }
29614 X_LIBS="$X_LIBS -R $x_libraries"
29615 else
29616 echo "$as_me: failed program was:" >&5
29617 sed 's/^/| /' conftest.$ac_ext >&5
29618
29619 { echo "$as_me:$LINENO: result: neither works" >&5
29620 echo "${ECHO_T}neither works" >&6; }
29621 fi
29622
29623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29624 conftest$ac_exeext conftest.$ac_ext
29625 fi
29626
29627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29628 conftest$ac_exeext conftest.$ac_ext
29629 ac_c_werror_flag=$ac_xsave_c_werror_flag
29630 LIBS=$ac_xsave_LIBS
29631 fi
29632
29633 # Check for system-dependent libraries X programs must link with.
29634 # Do this before checking for the system-independent R6 libraries
29635 # (-lICE), since we may need -lsocket or whatever for X linking.
29636
29637 if test "$ISC" = yes; then
29638 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29639 else
29640 # Martyn Johnson says this is needed for Ultrix, if the X
29641 # libraries were built with DECnet support. And Karl Berry says
29642 # the Alpha needs dnet_stub (dnet does not exist).
29643 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29644 cat >conftest.$ac_ext <<_ACEOF
29645 /* confdefs.h. */
29646 _ACEOF
29647 cat confdefs.h >>conftest.$ac_ext
29648 cat >>conftest.$ac_ext <<_ACEOF
29649 /* end confdefs.h. */
29650
29651 /* Override any GCC internal prototype to avoid an error.
29652 Use char because int might match the return type of a GCC
29653 builtin and then its argument prototype would still apply. */
29654 #ifdef __cplusplus
29655 extern "C"
29656 #endif
29657 char XOpenDisplay ();
29658 int
29659 main ()
29660 {
29661 return XOpenDisplay ();
29662 ;
29663 return 0;
29664 }
29665 _ACEOF
29666 rm -f conftest.$ac_objext conftest$ac_exeext
29667 if { (ac_try="$ac_link"
29668 case "(($ac_try" in
29669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29670 *) ac_try_echo=$ac_try;;
29671 esac
29672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29673 (eval "$ac_link") 2>conftest.er1
29674 ac_status=$?
29675 grep -v '^ *+' conftest.er1 >conftest.err
29676 rm -f conftest.er1
29677 cat conftest.err >&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); } && {
29680 test -z "$ac_c_werror_flag" ||
29681 test ! -s conftest.err
29682 } && test -s conftest$ac_exeext &&
29683 $as_test_x conftest$ac_exeext; then
29684 :
29685 else
29686 echo "$as_me: failed program was:" >&5
29687 sed 's/^/| /' conftest.$ac_ext >&5
29688
29689 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29690 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29691 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29692 echo $ECHO_N "(cached) $ECHO_C" >&6
29693 else
29694 ac_check_lib_save_LIBS=$LIBS
29695 LIBS="-ldnet $LIBS"
29696 cat >conftest.$ac_ext <<_ACEOF
29697 /* confdefs.h. */
29698 _ACEOF
29699 cat confdefs.h >>conftest.$ac_ext
29700 cat >>conftest.$ac_ext <<_ACEOF
29701 /* end confdefs.h. */
29702
29703 /* Override any GCC internal prototype to avoid an error.
29704 Use char because int might match the return type of a GCC
29705 builtin and then its argument prototype would still apply. */
29706 #ifdef __cplusplus
29707 extern "C"
29708 #endif
29709 char dnet_ntoa ();
29710 int
29711 main ()
29712 {
29713 return dnet_ntoa ();
29714 ;
29715 return 0;
29716 }
29717 _ACEOF
29718 rm -f conftest.$ac_objext conftest$ac_exeext
29719 if { (ac_try="$ac_link"
29720 case "(($ac_try" in
29721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29722 *) ac_try_echo=$ac_try;;
29723 esac
29724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29725 (eval "$ac_link") 2>conftest.er1
29726 ac_status=$?
29727 grep -v '^ *+' conftest.er1 >conftest.err
29728 rm -f conftest.er1
29729 cat conftest.err >&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); } && {
29732 test -z "$ac_c_werror_flag" ||
29733 test ! -s conftest.err
29734 } && test -s conftest$ac_exeext &&
29735 $as_test_x conftest$ac_exeext; then
29736 ac_cv_lib_dnet_dnet_ntoa=yes
29737 else
29738 echo "$as_me: failed program was:" >&5
29739 sed 's/^/| /' conftest.$ac_ext >&5
29740
29741 ac_cv_lib_dnet_dnet_ntoa=no
29742 fi
29743
29744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29745 conftest$ac_exeext conftest.$ac_ext
29746 LIBS=$ac_check_lib_save_LIBS
29747 fi
29748 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29749 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29750 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29751 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29752 fi
29753
29754 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29755 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29756 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29757 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 else
29760 ac_check_lib_save_LIBS=$LIBS
29761 LIBS="-ldnet_stub $LIBS"
29762 cat >conftest.$ac_ext <<_ACEOF
29763 /* confdefs.h. */
29764 _ACEOF
29765 cat confdefs.h >>conftest.$ac_ext
29766 cat >>conftest.$ac_ext <<_ACEOF
29767 /* end confdefs.h. */
29768
29769 /* Override any GCC internal prototype to avoid an error.
29770 Use char because int might match the return type of a GCC
29771 builtin and then its argument prototype would still apply. */
29772 #ifdef __cplusplus
29773 extern "C"
29774 #endif
29775 char dnet_ntoa ();
29776 int
29777 main ()
29778 {
29779 return dnet_ntoa ();
29780 ;
29781 return 0;
29782 }
29783 _ACEOF
29784 rm -f conftest.$ac_objext conftest$ac_exeext
29785 if { (ac_try="$ac_link"
29786 case "(($ac_try" in
29787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29788 *) ac_try_echo=$ac_try;;
29789 esac
29790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29791 (eval "$ac_link") 2>conftest.er1
29792 ac_status=$?
29793 grep -v '^ *+' conftest.er1 >conftest.err
29794 rm -f conftest.er1
29795 cat conftest.err >&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); } && {
29798 test -z "$ac_c_werror_flag" ||
29799 test ! -s conftest.err
29800 } && test -s conftest$ac_exeext &&
29801 $as_test_x conftest$ac_exeext; then
29802 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29803 else
29804 echo "$as_me: failed program was:" >&5
29805 sed 's/^/| /' conftest.$ac_ext >&5
29806
29807 ac_cv_lib_dnet_stub_dnet_ntoa=no
29808 fi
29809
29810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29811 conftest$ac_exeext conftest.$ac_ext
29812 LIBS=$ac_check_lib_save_LIBS
29813 fi
29814 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29815 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29816 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29817 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29818 fi
29819
29820 fi
29821 fi
29822
29823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29824 conftest$ac_exeext conftest.$ac_ext
29825 LIBS="$ac_xsave_LIBS"
29826
29827 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29828 # to get the SysV transport functions.
29829 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29830 # needs -lnsl.
29831 # The nsl library prevents programs from opening the X display
29832 # on Irix 5.2, according to T.E. Dickey.
29833 # The functions gethostbyname, getservbyname, and inet_addr are
29834 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29835 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29836 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29837 if test "${ac_cv_func_gethostbyname+set}" = set; then
29838 echo $ECHO_N "(cached) $ECHO_C" >&6
29839 else
29840 cat >conftest.$ac_ext <<_ACEOF
29841 /* confdefs.h. */
29842 _ACEOF
29843 cat confdefs.h >>conftest.$ac_ext
29844 cat >>conftest.$ac_ext <<_ACEOF
29845 /* end confdefs.h. */
29846 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29848 #define gethostbyname innocuous_gethostbyname
29849
29850 /* System header to define __stub macros and hopefully few prototypes,
29851 which can conflict with char gethostbyname (); below.
29852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29853 <limits.h> exists even on freestanding compilers. */
29854
29855 #ifdef __STDC__
29856 # include <limits.h>
29857 #else
29858 # include <assert.h>
29859 #endif
29860
29861 #undef gethostbyname
29862
29863 /* Override any GCC internal prototype to avoid an error.
29864 Use char because int might match the return type of a GCC
29865 builtin and then its argument prototype would still apply. */
29866 #ifdef __cplusplus
29867 extern "C"
29868 #endif
29869 char gethostbyname ();
29870 /* The GNU C library defines this for functions which it implements
29871 to always fail with ENOSYS. Some functions are actually named
29872 something starting with __ and the normal name is an alias. */
29873 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29874 choke me
29875 #endif
29876
29877 int
29878 main ()
29879 {
29880 return gethostbyname ();
29881 ;
29882 return 0;
29883 }
29884 _ACEOF
29885 rm -f conftest.$ac_objext conftest$ac_exeext
29886 if { (ac_try="$ac_link"
29887 case "(($ac_try" in
29888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29889 *) ac_try_echo=$ac_try;;
29890 esac
29891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29892 (eval "$ac_link") 2>conftest.er1
29893 ac_status=$?
29894 grep -v '^ *+' conftest.er1 >conftest.err
29895 rm -f conftest.er1
29896 cat conftest.err >&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } && {
29899 test -z "$ac_c_werror_flag" ||
29900 test ! -s conftest.err
29901 } && test -s conftest$ac_exeext &&
29902 $as_test_x conftest$ac_exeext; then
29903 ac_cv_func_gethostbyname=yes
29904 else
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.$ac_ext >&5
29907
29908 ac_cv_func_gethostbyname=no
29909 fi
29910
29911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29912 conftest$ac_exeext conftest.$ac_ext
29913 fi
29914 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29915 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29916
29917 if test $ac_cv_func_gethostbyname = no; then
29918 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29919 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29920 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29921 echo $ECHO_N "(cached) $ECHO_C" >&6
29922 else
29923 ac_check_lib_save_LIBS=$LIBS
29924 LIBS="-lnsl $LIBS"
29925 cat >conftest.$ac_ext <<_ACEOF
29926 /* confdefs.h. */
29927 _ACEOF
29928 cat confdefs.h >>conftest.$ac_ext
29929 cat >>conftest.$ac_ext <<_ACEOF
29930 /* end confdefs.h. */
29931
29932 /* Override any GCC internal prototype to avoid an error.
29933 Use char because int might match the return type of a GCC
29934 builtin and then its argument prototype would still apply. */
29935 #ifdef __cplusplus
29936 extern "C"
29937 #endif
29938 char gethostbyname ();
29939 int
29940 main ()
29941 {
29942 return gethostbyname ();
29943 ;
29944 return 0;
29945 }
29946 _ACEOF
29947 rm -f conftest.$ac_objext conftest$ac_exeext
29948 if { (ac_try="$ac_link"
29949 case "(($ac_try" in
29950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29951 *) ac_try_echo=$ac_try;;
29952 esac
29953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29954 (eval "$ac_link") 2>conftest.er1
29955 ac_status=$?
29956 grep -v '^ *+' conftest.er1 >conftest.err
29957 rm -f conftest.er1
29958 cat conftest.err >&5
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); } && {
29961 test -z "$ac_c_werror_flag" ||
29962 test ! -s conftest.err
29963 } && test -s conftest$ac_exeext &&
29964 $as_test_x conftest$ac_exeext; then
29965 ac_cv_lib_nsl_gethostbyname=yes
29966 else
29967 echo "$as_me: failed program was:" >&5
29968 sed 's/^/| /' conftest.$ac_ext >&5
29969
29970 ac_cv_lib_nsl_gethostbyname=no
29971 fi
29972
29973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29974 conftest$ac_exeext conftest.$ac_ext
29975 LIBS=$ac_check_lib_save_LIBS
29976 fi
29977 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29978 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29979 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29980 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29981 fi
29982
29983 if test $ac_cv_lib_nsl_gethostbyname = no; then
29984 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29985 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29986 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29987 echo $ECHO_N "(cached) $ECHO_C" >&6
29988 else
29989 ac_check_lib_save_LIBS=$LIBS
29990 LIBS="-lbsd $LIBS"
29991 cat >conftest.$ac_ext <<_ACEOF
29992 /* confdefs.h. */
29993 _ACEOF
29994 cat confdefs.h >>conftest.$ac_ext
29995 cat >>conftest.$ac_ext <<_ACEOF
29996 /* end confdefs.h. */
29997
29998 /* Override any GCC internal prototype to avoid an error.
29999 Use char because int might match the return type of a GCC
30000 builtin and then its argument prototype would still apply. */
30001 #ifdef __cplusplus
30002 extern "C"
30003 #endif
30004 char gethostbyname ();
30005 int
30006 main ()
30007 {
30008 return gethostbyname ();
30009 ;
30010 return 0;
30011 }
30012 _ACEOF
30013 rm -f conftest.$ac_objext conftest$ac_exeext
30014 if { (ac_try="$ac_link"
30015 case "(($ac_try" in
30016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30017 *) ac_try_echo=$ac_try;;
30018 esac
30019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30020 (eval "$ac_link") 2>conftest.er1
30021 ac_status=$?
30022 grep -v '^ *+' conftest.er1 >conftest.err
30023 rm -f conftest.er1
30024 cat conftest.err >&5
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); } && {
30027 test -z "$ac_c_werror_flag" ||
30028 test ! -s conftest.err
30029 } && test -s conftest$ac_exeext &&
30030 $as_test_x conftest$ac_exeext; then
30031 ac_cv_lib_bsd_gethostbyname=yes
30032 else
30033 echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.$ac_ext >&5
30035
30036 ac_cv_lib_bsd_gethostbyname=no
30037 fi
30038
30039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30040 conftest$ac_exeext conftest.$ac_ext
30041 LIBS=$ac_check_lib_save_LIBS
30042 fi
30043 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30044 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30045 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30046 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30047 fi
30048
30049 fi
30050 fi
30051
30052 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30053 # socket/setsockopt and other routines are undefined under SCO ODT
30054 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30055 # on later versions), says Simon Leinen: it contains gethostby*
30056 # variants that don't use the name server (or something). -lsocket
30057 # must be given before -lnsl if both are needed. We assume that
30058 # if connect needs -lnsl, so does gethostbyname.
30059 { echo "$as_me:$LINENO: checking for connect" >&5
30060 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30061 if test "${ac_cv_func_connect+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 else
30064 cat >conftest.$ac_ext <<_ACEOF
30065 /* confdefs.h. */
30066 _ACEOF
30067 cat confdefs.h >>conftest.$ac_ext
30068 cat >>conftest.$ac_ext <<_ACEOF
30069 /* end confdefs.h. */
30070 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30072 #define connect innocuous_connect
30073
30074 /* System header to define __stub macros and hopefully few prototypes,
30075 which can conflict with char connect (); below.
30076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30077 <limits.h> exists even on freestanding compilers. */
30078
30079 #ifdef __STDC__
30080 # include <limits.h>
30081 #else
30082 # include <assert.h>
30083 #endif
30084
30085 #undef connect
30086
30087 /* Override any GCC internal prototype to avoid an error.
30088 Use char because int might match the return type of a GCC
30089 builtin and then its argument prototype would still apply. */
30090 #ifdef __cplusplus
30091 extern "C"
30092 #endif
30093 char connect ();
30094 /* The GNU C library defines this for functions which it implements
30095 to always fail with ENOSYS. Some functions are actually named
30096 something starting with __ and the normal name is an alias. */
30097 #if defined __stub_connect || defined __stub___connect
30098 choke me
30099 #endif
30100
30101 int
30102 main ()
30103 {
30104 return connect ();
30105 ;
30106 return 0;
30107 }
30108 _ACEOF
30109 rm -f conftest.$ac_objext conftest$ac_exeext
30110 if { (ac_try="$ac_link"
30111 case "(($ac_try" in
30112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30113 *) ac_try_echo=$ac_try;;
30114 esac
30115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30116 (eval "$ac_link") 2>conftest.er1
30117 ac_status=$?
30118 grep -v '^ *+' conftest.er1 >conftest.err
30119 rm -f conftest.er1
30120 cat conftest.err >&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } && {
30123 test -z "$ac_c_werror_flag" ||
30124 test ! -s conftest.err
30125 } && test -s conftest$ac_exeext &&
30126 $as_test_x conftest$ac_exeext; then
30127 ac_cv_func_connect=yes
30128 else
30129 echo "$as_me: failed program was:" >&5
30130 sed 's/^/| /' conftest.$ac_ext >&5
30131
30132 ac_cv_func_connect=no
30133 fi
30134
30135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30136 conftest$ac_exeext conftest.$ac_ext
30137 fi
30138 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30139 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30140
30141 if test $ac_cv_func_connect = no; then
30142 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30143 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30144 if test "${ac_cv_lib_socket_connect+set}" = set; then
30145 echo $ECHO_N "(cached) $ECHO_C" >&6
30146 else
30147 ac_check_lib_save_LIBS=$LIBS
30148 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30149 cat >conftest.$ac_ext <<_ACEOF
30150 /* confdefs.h. */
30151 _ACEOF
30152 cat confdefs.h >>conftest.$ac_ext
30153 cat >>conftest.$ac_ext <<_ACEOF
30154 /* end confdefs.h. */
30155
30156 /* Override any GCC internal prototype to avoid an error.
30157 Use char because int might match the return type of a GCC
30158 builtin and then its argument prototype would still apply. */
30159 #ifdef __cplusplus
30160 extern "C"
30161 #endif
30162 char connect ();
30163 int
30164 main ()
30165 {
30166 return connect ();
30167 ;
30168 return 0;
30169 }
30170 _ACEOF
30171 rm -f conftest.$ac_objext conftest$ac_exeext
30172 if { (ac_try="$ac_link"
30173 case "(($ac_try" in
30174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30175 *) ac_try_echo=$ac_try;;
30176 esac
30177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30178 (eval "$ac_link") 2>conftest.er1
30179 ac_status=$?
30180 grep -v '^ *+' conftest.er1 >conftest.err
30181 rm -f conftest.er1
30182 cat conftest.err >&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); } && {
30185 test -z "$ac_c_werror_flag" ||
30186 test ! -s conftest.err
30187 } && test -s conftest$ac_exeext &&
30188 $as_test_x conftest$ac_exeext; then
30189 ac_cv_lib_socket_connect=yes
30190 else
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.$ac_ext >&5
30193
30194 ac_cv_lib_socket_connect=no
30195 fi
30196
30197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30198 conftest$ac_exeext conftest.$ac_ext
30199 LIBS=$ac_check_lib_save_LIBS
30200 fi
30201 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30202 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30203 if test $ac_cv_lib_socket_connect = yes; then
30204 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30205 fi
30206
30207 fi
30208
30209 # Guillermo Gomez says -lposix is necessary on A/UX.
30210 { echo "$as_me:$LINENO: checking for remove" >&5
30211 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30212 if test "${ac_cv_func_remove+set}" = set; then
30213 echo $ECHO_N "(cached) $ECHO_C" >&6
30214 else
30215 cat >conftest.$ac_ext <<_ACEOF
30216 /* confdefs.h. */
30217 _ACEOF
30218 cat confdefs.h >>conftest.$ac_ext
30219 cat >>conftest.$ac_ext <<_ACEOF
30220 /* end confdefs.h. */
30221 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30223 #define remove innocuous_remove
30224
30225 /* System header to define __stub macros and hopefully few prototypes,
30226 which can conflict with char remove (); below.
30227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30228 <limits.h> exists even on freestanding compilers. */
30229
30230 #ifdef __STDC__
30231 # include <limits.h>
30232 #else
30233 # include <assert.h>
30234 #endif
30235
30236 #undef remove
30237
30238 /* Override any GCC internal prototype to avoid an error.
30239 Use char because int might match the return type of a GCC
30240 builtin and then its argument prototype would still apply. */
30241 #ifdef __cplusplus
30242 extern "C"
30243 #endif
30244 char remove ();
30245 /* The GNU C library defines this for functions which it implements
30246 to always fail with ENOSYS. Some functions are actually named
30247 something starting with __ and the normal name is an alias. */
30248 #if defined __stub_remove || defined __stub___remove
30249 choke me
30250 #endif
30251
30252 int
30253 main ()
30254 {
30255 return remove ();
30256 ;
30257 return 0;
30258 }
30259 _ACEOF
30260 rm -f conftest.$ac_objext conftest$ac_exeext
30261 if { (ac_try="$ac_link"
30262 case "(($ac_try" in
30263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30264 *) ac_try_echo=$ac_try;;
30265 esac
30266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30267 (eval "$ac_link") 2>conftest.er1
30268 ac_status=$?
30269 grep -v '^ *+' conftest.er1 >conftest.err
30270 rm -f conftest.er1
30271 cat conftest.err >&5
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); } && {
30274 test -z "$ac_c_werror_flag" ||
30275 test ! -s conftest.err
30276 } && test -s conftest$ac_exeext &&
30277 $as_test_x conftest$ac_exeext; then
30278 ac_cv_func_remove=yes
30279 else
30280 echo "$as_me: failed program was:" >&5
30281 sed 's/^/| /' conftest.$ac_ext >&5
30282
30283 ac_cv_func_remove=no
30284 fi
30285
30286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30287 conftest$ac_exeext conftest.$ac_ext
30288 fi
30289 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30290 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30291
30292 if test $ac_cv_func_remove = no; then
30293 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30294 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30295 if test "${ac_cv_lib_posix_remove+set}" = set; then
30296 echo $ECHO_N "(cached) $ECHO_C" >&6
30297 else
30298 ac_check_lib_save_LIBS=$LIBS
30299 LIBS="-lposix $LIBS"
30300 cat >conftest.$ac_ext <<_ACEOF
30301 /* confdefs.h. */
30302 _ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306
30307 /* Override any GCC internal prototype to avoid an error.
30308 Use char because int might match the return type of a GCC
30309 builtin and then its argument prototype would still apply. */
30310 #ifdef __cplusplus
30311 extern "C"
30312 #endif
30313 char remove ();
30314 int
30315 main ()
30316 {
30317 return remove ();
30318 ;
30319 return 0;
30320 }
30321 _ACEOF
30322 rm -f conftest.$ac_objext conftest$ac_exeext
30323 if { (ac_try="$ac_link"
30324 case "(($ac_try" in
30325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30326 *) ac_try_echo=$ac_try;;
30327 esac
30328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_link") 2>conftest.er1
30330 ac_status=$?
30331 grep -v '^ *+' conftest.er1 >conftest.err
30332 rm -f conftest.er1
30333 cat conftest.err >&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } && {
30336 test -z "$ac_c_werror_flag" ||
30337 test ! -s conftest.err
30338 } && test -s conftest$ac_exeext &&
30339 $as_test_x conftest$ac_exeext; then
30340 ac_cv_lib_posix_remove=yes
30341 else
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30344
30345 ac_cv_lib_posix_remove=no
30346 fi
30347
30348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30349 conftest$ac_exeext conftest.$ac_ext
30350 LIBS=$ac_check_lib_save_LIBS
30351 fi
30352 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30353 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30354 if test $ac_cv_lib_posix_remove = yes; then
30355 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30356 fi
30357
30358 fi
30359
30360 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30361 { echo "$as_me:$LINENO: checking for shmat" >&5
30362 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30363 if test "${ac_cv_func_shmat+set}" = set; then
30364 echo $ECHO_N "(cached) $ECHO_C" >&6
30365 else
30366 cat >conftest.$ac_ext <<_ACEOF
30367 /* confdefs.h. */
30368 _ACEOF
30369 cat confdefs.h >>conftest.$ac_ext
30370 cat >>conftest.$ac_ext <<_ACEOF
30371 /* end confdefs.h. */
30372 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30374 #define shmat innocuous_shmat
30375
30376 /* System header to define __stub macros and hopefully few prototypes,
30377 which can conflict with char shmat (); below.
30378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30379 <limits.h> exists even on freestanding compilers. */
30380
30381 #ifdef __STDC__
30382 # include <limits.h>
30383 #else
30384 # include <assert.h>
30385 #endif
30386
30387 #undef shmat
30388
30389 /* Override any GCC internal prototype to avoid an error.
30390 Use char because int might match the return type of a GCC
30391 builtin and then its argument prototype would still apply. */
30392 #ifdef __cplusplus
30393 extern "C"
30394 #endif
30395 char shmat ();
30396 /* The GNU C library defines this for functions which it implements
30397 to always fail with ENOSYS. Some functions are actually named
30398 something starting with __ and the normal name is an alias. */
30399 #if defined __stub_shmat || defined __stub___shmat
30400 choke me
30401 #endif
30402
30403 int
30404 main ()
30405 {
30406 return shmat ();
30407 ;
30408 return 0;
30409 }
30410 _ACEOF
30411 rm -f conftest.$ac_objext conftest$ac_exeext
30412 if { (ac_try="$ac_link"
30413 case "(($ac_try" in
30414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30415 *) ac_try_echo=$ac_try;;
30416 esac
30417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30418 (eval "$ac_link") 2>conftest.er1
30419 ac_status=$?
30420 grep -v '^ *+' conftest.er1 >conftest.err
30421 rm -f conftest.er1
30422 cat conftest.err >&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); } && {
30425 test -z "$ac_c_werror_flag" ||
30426 test ! -s conftest.err
30427 } && test -s conftest$ac_exeext &&
30428 $as_test_x conftest$ac_exeext; then
30429 ac_cv_func_shmat=yes
30430 else
30431 echo "$as_me: failed program was:" >&5
30432 sed 's/^/| /' conftest.$ac_ext >&5
30433
30434 ac_cv_func_shmat=no
30435 fi
30436
30437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30438 conftest$ac_exeext conftest.$ac_ext
30439 fi
30440 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30441 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30442
30443 if test $ac_cv_func_shmat = no; then
30444 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30445 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30446 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30447 echo $ECHO_N "(cached) $ECHO_C" >&6
30448 else
30449 ac_check_lib_save_LIBS=$LIBS
30450 LIBS="-lipc $LIBS"
30451 cat >conftest.$ac_ext <<_ACEOF
30452 /* confdefs.h. */
30453 _ACEOF
30454 cat confdefs.h >>conftest.$ac_ext
30455 cat >>conftest.$ac_ext <<_ACEOF
30456 /* end confdefs.h. */
30457
30458 /* Override any GCC internal prototype to avoid an error.
30459 Use char because int might match the return type of a GCC
30460 builtin and then its argument prototype would still apply. */
30461 #ifdef __cplusplus
30462 extern "C"
30463 #endif
30464 char shmat ();
30465 int
30466 main ()
30467 {
30468 return shmat ();
30469 ;
30470 return 0;
30471 }
30472 _ACEOF
30473 rm -f conftest.$ac_objext conftest$ac_exeext
30474 if { (ac_try="$ac_link"
30475 case "(($ac_try" in
30476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30477 *) ac_try_echo=$ac_try;;
30478 esac
30479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30480 (eval "$ac_link") 2>conftest.er1
30481 ac_status=$?
30482 grep -v '^ *+' conftest.er1 >conftest.err
30483 rm -f conftest.er1
30484 cat conftest.err >&5
30485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30486 (exit $ac_status); } && {
30487 test -z "$ac_c_werror_flag" ||
30488 test ! -s conftest.err
30489 } && test -s conftest$ac_exeext &&
30490 $as_test_x conftest$ac_exeext; then
30491 ac_cv_lib_ipc_shmat=yes
30492 else
30493 echo "$as_me: failed program was:" >&5
30494 sed 's/^/| /' conftest.$ac_ext >&5
30495
30496 ac_cv_lib_ipc_shmat=no
30497 fi
30498
30499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30500 conftest$ac_exeext conftest.$ac_ext
30501 LIBS=$ac_check_lib_save_LIBS
30502 fi
30503 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30504 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30505 if test $ac_cv_lib_ipc_shmat = yes; then
30506 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30507 fi
30508
30509 fi
30510 fi
30511
30512 # Check for libraries that X11R6 Xt/Xaw programs need.
30513 ac_save_LDFLAGS=$LDFLAGS
30514 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30515 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30516 # check for ICE first), but we must link in the order -lSM -lICE or
30517 # we get undefined symbols. So assume we have SM if we have ICE.
30518 # These have to be linked with before -lX11, unlike the other
30519 # libraries we check for below, so use a different variable.
30520 # John Interrante, Karl Berry
30521 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30522 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30523 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 else
30526 ac_check_lib_save_LIBS=$LIBS
30527 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30528 cat >conftest.$ac_ext <<_ACEOF
30529 /* confdefs.h. */
30530 _ACEOF
30531 cat confdefs.h >>conftest.$ac_ext
30532 cat >>conftest.$ac_ext <<_ACEOF
30533 /* end confdefs.h. */
30534
30535 /* Override any GCC internal prototype to avoid an error.
30536 Use char because int might match the return type of a GCC
30537 builtin and then its argument prototype would still apply. */
30538 #ifdef __cplusplus
30539 extern "C"
30540 #endif
30541 char IceConnectionNumber ();
30542 int
30543 main ()
30544 {
30545 return IceConnectionNumber ();
30546 ;
30547 return 0;
30548 }
30549 _ACEOF
30550 rm -f conftest.$ac_objext conftest$ac_exeext
30551 if { (ac_try="$ac_link"
30552 case "(($ac_try" in
30553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30554 *) ac_try_echo=$ac_try;;
30555 esac
30556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30557 (eval "$ac_link") 2>conftest.er1
30558 ac_status=$?
30559 grep -v '^ *+' conftest.er1 >conftest.err
30560 rm -f conftest.er1
30561 cat conftest.err >&5
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); } && {
30564 test -z "$ac_c_werror_flag" ||
30565 test ! -s conftest.err
30566 } && test -s conftest$ac_exeext &&
30567 $as_test_x conftest$ac_exeext; then
30568 ac_cv_lib_ICE_IceConnectionNumber=yes
30569 else
30570 echo "$as_me: failed program was:" >&5
30571 sed 's/^/| /' conftest.$ac_ext >&5
30572
30573 ac_cv_lib_ICE_IceConnectionNumber=no
30574 fi
30575
30576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30577 conftest$ac_exeext conftest.$ac_ext
30578 LIBS=$ac_check_lib_save_LIBS
30579 fi
30580 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30581 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30582 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30583 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30584 fi
30585
30586 LDFLAGS=$ac_save_LDFLAGS
30587
30588 fi
30589
30590
30591 if test "$no_x" = "yes"; then
30592 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30593 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30594 { (exit 1); exit 1; }; }
30595 fi
30596
30597 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30598 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30599 AFMINSTALL=afminstall
30600 COMPILED_X_PROGRAM=0
30601
30602 fi
30603
30604 if test "$wxUSE_X11" = 1; then
30605 if test "$wxUSE_NANOX" = "yes"; then
30606 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30607 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30608 if test "x$MICROWIN" = x ; then
30609 { echo "$as_me:$LINENO: result: not found" >&5
30610 echo "${ECHO_T}not found" >&6; }
30611 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30612 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30613 { (exit 1); exit 1; }; }
30614 else
30615 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30616 echo "${ECHO_T}$MICROWIN" >&6; }
30617 cat >>confdefs.h <<\_ACEOF
30618 #define wxUSE_NANOX 1
30619 _ACEOF
30620
30621 fi
30622 fi
30623
30624 if test "$wxUSE_UNICODE" = "yes"; then
30625
30626
30627 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30628 if test -n "$ac_tool_prefix"; then
30629 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30630 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30633 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30635 else
30636 case $PKG_CONFIG in
30637 [\\/]* | ?:[\\/]*)
30638 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30639 ;;
30640 *)
30641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30642 for as_dir in $PATH
30643 do
30644 IFS=$as_save_IFS
30645 test -z "$as_dir" && as_dir=.
30646 for ac_exec_ext in '' $ac_executable_extensions; do
30647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30648 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30650 break 2
30651 fi
30652 done
30653 done
30654 IFS=$as_save_IFS
30655
30656 ;;
30657 esac
30658 fi
30659 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30660 if test -n "$PKG_CONFIG"; then
30661 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30662 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30663 else
30664 { echo "$as_me:$LINENO: result: no" >&5
30665 echo "${ECHO_T}no" >&6; }
30666 fi
30667
30668
30669 fi
30670 if test -z "$ac_cv_path_PKG_CONFIG"; then
30671 ac_pt_PKG_CONFIG=$PKG_CONFIG
30672 # Extract the first word of "pkg-config", so it can be a program name with args.
30673 set dummy pkg-config; ac_word=$2
30674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30676 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30677 echo $ECHO_N "(cached) $ECHO_C" >&6
30678 else
30679 case $ac_pt_PKG_CONFIG in
30680 [\\/]* | ?:[\\/]*)
30681 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30682 ;;
30683 *)
30684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30685 for as_dir in $PATH
30686 do
30687 IFS=$as_save_IFS
30688 test -z "$as_dir" && as_dir=.
30689 for ac_exec_ext in '' $ac_executable_extensions; do
30690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30691 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30693 break 2
30694 fi
30695 done
30696 done
30697 IFS=$as_save_IFS
30698
30699 ;;
30700 esac
30701 fi
30702 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30703 if test -n "$ac_pt_PKG_CONFIG"; then
30704 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30705 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30706 else
30707 { echo "$as_me:$LINENO: result: no" >&5
30708 echo "${ECHO_T}no" >&6; }
30709 fi
30710
30711 if test "x$ac_pt_PKG_CONFIG" = x; then
30712 PKG_CONFIG=""
30713 else
30714 case $cross_compiling:$ac_tool_warned in
30715 yes:)
30716 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30717 whose name does not start with the host triplet. If you think this
30718 configuration is useful to you, please write to autoconf@gnu.org." >&5
30719 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30720 whose name does not start with the host triplet. If you think this
30721 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30722 ac_tool_warned=yes ;;
30723 esac
30724 PKG_CONFIG=$ac_pt_PKG_CONFIG
30725 fi
30726 else
30727 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30728 fi
30729
30730 fi
30731 if test -n "$PKG_CONFIG"; then
30732 _pkg_min_version=0.9.0
30733 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30734 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30735 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30736 { echo "$as_me:$LINENO: result: yes" >&5
30737 echo "${ECHO_T}yes" >&6; }
30738 else
30739 { echo "$as_me:$LINENO: result: no" >&5
30740 echo "${ECHO_T}no" >&6; }
30741 PKG_CONFIG=""
30742 fi
30743
30744 fi
30745
30746
30747 pkg_failed=no
30748 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30749 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30750
30751 if test -n "$PKG_CONFIG"; then
30752 if test -n "$PANGOX_CFLAGS"; then
30753 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30754 else
30755 if test -n "$PKG_CONFIG" && \
30756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30757 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30758 ac_status=$?
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); }; then
30761 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30762 else
30763 pkg_failed=yes
30764 fi
30765 fi
30766 else
30767 pkg_failed=untried
30768 fi
30769 if test -n "$PKG_CONFIG"; then
30770 if test -n "$PANGOX_LIBS"; then
30771 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30772 else
30773 if test -n "$PKG_CONFIG" && \
30774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30775 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30776 ac_status=$?
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); }; then
30779 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30780 else
30781 pkg_failed=yes
30782 fi
30783 fi
30784 else
30785 pkg_failed=untried
30786 fi
30787
30788
30789
30790 if test $pkg_failed = yes; then
30791
30792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30793 _pkg_short_errors_supported=yes
30794 else
30795 _pkg_short_errors_supported=no
30796 fi
30797 if test $_pkg_short_errors_supported = yes; then
30798 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30799 else
30800 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30801 fi
30802 # Put the nasty error message in config.log where it belongs
30803 echo "$PANGOX_PKG_ERRORS" >&5
30804
30805
30806 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30807 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30808 { (exit 1); exit 1; }; }
30809
30810
30811 elif test $pkg_failed = untried; then
30812
30813 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30814 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30815 { (exit 1); exit 1; }; }
30816
30817
30818 else
30819 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30820 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30821 { echo "$as_me:$LINENO: result: yes" >&5
30822 echo "${ECHO_T}yes" >&6; }
30823
30824 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30825 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30826 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30827
30828 fi
30829
30830 pkg_failed=no
30831 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30832 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30833
30834 if test -n "$PKG_CONFIG"; then
30835 if test -n "$PANGOFT2_CFLAGS"; then
30836 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30837 else
30838 if test -n "$PKG_CONFIG" && \
30839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30840 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30841 ac_status=$?
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); }; then
30844 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30845 else
30846 pkg_failed=yes
30847 fi
30848 fi
30849 else
30850 pkg_failed=untried
30851 fi
30852 if test -n "$PKG_CONFIG"; then
30853 if test -n "$PANGOFT2_LIBS"; then
30854 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30855 else
30856 if test -n "$PKG_CONFIG" && \
30857 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30858 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30859 ac_status=$?
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; then
30862 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30863 else
30864 pkg_failed=yes
30865 fi
30866 fi
30867 else
30868 pkg_failed=untried
30869 fi
30870
30871
30872
30873 if test $pkg_failed = yes; then
30874
30875 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30876 _pkg_short_errors_supported=yes
30877 else
30878 _pkg_short_errors_supported=no
30879 fi
30880 if test $_pkg_short_errors_supported = yes; then
30881 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30882 else
30883 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30884 fi
30885 # Put the nasty error message in config.log where it belongs
30886 echo "$PANGOFT2_PKG_ERRORS" >&5
30887
30888
30889 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30890 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30891 wxUSE_PRINTING_ARCHITECTURE="no"
30892
30893
30894 elif test $pkg_failed = untried; then
30895
30896 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30897 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30898 wxUSE_PRINTING_ARCHITECTURE="no"
30899
30900
30901 else
30902 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30903 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30904 { echo "$as_me:$LINENO: result: yes" >&5
30905 echo "${ECHO_T}yes" >&6; }
30906
30907 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30908 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30910
30911 fi
30912
30913 pkg_failed=no
30914 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30915 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30916
30917 if test -n "$PKG_CONFIG"; then
30918 if test -n "$PANGOXFT_CFLAGS"; then
30919 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30920 else
30921 if test -n "$PKG_CONFIG" && \
30922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30923 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30924 ac_status=$?
30925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30926 (exit $ac_status); }; then
30927 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30928 else
30929 pkg_failed=yes
30930 fi
30931 fi
30932 else
30933 pkg_failed=untried
30934 fi
30935 if test -n "$PKG_CONFIG"; then
30936 if test -n "$PANGOXFT_LIBS"; then
30937 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30938 else
30939 if test -n "$PKG_CONFIG" && \
30940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30941 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30942 ac_status=$?
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); }; then
30945 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30946 else
30947 pkg_failed=yes
30948 fi
30949 fi
30950 else
30951 pkg_failed=untried
30952 fi
30953
30954
30955
30956 if test $pkg_failed = yes; then
30957
30958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30959 _pkg_short_errors_supported=yes
30960 else
30961 _pkg_short_errors_supported=no
30962 fi
30963 if test $_pkg_short_errors_supported = yes; then
30964 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30965 else
30966 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30967 fi
30968 # Put the nasty error message in config.log where it belongs
30969 echo "$PANGOXFT_PKG_ERRORS" >&5
30970
30971
30972 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30973 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30974
30975
30976 elif test $pkg_failed = untried; then
30977
30978 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30979 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30980
30981
30982 else
30983 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30984 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30985 { echo "$as_me:$LINENO: result: yes" >&5
30986 echo "${ECHO_T}yes" >&6; }
30987
30988 cat >>confdefs.h <<\_ACEOF
30989 #define HAVE_PANGO_XFT 1
30990 _ACEOF
30991
30992 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30993 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30994 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30995
30996 fi
30997 save_LIBS="$LIBS"
30998 LIBS="$LIBS $PANGOX_LIBS"
30999
31000 for ac_func in pango_font_family_is_monospace
31001 do
31002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31003 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31005 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31006 echo $ECHO_N "(cached) $ECHO_C" >&6
31007 else
31008 cat >conftest.$ac_ext <<_ACEOF
31009 /* confdefs.h. */
31010 _ACEOF
31011 cat confdefs.h >>conftest.$ac_ext
31012 cat >>conftest.$ac_ext <<_ACEOF
31013 /* end confdefs.h. */
31014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31016 #define $ac_func innocuous_$ac_func
31017
31018 /* System header to define __stub macros and hopefully few prototypes,
31019 which can conflict with char $ac_func (); below.
31020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31021 <limits.h> exists even on freestanding compilers. */
31022
31023 #ifdef __STDC__
31024 # include <limits.h>
31025 #else
31026 # include <assert.h>
31027 #endif
31028
31029 #undef $ac_func
31030
31031 /* Override any GCC internal prototype to avoid an error.
31032 Use char because int might match the return type of a GCC
31033 builtin and then its argument prototype would still apply. */
31034 #ifdef __cplusplus
31035 extern "C"
31036 #endif
31037 char $ac_func ();
31038 /* The GNU C library defines this for functions which it implements
31039 to always fail with ENOSYS. Some functions are actually named
31040 something starting with __ and the normal name is an alias. */
31041 #if defined __stub_$ac_func || defined __stub___$ac_func
31042 choke me
31043 #endif
31044
31045 int
31046 main ()
31047 {
31048 return $ac_func ();
31049 ;
31050 return 0;
31051 }
31052 _ACEOF
31053 rm -f conftest.$ac_objext conftest$ac_exeext
31054 if { (ac_try="$ac_link"
31055 case "(($ac_try" in
31056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31057 *) ac_try_echo=$ac_try;;
31058 esac
31059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31060 (eval "$ac_link") 2>conftest.er1
31061 ac_status=$?
31062 grep -v '^ *+' conftest.er1 >conftest.err
31063 rm -f conftest.er1
31064 cat conftest.err >&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } && {
31067 test -z "$ac_c_werror_flag" ||
31068 test ! -s conftest.err
31069 } && test -s conftest$ac_exeext &&
31070 $as_test_x conftest$ac_exeext; then
31071 eval "$as_ac_var=yes"
31072 else
31073 echo "$as_me: failed program was:" >&5
31074 sed 's/^/| /' conftest.$ac_ext >&5
31075
31076 eval "$as_ac_var=no"
31077 fi
31078
31079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31080 conftest$ac_exeext conftest.$ac_ext
31081 fi
31082 ac_res=`eval echo '${'$as_ac_var'}'`
31083 { echo "$as_me:$LINENO: result: $ac_res" >&5
31084 echo "${ECHO_T}$ac_res" >&6; }
31085 if test `eval echo '${'$as_ac_var'}'` = yes; then
31086 cat >>confdefs.h <<_ACEOF
31087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31088 _ACEOF
31089
31090 fi
31091 done
31092
31093 LIBS="$save_LIBS"
31094 fi
31095
31096 wxUSE_UNIVERSAL="yes"
31097
31098 if test "$wxUSE_NANOX" = "yes"; then
31099 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31100 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"
31101 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31102 else
31103 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31104 fi
31105
31106 TOOLKIT=X11
31107 GUIDIST=X11_DIST
31108 fi
31109
31110 if test "$wxUSE_MOTIF" = 1; then
31111 if test "$wxUSE_UNICODE" = "yes"; then
31112 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31113 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31114 { (exit 1); exit 1; }; }
31115 fi
31116
31117 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31118 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31119
31120 ac_find_includes=
31121 for ac_dir in $SEARCH_INCLUDE /usr/include;
31122 do
31123 if test -f "$ac_dir/Xm/Xm.h"; then
31124 ac_find_includes=$ac_dir
31125 break
31126 fi
31127 done
31128
31129 if test "$ac_find_includes" != "" ; then
31130 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31131 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31132
31133 if test "x$ac_find_includes" = "x/usr/include"; then
31134 ac_path_to_include=""
31135 else
31136 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31137 result=$?
31138 if test $result = 0; then
31139 ac_path_to_include=""
31140 else
31141 ac_path_to_include=" -I$ac_find_includes"
31142 fi
31143 fi
31144
31145 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31146 else
31147 save_CFLAGS=$CFLAGS
31148 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31149
31150 cat >conftest.$ac_ext <<_ACEOF
31151 /* confdefs.h. */
31152 _ACEOF
31153 cat confdefs.h >>conftest.$ac_ext
31154 cat >>conftest.$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31156
31157 #include <Xm/Xm.h>
31158
31159 int
31160 main ()
31161 {
31162
31163 int version;
31164 version = xmUseVersion;
31165
31166 ;
31167 return 0;
31168 }
31169 _ACEOF
31170 rm -f conftest.$ac_objext
31171 if { (ac_try="$ac_compile"
31172 case "(($ac_try" in
31173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31174 *) ac_try_echo=$ac_try;;
31175 esac
31176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31177 (eval "$ac_compile") 2>conftest.er1
31178 ac_status=$?
31179 grep -v '^ *+' conftest.er1 >conftest.err
31180 rm -f conftest.er1
31181 cat conftest.err >&5
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } && {
31184 test -z "$ac_c_werror_flag" ||
31185 test ! -s conftest.err
31186 } && test -s conftest.$ac_objext; then
31187
31188 { echo "$as_me:$LINENO: result: found in default search path" >&5
31189 echo "${ECHO_T}found in default search path" >&6; }
31190 COMPILED_X_PROGRAM=1
31191
31192 else
31193 echo "$as_me: failed program was:" >&5
31194 sed 's/^/| /' conftest.$ac_ext >&5
31195
31196
31197 { echo "$as_me:$LINENO: result: no" >&5
31198 echo "${ECHO_T}no" >&6; }
31199 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31200 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31201 { (exit 1); exit 1; }; }
31202
31203
31204 fi
31205
31206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31207
31208 CFLAGS=$save_CFLAGS
31209 fi
31210
31211
31212 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31213 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31214
31215 ac_find_libraries=
31216 for ac_dir in $SEARCH_LIB;
31217 do
31218 for ac_extension in a so sl dylib dll.a; do
31219 if test -f "$ac_dir/libXm.$ac_extension"; then
31220 ac_find_libraries=$ac_dir
31221 break 2
31222 fi
31223 done
31224 done
31225
31226
31227 if test "x$ac_find_libraries" != "x" ; then
31228 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31229 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31230
31231
31232 if test "$ac_find_libraries" = "default location"; then
31233 ac_path_to_link=""
31234 else
31235 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31236 result=$?
31237 if test $result = 0; then
31238 ac_path_to_link=""
31239 else
31240 ac_path_to_link=" -L$ac_find_libraries"
31241 fi
31242 fi
31243
31244 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31245 else
31246 save_CFLAGS=$CFLAGS
31247 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31248 save_LIBS="$LIBS"
31249 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31250
31251 cat >conftest.$ac_ext <<_ACEOF
31252 /* confdefs.h. */
31253 _ACEOF
31254 cat confdefs.h >>conftest.$ac_ext
31255 cat >>conftest.$ac_ext <<_ACEOF
31256 /* end confdefs.h. */
31257
31258 #include <Xm/Xm.h>
31259
31260 int
31261 main ()
31262 {
31263
31264 int version;
31265 version = xmUseVersion;
31266
31267 ;
31268 return 0;
31269 }
31270 _ACEOF
31271 rm -f conftest.$ac_objext conftest$ac_exeext
31272 if { (ac_try="$ac_link"
31273 case "(($ac_try" in
31274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31275 *) ac_try_echo=$ac_try;;
31276 esac
31277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31278 (eval "$ac_link") 2>conftest.er1
31279 ac_status=$?
31280 grep -v '^ *+' conftest.er1 >conftest.err
31281 rm -f conftest.er1
31282 cat conftest.err >&5
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); } && {
31285 test -z "$ac_c_werror_flag" ||
31286 test ! -s conftest.err
31287 } && test -s conftest$ac_exeext &&
31288 $as_test_x conftest$ac_exeext; then
31289
31290 { echo "$as_me:$LINENO: result: found in default search path" >&5
31291 echo "${ECHO_T}found in default search path" >&6; }
31292 COMPILED_X_PROGRAM=1
31293
31294 else
31295 echo "$as_me: failed program was:" >&5
31296 sed 's/^/| /' conftest.$ac_ext >&5
31297
31298
31299 { echo "$as_me:$LINENO: result: no" >&5
31300 echo "${ECHO_T}no" >&6; }
31301 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31302 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31303 { (exit 1); exit 1; }; }
31304
31305
31306 fi
31307
31308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31309 conftest$ac_exeext conftest.$ac_ext
31310
31311 CFLAGS=$save_CFLAGS
31312 LIBS="$save_LIBS"
31313 fi
31314
31315 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31316 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31317 libp_link=""
31318 libsm_ice_link=""
31319 libs_found=0
31320 for libp in "" " -lXp"; do
31321 if test "$libs_found" = "0"; then
31322 for libsm_ice in "" " -lSM -lICE"; do
31323 if test "$libs_found" = "0"; then
31324 save_LIBS="$LIBS"
31325 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31326 save_CFLAGS=$CFLAGS
31327 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31328
31329 cat >conftest.$ac_ext <<_ACEOF
31330 /* confdefs.h. */
31331 _ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31335
31336 #include <Xm/Xm.h>
31337 #include <Xm/List.h>
31338
31339 int
31340 main ()
31341 {
31342
31343 XmString string = NULL;
31344 Widget w = NULL;
31345 int position = 0;
31346 XmListAddItem(w, string, position);
31347
31348 ;
31349 return 0;
31350 }
31351 _ACEOF
31352 rm -f conftest.$ac_objext conftest$ac_exeext
31353 if { (ac_try="$ac_link"
31354 case "(($ac_try" in
31355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31356 *) ac_try_echo=$ac_try;;
31357 esac
31358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31359 (eval "$ac_link") 2>conftest.er1
31360 ac_status=$?
31361 grep -v '^ *+' conftest.er1 >conftest.err
31362 rm -f conftest.er1
31363 cat conftest.err >&5
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); } && {
31366 test -z "$ac_c_werror_flag" ||
31367 test ! -s conftest.err
31368 } && test -s conftest$ac_exeext &&
31369 $as_test_x conftest$ac_exeext; then
31370
31371 libp_link="$libp"
31372 libsm_ice_link="$libsm_ice"
31373 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31374 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31375 libs_found=1
31376
31377 else
31378 echo "$as_me: failed program was:" >&5
31379 sed 's/^/| /' conftest.$ac_ext >&5
31380
31381
31382
31383 fi
31384
31385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31386 conftest$ac_exeext conftest.$ac_ext
31387
31388 LIBS="$save_LIBS"
31389 CFLAGS=$save_CFLAGS
31390 fi
31391 done
31392 fi
31393 done
31394
31395 if test "$libs_found" = "0"; then
31396 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31397 echo "${ECHO_T}can't find the right libraries" >&6; }
31398 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31399 echo "$as_me: error: can't link a simple motif program" >&2;}
31400 { (exit 1); exit 1; }; }
31401 fi
31402
31403 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31404 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31405 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31406 echo $ECHO_N "(cached) $ECHO_C" >&6
31407 else
31408 ac_check_lib_save_LIBS=$LIBS
31409 LIBS="-lSgm $LIBS"
31410 cat >conftest.$ac_ext <<_ACEOF
31411 /* confdefs.h. */
31412 _ACEOF
31413 cat confdefs.h >>conftest.$ac_ext
31414 cat >>conftest.$ac_ext <<_ACEOF
31415 /* end confdefs.h. */
31416
31417 /* Override any GCC internal prototype to avoid an error.
31418 Use char because int might match the return type of a GCC
31419 builtin and then its argument prototype would still apply. */
31420 #ifdef __cplusplus
31421 extern "C"
31422 #endif
31423 char SgCreateList ();
31424 int
31425 main ()
31426 {
31427 return SgCreateList ();
31428 ;
31429 return 0;
31430 }
31431 _ACEOF
31432 rm -f conftest.$ac_objext conftest$ac_exeext
31433 if { (ac_try="$ac_link"
31434 case "(($ac_try" in
31435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31436 *) ac_try_echo=$ac_try;;
31437 esac
31438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31439 (eval "$ac_link") 2>conftest.er1
31440 ac_status=$?
31441 grep -v '^ *+' conftest.er1 >conftest.err
31442 rm -f conftest.er1
31443 cat conftest.err >&5
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); } && {
31446 test -z "$ac_c_werror_flag" ||
31447 test ! -s conftest.err
31448 } && test -s conftest$ac_exeext &&
31449 $as_test_x conftest$ac_exeext; then
31450 ac_cv_lib_Sgm_SgCreateList=yes
31451 else
31452 echo "$as_me: failed program was:" >&5
31453 sed 's/^/| /' conftest.$ac_ext >&5
31454
31455 ac_cv_lib_Sgm_SgCreateList=no
31456 fi
31457
31458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31459 conftest$ac_exeext conftest.$ac_ext
31460 LIBS=$ac_check_lib_save_LIBS
31461 fi
31462 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31463 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31464 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31465 libsgm_link=" -lSgm"
31466 fi
31467
31468
31469 save_CFLAGS=$CFLAGS
31470 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31471
31472 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31473 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31474 if test "${wx_cv_lib_motif2+set}" = set; then
31475 echo $ECHO_N "(cached) $ECHO_C" >&6
31476 else
31477 cat >conftest.$ac_ext <<_ACEOF
31478 /* confdefs.h. */
31479 _ACEOF
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h. */
31483
31484 #include <Xm/Xm.h>
31485
31486 int
31487 main ()
31488 {
31489
31490 #if XmVersion < 2000
31491 Not Motif 2
31492 #endif
31493
31494 ;
31495 return 0;
31496 }
31497 _ACEOF
31498 rm -f conftest.$ac_objext
31499 if { (ac_try="$ac_compile"
31500 case "(($ac_try" in
31501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31502 *) ac_try_echo=$ac_try;;
31503 esac
31504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31505 (eval "$ac_compile") 2>conftest.er1
31506 ac_status=$?
31507 grep -v '^ *+' conftest.er1 >conftest.err
31508 rm -f conftest.er1
31509 cat conftest.err >&5
31510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511 (exit $ac_status); } && {
31512 test -z "$ac_c_werror_flag" ||
31513 test ! -s conftest.err
31514 } && test -s conftest.$ac_objext; then
31515 wx_cv_lib_motif2="yes"
31516 else
31517 echo "$as_me: failed program was:" >&5
31518 sed 's/^/| /' conftest.$ac_ext >&5
31519
31520 wx_cv_lib_motif2="no"
31521 fi
31522
31523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31524 fi
31525 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31526 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31527 if test "$wx_cv_lib_motif2" = "yes"; then
31528 cat >>confdefs.h <<\_ACEOF
31529 #define __WXMOTIF20__ 1
31530 _ACEOF
31531
31532 else
31533 cat >>confdefs.h <<\_ACEOF
31534 #define __WXMOTIF20__ 0
31535 _ACEOF
31536
31537 fi
31538
31539 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31540 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31541 if test "${wx_cv_lib_lesstif+set}" = set; then
31542 echo $ECHO_N "(cached) $ECHO_C" >&6
31543 else
31544 cat >conftest.$ac_ext <<_ACEOF
31545 /* confdefs.h. */
31546 _ACEOF
31547 cat confdefs.h >>conftest.$ac_ext
31548 cat >>conftest.$ac_ext <<_ACEOF
31549 /* end confdefs.h. */
31550
31551 #include <Xm/Xm.h>
31552
31553 int
31554 main ()
31555 {
31556
31557 #if !defined(LesstifVersion) || LesstifVersion <= 0
31558 Not Lesstif
31559 #endif
31560
31561 ;
31562 return 0;
31563 }
31564 _ACEOF
31565 rm -f conftest.$ac_objext
31566 if { (ac_try="$ac_compile"
31567 case "(($ac_try" in
31568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31569 *) ac_try_echo=$ac_try;;
31570 esac
31571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31572 (eval "$ac_compile") 2>conftest.er1
31573 ac_status=$?
31574 grep -v '^ *+' conftest.er1 >conftest.err
31575 rm -f conftest.er1
31576 cat conftest.err >&5
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); } && {
31579 test -z "$ac_c_werror_flag" ||
31580 test ! -s conftest.err
31581 } && test -s conftest.$ac_objext; then
31582 wx_cv_lib_lesstif="yes"
31583 else
31584 echo "$as_me: failed program was:" >&5
31585 sed 's/^/| /' conftest.$ac_ext >&5
31586
31587 wx_cv_lib_lesstif="no"
31588 fi
31589
31590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31591
31592 fi
31593 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31594 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31595 if test "$wx_cv_lib_lesstif" = "yes"; then
31596 cat >>confdefs.h <<\_ACEOF
31597 #define __WXLESSTIF__ 1
31598 _ACEOF
31599
31600 else
31601 cat >>confdefs.h <<\_ACEOF
31602 #define __WXLESSTIF__ 0
31603 _ACEOF
31604
31605 fi
31606
31607 CFLAGS=$save_CFLAGS
31608
31609 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31610 TOOLKIT=MOTIF
31611 GUIDIST=MOTIF_DIST
31612 fi
31613
31614 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31615 if test "$wxUSE_LIBXPM" = "sys"; then
31616 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31617 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31618
31619 ac_find_libraries=
31620 for ac_dir in $SEARCH_LIB;
31621 do
31622 for ac_extension in a so sl dylib dll.a; do
31623 if test -f "$ac_dir/libXpm.$ac_extension"; then
31624 ac_find_libraries=$ac_dir
31625 break 2
31626 fi
31627 done
31628 done
31629
31630 if test "$ac_find_libraries" != "" ; then
31631
31632 if test "$ac_find_libraries" = "default location"; then
31633 ac_path_to_link=""
31634 else
31635 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31636 result=$?
31637 if test $result = 0; then
31638 ac_path_to_link=""
31639 else
31640 ac_path_to_link=" -L$ac_find_libraries"
31641 fi
31642 fi
31643
31644 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31645 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31646 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31647
31648 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31649 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31650 if test "${wx_cv_x11_xpm_h+set}" = set; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31652 else
31653
31654 save_CFLAGS=$CFLAGS
31655 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31656
31657 cat >conftest.$ac_ext <<_ACEOF
31658 /* confdefs.h. */
31659 _ACEOF
31660 cat confdefs.h >>conftest.$ac_ext
31661 cat >>conftest.$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663
31664 #include <X11/xpm.h>
31665
31666 int
31667 main ()
31668 {
31669
31670 int version;
31671 version = XpmLibraryVersion();
31672
31673 ;
31674 return 0;
31675 }
31676 _ACEOF
31677 rm -f conftest.$ac_objext
31678 if { (ac_try="$ac_compile"
31679 case "(($ac_try" in
31680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31681 *) ac_try_echo=$ac_try;;
31682 esac
31683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31684 (eval "$ac_compile") 2>conftest.er1
31685 ac_status=$?
31686 grep -v '^ *+' conftest.er1 >conftest.err
31687 rm -f conftest.er1
31688 cat conftest.err >&5
31689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31690 (exit $ac_status); } && {
31691 test -z "$ac_c_werror_flag" ||
31692 test ! -s conftest.err
31693 } && test -s conftest.$ac_objext; then
31694 wx_cv_x11_xpm_h=yes
31695 else
31696 echo "$as_me: failed program was:" >&5
31697 sed 's/^/| /' conftest.$ac_ext >&5
31698
31699 wx_cv_x11_xpm_h=no
31700
31701 fi
31702
31703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31704
31705 CFLAGS=$save_CFLAGS
31706
31707
31708 fi
31709 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31710 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31711
31712 if test $wx_cv_x11_xpm_h = "yes"; then
31713 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31714 cat >>confdefs.h <<\_ACEOF
31715 #define wxHAVE_LIB_XPM 1
31716 _ACEOF
31717
31718 else
31719 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31720 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31721 fi
31722 fi
31723
31724 fi
31725
31726 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31727 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31728 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31729 echo $ECHO_N "(cached) $ECHO_C" >&6
31730 else
31731 ac_check_lib_save_LIBS=$LIBS
31732 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31733 cat >conftest.$ac_ext <<_ACEOF
31734 /* confdefs.h. */
31735 _ACEOF
31736 cat confdefs.h >>conftest.$ac_ext
31737 cat >>conftest.$ac_ext <<_ACEOF
31738 /* end confdefs.h. */
31739
31740 /* Override any GCC internal prototype to avoid an error.
31741 Use char because int might match the return type of a GCC
31742 builtin and then its argument prototype would still apply. */
31743 #ifdef __cplusplus
31744 extern "C"
31745 #endif
31746 char XShapeQueryExtension ();
31747 int
31748 main ()
31749 {
31750 return XShapeQueryExtension ();
31751 ;
31752 return 0;
31753 }
31754 _ACEOF
31755 rm -f conftest.$ac_objext conftest$ac_exeext
31756 if { (ac_try="$ac_link"
31757 case "(($ac_try" in
31758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31759 *) ac_try_echo=$ac_try;;
31760 esac
31761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31762 (eval "$ac_link") 2>conftest.er1
31763 ac_status=$?
31764 grep -v '^ *+' conftest.er1 >conftest.err
31765 rm -f conftest.er1
31766 cat conftest.err >&5
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); } && {
31769 test -z "$ac_c_werror_flag" ||
31770 test ! -s conftest.err
31771 } && test -s conftest$ac_exeext &&
31772 $as_test_x conftest$ac_exeext; then
31773 ac_cv_lib_Xext_XShapeQueryExtension=yes
31774 else
31775 echo "$as_me: failed program was:" >&5
31776 sed 's/^/| /' conftest.$ac_ext >&5
31777
31778 ac_cv_lib_Xext_XShapeQueryExtension=no
31779 fi
31780
31781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31782 conftest$ac_exeext conftest.$ac_ext
31783 LIBS=$ac_check_lib_save_LIBS
31784 fi
31785 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31786 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31787 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31788
31789 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31790 wxHAVE_XEXT_LIB=1
31791
31792 fi
31793
31794
31795 if test "$wxHAVE_XEXT_LIB" = 1; then
31796 save_CFLAGS="$CFLAGS"
31797 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31798
31799 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31800 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31801 cat >conftest.$ac_ext <<_ACEOF
31802 /* confdefs.h. */
31803 _ACEOF
31804 cat confdefs.h >>conftest.$ac_ext
31805 cat >>conftest.$ac_ext <<_ACEOF
31806 /* end confdefs.h. */
31807
31808 #include <X11/Xlib.h>
31809 #include <X11/extensions/shape.h>
31810
31811 int
31812 main ()
31813 {
31814
31815 int dummy1, dummy2;
31816 XShapeQueryExtension((Display*)NULL,
31817 (int*)NULL, (int*)NULL);
31818
31819 ;
31820 return 0;
31821 }
31822 _ACEOF
31823 rm -f conftest.$ac_objext
31824 if { (ac_try="$ac_compile"
31825 case "(($ac_try" in
31826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31827 *) ac_try_echo=$ac_try;;
31828 esac
31829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31830 (eval "$ac_compile") 2>conftest.er1
31831 ac_status=$?
31832 grep -v '^ *+' conftest.er1 >conftest.err
31833 rm -f conftest.er1
31834 cat conftest.err >&5
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); } && {
31837 test -z "$ac_c_werror_flag" ||
31838 test ! -s conftest.err
31839 } && test -s conftest.$ac_objext; then
31840
31841 cat >>confdefs.h <<\_ACEOF
31842 #define HAVE_XSHAPE 1
31843 _ACEOF
31844
31845 { echo "$as_me:$LINENO: result: found" >&5
31846 echo "${ECHO_T}found" >&6; }
31847
31848 else
31849 echo "$as_me: failed program was:" >&5
31850 sed 's/^/| /' conftest.$ac_ext >&5
31851
31852
31853 { echo "$as_me:$LINENO: result: not found" >&5
31854 echo "${ECHO_T}not found" >&6; }
31855
31856 fi
31857
31858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31859 CFLAGS="$save_CFLAGS"
31860
31861 fi
31862 fi
31863
31864 if test "$wxUSE_MAC" = 1; then
31865 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31866 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31867 if test "$GCC" = yes; then
31868 { echo "$as_me:$LINENO: result: gcc" >&5
31869 echo "${ECHO_T}gcc" >&6; }
31870 CPPFLAGS_PASCAL="-fpascal-strings"
31871 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31872 { echo "$as_me:$LINENO: result: xlc" >&5
31873 echo "${ECHO_T}xlc" >&6; }
31874 CPPFLAGS_PASCAL="-qmacpstr"
31875 else
31876 { echo "$as_me:$LINENO: result: none" >&5
31877 echo "${ECHO_T}none" >&6; }
31878 fi
31879
31880 if test "x$wxUSE_UNIX" = "xyes"; then
31881 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31882 else
31883 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31884 fi
31885
31886 TOOLKIT=MAC
31887 GUIDIST=MACX_DIST
31888 WXBASEPORT="_carbon"
31889 fi
31890
31891 if test "$wxUSE_COCOA" = 1; then
31892 TOOLKIT=COCOA
31893 GUIDIST=COCOA_DIST
31894 fi
31895
31896 if test "$wxUSE_PM" = 1; then
31897 TOOLKIT=PM
31898 GUIDIST=PM_DIST
31899 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31900 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31901 if test "${wx_cv_spbcdata+set}" = set; then
31902 echo $ECHO_N "(cached) $ECHO_C" >&6
31903 else
31904
31905 cat >conftest.$ac_ext <<_ACEOF
31906 /* confdefs.h. */
31907 _ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31911
31912 #define INCL_PM
31913 #include <os2.h>
31914
31915 int
31916 main ()
31917 {
31918
31919 SPBCDATA test;
31920
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 rm -f conftest.$ac_objext
31926 if { (ac_try="$ac_compile"
31927 case "(($ac_try" in
31928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31929 *) ac_try_echo=$ac_try;;
31930 esac
31931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31932 (eval "$ac_compile") 2>conftest.er1
31933 ac_status=$?
31934 grep -v '^ *+' conftest.er1 >conftest.err
31935 rm -f conftest.er1
31936 cat conftest.err >&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); } && {
31939 test -z "$ac_c_werror_flag" ||
31940 test ! -s conftest.err
31941 } && test -s conftest.$ac_objext; then
31942 wx_cv_spbcdata=yes
31943 else
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.$ac_ext >&5
31946
31947 wx_cv_spbcdata=no
31948
31949 fi
31950
31951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31952
31953
31954 fi
31955 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31956 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31957
31958 if test $wx_cv_spbcdata = "yes"; then
31959 cat >>confdefs.h <<\_ACEOF
31960 #define HAVE_SPBCDATA 1
31961 _ACEOF
31962
31963 fi
31964 fi
31965
31966 if test "$TOOLKIT" = "PM" ; then
31967 TOOLKIT_DIR="os2"
31968 else
31969 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31970 fi
31971
31972 if test "$wxUSE_UNIVERSAL" = "yes"; then
31973 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31974 WIDGET_SET=univ
31975 fi
31976
31977 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31978 DISTDIR="wx\$(TOOLKIT)"
31979 else
31980 USE_GUI=0
31981
31982 TOOLKIT_DIR="base"
31983
31984 if test "$USE_WIN32" = 1 ; then
31985 TOOLKIT="MSW"
31986 fi
31987
31988 GUIDIST="BASE_DIST"
31989 DISTDIR="wxBase"
31990 fi
31991
31992
31993
31994 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31995 if test "$TOOLKIT" = "DFB" ; then
31996 wxUSE_UNICODE_UTF8=yes
31997 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31998 wxUSE_UNICODE_UTF8=yes
31999 elif test "$USE_OS2" = "1" ; then
32000 wxUSE_UNICODE_UTF8=yes
32001 else
32002 wxUSE_UNICODE_UTF8=no
32003 fi
32004 fi
32005
32006
32007 if test "$wxUSE_GUI" = "yes"; then
32008 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32009 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
32010 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
32011 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
32012 echo $ECHO_N "(cached) $ECHO_C" >&6
32013 else
32014 cat >conftest.$ac_ext <<_ACEOF
32015 /* confdefs.h. */
32016 _ACEOF
32017 cat confdefs.h >>conftest.$ac_ext
32018 cat >>conftest.$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32020
32021
32022 #include <X11/Xlib.h>
32023 _ACEOF
32024 rm -f conftest.$ac_objext
32025 if { (ac_try="$ac_compile"
32026 case "(($ac_try" in
32027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32028 *) ac_try_echo=$ac_try;;
32029 esac
32030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32031 (eval "$ac_compile") 2>conftest.er1
32032 ac_status=$?
32033 grep -v '^ *+' conftest.er1 >conftest.err
32034 rm -f conftest.er1
32035 cat conftest.err >&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } && {
32038 test -z "$ac_c_werror_flag" ||
32039 test ! -s conftest.err
32040 } && test -s conftest.$ac_objext; then
32041 ac_cv_header_X11_Xlib_h=yes
32042 else
32043 echo "$as_me: failed program was:" >&5
32044 sed 's/^/| /' conftest.$ac_ext >&5
32045
32046 ac_cv_header_X11_Xlib_h=no
32047 fi
32048
32049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32050 fi
32051 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
32052 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
32053
32054
32055 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
32056 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
32057 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
32058 echo $ECHO_N "(cached) $ECHO_C" >&6
32059 else
32060 cat >conftest.$ac_ext <<_ACEOF
32061 /* confdefs.h. */
32062 _ACEOF
32063 cat confdefs.h >>conftest.$ac_ext
32064 cat >>conftest.$ac_ext <<_ACEOF
32065 /* end confdefs.h. */
32066
32067 #if HAVE_X11_XLIB_H
32068 #include <X11/Xlib.h>
32069 #endif
32070
32071
32072 #include <X11/XKBlib.h>
32073 _ACEOF
32074 rm -f conftest.$ac_objext
32075 if { (ac_try="$ac_compile"
32076 case "(($ac_try" in
32077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32078 *) ac_try_echo=$ac_try;;
32079 esac
32080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32081 (eval "$ac_compile") 2>conftest.er1
32082 ac_status=$?
32083 grep -v '^ *+' conftest.er1 >conftest.err
32084 rm -f conftest.er1
32085 cat conftest.err >&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); } && {
32088 test -z "$ac_c_werror_flag" ||
32089 test ! -s conftest.err
32090 } && test -s conftest.$ac_objext; then
32091 ac_cv_header_X11_XKBlib_h=yes
32092 else
32093 echo "$as_me: failed program was:" >&5
32094 sed 's/^/| /' conftest.$ac_ext >&5
32095
32096 ac_cv_header_X11_XKBlib_h=no
32097 fi
32098
32099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32100 fi
32101 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
32102 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
32103
32104
32105 fi
32106 fi
32107
32108
32109
32110 IODBC_C_SRC=""
32111
32112
32113 if test "$TOOLKIT" != "MSW" ; then
32114
32115 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32116
32117 { echo "$as_me:$LINENO: checking for sql.h" >&5
32118 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
32119 if test "${ac_cv_header_sql_h+set}" = set; then
32120 echo $ECHO_N "(cached) $ECHO_C" >&6
32121 else
32122 cat >conftest.$ac_ext <<_ACEOF
32123 /* confdefs.h. */
32124 _ACEOF
32125 cat confdefs.h >>conftest.$ac_ext
32126 cat >>conftest.$ac_ext <<_ACEOF
32127 /* end confdefs.h. */
32128
32129
32130 #include <sql.h>
32131 _ACEOF
32132 rm -f conftest.$ac_objext
32133 if { (ac_try="$ac_compile"
32134 case "(($ac_try" in
32135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32136 *) ac_try_echo=$ac_try;;
32137 esac
32138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32139 (eval "$ac_compile") 2>conftest.er1
32140 ac_status=$?
32141 grep -v '^ *+' conftest.er1 >conftest.err
32142 rm -f conftest.er1
32143 cat conftest.err >&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); } && {
32146 test -z "$ac_c_werror_flag" ||
32147 test ! -s conftest.err
32148 } && test -s conftest.$ac_objext; then
32149 ac_cv_header_sql_h=yes
32150 else
32151 echo "$as_me: failed program was:" >&5
32152 sed 's/^/| /' conftest.$ac_ext >&5
32153
32154 ac_cv_header_sql_h=no
32155 fi
32156
32157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32158 fi
32159 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32160 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
32161 if test $ac_cv_header_sql_h = yes; then
32162 found_sql_h=1
32163 fi
32164
32165
32166 if test "x$found_sql_h" = "x1" ; then
32167 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32168 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
32169 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32170 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 else
32172 ac_check_lib_save_LIBS=$LIBS
32173 LIBS="-liodbc $LIBS"
32174 cat >conftest.$ac_ext <<_ACEOF
32175 /* confdefs.h. */
32176 _ACEOF
32177 cat confdefs.h >>conftest.$ac_ext
32178 cat >>conftest.$ac_ext <<_ACEOF
32179 /* end confdefs.h. */
32180
32181 /* Override any GCC internal prototype to avoid an error.
32182 Use char because int might match the return type of a GCC
32183 builtin and then its argument prototype would still apply. */
32184 #ifdef __cplusplus
32185 extern "C"
32186 #endif
32187 char SQLAllocEnv ();
32188 int
32189 main ()
32190 {
32191 return SQLAllocEnv ();
32192 ;
32193 return 0;
32194 }
32195 _ACEOF
32196 rm -f conftest.$ac_objext conftest$ac_exeext
32197 if { (ac_try="$ac_link"
32198 case "(($ac_try" in
32199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32200 *) ac_try_echo=$ac_try;;
32201 esac
32202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32203 (eval "$ac_link") 2>conftest.er1
32204 ac_status=$?
32205 grep -v '^ *+' conftest.er1 >conftest.err
32206 rm -f conftest.er1
32207 cat conftest.err >&5
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); } && {
32210 test -z "$ac_c_werror_flag" ||
32211 test ! -s conftest.err
32212 } && test -s conftest$ac_exeext &&
32213 $as_test_x conftest$ac_exeext; then
32214 ac_cv_lib_iodbc_SQLAllocEnv=yes
32215 else
32216 echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.$ac_ext >&5
32218
32219 ac_cv_lib_iodbc_SQLAllocEnv=no
32220 fi
32221
32222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32223 conftest$ac_exeext conftest.$ac_ext
32224 LIBS=$ac_check_lib_save_LIBS
32225 fi
32226 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32227 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
32228 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32229 ODBC_LINK=" -liodbc"
32230 else
32231
32232 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32233 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
32234 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32235 echo $ECHO_N "(cached) $ECHO_C" >&6
32236 else
32237 ac_check_lib_save_LIBS=$LIBS
32238 LIBS="-lunixodbc $LIBS"
32239 cat >conftest.$ac_ext <<_ACEOF
32240 /* confdefs.h. */
32241 _ACEOF
32242 cat confdefs.h >>conftest.$ac_ext
32243 cat >>conftest.$ac_ext <<_ACEOF
32244 /* end confdefs.h. */
32245
32246 /* Override any GCC internal prototype to avoid an error.
32247 Use char because int might match the return type of a GCC
32248 builtin and then its argument prototype would still apply. */
32249 #ifdef __cplusplus
32250 extern "C"
32251 #endif
32252 char SQLAllocEnv ();
32253 int
32254 main ()
32255 {
32256 return SQLAllocEnv ();
32257 ;
32258 return 0;
32259 }
32260 _ACEOF
32261 rm -f conftest.$ac_objext conftest$ac_exeext
32262 if { (ac_try="$ac_link"
32263 case "(($ac_try" in
32264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32265 *) ac_try_echo=$ac_try;;
32266 esac
32267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32268 (eval "$ac_link") 2>conftest.er1
32269 ac_status=$?
32270 grep -v '^ *+' conftest.er1 >conftest.err
32271 rm -f conftest.er1
32272 cat conftest.err >&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } && {
32275 test -z "$ac_c_werror_flag" ||
32276 test ! -s conftest.err
32277 } && test -s conftest$ac_exeext &&
32278 $as_test_x conftest$ac_exeext; then
32279 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32280 else
32281 echo "$as_me: failed program was:" >&5
32282 sed 's/^/| /' conftest.$ac_ext >&5
32283
32284 ac_cv_lib_unixodbc_SQLAllocEnv=no
32285 fi
32286
32287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32288 conftest$ac_exeext conftest.$ac_ext
32289 LIBS=$ac_check_lib_save_LIBS
32290 fi
32291 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32292 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32293 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32294 ODBC_LINK=" -lunixodbc"
32295 else
32296
32297 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32298 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32299 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32300 echo $ECHO_N "(cached) $ECHO_C" >&6
32301 else
32302 ac_check_lib_save_LIBS=$LIBS
32303 LIBS="-lodbc $LIBS"
32304 cat >conftest.$ac_ext <<_ACEOF
32305 /* confdefs.h. */
32306 _ACEOF
32307 cat confdefs.h >>conftest.$ac_ext
32308 cat >>conftest.$ac_ext <<_ACEOF
32309 /* end confdefs.h. */
32310
32311 /* Override any GCC internal prototype to avoid an error.
32312 Use char because int might match the return type of a GCC
32313 builtin and then its argument prototype would still apply. */
32314 #ifdef __cplusplus
32315 extern "C"
32316 #endif
32317 char SQLAllocEnv ();
32318 int
32319 main ()
32320 {
32321 return SQLAllocEnv ();
32322 ;
32323 return 0;
32324 }
32325 _ACEOF
32326 rm -f conftest.$ac_objext conftest$ac_exeext
32327 if { (ac_try="$ac_link"
32328 case "(($ac_try" in
32329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32330 *) ac_try_echo=$ac_try;;
32331 esac
32332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32333 (eval "$ac_link") 2>conftest.er1
32334 ac_status=$?
32335 grep -v '^ *+' conftest.er1 >conftest.err
32336 rm -f conftest.er1
32337 cat conftest.err >&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); } && {
32340 test -z "$ac_c_werror_flag" ||
32341 test ! -s conftest.err
32342 } && test -s conftest$ac_exeext &&
32343 $as_test_x conftest$ac_exeext; then
32344 ac_cv_lib_odbc_SQLAllocEnv=yes
32345 else
32346 echo "$as_me: failed program was:" >&5
32347 sed 's/^/| /' conftest.$ac_ext >&5
32348
32349 ac_cv_lib_odbc_SQLAllocEnv=no
32350 fi
32351
32352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32353 conftest$ac_exeext conftest.$ac_ext
32354 LIBS=$ac_check_lib_save_LIBS
32355 fi
32356 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32357 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32358 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32359 ODBC_LINK=" -lodbc"
32360 fi
32361
32362
32363 fi
32364
32365
32366 fi
32367
32368 fi
32369 if test "x$ODBC_LINK" = "x" ; then
32370 if test "$wxUSE_ODBC" = "sys" ; then
32371 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32372 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32373 { (exit 1); exit 1; }; }
32374 else
32375 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32376 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32377 wxUSE_ODBC=builtin
32378 fi
32379 else
32380 wxUSE_ODBC=sys
32381 fi
32382 fi
32383
32384 if test "$wxUSE_ODBC" = "builtin" ; then
32385 cat >>confdefs.h <<\_ACEOF
32386 #define wxUSE_BUILTIN_IODBC 1
32387 _ACEOF
32388
32389 fi
32390 fi
32391
32392 if test "$wxUSE_ODBC" != "no" ; then
32393 cat >>confdefs.h <<\_ACEOF
32394 #define wxUSE_ODBC 1
32395 _ACEOF
32396
32397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32398
32399 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32400 fi
32401
32402
32403 if test "$wxUSE_DISPLAY" = "yes"; then
32404 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32405 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32406 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32407
32408 ac_find_libraries=
32409 for ac_dir in $SEARCH_LIB;
32410 do
32411 for ac_extension in a so sl dylib dll.a; do
32412 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32413 ac_find_libraries=$ac_dir
32414 break 2
32415 fi
32416 done
32417 done
32418
32419 if test "$ac_find_libraries" != "" ; then
32420
32421 if test "$ac_find_libraries" = "default location"; then
32422 ac_path_to_link=""
32423 else
32424 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32425 result=$?
32426 if test $result = 0; then
32427 ac_path_to_link=""
32428 else
32429 ac_path_to_link=" -L$ac_find_libraries"
32430 fi
32431 fi
32432
32433 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32434 LDFLAGS="$LDFLAGS $ac_path_to_link"
32435 fi
32436 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32437 { echo "$as_me:$LINENO: result: yes" >&5
32438 echo "${ECHO_T}yes" >&6; }
32439
32440 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32441 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32442
32443 ac_find_libraries=
32444 for ac_dir in $SEARCH_LIB;
32445 do
32446 for ac_extension in a so sl dylib dll.a; do
32447 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32448 ac_find_libraries=$ac_dir
32449 break 2
32450 fi
32451 done
32452 done
32453
32454 if test "$ac_find_libraries" != "" ; then
32455 { echo "$as_me:$LINENO: result: yes" >&5
32456 echo "${ECHO_T}yes" >&6; }
32457 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32458 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32459 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32461 else
32462 cat >conftest.$ac_ext <<_ACEOF
32463 /* confdefs.h. */
32464 _ACEOF
32465 cat confdefs.h >>conftest.$ac_ext
32466 cat >>conftest.$ac_ext <<_ACEOF
32467 /* end confdefs.h. */
32468
32469 #if HAVE_X11_XLIB_H
32470 #include <X11/Xlib.h>
32471 #endif
32472
32473
32474 #include <X11/extensions/xf86vmode.h>
32475 _ACEOF
32476 rm -f conftest.$ac_objext
32477 if { (ac_try="$ac_compile"
32478 case "(($ac_try" in
32479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32480 *) ac_try_echo=$ac_try;;
32481 esac
32482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32483 (eval "$ac_compile") 2>conftest.er1
32484 ac_status=$?
32485 grep -v '^ *+' conftest.er1 >conftest.err
32486 rm -f conftest.er1
32487 cat conftest.err >&5
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); } && {
32490 test -z "$ac_c_werror_flag" ||
32491 test ! -s conftest.err
32492 } && test -s conftest.$ac_objext; then
32493 ac_cv_header_X11_extensions_xf86vmode_h=yes
32494 else
32495 echo "$as_me: failed program was:" >&5
32496 sed 's/^/| /' conftest.$ac_ext >&5
32497
32498 ac_cv_header_X11_extensions_xf86vmode_h=no
32499 fi
32500
32501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32502 fi
32503 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32504 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32505 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32506
32507 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32508
32509 fi
32510
32511
32512 else
32513 { echo "$as_me:$LINENO: result: no" >&5
32514 echo "${ECHO_T}no" >&6; }
32515 fi
32516
32517 else
32518 { echo "$as_me:$LINENO: result: no" >&5
32519 echo "${ECHO_T}no" >&6; }
32520 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32521 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32522 wxUSE_DISPLAY="no"
32523 fi
32524 elif test "$wxUSE_MSW" = 1; then
32525 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32526 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32527 if test "${ac_cv_header_ddraw_h+set}" = set; then
32528 echo $ECHO_N "(cached) $ECHO_C" >&6
32529 else
32530 cat >conftest.$ac_ext <<_ACEOF
32531 /* confdefs.h. */
32532 _ACEOF
32533 cat confdefs.h >>conftest.$ac_ext
32534 cat >>conftest.$ac_ext <<_ACEOF
32535 /* end confdefs.h. */
32536 #include <windows.h>
32537
32538 #include <ddraw.h>
32539 _ACEOF
32540 rm -f conftest.$ac_objext
32541 if { (ac_try="$ac_compile"
32542 case "(($ac_try" in
32543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32544 *) ac_try_echo=$ac_try;;
32545 esac
32546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32547 (eval "$ac_compile") 2>conftest.er1
32548 ac_status=$?
32549 grep -v '^ *+' conftest.er1 >conftest.err
32550 rm -f conftest.er1
32551 cat conftest.err >&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } && {
32554 test -z "$ac_c_werror_flag" ||
32555 test ! -s conftest.err
32556 } && test -s conftest.$ac_objext; then
32557 ac_cv_header_ddraw_h=yes
32558 else
32559 echo "$as_me: failed program was:" >&5
32560 sed 's/^/| /' conftest.$ac_ext >&5
32561
32562 ac_cv_header_ddraw_h=no
32563 fi
32564
32565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32566 fi
32567 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32568 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32569
32570
32571 fi
32572 fi
32573
32574 if test "$wxUSE_DETECT_SM" = "yes"; then
32575 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32576 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32577 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32578
32579 ac_find_libraries=
32580 for ac_dir in $SEARCH_LIB;
32581 do
32582 for ac_extension in a so sl dylib dll.a; do
32583 if test -f "$ac_dir/libSM.$ac_extension"; then
32584 ac_find_libraries=$ac_dir
32585 break 2
32586 fi
32587 done
32588 done
32589
32590 if test "$ac_find_libraries" != "" ; then
32591
32592 if test "$ac_find_libraries" = "default location"; then
32593 ac_path_to_link=""
32594 else
32595 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32596 result=$?
32597 if test $result = 0; then
32598 ac_path_to_link=""
32599 else
32600 ac_path_to_link=" -L$ac_find_libraries"
32601 fi
32602 fi
32603
32604 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32605 LDFLAGS="$LDFLAGS $ac_path_to_link"
32606 fi
32607 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32608 { echo "$as_me:$LINENO: result: yes" >&5
32609 echo "${ECHO_T}yes" >&6; }
32610 else
32611 { echo "$as_me:$LINENO: result: no" >&5
32612 echo "${ECHO_T}no" >&6; }
32613 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32614 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32615 wxUSE_DETECT_SM="no"
32616 fi
32617 else
32618 wxUSE_DETECT_SM="no"
32619 fi
32620 fi
32621
32622
32623
32624 USE_OPENGL=0
32625 if test "$wxUSE_OPENGL" = "yes"; then
32626 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32627 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32628 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32629 wxUSE_OPENGL="no"
32630 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32631 OPENGL_LIBS="-framework OpenGL -framework AGL"
32632 elif test "$wxUSE_MSW" = 1; then
32633 OPENGL_LIBS="-lopengl32 -lglu32"
32634 else
32635 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32636 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32637
32638 ac_find_includes=
32639 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32640 do
32641 if test -f "$ac_dir/GL/gl.h"; then
32642 ac_find_includes=$ac_dir
32643 break
32644 fi
32645 done
32646
32647 if test "$ac_find_includes" != "" ; then
32648 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32649 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32650
32651 if test "x$ac_find_includes" = "x/usr/include"; then
32652 ac_path_to_include=""
32653 else
32654 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32655 result=$?
32656 if test $result = 0; then
32657 ac_path_to_include=""
32658 else
32659 ac_path_to_include=" -I$ac_find_includes"
32660 fi
32661 fi
32662
32663 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32664 else
32665 { echo "$as_me:$LINENO: result: not found" >&5
32666 echo "${ECHO_T}not found" >&6; }
32667 fi
32668
32669 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32670 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32671 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32672 echo $ECHO_N "(cached) $ECHO_C" >&6
32673 else
32674 cat >conftest.$ac_ext <<_ACEOF
32675 /* confdefs.h. */
32676 _ACEOF
32677 cat confdefs.h >>conftest.$ac_ext
32678 cat >>conftest.$ac_ext <<_ACEOF
32679 /* end confdefs.h. */
32680
32681
32682 #include <GL/gl.h>
32683 _ACEOF
32684 rm -f conftest.$ac_objext
32685 if { (ac_try="$ac_compile"
32686 case "(($ac_try" in
32687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32688 *) ac_try_echo=$ac_try;;
32689 esac
32690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32691 (eval "$ac_compile") 2>conftest.er1
32692 ac_status=$?
32693 grep -v '^ *+' conftest.er1 >conftest.err
32694 rm -f conftest.er1
32695 cat conftest.err >&5
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); } && {
32698 test -z "$ac_c_werror_flag" ||
32699 test ! -s conftest.err
32700 } && test -s conftest.$ac_objext; then
32701 ac_cv_header_GL_gl_h=yes
32702 else
32703 echo "$as_me: failed program was:" >&5
32704 sed 's/^/| /' conftest.$ac_ext >&5
32705
32706 ac_cv_header_GL_gl_h=no
32707 fi
32708
32709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32710 fi
32711 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32712 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32713 if test $ac_cv_header_GL_gl_h = yes; then
32714
32715 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32716 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32717 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32718 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32719 echo $ECHO_N "(cached) $ECHO_C" >&6
32720 fi
32721 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32722 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32723 else
32724 # Is the header compilable?
32725 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32726 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32727 cat >conftest.$ac_ext <<_ACEOF
32728 /* confdefs.h. */
32729 _ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32733 $ac_includes_default
32734 #include <GL/glu.h>
32735 _ACEOF
32736 rm -f conftest.$ac_objext
32737 if { (ac_try="$ac_compile"
32738 case "(($ac_try" in
32739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32740 *) ac_try_echo=$ac_try;;
32741 esac
32742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32743 (eval "$ac_compile") 2>conftest.er1
32744 ac_status=$?
32745 grep -v '^ *+' conftest.er1 >conftest.err
32746 rm -f conftest.er1
32747 cat conftest.err >&5
32748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749 (exit $ac_status); } && {
32750 test -z "$ac_c_werror_flag" ||
32751 test ! -s conftest.err
32752 } && test -s conftest.$ac_objext; then
32753 ac_header_compiler=yes
32754 else
32755 echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.$ac_ext >&5
32757
32758 ac_header_compiler=no
32759 fi
32760
32761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32762 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32763 echo "${ECHO_T}$ac_header_compiler" >&6; }
32764
32765 # Is the header present?
32766 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32767 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32768 cat >conftest.$ac_ext <<_ACEOF
32769 /* confdefs.h. */
32770 _ACEOF
32771 cat confdefs.h >>conftest.$ac_ext
32772 cat >>conftest.$ac_ext <<_ACEOF
32773 /* end confdefs.h. */
32774 #include <GL/glu.h>
32775 _ACEOF
32776 if { (ac_try="$ac_cpp conftest.$ac_ext"
32777 case "(($ac_try" in
32778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32779 *) ac_try_echo=$ac_try;;
32780 esac
32781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32783 ac_status=$?
32784 grep -v '^ *+' conftest.er1 >conftest.err
32785 rm -f conftest.er1
32786 cat conftest.err >&5
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); } >/dev/null && {
32789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32790 test ! -s conftest.err
32791 }; then
32792 ac_header_preproc=yes
32793 else
32794 echo "$as_me: failed program was:" >&5
32795 sed 's/^/| /' conftest.$ac_ext >&5
32796
32797 ac_header_preproc=no
32798 fi
32799
32800 rm -f conftest.err conftest.$ac_ext
32801 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32802 echo "${ECHO_T}$ac_header_preproc" >&6; }
32803
32804 # So? What about this header?
32805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32806 yes:no: )
32807 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32808 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32809 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32810 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32811 ac_header_preproc=yes
32812 ;;
32813 no:yes:* )
32814 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32815 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32816 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32817 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32818 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32819 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32820 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32821 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32822 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32823 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32824 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32825 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32826 ( cat <<\_ASBOX
32827 ## ----------------------------------------- ##
32828 ## Report this to wx-dev@lists.wxwidgets.org ##
32829 ## ----------------------------------------- ##
32830 _ASBOX
32831 ) | sed "s/^/$as_me: WARNING: /" >&2
32832 ;;
32833 esac
32834 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32835 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32836 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 else
32839 ac_cv_header_GL_glu_h=$ac_header_preproc
32840 fi
32841 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32842 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32843
32844 fi
32845 if test $ac_cv_header_GL_glu_h = yes; then
32846
32847 found_gl=0
32848
32849 { echo "$as_me:$LINENO: checking for -lGL" >&5
32850 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32851
32852 ac_find_libraries=
32853 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32854 do
32855 for ac_extension in a so sl dylib dll.a; do
32856 if test -f "$ac_dir/libGL.$ac_extension"; then
32857 ac_find_libraries=$ac_dir
32858 break 2
32859 fi
32860 done
32861 done
32862
32863 if test "$ac_find_libraries" != "" ; then
32864 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32865 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32866
32867
32868 if test "$ac_find_libraries" = "default location"; then
32869 ac_path_to_link=""
32870 else
32871 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32872 result=$?
32873 if test $result = 0; then
32874 ac_path_to_link=""
32875 else
32876 ac_path_to_link=" -L$ac_find_libraries"
32877 fi
32878 fi
32879
32880 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32881 LDFLAGS_GL="$ac_path_to_link"
32882 fi
32883
32884 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32885 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32886
32887 ac_find_libraries=
32888 for ac_dir in $SEARCH_LIB;
32889 do
32890 for ac_extension in a so sl dylib dll.a; do
32891 if test -f "$ac_dir/libGLU.$ac_extension"; then
32892 ac_find_libraries=$ac_dir
32893 break 2
32894 fi
32895 done
32896 done
32897
32898 if test "$ac_find_libraries" != "" ; then
32899
32900 if test "$ac_find_libraries" = "default location"; then
32901 ac_path_to_link=""
32902 else
32903 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32904 result=$?
32905 if test $result = 0; then
32906 ac_path_to_link=""
32907 else
32908 ac_path_to_link=" -L$ac_find_libraries"
32909 fi
32910 fi
32911
32912 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32913 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32914 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32915 fi
32916
32917 found_gl=1
32918 OPENGL_LIBS="-lGL -lGLU"
32919 { echo "$as_me:$LINENO: result: yes" >&5
32920 echo "${ECHO_T}yes" >&6; }
32921 else
32922 { echo "$as_me:$LINENO: result: no" >&5
32923 echo "${ECHO_T}no" >&6; }
32924 fi
32925 else
32926 { echo "$as_me:$LINENO: result: no" >&5
32927 echo "${ECHO_T}no" >&6; }
32928 fi
32929
32930 if test "$found_gl" != 1; then
32931 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32932 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32933
32934 ac_find_libraries=
32935 for ac_dir in $SEARCH_LIB;
32936 do
32937 for ac_extension in a so sl dylib dll.a; do
32938 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32939 ac_find_libraries=$ac_dir
32940 break 2
32941 fi
32942 done
32943 done
32944
32945 if test "$ac_find_libraries" != "" ; then
32946
32947 if test "$ac_find_libraries" = "default location"; then
32948 ac_path_to_link=""
32949 else
32950 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32951 result=$?
32952 if test $result = 0; then
32953 ac_path_to_link=""
32954 else
32955 ac_path_to_link=" -L$ac_find_libraries"
32956 fi
32957 fi
32958
32959 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32960 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32961 { echo "$as_me:$LINENO: result: yes" >&5
32962 echo "${ECHO_T}yes" >&6; }
32963 else
32964 { echo "$as_me:$LINENO: result: no" >&5
32965 echo "${ECHO_T}no" >&6; }
32966 fi
32967 fi
32968
32969 fi
32970
32971
32972
32973 fi
32974
32975
32976
32977 if test "x$OPENGL_LIBS" = "x"; then
32978 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32979 echo "$as_me: error: OpenGL libraries not available" >&2;}
32980 { (exit 1); exit 1; }; }
32981 fi
32982 fi
32983
32984 if test "$wxUSE_OPENGL" = "yes"; then
32985 USE_OPENGL=1
32986 cat >>confdefs.h <<\_ACEOF
32987 #define wxUSE_OPENGL 1
32988 _ACEOF
32989
32990 cat >>confdefs.h <<\_ACEOF
32991 #define wxUSE_GLCANVAS 1
32992 _ACEOF
32993
32994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32995 fi
32996 fi
32997
32998
32999 if test -n "$TOOLKIT" ; then
33000 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33001 fi
33002
33003
33004
33005 if test "$wxUSE_SHARED" = "yes"; then
33006 case "${host}" in
33007 *-pc-msdosdjgpp )
33008 wxUSE_SHARED=no
33009 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33010 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33011 ;;
33012 esac
33013 fi
33014
33015 if test "$wxUSE_SHARED" = "yes"; then
33016
33017
33018 case "${host}" in
33019 *-*-cygwin* | *-*-mingw* )
33020 wx_cv_version_script=no
33021 ;;
33022
33023 *)
33024 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33025 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33026 if test "${wx_cv_version_script+set}" = set; then
33027 echo $ECHO_N "(cached) $ECHO_C" >&6
33028 else
33029
33030 echo "VER_1 { *; };" >conftest.sym
33031 echo "int main() { return 0; }" >conftest.cpp
33032
33033 if { ac_try='
33034 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33035 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33037 (eval $ac_try) 2>&5
33038 ac_status=$?
33039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040 (exit $ac_status); }; } ; then
33041 if test -s conftest.stderr ; then
33042 wx_cv_version_script=no
33043 else
33044 wx_cv_version_script=yes
33045 fi
33046 else
33047 wx_cv_version_script=no
33048 fi
33049
33050 if test $wx_cv_version_script = yes
33051 then
33052 echo "struct B { virtual ~B() { } }; \
33053 struct D : public B { }; \
33054 void F() { D d; }" > conftest.cpp
33055
33056 if { ac_try='
33057 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33058 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33061 ac_status=$?
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; } &&
33064 { ac_try='
33065 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33066 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33068 (eval $ac_try) 2>&5
33069 ac_status=$?
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); }; }
33072 then
33073 if { ac_try='
33074 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33075 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33077 (eval $ac_try) 2>&5
33078 ac_status=$?
33079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33080 (exit $ac_status); }; }
33081 then
33082 wx_cv_version_script=yes
33083 else
33084 wx_cv_version_script=no
33085 fi
33086 fi
33087 fi
33088
33089 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33090 rm -f conftest1.output conftest2.output conftest3.output
33091
33092 fi
33093 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33094 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33095
33096 if test $wx_cv_version_script = yes ; then
33097 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33098 fi
33099 ;;
33100 esac
33101
33102
33103 if test "x$SUNCXX" = xyes; then
33104 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33105 WXCONFIG_RPATH="-R\$libdir"
33106 else
33107 case "${host}" in
33108 *-*-linux* | *-*-gnu* )
33109 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33110 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33111 ;;
33112
33113 *-*-solaris2* )
33114
33115 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33116
33117 saveLdflags="$LDFLAGS"
33118 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33119 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33120 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33121 cat >conftest.$ac_ext <<_ACEOF
33122 /* confdefs.h. */
33123 _ACEOF
33124 cat confdefs.h >>conftest.$ac_ext
33125 cat >>conftest.$ac_ext <<_ACEOF
33126 /* end confdefs.h. */
33127
33128 int
33129 main ()
33130 {
33131
33132 ;
33133 return 0;
33134 }
33135 _ACEOF
33136 rm -f conftest.$ac_objext conftest$ac_exeext
33137 if { (ac_try="$ac_link"
33138 case "(($ac_try" in
33139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33140 *) ac_try_echo=$ac_try;;
33141 esac
33142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33143 (eval "$ac_link") 2>conftest.er1
33144 ac_status=$?
33145 grep -v '^ *+' conftest.er1 >conftest.err
33146 rm -f conftest.er1
33147 cat conftest.err >&5
33148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33149 (exit $ac_status); } && {
33150 test -z "$ac_c_werror_flag" ||
33151 test ! -s conftest.err
33152 } && test -s conftest$ac_exeext &&
33153 $as_test_x conftest$ac_exeext; then
33154
33155 { echo "$as_me:$LINENO: result: yes" >&5
33156 echo "${ECHO_T}yes" >&6; }
33157 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33158 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33159
33160 else
33161 echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.$ac_ext >&5
33163
33164
33165 { echo "$as_me:$LINENO: result: no" >&5
33166 echo "${ECHO_T}no" >&6; }
33167 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33168 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33169 LDFLAGS="$saveLdflags -Wl,-R,/"
33170 cat >conftest.$ac_ext <<_ACEOF
33171 /* confdefs.h. */
33172 _ACEOF
33173 cat confdefs.h >>conftest.$ac_ext
33174 cat >>conftest.$ac_ext <<_ACEOF
33175 /* end confdefs.h. */
33176
33177 int
33178 main ()
33179 {
33180
33181 ;
33182 return 0;
33183 }
33184 _ACEOF
33185 rm -f conftest.$ac_objext conftest$ac_exeext
33186 if { (ac_try="$ac_link"
33187 case "(($ac_try" in
33188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33189 *) ac_try_echo=$ac_try;;
33190 esac
33191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33192 (eval "$ac_link") 2>conftest.er1
33193 ac_status=$?
33194 grep -v '^ *+' conftest.er1 >conftest.err
33195 rm -f conftest.er1
33196 cat conftest.err >&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest$ac_exeext &&
33202 $as_test_x conftest$ac_exeext; then
33203
33204 { echo "$as_me:$LINENO: result: yes" >&5
33205 echo "${ECHO_T}yes" >&6; }
33206 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33207 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33208
33209 else
33210 echo "$as_me: failed program was:" >&5
33211 sed 's/^/| /' conftest.$ac_ext >&5
33212
33213
33214 { echo "$as_me:$LINENO: result: no" >&5
33215 echo "${ECHO_T}no" >&6; }
33216
33217 fi
33218
33219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33220 conftest$ac_exeext conftest.$ac_ext
33221
33222 fi
33223
33224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33225 conftest$ac_exeext conftest.$ac_ext
33226 LDFLAGS="$saveLdflags"
33227 ;;
33228
33229 *-*-darwin* )
33230 install_name_tool=`which install_name_tool`
33231 if test "$install_name_tool" -a -x "$install_name_tool"; then
33232 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33233 cat <<EOF >change-install-names
33234 #!/bin/sh
33235 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33236 inst_cmd="install_name_tool "
33237 for i in \${libnames} ; do
33238 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33239 done
33240 \${inst_cmd} \${3}
33241 EOF
33242 chmod +x change-install-names
33243 fi
33244 ;;
33245
33246 *-*-cygwin* | *-*-mingw32* )
33247 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33248 ;;
33249
33250 *-*-hpux* )
33251 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33252 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33253 ;;
33254
33255 esac
33256 fi
33257
33258 if test $wxUSE_RPATH = "no"; then
33259 SAMPLES_RPATH_FLAG=''
33260 SAMPLES_RPATH_POSTLINK=''
33261 WXCONFIG_RPATH=''
33262 fi
33263
33264 SHARED=1
33265
33266 else
33267
33268 config_linkage_component="-static"
33269 SHARED=0
33270
33271 fi
33272
33273
33274 UNICODE=0
33275 lib_unicode_suffix=
33276 WX_CHARTYPE="ansi"
33277 if test "$wxUSE_UNICODE" = "yes"; then
33278 lib_unicode_suffix=u
33279 WX_CHARTYPE="unicode"
33280 UNICODE=1
33281 fi
33282
33283 lib_debug_suffix=
33284 WX_DEBUGTYPE="release"
33285 DEBUG_FLAG=0
33286 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33287 lib_debug_suffix=d
33288 WX_DEBUGTYPE="debug"
33289 DEBUG_FLAG=1
33290 fi
33291
33292 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33293 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33294
33295 DEBUG_INFO=0
33296 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33297 DEBUG_INFO=1
33298 fi
33299
33300 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33301
33302 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33303
33304 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33305
33306 if test "$cross_compiling" = "yes"; then
33307 HOST_SUFFIX="-$host_alias"
33308 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33309 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33310 fi
33311
33312 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33313 if test "${TOOLKIT_DIR}" = "os2"; then
33314 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33315 else
33316 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33317 fi
33318
33319
33320
33321 if test "$wxUSE_COCOA" = 1; then
33322
33323 ac_ext=c
33324 ac_cpp='$CPP $CPPFLAGS'
33325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33328
33329 ac_ext=m
33330
33331 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33332 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33333 cat >conftest.$ac_ext <<_ACEOF
33334 /* confdefs.h. */
33335 _ACEOF
33336 cat confdefs.h >>conftest.$ac_ext
33337 cat >>conftest.$ac_ext <<_ACEOF
33338 /* end confdefs.h. */
33339 #include <AppKit/NSEvent.h>
33340 #include <CoreFoundation/CoreFoundation.h>
33341
33342 int
33343 main ()
33344 {
33345
33346 ;
33347 return 0;
33348 }
33349 _ACEOF
33350 rm -f conftest.$ac_objext
33351 if { (ac_try="$ac_compile"
33352 case "(($ac_try" in
33353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33354 *) ac_try_echo=$ac_try;;
33355 esac
33356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33357 (eval "$ac_compile") 2>conftest.er1
33358 ac_status=$?
33359 grep -v '^ *+' conftest.er1 >conftest.err
33360 rm -f conftest.er1
33361 cat conftest.err >&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); } && {
33364 test -z "$ac_c_werror_flag" ||
33365 test ! -s conftest.err
33366 } && test -s conftest.$ac_objext; then
33367 { echo "$as_me:$LINENO: result: no" >&5
33368 echo "${ECHO_T}no" >&6; }
33369 else
33370 echo "$as_me: failed program was:" >&5
33371 sed 's/^/| /' conftest.$ac_ext >&5
33372
33373 { echo "$as_me:$LINENO: result: yes" >&5
33374 echo "${ECHO_T}yes" >&6; }
33375 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33376 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33377 cat >conftest.$ac_ext <<_ACEOF
33378 /* confdefs.h. */
33379 _ACEOF
33380 cat confdefs.h >>conftest.$ac_ext
33381 cat >>conftest.$ac_ext <<_ACEOF
33382 /* end confdefs.h. */
33383 #define __Point__ 1
33384 #include <AppKit/NSEvent.h>
33385 #include <CoreFoundation/CoreFoundation.h>
33386
33387 int
33388 main ()
33389 {
33390
33391 ;
33392 return 0;
33393 }
33394 _ACEOF
33395 rm -f conftest.$ac_objext
33396 if { (ac_try="$ac_compile"
33397 case "(($ac_try" in
33398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33399 *) ac_try_echo=$ac_try;;
33400 esac
33401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33402 (eval "$ac_compile") 2>conftest.er1
33403 ac_status=$?
33404 grep -v '^ *+' conftest.er1 >conftest.err
33405 rm -f conftest.er1
33406 cat conftest.err >&5
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } && {
33409 test -z "$ac_c_werror_flag" ||
33410 test ! -s conftest.err
33411 } && test -s conftest.$ac_objext; then
33412 { echo "$as_me:$LINENO: result: yes" >&5
33413 echo "${ECHO_T}yes" >&6; }
33414 cat >>confdefs.h <<\_ACEOF
33415 #define __Point__ 1
33416 _ACEOF
33417
33418
33419 else
33420 echo "$as_me: failed program was:" >&5
33421 sed 's/^/| /' conftest.$ac_ext >&5
33422
33423 { { echo "$as_me:$LINENO: error: no
33424 See \`config.log' for more details." >&5
33425 echo "$as_me: error: no
33426 See \`config.log' for more details." >&2;}
33427 { (exit 1); exit 1; }; }
33428
33429 fi
33430
33431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33432
33433 fi
33434
33435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33436 ac_ext=c
33437 ac_cpp='$CPP $CPPFLAGS'
33438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33441
33442 fi
33443
33444 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33445 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33446 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33447
33448 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33449
33450 # Extract the first word of "Rez", so it can be a program name with args.
33451 set dummy Rez; ac_word=$2
33452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33454 if test "${ac_cv_prog_REZ+set}" = set; then
33455 echo $ECHO_N "(cached) $ECHO_C" >&6
33456 else
33457 if test -n "$REZ"; then
33458 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33459 else
33460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33461 for as_dir in $PATH
33462 do
33463 IFS=$as_save_IFS
33464 test -z "$as_dir" && as_dir=.
33465 for ac_exec_ext in '' $ac_executable_extensions; do
33466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33467 ac_cv_prog_REZ="Rez"
33468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33469 break 2
33470 fi
33471 done
33472 done
33473 IFS=$as_save_IFS
33474
33475 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33476 fi
33477 fi
33478 REZ=$ac_cv_prog_REZ
33479 if test -n "$REZ"; then
33480 { echo "$as_me:$LINENO: result: $REZ" >&5
33481 echo "${ECHO_T}$REZ" >&6; }
33482 else
33483 { echo "$as_me:$LINENO: result: no" >&5
33484 echo "${ECHO_T}no" >&6; }
33485 fi
33486
33487
33488 # Extract the first word of "DeRez", so it can be a program name with args.
33489 set dummy DeRez; ac_word=$2
33490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33492 if test "${ac_cv_prog_DEREZ+set}" = set; then
33493 echo $ECHO_N "(cached) $ECHO_C" >&6
33494 else
33495 if test -n "$DEREZ"; then
33496 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33497 else
33498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33499 for as_dir in $PATH
33500 do
33501 IFS=$as_save_IFS
33502 test -z "$as_dir" && as_dir=.
33503 for ac_exec_ext in '' $ac_executable_extensions; do
33504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33505 ac_cv_prog_DEREZ="DeRez"
33506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33507 break 2
33508 fi
33509 done
33510 done
33511 IFS=$as_save_IFS
33512
33513 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33514 fi
33515 fi
33516 DEREZ=$ac_cv_prog_DEREZ
33517 if test -n "$DEREZ"; then
33518 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33519 echo "${ECHO_T}$DEREZ" >&6; }
33520 else
33521 { echo "$as_me:$LINENO: result: no" >&5
33522 echo "${ECHO_T}no" >&6; }
33523 fi
33524
33525
33526 # Extract the first word of "SetFile", so it can be a program name with args.
33527 set dummy SetFile; ac_word=$2
33528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33530 if test "${ac_cv_prog_SETFILE+set}" = set; then
33531 echo $ECHO_N "(cached) $ECHO_C" >&6
33532 else
33533 if test -n "$SETFILE"; then
33534 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33535 else
33536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33537 for as_dir in $PATH
33538 do
33539 IFS=$as_save_IFS
33540 test -z "$as_dir" && as_dir=.
33541 for ac_exec_ext in '' $ac_executable_extensions; do
33542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33543 ac_cv_prog_SETFILE="SetFile"
33544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33545 break 2
33546 fi
33547 done
33548 done
33549 IFS=$as_save_IFS
33550
33551 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33552 fi
33553 fi
33554 SETFILE=$ac_cv_prog_SETFILE
33555 if test -n "$SETFILE"; then
33556 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33557 echo "${ECHO_T}$SETFILE" >&6; }
33558 else
33559 { echo "$as_me:$LINENO: result: no" >&5
33560 echo "${ECHO_T}no" >&6; }
33561 fi
33562
33563
33564
33565 MACSETFILE="\$(SETFILE)"
33566
33567 if test "$wxUSE_MAC" = 1; then
33568 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33569 RESCOMP="$REZ"
33570 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33571 else
33572 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33573 RESCOMP="echo -n \| $REZ"
33574 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33575 fi
33576
33577 else
33578 MACSETFILE="@true"
33579
33580 if test "$wxUSE_PM" = 1; then
33581 RESCOMP="emxbind"
33582 WXCONFIG_RESFLAGS="-ep"
33583
33584 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33585 else
33586 POSTLINK_COMMAND="@true"
33587 fi
33588
33589 fi
33590
33591
33592
33593 { echo "$as_me:$LINENO: checking for mode_t" >&5
33594 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33595 if test "${ac_cv_type_mode_t+set}" = set; then
33596 echo $ECHO_N "(cached) $ECHO_C" >&6
33597 else
33598 cat >conftest.$ac_ext <<_ACEOF
33599 /* confdefs.h. */
33600 _ACEOF
33601 cat confdefs.h >>conftest.$ac_ext
33602 cat >>conftest.$ac_ext <<_ACEOF
33603 /* end confdefs.h. */
33604 $ac_includes_default
33605 typedef mode_t ac__type_new_;
33606 int
33607 main ()
33608 {
33609 if ((ac__type_new_ *) 0)
33610 return 0;
33611 if (sizeof (ac__type_new_))
33612 return 0;
33613 ;
33614 return 0;
33615 }
33616 _ACEOF
33617 rm -f conftest.$ac_objext
33618 if { (ac_try="$ac_compile"
33619 case "(($ac_try" in
33620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33621 *) ac_try_echo=$ac_try;;
33622 esac
33623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33624 (eval "$ac_compile") 2>conftest.er1
33625 ac_status=$?
33626 grep -v '^ *+' conftest.er1 >conftest.err
33627 rm -f conftest.er1
33628 cat conftest.err >&5
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); } && {
33631 test -z "$ac_c_werror_flag" ||
33632 test ! -s conftest.err
33633 } && test -s conftest.$ac_objext; then
33634 ac_cv_type_mode_t=yes
33635 else
33636 echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.$ac_ext >&5
33638
33639 ac_cv_type_mode_t=no
33640 fi
33641
33642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33643 fi
33644 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33645 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33646 if test $ac_cv_type_mode_t = yes; then
33647 :
33648 else
33649
33650 cat >>confdefs.h <<_ACEOF
33651 #define mode_t int
33652 _ACEOF
33653
33654 fi
33655
33656 { echo "$as_me:$LINENO: checking for off_t" >&5
33657 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33658 if test "${ac_cv_type_off_t+set}" = set; then
33659 echo $ECHO_N "(cached) $ECHO_C" >&6
33660 else
33661 cat >conftest.$ac_ext <<_ACEOF
33662 /* confdefs.h. */
33663 _ACEOF
33664 cat confdefs.h >>conftest.$ac_ext
33665 cat >>conftest.$ac_ext <<_ACEOF
33666 /* end confdefs.h. */
33667 $ac_includes_default
33668 typedef off_t ac__type_new_;
33669 int
33670 main ()
33671 {
33672 if ((ac__type_new_ *) 0)
33673 return 0;
33674 if (sizeof (ac__type_new_))
33675 return 0;
33676 ;
33677 return 0;
33678 }
33679 _ACEOF
33680 rm -f conftest.$ac_objext
33681 if { (ac_try="$ac_compile"
33682 case "(($ac_try" in
33683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33684 *) ac_try_echo=$ac_try;;
33685 esac
33686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33687 (eval "$ac_compile") 2>conftest.er1
33688 ac_status=$?
33689 grep -v '^ *+' conftest.er1 >conftest.err
33690 rm -f conftest.er1
33691 cat conftest.err >&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } && {
33694 test -z "$ac_c_werror_flag" ||
33695 test ! -s conftest.err
33696 } && test -s conftest.$ac_objext; then
33697 ac_cv_type_off_t=yes
33698 else
33699 echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.$ac_ext >&5
33701
33702 ac_cv_type_off_t=no
33703 fi
33704
33705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33706 fi
33707 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33708 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33709 if test $ac_cv_type_off_t = yes; then
33710 :
33711 else
33712
33713 cat >>confdefs.h <<_ACEOF
33714 #define off_t long int
33715 _ACEOF
33716
33717 fi
33718
33719 { echo "$as_me:$LINENO: checking for pid_t" >&5
33720 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33721 if test "${ac_cv_type_pid_t+set}" = set; then
33722 echo $ECHO_N "(cached) $ECHO_C" >&6
33723 else
33724 cat >conftest.$ac_ext <<_ACEOF
33725 /* confdefs.h. */
33726 _ACEOF
33727 cat confdefs.h >>conftest.$ac_ext
33728 cat >>conftest.$ac_ext <<_ACEOF
33729 /* end confdefs.h. */
33730 $ac_includes_default
33731 typedef pid_t ac__type_new_;
33732 int
33733 main ()
33734 {
33735 if ((ac__type_new_ *) 0)
33736 return 0;
33737 if (sizeof (ac__type_new_))
33738 return 0;
33739 ;
33740 return 0;
33741 }
33742 _ACEOF
33743 rm -f conftest.$ac_objext
33744 if { (ac_try="$ac_compile"
33745 case "(($ac_try" in
33746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33747 *) ac_try_echo=$ac_try;;
33748 esac
33749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33750 (eval "$ac_compile") 2>conftest.er1
33751 ac_status=$?
33752 grep -v '^ *+' conftest.er1 >conftest.err
33753 rm -f conftest.er1
33754 cat conftest.err >&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } && {
33757 test -z "$ac_c_werror_flag" ||
33758 test ! -s conftest.err
33759 } && test -s conftest.$ac_objext; then
33760 ac_cv_type_pid_t=yes
33761 else
33762 echo "$as_me: failed program was:" >&5
33763 sed 's/^/| /' conftest.$ac_ext >&5
33764
33765 ac_cv_type_pid_t=no
33766 fi
33767
33768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33769 fi
33770 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33771 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33772 if test $ac_cv_type_pid_t = yes; then
33773 :
33774 else
33775
33776 cat >>confdefs.h <<_ACEOF
33777 #define pid_t int
33778 _ACEOF
33779
33780 fi
33781
33782 { echo "$as_me:$LINENO: checking for size_t" >&5
33783 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33784 if test "${ac_cv_type_size_t+set}" = set; then
33785 echo $ECHO_N "(cached) $ECHO_C" >&6
33786 else
33787 cat >conftest.$ac_ext <<_ACEOF
33788 /* confdefs.h. */
33789 _ACEOF
33790 cat confdefs.h >>conftest.$ac_ext
33791 cat >>conftest.$ac_ext <<_ACEOF
33792 /* end confdefs.h. */
33793 $ac_includes_default
33794 typedef size_t ac__type_new_;
33795 int
33796 main ()
33797 {
33798 if ((ac__type_new_ *) 0)
33799 return 0;
33800 if (sizeof (ac__type_new_))
33801 return 0;
33802 ;
33803 return 0;
33804 }
33805 _ACEOF
33806 rm -f conftest.$ac_objext
33807 if { (ac_try="$ac_compile"
33808 case "(($ac_try" in
33809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33810 *) ac_try_echo=$ac_try;;
33811 esac
33812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33813 (eval "$ac_compile") 2>conftest.er1
33814 ac_status=$?
33815 grep -v '^ *+' conftest.er1 >conftest.err
33816 rm -f conftest.er1
33817 cat conftest.err >&5
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); } && {
33820 test -z "$ac_c_werror_flag" ||
33821 test ! -s conftest.err
33822 } && test -s conftest.$ac_objext; then
33823 ac_cv_type_size_t=yes
33824 else
33825 echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.$ac_ext >&5
33827
33828 ac_cv_type_size_t=no
33829 fi
33830
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832 fi
33833 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33834 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33835 if test $ac_cv_type_size_t = yes; then
33836 :
33837 else
33838
33839 cat >>confdefs.h <<_ACEOF
33840 #define size_t unsigned int
33841 _ACEOF
33842
33843 fi
33844
33845 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33846 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33847 if test "${ac_cv_type_uid_t+set}" = set; then
33848 echo $ECHO_N "(cached) $ECHO_C" >&6
33849 else
33850 cat >conftest.$ac_ext <<_ACEOF
33851 /* confdefs.h. */
33852 _ACEOF
33853 cat confdefs.h >>conftest.$ac_ext
33854 cat >>conftest.$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33856 #include <sys/types.h>
33857
33858 _ACEOF
33859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33860 $EGREP "uid_t" >/dev/null 2>&1; then
33861 ac_cv_type_uid_t=yes
33862 else
33863 ac_cv_type_uid_t=no
33864 fi
33865 rm -f conftest*
33866
33867 fi
33868 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33869 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33870 if test $ac_cv_type_uid_t = no; then
33871
33872 cat >>confdefs.h <<\_ACEOF
33873 #define uid_t int
33874 _ACEOF
33875
33876
33877 cat >>confdefs.h <<\_ACEOF
33878 #define gid_t int
33879 _ACEOF
33880
33881 fi
33882
33883
33884 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33885 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33886 if test "${ac_cv_type_ssize_t+set}" = set; then
33887 echo $ECHO_N "(cached) $ECHO_C" >&6
33888 else
33889 cat >conftest.$ac_ext <<_ACEOF
33890 /* confdefs.h. */
33891 _ACEOF
33892 cat confdefs.h >>conftest.$ac_ext
33893 cat >>conftest.$ac_ext <<_ACEOF
33894 /* end confdefs.h. */
33895 $ac_includes_default
33896 typedef ssize_t ac__type_new_;
33897 int
33898 main ()
33899 {
33900 if ((ac__type_new_ *) 0)
33901 return 0;
33902 if (sizeof (ac__type_new_))
33903 return 0;
33904 ;
33905 return 0;
33906 }
33907 _ACEOF
33908 rm -f conftest.$ac_objext
33909 if { (ac_try="$ac_compile"
33910 case "(($ac_try" in
33911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33912 *) ac_try_echo=$ac_try;;
33913 esac
33914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33915 (eval "$ac_compile") 2>conftest.er1
33916 ac_status=$?
33917 grep -v '^ *+' conftest.er1 >conftest.err
33918 rm -f conftest.er1
33919 cat conftest.err >&5
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); } && {
33922 test -z "$ac_c_werror_flag" ||
33923 test ! -s conftest.err
33924 } && test -s conftest.$ac_objext; then
33925 ac_cv_type_ssize_t=yes
33926 else
33927 echo "$as_me: failed program was:" >&5
33928 sed 's/^/| /' conftest.$ac_ext >&5
33929
33930 ac_cv_type_ssize_t=no
33931 fi
33932
33933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33934 fi
33935 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33936 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33937 if test $ac_cv_type_ssize_t = yes; then
33938
33939 cat >>confdefs.h <<_ACEOF
33940 #define HAVE_SSIZE_T 1
33941 _ACEOF
33942
33943
33944 fi
33945
33946
33947 ac_ext=cpp
33948 ac_cpp='$CXXCPP $CPPFLAGS'
33949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33952 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33953 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33954 if test "${wx_cv_size_t_is_uint+set}" = set; then
33955 echo $ECHO_N "(cached) $ECHO_C" >&6
33956 else
33957
33958 cat >conftest.$ac_ext <<_ACEOF
33959 /* confdefs.h. */
33960 _ACEOF
33961 cat confdefs.h >>conftest.$ac_ext
33962 cat >>conftest.$ac_ext <<_ACEOF
33963 /* end confdefs.h. */
33964 #include <stddef.h>
33965 int
33966 main ()
33967 {
33968
33969 return 0; }
33970
33971 struct Foo { void foo(size_t); void foo(unsigned int); };
33972
33973 int bar() {
33974
33975 ;
33976 return 0;
33977 }
33978 _ACEOF
33979 rm -f conftest.$ac_objext
33980 if { (ac_try="$ac_compile"
33981 case "(($ac_try" in
33982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33983 *) ac_try_echo=$ac_try;;
33984 esac
33985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33986 (eval "$ac_compile") 2>conftest.er1
33987 ac_status=$?
33988 grep -v '^ *+' conftest.er1 >conftest.err
33989 rm -f conftest.er1
33990 cat conftest.err >&5
33991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992 (exit $ac_status); } && {
33993 test -z "$ac_cxx_werror_flag" ||
33994 test ! -s conftest.err
33995 } && test -s conftest.$ac_objext; then
33996 wx_cv_size_t_is_uint=no
33997 else
33998 echo "$as_me: failed program was:" >&5
33999 sed 's/^/| /' conftest.$ac_ext >&5
34000
34001 wx_cv_size_t_is_uint=yes
34002
34003 fi
34004
34005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34006
34007
34008 fi
34009 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34010 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34011
34012 if test "$wx_cv_size_t_is_uint" = "yes"; then
34013 cat >>confdefs.h <<\_ACEOF
34014 #define wxSIZE_T_IS_UINT 1
34015 _ACEOF
34016
34017 else
34018 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34019 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34020 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34021 echo $ECHO_N "(cached) $ECHO_C" >&6
34022 else
34023 cat >conftest.$ac_ext <<_ACEOF
34024 /* confdefs.h. */
34025 _ACEOF
34026 cat confdefs.h >>conftest.$ac_ext
34027 cat >>conftest.$ac_ext <<_ACEOF
34028 /* end confdefs.h. */
34029 #include <stddef.h>
34030 int
34031 main ()
34032 {
34033
34034 return 0; }
34035
34036 struct Foo { void foo(size_t); void foo(unsigned long); };
34037
34038 int bar() {
34039
34040 ;
34041 return 0;
34042 }
34043 _ACEOF
34044 rm -f conftest.$ac_objext
34045 if { (ac_try="$ac_compile"
34046 case "(($ac_try" in
34047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34048 *) ac_try_echo=$ac_try;;
34049 esac
34050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34051 (eval "$ac_compile") 2>conftest.er1
34052 ac_status=$?
34053 grep -v '^ *+' conftest.er1 >conftest.err
34054 rm -f conftest.er1
34055 cat conftest.err >&5
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); } && {
34058 test -z "$ac_cxx_werror_flag" ||
34059 test ! -s conftest.err
34060 } && test -s conftest.$ac_objext; then
34061 wx_cv_size_t_is_ulong=no
34062 else
34063 echo "$as_me: failed program was:" >&5
34064 sed 's/^/| /' conftest.$ac_ext >&5
34065
34066 wx_cv_size_t_is_ulong=yes
34067
34068 fi
34069
34070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34071
34072 fi
34073 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34074 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34075
34076 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34077 cat >>confdefs.h <<\_ACEOF
34078 #define wxSIZE_T_IS_ULONG 1
34079 _ACEOF
34080
34081 fi
34082 fi
34083
34084 ac_ext=c
34085 ac_cpp='$CPP $CPPFLAGS'
34086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34089
34090
34091 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34092 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34093 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34094 echo $ECHO_N "(cached) $ECHO_C" >&6
34095 else
34096
34097 cat >conftest.$ac_ext <<_ACEOF
34098 /* confdefs.h. */
34099 _ACEOF
34100 cat confdefs.h >>conftest.$ac_ext
34101 cat >>conftest.$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34103 #include <pwd.h>
34104 int
34105 main ()
34106 {
34107
34108 char *p;
34109 struct passwd *pw;
34110 p = pw->pw_gecos;
34111
34112 ;
34113 return 0;
34114 }
34115 _ACEOF
34116 rm -f conftest.$ac_objext
34117 if { (ac_try="$ac_compile"
34118 case "(($ac_try" in
34119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34120 *) ac_try_echo=$ac_try;;
34121 esac
34122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34123 (eval "$ac_compile") 2>conftest.er1
34124 ac_status=$?
34125 grep -v '^ *+' conftest.er1 >conftest.err
34126 rm -f conftest.er1
34127 cat conftest.err >&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } && {
34130 test -z "$ac_c_werror_flag" ||
34131 test ! -s conftest.err
34132 } && test -s conftest.$ac_objext; then
34133
34134 wx_cv_struct_pw_gecos=yes
34135
34136 else
34137 echo "$as_me: failed program was:" >&5
34138 sed 's/^/| /' conftest.$ac_ext >&5
34139
34140
34141 wx_cv_struct_pw_gecos=no
34142
34143
34144 fi
34145
34146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34147
34148
34149 fi
34150 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34151 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34152
34153 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34154 cat >>confdefs.h <<\_ACEOF
34155 #define HAVE_PW_GECOS 1
34156 _ACEOF
34157
34158 fi
34159
34160
34161 if test "$wxUSE_WCHAR_T" = "yes"; then
34162 cat >>confdefs.h <<\_ACEOF
34163 #define wxUSE_WCHAR_T 1
34164 _ACEOF
34165
34166
34167 WCSLEN_FOUND=0
34168 WCHAR_LINK=
34169
34170 for ac_func in wcslen
34171 do
34172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34176 echo $ECHO_N "(cached) $ECHO_C" >&6
34177 else
34178 cat >conftest.$ac_ext <<_ACEOF
34179 /* confdefs.h. */
34180 _ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34186 #define $ac_func innocuous_$ac_func
34187
34188 /* System header to define __stub macros and hopefully few prototypes,
34189 which can conflict with char $ac_func (); below.
34190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34191 <limits.h> exists even on freestanding compilers. */
34192
34193 #ifdef __STDC__
34194 # include <limits.h>
34195 #else
34196 # include <assert.h>
34197 #endif
34198
34199 #undef $ac_func
34200
34201 /* Override any GCC internal prototype to avoid an error.
34202 Use char because int might match the return type of a GCC
34203 builtin and then its argument prototype would still apply. */
34204 #ifdef __cplusplus
34205 extern "C"
34206 #endif
34207 char $ac_func ();
34208 /* The GNU C library defines this for functions which it implements
34209 to always fail with ENOSYS. Some functions are actually named
34210 something starting with __ and the normal name is an alias. */
34211 #if defined __stub_$ac_func || defined __stub___$ac_func
34212 choke me
34213 #endif
34214
34215 int
34216 main ()
34217 {
34218 return $ac_func ();
34219 ;
34220 return 0;
34221 }
34222 _ACEOF
34223 rm -f conftest.$ac_objext conftest$ac_exeext
34224 if { (ac_try="$ac_link"
34225 case "(($ac_try" in
34226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34227 *) ac_try_echo=$ac_try;;
34228 esac
34229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34230 (eval "$ac_link") 2>conftest.er1
34231 ac_status=$?
34232 grep -v '^ *+' conftest.er1 >conftest.err
34233 rm -f conftest.er1
34234 cat conftest.err >&5
34235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34236 (exit $ac_status); } && {
34237 test -z "$ac_c_werror_flag" ||
34238 test ! -s conftest.err
34239 } && test -s conftest$ac_exeext &&
34240 $as_test_x conftest$ac_exeext; then
34241 eval "$as_ac_var=yes"
34242 else
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.$ac_ext >&5
34245
34246 eval "$as_ac_var=no"
34247 fi
34248
34249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34250 conftest$ac_exeext conftest.$ac_ext
34251 fi
34252 ac_res=`eval echo '${'$as_ac_var'}'`
34253 { echo "$as_me:$LINENO: result: $ac_res" >&5
34254 echo "${ECHO_T}$ac_res" >&6; }
34255 if test `eval echo '${'$as_ac_var'}'` = yes; then
34256 cat >>confdefs.h <<_ACEOF
34257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34258 _ACEOF
34259 WCSLEN_FOUND=1
34260 fi
34261 done
34262
34263
34264 if test "$WCSLEN_FOUND" = 0; then
34265 if test "$TOOLKIT" = "MSW"; then
34266 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34267 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34268 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34269 echo $ECHO_N "(cached) $ECHO_C" >&6
34270 else
34271 ac_check_lib_save_LIBS=$LIBS
34272 LIBS="-lmsvcrt $LIBS"
34273 cat >conftest.$ac_ext <<_ACEOF
34274 /* confdefs.h. */
34275 _ACEOF
34276 cat confdefs.h >>conftest.$ac_ext
34277 cat >>conftest.$ac_ext <<_ACEOF
34278 /* end confdefs.h. */
34279
34280 /* Override any GCC internal prototype to avoid an error.
34281 Use char because int might match the return type of a GCC
34282 builtin and then its argument prototype would still apply. */
34283 #ifdef __cplusplus
34284 extern "C"
34285 #endif
34286 char wcslen ();
34287 int
34288 main ()
34289 {
34290 return wcslen ();
34291 ;
34292 return 0;
34293 }
34294 _ACEOF
34295 rm -f conftest.$ac_objext conftest$ac_exeext
34296 if { (ac_try="$ac_link"
34297 case "(($ac_try" in
34298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34299 *) ac_try_echo=$ac_try;;
34300 esac
34301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34302 (eval "$ac_link") 2>conftest.er1
34303 ac_status=$?
34304 grep -v '^ *+' conftest.er1 >conftest.err
34305 rm -f conftest.er1
34306 cat conftest.err >&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } && {
34309 test -z "$ac_c_werror_flag" ||
34310 test ! -s conftest.err
34311 } && test -s conftest$ac_exeext &&
34312 $as_test_x conftest$ac_exeext; then
34313 ac_cv_lib_msvcrt_wcslen=yes
34314 else
34315 echo "$as_me: failed program was:" >&5
34316 sed 's/^/| /' conftest.$ac_ext >&5
34317
34318 ac_cv_lib_msvcrt_wcslen=no
34319 fi
34320
34321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34322 conftest$ac_exeext conftest.$ac_ext
34323 LIBS=$ac_check_lib_save_LIBS
34324 fi
34325 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34326 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34327 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34328 WCHAR_OK=1
34329 fi
34330
34331 else
34332 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34333 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34334 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34335 echo $ECHO_N "(cached) $ECHO_C" >&6
34336 else
34337 ac_check_lib_save_LIBS=$LIBS
34338 LIBS="-lw $LIBS"
34339 cat >conftest.$ac_ext <<_ACEOF
34340 /* confdefs.h. */
34341 _ACEOF
34342 cat confdefs.h >>conftest.$ac_ext
34343 cat >>conftest.$ac_ext <<_ACEOF
34344 /* end confdefs.h. */
34345
34346 /* Override any GCC internal prototype to avoid an error.
34347 Use char because int might match the return type of a GCC
34348 builtin and then its argument prototype would still apply. */
34349 #ifdef __cplusplus
34350 extern "C"
34351 #endif
34352 char wcslen ();
34353 int
34354 main ()
34355 {
34356 return wcslen ();
34357 ;
34358 return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext conftest$ac_exeext
34362 if { (ac_try="$ac_link"
34363 case "(($ac_try" in
34364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34365 *) ac_try_echo=$ac_try;;
34366 esac
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_link") 2>conftest.er1
34369 ac_status=$?
34370 grep -v '^ *+' conftest.er1 >conftest.err
34371 rm -f conftest.er1
34372 cat conftest.err >&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest$ac_exeext &&
34378 $as_test_x conftest$ac_exeext; then
34379 ac_cv_lib_w_wcslen=yes
34380 else
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.$ac_ext >&5
34383
34384 ac_cv_lib_w_wcslen=no
34385 fi
34386
34387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34388 conftest$ac_exeext conftest.$ac_ext
34389 LIBS=$ac_check_lib_save_LIBS
34390 fi
34391 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34392 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34393 if test $ac_cv_lib_w_wcslen = yes; then
34394
34395 WCHAR_LINK=" -lw"
34396 WCSLEN_FOUND=1
34397
34398 fi
34399
34400 fi
34401 fi
34402
34403 if test "$WCSLEN_FOUND" = 1; then
34404 cat >>confdefs.h <<\_ACEOF
34405 #define HAVE_WCSLEN 1
34406 _ACEOF
34407
34408 fi
34409
34410 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34411 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34412 fi
34413
34414 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34415 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34416 if test "${ac_cv_type_mbstate_t+set}" = set; then
34417 echo $ECHO_N "(cached) $ECHO_C" >&6
34418 else
34419 cat >conftest.$ac_ext <<_ACEOF
34420 /* confdefs.h. */
34421 _ACEOF
34422 cat confdefs.h >>conftest.$ac_ext
34423 cat >>conftest.$ac_ext <<_ACEOF
34424 /* end confdefs.h. */
34425 #include <wchar.h>
34426
34427 typedef mbstate_t ac__type_new_;
34428 int
34429 main ()
34430 {
34431 if ((ac__type_new_ *) 0)
34432 return 0;
34433 if (sizeof (ac__type_new_))
34434 return 0;
34435 ;
34436 return 0;
34437 }
34438 _ACEOF
34439 rm -f conftest.$ac_objext
34440 if { (ac_try="$ac_compile"
34441 case "(($ac_try" in
34442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34443 *) ac_try_echo=$ac_try;;
34444 esac
34445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34446 (eval "$ac_compile") 2>conftest.er1
34447 ac_status=$?
34448 grep -v '^ *+' conftest.er1 >conftest.err
34449 rm -f conftest.er1
34450 cat conftest.err >&5
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); } && {
34453 test -z "$ac_c_werror_flag" ||
34454 test ! -s conftest.err
34455 } && test -s conftest.$ac_objext; then
34456 ac_cv_type_mbstate_t=yes
34457 else
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.$ac_ext >&5
34460
34461 ac_cv_type_mbstate_t=no
34462 fi
34463
34464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34465 fi
34466 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34467 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34468 if test $ac_cv_type_mbstate_t = yes; then
34469
34470 cat >>confdefs.h <<_ACEOF
34471 #define HAVE_MBSTATE_T 1
34472 _ACEOF
34473
34474
34475 for ac_func in wcsrtombs
34476 do
34477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34481 echo $ECHO_N "(cached) $ECHO_C" >&6
34482 else
34483 cat >conftest.$ac_ext <<_ACEOF
34484 /* confdefs.h. */
34485 _ACEOF
34486 cat confdefs.h >>conftest.$ac_ext
34487 cat >>conftest.$ac_ext <<_ACEOF
34488 /* end confdefs.h. */
34489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34491 #define $ac_func innocuous_$ac_func
34492
34493 /* System header to define __stub macros and hopefully few prototypes,
34494 which can conflict with char $ac_func (); below.
34495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34496 <limits.h> exists even on freestanding compilers. */
34497
34498 #ifdef __STDC__
34499 # include <limits.h>
34500 #else
34501 # include <assert.h>
34502 #endif
34503
34504 #undef $ac_func
34505
34506 /* Override any GCC internal prototype to avoid an error.
34507 Use char because int might match the return type of a GCC
34508 builtin and then its argument prototype would still apply. */
34509 #ifdef __cplusplus
34510 extern "C"
34511 #endif
34512 char $ac_func ();
34513 /* The GNU C library defines this for functions which it implements
34514 to always fail with ENOSYS. Some functions are actually named
34515 something starting with __ and the normal name is an alias. */
34516 #if defined __stub_$ac_func || defined __stub___$ac_func
34517 choke me
34518 #endif
34519
34520 int
34521 main ()
34522 {
34523 return $ac_func ();
34524 ;
34525 return 0;
34526 }
34527 _ACEOF
34528 rm -f conftest.$ac_objext conftest$ac_exeext
34529 if { (ac_try="$ac_link"
34530 case "(($ac_try" in
34531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34532 *) ac_try_echo=$ac_try;;
34533 esac
34534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34535 (eval "$ac_link") 2>conftest.er1
34536 ac_status=$?
34537 grep -v '^ *+' conftest.er1 >conftest.err
34538 rm -f conftest.er1
34539 cat conftest.err >&5
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); } && {
34542 test -z "$ac_c_werror_flag" ||
34543 test ! -s conftest.err
34544 } && test -s conftest$ac_exeext &&
34545 $as_test_x conftest$ac_exeext; then
34546 eval "$as_ac_var=yes"
34547 else
34548 echo "$as_me: failed program was:" >&5
34549 sed 's/^/| /' conftest.$ac_ext >&5
34550
34551 eval "$as_ac_var=no"
34552 fi
34553
34554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34555 conftest$ac_exeext conftest.$ac_ext
34556 fi
34557 ac_res=`eval echo '${'$as_ac_var'}'`
34558 { echo "$as_me:$LINENO: result: $ac_res" >&5
34559 echo "${ECHO_T}$ac_res" >&6; }
34560 if test `eval echo '${'$as_ac_var'}'` = yes; then
34561 cat >>confdefs.h <<_ACEOF
34562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34563 _ACEOF
34564
34565 fi
34566 done
34567
34568 fi
34569
34570 else
34571 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34572 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34573 fi
34574
34575
34576
34577 for ac_func in snprintf vsnprintf
34578 do
34579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34583 echo $ECHO_N "(cached) $ECHO_C" >&6
34584 else
34585 cat >conftest.$ac_ext <<_ACEOF
34586 /* confdefs.h. */
34587 _ACEOF
34588 cat confdefs.h >>conftest.$ac_ext
34589 cat >>conftest.$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34593 #define $ac_func innocuous_$ac_func
34594
34595 /* System header to define __stub macros and hopefully few prototypes,
34596 which can conflict with char $ac_func (); below.
34597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34598 <limits.h> exists even on freestanding compilers. */
34599
34600 #ifdef __STDC__
34601 # include <limits.h>
34602 #else
34603 # include <assert.h>
34604 #endif
34605
34606 #undef $ac_func
34607
34608 /* Override any GCC internal prototype to avoid an error.
34609 Use char because int might match the return type of a GCC
34610 builtin and then its argument prototype would still apply. */
34611 #ifdef __cplusplus
34612 extern "C"
34613 #endif
34614 char $ac_func ();
34615 /* The GNU C library defines this for functions which it implements
34616 to always fail with ENOSYS. Some functions are actually named
34617 something starting with __ and the normal name is an alias. */
34618 #if defined __stub_$ac_func || defined __stub___$ac_func
34619 choke me
34620 #endif
34621
34622 int
34623 main ()
34624 {
34625 return $ac_func ();
34626 ;
34627 return 0;
34628 }
34629 _ACEOF
34630 rm -f conftest.$ac_objext conftest$ac_exeext
34631 if { (ac_try="$ac_link"
34632 case "(($ac_try" in
34633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34634 *) ac_try_echo=$ac_try;;
34635 esac
34636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34637 (eval "$ac_link") 2>conftest.er1
34638 ac_status=$?
34639 grep -v '^ *+' conftest.er1 >conftest.err
34640 rm -f conftest.er1
34641 cat conftest.err >&5
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); } && {
34644 test -z "$ac_c_werror_flag" ||
34645 test ! -s conftest.err
34646 } && test -s conftest$ac_exeext &&
34647 $as_test_x conftest$ac_exeext; then
34648 eval "$as_ac_var=yes"
34649 else
34650 echo "$as_me: failed program was:" >&5
34651 sed 's/^/| /' conftest.$ac_ext >&5
34652
34653 eval "$as_ac_var=no"
34654 fi
34655
34656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34657 conftest$ac_exeext conftest.$ac_ext
34658 fi
34659 ac_res=`eval echo '${'$as_ac_var'}'`
34660 { echo "$as_me:$LINENO: result: $ac_res" >&5
34661 echo "${ECHO_T}$ac_res" >&6; }
34662 if test `eval echo '${'$as_ac_var'}'` = yes; then
34663 cat >>confdefs.h <<_ACEOF
34664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34665 _ACEOF
34666
34667 fi
34668 done
34669
34670
34671 if test "$ac_cv_func_vsnprintf" = "yes"; then
34672 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34673 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34674 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34675 echo $ECHO_N "(cached) $ECHO_C" >&6
34676 else
34677
34678 cat >conftest.$ac_ext <<_ACEOF
34679 /* confdefs.h. */
34680 _ACEOF
34681 cat confdefs.h >>conftest.$ac_ext
34682 cat >>conftest.$ac_ext <<_ACEOF
34683 /* end confdefs.h. */
34684
34685 #include <stdio.h>
34686 #include <stdarg.h>
34687 #ifdef __MSL__
34688 #if __MSL__ >= 0x6000
34689 namespace std {}
34690 using namespace std;
34691 #endif
34692 #endif
34693
34694 int
34695 main ()
34696 {
34697
34698 char *buf;
34699 va_list ap;
34700 vsnprintf(buf, 10u, "%s", ap);
34701
34702 ;
34703 return 0;
34704 }
34705 _ACEOF
34706 rm -f conftest.$ac_objext
34707 if { (ac_try="$ac_compile"
34708 case "(($ac_try" in
34709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34710 *) ac_try_echo=$ac_try;;
34711 esac
34712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34713 (eval "$ac_compile") 2>conftest.er1
34714 ac_status=$?
34715 grep -v '^ *+' conftest.er1 >conftest.err
34716 rm -f conftest.er1
34717 cat conftest.err >&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } && {
34720 test -z "$ac_c_werror_flag" ||
34721 test ! -s conftest.err
34722 } && test -s conftest.$ac_objext; then
34723 wx_cv_func_vsnprintf_decl=yes
34724 else
34725 echo "$as_me: failed program was:" >&5
34726 sed 's/^/| /' conftest.$ac_ext >&5
34727
34728 wx_cv_func_vsnprintf_decl=no
34729
34730 fi
34731
34732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34733
34734
34735 fi
34736 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34737 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34738
34739 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34740 cat >>confdefs.h <<\_ACEOF
34741 #define HAVE_VSNPRINTF_DECL 1
34742 _ACEOF
34743
34744
34745 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34746 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34747 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34748 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 else
34750
34751 cat >conftest.$ac_ext <<_ACEOF
34752 /* confdefs.h. */
34753 _ACEOF
34754 cat confdefs.h >>conftest.$ac_ext
34755 cat >>conftest.$ac_ext <<_ACEOF
34756 /* end confdefs.h. */
34757
34758 #include <stdio.h>
34759 #include <stdarg.h>
34760 #ifdef __MSL__
34761 #if __MSL__ >= 0x6000
34762 namespace std {}
34763 using namespace std;
34764 #endif
34765 #endif
34766
34767 int
34768 main ()
34769 {
34770
34771 char *buf;
34772 va_list ap;
34773 const char *fmt = "%s";
34774 vsnprintf(buf, 10u, fmt, ap);
34775
34776 ;
34777 return 0;
34778 }
34779 _ACEOF
34780 rm -f conftest.$ac_objext
34781 if { (ac_try="$ac_compile"
34782 case "(($ac_try" in
34783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34784 *) ac_try_echo=$ac_try;;
34785 esac
34786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34787 (eval "$ac_compile") 2>conftest.er1
34788 ac_status=$?
34789 grep -v '^ *+' conftest.er1 >conftest.err
34790 rm -f conftest.er1
34791 cat conftest.err >&5
34792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34793 (exit $ac_status); } && {
34794 test -z "$ac_c_werror_flag" ||
34795 test ! -s conftest.err
34796 } && test -s conftest.$ac_objext; then
34797 wx_cv_func_broken_vsnprintf_decl=no
34798 else
34799 echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.$ac_ext >&5
34801
34802 wx_cv_func_broken_vsnprintf_decl=yes
34803
34804 fi
34805
34806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34807
34808
34809 fi
34810 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34811 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34812
34813 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34814 cat >>confdefs.h <<\_ACEOF
34815 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34816 _ACEOF
34817
34818 fi
34819 fi
34820 fi
34821
34822 if test "$ac_cv_func_snprintf" = "yes"; then
34823 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34824 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34825 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34826 echo $ECHO_N "(cached) $ECHO_C" >&6
34827 else
34828
34829 cat >conftest.$ac_ext <<_ACEOF
34830 /* confdefs.h. */
34831 _ACEOF
34832 cat confdefs.h >>conftest.$ac_ext
34833 cat >>conftest.$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34835
34836 #include <stdio.h>
34837 #include <stdarg.h>
34838 #ifdef __MSL__
34839 #if __MSL__ >= 0x6000
34840 namespace std {}
34841 using namespace std;
34842 #endif
34843 #endif
34844
34845 int
34846 main ()
34847 {
34848
34849 char *buf;
34850 snprintf(buf, 10u, "%s", "wx");
34851
34852 ;
34853 return 0;
34854 }
34855 _ACEOF
34856 rm -f conftest.$ac_objext
34857 if { (ac_try="$ac_compile"
34858 case "(($ac_try" in
34859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34860 *) ac_try_echo=$ac_try;;
34861 esac
34862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34863 (eval "$ac_compile") 2>conftest.er1
34864 ac_status=$?
34865 grep -v '^ *+' conftest.er1 >conftest.err
34866 rm -f conftest.er1
34867 cat conftest.err >&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } && {
34870 test -z "$ac_c_werror_flag" ||
34871 test ! -s conftest.err
34872 } && test -s conftest.$ac_objext; then
34873 wx_cv_func_snprintf_decl=yes
34874 else
34875 echo "$as_me: failed program was:" >&5
34876 sed 's/^/| /' conftest.$ac_ext >&5
34877
34878 wx_cv_func_snprintf_decl=no
34879
34880 fi
34881
34882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34883
34884
34885 fi
34886 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34887 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34888
34889 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34890 cat >>confdefs.h <<\_ACEOF
34891 #define HAVE_SNPRINTF_DECL 1
34892 _ACEOF
34893
34894
34895 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34896 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34897 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34898 echo $ECHO_N "(cached) $ECHO_C" >&6
34899 else
34900
34901 cat >conftest.$ac_ext <<_ACEOF
34902 /* confdefs.h. */
34903 _ACEOF
34904 cat confdefs.h >>conftest.$ac_ext
34905 cat >>conftest.$ac_ext <<_ACEOF
34906 /* end confdefs.h. */
34907
34908 #include <stdio.h>
34909 #include <stdarg.h>
34910 #ifdef __MSL__
34911 #if __MSL__ >= 0x6000
34912 namespace std {}
34913 using namespace std;
34914 #endif
34915 #endif
34916
34917 int
34918 main ()
34919 {
34920
34921 char *buf;
34922 const char *fmt = "%s";
34923 snprintf(buf, 10u, fmt, "wx");
34924
34925 ;
34926 return 0;
34927 }
34928 _ACEOF
34929 rm -f conftest.$ac_objext
34930 if { (ac_try="$ac_compile"
34931 case "(($ac_try" in
34932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34933 *) ac_try_echo=$ac_try;;
34934 esac
34935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34936 (eval "$ac_compile") 2>conftest.er1
34937 ac_status=$?
34938 grep -v '^ *+' conftest.er1 >conftest.err
34939 rm -f conftest.er1
34940 cat conftest.err >&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); } && {
34943 test -z "$ac_c_werror_flag" ||
34944 test ! -s conftest.err
34945 } && test -s conftest.$ac_objext; then
34946 wx_cv_func_broken_snprintf_decl=no
34947 else
34948 echo "$as_me: failed program was:" >&5
34949 sed 's/^/| /' conftest.$ac_ext >&5
34950
34951 wx_cv_func_broken_snprintf_decl=yes
34952
34953 fi
34954
34955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34956
34957
34958 fi
34959 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34960 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34961
34962 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34963 cat >>confdefs.h <<\_ACEOF
34964 #define HAVE_BROKEN_SNPRINTF_DECL 1
34965 _ACEOF
34966
34967 fi
34968 fi
34969
34970 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34971
34972 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34973 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34974 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34975 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 else
34977
34978 if test "$cross_compiling" = yes; then
34979
34980 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34981 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34982 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34983 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34984 wx_cv_func_snprintf_pos_params=no
34985
34986
34987 else
34988 cat >conftest.$ac_ext <<_ACEOF
34989 /* confdefs.h. */
34990 _ACEOF
34991 cat confdefs.h >>conftest.$ac_ext
34992 cat >>conftest.$ac_ext <<_ACEOF
34993 /* end confdefs.h. */
34994
34995 #include <stdio.h>
34996
34997 int main (void)
34998 {
34999 char buffer[128];
35000 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35001 if (strcmp ("2 3 1", buffer) == 0)
35002 exit (0);
35003 exit (1);
35004 }
35005
35006 _ACEOF
35007 rm -f conftest$ac_exeext
35008 if { (ac_try="$ac_link"
35009 case "(($ac_try" in
35010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35011 *) ac_try_echo=$ac_try;;
35012 esac
35013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35014 (eval "$ac_link") 2>&5
35015 ac_status=$?
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35018 { (case "(($ac_try" in
35019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35020 *) ac_try_echo=$ac_try;;
35021 esac
35022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35023 (eval "$ac_try") 2>&5
35024 ac_status=$?
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); }; }; then
35027 wx_cv_func_snprintf_pos_params=no
35028 else
35029 echo "$as_me: program exited with status $ac_status" >&5
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.$ac_ext >&5
35032
35033 ( exit $ac_status )
35034 wx_cv_func_snprintf_pos_params=yes
35035 fi
35036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35037 fi
35038
35039
35040
35041
35042 fi
35043 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35044 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35045
35046 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35047 cat >>confdefs.h <<\_ACEOF
35048 #define HAVE_UNIX98_PRINTF 1
35049 _ACEOF
35050
35051 fi
35052 fi
35053 fi
35054
35055 if test "$wxUSE_UNICODE" = yes; then
35056
35057
35058 for ac_func in swprintf
35059 do
35060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35063 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35064 echo $ECHO_N "(cached) $ECHO_C" >&6
35065 else
35066 cat >conftest.$ac_ext <<_ACEOF
35067 /* confdefs.h. */
35068 _ACEOF
35069 cat confdefs.h >>conftest.$ac_ext
35070 cat >>conftest.$ac_ext <<_ACEOF
35071 /* end confdefs.h. */
35072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35074 #define $ac_func innocuous_$ac_func
35075
35076 /* System header to define __stub macros and hopefully few prototypes,
35077 which can conflict with char $ac_func (); below.
35078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35079 <limits.h> exists even on freestanding compilers. */
35080
35081 #ifdef __STDC__
35082 # include <limits.h>
35083 #else
35084 # include <assert.h>
35085 #endif
35086
35087 #undef $ac_func
35088
35089 /* Override any GCC internal prototype to avoid an error.
35090 Use char because int might match the return type of a GCC
35091 builtin and then its argument prototype would still apply. */
35092 #ifdef __cplusplus
35093 extern "C"
35094 #endif
35095 char $ac_func ();
35096 /* The GNU C library defines this for functions which it implements
35097 to always fail with ENOSYS. Some functions are actually named
35098 something starting with __ and the normal name is an alias. */
35099 #if defined __stub_$ac_func || defined __stub___$ac_func
35100 choke me
35101 #endif
35102
35103 int
35104 main ()
35105 {
35106 return $ac_func ();
35107 ;
35108 return 0;
35109 }
35110 _ACEOF
35111 rm -f conftest.$ac_objext conftest$ac_exeext
35112 if { (ac_try="$ac_link"
35113 case "(($ac_try" in
35114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35115 *) ac_try_echo=$ac_try;;
35116 esac
35117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35118 (eval "$ac_link") 2>conftest.er1
35119 ac_status=$?
35120 grep -v '^ *+' conftest.er1 >conftest.err
35121 rm -f conftest.er1
35122 cat conftest.err >&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); } && {
35125 test -z "$ac_c_werror_flag" ||
35126 test ! -s conftest.err
35127 } && test -s conftest$ac_exeext &&
35128 $as_test_x conftest$ac_exeext; then
35129 eval "$as_ac_var=yes"
35130 else
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.$ac_ext >&5
35133
35134 eval "$as_ac_var=no"
35135 fi
35136
35137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35138 conftest$ac_exeext conftest.$ac_ext
35139 fi
35140 ac_res=`eval echo '${'$as_ac_var'}'`
35141 { echo "$as_me:$LINENO: result: $ac_res" >&5
35142 echo "${ECHO_T}$ac_res" >&6; }
35143 if test `eval echo '${'$as_ac_var'}'` = yes; then
35144 cat >>confdefs.h <<_ACEOF
35145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35146 _ACEOF
35147
35148 fi
35149 done
35150
35151
35152 if test "$ac_cv_func_swprintf" = "yes"; then
35153 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35154 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
35155 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35156 echo $ECHO_N "(cached) $ECHO_C" >&6
35157 else
35158
35159 cat >conftest.$ac_ext <<_ACEOF
35160 /* confdefs.h. */
35161 _ACEOF
35162 cat confdefs.h >>conftest.$ac_ext
35163 cat >>conftest.$ac_ext <<_ACEOF
35164 /* end confdefs.h. */
35165
35166 #include <stdio.h>
35167 #include <stdarg.h>
35168 #include <wchar.h>
35169
35170 int
35171 main ()
35172 {
35173
35174 wchar_t *buf;
35175 const wchar_t *fmt = L"test";
35176 swprintf(buf, 10u, fmt);
35177
35178 ;
35179 return 0;
35180 }
35181 _ACEOF
35182 rm -f conftest.$ac_objext
35183 if { (ac_try="$ac_compile"
35184 case "(($ac_try" in
35185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35186 *) ac_try_echo=$ac_try;;
35187 esac
35188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35189 (eval "$ac_compile") 2>conftest.er1
35190 ac_status=$?
35191 grep -v '^ *+' conftest.er1 >conftest.err
35192 rm -f conftest.er1
35193 cat conftest.err >&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } && {
35196 test -z "$ac_c_werror_flag" ||
35197 test ! -s conftest.err
35198 } && test -s conftest.$ac_objext; then
35199 wx_cv_func_broken_swprintf_decl=no
35200 else
35201 echo "$as_me: failed program was:" >&5
35202 sed 's/^/| /' conftest.$ac_ext >&5
35203
35204 wx_cv_func_broken_swprintf_decl=yes
35205
35206 fi
35207
35208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35209
35210
35211 fi
35212 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35213 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
35214
35215 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35216 cat >>confdefs.h <<\_ACEOF
35217 #define HAVE_BROKEN_SWPRINTF_DECL 1
35218 _ACEOF
35219
35220 fi
35221 fi
35222
35223 wchar_headers="#include <stdio.h>
35224 #include <wchar.h>"
35225 case "${host}" in
35226 *-*-solaris2* )
35227 { echo "$as_me:$LINENO: checking for widec.h" >&5
35228 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
35229 if test "${ac_cv_header_widec_h+set}" = set; then
35230 echo $ECHO_N "(cached) $ECHO_C" >&6
35231 else
35232 cat >conftest.$ac_ext <<_ACEOF
35233 /* confdefs.h. */
35234 _ACEOF
35235 cat confdefs.h >>conftest.$ac_ext
35236 cat >>conftest.$ac_ext <<_ACEOF
35237 /* end confdefs.h. */
35238 $ac_includes_default
35239
35240 #include <widec.h>
35241 _ACEOF
35242 rm -f conftest.$ac_objext
35243 if { (ac_try="$ac_compile"
35244 case "(($ac_try" in
35245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35246 *) ac_try_echo=$ac_try;;
35247 esac
35248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35249 (eval "$ac_compile") 2>conftest.er1
35250 ac_status=$?
35251 grep -v '^ *+' conftest.er1 >conftest.err
35252 rm -f conftest.er1
35253 cat conftest.err >&5
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); } && {
35256 test -z "$ac_c_werror_flag" ||
35257 test ! -s conftest.err
35258 } && test -s conftest.$ac_objext; then
35259 ac_cv_header_widec_h=yes
35260 else
35261 echo "$as_me: failed program was:" >&5
35262 sed 's/^/| /' conftest.$ac_ext >&5
35263
35264 ac_cv_header_widec_h=no
35265 fi
35266
35267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35268 fi
35269 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35270 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35271
35272
35273 if test "$ac_cv_header_widec_h" = "yes"; then
35274 wchar_headers="$wchar_headers
35275 #include <widec.h>"
35276 fi
35277 esac
35278
35279
35280 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35281 do
35282 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35283 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35284 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35285 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 else
35287
35288 cat >conftest.$ac_ext <<_ACEOF
35289
35290 /* confdefs.h. */
35291 _ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295
35296 $wchar_headers
35297 $ac_includes_default
35298
35299 int
35300 main ()
35301 {
35302
35303 #ifndef $wx_func
35304 &$wx_func;
35305 #endif
35306
35307
35308 ;
35309 return 0;
35310 }
35311
35312 _ACEOF
35313 rm -f conftest.$ac_objext conftest$ac_exeext
35314 if { (ac_try="$ac_link"
35315 case "(($ac_try" in
35316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35317 *) ac_try_echo=$ac_try;;
35318 esac
35319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35320 (eval "$ac_link") 2>conftest.er1
35321 ac_status=$?
35322 grep -v '^ *+' conftest.er1 >conftest.err
35323 rm -f conftest.er1
35324 cat conftest.err >&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } && {
35327 test -z "$ac_c_werror_flag" ||
35328 test ! -s conftest.err
35329 } && test -s conftest$ac_exeext &&
35330 $as_test_x conftest$ac_exeext; then
35331 eval wx_cv_func_$wx_func=yes
35332 else
35333 echo "$as_me: failed program was:" >&5
35334 sed 's/^/| /' conftest.$ac_ext >&5
35335
35336 eval wx_cv_func_$wx_func=no
35337 fi
35338
35339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35340 conftest$ac_exeext conftest.$ac_ext
35341
35342 fi
35343 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35344 { echo "$as_me:$LINENO: result: $ac_res" >&5
35345 echo "${ECHO_T}$ac_res" >&6; }
35346
35347 if eval test \$wx_cv_func_$wx_func = yes
35348 then
35349 cat >>confdefs.h <<_ACEOF
35350 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35351 _ACEOF
35352
35353
35354 else
35355 :
35356
35357 fi
35358 done
35359
35360
35361 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35362 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35363 cat >conftest.$ac_ext <<_ACEOF
35364 /* confdefs.h. */
35365 _ACEOF
35366 cat confdefs.h >>conftest.$ac_ext
35367 cat >>conftest.$ac_ext <<_ACEOF
35368 /* end confdefs.h. */
35369 #include <wchar.h>
35370 int
35371 main ()
35372 {
35373 &_vsnwprintf;
35374 ;
35375 return 0;
35376 }
35377 _ACEOF
35378 rm -f conftest.$ac_objext
35379 if { (ac_try="$ac_compile"
35380 case "(($ac_try" in
35381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35382 *) ac_try_echo=$ac_try;;
35383 esac
35384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35385 (eval "$ac_compile") 2>conftest.er1
35386 ac_status=$?
35387 grep -v '^ *+' conftest.er1 >conftest.err
35388 rm -f conftest.er1
35389 cat conftest.err >&5
35390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35391 (exit $ac_status); } && {
35392 test -z "$ac_c_werror_flag" ||
35393 test ! -s conftest.err
35394 } && test -s conftest.$ac_objext; then
35395 { echo "$as_me:$LINENO: result: yes" >&5
35396 echo "${ECHO_T}yes" >&6; }
35397 cat >>confdefs.h <<\_ACEOF
35398 #define HAVE__VSNWPRINTF 1
35399 _ACEOF
35400
35401 else
35402 echo "$as_me: failed program was:" >&5
35403 sed 's/^/| /' conftest.$ac_ext >&5
35404
35405 { echo "$as_me:$LINENO: result: no" >&5
35406 echo "${ECHO_T}no" >&6; }
35407 fi
35408
35409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35410 fi
35411
35412 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35413
35414 for wx_func in fnmatch
35415 do
35416 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35417 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35418 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35419 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 else
35421
35422 cat >conftest.$ac_ext <<_ACEOF
35423
35424 /* confdefs.h. */
35425 _ACEOF
35426 cat confdefs.h >>conftest.$ac_ext
35427 cat >>conftest.$ac_ext <<_ACEOF
35428 /* end confdefs.h. */
35429
35430 #include <fnmatch.h>
35431 $ac_includes_default
35432
35433 int
35434 main ()
35435 {
35436
35437 #ifndef $wx_func
35438 &$wx_func;
35439 #endif
35440
35441
35442 ;
35443 return 0;
35444 }
35445
35446 _ACEOF
35447 rm -f conftest.$ac_objext conftest$ac_exeext
35448 if { (ac_try="$ac_link"
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_link") 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_exeext &&
35464 $as_test_x conftest$ac_exeext; then
35465 eval wx_cv_func_$wx_func=yes
35466 else
35467 echo "$as_me: failed program was:" >&5
35468 sed 's/^/| /' conftest.$ac_ext >&5
35469
35470 eval wx_cv_func_$wx_func=no
35471 fi
35472
35473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35474 conftest$ac_exeext conftest.$ac_ext
35475
35476 fi
35477 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35478 { echo "$as_me:$LINENO: result: $ac_res" >&5
35479 echo "${ECHO_T}$ac_res" >&6; }
35480
35481 if eval test \$wx_cv_func_$wx_func = yes
35482 then
35483 cat >>confdefs.h <<_ACEOF
35484 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35485 _ACEOF
35486
35487
35488 else
35489 :
35490
35491 fi
35492 done
35493
35494 fi
35495
35496 if test "$wxUSE_FILE" = "yes"; then
35497
35498 for wx_func in fsync
35499 do
35500 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35501 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35502 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35503 echo $ECHO_N "(cached) $ECHO_C" >&6
35504 else
35505
35506 cat >conftest.$ac_ext <<_ACEOF
35507
35508 /* confdefs.h. */
35509 _ACEOF
35510 cat confdefs.h >>conftest.$ac_ext
35511 cat >>conftest.$ac_ext <<_ACEOF
35512 /* end confdefs.h. */
35513
35514
35515 $ac_includes_default
35516
35517 int
35518 main ()
35519 {
35520
35521 #ifndef $wx_func
35522 &$wx_func;
35523 #endif
35524
35525
35526 ;
35527 return 0;
35528 }
35529
35530 _ACEOF
35531 rm -f conftest.$ac_objext conftest$ac_exeext
35532 if { (ac_try="$ac_link"
35533 case "(($ac_try" in
35534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35535 *) ac_try_echo=$ac_try;;
35536 esac
35537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35538 (eval "$ac_link") 2>conftest.er1
35539 ac_status=$?
35540 grep -v '^ *+' conftest.er1 >conftest.err
35541 rm -f conftest.er1
35542 cat conftest.err >&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); } && {
35545 test -z "$ac_c_werror_flag" ||
35546 test ! -s conftest.err
35547 } && test -s conftest$ac_exeext &&
35548 $as_test_x conftest$ac_exeext; then
35549 eval wx_cv_func_$wx_func=yes
35550 else
35551 echo "$as_me: failed program was:" >&5
35552 sed 's/^/| /' conftest.$ac_ext >&5
35553
35554 eval wx_cv_func_$wx_func=no
35555 fi
35556
35557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35558 conftest$ac_exeext conftest.$ac_ext
35559
35560 fi
35561 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35562 { echo "$as_me:$LINENO: result: $ac_res" >&5
35563 echo "${ECHO_T}$ac_res" >&6; }
35564
35565 if eval test \$wx_cv_func_$wx_func = yes
35566 then
35567 cat >>confdefs.h <<_ACEOF
35568 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35569 _ACEOF
35570
35571
35572 else
35573 :
35574
35575 fi
35576 done
35577
35578 fi
35579
35580 ac_ext=cpp
35581 ac_cpp='$CXXCPP $CPPFLAGS'
35582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35585
35586
35587 for wx_func in round
35588 do
35589 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35590 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35591 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 else
35594
35595 cat >conftest.$ac_ext <<_ACEOF
35596
35597 /* confdefs.h. */
35598 _ACEOF
35599 cat confdefs.h >>conftest.$ac_ext
35600 cat >>conftest.$ac_ext <<_ACEOF
35601 /* end confdefs.h. */
35602
35603 #include <math.h>
35604 $ac_includes_default
35605
35606 int
35607 main ()
35608 {
35609
35610 #ifndef $wx_func
35611 &$wx_func;
35612 #endif
35613
35614
35615 ;
35616 return 0;
35617 }
35618
35619 _ACEOF
35620 rm -f conftest.$ac_objext conftest$ac_exeext
35621 if { (ac_try="$ac_link"
35622 case "(($ac_try" in
35623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35624 *) ac_try_echo=$ac_try;;
35625 esac
35626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35627 (eval "$ac_link") 2>conftest.er1
35628 ac_status=$?
35629 grep -v '^ *+' conftest.er1 >conftest.err
35630 rm -f conftest.er1
35631 cat conftest.err >&5
35632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35633 (exit $ac_status); } && {
35634 test -z "$ac_cxx_werror_flag" ||
35635 test ! -s conftest.err
35636 } && test -s conftest$ac_exeext &&
35637 $as_test_x conftest$ac_exeext; then
35638 eval wx_cv_func_$wx_func=yes
35639 else
35640 echo "$as_me: failed program was:" >&5
35641 sed 's/^/| /' conftest.$ac_ext >&5
35642
35643 eval wx_cv_func_$wx_func=no
35644 fi
35645
35646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35647 conftest$ac_exeext conftest.$ac_ext
35648
35649 fi
35650 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35651 { echo "$as_me:$LINENO: result: $ac_res" >&5
35652 echo "${ECHO_T}$ac_res" >&6; }
35653
35654 if eval test \$wx_cv_func_$wx_func = yes
35655 then
35656 cat >>confdefs.h <<_ACEOF
35657 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35658 _ACEOF
35659
35660
35661 else
35662 :
35663
35664 fi
35665 done
35666
35667 ac_ext=c
35668 ac_cpp='$CPP $CPPFLAGS'
35669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35672
35673
35674 if test "$TOOLKIT" != "MSW"; then
35675
35676
35677
35678
35679
35680 # Check whether --with-libiconv-prefix was given.
35681 if test "${with_libiconv_prefix+set}" = set; then
35682 withval=$with_libiconv_prefix;
35683 for dir in `echo "$withval" | tr : ' '`; do
35684 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35685 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35686 done
35687
35688 fi
35689
35690
35691 { echo "$as_me:$LINENO: checking for iconv" >&5
35692 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35693 if test "${am_cv_func_iconv+set}" = set; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35695 else
35696
35697 am_cv_func_iconv="no, consider installing GNU libiconv"
35698 am_cv_lib_iconv=no
35699 cat >conftest.$ac_ext <<_ACEOF
35700 /* confdefs.h. */
35701 _ACEOF
35702 cat confdefs.h >>conftest.$ac_ext
35703 cat >>conftest.$ac_ext <<_ACEOF
35704 /* end confdefs.h. */
35705 #include <stdlib.h>
35706 #include <iconv.h>
35707 int
35708 main ()
35709 {
35710 iconv_t cd = iconv_open("","");
35711 iconv(cd,NULL,NULL,NULL,NULL);
35712 iconv_close(cd);
35713 ;
35714 return 0;
35715 }
35716 _ACEOF
35717 rm -f conftest.$ac_objext conftest$ac_exeext
35718 if { (ac_try="$ac_link"
35719 case "(($ac_try" in
35720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35721 *) ac_try_echo=$ac_try;;
35722 esac
35723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35724 (eval "$ac_link") 2>conftest.er1
35725 ac_status=$?
35726 grep -v '^ *+' conftest.er1 >conftest.err
35727 rm -f conftest.er1
35728 cat conftest.err >&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); } && {
35731 test -z "$ac_c_werror_flag" ||
35732 test ! -s conftest.err
35733 } && test -s conftest$ac_exeext &&
35734 $as_test_x conftest$ac_exeext; then
35735 am_cv_func_iconv=yes
35736 else
35737 echo "$as_me: failed program was:" >&5
35738 sed 's/^/| /' conftest.$ac_ext >&5
35739
35740
35741 fi
35742
35743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35744 conftest$ac_exeext conftest.$ac_ext
35745 if test "$am_cv_func_iconv" != yes; then
35746 am_save_LIBS="$LIBS"
35747 LIBS="$LIBS -liconv"
35748 cat >conftest.$ac_ext <<_ACEOF
35749 /* confdefs.h. */
35750 _ACEOF
35751 cat confdefs.h >>conftest.$ac_ext
35752 cat >>conftest.$ac_ext <<_ACEOF
35753 /* end confdefs.h. */
35754 #include <stdlib.h>
35755 #include <iconv.h>
35756 int
35757 main ()
35758 {
35759 iconv_t cd = iconv_open("","");
35760 iconv(cd,NULL,NULL,NULL,NULL);
35761 iconv_close(cd);
35762 ;
35763 return 0;
35764 }
35765 _ACEOF
35766 rm -f conftest.$ac_objext conftest$ac_exeext
35767 if { (ac_try="$ac_link"
35768 case "(($ac_try" in
35769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35770 *) ac_try_echo=$ac_try;;
35771 esac
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_link") 2>conftest.er1
35774 ac_status=$?
35775 grep -v '^ *+' conftest.er1 >conftest.err
35776 rm -f conftest.er1
35777 cat conftest.err >&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } && {
35780 test -z "$ac_c_werror_flag" ||
35781 test ! -s conftest.err
35782 } && test -s conftest$ac_exeext &&
35783 $as_test_x conftest$ac_exeext; then
35784 am_cv_lib_iconv=yes
35785 am_cv_func_iconv=yes
35786 else
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.$ac_ext >&5
35789
35790
35791 fi
35792
35793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35794 conftest$ac_exeext conftest.$ac_ext
35795 LIBS="$am_save_LIBS"
35796 fi
35797
35798 fi
35799 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35800 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35801 if test "$am_cv_func_iconv" = yes; then
35802
35803 cat >>confdefs.h <<\_ACEOF
35804 #define HAVE_ICONV 1
35805 _ACEOF
35806
35807 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35808 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35809 if test "${wx_cv_func_iconv_const+set}" = set; then
35810 echo $ECHO_N "(cached) $ECHO_C" >&6
35811 else
35812 cat >conftest.$ac_ext <<_ACEOF
35813 /* confdefs.h. */
35814 _ACEOF
35815 cat confdefs.h >>conftest.$ac_ext
35816 cat >>conftest.$ac_ext <<_ACEOF
35817 /* end confdefs.h. */
35818
35819 #include <stdlib.h>
35820 #include <iconv.h>
35821 extern
35822 #ifdef __cplusplus
35823 "C"
35824 #endif
35825 #if defined(__STDC__) || defined(__cplusplus)
35826 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35827 #else
35828 size_t iconv();
35829 #endif
35830
35831 int
35832 main ()
35833 {
35834
35835 ;
35836 return 0;
35837 }
35838 _ACEOF
35839 rm -f conftest.$ac_objext
35840 if { (ac_try="$ac_compile"
35841 case "(($ac_try" in
35842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35843 *) ac_try_echo=$ac_try;;
35844 esac
35845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35846 (eval "$ac_compile") 2>conftest.er1
35847 ac_status=$?
35848 grep -v '^ *+' conftest.er1 >conftest.err
35849 rm -f conftest.er1
35850 cat conftest.err >&5
35851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35852 (exit $ac_status); } && {
35853 test -z "$ac_c_werror_flag" ||
35854 test ! -s conftest.err
35855 } && test -s conftest.$ac_objext; then
35856 wx_cv_func_iconv_const="no"
35857 else
35858 echo "$as_me: failed program was:" >&5
35859 sed 's/^/| /' conftest.$ac_ext >&5
35860
35861 wx_cv_func_iconv_const="yes"
35862
35863 fi
35864
35865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35866
35867 fi
35868 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35869 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35870
35871 iconv_const=
35872 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35873 iconv_const="const"
35874 fi
35875
35876
35877 cat >>confdefs.h <<_ACEOF
35878 #define ICONV_CONST $iconv_const
35879 _ACEOF
35880
35881 fi
35882 LIBICONV=
35883 if test "$am_cv_lib_iconv" = yes; then
35884 LIBICONV="-liconv"
35885 fi
35886
35887
35888 LIBS="$LIBICONV $LIBS"
35889
35890 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35891
35892 for ac_func in sigaction
35893 do
35894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35895 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35897 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35898 echo $ECHO_N "(cached) $ECHO_C" >&6
35899 else
35900 cat >conftest.$ac_ext <<_ACEOF
35901 /* confdefs.h. */
35902 _ACEOF
35903 cat confdefs.h >>conftest.$ac_ext
35904 cat >>conftest.$ac_ext <<_ACEOF
35905 /* end confdefs.h. */
35906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35908 #define $ac_func innocuous_$ac_func
35909
35910 /* System header to define __stub macros and hopefully few prototypes,
35911 which can conflict with char $ac_func (); below.
35912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35913 <limits.h> exists even on freestanding compilers. */
35914
35915 #ifdef __STDC__
35916 # include <limits.h>
35917 #else
35918 # include <assert.h>
35919 #endif
35920
35921 #undef $ac_func
35922
35923 /* Override any GCC internal prototype to avoid an error.
35924 Use char because int might match the return type of a GCC
35925 builtin and then its argument prototype would still apply. */
35926 #ifdef __cplusplus
35927 extern "C"
35928 #endif
35929 char $ac_func ();
35930 /* The GNU C library defines this for functions which it implements
35931 to always fail with ENOSYS. Some functions are actually named
35932 something starting with __ and the normal name is an alias. */
35933 #if defined __stub_$ac_func || defined __stub___$ac_func
35934 choke me
35935 #endif
35936
35937 int
35938 main ()
35939 {
35940 return $ac_func ();
35941 ;
35942 return 0;
35943 }
35944 _ACEOF
35945 rm -f conftest.$ac_objext conftest$ac_exeext
35946 if { (ac_try="$ac_link"
35947 case "(($ac_try" in
35948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35949 *) ac_try_echo=$ac_try;;
35950 esac
35951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35952 (eval "$ac_link") 2>conftest.er1
35953 ac_status=$?
35954 grep -v '^ *+' conftest.er1 >conftest.err
35955 rm -f conftest.er1
35956 cat conftest.err >&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } && {
35959 test -z "$ac_c_werror_flag" ||
35960 test ! -s conftest.err
35961 } && test -s conftest$ac_exeext &&
35962 $as_test_x conftest$ac_exeext; then
35963 eval "$as_ac_var=yes"
35964 else
35965 echo "$as_me: failed program was:" >&5
35966 sed 's/^/| /' conftest.$ac_ext >&5
35967
35968 eval "$as_ac_var=no"
35969 fi
35970
35971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35972 conftest$ac_exeext conftest.$ac_ext
35973 fi
35974 ac_res=`eval echo '${'$as_ac_var'}'`
35975 { echo "$as_me:$LINENO: result: $ac_res" >&5
35976 echo "${ECHO_T}$ac_res" >&6; }
35977 if test `eval echo '${'$as_ac_var'}'` = yes; then
35978 cat >>confdefs.h <<_ACEOF
35979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35980 _ACEOF
35981
35982 fi
35983 done
35984
35985
35986 if test "$ac_cv_func_sigaction" = "no"; then
35987 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35988 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35989 wxUSE_ON_FATAL_EXCEPTION=no
35990 fi
35991
35992 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35993 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35994 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35995 if test "${wx_cv_type_sa_handler+set}" = set; then
35996 echo $ECHO_N "(cached) $ECHO_C" >&6
35997 else
35998
35999 ac_ext=cpp
36000 ac_cpp='$CXXCPP $CPPFLAGS'
36001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36004
36005 cat >conftest.$ac_ext <<_ACEOF
36006 /* confdefs.h. */
36007 _ACEOF
36008 cat confdefs.h >>conftest.$ac_ext
36009 cat >>conftest.$ac_ext <<_ACEOF
36010 /* end confdefs.h. */
36011 #include <signal.h>
36012 int
36013 main ()
36014 {
36015
36016 extern void testSigHandler(int);
36017
36018 struct sigaction sa;
36019 sa.sa_handler = testSigHandler;
36020
36021 ;
36022 return 0;
36023 }
36024 _ACEOF
36025 rm -f conftest.$ac_objext
36026 if { (ac_try="$ac_compile"
36027 case "(($ac_try" in
36028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36029 *) ac_try_echo=$ac_try;;
36030 esac
36031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36032 (eval "$ac_compile") 2>conftest.er1
36033 ac_status=$?
36034 grep -v '^ *+' conftest.er1 >conftest.err
36035 rm -f conftest.er1
36036 cat conftest.err >&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } && {
36039 test -z "$ac_cxx_werror_flag" ||
36040 test ! -s conftest.err
36041 } && test -s conftest.$ac_objext; then
36042
36043 wx_cv_type_sa_handler=int
36044
36045 else
36046 echo "$as_me: failed program was:" >&5
36047 sed 's/^/| /' conftest.$ac_ext >&5
36048
36049
36050 wx_cv_type_sa_handler=void
36051
36052 fi
36053
36054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36055 ac_ext=c
36056 ac_cpp='$CPP $CPPFLAGS'
36057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36060
36061
36062 fi
36063 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36064 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36065
36066 cat >>confdefs.h <<_ACEOF
36067 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36068 _ACEOF
36069
36070 fi
36071 fi
36072
36073 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36074 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36075 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36076 if test "${wx_cv_func_backtrace+set}" = set; then
36077 echo $ECHO_N "(cached) $ECHO_C" >&6
36078 else
36079
36080 ac_ext=cpp
36081 ac_cpp='$CXXCPP $CPPFLAGS'
36082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36085
36086 cat >conftest.$ac_ext <<_ACEOF
36087 /* confdefs.h. */
36088 _ACEOF
36089 cat confdefs.h >>conftest.$ac_ext
36090 cat >>conftest.$ac_ext <<_ACEOF
36091 /* end confdefs.h. */
36092 #include <execinfo.h>
36093 int
36094 main ()
36095 {
36096
36097 void *trace[1];
36098 char **messages;
36099
36100 backtrace(trace, 1);
36101 messages = backtrace_symbols(trace, 1);
36102
36103 ;
36104 return 0;
36105 }
36106 _ACEOF
36107 rm -f conftest.$ac_objext
36108 if { (ac_try="$ac_compile"
36109 case "(($ac_try" in
36110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36111 *) ac_try_echo=$ac_try;;
36112 esac
36113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36114 (eval "$ac_compile") 2>conftest.er1
36115 ac_status=$?
36116 grep -v '^ *+' conftest.er1 >conftest.err
36117 rm -f conftest.er1
36118 cat conftest.err >&5
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); } && {
36121 test -z "$ac_cxx_werror_flag" ||
36122 test ! -s conftest.err
36123 } && test -s conftest.$ac_objext; then
36124 wx_cv_func_backtrace=yes
36125 else
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.$ac_ext >&5
36128
36129 wx_cv_func_backtrace=no
36130
36131 fi
36132
36133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36134 ac_ext=c
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36139
36140
36141
36142 fi
36143 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36144 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36145
36146
36147 if test "$wx_cv_func_backtrace" = "no"; then
36148 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36149 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36150 wxUSE_STACKWALKER=no
36151 else
36152 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36153 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36154 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36155 echo $ECHO_N "(cached) $ECHO_C" >&6
36156 else
36157
36158 ac_ext=cpp
36159 ac_cpp='$CXXCPP $CPPFLAGS'
36160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36163
36164 cat >conftest.$ac_ext <<_ACEOF
36165 /* confdefs.h. */
36166 _ACEOF
36167 cat confdefs.h >>conftest.$ac_ext
36168 cat >>conftest.$ac_ext <<_ACEOF
36169 /* end confdefs.h. */
36170 #include <cxxabi.h>
36171 int
36172 main ()
36173 {
36174
36175 int rc;
36176 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36177
36178 ;
36179 return 0;
36180 }
36181 _ACEOF
36182 rm -f conftest.$ac_objext conftest$ac_exeext
36183 if { (ac_try="$ac_link"
36184 case "(($ac_try" in
36185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36186 *) ac_try_echo=$ac_try;;
36187 esac
36188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36189 (eval "$ac_link") 2>conftest.er1
36190 ac_status=$?
36191 grep -v '^ *+' conftest.er1 >conftest.err
36192 rm -f conftest.er1
36193 cat conftest.err >&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } && {
36196 test -z "$ac_cxx_werror_flag" ||
36197 test ! -s conftest.err
36198 } && test -s conftest$ac_exeext &&
36199 $as_test_x conftest$ac_exeext; then
36200 wx_cv_func_cxa_demangle=yes
36201 else
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.$ac_ext >&5
36204
36205 wx_cv_func_cxa_demangle=no
36206
36207 fi
36208
36209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36210 conftest$ac_exeext conftest.$ac_ext
36211 ac_ext=c
36212 ac_cpp='$CPP $CPPFLAGS'
36213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36216
36217
36218
36219 fi
36220 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36221 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36222
36223 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36224 cat >>confdefs.h <<\_ACEOF
36225 #define HAVE_CXA_DEMANGLE 1
36226 _ACEOF
36227
36228 fi
36229 fi
36230 fi
36231
36232 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36233 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36234 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36235 wxUSE_STACKWALKER=no
36236 fi
36237
36238
36239
36240
36241 for ac_func in mkstemp mktemp
36242 do
36243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36244 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36246 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36247 echo $ECHO_N "(cached) $ECHO_C" >&6
36248 else
36249 cat >conftest.$ac_ext <<_ACEOF
36250 /* confdefs.h. */
36251 _ACEOF
36252 cat confdefs.h >>conftest.$ac_ext
36253 cat >>conftest.$ac_ext <<_ACEOF
36254 /* end confdefs.h. */
36255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36257 #define $ac_func innocuous_$ac_func
36258
36259 /* System header to define __stub macros and hopefully few prototypes,
36260 which can conflict with char $ac_func (); below.
36261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36262 <limits.h> exists even on freestanding compilers. */
36263
36264 #ifdef __STDC__
36265 # include <limits.h>
36266 #else
36267 # include <assert.h>
36268 #endif
36269
36270 #undef $ac_func
36271
36272 /* Override any GCC internal prototype to avoid an error.
36273 Use char because int might match the return type of a GCC
36274 builtin and then its argument prototype would still apply. */
36275 #ifdef __cplusplus
36276 extern "C"
36277 #endif
36278 char $ac_func ();
36279 /* The GNU C library defines this for functions which it implements
36280 to always fail with ENOSYS. Some functions are actually named
36281 something starting with __ and the normal name is an alias. */
36282 #if defined __stub_$ac_func || defined __stub___$ac_func
36283 choke me
36284 #endif
36285
36286 int
36287 main ()
36288 {
36289 return $ac_func ();
36290 ;
36291 return 0;
36292 }
36293 _ACEOF
36294 rm -f conftest.$ac_objext conftest$ac_exeext
36295 if { (ac_try="$ac_link"
36296 case "(($ac_try" in
36297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36298 *) ac_try_echo=$ac_try;;
36299 esac
36300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36301 (eval "$ac_link") 2>conftest.er1
36302 ac_status=$?
36303 grep -v '^ *+' conftest.er1 >conftest.err
36304 rm -f conftest.er1
36305 cat conftest.err >&5
36306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36307 (exit $ac_status); } && {
36308 test -z "$ac_c_werror_flag" ||
36309 test ! -s conftest.err
36310 } && test -s conftest$ac_exeext &&
36311 $as_test_x conftest$ac_exeext; then
36312 eval "$as_ac_var=yes"
36313 else
36314 echo "$as_me: failed program was:" >&5
36315 sed 's/^/| /' conftest.$ac_ext >&5
36316
36317 eval "$as_ac_var=no"
36318 fi
36319
36320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36321 conftest$ac_exeext conftest.$ac_ext
36322 fi
36323 ac_res=`eval echo '${'$as_ac_var'}'`
36324 { echo "$as_me:$LINENO: result: $ac_res" >&5
36325 echo "${ECHO_T}$ac_res" >&6; }
36326 if test `eval echo '${'$as_ac_var'}'` = yes; then
36327 cat >>confdefs.h <<_ACEOF
36328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36329 _ACEOF
36330 break
36331 fi
36332 done
36333
36334
36335 { echo "$as_me:$LINENO: checking for statfs" >&5
36336 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36337 if test "${wx_cv_func_statfs+set}" = set; then
36338 echo $ECHO_N "(cached) $ECHO_C" >&6
36339 else
36340 cat >conftest.$ac_ext <<_ACEOF
36341 /* confdefs.h. */
36342 _ACEOF
36343 cat confdefs.h >>conftest.$ac_ext
36344 cat >>conftest.$ac_ext <<_ACEOF
36345 /* end confdefs.h. */
36346
36347 #if defined(__BSD__)
36348 #include <sys/param.h>
36349 #include <sys/mount.h>
36350 #else
36351 #include <sys/vfs.h>
36352 #endif
36353
36354 int
36355 main ()
36356 {
36357
36358 long l;
36359 struct statfs fs;
36360 statfs("/", &fs);
36361 l = fs.f_bsize;
36362 l += fs.f_blocks;
36363 l += fs.f_bavail;
36364
36365 ;
36366 return 0;
36367 }
36368 _ACEOF
36369 rm -f conftest.$ac_objext
36370 if { (ac_try="$ac_compile"
36371 case "(($ac_try" in
36372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36373 *) ac_try_echo=$ac_try;;
36374 esac
36375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36376 (eval "$ac_compile") 2>conftest.er1
36377 ac_status=$?
36378 grep -v '^ *+' conftest.er1 >conftest.err
36379 rm -f conftest.er1
36380 cat conftest.err >&5
36381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36382 (exit $ac_status); } && {
36383 test -z "$ac_c_werror_flag" ||
36384 test ! -s conftest.err
36385 } && test -s conftest.$ac_objext; then
36386 wx_cv_func_statfs=yes
36387 else
36388 echo "$as_me: failed program was:" >&5
36389 sed 's/^/| /' conftest.$ac_ext >&5
36390
36391 wx_cv_func_statfs=no
36392
36393 fi
36394
36395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36396
36397 fi
36398 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36399 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36400
36401 if test "$wx_cv_func_statfs" = "yes"; then
36402 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36403 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36404 if test "${wx_cv_func_statfs_decl+set}" = set; then
36405 echo $ECHO_N "(cached) $ECHO_C" >&6
36406 else
36407 ac_ext=cpp
36408 ac_cpp='$CXXCPP $CPPFLAGS'
36409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36412
36413 cat >conftest.$ac_ext <<_ACEOF
36414 /* confdefs.h. */
36415 _ACEOF
36416 cat confdefs.h >>conftest.$ac_ext
36417 cat >>conftest.$ac_ext <<_ACEOF
36418 /* end confdefs.h. */
36419
36420 #if defined(__BSD__)
36421 #include <sys/param.h>
36422 #include <sys/mount.h>
36423 #else
36424 #include <sys/vfs.h>
36425 #endif
36426
36427 int
36428 main ()
36429 {
36430
36431 struct statfs fs;
36432 statfs("", &fs);
36433
36434 ;
36435 return 0;
36436 }
36437 _ACEOF
36438 rm -f conftest.$ac_objext
36439 if { (ac_try="$ac_compile"
36440 case "(($ac_try" in
36441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36442 *) ac_try_echo=$ac_try;;
36443 esac
36444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36445 (eval "$ac_compile") 2>conftest.er1
36446 ac_status=$?
36447 grep -v '^ *+' conftest.er1 >conftest.err
36448 rm -f conftest.er1
36449 cat conftest.err >&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); } && {
36452 test -z "$ac_cxx_werror_flag" ||
36453 test ! -s conftest.err
36454 } && test -s conftest.$ac_objext; then
36455 wx_cv_func_statfs_decl=yes
36456 else
36457 echo "$as_me: failed program was:" >&5
36458 sed 's/^/| /' conftest.$ac_ext >&5
36459
36460 wx_cv_func_statfs_decl=no
36461
36462 fi
36463
36464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36465 ac_ext=c
36466 ac_cpp='$CPP $CPPFLAGS'
36467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36470
36471
36472 fi
36473 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36474 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36475
36476 if test "$wx_cv_func_statfs_decl" = "yes"; then
36477 cat >>confdefs.h <<\_ACEOF
36478 #define HAVE_STATFS_DECL 1
36479 _ACEOF
36480
36481 fi
36482
36483 wx_cv_type_statvfs_t="struct statfs"
36484 cat >>confdefs.h <<\_ACEOF
36485 #define HAVE_STATFS 1
36486 _ACEOF
36487
36488 else
36489 { echo "$as_me:$LINENO: checking for statvfs" >&5
36490 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36491 if test "${wx_cv_func_statvfs+set}" = set; then
36492 echo $ECHO_N "(cached) $ECHO_C" >&6
36493 else
36494 cat >conftest.$ac_ext <<_ACEOF
36495 /* confdefs.h. */
36496 _ACEOF
36497 cat confdefs.h >>conftest.$ac_ext
36498 cat >>conftest.$ac_ext <<_ACEOF
36499 /* end confdefs.h. */
36500
36501 #include <stddef.h>
36502 #include <sys/statvfs.h>
36503
36504 int
36505 main ()
36506 {
36507
36508 statvfs("/", NULL);
36509
36510 ;
36511 return 0;
36512 }
36513 _ACEOF
36514 rm -f conftest.$ac_objext
36515 if { (ac_try="$ac_compile"
36516 case "(($ac_try" in
36517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36518 *) ac_try_echo=$ac_try;;
36519 esac
36520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36521 (eval "$ac_compile") 2>conftest.er1
36522 ac_status=$?
36523 grep -v '^ *+' conftest.er1 >conftest.err
36524 rm -f conftest.er1
36525 cat conftest.err >&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); } && {
36528 test -z "$ac_c_werror_flag" ||
36529 test ! -s conftest.err
36530 } && test -s conftest.$ac_objext; then
36531 wx_cv_func_statvfs=yes
36532 else
36533 echo "$as_me: failed program was:" >&5
36534 sed 's/^/| /' conftest.$ac_ext >&5
36535
36536 wx_cv_func_statvfs=no
36537
36538 fi
36539
36540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36541
36542 fi
36543 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36544 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36545
36546 if test "$wx_cv_func_statvfs" = "yes"; then
36547 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36548 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36549 if test "${wx_cv_type_statvfs_t+set}" = set; then
36550 echo $ECHO_N "(cached) $ECHO_C" >&6
36551 else
36552 ac_ext=cpp
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36557
36558 cat >conftest.$ac_ext <<_ACEOF
36559 /* confdefs.h. */
36560 _ACEOF
36561 cat confdefs.h >>conftest.$ac_ext
36562 cat >>conftest.$ac_ext <<_ACEOF
36563 /* end confdefs.h. */
36564
36565 #include <sys/statvfs.h>
36566
36567 int
36568 main ()
36569 {
36570
36571 long l;
36572 statvfs_t fs;
36573 statvfs("/", &fs);
36574 l = fs.f_bsize;
36575 l += fs.f_blocks;
36576 l += fs.f_bavail;
36577
36578 ;
36579 return 0;
36580 }
36581 _ACEOF
36582 rm -f conftest.$ac_objext
36583 if { (ac_try="$ac_compile"
36584 case "(($ac_try" in
36585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36586 *) ac_try_echo=$ac_try;;
36587 esac
36588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36589 (eval "$ac_compile") 2>conftest.er1
36590 ac_status=$?
36591 grep -v '^ *+' conftest.er1 >conftest.err
36592 rm -f conftest.er1
36593 cat conftest.err >&5
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); } && {
36596 test -z "$ac_cxx_werror_flag" ||
36597 test ! -s conftest.err
36598 } && test -s conftest.$ac_objext; then
36599 wx_cv_type_statvfs_t=statvfs_t
36600 else
36601 echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.$ac_ext >&5
36603
36604
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 #include <sys/statvfs.h>
36613
36614 int
36615 main ()
36616 {
36617
36618 long l;
36619 struct statvfs fs;
36620 statvfs("/", &fs);
36621 l = fs.f_bsize;
36622 l += fs.f_blocks;
36623 l += fs.f_bavail;
36624
36625 ;
36626 return 0;
36627 }
36628 _ACEOF
36629 rm -f conftest.$ac_objext
36630 if { (ac_try="$ac_compile"
36631 case "(($ac_try" in
36632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36633 *) ac_try_echo=$ac_try;;
36634 esac
36635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36636 (eval "$ac_compile") 2>conftest.er1
36637 ac_status=$?
36638 grep -v '^ *+' conftest.er1 >conftest.err
36639 rm -f conftest.er1
36640 cat conftest.err >&5
36641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36642 (exit $ac_status); } && {
36643 test -z "$ac_cxx_werror_flag" ||
36644 test ! -s conftest.err
36645 } && test -s conftest.$ac_objext; then
36646 wx_cv_type_statvfs_t="struct statvfs"
36647 else
36648 echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.$ac_ext >&5
36650
36651 wx_cv_type_statvfs_t="unknown"
36652
36653 fi
36654
36655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36656
36657
36658 fi
36659
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36661 ac_ext=c
36662 ac_cpp='$CPP $CPPFLAGS'
36663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36666
36667
36668 fi
36669 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36670 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36671
36672 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36673 cat >>confdefs.h <<\_ACEOF
36674 #define HAVE_STATVFS 1
36675 _ACEOF
36676
36677 fi
36678 else
36679 wx_cv_type_statvfs_t="unknown"
36680 fi
36681 fi
36682
36683 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36684 cat >>confdefs.h <<_ACEOF
36685 #define WX_STATFS_T $wx_cv_type_statvfs_t
36686 _ACEOF
36687
36688 else
36689 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36690 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36691 fi
36692
36693 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36694
36695
36696 for ac_func in fcntl flock
36697 do
36698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36703 else
36704 cat >conftest.$ac_ext <<_ACEOF
36705 /* confdefs.h. */
36706 _ACEOF
36707 cat confdefs.h >>conftest.$ac_ext
36708 cat >>conftest.$ac_ext <<_ACEOF
36709 /* end confdefs.h. */
36710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36712 #define $ac_func innocuous_$ac_func
36713
36714 /* System header to define __stub macros and hopefully few prototypes,
36715 which can conflict with char $ac_func (); below.
36716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36717 <limits.h> exists even on freestanding compilers. */
36718
36719 #ifdef __STDC__
36720 # include <limits.h>
36721 #else
36722 # include <assert.h>
36723 #endif
36724
36725 #undef $ac_func
36726
36727 /* Override any GCC internal prototype to avoid an error.
36728 Use char because int might match the return type of a GCC
36729 builtin and then its argument prototype would still apply. */
36730 #ifdef __cplusplus
36731 extern "C"
36732 #endif
36733 char $ac_func ();
36734 /* The GNU C library defines this for functions which it implements
36735 to always fail with ENOSYS. Some functions are actually named
36736 something starting with __ and the normal name is an alias. */
36737 #if defined __stub_$ac_func || defined __stub___$ac_func
36738 choke me
36739 #endif
36740
36741 int
36742 main ()
36743 {
36744 return $ac_func ();
36745 ;
36746 return 0;
36747 }
36748 _ACEOF
36749 rm -f conftest.$ac_objext conftest$ac_exeext
36750 if { (ac_try="$ac_link"
36751 case "(($ac_try" in
36752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36753 *) ac_try_echo=$ac_try;;
36754 esac
36755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36756 (eval "$ac_link") 2>conftest.er1
36757 ac_status=$?
36758 grep -v '^ *+' conftest.er1 >conftest.err
36759 rm -f conftest.er1
36760 cat conftest.err >&5
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); } && {
36763 test -z "$ac_c_werror_flag" ||
36764 test ! -s conftest.err
36765 } && test -s conftest$ac_exeext &&
36766 $as_test_x conftest$ac_exeext; then
36767 eval "$as_ac_var=yes"
36768 else
36769 echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.$ac_ext >&5
36771
36772 eval "$as_ac_var=no"
36773 fi
36774
36775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36776 conftest$ac_exeext conftest.$ac_ext
36777 fi
36778 ac_res=`eval echo '${'$as_ac_var'}'`
36779 { echo "$as_me:$LINENO: result: $ac_res" >&5
36780 echo "${ECHO_T}$ac_res" >&6; }
36781 if test `eval echo '${'$as_ac_var'}'` = yes; then
36782 cat >>confdefs.h <<_ACEOF
36783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36784 _ACEOF
36785 break
36786 fi
36787 done
36788
36789
36790 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36791 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36792 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36793 wxUSE_SNGLINST_CHECKER=no
36794 fi
36795 fi
36796
36797
36798 for ac_func in timegm
36799 do
36800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36804 echo $ECHO_N "(cached) $ECHO_C" >&6
36805 else
36806 cat >conftest.$ac_ext <<_ACEOF
36807 /* confdefs.h. */
36808 _ACEOF
36809 cat confdefs.h >>conftest.$ac_ext
36810 cat >>conftest.$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36814 #define $ac_func innocuous_$ac_func
36815
36816 /* System header to define __stub macros and hopefully few prototypes,
36817 which can conflict with char $ac_func (); below.
36818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36819 <limits.h> exists even on freestanding compilers. */
36820
36821 #ifdef __STDC__
36822 # include <limits.h>
36823 #else
36824 # include <assert.h>
36825 #endif
36826
36827 #undef $ac_func
36828
36829 /* Override any GCC internal prototype to avoid an error.
36830 Use char because int might match the return type of a GCC
36831 builtin and then its argument prototype would still apply. */
36832 #ifdef __cplusplus
36833 extern "C"
36834 #endif
36835 char $ac_func ();
36836 /* The GNU C library defines this for functions which it implements
36837 to always fail with ENOSYS. Some functions are actually named
36838 something starting with __ and the normal name is an alias. */
36839 #if defined __stub_$ac_func || defined __stub___$ac_func
36840 choke me
36841 #endif
36842
36843 int
36844 main ()
36845 {
36846 return $ac_func ();
36847 ;
36848 return 0;
36849 }
36850 _ACEOF
36851 rm -f conftest.$ac_objext conftest$ac_exeext
36852 if { (ac_try="$ac_link"
36853 case "(($ac_try" in
36854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36855 *) ac_try_echo=$ac_try;;
36856 esac
36857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36858 (eval "$ac_link") 2>conftest.er1
36859 ac_status=$?
36860 grep -v '^ *+' conftest.er1 >conftest.err
36861 rm -f conftest.er1
36862 cat conftest.err >&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); } && {
36865 test -z "$ac_c_werror_flag" ||
36866 test ! -s conftest.err
36867 } && test -s conftest$ac_exeext &&
36868 $as_test_x conftest$ac_exeext; then
36869 eval "$as_ac_var=yes"
36870 else
36871 echo "$as_me: failed program was:" >&5
36872 sed 's/^/| /' conftest.$ac_ext >&5
36873
36874 eval "$as_ac_var=no"
36875 fi
36876
36877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36878 conftest$ac_exeext conftest.$ac_ext
36879 fi
36880 ac_res=`eval echo '${'$as_ac_var'}'`
36881 { echo "$as_me:$LINENO: result: $ac_res" >&5
36882 echo "${ECHO_T}$ac_res" >&6; }
36883 if test `eval echo '${'$as_ac_var'}'` = yes; then
36884 cat >>confdefs.h <<_ACEOF
36885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36886 _ACEOF
36887
36888 fi
36889 done
36890
36891
36892
36893
36894 for ac_func in putenv setenv
36895 do
36896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36899 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36900 echo $ECHO_N "(cached) $ECHO_C" >&6
36901 else
36902 cat >conftest.$ac_ext <<_ACEOF
36903 /* confdefs.h. */
36904 _ACEOF
36905 cat confdefs.h >>conftest.$ac_ext
36906 cat >>conftest.$ac_ext <<_ACEOF
36907 /* end confdefs.h. */
36908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36910 #define $ac_func innocuous_$ac_func
36911
36912 /* System header to define __stub macros and hopefully few prototypes,
36913 which can conflict with char $ac_func (); below.
36914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36915 <limits.h> exists even on freestanding compilers. */
36916
36917 #ifdef __STDC__
36918 # include <limits.h>
36919 #else
36920 # include <assert.h>
36921 #endif
36922
36923 #undef $ac_func
36924
36925 /* Override any GCC internal prototype to avoid an error.
36926 Use char because int might match the return type of a GCC
36927 builtin and then its argument prototype would still apply. */
36928 #ifdef __cplusplus
36929 extern "C"
36930 #endif
36931 char $ac_func ();
36932 /* The GNU C library defines this for functions which it implements
36933 to always fail with ENOSYS. Some functions are actually named
36934 something starting with __ and the normal name is an alias. */
36935 #if defined __stub_$ac_func || defined __stub___$ac_func
36936 choke me
36937 #endif
36938
36939 int
36940 main ()
36941 {
36942 return $ac_func ();
36943 ;
36944 return 0;
36945 }
36946 _ACEOF
36947 rm -f conftest.$ac_objext conftest$ac_exeext
36948 if { (ac_try="$ac_link"
36949 case "(($ac_try" in
36950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36951 *) ac_try_echo=$ac_try;;
36952 esac
36953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36954 (eval "$ac_link") 2>conftest.er1
36955 ac_status=$?
36956 grep -v '^ *+' conftest.er1 >conftest.err
36957 rm -f conftest.er1
36958 cat conftest.err >&5
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); } && {
36961 test -z "$ac_c_werror_flag" ||
36962 test ! -s conftest.err
36963 } && test -s conftest$ac_exeext &&
36964 $as_test_x conftest$ac_exeext; then
36965 eval "$as_ac_var=yes"
36966 else
36967 echo "$as_me: failed program was:" >&5
36968 sed 's/^/| /' conftest.$ac_ext >&5
36969
36970 eval "$as_ac_var=no"
36971 fi
36972
36973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36974 conftest$ac_exeext conftest.$ac_ext
36975 fi
36976 ac_res=`eval echo '${'$as_ac_var'}'`
36977 { echo "$as_me:$LINENO: result: $ac_res" >&5
36978 echo "${ECHO_T}$ac_res" >&6; }
36979 if test `eval echo '${'$as_ac_var'}'` = yes; then
36980 cat >>confdefs.h <<_ACEOF
36981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36982 _ACEOF
36983 break
36984 fi
36985 done
36986
36987
36988 HAVE_SOME_SLEEP_FUNC=0
36989 if test "$USE_BEOS" = 1; then
36990 cat >>confdefs.h <<\_ACEOF
36991 #define HAVE_SLEEP 1
36992 _ACEOF
36993
36994 HAVE_SOME_SLEEP_FUNC=1
36995 fi
36996
36997 if test "$USE_DARWIN" = 1; then
36998 cat >>confdefs.h <<\_ACEOF
36999 #define HAVE_USLEEP 1
37000 _ACEOF
37001
37002 HAVE_SOME_SLEEP_FUNC=1
37003 fi
37004
37005 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37006 POSIX4_LINK=
37007
37008 for ac_func in nanosleep
37009 do
37010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37013 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37015 else
37016 cat >conftest.$ac_ext <<_ACEOF
37017 /* confdefs.h. */
37018 _ACEOF
37019 cat confdefs.h >>conftest.$ac_ext
37020 cat >>conftest.$ac_ext <<_ACEOF
37021 /* end confdefs.h. */
37022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37024 #define $ac_func innocuous_$ac_func
37025
37026 /* System header to define __stub macros and hopefully few prototypes,
37027 which can conflict with char $ac_func (); below.
37028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37029 <limits.h> exists even on freestanding compilers. */
37030
37031 #ifdef __STDC__
37032 # include <limits.h>
37033 #else
37034 # include <assert.h>
37035 #endif
37036
37037 #undef $ac_func
37038
37039 /* Override any GCC internal prototype to avoid an error.
37040 Use char because int might match the return type of a GCC
37041 builtin and then its argument prototype would still apply. */
37042 #ifdef __cplusplus
37043 extern "C"
37044 #endif
37045 char $ac_func ();
37046 /* The GNU C library defines this for functions which it implements
37047 to always fail with ENOSYS. Some functions are actually named
37048 something starting with __ and the normal name is an alias. */
37049 #if defined __stub_$ac_func || defined __stub___$ac_func
37050 choke me
37051 #endif
37052
37053 int
37054 main ()
37055 {
37056 return $ac_func ();
37057 ;
37058 return 0;
37059 }
37060 _ACEOF
37061 rm -f conftest.$ac_objext conftest$ac_exeext
37062 if { (ac_try="$ac_link"
37063 case "(($ac_try" in
37064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37065 *) ac_try_echo=$ac_try;;
37066 esac
37067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37068 (eval "$ac_link") 2>conftest.er1
37069 ac_status=$?
37070 grep -v '^ *+' conftest.er1 >conftest.err
37071 rm -f conftest.er1
37072 cat conftest.err >&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } && {
37075 test -z "$ac_c_werror_flag" ||
37076 test ! -s conftest.err
37077 } && test -s conftest$ac_exeext &&
37078 $as_test_x conftest$ac_exeext; then
37079 eval "$as_ac_var=yes"
37080 else
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.$ac_ext >&5
37083
37084 eval "$as_ac_var=no"
37085 fi
37086
37087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37088 conftest$ac_exeext conftest.$ac_ext
37089 fi
37090 ac_res=`eval echo '${'$as_ac_var'}'`
37091 { echo "$as_me:$LINENO: result: $ac_res" >&5
37092 echo "${ECHO_T}$ac_res" >&6; }
37093 if test `eval echo '${'$as_ac_var'}'` = yes; then
37094 cat >>confdefs.h <<_ACEOF
37095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37096 _ACEOF
37097 cat >>confdefs.h <<\_ACEOF
37098 #define HAVE_NANOSLEEP 1
37099 _ACEOF
37100
37101 else
37102
37103 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37104 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37105 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37106 echo $ECHO_N "(cached) $ECHO_C" >&6
37107 else
37108 ac_check_lib_save_LIBS=$LIBS
37109 LIBS="-lposix4 $LIBS"
37110 cat >conftest.$ac_ext <<_ACEOF
37111 /* confdefs.h. */
37112 _ACEOF
37113 cat confdefs.h >>conftest.$ac_ext
37114 cat >>conftest.$ac_ext <<_ACEOF
37115 /* end confdefs.h. */
37116
37117 /* Override any GCC internal prototype to avoid an error.
37118 Use char because int might match the return type of a GCC
37119 builtin and then its argument prototype would still apply. */
37120 #ifdef __cplusplus
37121 extern "C"
37122 #endif
37123 char nanosleep ();
37124 int
37125 main ()
37126 {
37127 return nanosleep ();
37128 ;
37129 return 0;
37130 }
37131 _ACEOF
37132 rm -f conftest.$ac_objext conftest$ac_exeext
37133 if { (ac_try="$ac_link"
37134 case "(($ac_try" in
37135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37136 *) ac_try_echo=$ac_try;;
37137 esac
37138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37139 (eval "$ac_link") 2>conftest.er1
37140 ac_status=$?
37141 grep -v '^ *+' conftest.er1 >conftest.err
37142 rm -f conftest.er1
37143 cat conftest.err >&5
37144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37145 (exit $ac_status); } && {
37146 test -z "$ac_c_werror_flag" ||
37147 test ! -s conftest.err
37148 } && test -s conftest$ac_exeext &&
37149 $as_test_x conftest$ac_exeext; then
37150 ac_cv_lib_posix4_nanosleep=yes
37151 else
37152 echo "$as_me: failed program was:" >&5
37153 sed 's/^/| /' conftest.$ac_ext >&5
37154
37155 ac_cv_lib_posix4_nanosleep=no
37156 fi
37157
37158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37159 conftest$ac_exeext conftest.$ac_ext
37160 LIBS=$ac_check_lib_save_LIBS
37161 fi
37162 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37163 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37164 if test $ac_cv_lib_posix4_nanosleep = yes; then
37165
37166 cat >>confdefs.h <<\_ACEOF
37167 #define HAVE_NANOSLEEP 1
37168 _ACEOF
37169
37170 POSIX4_LINK=" -lposix4"
37171
37172 else
37173
37174
37175 for wx_func in usleep
37176 do
37177 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37178 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37179 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37180 echo $ECHO_N "(cached) $ECHO_C" >&6
37181 else
37182
37183 cat >conftest.$ac_ext <<_ACEOF
37184
37185 /* confdefs.h. */
37186 _ACEOF
37187 cat confdefs.h >>conftest.$ac_ext
37188 cat >>conftest.$ac_ext <<_ACEOF
37189 /* end confdefs.h. */
37190
37191
37192 $ac_includes_default
37193
37194 int
37195 main ()
37196 {
37197
37198 #ifndef $wx_func
37199 &$wx_func;
37200 #endif
37201
37202
37203 ;
37204 return 0;
37205 }
37206
37207 _ACEOF
37208 rm -f conftest.$ac_objext conftest$ac_exeext
37209 if { (ac_try="$ac_link"
37210 case "(($ac_try" in
37211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37212 *) ac_try_echo=$ac_try;;
37213 esac
37214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37215 (eval "$ac_link") 2>conftest.er1
37216 ac_status=$?
37217 grep -v '^ *+' conftest.er1 >conftest.err
37218 rm -f conftest.er1
37219 cat conftest.err >&5
37220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221 (exit $ac_status); } && {
37222 test -z "$ac_c_werror_flag" ||
37223 test ! -s conftest.err
37224 } && test -s conftest$ac_exeext &&
37225 $as_test_x conftest$ac_exeext; then
37226 eval wx_cv_func_$wx_func=yes
37227 else
37228 echo "$as_me: failed program was:" >&5
37229 sed 's/^/| /' conftest.$ac_ext >&5
37230
37231 eval wx_cv_func_$wx_func=no
37232 fi
37233
37234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37235 conftest$ac_exeext conftest.$ac_ext
37236
37237 fi
37238 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37239 { echo "$as_me:$LINENO: result: $ac_res" >&5
37240 echo "${ECHO_T}$ac_res" >&6; }
37241
37242 if eval test \$wx_cv_func_$wx_func = yes
37243 then
37244 cat >>confdefs.h <<_ACEOF
37245 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37246 _ACEOF
37247
37248
37249 else
37250 :
37251 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37252 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37253
37254 fi
37255 done
37256
37257
37258
37259 fi
37260
37261
37262
37263 fi
37264 done
37265
37266 fi
37267
37268
37269 for wx_func in uname
37270 do
37271 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37272 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37273 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37274 echo $ECHO_N "(cached) $ECHO_C" >&6
37275 else
37276
37277 cat >conftest.$ac_ext <<_ACEOF
37278
37279 /* confdefs.h. */
37280 _ACEOF
37281 cat confdefs.h >>conftest.$ac_ext
37282 cat >>conftest.$ac_ext <<_ACEOF
37283 /* end confdefs.h. */
37284
37285 #include <sys/utsname.h>
37286 $ac_includes_default
37287
37288 int
37289 main ()
37290 {
37291
37292 #ifndef $wx_func
37293 &$wx_func;
37294 #endif
37295
37296
37297 ;
37298 return 0;
37299 }
37300
37301 _ACEOF
37302 rm -f conftest.$ac_objext conftest$ac_exeext
37303 if { (ac_try="$ac_link"
37304 case "(($ac_try" in
37305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37306 *) ac_try_echo=$ac_try;;
37307 esac
37308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37309 (eval "$ac_link") 2>conftest.er1
37310 ac_status=$?
37311 grep -v '^ *+' conftest.er1 >conftest.err
37312 rm -f conftest.er1
37313 cat conftest.err >&5
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); } && {
37316 test -z "$ac_c_werror_flag" ||
37317 test ! -s conftest.err
37318 } && test -s conftest$ac_exeext &&
37319 $as_test_x conftest$ac_exeext; then
37320 eval wx_cv_func_$wx_func=yes
37321 else
37322 echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.$ac_ext >&5
37324
37325 eval wx_cv_func_$wx_func=no
37326 fi
37327
37328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37329 conftest$ac_exeext conftest.$ac_ext
37330
37331 fi
37332 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37333 { echo "$as_me:$LINENO: result: $ac_res" >&5
37334 echo "${ECHO_T}$ac_res" >&6; }
37335
37336 if eval test \$wx_cv_func_$wx_func = yes
37337 then
37338 cat >>confdefs.h <<_ACEOF
37339 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37340 _ACEOF
37341
37342
37343 else
37344 :
37345
37346 fi
37347 done
37348
37349 if test "$wx_cv_func_uname" != yes; then
37350
37351 for wx_func in gethostname
37352 do
37353 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37354 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37355 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37356 echo $ECHO_N "(cached) $ECHO_C" >&6
37357 else
37358
37359 cat >conftest.$ac_ext <<_ACEOF
37360
37361 /* confdefs.h. */
37362 _ACEOF
37363 cat confdefs.h >>conftest.$ac_ext
37364 cat >>conftest.$ac_ext <<_ACEOF
37365 /* end confdefs.h. */
37366
37367
37368 $ac_includes_default
37369
37370 int
37371 main ()
37372 {
37373
37374 #ifndef $wx_func
37375 &$wx_func;
37376 #endif
37377
37378
37379 ;
37380 return 0;
37381 }
37382
37383 _ACEOF
37384 rm -f conftest.$ac_objext conftest$ac_exeext
37385 if { (ac_try="$ac_link"
37386 case "(($ac_try" in
37387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37388 *) ac_try_echo=$ac_try;;
37389 esac
37390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37391 (eval "$ac_link") 2>conftest.er1
37392 ac_status=$?
37393 grep -v '^ *+' conftest.er1 >conftest.err
37394 rm -f conftest.er1
37395 cat conftest.err >&5
37396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37397 (exit $ac_status); } && {
37398 test -z "$ac_c_werror_flag" ||
37399 test ! -s conftest.err
37400 } && test -s conftest$ac_exeext &&
37401 $as_test_x conftest$ac_exeext; then
37402 eval wx_cv_func_$wx_func=yes
37403 else
37404 echo "$as_me: failed program was:" >&5
37405 sed 's/^/| /' conftest.$ac_ext >&5
37406
37407 eval wx_cv_func_$wx_func=no
37408 fi
37409
37410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37411 conftest$ac_exeext conftest.$ac_ext
37412
37413 fi
37414 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37415 { echo "$as_me:$LINENO: result: $ac_res" >&5
37416 echo "${ECHO_T}$ac_res" >&6; }
37417
37418 if eval test \$wx_cv_func_$wx_func = yes
37419 then
37420 cat >>confdefs.h <<_ACEOF
37421 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37422 _ACEOF
37423
37424
37425 else
37426 :
37427
37428 fi
37429 done
37430
37431 fi
37432
37433
37434 for wx_func in strtok_r
37435 do
37436 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37437 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37438 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37439 echo $ECHO_N "(cached) $ECHO_C" >&6
37440 else
37441
37442 cat >conftest.$ac_ext <<_ACEOF
37443
37444 /* confdefs.h. */
37445 _ACEOF
37446 cat confdefs.h >>conftest.$ac_ext
37447 cat >>conftest.$ac_ext <<_ACEOF
37448 /* end confdefs.h. */
37449
37450 #define _REENTRANT
37451 $ac_includes_default
37452
37453 int
37454 main ()
37455 {
37456
37457 #ifndef $wx_func
37458 &$wx_func;
37459 #endif
37460
37461
37462 ;
37463 return 0;
37464 }
37465
37466 _ACEOF
37467 rm -f conftest.$ac_objext conftest$ac_exeext
37468 if { (ac_try="$ac_link"
37469 case "(($ac_try" in
37470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37471 *) ac_try_echo=$ac_try;;
37472 esac
37473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37474 (eval "$ac_link") 2>conftest.er1
37475 ac_status=$?
37476 grep -v '^ *+' conftest.er1 >conftest.err
37477 rm -f conftest.er1
37478 cat conftest.err >&5
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); } && {
37481 test -z "$ac_c_werror_flag" ||
37482 test ! -s conftest.err
37483 } && test -s conftest$ac_exeext &&
37484 $as_test_x conftest$ac_exeext; then
37485 eval wx_cv_func_$wx_func=yes
37486 else
37487 echo "$as_me: failed program was:" >&5
37488 sed 's/^/| /' conftest.$ac_ext >&5
37489
37490 eval wx_cv_func_$wx_func=no
37491 fi
37492
37493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37494 conftest$ac_exeext conftest.$ac_ext
37495
37496 fi
37497 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37498 { echo "$as_me:$LINENO: result: $ac_res" >&5
37499 echo "${ECHO_T}$ac_res" >&6; }
37500
37501 if eval test \$wx_cv_func_$wx_func = yes
37502 then
37503 cat >>confdefs.h <<_ACEOF
37504 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37505 _ACEOF
37506
37507
37508 else
37509 :
37510
37511 fi
37512 done
37513
37514
37515 INET_LINK=
37516
37517 for ac_func in inet_addr
37518 do
37519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37520 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37523 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 else
37525 cat >conftest.$ac_ext <<_ACEOF
37526 /* confdefs.h. */
37527 _ACEOF
37528 cat confdefs.h >>conftest.$ac_ext
37529 cat >>conftest.$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37533 #define $ac_func innocuous_$ac_func
37534
37535 /* System header to define __stub macros and hopefully few prototypes,
37536 which can conflict with char $ac_func (); below.
37537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37538 <limits.h> exists even on freestanding compilers. */
37539
37540 #ifdef __STDC__
37541 # include <limits.h>
37542 #else
37543 # include <assert.h>
37544 #endif
37545
37546 #undef $ac_func
37547
37548 /* Override any GCC internal prototype to avoid an error.
37549 Use char because int might match the return type of a GCC
37550 builtin and then its argument prototype would still apply. */
37551 #ifdef __cplusplus
37552 extern "C"
37553 #endif
37554 char $ac_func ();
37555 /* The GNU C library defines this for functions which it implements
37556 to always fail with ENOSYS. Some functions are actually named
37557 something starting with __ and the normal name is an alias. */
37558 #if defined __stub_$ac_func || defined __stub___$ac_func
37559 choke me
37560 #endif
37561
37562 int
37563 main ()
37564 {
37565 return $ac_func ();
37566 ;
37567 return 0;
37568 }
37569 _ACEOF
37570 rm -f conftest.$ac_objext conftest$ac_exeext
37571 if { (ac_try="$ac_link"
37572 case "(($ac_try" in
37573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37574 *) ac_try_echo=$ac_try;;
37575 esac
37576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37577 (eval "$ac_link") 2>conftest.er1
37578 ac_status=$?
37579 grep -v '^ *+' conftest.er1 >conftest.err
37580 rm -f conftest.er1
37581 cat conftest.err >&5
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); } && {
37584 test -z "$ac_c_werror_flag" ||
37585 test ! -s conftest.err
37586 } && test -s conftest$ac_exeext &&
37587 $as_test_x conftest$ac_exeext; then
37588 eval "$as_ac_var=yes"
37589 else
37590 echo "$as_me: failed program was:" >&5
37591 sed 's/^/| /' conftest.$ac_ext >&5
37592
37593 eval "$as_ac_var=no"
37594 fi
37595
37596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37597 conftest$ac_exeext conftest.$ac_ext
37598 fi
37599 ac_res=`eval echo '${'$as_ac_var'}'`
37600 { echo "$as_me:$LINENO: result: $ac_res" >&5
37601 echo "${ECHO_T}$ac_res" >&6; }
37602 if test `eval echo '${'$as_ac_var'}'` = yes; then
37603 cat >>confdefs.h <<_ACEOF
37604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37605 _ACEOF
37606 cat >>confdefs.h <<\_ACEOF
37607 #define HAVE_INET_ADDR 1
37608 _ACEOF
37609
37610 else
37611
37612 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37613 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37614 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37615 echo $ECHO_N "(cached) $ECHO_C" >&6
37616 else
37617 ac_check_lib_save_LIBS=$LIBS
37618 LIBS="-lnsl $LIBS"
37619 cat >conftest.$ac_ext <<_ACEOF
37620 /* confdefs.h. */
37621 _ACEOF
37622 cat confdefs.h >>conftest.$ac_ext
37623 cat >>conftest.$ac_ext <<_ACEOF
37624 /* end confdefs.h. */
37625
37626 /* Override any GCC internal prototype to avoid an error.
37627 Use char because int might match the return type of a GCC
37628 builtin and then its argument prototype would still apply. */
37629 #ifdef __cplusplus
37630 extern "C"
37631 #endif
37632 char inet_addr ();
37633 int
37634 main ()
37635 {
37636 return inet_addr ();
37637 ;
37638 return 0;
37639 }
37640 _ACEOF
37641 rm -f conftest.$ac_objext conftest$ac_exeext
37642 if { (ac_try="$ac_link"
37643 case "(($ac_try" in
37644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37645 *) ac_try_echo=$ac_try;;
37646 esac
37647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37648 (eval "$ac_link") 2>conftest.er1
37649 ac_status=$?
37650 grep -v '^ *+' conftest.er1 >conftest.err
37651 rm -f conftest.er1
37652 cat conftest.err >&5
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); } && {
37655 test -z "$ac_c_werror_flag" ||
37656 test ! -s conftest.err
37657 } && test -s conftest$ac_exeext &&
37658 $as_test_x conftest$ac_exeext; then
37659 ac_cv_lib_nsl_inet_addr=yes
37660 else
37661 echo "$as_me: failed program was:" >&5
37662 sed 's/^/| /' conftest.$ac_ext >&5
37663
37664 ac_cv_lib_nsl_inet_addr=no
37665 fi
37666
37667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37668 conftest$ac_exeext conftest.$ac_ext
37669 LIBS=$ac_check_lib_save_LIBS
37670 fi
37671 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37672 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37673 if test $ac_cv_lib_nsl_inet_addr = yes; then
37674 INET_LINK="nsl"
37675 else
37676
37677 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37678 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37679 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37680 echo $ECHO_N "(cached) $ECHO_C" >&6
37681 else
37682 ac_check_lib_save_LIBS=$LIBS
37683 LIBS="-lresolv $LIBS"
37684 cat >conftest.$ac_ext <<_ACEOF
37685 /* confdefs.h. */
37686 _ACEOF
37687 cat confdefs.h >>conftest.$ac_ext
37688 cat >>conftest.$ac_ext <<_ACEOF
37689 /* end confdefs.h. */
37690
37691 /* Override any GCC internal prototype to avoid an error.
37692 Use char because int might match the return type of a GCC
37693 builtin and then its argument prototype would still apply. */
37694 #ifdef __cplusplus
37695 extern "C"
37696 #endif
37697 char inet_addr ();
37698 int
37699 main ()
37700 {
37701 return inet_addr ();
37702 ;
37703 return 0;
37704 }
37705 _ACEOF
37706 rm -f conftest.$ac_objext conftest$ac_exeext
37707 if { (ac_try="$ac_link"
37708 case "(($ac_try" in
37709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37710 *) ac_try_echo=$ac_try;;
37711 esac
37712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37713 (eval "$ac_link") 2>conftest.er1
37714 ac_status=$?
37715 grep -v '^ *+' conftest.er1 >conftest.err
37716 rm -f conftest.er1
37717 cat conftest.err >&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); } && {
37720 test -z "$ac_c_werror_flag" ||
37721 test ! -s conftest.err
37722 } && test -s conftest$ac_exeext &&
37723 $as_test_x conftest$ac_exeext; then
37724 ac_cv_lib_resolv_inet_addr=yes
37725 else
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.$ac_ext >&5
37728
37729 ac_cv_lib_resolv_inet_addr=no
37730 fi
37731
37732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37733 conftest$ac_exeext conftest.$ac_ext
37734 LIBS=$ac_check_lib_save_LIBS
37735 fi
37736 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37737 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37738 if test $ac_cv_lib_resolv_inet_addr = yes; then
37739 INET_LINK="resolv"
37740 else
37741
37742 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37743 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37744 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37745 echo $ECHO_N "(cached) $ECHO_C" >&6
37746 else
37747 ac_check_lib_save_LIBS=$LIBS
37748 LIBS="-lsocket $LIBS"
37749 cat >conftest.$ac_ext <<_ACEOF
37750 /* confdefs.h. */
37751 _ACEOF
37752 cat confdefs.h >>conftest.$ac_ext
37753 cat >>conftest.$ac_ext <<_ACEOF
37754 /* end confdefs.h. */
37755
37756 /* Override any GCC internal prototype to avoid an error.
37757 Use char because int might match the return type of a GCC
37758 builtin and then its argument prototype would still apply. */
37759 #ifdef __cplusplus
37760 extern "C"
37761 #endif
37762 char inet_addr ();
37763 int
37764 main ()
37765 {
37766 return inet_addr ();
37767 ;
37768 return 0;
37769 }
37770 _ACEOF
37771 rm -f conftest.$ac_objext conftest$ac_exeext
37772 if { (ac_try="$ac_link"
37773 case "(($ac_try" in
37774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37775 *) ac_try_echo=$ac_try;;
37776 esac
37777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37778 (eval "$ac_link") 2>conftest.er1
37779 ac_status=$?
37780 grep -v '^ *+' conftest.er1 >conftest.err
37781 rm -f conftest.er1
37782 cat conftest.err >&5
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); } && {
37785 test -z "$ac_c_werror_flag" ||
37786 test ! -s conftest.err
37787 } && test -s conftest$ac_exeext &&
37788 $as_test_x conftest$ac_exeext; then
37789 ac_cv_lib_socket_inet_addr=yes
37790 else
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.$ac_ext >&5
37793
37794 ac_cv_lib_socket_inet_addr=no
37795 fi
37796
37797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37798 conftest$ac_exeext conftest.$ac_ext
37799 LIBS=$ac_check_lib_save_LIBS
37800 fi
37801 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37802 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37803 if test $ac_cv_lib_socket_inet_addr = yes; then
37804 INET_LINK="socket"
37805
37806 fi
37807
37808
37809
37810 fi
37811
37812
37813
37814 fi
37815
37816
37817
37818 fi
37819 done
37820
37821
37822
37823 for ac_func in inet_aton
37824 do
37825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37829 echo $ECHO_N "(cached) $ECHO_C" >&6
37830 else
37831 cat >conftest.$ac_ext <<_ACEOF
37832 /* confdefs.h. */
37833 _ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37839 #define $ac_func innocuous_$ac_func
37840
37841 /* System header to define __stub macros and hopefully few prototypes,
37842 which can conflict with char $ac_func (); below.
37843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37844 <limits.h> exists even on freestanding compilers. */
37845
37846 #ifdef __STDC__
37847 # include <limits.h>
37848 #else
37849 # include <assert.h>
37850 #endif
37851
37852 #undef $ac_func
37853
37854 /* Override any GCC internal prototype to avoid an error.
37855 Use char because int might match the return type of a GCC
37856 builtin and then its argument prototype would still apply. */
37857 #ifdef __cplusplus
37858 extern "C"
37859 #endif
37860 char $ac_func ();
37861 /* The GNU C library defines this for functions which it implements
37862 to always fail with ENOSYS. Some functions are actually named
37863 something starting with __ and the normal name is an alias. */
37864 #if defined __stub_$ac_func || defined __stub___$ac_func
37865 choke me
37866 #endif
37867
37868 int
37869 main ()
37870 {
37871 return $ac_func ();
37872 ;
37873 return 0;
37874 }
37875 _ACEOF
37876 rm -f conftest.$ac_objext conftest$ac_exeext
37877 if { (ac_try="$ac_link"
37878 case "(($ac_try" in
37879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37880 *) ac_try_echo=$ac_try;;
37881 esac
37882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37883 (eval "$ac_link") 2>conftest.er1
37884 ac_status=$?
37885 grep -v '^ *+' conftest.er1 >conftest.err
37886 rm -f conftest.er1
37887 cat conftest.err >&5
37888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37889 (exit $ac_status); } && {
37890 test -z "$ac_c_werror_flag" ||
37891 test ! -s conftest.err
37892 } && test -s conftest$ac_exeext &&
37893 $as_test_x conftest$ac_exeext; then
37894 eval "$as_ac_var=yes"
37895 else
37896 echo "$as_me: failed program was:" >&5
37897 sed 's/^/| /' conftest.$ac_ext >&5
37898
37899 eval "$as_ac_var=no"
37900 fi
37901
37902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37903 conftest$ac_exeext conftest.$ac_ext
37904 fi
37905 ac_res=`eval echo '${'$as_ac_var'}'`
37906 { echo "$as_me:$LINENO: result: $ac_res" >&5
37907 echo "${ECHO_T}$ac_res" >&6; }
37908 if test `eval echo '${'$as_ac_var'}'` = yes; then
37909 cat >>confdefs.h <<_ACEOF
37910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37911 _ACEOF
37912 cat >>confdefs.h <<\_ACEOF
37913 #define HAVE_INET_ATON 1
37914 _ACEOF
37915
37916 else
37917
37918 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37919 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37920 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37921 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37922 echo $ECHO_N "(cached) $ECHO_C" >&6
37923 else
37924 ac_check_lib_save_LIBS=$LIBS
37925 LIBS="-l$INET_LINK $LIBS"
37926 cat >conftest.$ac_ext <<_ACEOF
37927 /* confdefs.h. */
37928 _ACEOF
37929 cat confdefs.h >>conftest.$ac_ext
37930 cat >>conftest.$ac_ext <<_ACEOF
37931 /* end confdefs.h. */
37932
37933 /* Override any GCC internal prototype to avoid an error.
37934 Use char because int might match the return type of a GCC
37935 builtin and then its argument prototype would still apply. */
37936 #ifdef __cplusplus
37937 extern "C"
37938 #endif
37939 char inet_aton ();
37940 int
37941 main ()
37942 {
37943 return inet_aton ();
37944 ;
37945 return 0;
37946 }
37947 _ACEOF
37948 rm -f conftest.$ac_objext conftest$ac_exeext
37949 if { (ac_try="$ac_link"
37950 case "(($ac_try" in
37951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37952 *) ac_try_echo=$ac_try;;
37953 esac
37954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37955 (eval "$ac_link") 2>conftest.er1
37956 ac_status=$?
37957 grep -v '^ *+' conftest.er1 >conftest.err
37958 rm -f conftest.er1
37959 cat conftest.err >&5
37960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37961 (exit $ac_status); } && {
37962 test -z "$ac_c_werror_flag" ||
37963 test ! -s conftest.err
37964 } && test -s conftest$ac_exeext &&
37965 $as_test_x conftest$ac_exeext; then
37966 eval "$as_ac_Lib=yes"
37967 else
37968 echo "$as_me: failed program was:" >&5
37969 sed 's/^/| /' conftest.$ac_ext >&5
37970
37971 eval "$as_ac_Lib=no"
37972 fi
37973
37974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37975 conftest$ac_exeext conftest.$ac_ext
37976 LIBS=$ac_check_lib_save_LIBS
37977 fi
37978 ac_res=`eval echo '${'$as_ac_Lib'}'`
37979 { echo "$as_me:$LINENO: result: $ac_res" >&5
37980 echo "${ECHO_T}$ac_res" >&6; }
37981 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37982 cat >>confdefs.h <<\_ACEOF
37983 #define HAVE_INET_ATON 1
37984 _ACEOF
37985
37986 fi
37987
37988
37989 fi
37990 done
37991
37992
37993 if test "x$INET_LINK" != "x"; then
37994 cat >>confdefs.h <<\_ACEOF
37995 #define HAVE_INET_ADDR 1
37996 _ACEOF
37997
37998 INET_LINK=" -l$INET_LINK"
37999 fi
38000
38001
38002 for wx_func in fdopen
38003 do
38004 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38005 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38006 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38007 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 else
38009
38010 cat >conftest.$ac_ext <<_ACEOF
38011
38012 /* confdefs.h. */
38013 _ACEOF
38014 cat confdefs.h >>conftest.$ac_ext
38015 cat >>conftest.$ac_ext <<_ACEOF
38016 /* end confdefs.h. */
38017
38018
38019 $ac_includes_default
38020
38021 int
38022 main ()
38023 {
38024
38025 #ifndef $wx_func
38026 &$wx_func;
38027 #endif
38028
38029
38030 ;
38031 return 0;
38032 }
38033
38034 _ACEOF
38035 rm -f conftest.$ac_objext conftest$ac_exeext
38036 if { (ac_try="$ac_link"
38037 case "(($ac_try" in
38038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38039 *) ac_try_echo=$ac_try;;
38040 esac
38041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38042 (eval "$ac_link") 2>conftest.er1
38043 ac_status=$?
38044 grep -v '^ *+' conftest.er1 >conftest.err
38045 rm -f conftest.er1
38046 cat conftest.err >&5
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); } && {
38049 test -z "$ac_c_werror_flag" ||
38050 test ! -s conftest.err
38051 } && test -s conftest$ac_exeext &&
38052 $as_test_x conftest$ac_exeext; then
38053 eval wx_cv_func_$wx_func=yes
38054 else
38055 echo "$as_me: failed program was:" >&5
38056 sed 's/^/| /' conftest.$ac_ext >&5
38057
38058 eval wx_cv_func_$wx_func=no
38059 fi
38060
38061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38062 conftest$ac_exeext conftest.$ac_ext
38063
38064 fi
38065 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38066 { echo "$as_me:$LINENO: result: $ac_res" >&5
38067 echo "${ECHO_T}$ac_res" >&6; }
38068
38069 if eval test \$wx_cv_func_$wx_func = yes
38070 then
38071 cat >>confdefs.h <<_ACEOF
38072 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38073 _ACEOF
38074
38075
38076 else
38077 :
38078
38079 fi
38080 done
38081
38082
38083 fi
38084
38085
38086
38087 cat >confcache <<\_ACEOF
38088 # This file is a shell script that caches the results of configure
38089 # tests run on this system so they can be shared between configure
38090 # scripts and configure runs, see configure's option --config-cache.
38091 # It is not useful on other systems. If it contains results you don't
38092 # want to keep, you may remove or edit it.
38093 #
38094 # config.status only pays attention to the cache file if you give it
38095 # the --recheck option to rerun configure.
38096 #
38097 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38098 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38099 # following values.
38100
38101 _ACEOF
38102
38103 # The following way of writing the cache mishandles newlines in values,
38104 # but we know of no workaround that is simple, portable, and efficient.
38105 # So, we kill variables containing newlines.
38106 # Ultrix sh set writes to stderr and can't be redirected directly,
38107 # and sets the high bit in the cache file unless we assign to the vars.
38108 (
38109 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38110 eval ac_val=\$$ac_var
38111 case $ac_val in #(
38112 *${as_nl}*)
38113 case $ac_var in #(
38114 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38115 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38116 esac
38117 case $ac_var in #(
38118 _ | IFS | as_nl) ;; #(
38119 *) $as_unset $ac_var ;;
38120 esac ;;
38121 esac
38122 done
38123
38124 (set) 2>&1 |
38125 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38126 *${as_nl}ac_space=\ *)
38127 # `set' does not quote correctly, so add quotes (double-quote
38128 # substitution turns \\\\ into \\, and sed turns \\ into \).
38129 sed -n \
38130 "s/'/'\\\\''/g;
38131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38132 ;; #(
38133 *)
38134 # `set' quotes correctly as required by POSIX, so do not add quotes.
38135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38136 ;;
38137 esac |
38138 sort
38139 ) |
38140 sed '
38141 /^ac_cv_env_/b end
38142 t clear
38143 :clear
38144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38145 t end
38146 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38147 :end' >>confcache
38148 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38149 if test -w "$cache_file"; then
38150 test "x$cache_file" != "x/dev/null" &&
38151 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38152 echo "$as_me: updating cache $cache_file" >&6;}
38153 cat confcache >$cache_file
38154 else
38155 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38156 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38157 fi
38158 fi
38159 rm -f confcache
38160
38161
38162 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38163
38164
38165 THREADS_LINK=
38166 THREADS_CFLAGS=
38167
38168 if test "$wxUSE_THREADS" = "yes" ; then
38169 if test "$USE_BEOS" = 1; then
38170 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38171 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38172 wxUSE_THREADS="no"
38173 fi
38174 fi
38175
38176 if test "$wxUSE_THREADS" = "yes" ; then
38177
38178
38179 THREAD_OPTS="-pthread"
38180 if test "x$SUNCXX" = xyes; then
38181 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38182 fi
38183
38184 case "${host}" in
38185 *-*-solaris2* | *-*-sunos4* )
38186 if test "x$GCC" = "xyes"; then
38187 THREAD_OPTS="-pthreads $THREAD_OPTS"
38188 fi
38189 ;;
38190 *-*-freebsd*)
38191 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38192 ;;
38193 *-*-darwin* | *-*-cygwin* )
38194 THREAD_OPTS=""
38195 ;;
38196 *-*-aix*)
38197 THREAD_OPTS="pthreads"
38198 ;;
38199 *-hp-hpux* )
38200 if test "x$GCC" = "xyes"; then
38201 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38202 THREAD_OPTS=""
38203 else
38204 THREAD_OPTS="-mt"
38205 fi
38206 ;;
38207
38208 *-*-irix* )
38209 if test "x$GCC" = "xyes"; then
38210 THREAD_OPTS=""
38211 fi
38212 ;;
38213
38214 *-*-*UnixWare*)
38215 if test "x$GCC" != "xyes"; then
38216 THREAD_OPTS="-Ethread"
38217 fi
38218 ;;
38219 esac
38220
38221 THREAD_OPTS="$THREAD_OPTS pthread none"
38222
38223 THREADS_OK=no
38224 for flag in $THREAD_OPTS; do
38225 case $flag in
38226 none)
38227 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38228 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38229 ;;
38230
38231 -*)
38232 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38233 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38234 THREADS_CFLAGS="$flag"
38235 ;;
38236
38237 *)
38238 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38239 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38240 THREADS_LINK="-l$flag"
38241 ;;
38242 esac
38243
38244 save_LIBS="$LIBS"
38245 save_CFLAGS="$CFLAGS"
38246 LIBS="$THREADS_LINK $LIBS"
38247 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38248
38249 cat >conftest.$ac_ext <<_ACEOF
38250 /* confdefs.h. */
38251 _ACEOF
38252 cat confdefs.h >>conftest.$ac_ext
38253 cat >>conftest.$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38255 #include <pthread.h>
38256 int
38257 main ()
38258 {
38259 pthread_create(0,0,0,0);
38260 ;
38261 return 0;
38262 }
38263 _ACEOF
38264 rm -f conftest.$ac_objext conftest$ac_exeext
38265 if { (ac_try="$ac_link"
38266 case "(($ac_try" in
38267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38268 *) ac_try_echo=$ac_try;;
38269 esac
38270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38271 (eval "$ac_link") 2>conftest.er1
38272 ac_status=$?
38273 grep -v '^ *+' conftest.er1 >conftest.err
38274 rm -f conftest.er1
38275 cat conftest.err >&5
38276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38277 (exit $ac_status); } && {
38278 test -z "$ac_c_werror_flag" ||
38279 test ! -s conftest.err
38280 } && test -s conftest$ac_exeext &&
38281 $as_test_x conftest$ac_exeext; then
38282 THREADS_OK=yes
38283 else
38284 echo "$as_me: failed program was:" >&5
38285 sed 's/^/| /' conftest.$ac_ext >&5
38286
38287
38288 fi
38289
38290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38291 conftest$ac_exeext conftest.$ac_ext
38292
38293 LIBS="$save_LIBS"
38294 CFLAGS="$save_CFLAGS"
38295
38296 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38297 echo "${ECHO_T}$THREADS_OK" >&6; }
38298 if test "x$THREADS_OK" = "xyes"; then
38299 break;
38300 fi
38301
38302 THREADS_LINK=""
38303 THREADS_CFLAGS=""
38304 done
38305
38306 if test "x$THREADS_OK" != "xyes"; then
38307 wxUSE_THREADS=no
38308 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38309 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38310 else
38311 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38312 LIBS="$THREADS_LINK $LIBS"
38313
38314 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38315 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38316 flag=no
38317 case "${host}" in
38318 *-aix*)
38319 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38320 flag="-D_THREAD_SAFE"
38321 ;;
38322 *-freebsd*)
38323 flag="-D_THREAD_SAFE"
38324 ;;
38325 *-hp-hpux* )
38326 flag="-D_REENTRANT"
38327 if test "x$GCC" != "xyes"; then
38328 flag="$flag -D_RWSTD_MULTI_THREAD"
38329 fi
38330 ;;
38331 *solaris* | alpha*-osf*)
38332 flag="-D_REENTRANT"
38333 ;;
38334 esac
38335 { echo "$as_me:$LINENO: result: ${flag}" >&5
38336 echo "${ECHO_T}${flag}" >&6; }
38337 if test "x$flag" != xno; then
38338 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38339 fi
38340
38341 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38342 fi
38343 fi
38344
38345 if test "$wxUSE_THREADS" = "yes" ; then
38346
38347 for ac_func in thr_setconcurrency
38348 do
38349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38353 echo $ECHO_N "(cached) $ECHO_C" >&6
38354 else
38355 cat >conftest.$ac_ext <<_ACEOF
38356 /* confdefs.h. */
38357 _ACEOF
38358 cat confdefs.h >>conftest.$ac_ext
38359 cat >>conftest.$ac_ext <<_ACEOF
38360 /* end confdefs.h. */
38361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38363 #define $ac_func innocuous_$ac_func
38364
38365 /* System header to define __stub macros and hopefully few prototypes,
38366 which can conflict with char $ac_func (); below.
38367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38368 <limits.h> exists even on freestanding compilers. */
38369
38370 #ifdef __STDC__
38371 # include <limits.h>
38372 #else
38373 # include <assert.h>
38374 #endif
38375
38376 #undef $ac_func
38377
38378 /* Override any GCC internal prototype to avoid an error.
38379 Use char because int might match the return type of a GCC
38380 builtin and then its argument prototype would still apply. */
38381 #ifdef __cplusplus
38382 extern "C"
38383 #endif
38384 char $ac_func ();
38385 /* The GNU C library defines this for functions which it implements
38386 to always fail with ENOSYS. Some functions are actually named
38387 something starting with __ and the normal name is an alias. */
38388 #if defined __stub_$ac_func || defined __stub___$ac_func
38389 choke me
38390 #endif
38391
38392 int
38393 main ()
38394 {
38395 return $ac_func ();
38396 ;
38397 return 0;
38398 }
38399 _ACEOF
38400 rm -f conftest.$ac_objext conftest$ac_exeext
38401 if { (ac_try="$ac_link"
38402 case "(($ac_try" in
38403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38404 *) ac_try_echo=$ac_try;;
38405 esac
38406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38407 (eval "$ac_link") 2>conftest.er1
38408 ac_status=$?
38409 grep -v '^ *+' conftest.er1 >conftest.err
38410 rm -f conftest.er1
38411 cat conftest.err >&5
38412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413 (exit $ac_status); } && {
38414 test -z "$ac_c_werror_flag" ||
38415 test ! -s conftest.err
38416 } && test -s conftest$ac_exeext &&
38417 $as_test_x conftest$ac_exeext; then
38418 eval "$as_ac_var=yes"
38419 else
38420 echo "$as_me: failed program was:" >&5
38421 sed 's/^/| /' conftest.$ac_ext >&5
38422
38423 eval "$as_ac_var=no"
38424 fi
38425
38426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38427 conftest$ac_exeext conftest.$ac_ext
38428 fi
38429 ac_res=`eval echo '${'$as_ac_var'}'`
38430 { echo "$as_me:$LINENO: result: $ac_res" >&5
38431 echo "${ECHO_T}$ac_res" >&6; }
38432 if test `eval echo '${'$as_ac_var'}'` = yes; then
38433 cat >>confdefs.h <<_ACEOF
38434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38435 _ACEOF
38436
38437 fi
38438 done
38439
38440
38441 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38442 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38443 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38444 echo $ECHO_N "(cached) $ECHO_C" >&6
38445 else
38446
38447 ac_ext=cpp
38448 ac_cpp='$CXXCPP $CPPFLAGS'
38449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38452
38453 cat >conftest.$ac_ext <<_ACEOF
38454 /* confdefs.h. */
38455 _ACEOF
38456 cat confdefs.h >>conftest.$ac_ext
38457 cat >>conftest.$ac_ext <<_ACEOF
38458 /* end confdefs.h. */
38459 #include <pthread.h>
38460 void ThreadCleanupFunc(void *p);
38461
38462 int
38463 main ()
38464 {
38465
38466 void *p;
38467 pthread_cleanup_push(ThreadCleanupFunc, p);
38468 pthread_cleanup_pop(0);
38469
38470 ;
38471 return 0;
38472 }
38473 _ACEOF
38474 rm -f conftest.$ac_objext
38475 if { (ac_try="$ac_compile"
38476 case "(($ac_try" in
38477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38478 *) ac_try_echo=$ac_try;;
38479 esac
38480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38481 (eval "$ac_compile") 2>conftest.er1
38482 ac_status=$?
38483 grep -v '^ *+' conftest.er1 >conftest.err
38484 rm -f conftest.er1
38485 cat conftest.err >&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); } && {
38488 test -z "$ac_cxx_werror_flag" ||
38489 test ! -s conftest.err
38490 } && test -s conftest.$ac_objext; then
38491
38492 wx_cv_func_pthread_cleanup=yes
38493
38494 else
38495 echo "$as_me: failed program was:" >&5
38496 sed 's/^/| /' conftest.$ac_ext >&5
38497
38498
38499 wx_cv_func_pthread_cleanup=no
38500
38501
38502 fi
38503
38504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38505 ac_ext=c
38506 ac_cpp='$CPP $CPPFLAGS'
38507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38510
38511
38512 fi
38513 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38514 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38515 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38516 cat >>confdefs.h <<\_ACEOF
38517 #define wxHAVE_PTHREAD_CLEANUP 1
38518 _ACEOF
38519
38520 fi
38521
38522 { echo "$as_me:$LINENO: checking for sched.h" >&5
38523 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38524 if test "${ac_cv_header_sched_h+set}" = set; then
38525 echo $ECHO_N "(cached) $ECHO_C" >&6
38526 else
38527 cat >conftest.$ac_ext <<_ACEOF
38528 /* confdefs.h. */
38529 _ACEOF
38530 cat confdefs.h >>conftest.$ac_ext
38531 cat >>conftest.$ac_ext <<_ACEOF
38532 /* end confdefs.h. */
38533 $ac_includes_default
38534
38535 #include <sched.h>
38536 _ACEOF
38537 rm -f conftest.$ac_objext
38538 if { (ac_try="$ac_compile"
38539 case "(($ac_try" in
38540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38541 *) ac_try_echo=$ac_try;;
38542 esac
38543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38544 (eval "$ac_compile") 2>conftest.er1
38545 ac_status=$?
38546 grep -v '^ *+' conftest.er1 >conftest.err
38547 rm -f conftest.er1
38548 cat conftest.err >&5
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); } && {
38551 test -z "$ac_c_werror_flag" ||
38552 test ! -s conftest.err
38553 } && test -s conftest.$ac_objext; then
38554 ac_cv_header_sched_h=yes
38555 else
38556 echo "$as_me: failed program was:" >&5
38557 sed 's/^/| /' conftest.$ac_ext >&5
38558
38559 ac_cv_header_sched_h=no
38560 fi
38561
38562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38563 fi
38564 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38565 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38566
38567
38568 if test "$ac_cv_header_sched_h" = "yes"; then
38569 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38570 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38571 if test "${ac_cv_func_sched_yield+set}" = set; then
38572 echo $ECHO_N "(cached) $ECHO_C" >&6
38573 else
38574 cat >conftest.$ac_ext <<_ACEOF
38575 /* confdefs.h. */
38576 _ACEOF
38577 cat confdefs.h >>conftest.$ac_ext
38578 cat >>conftest.$ac_ext <<_ACEOF
38579 /* end confdefs.h. */
38580 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38582 #define sched_yield innocuous_sched_yield
38583
38584 /* System header to define __stub macros and hopefully few prototypes,
38585 which can conflict with char sched_yield (); below.
38586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38587 <limits.h> exists even on freestanding compilers. */
38588
38589 #ifdef __STDC__
38590 # include <limits.h>
38591 #else
38592 # include <assert.h>
38593 #endif
38594
38595 #undef sched_yield
38596
38597 /* Override any GCC internal prototype to avoid an error.
38598 Use char because int might match the return type of a GCC
38599 builtin and then its argument prototype would still apply. */
38600 #ifdef __cplusplus
38601 extern "C"
38602 #endif
38603 char sched_yield ();
38604 /* The GNU C library defines this for functions which it implements
38605 to always fail with ENOSYS. Some functions are actually named
38606 something starting with __ and the normal name is an alias. */
38607 #if defined __stub_sched_yield || defined __stub___sched_yield
38608 choke me
38609 #endif
38610
38611 int
38612 main ()
38613 {
38614 return sched_yield ();
38615 ;
38616 return 0;
38617 }
38618 _ACEOF
38619 rm -f conftest.$ac_objext conftest$ac_exeext
38620 if { (ac_try="$ac_link"
38621 case "(($ac_try" in
38622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38623 *) ac_try_echo=$ac_try;;
38624 esac
38625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38626 (eval "$ac_link") 2>conftest.er1
38627 ac_status=$?
38628 grep -v '^ *+' conftest.er1 >conftest.err
38629 rm -f conftest.er1
38630 cat conftest.err >&5
38631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38632 (exit $ac_status); } && {
38633 test -z "$ac_c_werror_flag" ||
38634 test ! -s conftest.err
38635 } && test -s conftest$ac_exeext &&
38636 $as_test_x conftest$ac_exeext; then
38637 ac_cv_func_sched_yield=yes
38638 else
38639 echo "$as_me: failed program was:" >&5
38640 sed 's/^/| /' conftest.$ac_ext >&5
38641
38642 ac_cv_func_sched_yield=no
38643 fi
38644
38645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38646 conftest$ac_exeext conftest.$ac_ext
38647 fi
38648 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38649 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38650 if test $ac_cv_func_sched_yield = yes; then
38651 cat >>confdefs.h <<\_ACEOF
38652 #define HAVE_SCHED_YIELD 1
38653 _ACEOF
38654
38655 else
38656
38657 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38658 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38659 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38660 echo $ECHO_N "(cached) $ECHO_C" >&6
38661 else
38662 ac_check_lib_save_LIBS=$LIBS
38663 LIBS="-lposix4 $LIBS"
38664 cat >conftest.$ac_ext <<_ACEOF
38665 /* confdefs.h. */
38666 _ACEOF
38667 cat confdefs.h >>conftest.$ac_ext
38668 cat >>conftest.$ac_ext <<_ACEOF
38669 /* end confdefs.h. */
38670
38671 /* Override any GCC internal prototype to avoid an error.
38672 Use char because int might match the return type of a GCC
38673 builtin and then its argument prototype would still apply. */
38674 #ifdef __cplusplus
38675 extern "C"
38676 #endif
38677 char sched_yield ();
38678 int
38679 main ()
38680 {
38681 return sched_yield ();
38682 ;
38683 return 0;
38684 }
38685 _ACEOF
38686 rm -f conftest.$ac_objext conftest$ac_exeext
38687 if { (ac_try="$ac_link"
38688 case "(($ac_try" in
38689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38690 *) ac_try_echo=$ac_try;;
38691 esac
38692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38693 (eval "$ac_link") 2>conftest.er1
38694 ac_status=$?
38695 grep -v '^ *+' conftest.er1 >conftest.err
38696 rm -f conftest.er1
38697 cat conftest.err >&5
38698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38699 (exit $ac_status); } && {
38700 test -z "$ac_c_werror_flag" ||
38701 test ! -s conftest.err
38702 } && test -s conftest$ac_exeext &&
38703 $as_test_x conftest$ac_exeext; then
38704 ac_cv_lib_posix4_sched_yield=yes
38705 else
38706 echo "$as_me: failed program was:" >&5
38707 sed 's/^/| /' conftest.$ac_ext >&5
38708
38709 ac_cv_lib_posix4_sched_yield=no
38710 fi
38711
38712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38713 conftest$ac_exeext conftest.$ac_ext
38714 LIBS=$ac_check_lib_save_LIBS
38715 fi
38716 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38717 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38718 if test $ac_cv_lib_posix4_sched_yield = yes; then
38719 cat >>confdefs.h <<\_ACEOF
38720 #define HAVE_SCHED_YIELD 1
38721 _ACEOF
38722 POSIX4_LINK=" -lposix4"
38723 else
38724 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38725 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38726
38727 fi
38728
38729
38730
38731 fi
38732
38733 fi
38734
38735 HAVE_PRIOR_FUNCS=0
38736 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38737 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38738 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38739 echo $ECHO_N "(cached) $ECHO_C" >&6
38740 else
38741 cat >conftest.$ac_ext <<_ACEOF
38742 /* confdefs.h. */
38743 _ACEOF
38744 cat confdefs.h >>conftest.$ac_ext
38745 cat >>conftest.$ac_ext <<_ACEOF
38746 /* end confdefs.h. */
38747 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38749 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38750
38751 /* System header to define __stub macros and hopefully few prototypes,
38752 which can conflict with char pthread_attr_getschedpolicy (); below.
38753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38754 <limits.h> exists even on freestanding compilers. */
38755
38756 #ifdef __STDC__
38757 # include <limits.h>
38758 #else
38759 # include <assert.h>
38760 #endif
38761
38762 #undef pthread_attr_getschedpolicy
38763
38764 /* Override any GCC internal prototype to avoid an error.
38765 Use char because int might match the return type of a GCC
38766 builtin and then its argument prototype would still apply. */
38767 #ifdef __cplusplus
38768 extern "C"
38769 #endif
38770 char pthread_attr_getschedpolicy ();
38771 /* The GNU C library defines this for functions which it implements
38772 to always fail with ENOSYS. Some functions are actually named
38773 something starting with __ and the normal name is an alias. */
38774 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38775 choke me
38776 #endif
38777
38778 int
38779 main ()
38780 {
38781 return pthread_attr_getschedpolicy ();
38782 ;
38783 return 0;
38784 }
38785 _ACEOF
38786 rm -f conftest.$ac_objext conftest$ac_exeext
38787 if { (ac_try="$ac_link"
38788 case "(($ac_try" in
38789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38790 *) ac_try_echo=$ac_try;;
38791 esac
38792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38793 (eval "$ac_link") 2>conftest.er1
38794 ac_status=$?
38795 grep -v '^ *+' conftest.er1 >conftest.err
38796 rm -f conftest.er1
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } && {
38800 test -z "$ac_c_werror_flag" ||
38801 test ! -s conftest.err
38802 } && test -s conftest$ac_exeext &&
38803 $as_test_x conftest$ac_exeext; then
38804 ac_cv_func_pthread_attr_getschedpolicy=yes
38805 else
38806 echo "$as_me: failed program was:" >&5
38807 sed 's/^/| /' conftest.$ac_ext >&5
38808
38809 ac_cv_func_pthread_attr_getschedpolicy=no
38810 fi
38811
38812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38813 conftest$ac_exeext conftest.$ac_ext
38814 fi
38815 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38816 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38817 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38818 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38819 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38820 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38821 echo $ECHO_N "(cached) $ECHO_C" >&6
38822 else
38823 cat >conftest.$ac_ext <<_ACEOF
38824 /* confdefs.h. */
38825 _ACEOF
38826 cat confdefs.h >>conftest.$ac_ext
38827 cat >>conftest.$ac_ext <<_ACEOF
38828 /* end confdefs.h. */
38829 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38831 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38832
38833 /* System header to define __stub macros and hopefully few prototypes,
38834 which can conflict with char pthread_attr_setschedparam (); below.
38835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38836 <limits.h> exists even on freestanding compilers. */
38837
38838 #ifdef __STDC__
38839 # include <limits.h>
38840 #else
38841 # include <assert.h>
38842 #endif
38843
38844 #undef pthread_attr_setschedparam
38845
38846 /* Override any GCC internal prototype to avoid an error.
38847 Use char because int might match the return type of a GCC
38848 builtin and then its argument prototype would still apply. */
38849 #ifdef __cplusplus
38850 extern "C"
38851 #endif
38852 char pthread_attr_setschedparam ();
38853 /* The GNU C library defines this for functions which it implements
38854 to always fail with ENOSYS. Some functions are actually named
38855 something starting with __ and the normal name is an alias. */
38856 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38857 choke me
38858 #endif
38859
38860 int
38861 main ()
38862 {
38863 return pthread_attr_setschedparam ();
38864 ;
38865 return 0;
38866 }
38867 _ACEOF
38868 rm -f conftest.$ac_objext conftest$ac_exeext
38869 if { (ac_try="$ac_link"
38870 case "(($ac_try" in
38871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38872 *) ac_try_echo=$ac_try;;
38873 esac
38874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38875 (eval "$ac_link") 2>conftest.er1
38876 ac_status=$?
38877 grep -v '^ *+' conftest.er1 >conftest.err
38878 rm -f conftest.er1
38879 cat conftest.err >&5
38880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38881 (exit $ac_status); } && {
38882 test -z "$ac_c_werror_flag" ||
38883 test ! -s conftest.err
38884 } && test -s conftest$ac_exeext &&
38885 $as_test_x conftest$ac_exeext; then
38886 ac_cv_func_pthread_attr_setschedparam=yes
38887 else
38888 echo "$as_me: failed program was:" >&5
38889 sed 's/^/| /' conftest.$ac_ext >&5
38890
38891 ac_cv_func_pthread_attr_setschedparam=no
38892 fi
38893
38894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38895 conftest$ac_exeext conftest.$ac_ext
38896 fi
38897 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38898 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38899 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38900 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38901 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38902 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38903 echo $ECHO_N "(cached) $ECHO_C" >&6
38904 else
38905 cat >conftest.$ac_ext <<_ACEOF
38906 /* confdefs.h. */
38907 _ACEOF
38908 cat confdefs.h >>conftest.$ac_ext
38909 cat >>conftest.$ac_ext <<_ACEOF
38910 /* end confdefs.h. */
38911 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38913 #define sched_get_priority_max innocuous_sched_get_priority_max
38914
38915 /* System header to define __stub macros and hopefully few prototypes,
38916 which can conflict with char sched_get_priority_max (); below.
38917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38918 <limits.h> exists even on freestanding compilers. */
38919
38920 #ifdef __STDC__
38921 # include <limits.h>
38922 #else
38923 # include <assert.h>
38924 #endif
38925
38926 #undef sched_get_priority_max
38927
38928 /* Override any GCC internal prototype to avoid an error.
38929 Use char because int might match the return type of a GCC
38930 builtin and then its argument prototype would still apply. */
38931 #ifdef __cplusplus
38932 extern "C"
38933 #endif
38934 char sched_get_priority_max ();
38935 /* The GNU C library defines this for functions which it implements
38936 to always fail with ENOSYS. Some functions are actually named
38937 something starting with __ and the normal name is an alias. */
38938 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38939 choke me
38940 #endif
38941
38942 int
38943 main ()
38944 {
38945 return sched_get_priority_max ();
38946 ;
38947 return 0;
38948 }
38949 _ACEOF
38950 rm -f conftest.$ac_objext conftest$ac_exeext
38951 if { (ac_try="$ac_link"
38952 case "(($ac_try" in
38953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38954 *) ac_try_echo=$ac_try;;
38955 esac
38956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38957 (eval "$ac_link") 2>conftest.er1
38958 ac_status=$?
38959 grep -v '^ *+' conftest.er1 >conftest.err
38960 rm -f conftest.er1
38961 cat conftest.err >&5
38962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38963 (exit $ac_status); } && {
38964 test -z "$ac_c_werror_flag" ||
38965 test ! -s conftest.err
38966 } && test -s conftest$ac_exeext &&
38967 $as_test_x conftest$ac_exeext; then
38968 ac_cv_func_sched_get_priority_max=yes
38969 else
38970 echo "$as_me: failed program was:" >&5
38971 sed 's/^/| /' conftest.$ac_ext >&5
38972
38973 ac_cv_func_sched_get_priority_max=no
38974 fi
38975
38976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38977 conftest$ac_exeext conftest.$ac_ext
38978 fi
38979 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38980 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38981 if test $ac_cv_func_sched_get_priority_max = yes; then
38982 HAVE_PRIOR_FUNCS=1
38983 else
38984 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38985 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38986 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38987 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 else
38989 ac_check_lib_save_LIBS=$LIBS
38990 LIBS="-lposix4 $LIBS"
38991 cat >conftest.$ac_ext <<_ACEOF
38992 /* confdefs.h. */
38993 _ACEOF
38994 cat confdefs.h >>conftest.$ac_ext
38995 cat >>conftest.$ac_ext <<_ACEOF
38996 /* end confdefs.h. */
38997
38998 /* Override any GCC internal prototype to avoid an error.
38999 Use char because int might match the return type of a GCC
39000 builtin and then its argument prototype would still apply. */
39001 #ifdef __cplusplus
39002 extern "C"
39003 #endif
39004 char sched_get_priority_max ();
39005 int
39006 main ()
39007 {
39008 return sched_get_priority_max ();
39009 ;
39010 return 0;
39011 }
39012 _ACEOF
39013 rm -f conftest.$ac_objext conftest$ac_exeext
39014 if { (ac_try="$ac_link"
39015 case "(($ac_try" in
39016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39017 *) ac_try_echo=$ac_try;;
39018 esac
39019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39020 (eval "$ac_link") 2>conftest.er1
39021 ac_status=$?
39022 grep -v '^ *+' conftest.er1 >conftest.err
39023 rm -f conftest.er1
39024 cat conftest.err >&5
39025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39026 (exit $ac_status); } && {
39027 test -z "$ac_c_werror_flag" ||
39028 test ! -s conftest.err
39029 } && test -s conftest$ac_exeext &&
39030 $as_test_x conftest$ac_exeext; then
39031 ac_cv_lib_posix4_sched_get_priority_max=yes
39032 else
39033 echo "$as_me: failed program was:" >&5
39034 sed 's/^/| /' conftest.$ac_ext >&5
39035
39036 ac_cv_lib_posix4_sched_get_priority_max=no
39037 fi
39038
39039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39040 conftest$ac_exeext conftest.$ac_ext
39041 LIBS=$ac_check_lib_save_LIBS
39042 fi
39043 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39044 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39045 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39046
39047 HAVE_PRIOR_FUNCS=1
39048 POSIX4_LINK=" -lposix4"
39049
39050 fi
39051
39052
39053 fi
39054
39055
39056 fi
39057
39058
39059 fi
39060
39061
39062 if test "$HAVE_PRIOR_FUNCS" = 1; then
39063 cat >>confdefs.h <<\_ACEOF
39064 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39065 _ACEOF
39066
39067 else
39068 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39069 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39070 fi
39071
39072 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39073 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39074 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39075 echo $ECHO_N "(cached) $ECHO_C" >&6
39076 else
39077 cat >conftest.$ac_ext <<_ACEOF
39078 /* confdefs.h. */
39079 _ACEOF
39080 cat confdefs.h >>conftest.$ac_ext
39081 cat >>conftest.$ac_ext <<_ACEOF
39082 /* end confdefs.h. */
39083 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39085 #define pthread_cancel innocuous_pthread_cancel
39086
39087 /* System header to define __stub macros and hopefully few prototypes,
39088 which can conflict with char pthread_cancel (); below.
39089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39090 <limits.h> exists even on freestanding compilers. */
39091
39092 #ifdef __STDC__
39093 # include <limits.h>
39094 #else
39095 # include <assert.h>
39096 #endif
39097
39098 #undef pthread_cancel
39099
39100 /* Override any GCC internal prototype to avoid an error.
39101 Use char because int might match the return type of a GCC
39102 builtin and then its argument prototype would still apply. */
39103 #ifdef __cplusplus
39104 extern "C"
39105 #endif
39106 char pthread_cancel ();
39107 /* The GNU C library defines this for functions which it implements
39108 to always fail with ENOSYS. Some functions are actually named
39109 something starting with __ and the normal name is an alias. */
39110 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39111 choke me
39112 #endif
39113
39114 int
39115 main ()
39116 {
39117 return pthread_cancel ();
39118 ;
39119 return 0;
39120 }
39121 _ACEOF
39122 rm -f conftest.$ac_objext conftest$ac_exeext
39123 if { (ac_try="$ac_link"
39124 case "(($ac_try" in
39125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39126 *) ac_try_echo=$ac_try;;
39127 esac
39128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39129 (eval "$ac_link") 2>conftest.er1
39130 ac_status=$?
39131 grep -v '^ *+' conftest.er1 >conftest.err
39132 rm -f conftest.er1
39133 cat conftest.err >&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } && {
39136 test -z "$ac_c_werror_flag" ||
39137 test ! -s conftest.err
39138 } && test -s conftest$ac_exeext &&
39139 $as_test_x conftest$ac_exeext; then
39140 ac_cv_func_pthread_cancel=yes
39141 else
39142 echo "$as_me: failed program was:" >&5
39143 sed 's/^/| /' conftest.$ac_ext >&5
39144
39145 ac_cv_func_pthread_cancel=no
39146 fi
39147
39148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39149 conftest$ac_exeext conftest.$ac_ext
39150 fi
39151 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39152 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39153 if test $ac_cv_func_pthread_cancel = yes; then
39154 cat >>confdefs.h <<\_ACEOF
39155 #define HAVE_PTHREAD_CANCEL 1
39156 _ACEOF
39157
39158 else
39159 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39160 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39161 fi
39162
39163
39164 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39165 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39166 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39167 echo $ECHO_N "(cached) $ECHO_C" >&6
39168 else
39169 cat >conftest.$ac_ext <<_ACEOF
39170 /* confdefs.h. */
39171 _ACEOF
39172 cat confdefs.h >>conftest.$ac_ext
39173 cat >>conftest.$ac_ext <<_ACEOF
39174 /* end confdefs.h. */
39175 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39177 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39178
39179 /* System header to define __stub macros and hopefully few prototypes,
39180 which can conflict with char pthread_mutex_timedlock (); below.
39181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39182 <limits.h> exists even on freestanding compilers. */
39183
39184 #ifdef __STDC__
39185 # include <limits.h>
39186 #else
39187 # include <assert.h>
39188 #endif
39189
39190 #undef pthread_mutex_timedlock
39191
39192 /* Override any GCC internal prototype to avoid an error.
39193 Use char because int might match the return type of a GCC
39194 builtin and then its argument prototype would still apply. */
39195 #ifdef __cplusplus
39196 extern "C"
39197 #endif
39198 char pthread_mutex_timedlock ();
39199 /* The GNU C library defines this for functions which it implements
39200 to always fail with ENOSYS. Some functions are actually named
39201 something starting with __ and the normal name is an alias. */
39202 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39203 choke me
39204 #endif
39205
39206 int
39207 main ()
39208 {
39209 return pthread_mutex_timedlock ();
39210 ;
39211 return 0;
39212 }
39213 _ACEOF
39214 rm -f conftest.$ac_objext conftest$ac_exeext
39215 if { (ac_try="$ac_link"
39216 case "(($ac_try" in
39217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39218 *) ac_try_echo=$ac_try;;
39219 esac
39220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39221 (eval "$ac_link") 2>conftest.er1
39222 ac_status=$?
39223 grep -v '^ *+' conftest.er1 >conftest.err
39224 rm -f conftest.er1
39225 cat conftest.err >&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } && {
39228 test -z "$ac_c_werror_flag" ||
39229 test ! -s conftest.err
39230 } && test -s conftest$ac_exeext &&
39231 $as_test_x conftest$ac_exeext; then
39232 ac_cv_func_pthread_mutex_timedlock=yes
39233 else
39234 echo "$as_me: failed program was:" >&5
39235 sed 's/^/| /' conftest.$ac_ext >&5
39236
39237 ac_cv_func_pthread_mutex_timedlock=no
39238 fi
39239
39240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39241 conftest$ac_exeext conftest.$ac_ext
39242 fi
39243 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39244 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39245 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39246 cat >>confdefs.h <<\_ACEOF
39247 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39248 _ACEOF
39249
39250 else
39251 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39252 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39253 fi
39254
39255
39256 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39257 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39258 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39259 echo $ECHO_N "(cached) $ECHO_C" >&6
39260 else
39261 cat >conftest.$ac_ext <<_ACEOF
39262 /* confdefs.h. */
39263 _ACEOF
39264 cat confdefs.h >>conftest.$ac_ext
39265 cat >>conftest.$ac_ext <<_ACEOF
39266 /* end confdefs.h. */
39267 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39269 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39270
39271 /* System header to define __stub macros and hopefully few prototypes,
39272 which can conflict with char pthread_attr_setstacksize (); below.
39273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39274 <limits.h> exists even on freestanding compilers. */
39275
39276 #ifdef __STDC__
39277 # include <limits.h>
39278 #else
39279 # include <assert.h>
39280 #endif
39281
39282 #undef pthread_attr_setstacksize
39283
39284 /* Override any GCC internal prototype to avoid an error.
39285 Use char because int might match the return type of a GCC
39286 builtin and then its argument prototype would still apply. */
39287 #ifdef __cplusplus
39288 extern "C"
39289 #endif
39290 char pthread_attr_setstacksize ();
39291 /* The GNU C library defines this for functions which it implements
39292 to always fail with ENOSYS. Some functions are actually named
39293 something starting with __ and the normal name is an alias. */
39294 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39295 choke me
39296 #endif
39297
39298 int
39299 main ()
39300 {
39301 return pthread_attr_setstacksize ();
39302 ;
39303 return 0;
39304 }
39305 _ACEOF
39306 rm -f conftest.$ac_objext conftest$ac_exeext
39307 if { (ac_try="$ac_link"
39308 case "(($ac_try" in
39309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39310 *) ac_try_echo=$ac_try;;
39311 esac
39312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39313 (eval "$ac_link") 2>conftest.er1
39314 ac_status=$?
39315 grep -v '^ *+' conftest.er1 >conftest.err
39316 rm -f conftest.er1
39317 cat conftest.err >&5
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); } && {
39320 test -z "$ac_c_werror_flag" ||
39321 test ! -s conftest.err
39322 } && test -s conftest$ac_exeext &&
39323 $as_test_x conftest$ac_exeext; then
39324 ac_cv_func_pthread_attr_setstacksize=yes
39325 else
39326 echo "$as_me: failed program was:" >&5
39327 sed 's/^/| /' conftest.$ac_ext >&5
39328
39329 ac_cv_func_pthread_attr_setstacksize=no
39330 fi
39331
39332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39333 conftest$ac_exeext conftest.$ac_ext
39334 fi
39335 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39336 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39337 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39338 cat >>confdefs.h <<\_ACEOF
39339 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39340 _ACEOF
39341
39342 fi
39343
39344
39345
39346 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39347 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39348 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 else
39351
39352 cat >conftest.$ac_ext <<_ACEOF
39353 /* confdefs.h. */
39354 _ACEOF
39355 cat confdefs.h >>conftest.$ac_ext
39356 cat >>conftest.$ac_ext <<_ACEOF
39357 /* end confdefs.h. */
39358 #include <pthread.h>
39359 int
39360 main ()
39361 {
39362
39363 pthread_mutexattr_t attr;
39364 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39365
39366 ;
39367 return 0;
39368 }
39369 _ACEOF
39370 rm -f conftest.$ac_objext
39371 if { (ac_try="$ac_compile"
39372 case "(($ac_try" in
39373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39374 *) ac_try_echo=$ac_try;;
39375 esac
39376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39377 (eval "$ac_compile") 2>conftest.er1
39378 ac_status=$?
39379 grep -v '^ *+' conftest.er1 >conftest.err
39380 rm -f conftest.er1
39381 cat conftest.err >&5
39382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39383 (exit $ac_status); } && {
39384 test -z "$ac_c_werror_flag" ||
39385 test ! -s conftest.err
39386 } && test -s conftest.$ac_objext; then
39387 wx_cv_type_pthread_mutexattr_t=yes
39388 else
39389 echo "$as_me: failed program was:" >&5
39390 sed 's/^/| /' conftest.$ac_ext >&5
39391
39392 wx_cv_type_pthread_mutexattr_t=no
39393
39394 fi
39395
39396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39397
39398 fi
39399 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39400 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39401
39402 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39403 cat >>confdefs.h <<\_ACEOF
39404 #define HAVE_PTHREAD_MUTEXATTR_T 1
39405 _ACEOF
39406
39407
39408 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39409 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39410 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39411 echo $ECHO_N "(cached) $ECHO_C" >&6
39412 else
39413
39414 cat >conftest.$ac_ext <<_ACEOF
39415 /* confdefs.h. */
39416 _ACEOF
39417 cat confdefs.h >>conftest.$ac_ext
39418 cat >>conftest.$ac_ext <<_ACEOF
39419 /* end confdefs.h. */
39420 #include <pthread.h>
39421 int
39422 main ()
39423 {
39424
39425 pthread_mutexattr_t attr;
39426 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39427
39428 ;
39429 return 0;
39430 }
39431 _ACEOF
39432 rm -f conftest.$ac_objext
39433 if { (ac_try="$ac_compile"
39434 case "(($ac_try" in
39435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39436 *) ac_try_echo=$ac_try;;
39437 esac
39438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39439 (eval "$ac_compile") 2>conftest.er1
39440 ac_status=$?
39441 grep -v '^ *+' conftest.er1 >conftest.err
39442 rm -f conftest.er1
39443 cat conftest.err >&5
39444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39445 (exit $ac_status); } && {
39446 test -z "$ac_c_werror_flag" ||
39447 test ! -s conftest.err
39448 } && test -s conftest.$ac_objext; then
39449 wx_cv_func_pthread_mutexattr_settype_decl=yes
39450 else
39451 echo "$as_me: failed program was:" >&5
39452 sed 's/^/| /' conftest.$ac_ext >&5
39453
39454 wx_cv_func_pthread_mutexattr_settype_decl=no
39455
39456 fi
39457
39458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39459
39460 fi
39461 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39462 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39463 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39464 cat >>confdefs.h <<\_ACEOF
39465 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39466 _ACEOF
39467
39468 fi
39469 else
39470 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39471 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39472 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39473 echo $ECHO_N "(cached) $ECHO_C" >&6
39474 else
39475
39476 cat >conftest.$ac_ext <<_ACEOF
39477 /* confdefs.h. */
39478 _ACEOF
39479 cat confdefs.h >>conftest.$ac_ext
39480 cat >>conftest.$ac_ext <<_ACEOF
39481 /* end confdefs.h. */
39482 #include <pthread.h>
39483 int
39484 main ()
39485 {
39486
39487 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39488
39489 ;
39490 return 0;
39491 }
39492 _ACEOF
39493 rm -f conftest.$ac_objext
39494 if { (ac_try="$ac_compile"
39495 case "(($ac_try" in
39496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39497 *) ac_try_echo=$ac_try;;
39498 esac
39499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39500 (eval "$ac_compile") 2>conftest.er1
39501 ac_status=$?
39502 grep -v '^ *+' conftest.er1 >conftest.err
39503 rm -f conftest.er1
39504 cat conftest.err >&5
39505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39506 (exit $ac_status); } && {
39507 test -z "$ac_c_werror_flag" ||
39508 test ! -s conftest.err
39509 } && test -s conftest.$ac_objext; then
39510
39511 wx_cv_type_pthread_rec_mutex_init=yes
39512
39513 else
39514 echo "$as_me: failed program was:" >&5
39515 sed 's/^/| /' conftest.$ac_ext >&5
39516
39517
39518 wx_cv_type_pthread_rec_mutex_init=no
39519
39520
39521 fi
39522
39523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39524
39525 fi
39526 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39527 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39528 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39529 cat >>confdefs.h <<\_ACEOF
39530 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39531 _ACEOF
39532
39533 else
39534 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39535 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39536 fi
39537 fi
39538 fi
39539
39540 else
39541 if test "$wxUSE_THREADS" = "yes" ; then
39542 case "${host}" in
39543 *-*-mingw32* )
39544 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39545 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39546 if test "${wx_cv_cflags_mthread+set}" = set; then
39547 echo $ECHO_N "(cached) $ECHO_C" >&6
39548 else
39549
39550 CFLAGS_OLD="$CFLAGS"
39551 CFLAGS="-mthreads $CFLAGS"
39552 cat >conftest.$ac_ext <<_ACEOF
39553 /* confdefs.h. */
39554 _ACEOF
39555 cat confdefs.h >>conftest.$ac_ext
39556 cat >>conftest.$ac_ext <<_ACEOF
39557 /* end confdefs.h. */
39558
39559 int
39560 main ()
39561 {
39562
39563 ;
39564 return 0;
39565 }
39566 _ACEOF
39567 rm -f conftest.$ac_objext
39568 if { (ac_try="$ac_compile"
39569 case "(($ac_try" in
39570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39571 *) ac_try_echo=$ac_try;;
39572 esac
39573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39574 (eval "$ac_compile") 2>conftest.er1
39575 ac_status=$?
39576 grep -v '^ *+' conftest.er1 >conftest.err
39577 rm -f conftest.er1
39578 cat conftest.err >&5
39579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39580 (exit $ac_status); } && {
39581 test -z "$ac_c_werror_flag" ||
39582 test ! -s conftest.err
39583 } && test -s conftest.$ac_objext; then
39584 wx_cv_cflags_mthread=yes
39585 else
39586 echo "$as_me: failed program was:" >&5
39587 sed 's/^/| /' conftest.$ac_ext >&5
39588
39589 wx_cv_cflags_mthread=no
39590
39591 fi
39592
39593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39594
39595
39596 fi
39597 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39598 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39599
39600 if test "$wx_cv_cflags_mthread" = "yes"; then
39601 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39602 LDFLAGS="$LDFLAGS -mthreads"
39603 else
39604 CFLAGS="$CFLAGS_OLD"
39605 fi
39606 ;;
39607 *-pc-os2*emx )
39608 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39609 LDFLAGS="$LDFLAGS -Zmt"
39610 ;;
39611 esac
39612 fi
39613 fi
39614
39615 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39616 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39617 if test "${ac_cv_func_localtime_r+set}" = set; then
39618 echo $ECHO_N "(cached) $ECHO_C" >&6
39619 else
39620 cat >conftest.$ac_ext <<_ACEOF
39621 /* confdefs.h. */
39622 _ACEOF
39623 cat confdefs.h >>conftest.$ac_ext
39624 cat >>conftest.$ac_ext <<_ACEOF
39625 /* end confdefs.h. */
39626 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39628 #define localtime_r innocuous_localtime_r
39629
39630 /* System header to define __stub macros and hopefully few prototypes,
39631 which can conflict with char localtime_r (); below.
39632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39633 <limits.h> exists even on freestanding compilers. */
39634
39635 #ifdef __STDC__
39636 # include <limits.h>
39637 #else
39638 # include <assert.h>
39639 #endif
39640
39641 #undef localtime_r
39642
39643 /* Override any GCC internal prototype to avoid an error.
39644 Use char because int might match the return type of a GCC
39645 builtin and then its argument prototype would still apply. */
39646 #ifdef __cplusplus
39647 extern "C"
39648 #endif
39649 char localtime_r ();
39650 /* The GNU C library defines this for functions which it implements
39651 to always fail with ENOSYS. Some functions are actually named
39652 something starting with __ and the normal name is an alias. */
39653 #if defined __stub_localtime_r || defined __stub___localtime_r
39654 choke me
39655 #endif
39656
39657 int
39658 main ()
39659 {
39660 return localtime_r ();
39661 ;
39662 return 0;
39663 }
39664 _ACEOF
39665 rm -f conftest.$ac_objext conftest$ac_exeext
39666 if { (ac_try="$ac_link"
39667 case "(($ac_try" in
39668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39669 *) ac_try_echo=$ac_try;;
39670 esac
39671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39672 (eval "$ac_link") 2>conftest.er1
39673 ac_status=$?
39674 grep -v '^ *+' conftest.er1 >conftest.err
39675 rm -f conftest.er1
39676 cat conftest.err >&5
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); } && {
39679 test -z "$ac_c_werror_flag" ||
39680 test ! -s conftest.err
39681 } && test -s conftest$ac_exeext &&
39682 $as_test_x conftest$ac_exeext; then
39683 ac_cv_func_localtime_r=yes
39684 else
39685 echo "$as_me: failed program was:" >&5
39686 sed 's/^/| /' conftest.$ac_ext >&5
39687
39688 ac_cv_func_localtime_r=no
39689 fi
39690
39691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39692 conftest$ac_exeext conftest.$ac_ext
39693 fi
39694 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39695 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39696 if test $ac_cv_func_localtime_r = yes; then
39697 cat >>confdefs.h <<\_ACEOF
39698 #define HAVE_LOCALTIME_R 1
39699 _ACEOF
39700
39701 fi
39702
39703 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39704 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39705 if test "${ac_cv_func_gmtime_r+set}" = set; then
39706 echo $ECHO_N "(cached) $ECHO_C" >&6
39707 else
39708 cat >conftest.$ac_ext <<_ACEOF
39709 /* confdefs.h. */
39710 _ACEOF
39711 cat confdefs.h >>conftest.$ac_ext
39712 cat >>conftest.$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39714 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39716 #define gmtime_r innocuous_gmtime_r
39717
39718 /* System header to define __stub macros and hopefully few prototypes,
39719 which can conflict with char gmtime_r (); below.
39720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39721 <limits.h> exists even on freestanding compilers. */
39722
39723 #ifdef __STDC__
39724 # include <limits.h>
39725 #else
39726 # include <assert.h>
39727 #endif
39728
39729 #undef gmtime_r
39730
39731 /* Override any GCC internal prototype to avoid an error.
39732 Use char because int might match the return type of a GCC
39733 builtin and then its argument prototype would still apply. */
39734 #ifdef __cplusplus
39735 extern "C"
39736 #endif
39737 char gmtime_r ();
39738 /* The GNU C library defines this for functions which it implements
39739 to always fail with ENOSYS. Some functions are actually named
39740 something starting with __ and the normal name is an alias. */
39741 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39742 choke me
39743 #endif
39744
39745 int
39746 main ()
39747 {
39748 return gmtime_r ();
39749 ;
39750 return 0;
39751 }
39752 _ACEOF
39753 rm -f conftest.$ac_objext conftest$ac_exeext
39754 if { (ac_try="$ac_link"
39755 case "(($ac_try" in
39756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39757 *) ac_try_echo=$ac_try;;
39758 esac
39759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39760 (eval "$ac_link") 2>conftest.er1
39761 ac_status=$?
39762 grep -v '^ *+' conftest.er1 >conftest.err
39763 rm -f conftest.er1
39764 cat conftest.err >&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); } && {
39767 test -z "$ac_c_werror_flag" ||
39768 test ! -s conftest.err
39769 } && test -s conftest$ac_exeext &&
39770 $as_test_x conftest$ac_exeext; then
39771 ac_cv_func_gmtime_r=yes
39772 else
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39775
39776 ac_cv_func_gmtime_r=no
39777 fi
39778
39779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39780 conftest$ac_exeext conftest.$ac_ext
39781 fi
39782 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39783 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39784 if test $ac_cv_func_gmtime_r = yes; then
39785 cat >>confdefs.h <<\_ACEOF
39786 #define HAVE_GMTIME_R 1
39787 _ACEOF
39788
39789 fi
39790
39791 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39792 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39793 if test "${ac_cv_func_readdir_r+set}" = set; then
39794 echo $ECHO_N "(cached) $ECHO_C" >&6
39795 else
39796 cat >conftest.$ac_ext <<_ACEOF
39797 /* confdefs.h. */
39798 _ACEOF
39799 cat confdefs.h >>conftest.$ac_ext
39800 cat >>conftest.$ac_ext <<_ACEOF
39801 /* end confdefs.h. */
39802 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39804 #define readdir_r innocuous_readdir_r
39805
39806 /* System header to define __stub macros and hopefully few prototypes,
39807 which can conflict with char readdir_r (); below.
39808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39809 <limits.h> exists even on freestanding compilers. */
39810
39811 #ifdef __STDC__
39812 # include <limits.h>
39813 #else
39814 # include <assert.h>
39815 #endif
39816
39817 #undef readdir_r
39818
39819 /* Override any GCC internal prototype to avoid an error.
39820 Use char because int might match the return type of a GCC
39821 builtin and then its argument prototype would still apply. */
39822 #ifdef __cplusplus
39823 extern "C"
39824 #endif
39825 char readdir_r ();
39826 /* The GNU C library defines this for functions which it implements
39827 to always fail with ENOSYS. Some functions are actually named
39828 something starting with __ and the normal name is an alias. */
39829 #if defined __stub_readdir_r || defined __stub___readdir_r
39830 choke me
39831 #endif
39832
39833 int
39834 main ()
39835 {
39836 return readdir_r ();
39837 ;
39838 return 0;
39839 }
39840 _ACEOF
39841 rm -f conftest.$ac_objext conftest$ac_exeext
39842 if { (ac_try="$ac_link"
39843 case "(($ac_try" in
39844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39845 *) ac_try_echo=$ac_try;;
39846 esac
39847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39848 (eval "$ac_link") 2>conftest.er1
39849 ac_status=$?
39850 grep -v '^ *+' conftest.er1 >conftest.err
39851 rm -f conftest.er1
39852 cat conftest.err >&5
39853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39854 (exit $ac_status); } && {
39855 test -z "$ac_c_werror_flag" ||
39856 test ! -s conftest.err
39857 } && test -s conftest$ac_exeext &&
39858 $as_test_x conftest$ac_exeext; then
39859 ac_cv_func_readdir_r=yes
39860 else
39861 echo "$as_me: failed program was:" >&5
39862 sed 's/^/| /' conftest.$ac_ext >&5
39863
39864 ac_cv_func_readdir_r=no
39865 fi
39866
39867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39868 conftest$ac_exeext conftest.$ac_ext
39869 fi
39870 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39871 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39872 if test $ac_cv_func_readdir_r = yes; then
39873 cat >>confdefs.h <<\_ACEOF
39874 #define HAVE_READDIR_R 1
39875 _ACEOF
39876
39877 fi
39878
39879
39880
39881
39882 ac_ext=c
39883 ac_cpp='$CPP $CPPFLAGS'
39884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39887
39888 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39889 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39890
39891 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39892 echo $ECHO_N "(cached) $ECHO_C" >&6
39893 else
39894
39895
39896 ################################################################
39897
39898 ac_cv_func_which_gethostbyname_r=unknown
39899
39900 #
39901 # ONE ARGUMENT (sanity check)
39902 #
39903
39904 # This should fail, as there is no variant of gethostbyname_r() that takes
39905 # a single argument. If it actually compiles, then we can assume that
39906 # netdb.h is not declaring the function, and the compiler is thereby
39907 # assuming an implicit prototype. In which case, we're out of luck.
39908 #
39909 cat >conftest.$ac_ext <<_ACEOF
39910 /* confdefs.h. */
39911 _ACEOF
39912 cat confdefs.h >>conftest.$ac_ext
39913 cat >>conftest.$ac_ext <<_ACEOF
39914 /* end confdefs.h. */
39915 #include <netdb.h>
39916 int
39917 main ()
39918 {
39919
39920 char *name = "www.gnu.org";
39921 (void)gethostbyname_r(name) /* ; */
39922
39923 ;
39924 return 0;
39925 }
39926 _ACEOF
39927 rm -f conftest.$ac_objext
39928 if { (ac_try="$ac_compile"
39929 case "(($ac_try" in
39930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39931 *) ac_try_echo=$ac_try;;
39932 esac
39933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39934 (eval "$ac_compile") 2>conftest.er1
39935 ac_status=$?
39936 grep -v '^ *+' conftest.er1 >conftest.err
39937 rm -f conftest.er1
39938 cat conftest.err >&5
39939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39940 (exit $ac_status); } && {
39941 test -z "$ac_c_werror_flag" ||
39942 test ! -s conftest.err
39943 } && test -s conftest.$ac_objext; then
39944 ac_cv_func_which_gethostbyname_r=no
39945 else
39946 echo "$as_me: failed program was:" >&5
39947 sed 's/^/| /' conftest.$ac_ext >&5
39948
39949
39950 fi
39951
39952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39953
39954 #
39955 # SIX ARGUMENTS
39956 # (e.g. Linux)
39957 #
39958
39959 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39960
39961 cat >conftest.$ac_ext <<_ACEOF
39962 /* confdefs.h. */
39963 _ACEOF
39964 cat confdefs.h >>conftest.$ac_ext
39965 cat >>conftest.$ac_ext <<_ACEOF
39966 /* end confdefs.h. */
39967 #include <netdb.h>
39968 int
39969 main ()
39970 {
39971
39972 char *name = "www.gnu.org";
39973 struct hostent ret, *retp;
39974 char buf[1024];
39975 int buflen = 1024;
39976 int my_h_errno;
39977 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39978
39979 ;
39980 return 0;
39981 }
39982 _ACEOF
39983 rm -f conftest.$ac_objext
39984 if { (ac_try="$ac_compile"
39985 case "(($ac_try" in
39986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39987 *) ac_try_echo=$ac_try;;
39988 esac
39989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39990 (eval "$ac_compile") 2>conftest.er1
39991 ac_status=$?
39992 grep -v '^ *+' conftest.er1 >conftest.err
39993 rm -f conftest.er1
39994 cat conftest.err >&5
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); } && {
39997 test -z "$ac_c_werror_flag" ||
39998 test ! -s conftest.err
39999 } && test -s conftest.$ac_objext; then
40000 ac_cv_func_which_gethostbyname_r=six
40001 else
40002 echo "$as_me: failed program was:" >&5
40003 sed 's/^/| /' conftest.$ac_ext >&5
40004
40005
40006 fi
40007
40008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40009
40010 fi
40011
40012 #
40013 # FIVE ARGUMENTS
40014 # (e.g. Solaris)
40015 #
40016
40017 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40018
40019 cat >conftest.$ac_ext <<_ACEOF
40020 /* confdefs.h. */
40021 _ACEOF
40022 cat confdefs.h >>conftest.$ac_ext
40023 cat >>conftest.$ac_ext <<_ACEOF
40024 /* end confdefs.h. */
40025 #include <netdb.h>
40026 int
40027 main ()
40028 {
40029
40030 char *name = "www.gnu.org";
40031 struct hostent ret;
40032 char buf[1024];
40033 int buflen = 1024;
40034 int my_h_errno;
40035 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40036
40037 ;
40038 return 0;
40039 }
40040 _ACEOF
40041 rm -f conftest.$ac_objext
40042 if { (ac_try="$ac_compile"
40043 case "(($ac_try" in
40044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40045 *) ac_try_echo=$ac_try;;
40046 esac
40047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40048 (eval "$ac_compile") 2>conftest.er1
40049 ac_status=$?
40050 grep -v '^ *+' conftest.er1 >conftest.err
40051 rm -f conftest.er1
40052 cat conftest.err >&5
40053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40054 (exit $ac_status); } && {
40055 test -z "$ac_c_werror_flag" ||
40056 test ! -s conftest.err
40057 } && test -s conftest.$ac_objext; then
40058 ac_cv_func_which_gethostbyname_r=five
40059 else
40060 echo "$as_me: failed program was:" >&5
40061 sed 's/^/| /' conftest.$ac_ext >&5
40062
40063
40064 fi
40065
40066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40067
40068 fi
40069
40070 #
40071 # THREE ARGUMENTS
40072 # (e.g. AIX, HP-UX, Tru64)
40073 #
40074
40075 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40076
40077 cat >conftest.$ac_ext <<_ACEOF
40078 /* confdefs.h. */
40079 _ACEOF
40080 cat confdefs.h >>conftest.$ac_ext
40081 cat >>conftest.$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083 #include <netdb.h>
40084 int
40085 main ()
40086 {
40087
40088 char *name = "www.gnu.org";
40089 struct hostent ret;
40090 struct hostent_data data;
40091 (void)gethostbyname_r(name, &ret, &data) /* ; */
40092
40093 ;
40094 return 0;
40095 }
40096 _ACEOF
40097 rm -f conftest.$ac_objext
40098 if { (ac_try="$ac_compile"
40099 case "(($ac_try" in
40100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40101 *) ac_try_echo=$ac_try;;
40102 esac
40103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40104 (eval "$ac_compile") 2>conftest.er1
40105 ac_status=$?
40106 grep -v '^ *+' conftest.er1 >conftest.err
40107 rm -f conftest.er1
40108 cat conftest.err >&5
40109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40110 (exit $ac_status); } && {
40111 test -z "$ac_c_werror_flag" ||
40112 test ! -s conftest.err
40113 } && test -s conftest.$ac_objext; then
40114 ac_cv_func_which_gethostbyname_r=three
40115 else
40116 echo "$as_me: failed program was:" >&5
40117 sed 's/^/| /' conftest.$ac_ext >&5
40118
40119
40120 fi
40121
40122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40123
40124 fi
40125
40126 ################################################################
40127
40128
40129 fi
40130
40131 case "$ac_cv_func_which_gethostbyname_r" in
40132 three)
40133 { echo "$as_me:$LINENO: result: three" >&5
40134 echo "${ECHO_T}three" >&6; }
40135 cat >>confdefs.h <<\_ACEOF
40136 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40137 _ACEOF
40138
40139 ;;
40140
40141 five)
40142 { echo "$as_me:$LINENO: result: five" >&5
40143 echo "${ECHO_T}five" >&6; }
40144 cat >>confdefs.h <<\_ACEOF
40145 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40146 _ACEOF
40147
40148 ;;
40149
40150 six)
40151 { echo "$as_me:$LINENO: result: six" >&5
40152 echo "${ECHO_T}six" >&6; }
40153 cat >>confdefs.h <<\_ACEOF
40154 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40155 _ACEOF
40156
40157 ;;
40158
40159 no)
40160 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40161 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40162 ;;
40163
40164 unknown)
40165 { echo "$as_me:$LINENO: result: can't tell" >&5
40166 echo "${ECHO_T}can't tell" >&6; }
40167 ;;
40168
40169 *)
40170 { { echo "$as_me:$LINENO: error: internal error" >&5
40171 echo "$as_me: error: internal error" >&2;}
40172 { (exit 1); exit 1; }; }
40173 ;;
40174 esac
40175
40176 ac_ext=c
40177 ac_cpp='$CPP $CPPFLAGS'
40178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40181
40182
40183
40184 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40185 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40186 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40187 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40188 if test "${ac_cv_func_gethostbyname+set}" = set; then
40189 echo $ECHO_N "(cached) $ECHO_C" >&6
40190 else
40191 cat >conftest.$ac_ext <<_ACEOF
40192 /* confdefs.h. */
40193 _ACEOF
40194 cat confdefs.h >>conftest.$ac_ext
40195 cat >>conftest.$ac_ext <<_ACEOF
40196 /* end confdefs.h. */
40197 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40199 #define gethostbyname innocuous_gethostbyname
40200
40201 /* System header to define __stub macros and hopefully few prototypes,
40202 which can conflict with char gethostbyname (); below.
40203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40204 <limits.h> exists even on freestanding compilers. */
40205
40206 #ifdef __STDC__
40207 # include <limits.h>
40208 #else
40209 # include <assert.h>
40210 #endif
40211
40212 #undef gethostbyname
40213
40214 /* Override any GCC internal prototype to avoid an error.
40215 Use char because int might match the return type of a GCC
40216 builtin and then its argument prototype would still apply. */
40217 #ifdef __cplusplus
40218 extern "C"
40219 #endif
40220 char gethostbyname ();
40221 /* The GNU C library defines this for functions which it implements
40222 to always fail with ENOSYS. Some functions are actually named
40223 something starting with __ and the normal name is an alias. */
40224 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40225 choke me
40226 #endif
40227
40228 int
40229 main ()
40230 {
40231 return gethostbyname ();
40232 ;
40233 return 0;
40234 }
40235 _ACEOF
40236 rm -f conftest.$ac_objext conftest$ac_exeext
40237 if { (ac_try="$ac_link"
40238 case "(($ac_try" in
40239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40240 *) ac_try_echo=$ac_try;;
40241 esac
40242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40243 (eval "$ac_link") 2>conftest.er1
40244 ac_status=$?
40245 grep -v '^ *+' conftest.er1 >conftest.err
40246 rm -f conftest.er1
40247 cat conftest.err >&5
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); } && {
40250 test -z "$ac_c_werror_flag" ||
40251 test ! -s conftest.err
40252 } && test -s conftest$ac_exeext &&
40253 $as_test_x conftest$ac_exeext; then
40254 ac_cv_func_gethostbyname=yes
40255 else
40256 echo "$as_me: failed program was:" >&5
40257 sed 's/^/| /' conftest.$ac_ext >&5
40258
40259 ac_cv_func_gethostbyname=no
40260 fi
40261
40262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40263 conftest$ac_exeext conftest.$ac_ext
40264 fi
40265 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40266 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40267 if test $ac_cv_func_gethostbyname = yes; then
40268 cat >>confdefs.h <<\_ACEOF
40269 #define HAVE_GETHOSTBYNAME 1
40270 _ACEOF
40271
40272 fi
40273
40274 fi
40275
40276 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40277 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40278 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40279 echo $ECHO_N "(cached) $ECHO_C" >&6
40280 else
40281
40282 ac_ext=cpp
40283 ac_cpp='$CXXCPP $CPPFLAGS'
40284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40287
40288
40289 cat >conftest.$ac_ext <<_ACEOF
40290 /* confdefs.h. */
40291 _ACEOF
40292 cat confdefs.h >>conftest.$ac_ext
40293 cat >>conftest.$ac_ext <<_ACEOF
40294 /* end confdefs.h. */
40295 #include <netdb.h>
40296 int
40297 main ()
40298 {
40299
40300 char *name;
40301 char *proto;
40302 struct servent *se, *res;
40303 char buffer[2048];
40304 int buflen = 2048;
40305 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40306
40307 ;
40308 return 0;
40309 }
40310 _ACEOF
40311 rm -f conftest.$ac_objext
40312 if { (ac_try="$ac_compile"
40313 case "(($ac_try" in
40314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40315 *) ac_try_echo=$ac_try;;
40316 esac
40317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40318 (eval "$ac_compile") 2>conftest.er1
40319 ac_status=$?
40320 grep -v '^ *+' conftest.er1 >conftest.err
40321 rm -f conftest.er1
40322 cat conftest.err >&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } && {
40325 test -z "$ac_cxx_werror_flag" ||
40326 test ! -s conftest.err
40327 } && test -s conftest.$ac_objext; then
40328 ac_cv_func_which_getservbyname_r=six
40329 else
40330 echo "$as_me: failed program was:" >&5
40331 sed 's/^/| /' conftest.$ac_ext >&5
40332
40333
40334 cat >conftest.$ac_ext <<_ACEOF
40335 /* confdefs.h. */
40336 _ACEOF
40337 cat confdefs.h >>conftest.$ac_ext
40338 cat >>conftest.$ac_ext <<_ACEOF
40339 /* end confdefs.h. */
40340 #include <netdb.h>
40341 int
40342 main ()
40343 {
40344
40345 char *name;
40346 char *proto;
40347 struct servent *se;
40348 char buffer[2048];
40349 int buflen = 2048;
40350 (void) getservbyname_r(name, proto, se, buffer, buflen)
40351
40352 ;
40353 return 0;
40354 }
40355 _ACEOF
40356 rm -f conftest.$ac_objext
40357 if { (ac_try="$ac_compile"
40358 case "(($ac_try" in
40359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40360 *) ac_try_echo=$ac_try;;
40361 esac
40362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40363 (eval "$ac_compile") 2>conftest.er1
40364 ac_status=$?
40365 grep -v '^ *+' conftest.er1 >conftest.err
40366 rm -f conftest.er1
40367 cat conftest.err >&5
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); } && {
40370 test -z "$ac_cxx_werror_flag" ||
40371 test ! -s conftest.err
40372 } && test -s conftest.$ac_objext; then
40373 ac_cv_func_which_getservbyname_r=five
40374 else
40375 echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.$ac_ext >&5
40377
40378
40379 cat >conftest.$ac_ext <<_ACEOF
40380 /* confdefs.h. */
40381 _ACEOF
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h. */
40385 #include <netdb.h>
40386 int
40387 main ()
40388 {
40389
40390 char *name;
40391 char *proto;
40392 struct servent *se;
40393 struct servent_data data;
40394 (void) getservbyname_r(name, proto, se, &data);
40395
40396 ;
40397 return 0;
40398 }
40399 _ACEOF
40400 rm -f conftest.$ac_objext
40401 if { (ac_try="$ac_compile"
40402 case "(($ac_try" in
40403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40404 *) ac_try_echo=$ac_try;;
40405 esac
40406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40407 (eval "$ac_compile") 2>conftest.er1
40408 ac_status=$?
40409 grep -v '^ *+' conftest.er1 >conftest.err
40410 rm -f conftest.er1
40411 cat conftest.err >&5
40412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40413 (exit $ac_status); } && {
40414 test -z "$ac_cxx_werror_flag" ||
40415 test ! -s conftest.err
40416 } && test -s conftest.$ac_objext; then
40417 ac_cv_func_which_getservbyname_r=four
40418 else
40419 echo "$as_me: failed program was:" >&5
40420 sed 's/^/| /' conftest.$ac_ext >&5
40421
40422 ac_cv_func_which_getservbyname_r=no
40423
40424 fi
40425
40426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40427
40428
40429 fi
40430
40431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40432
40433
40434 fi
40435
40436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40437 ac_ext=c
40438 ac_cpp='$CPP $CPPFLAGS'
40439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40442
40443
40444
40445 fi
40446 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40447 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40448
40449 if test $ac_cv_func_which_getservbyname_r = six; then
40450 cat >>confdefs.h <<\_ACEOF
40451 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40452 _ACEOF
40453
40454 elif test $ac_cv_func_which_getservbyname_r = five; then
40455 cat >>confdefs.h <<\_ACEOF
40456 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40457 _ACEOF
40458
40459 elif test $ac_cv_func_which_getservbyname_r = four; then
40460 cat >>confdefs.h <<\_ACEOF
40461 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40462 _ACEOF
40463
40464 fi
40465
40466
40467 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40468 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40469
40470 for ac_func in getservbyname
40471 do
40472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40473 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40475 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40476 echo $ECHO_N "(cached) $ECHO_C" >&6
40477 else
40478 cat >conftest.$ac_ext <<_ACEOF
40479 /* confdefs.h. */
40480 _ACEOF
40481 cat confdefs.h >>conftest.$ac_ext
40482 cat >>conftest.$ac_ext <<_ACEOF
40483 /* end confdefs.h. */
40484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40486 #define $ac_func innocuous_$ac_func
40487
40488 /* System header to define __stub macros and hopefully few prototypes,
40489 which can conflict with char $ac_func (); below.
40490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40491 <limits.h> exists even on freestanding compilers. */
40492
40493 #ifdef __STDC__
40494 # include <limits.h>
40495 #else
40496 # include <assert.h>
40497 #endif
40498
40499 #undef $ac_func
40500
40501 /* Override any GCC internal prototype to avoid an error.
40502 Use char because int might match the return type of a GCC
40503 builtin and then its argument prototype would still apply. */
40504 #ifdef __cplusplus
40505 extern "C"
40506 #endif
40507 char $ac_func ();
40508 /* The GNU C library defines this for functions which it implements
40509 to always fail with ENOSYS. Some functions are actually named
40510 something starting with __ and the normal name is an alias. */
40511 #if defined __stub_$ac_func || defined __stub___$ac_func
40512 choke me
40513 #endif
40514
40515 int
40516 main ()
40517 {
40518 return $ac_func ();
40519 ;
40520 return 0;
40521 }
40522 _ACEOF
40523 rm -f conftest.$ac_objext conftest$ac_exeext
40524 if { (ac_try="$ac_link"
40525 case "(($ac_try" in
40526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40527 *) ac_try_echo=$ac_try;;
40528 esac
40529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40530 (eval "$ac_link") 2>conftest.er1
40531 ac_status=$?
40532 grep -v '^ *+' conftest.er1 >conftest.err
40533 rm -f conftest.er1
40534 cat conftest.err >&5
40535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40536 (exit $ac_status); } && {
40537 test -z "$ac_c_werror_flag" ||
40538 test ! -s conftest.err
40539 } && test -s conftest$ac_exeext &&
40540 $as_test_x conftest$ac_exeext; then
40541 eval "$as_ac_var=yes"
40542 else
40543 echo "$as_me: failed program was:" >&5
40544 sed 's/^/| /' conftest.$ac_ext >&5
40545
40546 eval "$as_ac_var=no"
40547 fi
40548
40549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40550 conftest$ac_exeext conftest.$ac_ext
40551 fi
40552 ac_res=`eval echo '${'$as_ac_var'}'`
40553 { echo "$as_me:$LINENO: result: $ac_res" >&5
40554 echo "${ECHO_T}$ac_res" >&6; }
40555 if test `eval echo '${'$as_ac_var'}'` = yes; then
40556 cat >>confdefs.h <<_ACEOF
40557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40558 _ACEOF
40559 cat >>confdefs.h <<\_ACEOF
40560 #define HAVE_GETSERVBYNAME 1
40561 _ACEOF
40562
40563 fi
40564 done
40565
40566 fi
40567
40568 if test "$wxUSE_THREADS" = "yes"; then
40569 cat >>confdefs.h <<\_ACEOF
40570 #define wxUSE_THREADS 1
40571 _ACEOF
40572
40573
40574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40575 else
40576 if test "$wx_cv_func_strtok_r" = "yes"; then
40577 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40578 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40579 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40580 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40581 { echo "$as_me:$LINENO: result: yes" >&5
40582 echo "${ECHO_T}yes" >&6; }
40583 else
40584 { echo "$as_me:$LINENO: result: no" >&5
40585 echo "${ECHO_T}no" >&6; }
40586 fi
40587 fi
40588 fi
40589
40590 if test "$WXGTK20" = 1 ; then
40591 cat >>confdefs.h <<_ACEOF
40592 #define __WXGTK20__ $WXGTK20
40593 _ACEOF
40594
40595 WXGTK12=1
40596 fi
40597
40598 if test "$WXGTK12" = 1 ; then
40599 cat >>confdefs.h <<_ACEOF
40600 #define __WXGTK12__ $WXGTK12
40601 _ACEOF
40602
40603 fi
40604
40605 if test "$WXGTK127" = 1 ; then
40606 cat >>confdefs.h <<_ACEOF
40607 #define __WXGTK127__ $WXGTK127
40608 _ACEOF
40609
40610 fi
40611
40612 if test "$WXGPE" = 1 ; then
40613 cat >>confdefs.h <<_ACEOF
40614 #define __WXGPE__ $WXGPE
40615 _ACEOF
40616
40617 fi
40618
40619 DEBUG_CFLAGS=
40620 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40621 DEBUG_CFLAGS="-g"
40622 wxUSE_OPTIMISE=no
40623 fi
40624
40625 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40626 wxUSE_DEBUG_INFO=yes
40627 if test "$GCC" = yes; then
40628 DEBUG_CFLAGS="-ggdb"
40629 fi
40630 fi
40631
40632 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40633 cat >>confdefs.h <<\_ACEOF
40634 #define WXDEBUG 1
40635 _ACEOF
40636
40637 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40638 else
40639 if test "$wxUSE_GTK" = 1 ; then
40640 if test "x$wxGTK_VERSION" = "x1" ; then
40641 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40642 fi
40643 fi
40644 fi
40645
40646 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40647 cat >>confdefs.h <<\_ACEOF
40648 #define wxUSE_MEMORY_TRACING 1
40649 _ACEOF
40650
40651 cat >>confdefs.h <<\_ACEOF
40652 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40653 _ACEOF
40654
40655 cat >>confdefs.h <<\_ACEOF
40656 #define wxUSE_DEBUG_NEW_ALWAYS 1
40657 _ACEOF
40658
40659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40660 fi
40661
40662 if test "$wxUSE_DMALLOC" = "yes" ; then
40663 DMALLOC_LIBS="-ldmallocthcxx"
40664 fi
40665
40666 PROFILE_FLAGS=
40667 if test "$wxUSE_PROFILE" = "yes" ; then
40668 PROFILE_FLAGS=" -pg"
40669 fi
40670
40671 if test "$GCC" = "yes" ; then
40672 if test "$wxUSE_NO_RTTI" = "yes" ; then
40673 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40674 fi
40675 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40676 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40677 fi
40678 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40679 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40680 fi
40681
40682 case "${host}" in
40683 powerpc*-*-aix* )
40684 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40685 ;;
40686 *-hppa* )
40687 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40688 ;;
40689 esac
40690 fi
40691
40692 OPTIMISE_CFLAGS=
40693 if test "$wxUSE_OPTIMISE" = "no" ; then
40694 if test "$GCC" = yes ; then
40695 OPTIMISE_CFLAGS="-O0"
40696 fi
40697 else
40698 if test "$GCC" = yes ; then
40699 case "${host}" in
40700 *-pc-os2_emx | *-pc-os2-emx )
40701 OPTIMISE_CFLAGS="-O2"
40702 ;;
40703 *)
40704 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40705 ;;
40706 esac
40707 else
40708 OPTIMISE_CFLAGS="-O"
40709 fi
40710 fi
40711
40712
40713 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40714 cat >>confdefs.h <<\_ACEOF
40715 #define WXWIN_COMPATIBILITY_2_6 1
40716 _ACEOF
40717
40718
40719 WXWIN_COMPATIBILITY_2_8="yes"
40720 fi
40721
40722 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40723 cat >>confdefs.h <<\_ACEOF
40724 #define WXWIN_COMPATIBILITY_2_8 1
40725 _ACEOF
40726
40727 fi
40728
40729
40730 if test "$wxUSE_GUI" = "yes"; then
40731 cat >>confdefs.h <<\_ACEOF
40732 #define wxUSE_GUI 1
40733 _ACEOF
40734
40735
40736 fi
40737
40738
40739 if test "$wxUSE_UNIX" = "yes"; then
40740 cat >>confdefs.h <<\_ACEOF
40741 #define wxUSE_UNIX 1
40742 _ACEOF
40743
40744 fi
40745
40746
40747 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40748
40749 HAVE_DL_FUNCS=0
40750 HAVE_SHL_FUNCS=0
40751 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40752 if test "$USE_DARWIN" = 1; then
40753 HAVE_DL_FUNCS=1
40754 elif test "$USE_DOS" = 1; then
40755 HAVE_DL_FUNCS=0
40756 else
40757
40758 for ac_func in dlopen
40759 do
40760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40761 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40763 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40764 echo $ECHO_N "(cached) $ECHO_C" >&6
40765 else
40766 cat >conftest.$ac_ext <<_ACEOF
40767 /* confdefs.h. */
40768 _ACEOF
40769 cat confdefs.h >>conftest.$ac_ext
40770 cat >>conftest.$ac_ext <<_ACEOF
40771 /* end confdefs.h. */
40772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40774 #define $ac_func innocuous_$ac_func
40775
40776 /* System header to define __stub macros and hopefully few prototypes,
40777 which can conflict with char $ac_func (); below.
40778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40779 <limits.h> exists even on freestanding compilers. */
40780
40781 #ifdef __STDC__
40782 # include <limits.h>
40783 #else
40784 # include <assert.h>
40785 #endif
40786
40787 #undef $ac_func
40788
40789 /* Override any GCC internal prototype to avoid an error.
40790 Use char because int might match the return type of a GCC
40791 builtin and then its argument prototype would still apply. */
40792 #ifdef __cplusplus
40793 extern "C"
40794 #endif
40795 char $ac_func ();
40796 /* The GNU C library defines this for functions which it implements
40797 to always fail with ENOSYS. Some functions are actually named
40798 something starting with __ and the normal name is an alias. */
40799 #if defined __stub_$ac_func || defined __stub___$ac_func
40800 choke me
40801 #endif
40802
40803 int
40804 main ()
40805 {
40806 return $ac_func ();
40807 ;
40808 return 0;
40809 }
40810 _ACEOF
40811 rm -f conftest.$ac_objext conftest$ac_exeext
40812 if { (ac_try="$ac_link"
40813 case "(($ac_try" in
40814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40815 *) ac_try_echo=$ac_try;;
40816 esac
40817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40818 (eval "$ac_link") 2>conftest.er1
40819 ac_status=$?
40820 grep -v '^ *+' conftest.er1 >conftest.err
40821 rm -f conftest.er1
40822 cat conftest.err >&5
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); } && {
40825 test -z "$ac_c_werror_flag" ||
40826 test ! -s conftest.err
40827 } && test -s conftest$ac_exeext &&
40828 $as_test_x conftest$ac_exeext; then
40829 eval "$as_ac_var=yes"
40830 else
40831 echo "$as_me: failed program was:" >&5
40832 sed 's/^/| /' conftest.$ac_ext >&5
40833
40834 eval "$as_ac_var=no"
40835 fi
40836
40837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40838 conftest$ac_exeext conftest.$ac_ext
40839 fi
40840 ac_res=`eval echo '${'$as_ac_var'}'`
40841 { echo "$as_me:$LINENO: result: $ac_res" >&5
40842 echo "${ECHO_T}$ac_res" >&6; }
40843 if test `eval echo '${'$as_ac_var'}'` = yes; then
40844 cat >>confdefs.h <<_ACEOF
40845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40846 _ACEOF
40847
40848 cat >>confdefs.h <<\_ACEOF
40849 #define HAVE_DLOPEN 1
40850 _ACEOF
40851
40852 HAVE_DL_FUNCS=1
40853
40854 else
40855
40856 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40857 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40858 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40859 echo $ECHO_N "(cached) $ECHO_C" >&6
40860 else
40861 ac_check_lib_save_LIBS=$LIBS
40862 LIBS="-ldl $LIBS"
40863 cat >conftest.$ac_ext <<_ACEOF
40864 /* confdefs.h. */
40865 _ACEOF
40866 cat confdefs.h >>conftest.$ac_ext
40867 cat >>conftest.$ac_ext <<_ACEOF
40868 /* end confdefs.h. */
40869
40870 /* Override any GCC internal prototype to avoid an error.
40871 Use char because int might match the return type of a GCC
40872 builtin and then its argument prototype would still apply. */
40873 #ifdef __cplusplus
40874 extern "C"
40875 #endif
40876 char dlopen ();
40877 int
40878 main ()
40879 {
40880 return dlopen ();
40881 ;
40882 return 0;
40883 }
40884 _ACEOF
40885 rm -f conftest.$ac_objext conftest$ac_exeext
40886 if { (ac_try="$ac_link"
40887 case "(($ac_try" in
40888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40889 *) ac_try_echo=$ac_try;;
40890 esac
40891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40892 (eval "$ac_link") 2>conftest.er1
40893 ac_status=$?
40894 grep -v '^ *+' conftest.er1 >conftest.err
40895 rm -f conftest.er1
40896 cat conftest.err >&5
40897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40898 (exit $ac_status); } && {
40899 test -z "$ac_c_werror_flag" ||
40900 test ! -s conftest.err
40901 } && test -s conftest$ac_exeext &&
40902 $as_test_x conftest$ac_exeext; then
40903 ac_cv_lib_dl_dlopen=yes
40904 else
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.$ac_ext >&5
40907
40908 ac_cv_lib_dl_dlopen=no
40909 fi
40910
40911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40912 conftest$ac_exeext conftest.$ac_ext
40913 LIBS=$ac_check_lib_save_LIBS
40914 fi
40915 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40916 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40917 if test $ac_cv_lib_dl_dlopen = yes; then
40918
40919 cat >>confdefs.h <<\_ACEOF
40920 #define HAVE_DLOPEN 1
40921 _ACEOF
40922
40923 HAVE_DL_FUNCS=1
40924 DL_LINK=" -ldl$DL_LINK"
40925
40926 else
40927
40928
40929 for ac_func in shl_load
40930 do
40931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40935 echo $ECHO_N "(cached) $ECHO_C" >&6
40936 else
40937 cat >conftest.$ac_ext <<_ACEOF
40938 /* confdefs.h. */
40939 _ACEOF
40940 cat confdefs.h >>conftest.$ac_ext
40941 cat >>conftest.$ac_ext <<_ACEOF
40942 /* end confdefs.h. */
40943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40945 #define $ac_func innocuous_$ac_func
40946
40947 /* System header to define __stub macros and hopefully few prototypes,
40948 which can conflict with char $ac_func (); below.
40949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40950 <limits.h> exists even on freestanding compilers. */
40951
40952 #ifdef __STDC__
40953 # include <limits.h>
40954 #else
40955 # include <assert.h>
40956 #endif
40957
40958 #undef $ac_func
40959
40960 /* Override any GCC internal prototype to avoid an error.
40961 Use char because int might match the return type of a GCC
40962 builtin and then its argument prototype would still apply. */
40963 #ifdef __cplusplus
40964 extern "C"
40965 #endif
40966 char $ac_func ();
40967 /* The GNU C library defines this for functions which it implements
40968 to always fail with ENOSYS. Some functions are actually named
40969 something starting with __ and the normal name is an alias. */
40970 #if defined __stub_$ac_func || defined __stub___$ac_func
40971 choke me
40972 #endif
40973
40974 int
40975 main ()
40976 {
40977 return $ac_func ();
40978 ;
40979 return 0;
40980 }
40981 _ACEOF
40982 rm -f conftest.$ac_objext conftest$ac_exeext
40983 if { (ac_try="$ac_link"
40984 case "(($ac_try" in
40985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40986 *) ac_try_echo=$ac_try;;
40987 esac
40988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40989 (eval "$ac_link") 2>conftest.er1
40990 ac_status=$?
40991 grep -v '^ *+' conftest.er1 >conftest.err
40992 rm -f conftest.er1
40993 cat conftest.err >&5
40994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40995 (exit $ac_status); } && {
40996 test -z "$ac_c_werror_flag" ||
40997 test ! -s conftest.err
40998 } && test -s conftest$ac_exeext &&
40999 $as_test_x conftest$ac_exeext; then
41000 eval "$as_ac_var=yes"
41001 else
41002 echo "$as_me: failed program was:" >&5
41003 sed 's/^/| /' conftest.$ac_ext >&5
41004
41005 eval "$as_ac_var=no"
41006 fi
41007
41008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41009 conftest$ac_exeext conftest.$ac_ext
41010 fi
41011 ac_res=`eval echo '${'$as_ac_var'}'`
41012 { echo "$as_me:$LINENO: result: $ac_res" >&5
41013 echo "${ECHO_T}$ac_res" >&6; }
41014 if test `eval echo '${'$as_ac_var'}'` = yes; then
41015 cat >>confdefs.h <<_ACEOF
41016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41017 _ACEOF
41018
41019 cat >>confdefs.h <<\_ACEOF
41020 #define HAVE_SHL_LOAD 1
41021 _ACEOF
41022
41023 HAVE_SHL_FUNCS=1
41024
41025 else
41026
41027 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41028 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41029 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41030 echo $ECHO_N "(cached) $ECHO_C" >&6
41031 else
41032 ac_check_lib_save_LIBS=$LIBS
41033 LIBS="-lshl_load $LIBS"
41034 cat >conftest.$ac_ext <<_ACEOF
41035 /* confdefs.h. */
41036 _ACEOF
41037 cat confdefs.h >>conftest.$ac_ext
41038 cat >>conftest.$ac_ext <<_ACEOF
41039 /* end confdefs.h. */
41040
41041 /* Override any GCC internal prototype to avoid an error.
41042 Use char because int might match the return type of a GCC
41043 builtin and then its argument prototype would still apply. */
41044 #ifdef __cplusplus
41045 extern "C"
41046 #endif
41047 char dld ();
41048 int
41049 main ()
41050 {
41051 return dld ();
41052 ;
41053 return 0;
41054 }
41055 _ACEOF
41056 rm -f conftest.$ac_objext conftest$ac_exeext
41057 if { (ac_try="$ac_link"
41058 case "(($ac_try" in
41059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41060 *) ac_try_echo=$ac_try;;
41061 esac
41062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41063 (eval "$ac_link") 2>conftest.er1
41064 ac_status=$?
41065 grep -v '^ *+' conftest.er1 >conftest.err
41066 rm -f conftest.er1
41067 cat conftest.err >&5
41068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41069 (exit $ac_status); } && {
41070 test -z "$ac_c_werror_flag" ||
41071 test ! -s conftest.err
41072 } && test -s conftest$ac_exeext &&
41073 $as_test_x conftest$ac_exeext; then
41074 ac_cv_lib_shl_load_dld=yes
41075 else
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41078
41079 ac_cv_lib_shl_load_dld=no
41080 fi
41081
41082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41083 conftest$ac_exeext conftest.$ac_ext
41084 LIBS=$ac_check_lib_save_LIBS
41085 fi
41086 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41087 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41088 if test $ac_cv_lib_shl_load_dld = yes; then
41089
41090 HAVE_SHL_FUNCS=1
41091 DL_LINK=" -ldld$DL_LINK"
41092
41093 fi
41094
41095
41096 fi
41097 done
41098
41099
41100 fi
41101
41102
41103 fi
41104 done
41105
41106
41107 if test "$HAVE_DL_FUNCS" = 1; then
41108
41109 for ac_func in dlerror
41110 do
41111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41112 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41115 echo $ECHO_N "(cached) $ECHO_C" >&6
41116 else
41117 cat >conftest.$ac_ext <<_ACEOF
41118 /* confdefs.h. */
41119 _ACEOF
41120 cat confdefs.h >>conftest.$ac_ext
41121 cat >>conftest.$ac_ext <<_ACEOF
41122 /* end confdefs.h. */
41123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41125 #define $ac_func innocuous_$ac_func
41126
41127 /* System header to define __stub macros and hopefully few prototypes,
41128 which can conflict with char $ac_func (); below.
41129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41130 <limits.h> exists even on freestanding compilers. */
41131
41132 #ifdef __STDC__
41133 # include <limits.h>
41134 #else
41135 # include <assert.h>
41136 #endif
41137
41138 #undef $ac_func
41139
41140 /* Override any GCC internal prototype to avoid an error.
41141 Use char because int might match the return type of a GCC
41142 builtin and then its argument prototype would still apply. */
41143 #ifdef __cplusplus
41144 extern "C"
41145 #endif
41146 char $ac_func ();
41147 /* The GNU C library defines this for functions which it implements
41148 to always fail with ENOSYS. Some functions are actually named
41149 something starting with __ and the normal name is an alias. */
41150 #if defined __stub_$ac_func || defined __stub___$ac_func
41151 choke me
41152 #endif
41153
41154 int
41155 main ()
41156 {
41157 return $ac_func ();
41158 ;
41159 return 0;
41160 }
41161 _ACEOF
41162 rm -f conftest.$ac_objext conftest$ac_exeext
41163 if { (ac_try="$ac_link"
41164 case "(($ac_try" in
41165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41166 *) ac_try_echo=$ac_try;;
41167 esac
41168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41169 (eval "$ac_link") 2>conftest.er1
41170 ac_status=$?
41171 grep -v '^ *+' conftest.er1 >conftest.err
41172 rm -f conftest.er1
41173 cat conftest.err >&5
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); } && {
41176 test -z "$ac_c_werror_flag" ||
41177 test ! -s conftest.err
41178 } && test -s conftest$ac_exeext &&
41179 $as_test_x conftest$ac_exeext; then
41180 eval "$as_ac_var=yes"
41181 else
41182 echo "$as_me: failed program was:" >&5
41183 sed 's/^/| /' conftest.$ac_ext >&5
41184
41185 eval "$as_ac_var=no"
41186 fi
41187
41188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41189 conftest$ac_exeext conftest.$ac_ext
41190 fi
41191 ac_res=`eval echo '${'$as_ac_var'}'`
41192 { echo "$as_me:$LINENO: result: $ac_res" >&5
41193 echo "${ECHO_T}$ac_res" >&6; }
41194 if test `eval echo '${'$as_ac_var'}'` = yes; then
41195 cat >>confdefs.h <<_ACEOF
41196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41197 _ACEOF
41198 cat >>confdefs.h <<\_ACEOF
41199 #define HAVE_DLERROR 1
41200 _ACEOF
41201
41202 else
41203
41204 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41205 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41206 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41207 echo $ECHO_N "(cached) $ECHO_C" >&6
41208 else
41209 ac_check_lib_save_LIBS=$LIBS
41210 LIBS="-ldl $LIBS"
41211 cat >conftest.$ac_ext <<_ACEOF
41212 /* confdefs.h. */
41213 _ACEOF
41214 cat confdefs.h >>conftest.$ac_ext
41215 cat >>conftest.$ac_ext <<_ACEOF
41216 /* end confdefs.h. */
41217
41218 /* Override any GCC internal prototype to avoid an error.
41219 Use char because int might match the return type of a GCC
41220 builtin and then its argument prototype would still apply. */
41221 #ifdef __cplusplus
41222 extern "C"
41223 #endif
41224 char dlerror ();
41225 int
41226 main ()
41227 {
41228 return dlerror ();
41229 ;
41230 return 0;
41231 }
41232 _ACEOF
41233 rm -f conftest.$ac_objext conftest$ac_exeext
41234 if { (ac_try="$ac_link"
41235 case "(($ac_try" in
41236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41237 *) ac_try_echo=$ac_try;;
41238 esac
41239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41240 (eval "$ac_link") 2>conftest.er1
41241 ac_status=$?
41242 grep -v '^ *+' conftest.er1 >conftest.err
41243 rm -f conftest.er1
41244 cat conftest.err >&5
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); } && {
41247 test -z "$ac_c_werror_flag" ||
41248 test ! -s conftest.err
41249 } && test -s conftest$ac_exeext &&
41250 $as_test_x conftest$ac_exeext; then
41251 ac_cv_lib_dl_dlerror=yes
41252 else
41253 echo "$as_me: failed program was:" >&5
41254 sed 's/^/| /' conftest.$ac_ext >&5
41255
41256 ac_cv_lib_dl_dlerror=no
41257 fi
41258
41259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41260 conftest$ac_exeext conftest.$ac_ext
41261 LIBS=$ac_check_lib_save_LIBS
41262 fi
41263 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41264 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41265 if test $ac_cv_lib_dl_dlerror = yes; then
41266 cat >>confdefs.h <<\_ACEOF
41267 #define HAVE_DLERROR 1
41268 _ACEOF
41269
41270 fi
41271
41272
41273
41274 fi
41275 done
41276
41277 fi
41278 fi
41279
41280 if test "$HAVE_DL_FUNCS" = 0; then
41281 if test "$HAVE_SHL_FUNCS" = 0; then
41282 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41283 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41284 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41285 wxUSE_DYNAMIC_LOADER=no
41286 wxUSE_DYNLIB_CLASS=no
41287 else
41288 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41289 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41290 fi
41291 fi
41292 fi
41293 fi
41294 fi
41295
41296 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41297 cat >>confdefs.h <<\_ACEOF
41298 #define wxUSE_DYNAMIC_LOADER 1
41299 _ACEOF
41300
41301 fi
41302 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41303 cat >>confdefs.h <<\_ACEOF
41304 #define wxUSE_DYNLIB_CLASS 1
41305 _ACEOF
41306
41307 fi
41308
41309
41310
41311 if test "$wxUSE_PLUGINS" = "yes" ; then
41312 if test "$wxUSE_SHARED" = "no" ; then
41313 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41314 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41315 wxUSE_PLUGINS=no
41316 fi
41317 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41318 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41319 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41320 wxUSE_PLUGINS=no
41321 fi
41322 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41323 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41324 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41325 wxUSE_PLUGINS=no
41326 fi
41327 if test "$wxUSE_PLUGINS" = "yes" ; then
41328 cat >>confdefs.h <<\_ACEOF
41329 #define wxUSE_PLUGINS 1
41330 _ACEOF
41331
41332 fi
41333 fi
41334
41335
41336 if test "$wxUSE_STL" = "yes"; then
41337 cat >>confdefs.h <<\_ACEOF
41338 #define wxUSE_STL 1
41339 _ACEOF
41340
41341 fi
41342
41343 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41344 cat >>confdefs.h <<\_ACEOF
41345 #define wxUSE_EXTENDED_RTTI 1
41346 _ACEOF
41347
41348 fi
41349
41350 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41351 cat >>confdefs.h <<\_ACEOF
41352 #define wxUSE_APPLE_IEEE 1
41353 _ACEOF
41354
41355 fi
41356
41357 if test "$wxUSE_TIMER" = "yes"; then
41358 cat >>confdefs.h <<\_ACEOF
41359 #define wxUSE_TIMER 1
41360 _ACEOF
41361
41362 fi
41363
41364 if test "$USE_UNIX" = "1" ; then
41365 if test "$wxUSE_MGL" != 1; then
41366 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41367 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41368 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41369 echo $ECHO_N "(cached) $ECHO_C" >&6
41370 else
41371
41372 cat >conftest.$ac_ext <<_ACEOF
41373 /* confdefs.h. */
41374 _ACEOF
41375 cat confdefs.h >>conftest.$ac_ext
41376 cat >>conftest.$ac_ext <<_ACEOF
41377 /* end confdefs.h. */
41378
41379 #include <sys/ioctl.h>
41380 #include <sys/soundcard.h>
41381
41382 int
41383 main ()
41384 {
41385
41386 ioctl(0, SNDCTL_DSP_SPEED, 0);
41387
41388 ;
41389 return 0;
41390 }
41391 _ACEOF
41392 rm -f conftest.$ac_objext conftest$ac_exeext
41393 if { (ac_try="$ac_link"
41394 case "(($ac_try" in
41395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41396 *) ac_try_echo=$ac_try;;
41397 esac
41398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41399 (eval "$ac_link") 2>conftest.er1
41400 ac_status=$?
41401 grep -v '^ *+' conftest.er1 >conftest.err
41402 rm -f conftest.er1
41403 cat conftest.err >&5
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); } && {
41406 test -z "$ac_c_werror_flag" ||
41407 test ! -s conftest.err
41408 } && test -s conftest$ac_exeext &&
41409 $as_test_x conftest$ac_exeext; then
41410 ac_cv_header_sys_soundcard=yes
41411 else
41412 echo "$as_me: failed program was:" >&5
41413 sed 's/^/| /' conftest.$ac_ext >&5
41414
41415
41416 saveLibs="$LIBS"
41417 LIBS="$saveLibs -lossaudio"
41418 cat >conftest.$ac_ext <<_ACEOF
41419 /* confdefs.h. */
41420 _ACEOF
41421 cat confdefs.h >>conftest.$ac_ext
41422 cat >>conftest.$ac_ext <<_ACEOF
41423 /* end confdefs.h. */
41424
41425 #include <sys/ioctl.h>
41426 #include <sys/soundcard.h>
41427
41428 int
41429 main ()
41430 {
41431
41432 ioctl(0, SNDCTL_DSP_SPEED, 0);
41433
41434 ;
41435 return 0;
41436 }
41437 _ACEOF
41438 rm -f conftest.$ac_objext conftest$ac_exeext
41439 if { (ac_try="$ac_link"
41440 case "(($ac_try" in
41441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41442 *) ac_try_echo=$ac_try;;
41443 esac
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_link") 2>conftest.er1
41446 ac_status=$?
41447 grep -v '^ *+' conftest.er1 >conftest.err
41448 rm -f conftest.er1
41449 cat conftest.err >&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } && {
41452 test -z "$ac_c_werror_flag" ||
41453 test ! -s conftest.err
41454 } && test -s conftest$ac_exeext &&
41455 $as_test_x conftest$ac_exeext; then
41456 ac_cv_header_sys_soundcard=yes
41457 else
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.$ac_ext >&5
41460
41461
41462 LIBS="$saveLibs"
41463 ac_cv_header_sys_soundcard=no
41464
41465
41466 fi
41467
41468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41469 conftest$ac_exeext conftest.$ac_ext
41470
41471
41472 fi
41473
41474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41475 conftest$ac_exeext conftest.$ac_ext
41476
41477 fi
41478 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41479 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41480 fi
41481
41482 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41483 cat >>confdefs.h <<\_ACEOF
41484 #define HAVE_SYS_SOUNDCARD_H 1
41485 _ACEOF
41486
41487 fi
41488 fi
41489
41490 WITH_PLUGIN_SDL=0
41491 if test "$wxUSE_SOUND" = "yes"; then
41492 if test "$USE_UNIX" = "1" ; then
41493 if test "$wxUSE_LIBSDL" != "no"; then
41494
41495 # Check whether --with-sdl-prefix was given.
41496 if test "${with_sdl_prefix+set}" = set; then
41497 withval=$with_sdl_prefix; sdl_prefix="$withval"
41498 else
41499 sdl_prefix=""
41500 fi
41501
41502
41503 # Check whether --with-sdl-exec-prefix was given.
41504 if test "${with_sdl_exec_prefix+set}" = set; then
41505 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41506 else
41507 sdl_exec_prefix=""
41508 fi
41509
41510 # Check whether --enable-sdltest was given.
41511 if test "${enable_sdltest+set}" = set; then
41512 enableval=$enable_sdltest;
41513 else
41514 enable_sdltest=yes
41515 fi
41516
41517
41518 if test x$sdl_exec_prefix != x ; then
41519 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41520 if test x${SDL_CONFIG+set} != xset ; then
41521 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41522 fi
41523 fi
41524 if test x$sdl_prefix != x ; then
41525 sdl_args="$sdl_args --prefix=$sdl_prefix"
41526 if test x${SDL_CONFIG+set} != xset ; then
41527 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41528 fi
41529 fi
41530
41531 if test "x$prefix" != xNONE; then
41532 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41533 fi
41534 # Extract the first word of "sdl-config", so it can be a program name with args.
41535 set dummy sdl-config; ac_word=$2
41536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41538 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41539 echo $ECHO_N "(cached) $ECHO_C" >&6
41540 else
41541 case $SDL_CONFIG in
41542 [\\/]* | ?:[\\/]*)
41543 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41544 ;;
41545 *)
41546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41547 for as_dir in $PATH
41548 do
41549 IFS=$as_save_IFS
41550 test -z "$as_dir" && as_dir=.
41551 for ac_exec_ext in '' $ac_executable_extensions; do
41552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41553 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41555 break 2
41556 fi
41557 done
41558 done
41559 IFS=$as_save_IFS
41560
41561 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41562 ;;
41563 esac
41564 fi
41565 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41566 if test -n "$SDL_CONFIG"; then
41567 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41568 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41569 else
41570 { echo "$as_me:$LINENO: result: no" >&5
41571 echo "${ECHO_T}no" >&6; }
41572 fi
41573
41574
41575 min_sdl_version=1.2.0
41576 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41577 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41578 no_sdl=""
41579 if test "$SDL_CONFIG" = "no" ; then
41580 no_sdl=yes
41581 else
41582 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41583 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41584
41585 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41587 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41589 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41591 if test "x$enable_sdltest" = "xyes" ; then
41592 ac_save_CFLAGS="$CFLAGS"
41593 ac_save_CXXFLAGS="$CXXFLAGS"
41594 ac_save_LIBS="$LIBS"
41595 CFLAGS="$CFLAGS $SDL_CFLAGS"
41596 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41597 LIBS="$LIBS $SDL_LIBS"
41598 rm -f conf.sdltest
41599 if test "$cross_compiling" = yes; then
41600 echo $ac_n "cross compiling; assumed OK... $ac_c"
41601 else
41602 cat >conftest.$ac_ext <<_ACEOF
41603 /* confdefs.h. */
41604 _ACEOF
41605 cat confdefs.h >>conftest.$ac_ext
41606 cat >>conftest.$ac_ext <<_ACEOF
41607 /* end confdefs.h. */
41608
41609 #include <stdio.h>
41610 #include <stdlib.h>
41611 #include <string.h>
41612 #include "SDL.h"
41613
41614 char*
41615 my_strdup (char *str)
41616 {
41617 char *new_str;
41618
41619 if (str)
41620 {
41621 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41622 strcpy (new_str, str);
41623 }
41624 else
41625 new_str = NULL;
41626
41627 return new_str;
41628 }
41629
41630 int main (int argc, char *argv[])
41631 {
41632 int major, minor, micro;
41633 char *tmp_version;
41634
41635 /* This hangs on some systems (?)
41636 system ("touch conf.sdltest");
41637 */
41638 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41639
41640 /* HP/UX 9 (%@#!) writes to sscanf strings */
41641 tmp_version = my_strdup("$min_sdl_version");
41642 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41643 printf("%s, bad version string\n", "$min_sdl_version");
41644 exit(1);
41645 }
41646
41647 if (($sdl_major_version > major) ||
41648 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41649 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41650 {
41651 return 0;
41652 }
41653 else
41654 {
41655 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41656 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41657 printf("*** best to upgrade to the required version.\n");
41658 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41659 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41660 printf("*** config.cache before re-running configure\n");
41661 return 1;
41662 }
41663 }
41664
41665
41666 _ACEOF
41667 rm -f conftest$ac_exeext
41668 if { (ac_try="$ac_link"
41669 case "(($ac_try" in
41670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41671 *) ac_try_echo=$ac_try;;
41672 esac
41673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41674 (eval "$ac_link") 2>&5
41675 ac_status=$?
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41678 { (case "(($ac_try" in
41679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41680 *) ac_try_echo=$ac_try;;
41681 esac
41682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41683 (eval "$ac_try") 2>&5
41684 ac_status=$?
41685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41686 (exit $ac_status); }; }; then
41687 :
41688 else
41689 echo "$as_me: program exited with status $ac_status" >&5
41690 echo "$as_me: failed program was:" >&5
41691 sed 's/^/| /' conftest.$ac_ext >&5
41692
41693 ( exit $ac_status )
41694 no_sdl=yes
41695 fi
41696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41697 fi
41698
41699
41700 CFLAGS="$ac_save_CFLAGS"
41701 CXXFLAGS="$ac_save_CXXFLAGS"
41702 LIBS="$ac_save_LIBS"
41703 fi
41704 fi
41705 if test "x$no_sdl" = x ; then
41706 { echo "$as_me:$LINENO: result: yes" >&5
41707 echo "${ECHO_T}yes" >&6; }
41708
41709 EXTRALIBS_SDL="$SDL_LIBS"
41710 CFLAGS="$SDL_CFLAGS $CFLAGS"
41711 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41712 cat >>confdefs.h <<\_ACEOF
41713 #define wxUSE_LIBSDL 1
41714 _ACEOF
41715
41716
41717 else
41718 { echo "$as_me:$LINENO: result: no" >&5
41719 echo "${ECHO_T}no" >&6; }
41720 if test "$SDL_CONFIG" = "no" ; then
41721 echo "*** The sdl-config script installed by SDL could not be found"
41722 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41723 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41724 echo "*** full path to sdl-config."
41725 else
41726 if test -f conf.sdltest ; then
41727 :
41728 else
41729 echo "*** Could not run SDL test program, checking why..."
41730 CFLAGS="$CFLAGS $SDL_CFLAGS"
41731 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41732 LIBS="$LIBS $SDL_LIBS"
41733 cat >conftest.$ac_ext <<_ACEOF
41734 /* confdefs.h. */
41735 _ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739
41740 #include <stdio.h>
41741 #include "SDL.h"
41742
41743 int main(int argc, char *argv[])
41744 { return 0; }
41745 #undef main
41746 #define main K_and_R_C_main
41747
41748 int
41749 main ()
41750 {
41751 return 0;
41752 ;
41753 return 0;
41754 }
41755 _ACEOF
41756 rm -f conftest.$ac_objext conftest$ac_exeext
41757 if { (ac_try="$ac_link"
41758 case "(($ac_try" in
41759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41760 *) ac_try_echo=$ac_try;;
41761 esac
41762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41763 (eval "$ac_link") 2>conftest.er1
41764 ac_status=$?
41765 grep -v '^ *+' conftest.er1 >conftest.err
41766 rm -f conftest.er1
41767 cat conftest.err >&5
41768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41769 (exit $ac_status); } && {
41770 test -z "$ac_c_werror_flag" ||
41771 test ! -s conftest.err
41772 } && test -s conftest$ac_exeext &&
41773 $as_test_x conftest$ac_exeext; then
41774 echo "*** The test program compiled, but did not run. This usually means"
41775 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41776 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41777 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41778 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41779 echo "*** is required on your system"
41780 echo "***"
41781 echo "*** If you have an old version installed, it is best to remove it, although"
41782 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41783 else
41784 echo "$as_me: failed program was:" >&5
41785 sed 's/^/| /' conftest.$ac_ext >&5
41786
41787 echo "*** The test program failed to compile or link. See the file config.log for the"
41788 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41789 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41790 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41791 fi
41792
41793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41794 conftest$ac_exeext conftest.$ac_ext
41795 CFLAGS="$ac_save_CFLAGS"
41796 CXXFLAGS="$ac_save_CXXFLAGS"
41797 LIBS="$ac_save_LIBS"
41798 fi
41799 fi
41800 SDL_CFLAGS=""
41801 SDL_LIBS=""
41802 wxUSE_LIBSDL="no"
41803 fi
41804
41805
41806 rm -f conf.sdltest
41807
41808 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41809 WITH_PLUGIN_SDL=1
41810 fi
41811 fi
41812 else
41813 if test "$wxUSE_MGL" = 1; then
41814 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41815 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41816 wxUSE_SOUND="no"
41817 fi
41818 fi
41819 fi
41820
41821 if test "$wxUSE_SOUND" = "yes"; then
41822 cat >>confdefs.h <<\_ACEOF
41823 #define wxUSE_SOUND 1
41824 _ACEOF
41825
41826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41827 fi
41828
41829 if test "$WXGTK20" = 1; then
41830
41831
41832 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41833 if test -n "$ac_tool_prefix"; then
41834 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41835 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41838 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41839 echo $ECHO_N "(cached) $ECHO_C" >&6
41840 else
41841 case $PKG_CONFIG in
41842 [\\/]* | ?:[\\/]*)
41843 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41844 ;;
41845 *)
41846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41847 for as_dir in $PATH
41848 do
41849 IFS=$as_save_IFS
41850 test -z "$as_dir" && as_dir=.
41851 for ac_exec_ext in '' $ac_executable_extensions; do
41852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41853 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41855 break 2
41856 fi
41857 done
41858 done
41859 IFS=$as_save_IFS
41860
41861 ;;
41862 esac
41863 fi
41864 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41865 if test -n "$PKG_CONFIG"; then
41866 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41867 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41868 else
41869 { echo "$as_me:$LINENO: result: no" >&5
41870 echo "${ECHO_T}no" >&6; }
41871 fi
41872
41873
41874 fi
41875 if test -z "$ac_cv_path_PKG_CONFIG"; then
41876 ac_pt_PKG_CONFIG=$PKG_CONFIG
41877 # Extract the first word of "pkg-config", so it can be a program name with args.
41878 set dummy pkg-config; ac_word=$2
41879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41881 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41882 echo $ECHO_N "(cached) $ECHO_C" >&6
41883 else
41884 case $ac_pt_PKG_CONFIG in
41885 [\\/]* | ?:[\\/]*)
41886 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41887 ;;
41888 *)
41889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41890 for as_dir in $PATH
41891 do
41892 IFS=$as_save_IFS
41893 test -z "$as_dir" && as_dir=.
41894 for ac_exec_ext in '' $ac_executable_extensions; do
41895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41896 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41898 break 2
41899 fi
41900 done
41901 done
41902 IFS=$as_save_IFS
41903
41904 ;;
41905 esac
41906 fi
41907 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41908 if test -n "$ac_pt_PKG_CONFIG"; then
41909 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41910 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41911 else
41912 { echo "$as_me:$LINENO: result: no" >&5
41913 echo "${ECHO_T}no" >&6; }
41914 fi
41915
41916 if test "x$ac_pt_PKG_CONFIG" = x; then
41917 PKG_CONFIG=""
41918 else
41919 case $cross_compiling:$ac_tool_warned in
41920 yes:)
41921 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41922 whose name does not start with the host triplet. If you think this
41923 configuration is useful to you, please write to autoconf@gnu.org." >&5
41924 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41925 whose name does not start with the host triplet. If you think this
41926 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41927 ac_tool_warned=yes ;;
41928 esac
41929 PKG_CONFIG=$ac_pt_PKG_CONFIG
41930 fi
41931 else
41932 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41933 fi
41934
41935 fi
41936 if test -n "$PKG_CONFIG"; then
41937 _pkg_min_version=0.9.0
41938 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41939 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41940 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41941 { echo "$as_me:$LINENO: result: yes" >&5
41942 echo "${ECHO_T}yes" >&6; }
41943 else
41944 { echo "$as_me:$LINENO: result: no" >&5
41945 echo "${ECHO_T}no" >&6; }
41946 PKG_CONFIG=""
41947 fi
41948
41949 fi
41950
41951 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41952 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41953
41954
41955 pkg_failed=no
41956 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41957 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41958
41959 if test -n "$PKG_CONFIG"; then
41960 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41961 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41962 else
41963 if test -n "$PKG_CONFIG" && \
41964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41965 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41966 ac_status=$?
41967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968 (exit $ac_status); }; then
41969 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41970 else
41971 pkg_failed=yes
41972 fi
41973 fi
41974 else
41975 pkg_failed=untried
41976 fi
41977 if test -n "$PKG_CONFIG"; then
41978 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41979 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41980 else
41981 if test -n "$PKG_CONFIG" && \
41982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41983 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41984 ac_status=$?
41985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41986 (exit $ac_status); }; then
41987 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41988 else
41989 pkg_failed=yes
41990 fi
41991 fi
41992 else
41993 pkg_failed=untried
41994 fi
41995
41996
41997
41998 if test $pkg_failed = yes; then
41999
42000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42001 _pkg_short_errors_supported=yes
42002 else
42003 _pkg_short_errors_supported=no
42004 fi
42005 if test $_pkg_short_errors_supported = yes; then
42006 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42007 else
42008 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42009 fi
42010 # Put the nasty error message in config.log where it belongs
42011 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42012
42013
42014 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42015 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42016 wxUSE_LIBGNOMEPRINT="no"
42017
42018
42019 elif test $pkg_failed = untried; then
42020
42021 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42022 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42023 wxUSE_LIBGNOMEPRINT="no"
42024
42025
42026 else
42027 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42028 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42029 { echo "$as_me:$LINENO: result: yes" >&5
42030 echo "${ECHO_T}yes" >&6; }
42031
42032 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42033 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42034 cat >>confdefs.h <<\_ACEOF
42035 #define wxUSE_LIBGNOMEPRINT 1
42036 _ACEOF
42037
42038
42039 fi
42040 fi
42041 fi
42042
42043 if test "$wxUSE_MIMETYPE" = "yes" ; then
42044 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42045
42046
42047 pkg_failed=no
42048 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42049 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42050
42051 if test -n "$PKG_CONFIG"; then
42052 if test -n "$GNOMEVFS_CFLAGS"; then
42053 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42054 else
42055 if test -n "$PKG_CONFIG" && \
42056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42057 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42058 ac_status=$?
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); }; then
42061 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42062 else
42063 pkg_failed=yes
42064 fi
42065 fi
42066 else
42067 pkg_failed=untried
42068 fi
42069 if test -n "$PKG_CONFIG"; then
42070 if test -n "$GNOMEVFS_LIBS"; then
42071 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42072 else
42073 if test -n "$PKG_CONFIG" && \
42074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42075 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42076 ac_status=$?
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); }; then
42079 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42080 else
42081 pkg_failed=yes
42082 fi
42083 fi
42084 else
42085 pkg_failed=untried
42086 fi
42087
42088
42089
42090 if test $pkg_failed = yes; then
42091
42092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42093 _pkg_short_errors_supported=yes
42094 else
42095 _pkg_short_errors_supported=no
42096 fi
42097 if test $_pkg_short_errors_supported = yes; then
42098 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42099 else
42100 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42101 fi
42102 # Put the nasty error message in config.log where it belongs
42103 echo "$GNOMEVFS_PKG_ERRORS" >&5
42104
42105
42106 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42107 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42108 wxUSE_LIBGNOMEVFS="no"
42109
42110
42111 elif test $pkg_failed = untried; then
42112
42113 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42114 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42115 wxUSE_LIBGNOMEVFS="no"
42116
42117
42118 else
42119 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42120 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42121 { echo "$as_me:$LINENO: result: yes" >&5
42122 echo "${ECHO_T}yes" >&6; }
42123
42124 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42125 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42126 cat >>confdefs.h <<\_ACEOF
42127 #define wxUSE_LIBGNOMEVFS 1
42128 _ACEOF
42129
42130
42131 fi
42132 fi
42133 fi
42134
42135 if test "$wxUSE_LIBHILDON" = "yes" ; then
42136
42137 pkg_failed=no
42138 { echo "$as_me:$LINENO: checking for HILDON" >&5
42139 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42140
42141 if test -n "$PKG_CONFIG"; then
42142 if test -n "$HILDON_CFLAGS"; then
42143 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42144 else
42145 if test -n "$PKG_CONFIG" && \
42146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42147 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42148 ac_status=$?
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); }; then
42151 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42152 else
42153 pkg_failed=yes
42154 fi
42155 fi
42156 else
42157 pkg_failed=untried
42158 fi
42159 if test -n "$PKG_CONFIG"; then
42160 if test -n "$HILDON_LIBS"; then
42161 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42162 else
42163 if test -n "$PKG_CONFIG" && \
42164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42165 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42166 ac_status=$?
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); }; then
42169 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42170 else
42171 pkg_failed=yes
42172 fi
42173 fi
42174 else
42175 pkg_failed=untried
42176 fi
42177
42178
42179
42180 if test $pkg_failed = yes; then
42181
42182 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42183 _pkg_short_errors_supported=yes
42184 else
42185 _pkg_short_errors_supported=no
42186 fi
42187 if test $_pkg_short_errors_supported = yes; then
42188 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42189 else
42190 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42191 fi
42192 # Put the nasty error message in config.log where it belongs
42193 echo "$HILDON_PKG_ERRORS" >&5
42194
42195
42196 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42197 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42198 wxUSE_LIBHILDON="no"
42199
42200
42201 elif test $pkg_failed = untried; then
42202
42203 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42204 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42205 wxUSE_LIBHILDON="no"
42206
42207
42208 else
42209 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42210 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42211 { echo "$as_me:$LINENO: result: yes" >&5
42212 echo "${ECHO_T}yes" >&6; }
42213
42214 EXTRALIBS_HILDON="$HILDON_LIBS"
42215 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42216 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42217 cat >>confdefs.h <<\_ACEOF
42218 #define wxUSE_LIBHILDON 1
42219 _ACEOF
42220
42221
42222 fi
42223 fi
42224 fi
42225
42226 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42227 cat >>confdefs.h <<\_ACEOF
42228 #define wxUSE_CMDLINE_PARSER 1
42229 _ACEOF
42230
42231 fi
42232
42233 if test "$wxUSE_STOPWATCH" = "yes"; then
42234 cat >>confdefs.h <<\_ACEOF
42235 #define wxUSE_STOPWATCH 1
42236 _ACEOF
42237
42238 fi
42239
42240 if test "$wxUSE_DATETIME" = "yes"; then
42241 cat >>confdefs.h <<\_ACEOF
42242 #define wxUSE_DATETIME 1
42243 _ACEOF
42244
42245 fi
42246
42247 if test "$wxUSE_FILE" = "yes"; then
42248 cat >>confdefs.h <<\_ACEOF
42249 #define wxUSE_FILE 1
42250 _ACEOF
42251
42252 fi
42253
42254 if test "$wxUSE_FFILE" = "yes"; then
42255 cat >>confdefs.h <<\_ACEOF
42256 #define wxUSE_FFILE 1
42257 _ACEOF
42258
42259 fi
42260
42261 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42262 if test "$wxUSE_STREAMS" != yes; then
42263 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42264 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42265 wxUSE_ARCHIVE_STREAMS=no
42266 else
42267 cat >>confdefs.h <<\_ACEOF
42268 #define wxUSE_ARCHIVE_STREAMS 1
42269 _ACEOF
42270
42271 fi
42272 fi
42273
42274 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42275 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42276 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42277 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42278 elif test "$wxUSE_ZLIB" = "no"; then
42279 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42280 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42281 else
42282 cat >>confdefs.h <<\_ACEOF
42283 #define wxUSE_ZIPSTREAM 1
42284 _ACEOF
42285
42286 fi
42287 fi
42288
42289 if test "$wxUSE_TARSTREAM" = "yes"; then
42290 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42291 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42292 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42293 else
42294 cat >>confdefs.h <<\_ACEOF
42295 #define wxUSE_TARSTREAM 1
42296 _ACEOF
42297
42298 fi
42299 fi
42300
42301 if test "$wxUSE_FILESYSTEM" = "yes"; then
42302 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42303 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42304 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42305 wxUSE_FILESYSTEM=no
42306 else
42307 cat >>confdefs.h <<\_ACEOF
42308 #define wxUSE_FILESYSTEM 1
42309 _ACEOF
42310
42311 fi
42312 fi
42313
42314 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42315 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42316 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42317 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42318 else
42319 cat >>confdefs.h <<\_ACEOF
42320 #define wxUSE_FS_ARCHIVE 1
42321 _ACEOF
42322
42323 fi
42324 fi
42325
42326 if test "$wxUSE_FS_ZIP" = "yes"; then
42327 if test "$wxUSE_FS_ARCHIVE" != yes; then
42328 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42329 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42330 else
42331 cat >>confdefs.h <<\_ACEOF
42332 #define wxUSE_FS_ZIP 1
42333 _ACEOF
42334
42335 fi
42336 fi
42337
42338 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42339 if test "$USE_UNIX" != 1; then
42340 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42341 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42342 wxUSE_ON_FATAL_EXCEPTION=no
42343 else
42344 cat >>confdefs.h <<\_ACEOF
42345 #define wxUSE_ON_FATAL_EXCEPTION 1
42346 _ACEOF
42347
42348 fi
42349 fi
42350
42351 if test "$wxUSE_STACKWALKER" = "yes"; then
42352 cat >>confdefs.h <<\_ACEOF
42353 #define wxUSE_STACKWALKER 1
42354 _ACEOF
42355
42356 fi
42357
42358 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42359 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42360 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42361 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42362 wxUSE_DEBUGREPORT=no
42363 else
42364 cat >>confdefs.h <<\_ACEOF
42365 #define wxUSE_DEBUGREPORT 1
42366 _ACEOF
42367
42368 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42370 fi
42371 fi
42372 fi
42373
42374 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42375 cat >>confdefs.h <<\_ACEOF
42376 #define wxUSE_SNGLINST_CHECKER 1
42377 _ACEOF
42378
42379 fi
42380
42381 if test "$wxUSE_BUSYINFO" = "yes"; then
42382 cat >>confdefs.h <<\_ACEOF
42383 #define wxUSE_BUSYINFO 1
42384 _ACEOF
42385
42386 fi
42387
42388 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42389 cat >>confdefs.h <<\_ACEOF
42390 #define wxUSE_STD_IOSTREAM 1
42391 _ACEOF
42392
42393 fi
42394
42395 if test "$wxUSE_STD_STRING" = "yes"; then
42396 cat >>confdefs.h <<\_ACEOF
42397 #define wxUSE_STD_STRING 1
42398 _ACEOF
42399
42400 fi
42401
42402 if test "$wxUSE_STDPATHS" = "yes"; then
42403 cat >>confdefs.h <<\_ACEOF
42404 #define wxUSE_STDPATHS 1
42405 _ACEOF
42406
42407 fi
42408
42409 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42410 cat >>confdefs.h <<\_ACEOF
42411 #define wxUSE_TEXTBUFFER 1
42412 _ACEOF
42413
42414 fi
42415
42416 if test "$wxUSE_TEXTFILE" = "yes"; then
42417 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42418 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42419 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42420 else
42421 cat >>confdefs.h <<\_ACEOF
42422 #define wxUSE_TEXTFILE 1
42423 _ACEOF
42424
42425 fi
42426 fi
42427
42428 if test "$wxUSE_CONFIG" = "yes" ; then
42429 if test "$wxUSE_TEXTFILE" != "yes"; then
42430 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42431 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42432 else
42433 cat >>confdefs.h <<\_ACEOF
42434 #define wxUSE_CONFIG 1
42435 _ACEOF
42436
42437 cat >>confdefs.h <<\_ACEOF
42438 #define wxUSE_CONFIG_NATIVE 1
42439 _ACEOF
42440
42441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42442 fi
42443 fi
42444
42445 if test "$wxUSE_INTL" = "yes" ; then
42446 if test "$wxUSE_FILE" != "yes"; then
42447 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42448 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42449 else
42450 cat >>confdefs.h <<\_ACEOF
42451 #define wxUSE_INTL 1
42452 _ACEOF
42453
42454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42455 GUIDIST="$GUIDIST INTL_DIST"
42456 fi
42457 fi
42458
42459 if test "$wxUSE_LOG" = "yes"; then
42460 cat >>confdefs.h <<\_ACEOF
42461 #define wxUSE_LOG 1
42462 _ACEOF
42463
42464
42465 if test "$wxUSE_LOGGUI" = "yes"; then
42466 cat >>confdefs.h <<\_ACEOF
42467 #define wxUSE_LOGGUI 1
42468 _ACEOF
42469
42470 fi
42471
42472 if test "$wxUSE_LOGWINDOW" = "yes"; then
42473 cat >>confdefs.h <<\_ACEOF
42474 #define wxUSE_LOGWINDOW 1
42475 _ACEOF
42476
42477 fi
42478
42479 if test "$wxUSE_LOGDIALOG" = "yes"; then
42480 cat >>confdefs.h <<\_ACEOF
42481 #define wxUSE_LOG_DIALOG 1
42482 _ACEOF
42483
42484 fi
42485
42486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42487 fi
42488
42489 if test "$wxUSE_LONGLONG" = "yes"; then
42490 cat >>confdefs.h <<\_ACEOF
42491 #define wxUSE_LONGLONG 1
42492 _ACEOF
42493
42494 fi
42495
42496 if test "$wxUSE_GEOMETRY" = "yes"; then
42497 cat >>confdefs.h <<\_ACEOF
42498 #define wxUSE_GEOMETRY 1
42499 _ACEOF
42500
42501 fi
42502
42503 if test "$wxUSE_STREAMS" = "yes" ; then
42504 cat >>confdefs.h <<\_ACEOF
42505 #define wxUSE_STREAMS 1
42506 _ACEOF
42507
42508 fi
42509
42510 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42511 cat >>confdefs.h <<\_ACEOF
42512 #define wxUSE_PRINTF_POS_PARAMS 1
42513 _ACEOF
42514
42515 fi
42516
42517 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42518 cat >>confdefs.h <<\_ACEOF
42519 #define wxUSE_OBJC_UNIQUIFYING 1
42520 _ACEOF
42521
42522 fi
42523
42524
42525 if test "$wxUSE_DATETIME" = "yes"; then
42526 { echo "$as_me:$LINENO: checking for strptime" >&5
42527 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42528 if test "${ac_cv_func_strptime+set}" = set; then
42529 echo $ECHO_N "(cached) $ECHO_C" >&6
42530 else
42531 cat >conftest.$ac_ext <<_ACEOF
42532 /* confdefs.h. */
42533 _ACEOF
42534 cat confdefs.h >>conftest.$ac_ext
42535 cat >>conftest.$ac_ext <<_ACEOF
42536 /* end confdefs.h. */
42537 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42539 #define strptime innocuous_strptime
42540
42541 /* System header to define __stub macros and hopefully few prototypes,
42542 which can conflict with char strptime (); below.
42543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42544 <limits.h> exists even on freestanding compilers. */
42545
42546 #ifdef __STDC__
42547 # include <limits.h>
42548 #else
42549 # include <assert.h>
42550 #endif
42551
42552 #undef strptime
42553
42554 /* Override any GCC internal prototype to avoid an error.
42555 Use char because int might match the return type of a GCC
42556 builtin and then its argument prototype would still apply. */
42557 #ifdef __cplusplus
42558 extern "C"
42559 #endif
42560 char strptime ();
42561 /* The GNU C library defines this for functions which it implements
42562 to always fail with ENOSYS. Some functions are actually named
42563 something starting with __ and the normal name is an alias. */
42564 #if defined __stub_strptime || defined __stub___strptime
42565 choke me
42566 #endif
42567
42568 int
42569 main ()
42570 {
42571 return strptime ();
42572 ;
42573 return 0;
42574 }
42575 _ACEOF
42576 rm -f conftest.$ac_objext conftest$ac_exeext
42577 if { (ac_try="$ac_link"
42578 case "(($ac_try" in
42579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42580 *) ac_try_echo=$ac_try;;
42581 esac
42582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42583 (eval "$ac_link") 2>conftest.er1
42584 ac_status=$?
42585 grep -v '^ *+' conftest.er1 >conftest.err
42586 rm -f conftest.er1
42587 cat conftest.err >&5
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); } && {
42590 test -z "$ac_c_werror_flag" ||
42591 test ! -s conftest.err
42592 } && test -s conftest$ac_exeext &&
42593 $as_test_x conftest$ac_exeext; then
42594 ac_cv_func_strptime=yes
42595 else
42596 echo "$as_me: failed program was:" >&5
42597 sed 's/^/| /' conftest.$ac_ext >&5
42598
42599 ac_cv_func_strptime=no
42600 fi
42601
42602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42603 conftest$ac_exeext conftest.$ac_ext
42604 fi
42605 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
42606 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
42607
42608 if test "$ac_cv_func_strptime" = "yes"; then
42609 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42610 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42611 if test "${wx_cv_func_strptime_decl+set}" = set; then
42612 echo $ECHO_N "(cached) $ECHO_C" >&6
42613 else
42614
42615 ac_ext=cpp
42616 ac_cpp='$CXXCPP $CPPFLAGS'
42617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42620
42621 cat >conftest.$ac_ext <<_ACEOF
42622 /* confdefs.h. */
42623 _ACEOF
42624 cat confdefs.h >>conftest.$ac_ext
42625 cat >>conftest.$ac_ext <<_ACEOF
42626 /* end confdefs.h. */
42627
42628 #include <time.h>
42629
42630 int
42631 main ()
42632 {
42633
42634 struct tm t;
42635 strptime("foo", "bar", &t);
42636
42637 ;
42638 return 0;
42639 }
42640 _ACEOF
42641 rm -f conftest.$ac_objext
42642 if { (ac_try="$ac_compile"
42643 case "(($ac_try" in
42644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42645 *) ac_try_echo=$ac_try;;
42646 esac
42647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42648 (eval "$ac_compile") 2>conftest.er1
42649 ac_status=$?
42650 grep -v '^ *+' conftest.er1 >conftest.err
42651 rm -f conftest.er1
42652 cat conftest.err >&5
42653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42654 (exit $ac_status); } && {
42655 test -z "$ac_cxx_werror_flag" ||
42656 test ! -s conftest.err
42657 } && test -s conftest.$ac_objext; then
42658 wx_cv_func_strptime_decl=yes
42659 else
42660 echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.$ac_ext >&5
42662
42663 wx_cv_func_strptime_decl=no
42664
42665 fi
42666
42667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42668 ac_ext=c
42669 ac_cpp='$CPP $CPPFLAGS'
42670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42673
42674
42675
42676 fi
42677 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42678 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42679 fi
42680 if test "$wx_cv_func_strptime_decl" = "yes"; then
42681 cat >>confdefs.h <<\_ACEOF
42682 #define HAVE_STRPTIME_DECL 1
42683 _ACEOF
42684
42685 else
42686 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
42687 fi
42688 if test "$ac_cv_func_strptime" = "yes"; then
42689 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
42690 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
42691 if test "${wx_cv_func_strptime_ok+set}" = set; then
42692 echo $ECHO_N "(cached) $ECHO_C" >&6
42693 else
42694 if test "$cross_compiling" = yes; then
42695 wx_cv_func_strptime_ok=no
42696
42697 else
42698 cat >conftest.$ac_ext <<_ACEOF
42699
42700 #include <stdlib.h>
42701 #include <time.h>
42702 #include "confdefs.h"
42703
42704 $wx_strptime_decl
42705
42706 int main()
42707 {
42708 struct tm t;
42709 return !!strptime("", "%x", &t);
42710 }
42711
42712 _ACEOF
42713 rm -f conftest$ac_exeext
42714 if { (ac_try="$ac_link"
42715 case "(($ac_try" in
42716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42717 *) ac_try_echo=$ac_try;;
42718 esac
42719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42720 (eval "$ac_link") 2>&5
42721 ac_status=$?
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42724 { (case "(($ac_try" in
42725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42726 *) ac_try_echo=$ac_try;;
42727 esac
42728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42729 (eval "$ac_try") 2>&5
42730 ac_status=$?
42731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42732 (exit $ac_status); }; }; then
42733 wx_cv_func_strptime_ok=yes
42734 else
42735 echo "$as_me: program exited with status $ac_status" >&5
42736 echo "$as_me: failed program was:" >&5
42737 sed 's/^/| /' conftest.$ac_ext >&5
42738
42739 ( exit $ac_status )
42740 wx_cv_func_strptime_ok=no
42741 fi
42742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42743 fi
42744
42745
42746
42747 fi
42748 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
42749 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
42750
42751 if test "$wx_cv_func_strptime_ok" = "yes"; then
42752 cat >>confdefs.h <<\_ACEOF
42753 #define HAVE_STRPTIME 1
42754 _ACEOF
42755
42756 fi
42757 fi
42758
42759 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42760 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42761 if test "${wx_cv_var_timezone+set}" = set; then
42762 echo $ECHO_N "(cached) $ECHO_C" >&6
42763 else
42764
42765 ac_ext=cpp
42766 ac_cpp='$CXXCPP $CPPFLAGS'
42767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42770
42771 cat >conftest.$ac_ext <<_ACEOF
42772 /* confdefs.h. */
42773 _ACEOF
42774 cat confdefs.h >>conftest.$ac_ext
42775 cat >>conftest.$ac_ext <<_ACEOF
42776 /* end confdefs.h. */
42777
42778 #include <time.h>
42779
42780 int
42781 main ()
42782 {
42783
42784 int tz;
42785 tz = timezone;
42786
42787 ;
42788 return 0;
42789 }
42790 _ACEOF
42791 rm -f conftest.$ac_objext
42792 if { (ac_try="$ac_compile"
42793 case "(($ac_try" in
42794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42795 *) ac_try_echo=$ac_try;;
42796 esac
42797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42798 (eval "$ac_compile") 2>conftest.er1
42799 ac_status=$?
42800 grep -v '^ *+' conftest.er1 >conftest.err
42801 rm -f conftest.er1
42802 cat conftest.err >&5
42803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42804 (exit $ac_status); } && {
42805 test -z "$ac_cxx_werror_flag" ||
42806 test ! -s conftest.err
42807 } && test -s conftest.$ac_objext; then
42808
42809 wx_cv_var_timezone=timezone
42810
42811 else
42812 echo "$as_me: failed program was:" >&5
42813 sed 's/^/| /' conftest.$ac_ext >&5
42814
42815
42816 cat >conftest.$ac_ext <<_ACEOF
42817 /* confdefs.h. */
42818 _ACEOF
42819 cat confdefs.h >>conftest.$ac_ext
42820 cat >>conftest.$ac_ext <<_ACEOF
42821 /* end confdefs.h. */
42822
42823 #include <time.h>
42824
42825 int
42826 main ()
42827 {
42828
42829 int tz;
42830 tz = _timezone;
42831
42832 ;
42833 return 0;
42834 }
42835 _ACEOF
42836 rm -f conftest.$ac_objext
42837 if { (ac_try="$ac_compile"
42838 case "(($ac_try" in
42839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42840 *) ac_try_echo=$ac_try;;
42841 esac
42842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42843 (eval "$ac_compile") 2>conftest.er1
42844 ac_status=$?
42845 grep -v '^ *+' conftest.er1 >conftest.err
42846 rm -f conftest.er1
42847 cat conftest.err >&5
42848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42849 (exit $ac_status); } && {
42850 test -z "$ac_cxx_werror_flag" ||
42851 test ! -s conftest.err
42852 } && test -s conftest.$ac_objext; then
42853
42854 wx_cv_var_timezone=_timezone
42855
42856 else
42857 echo "$as_me: failed program was:" >&5
42858 sed 's/^/| /' conftest.$ac_ext >&5
42859
42860
42861 cat >conftest.$ac_ext <<_ACEOF
42862 /* confdefs.h. */
42863 _ACEOF
42864 cat confdefs.h >>conftest.$ac_ext
42865 cat >>conftest.$ac_ext <<_ACEOF
42866 /* end confdefs.h. */
42867
42868 #include <time.h>
42869
42870 int
42871 main ()
42872 {
42873
42874 int tz;
42875 tz = __timezone;
42876
42877 ;
42878 return 0;
42879 }
42880 _ACEOF
42881 rm -f conftest.$ac_objext
42882 if { (ac_try="$ac_compile"
42883 case "(($ac_try" in
42884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42885 *) ac_try_echo=$ac_try;;
42886 esac
42887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42888 (eval "$ac_compile") 2>conftest.er1
42889 ac_status=$?
42890 grep -v '^ *+' conftest.er1 >conftest.err
42891 rm -f conftest.er1
42892 cat conftest.err >&5
42893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42894 (exit $ac_status); } && {
42895 test -z "$ac_cxx_werror_flag" ||
42896 test ! -s conftest.err
42897 } && test -s conftest.$ac_objext; then
42898
42899 wx_cv_var_timezone=__timezone
42900
42901 else
42902 echo "$as_me: failed program was:" >&5
42903 sed 's/^/| /' conftest.$ac_ext >&5
42904
42905
42906 if test "$USE_DOS" = 0 ; then
42907 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42908 echo "$as_me: WARNING: no timezone variable" >&2;}
42909 fi
42910
42911
42912 fi
42913
42914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42915
42916
42917 fi
42918
42919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42920
42921
42922 fi
42923
42924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42925 ac_ext=c
42926 ac_cpp='$CPP $CPPFLAGS'
42927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42930
42931
42932
42933 fi
42934 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42935 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42936
42937 if test "x$wx_cv_var_timezone" != x ; then
42938 cat >>confdefs.h <<_ACEOF
42939 #define WX_TIMEZONE $wx_cv_var_timezone
42940 _ACEOF
42941
42942 fi
42943
42944
42945 for ac_func in localtime
42946 do
42947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42951 echo $ECHO_N "(cached) $ECHO_C" >&6
42952 else
42953 cat >conftest.$ac_ext <<_ACEOF
42954 /* confdefs.h. */
42955 _ACEOF
42956 cat confdefs.h >>conftest.$ac_ext
42957 cat >>conftest.$ac_ext <<_ACEOF
42958 /* end confdefs.h. */
42959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42961 #define $ac_func innocuous_$ac_func
42962
42963 /* System header to define __stub macros and hopefully few prototypes,
42964 which can conflict with char $ac_func (); below.
42965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42966 <limits.h> exists even on freestanding compilers. */
42967
42968 #ifdef __STDC__
42969 # include <limits.h>
42970 #else
42971 # include <assert.h>
42972 #endif
42973
42974 #undef $ac_func
42975
42976 /* Override any GCC internal prototype to avoid an error.
42977 Use char because int might match the return type of a GCC
42978 builtin and then its argument prototype would still apply. */
42979 #ifdef __cplusplus
42980 extern "C"
42981 #endif
42982 char $ac_func ();
42983 /* The GNU C library defines this for functions which it implements
42984 to always fail with ENOSYS. Some functions are actually named
42985 something starting with __ and the normal name is an alias. */
42986 #if defined __stub_$ac_func || defined __stub___$ac_func
42987 choke me
42988 #endif
42989
42990 int
42991 main ()
42992 {
42993 return $ac_func ();
42994 ;
42995 return 0;
42996 }
42997 _ACEOF
42998 rm -f conftest.$ac_objext conftest$ac_exeext
42999 if { (ac_try="$ac_link"
43000 case "(($ac_try" in
43001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43002 *) ac_try_echo=$ac_try;;
43003 esac
43004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43005 (eval "$ac_link") 2>conftest.er1
43006 ac_status=$?
43007 grep -v '^ *+' conftest.er1 >conftest.err
43008 rm -f conftest.er1
43009 cat conftest.err >&5
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); } && {
43012 test -z "$ac_c_werror_flag" ||
43013 test ! -s conftest.err
43014 } && test -s conftest$ac_exeext &&
43015 $as_test_x conftest$ac_exeext; then
43016 eval "$as_ac_var=yes"
43017 else
43018 echo "$as_me: failed program was:" >&5
43019 sed 's/^/| /' conftest.$ac_ext >&5
43020
43021 eval "$as_ac_var=no"
43022 fi
43023
43024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43025 conftest$ac_exeext conftest.$ac_ext
43026 fi
43027 ac_res=`eval echo '${'$as_ac_var'}'`
43028 { echo "$as_me:$LINENO: result: $ac_res" >&5
43029 echo "${ECHO_T}$ac_res" >&6; }
43030 if test `eval echo '${'$as_ac_var'}'` = yes; then
43031 cat >>confdefs.h <<_ACEOF
43032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43033 _ACEOF
43034
43035 fi
43036 done
43037
43038
43039 if test "$ac_cv_func_localtime" = "yes"; then
43040 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43041 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43042 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43043 echo $ECHO_N "(cached) $ECHO_C" >&6
43044 else
43045
43046 cat >conftest.$ac_ext <<_ACEOF
43047 /* confdefs.h. */
43048 _ACEOF
43049 cat confdefs.h >>conftest.$ac_ext
43050 cat >>conftest.$ac_ext <<_ACEOF
43051 /* end confdefs.h. */
43052
43053 #include <time.h>
43054
43055 int
43056 main ()
43057 {
43058
43059 struct tm tm;
43060 tm.tm_gmtoff++;
43061
43062 ;
43063 return 0;
43064 }
43065 _ACEOF
43066 rm -f conftest.$ac_objext
43067 if { (ac_try="$ac_compile"
43068 case "(($ac_try" in
43069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43070 *) ac_try_echo=$ac_try;;
43071 esac
43072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43073 (eval "$ac_compile") 2>conftest.er1
43074 ac_status=$?
43075 grep -v '^ *+' conftest.er1 >conftest.err
43076 rm -f conftest.er1
43077 cat conftest.err >&5
43078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079 (exit $ac_status); } && {
43080 test -z "$ac_c_werror_flag" ||
43081 test ! -s conftest.err
43082 } && test -s conftest.$ac_objext; then
43083
43084 wx_cv_struct_tm_has_gmtoff=yes
43085
43086 else
43087 echo "$as_me: failed program was:" >&5
43088 sed 's/^/| /' conftest.$ac_ext >&5
43089
43090 wx_cv_struct_tm_has_gmtoff=no
43091
43092 fi
43093
43094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43095
43096 fi
43097 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43098 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43099 fi
43100
43101 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43102 cat >>confdefs.h <<\_ACEOF
43103 #define WX_GMTOFF_IN_TM 1
43104 _ACEOF
43105
43106 fi
43107
43108
43109
43110 for ac_func in gettimeofday ftime
43111 do
43112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43113 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43116 echo $ECHO_N "(cached) $ECHO_C" >&6
43117 else
43118 cat >conftest.$ac_ext <<_ACEOF
43119 /* confdefs.h. */
43120 _ACEOF
43121 cat confdefs.h >>conftest.$ac_ext
43122 cat >>conftest.$ac_ext <<_ACEOF
43123 /* end confdefs.h. */
43124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43126 #define $ac_func innocuous_$ac_func
43127
43128 /* System header to define __stub macros and hopefully few prototypes,
43129 which can conflict with char $ac_func (); below.
43130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43131 <limits.h> exists even on freestanding compilers. */
43132
43133 #ifdef __STDC__
43134 # include <limits.h>
43135 #else
43136 # include <assert.h>
43137 #endif
43138
43139 #undef $ac_func
43140
43141 /* Override any GCC internal prototype to avoid an error.
43142 Use char because int might match the return type of a GCC
43143 builtin and then its argument prototype would still apply. */
43144 #ifdef __cplusplus
43145 extern "C"
43146 #endif
43147 char $ac_func ();
43148 /* The GNU C library defines this for functions which it implements
43149 to always fail with ENOSYS. Some functions are actually named
43150 something starting with __ and the normal name is an alias. */
43151 #if defined __stub_$ac_func || defined __stub___$ac_func
43152 choke me
43153 #endif
43154
43155 int
43156 main ()
43157 {
43158 return $ac_func ();
43159 ;
43160 return 0;
43161 }
43162 _ACEOF
43163 rm -f conftest.$ac_objext conftest$ac_exeext
43164 if { (ac_try="$ac_link"
43165 case "(($ac_try" in
43166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43167 *) ac_try_echo=$ac_try;;
43168 esac
43169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43170 (eval "$ac_link") 2>conftest.er1
43171 ac_status=$?
43172 grep -v '^ *+' conftest.er1 >conftest.err
43173 rm -f conftest.er1
43174 cat conftest.err >&5
43175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43176 (exit $ac_status); } && {
43177 test -z "$ac_c_werror_flag" ||
43178 test ! -s conftest.err
43179 } && test -s conftest$ac_exeext &&
43180 $as_test_x conftest$ac_exeext; then
43181 eval "$as_ac_var=yes"
43182 else
43183 echo "$as_me: failed program was:" >&5
43184 sed 's/^/| /' conftest.$ac_ext >&5
43185
43186 eval "$as_ac_var=no"
43187 fi
43188
43189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43190 conftest$ac_exeext conftest.$ac_ext
43191 fi
43192 ac_res=`eval echo '${'$as_ac_var'}'`
43193 { echo "$as_me:$LINENO: result: $ac_res" >&5
43194 echo "${ECHO_T}$ac_res" >&6; }
43195 if test `eval echo '${'$as_ac_var'}'` = yes; then
43196 cat >>confdefs.h <<_ACEOF
43197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43198 _ACEOF
43199 break
43200 fi
43201 done
43202
43203
43204 if test "$ac_cv_func_gettimeofday" = "yes"; then
43205 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43206 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43207 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43208 echo $ECHO_N "(cached) $ECHO_C" >&6
43209 else
43210
43211 cat >conftest.$ac_ext <<_ACEOF
43212 /* confdefs.h. */
43213 _ACEOF
43214 cat confdefs.h >>conftest.$ac_ext
43215 cat >>conftest.$ac_ext <<_ACEOF
43216 /* end confdefs.h. */
43217
43218 #include <sys/time.h>
43219 #include <unistd.h>
43220
43221 int
43222 main ()
43223 {
43224
43225 struct timeval tv;
43226 gettimeofday(&tv, NULL);
43227
43228 ;
43229 return 0;
43230 }
43231 _ACEOF
43232 rm -f conftest.$ac_objext
43233 if { (ac_try="$ac_compile"
43234 case "(($ac_try" in
43235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43236 *) ac_try_echo=$ac_try;;
43237 esac
43238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43239 (eval "$ac_compile") 2>conftest.er1
43240 ac_status=$?
43241 grep -v '^ *+' conftest.er1 >conftest.err
43242 rm -f conftest.er1
43243 cat conftest.err >&5
43244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43245 (exit $ac_status); } && {
43246 test -z "$ac_c_werror_flag" ||
43247 test ! -s conftest.err
43248 } && test -s conftest.$ac_objext; then
43249 wx_cv_func_gettimeofday_has_2_args=yes
43250 else
43251 echo "$as_me: failed program was:" >&5
43252 sed 's/^/| /' conftest.$ac_ext >&5
43253
43254 cat >conftest.$ac_ext <<_ACEOF
43255 /* confdefs.h. */
43256 _ACEOF
43257 cat confdefs.h >>conftest.$ac_ext
43258 cat >>conftest.$ac_ext <<_ACEOF
43259 /* end confdefs.h. */
43260
43261 #include <sys/time.h>
43262 #include <unistd.h>
43263
43264 int
43265 main ()
43266 {
43267
43268 struct timeval tv;
43269 gettimeofday(&tv);
43270
43271 ;
43272 return 0;
43273 }
43274 _ACEOF
43275 rm -f conftest.$ac_objext
43276 if { (ac_try="$ac_compile"
43277 case "(($ac_try" in
43278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43279 *) ac_try_echo=$ac_try;;
43280 esac
43281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43282 (eval "$ac_compile") 2>conftest.er1
43283 ac_status=$?
43284 grep -v '^ *+' conftest.er1 >conftest.err
43285 rm -f conftest.er1
43286 cat conftest.err >&5
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); } && {
43289 test -z "$ac_c_werror_flag" ||
43290 test ! -s conftest.err
43291 } && test -s conftest.$ac_objext; then
43292 wx_cv_func_gettimeofday_has_2_args=no
43293 else
43294 echo "$as_me: failed program was:" >&5
43295 sed 's/^/| /' conftest.$ac_ext >&5
43296
43297
43298 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43299 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43300 wx_cv_func_gettimeofday_has_2_args=unknown
43301
43302
43303 fi
43304
43305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43306
43307 fi
43308
43309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43310
43311 fi
43312 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43313 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43314
43315 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43316 cat >>confdefs.h <<\_ACEOF
43317 #define WX_GETTIMEOFDAY_NO_TZ 1
43318 _ACEOF
43319
43320 fi
43321 fi
43322
43323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43324 fi
43325
43326
43327 if test "$wxUSE_SOCKETS" = "yes"; then
43328 if test "$wxUSE_MGL" = "1"; then
43329 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43330 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43331 wxUSE_SOCKETS="no"
43332 fi
43333 fi
43334
43335 if test "$wxUSE_SOCKETS" = "yes"; then
43336 if test "$TOOLKIT" != "MSW"; then
43337 { echo "$as_me:$LINENO: checking for socket" >&5
43338 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43339 if test "${ac_cv_func_socket+set}" = set; then
43340 echo $ECHO_N "(cached) $ECHO_C" >&6
43341 else
43342 cat >conftest.$ac_ext <<_ACEOF
43343 /* confdefs.h. */
43344 _ACEOF
43345 cat confdefs.h >>conftest.$ac_ext
43346 cat >>conftest.$ac_ext <<_ACEOF
43347 /* end confdefs.h. */
43348 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43350 #define socket innocuous_socket
43351
43352 /* System header to define __stub macros and hopefully few prototypes,
43353 which can conflict with char socket (); below.
43354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43355 <limits.h> exists even on freestanding compilers. */
43356
43357 #ifdef __STDC__
43358 # include <limits.h>
43359 #else
43360 # include <assert.h>
43361 #endif
43362
43363 #undef socket
43364
43365 /* Override any GCC internal prototype to avoid an error.
43366 Use char because int might match the return type of a GCC
43367 builtin and then its argument prototype would still apply. */
43368 #ifdef __cplusplus
43369 extern "C"
43370 #endif
43371 char socket ();
43372 /* The GNU C library defines this for functions which it implements
43373 to always fail with ENOSYS. Some functions are actually named
43374 something starting with __ and the normal name is an alias. */
43375 #if defined __stub_socket || defined __stub___socket
43376 choke me
43377 #endif
43378
43379 int
43380 main ()
43381 {
43382 return socket ();
43383 ;
43384 return 0;
43385 }
43386 _ACEOF
43387 rm -f conftest.$ac_objext conftest$ac_exeext
43388 if { (ac_try="$ac_link"
43389 case "(($ac_try" in
43390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43391 *) ac_try_echo=$ac_try;;
43392 esac
43393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43394 (eval "$ac_link") 2>conftest.er1
43395 ac_status=$?
43396 grep -v '^ *+' conftest.er1 >conftest.err
43397 rm -f conftest.er1
43398 cat conftest.err >&5
43399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43400 (exit $ac_status); } && {
43401 test -z "$ac_c_werror_flag" ||
43402 test ! -s conftest.err
43403 } && test -s conftest$ac_exeext &&
43404 $as_test_x conftest$ac_exeext; then
43405 ac_cv_func_socket=yes
43406 else
43407 echo "$as_me: failed program was:" >&5
43408 sed 's/^/| /' conftest.$ac_ext >&5
43409
43410 ac_cv_func_socket=no
43411 fi
43412
43413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43414 conftest$ac_exeext conftest.$ac_ext
43415 fi
43416 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43417 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43418 if test $ac_cv_func_socket = yes; then
43419 :
43420 else
43421
43422 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43423 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43424 if test "${ac_cv_lib_socket_socket+set}" = set; then
43425 echo $ECHO_N "(cached) $ECHO_C" >&6
43426 else
43427 ac_check_lib_save_LIBS=$LIBS
43428 LIBS="-lsocket $LIBS"
43429 cat >conftest.$ac_ext <<_ACEOF
43430 /* confdefs.h. */
43431 _ACEOF
43432 cat confdefs.h >>conftest.$ac_ext
43433 cat >>conftest.$ac_ext <<_ACEOF
43434 /* end confdefs.h. */
43435
43436 /* Override any GCC internal prototype to avoid an error.
43437 Use char because int might match the return type of a GCC
43438 builtin and then its argument prototype would still apply. */
43439 #ifdef __cplusplus
43440 extern "C"
43441 #endif
43442 char socket ();
43443 int
43444 main ()
43445 {
43446 return socket ();
43447 ;
43448 return 0;
43449 }
43450 _ACEOF
43451 rm -f conftest.$ac_objext conftest$ac_exeext
43452 if { (ac_try="$ac_link"
43453 case "(($ac_try" in
43454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43455 *) ac_try_echo=$ac_try;;
43456 esac
43457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43458 (eval "$ac_link") 2>conftest.er1
43459 ac_status=$?
43460 grep -v '^ *+' conftest.er1 >conftest.err
43461 rm -f conftest.er1
43462 cat conftest.err >&5
43463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43464 (exit $ac_status); } && {
43465 test -z "$ac_c_werror_flag" ||
43466 test ! -s conftest.err
43467 } && test -s conftest$ac_exeext &&
43468 $as_test_x conftest$ac_exeext; then
43469 ac_cv_lib_socket_socket=yes
43470 else
43471 echo "$as_me: failed program was:" >&5
43472 sed 's/^/| /' conftest.$ac_ext >&5
43473
43474 ac_cv_lib_socket_socket=no
43475 fi
43476
43477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43478 conftest$ac_exeext conftest.$ac_ext
43479 LIBS=$ac_check_lib_save_LIBS
43480 fi
43481 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43482 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43483 if test $ac_cv_lib_socket_socket = yes; then
43484 if test "$INET_LINK" != " -lsocket"; then
43485 INET_LINK="$INET_LINK -lsocket"
43486 fi
43487 else
43488
43489 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43490 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43491 wxUSE_SOCKETS=no
43492
43493
43494 fi
43495
43496
43497
43498 fi
43499
43500 fi
43501 fi
43502
43503 if test "$wxUSE_SOCKETS" = "yes" ; then
43504 if test "$TOOLKIT" != "MSW"; then
43505 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43506 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43507 if test "${wx_cv_type_getsockname3+set}" = set; then
43508 echo $ECHO_N "(cached) $ECHO_C" >&6
43509 else
43510
43511 ac_ext=cpp
43512 ac_cpp='$CXXCPP $CPPFLAGS'
43513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43516
43517 cat >conftest.$ac_ext <<_ACEOF
43518 /* confdefs.h. */
43519 _ACEOF
43520 cat confdefs.h >>conftest.$ac_ext
43521 cat >>conftest.$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523
43524 #include <sys/types.h>
43525 #include <sys/socket.h>
43526
43527 int
43528 main ()
43529 {
43530
43531 socklen_t len;
43532 getsockname(0, 0, &len);
43533
43534 ;
43535 return 0;
43536 }
43537 _ACEOF
43538 rm -f conftest.$ac_objext
43539 if { (ac_try="$ac_compile"
43540 case "(($ac_try" in
43541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43542 *) ac_try_echo=$ac_try;;
43543 esac
43544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43545 (eval "$ac_compile") 2>conftest.er1
43546 ac_status=$?
43547 grep -v '^ *+' conftest.er1 >conftest.err
43548 rm -f conftest.er1
43549 cat conftest.err >&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); } && {
43552 test -z "$ac_cxx_werror_flag" ||
43553 test ! -s conftest.err
43554 } && test -s conftest.$ac_objext; then
43555 wx_cv_type_getsockname3=socklen_t
43556 else
43557 echo "$as_me: failed program was:" >&5
43558 sed 's/^/| /' conftest.$ac_ext >&5
43559
43560
43561 CFLAGS_OLD="$CFLAGS"
43562 if test "$GCC" = yes ; then
43563 CFLAGS="-Werror $CFLAGS"
43564 fi
43565
43566 cat >conftest.$ac_ext <<_ACEOF
43567 /* confdefs.h. */
43568 _ACEOF
43569 cat confdefs.h >>conftest.$ac_ext
43570 cat >>conftest.$ac_ext <<_ACEOF
43571 /* end confdefs.h. */
43572
43573 #include <sys/types.h>
43574 #include <sys/socket.h>
43575
43576 int
43577 main ()
43578 {
43579
43580 size_t len;
43581 getsockname(0, 0, &len);
43582
43583 ;
43584 return 0;
43585 }
43586 _ACEOF
43587 rm -f conftest.$ac_objext
43588 if { (ac_try="$ac_compile"
43589 case "(($ac_try" in
43590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43591 *) ac_try_echo=$ac_try;;
43592 esac
43593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43594 (eval "$ac_compile") 2>conftest.er1
43595 ac_status=$?
43596 grep -v '^ *+' conftest.er1 >conftest.err
43597 rm -f conftest.er1
43598 cat conftest.err >&5
43599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43600 (exit $ac_status); } && {
43601 test -z "$ac_cxx_werror_flag" ||
43602 test ! -s conftest.err
43603 } && test -s conftest.$ac_objext; then
43604 wx_cv_type_getsockname3=size_t
43605 else
43606 echo "$as_me: failed program was:" >&5
43607 sed 's/^/| /' conftest.$ac_ext >&5
43608
43609 cat >conftest.$ac_ext <<_ACEOF
43610 /* confdefs.h. */
43611 _ACEOF
43612 cat confdefs.h >>conftest.$ac_ext
43613 cat >>conftest.$ac_ext <<_ACEOF
43614 /* end confdefs.h. */
43615
43616 #include <sys/types.h>
43617 #include <sys/socket.h>
43618
43619 int
43620 main ()
43621 {
43622
43623 int len;
43624 getsockname(0, 0, &len);
43625
43626 ;
43627 return 0;
43628 }
43629 _ACEOF
43630 rm -f conftest.$ac_objext
43631 if { (ac_try="$ac_compile"
43632 case "(($ac_try" in
43633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43634 *) ac_try_echo=$ac_try;;
43635 esac
43636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43637 (eval "$ac_compile") 2>conftest.er1
43638 ac_status=$?
43639 grep -v '^ *+' conftest.er1 >conftest.err
43640 rm -f conftest.er1
43641 cat conftest.err >&5
43642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43643 (exit $ac_status); } && {
43644 test -z "$ac_cxx_werror_flag" ||
43645 test ! -s conftest.err
43646 } && test -s conftest.$ac_objext; then
43647 wx_cv_type_getsockname3=int
43648 else
43649 echo "$as_me: failed program was:" >&5
43650 sed 's/^/| /' conftest.$ac_ext >&5
43651
43652 wx_cv_type_getsockname3=unknown
43653
43654 fi
43655
43656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43657
43658 fi
43659
43660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43661
43662 CFLAGS="$CFLAGS_OLD"
43663
43664
43665 fi
43666
43667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43668 ac_ext=c
43669 ac_cpp='$CPP $CPPFLAGS'
43670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43673
43674
43675 fi
43676 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43677 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43678
43679 if test "$wx_cv_type_getsockname3" = "unknown"; then
43680 wxUSE_SOCKETS=no
43681 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43682 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43683 else
43684 cat >>confdefs.h <<_ACEOF
43685 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43686 _ACEOF
43687
43688 fi
43689 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43690 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43691 if test "${wx_cv_type_getsockopt5+set}" = set; then
43692 echo $ECHO_N "(cached) $ECHO_C" >&6
43693 else
43694
43695 ac_ext=cpp
43696 ac_cpp='$CXXCPP $CPPFLAGS'
43697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43700
43701 cat >conftest.$ac_ext <<_ACEOF
43702 /* confdefs.h. */
43703 _ACEOF
43704 cat confdefs.h >>conftest.$ac_ext
43705 cat >>conftest.$ac_ext <<_ACEOF
43706 /* end confdefs.h. */
43707
43708 #include <sys/types.h>
43709 #include <sys/socket.h>
43710
43711 int
43712 main ()
43713 {
43714
43715 socklen_t len;
43716 getsockopt(0, 0, 0, 0, &len);
43717
43718 ;
43719 return 0;
43720 }
43721 _ACEOF
43722 rm -f conftest.$ac_objext
43723 if { (ac_try="$ac_compile"
43724 case "(($ac_try" in
43725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43726 *) ac_try_echo=$ac_try;;
43727 esac
43728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43729 (eval "$ac_compile") 2>conftest.er1
43730 ac_status=$?
43731 grep -v '^ *+' conftest.er1 >conftest.err
43732 rm -f conftest.er1
43733 cat conftest.err >&5
43734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43735 (exit $ac_status); } && {
43736 test -z "$ac_cxx_werror_flag" ||
43737 test ! -s conftest.err
43738 } && test -s conftest.$ac_objext; then
43739 wx_cv_type_getsockopt5=socklen_t
43740 else
43741 echo "$as_me: failed program was:" >&5
43742 sed 's/^/| /' conftest.$ac_ext >&5
43743
43744
43745 cat >conftest.$ac_ext <<_ACEOF
43746 /* confdefs.h. */
43747 _ACEOF
43748 cat confdefs.h >>conftest.$ac_ext
43749 cat >>conftest.$ac_ext <<_ACEOF
43750 /* end confdefs.h. */
43751
43752 #include <sys/types.h>
43753 #include <sys/socket.h>
43754
43755 int
43756 main ()
43757 {
43758
43759 size_t len;
43760 getsockopt(0, 0, 0, 0, &len);
43761
43762 ;
43763 return 0;
43764 }
43765 _ACEOF
43766 rm -f conftest.$ac_objext
43767 if { (ac_try="$ac_compile"
43768 case "(($ac_try" in
43769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43770 *) ac_try_echo=$ac_try;;
43771 esac
43772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43773 (eval "$ac_compile") 2>conftest.er1
43774 ac_status=$?
43775 grep -v '^ *+' conftest.er1 >conftest.err
43776 rm -f conftest.er1
43777 cat conftest.err >&5
43778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43779 (exit $ac_status); } && {
43780 test -z "$ac_cxx_werror_flag" ||
43781 test ! -s conftest.err
43782 } && test -s conftest.$ac_objext; then
43783 wx_cv_type_getsockopt5=size_t
43784 else
43785 echo "$as_me: failed program was:" >&5
43786 sed 's/^/| /' conftest.$ac_ext >&5
43787
43788 cat >conftest.$ac_ext <<_ACEOF
43789 /* confdefs.h. */
43790 _ACEOF
43791 cat confdefs.h >>conftest.$ac_ext
43792 cat >>conftest.$ac_ext <<_ACEOF
43793 /* end confdefs.h. */
43794
43795 #include <sys/types.h>
43796 #include <sys/socket.h>
43797
43798 int
43799 main ()
43800 {
43801
43802 int len;
43803 getsockopt(0, 0, 0, 0, &len);
43804
43805 ;
43806 return 0;
43807 }
43808 _ACEOF
43809 rm -f conftest.$ac_objext
43810 if { (ac_try="$ac_compile"
43811 case "(($ac_try" in
43812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43813 *) ac_try_echo=$ac_try;;
43814 esac
43815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43816 (eval "$ac_compile") 2>conftest.er1
43817 ac_status=$?
43818 grep -v '^ *+' conftest.er1 >conftest.err
43819 rm -f conftest.er1
43820 cat conftest.err >&5
43821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822 (exit $ac_status); } && {
43823 test -z "$ac_cxx_werror_flag" ||
43824 test ! -s conftest.err
43825 } && test -s conftest.$ac_objext; then
43826 wx_cv_type_getsockopt5=int
43827 else
43828 echo "$as_me: failed program was:" >&5
43829 sed 's/^/| /' conftest.$ac_ext >&5
43830
43831 wx_cv_type_getsockopt5=unknown
43832
43833 fi
43834
43835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43836
43837 fi
43838
43839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43840
43841
43842 fi
43843
43844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43845 ac_ext=c
43846 ac_cpp='$CPP $CPPFLAGS'
43847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43850
43851
43852 fi
43853 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43854 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43855
43856 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43857 wxUSE_SOCKETS=no
43858 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43859 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43860 else
43861 cat >>confdefs.h <<_ACEOF
43862 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43863 _ACEOF
43864
43865 fi
43866 fi
43867 fi
43868
43869 if test "$wxUSE_SOCKETS" = "yes" ; then
43870 cat >>confdefs.h <<\_ACEOF
43871 #define wxUSE_SOCKETS 1
43872 _ACEOF
43873
43874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43875 fi
43876
43877 if test "$wxUSE_PROTOCOL" = "yes"; then
43878 if test "$wxUSE_SOCKETS" != "yes"; then
43879 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43880 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43881 wxUSE_PROTOCOL=no
43882 fi
43883 fi
43884
43885 if test "$wxUSE_PROTOCOL" = "yes"; then
43886 cat >>confdefs.h <<\_ACEOF
43887 #define wxUSE_PROTOCOL 1
43888 _ACEOF
43889
43890
43891 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43892 cat >>confdefs.h <<\_ACEOF
43893 #define wxUSE_PROTOCOL_HTTP 1
43894 _ACEOF
43895
43896 fi
43897 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43898 cat >>confdefs.h <<\_ACEOF
43899 #define wxUSE_PROTOCOL_FTP 1
43900 _ACEOF
43901
43902 fi
43903 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43904 cat >>confdefs.h <<\_ACEOF
43905 #define wxUSE_PROTOCOL_FILE 1
43906 _ACEOF
43907
43908 fi
43909 else
43910 if test "$wxUSE_FS_INET" = "yes"; then
43911 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43912 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43913 wxUSE_FS_INET="no"
43914 fi
43915 fi
43916
43917 if test "$wxUSE_URL" = "yes"; then
43918 if test "$wxUSE_PROTOCOL" != "yes"; then
43919 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43920 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43921 wxUSE_URL=no
43922 fi
43923 if test "$wxUSE_URL" = "yes"; then
43924 cat >>confdefs.h <<\_ACEOF
43925 #define wxUSE_URL 1
43926 _ACEOF
43927
43928 fi
43929 fi
43930
43931 if test "$wxUSE_VARIANT" = "yes"; then
43932 cat >>confdefs.h <<\_ACEOF
43933 #define wxUSE_VARIANT 1
43934 _ACEOF
43935
43936 fi
43937
43938 if test "$wxUSE_FS_INET" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_FS_INET 1
43941 _ACEOF
43942
43943 fi
43944
43945
43946 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43947 wxUSE_JOYSTICK=no
43948
43949 if test "$TOOLKIT" = "MSW"; then
43950 wxUSE_JOYSTICK=yes
43951
43952 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43953 if test "$USE_DARWIN" = 1; then
43954 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43955 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43956 ac_ext=cpp
43957 ac_cpp='$CXXCPP $CPPFLAGS'
43958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43961
43962 cat >conftest.$ac_ext <<_ACEOF
43963 /* confdefs.h. */
43964 _ACEOF
43965 cat confdefs.h >>conftest.$ac_ext
43966 cat >>conftest.$ac_ext <<_ACEOF
43967 /* end confdefs.h. */
43968 #include <IOKit/hid/IOHIDLib.h>
43969 int
43970 main ()
43971 {
43972 IOHIDQueueInterface *qi = NULL;
43973 IOHIDCallbackFunction cb = NULL;
43974 qi->setEventCallout(NULL, cb, NULL, NULL);
43975 ;
43976 return 0;
43977 }
43978 _ACEOF
43979 rm -f conftest.$ac_objext
43980 if { (ac_try="$ac_compile"
43981 case "(($ac_try" in
43982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43983 *) ac_try_echo=$ac_try;;
43984 esac
43985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43986 (eval "$ac_compile") 2>conftest.er1
43987 ac_status=$?
43988 grep -v '^ *+' conftest.er1 >conftest.err
43989 rm -f conftest.er1
43990 cat conftest.err >&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); } && {
43993 test -z "$ac_cxx_werror_flag" ||
43994 test ! -s conftest.err
43995 } && test -s conftest.$ac_objext; then
43996 wxUSE_JOYSTICK=yes
43997
43998 else
43999 echo "$as_me: failed program was:" >&5
44000 sed 's/^/| /' conftest.$ac_ext >&5
44001
44002
44003 fi
44004
44005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44006 ac_ext=c
44007 ac_cpp='$CPP $CPPFLAGS'
44008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44011
44012 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44013 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44014 fi
44015
44016 else
44017 if test "$wxUSE_MGL" != "1"; then
44018 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
44019 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
44020 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
44021 echo $ECHO_N "(cached) $ECHO_C" >&6
44022 else
44023 cat >conftest.$ac_ext <<_ACEOF
44024 /* confdefs.h. */
44025 _ACEOF
44026 cat confdefs.h >>conftest.$ac_ext
44027 cat >>conftest.$ac_ext <<_ACEOF
44028 /* end confdefs.h. */
44029 $ac_includes_default
44030
44031 #include <linux/joystick.h>
44032 _ACEOF
44033 rm -f conftest.$ac_objext
44034 if { (ac_try="$ac_compile"
44035 case "(($ac_try" in
44036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44037 *) ac_try_echo=$ac_try;;
44038 esac
44039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44040 (eval "$ac_compile") 2>conftest.er1
44041 ac_status=$?
44042 grep -v '^ *+' conftest.er1 >conftest.err
44043 rm -f conftest.er1
44044 cat conftest.err >&5
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); } && {
44047 test -z "$ac_c_werror_flag" ||
44048 test ! -s conftest.err
44049 } && test -s conftest.$ac_objext; then
44050 ac_cv_header_linux_joystick_h=yes
44051 else
44052 echo "$as_me: failed program was:" >&5
44053 sed 's/^/| /' conftest.$ac_ext >&5
44054
44055 ac_cv_header_linux_joystick_h=no
44056 fi
44057
44058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44059 fi
44060 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
44061 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
44062 if test $ac_cv_header_linux_joystick_h = yes; then
44063 wxUSE_JOYSTICK=yes
44064 fi
44065
44066
44067 fi
44068 fi
44069
44070 if test "$wxUSE_JOYSTICK" = "yes"; then
44071 cat >>confdefs.h <<\_ACEOF
44072 #define wxUSE_JOYSTICK 1
44073 _ACEOF
44074
44075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44076 else
44077 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44078 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44079 fi
44080 fi
44081
44082
44083
44084 if test "$wxUSE_FONTMAP" = "yes" ; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_FONTMAP 1
44087 _ACEOF
44088
44089 fi
44090
44091 if test "$wxUSE_UNICODE" = "yes" ; then
44092 cat >>confdefs.h <<\_ACEOF
44093 #define wxUSE_UNICODE 1
44094 _ACEOF
44095
44096
44097 if test "$USE_WIN32" != 1; then
44098 wxUSE_UNICODE_MSLU=no
44099 fi
44100
44101 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44102 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44103 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44104 if test "${ac_cv_lib_unicows_main+set}" = set; then
44105 echo $ECHO_N "(cached) $ECHO_C" >&6
44106 else
44107 ac_check_lib_save_LIBS=$LIBS
44108 LIBS="-lunicows $LIBS"
44109 cat >conftest.$ac_ext <<_ACEOF
44110 /* confdefs.h. */
44111 _ACEOF
44112 cat confdefs.h >>conftest.$ac_ext
44113 cat >>conftest.$ac_ext <<_ACEOF
44114 /* end confdefs.h. */
44115
44116
44117 int
44118 main ()
44119 {
44120 return main ();
44121 ;
44122 return 0;
44123 }
44124 _ACEOF
44125 rm -f conftest.$ac_objext conftest$ac_exeext
44126 if { (ac_try="$ac_link"
44127 case "(($ac_try" in
44128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44129 *) ac_try_echo=$ac_try;;
44130 esac
44131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44132 (eval "$ac_link") 2>conftest.er1
44133 ac_status=$?
44134 grep -v '^ *+' conftest.er1 >conftest.err
44135 rm -f conftest.er1
44136 cat conftest.err >&5
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); } && {
44139 test -z "$ac_c_werror_flag" ||
44140 test ! -s conftest.err
44141 } && test -s conftest$ac_exeext &&
44142 $as_test_x conftest$ac_exeext; then
44143 ac_cv_lib_unicows_main=yes
44144 else
44145 echo "$as_me: failed program was:" >&5
44146 sed 's/^/| /' conftest.$ac_ext >&5
44147
44148 ac_cv_lib_unicows_main=no
44149 fi
44150
44151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44152 conftest$ac_exeext conftest.$ac_ext
44153 LIBS=$ac_check_lib_save_LIBS
44154 fi
44155 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44156 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44157 if test $ac_cv_lib_unicows_main = yes; then
44158
44159 cat >>confdefs.h <<\_ACEOF
44160 #define wxUSE_UNICODE_MSLU 1
44161 _ACEOF
44162
44163
44164 else
44165
44166 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44167 Applications will only run on Windows NT/2000/XP!" >&5
44168 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44169 Applications will only run on Windows NT/2000/XP!" >&2;}
44170 wxUSE_UNICODE_MSLU=no
44171
44172 fi
44173
44174 fi
44175 fi
44176
44177 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_UNICODE_UTF8 1
44180 _ACEOF
44181
44182
44183 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44184 cat >>confdefs.h <<\_ACEOF
44185 #define wxUSE_UTF8_LOCALE_ONLY 1
44186 _ACEOF
44187
44188 fi
44189 fi
44190
44191 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44192 cat >>confdefs.h <<\_ACEOF
44193 #define wxUSE_EXPERIMENTAL_PRINTF 1
44194 _ACEOF
44195
44196 fi
44197
44198
44199 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44200 cat >>confdefs.h <<\_ACEOF
44201 #define wxUSE_POSTSCRIPT 1
44202 _ACEOF
44203
44204 fi
44205
44206 cat >>confdefs.h <<\_ACEOF
44207 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44208 _ACEOF
44209
44210
44211 cat >>confdefs.h <<\_ACEOF
44212 #define wxUSE_NORMALIZED_PS_FONTS 1
44213 _ACEOF
44214
44215
44216
44217 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_CONSTRAINTS 1
44220 _ACEOF
44221
44222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44223 fi
44224
44225 if test "$wxUSE_MDI" = "yes"; then
44226 cat >>confdefs.h <<\_ACEOF
44227 #define wxUSE_MDI 1
44228 _ACEOF
44229
44230
44231 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44232 cat >>confdefs.h <<\_ACEOF
44233 #define wxUSE_MDI_ARCHITECTURE 1
44234 _ACEOF
44235
44236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44237 fi
44238 fi
44239
44240 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44241 cat >>confdefs.h <<\_ACEOF
44242 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44243 _ACEOF
44244
44245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44246 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44248 fi
44249 fi
44250
44251 if test "$wxUSE_HELP" = "yes"; then
44252 cat >>confdefs.h <<\_ACEOF
44253 #define wxUSE_HELP 1
44254 _ACEOF
44255
44256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44257
44258 if test "$wxUSE_MSW" = 1; then
44259 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44260 cat >>confdefs.h <<\_ACEOF
44261 #define wxUSE_MS_HTML_HELP 1
44262 _ACEOF
44263
44264 fi
44265 fi
44266
44267 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44268 if test "$wxUSE_HTML" = "yes"; then
44269 cat >>confdefs.h <<\_ACEOF
44270 #define wxUSE_WXHTML_HELP 1
44271 _ACEOF
44272
44273 else
44274 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44275 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44276 wxUSE_WXHTML_HELP=no
44277 fi
44278 fi
44279 fi
44280
44281 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44282 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44283 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44284 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44285 else
44286 cat >>confdefs.h <<\_ACEOF
44287 #define wxUSE_PRINTING_ARCHITECTURE 1
44288 _ACEOF
44289
44290 fi
44291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44292 fi
44293
44294
44295
44296 if test "$wxUSE_METAFILE" = "yes"; then
44297 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44298 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44299 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44300 wxUSE_METAFILE=no
44301 fi
44302 fi
44303
44304
44305 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44306 -o "$wxUSE_CLIPBOARD" = "yes" \
44307 -o "$wxUSE_OLE" = "yes" \
44308 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44309 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44310 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44311 if test "${ac_cv_header_ole2_h+set}" = set; then
44312 echo $ECHO_N "(cached) $ECHO_C" >&6
44313 else
44314 cat >conftest.$ac_ext <<_ACEOF
44315 /* confdefs.h. */
44316 _ACEOF
44317 cat confdefs.h >>conftest.$ac_ext
44318 cat >>conftest.$ac_ext <<_ACEOF
44319 /* end confdefs.h. */
44320
44321
44322 #include <ole2.h>
44323 _ACEOF
44324 rm -f conftest.$ac_objext
44325 if { (ac_try="$ac_compile"
44326 case "(($ac_try" in
44327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44328 *) ac_try_echo=$ac_try;;
44329 esac
44330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44331 (eval "$ac_compile") 2>conftest.er1
44332 ac_status=$?
44333 grep -v '^ *+' conftest.er1 >conftest.err
44334 rm -f conftest.er1
44335 cat conftest.err >&5
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); } && {
44338 test -z "$ac_c_werror_flag" ||
44339 test ! -s conftest.err
44340 } && test -s conftest.$ac_objext; then
44341 ac_cv_header_ole2_h=yes
44342 else
44343 echo "$as_me: failed program was:" >&5
44344 sed 's/^/| /' conftest.$ac_ext >&5
44345
44346 ac_cv_header_ole2_h=no
44347 fi
44348
44349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44350 fi
44351 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44352 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44353
44354
44355
44356 if test "$ac_cv_header_ole2_h" = "yes" ; then
44357 if test "$GCC" = yes ; then
44358 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44359 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44360 cat >conftest.$ac_ext <<_ACEOF
44361 /* confdefs.h. */
44362 _ACEOF
44363 cat confdefs.h >>conftest.$ac_ext
44364 cat >>conftest.$ac_ext <<_ACEOF
44365 /* end confdefs.h. */
44366 #include <windows.h>
44367 #include <ole2.h>
44368 int
44369 main ()
44370 {
44371
44372 ;
44373 return 0;
44374 }
44375 _ACEOF
44376 rm -f conftest.$ac_objext
44377 if { (ac_try="$ac_compile"
44378 case "(($ac_try" in
44379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44380 *) ac_try_echo=$ac_try;;
44381 esac
44382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44383 (eval "$ac_compile") 2>conftest.er1
44384 ac_status=$?
44385 grep -v '^ *+' conftest.er1 >conftest.err
44386 rm -f conftest.er1
44387 cat conftest.err >&5
44388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44389 (exit $ac_status); } && {
44390 test -z "$ac_c_werror_flag" ||
44391 test ! -s conftest.err
44392 } && test -s conftest.$ac_objext; then
44393 { echo "$as_me:$LINENO: result: no" >&5
44394 echo "${ECHO_T}no" >&6; }
44395 else
44396 echo "$as_me: failed program was:" >&5
44397 sed 's/^/| /' conftest.$ac_ext >&5
44398
44399 { echo "$as_me:$LINENO: result: yes" >&5
44400 echo "${ECHO_T}yes" >&6; }
44401 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44402 fi
44403
44404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44405 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44406 if test "$wxUSE_OLE" = "yes" ; then
44407 cat >>confdefs.h <<\_ACEOF
44408 #define wxUSE_OLE 1
44409 _ACEOF
44410
44411 cat >>confdefs.h <<\_ACEOF
44412 #define wxUSE_OLE_AUTOMATION 1
44413 _ACEOF
44414
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_ACTIVEX 1
44417 _ACEOF
44418
44419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44420 fi
44421 fi
44422
44423 if test "$wxUSE_DATAOBJ" = "yes" ; then
44424 cat >>confdefs.h <<\_ACEOF
44425 #define wxUSE_DATAOBJ 1
44426 _ACEOF
44427
44428 fi
44429 else
44430 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44431 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44432
44433 wxUSE_CLIPBOARD=no
44434 wxUSE_DRAG_AND_DROP=no
44435 wxUSE_DATAOBJ=no
44436 wxUSE_OLE=no
44437 fi
44438
44439 if test "$wxUSE_METAFILE" = "yes"; then
44440 cat >>confdefs.h <<\_ACEOF
44441 #define wxUSE_METAFILE 1
44442 _ACEOF
44443
44444
44445 cat >>confdefs.h <<\_ACEOF
44446 #define wxUSE_ENH_METAFILE 1
44447 _ACEOF
44448
44449 fi
44450 fi
44451
44452 if test "$wxUSE_IPC" = "yes"; then
44453 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44454 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44455 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44456 wxUSE_IPC=no
44457 fi
44458
44459 if test "$wxUSE_IPC" = "yes"; then
44460 cat >>confdefs.h <<\_ACEOF
44461 #define wxUSE_IPC 1
44462 _ACEOF
44463
44464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44465 fi
44466 fi
44467
44468 if test "$wxUSE_DATAOBJ" = "yes"; then
44469 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44470 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44471 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44472 wxUSE_DATAOBJ=no
44473 else
44474 cat >>confdefs.h <<\_ACEOF
44475 #define wxUSE_DATAOBJ 1
44476 _ACEOF
44477
44478 fi
44479 else
44480 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44481 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44482 wxUSE_CLIPBOARD=no
44483 wxUSE_DRAG_AND_DROP=no
44484 fi
44485
44486 if test "$wxUSE_CLIPBOARD" = "yes"; then
44487 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44488 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44489 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44490 wxUSE_CLIPBOARD=no
44491 fi
44492
44493 if test "$wxUSE_CLIPBOARD" = "yes"; then
44494 cat >>confdefs.h <<\_ACEOF
44495 #define wxUSE_CLIPBOARD 1
44496 _ACEOF
44497
44498 fi
44499 fi
44500
44501 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44502 if test "$wxUSE_GTK" = 1; then
44503 if test "$WXGTK12" != 1; then
44504 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44505 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44506 wxUSE_DRAG_AND_DROP=no
44507 fi
44508 fi
44509
44510 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44511 "$wxUSE_DFB" = 1; then
44512 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44513 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44514 wxUSE_DRAG_AND_DROP=no
44515 fi
44516
44517 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_DRAG_AND_DROP 1
44520 _ACEOF
44521
44522 fi
44523
44524 fi
44525
44526 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44528 fi
44529
44530 if test "$wxUSE_SPLINES" = "yes" ; then
44531 cat >>confdefs.h <<\_ACEOF
44532 #define wxUSE_SPLINES 1
44533 _ACEOF
44534
44535 fi
44536
44537 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44538 cat >>confdefs.h <<\_ACEOF
44539 #define wxUSE_MOUSEWHEEL 1
44540 _ACEOF
44541
44542 fi
44543
44544
44545 USES_CONTROLS=0
44546 if test "$wxUSE_CONTROLS" = "yes"; then
44547 USES_CONTROLS=1
44548 fi
44549
44550 if test "$wxUSE_ACCEL" = "yes"; then
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_ACCEL 1
44553 _ACEOF
44554
44555 USES_CONTROLS=1
44556 fi
44557
44558 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44559 cat >>confdefs.h <<\_ACEOF
44560 #define wxUSE_ANIMATIONCTRL 1
44561 _ACEOF
44562
44563 USES_CONTROLS=1
44564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44565 fi
44566
44567 if test "$wxUSE_BUTTON" = "yes"; then
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_BUTTON 1
44570 _ACEOF
44571
44572 USES_CONTROLS=1
44573 fi
44574
44575 if test "$wxUSE_BMPBUTTON" = "yes"; then
44576 cat >>confdefs.h <<\_ACEOF
44577 #define wxUSE_BMPBUTTON 1
44578 _ACEOF
44579
44580 USES_CONTROLS=1
44581 fi
44582
44583 if test "$wxUSE_CALCTRL" = "yes"; then
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_CALENDARCTRL 1
44586 _ACEOF
44587
44588 USES_CONTROLS=1
44589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44590 fi
44591
44592 if test "$wxUSE_CARET" = "yes"; then
44593 cat >>confdefs.h <<\_ACEOF
44594 #define wxUSE_CARET 1
44595 _ACEOF
44596
44597 USES_CONTROLS=1
44598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44599 fi
44600
44601 if test "$wxUSE_COLLPANE" = "yes"; then
44602 cat >>confdefs.h <<\_ACEOF
44603 #define wxUSE_COLLPANE 1
44604 _ACEOF
44605
44606 USES_CONTROLS=1
44607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44608 fi
44609
44610 if test "$wxUSE_COMBOBOX" = "yes"; then
44611 cat >>confdefs.h <<\_ACEOF
44612 #define wxUSE_COMBOBOX 1
44613 _ACEOF
44614
44615 USES_CONTROLS=1
44616 fi
44617
44618 if test "$wxUSE_COMBOCTRL" = "yes"; then
44619 cat >>confdefs.h <<\_ACEOF
44620 #define wxUSE_COMBOCTRL 1
44621 _ACEOF
44622
44623 USES_CONTROLS=1
44624 fi
44625
44626 if test "$wxUSE_CHOICE" = "yes"; then
44627 cat >>confdefs.h <<\_ACEOF
44628 #define wxUSE_CHOICE 1
44629 _ACEOF
44630
44631 USES_CONTROLS=1
44632 fi
44633
44634 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44635 cat >>confdefs.h <<\_ACEOF
44636 #define wxUSE_CHOICEBOOK 1
44637 _ACEOF
44638
44639 USES_CONTROLS=1
44640 fi
44641
44642 if test "$wxUSE_CHECKBOX" = "yes"; then
44643 cat >>confdefs.h <<\_ACEOF
44644 #define wxUSE_CHECKBOX 1
44645 _ACEOF
44646
44647 USES_CONTROLS=1
44648 fi
44649
44650 if test "$wxUSE_CHECKLST" = "yes"; then
44651 cat >>confdefs.h <<\_ACEOF
44652 #define wxUSE_CHECKLISTBOX 1
44653 _ACEOF
44654
44655 USES_CONTROLS=1
44656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44657 fi
44658
44659 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44660 cat >>confdefs.h <<\_ACEOF
44661 #define wxUSE_COLOURPICKERCTRL 1
44662 _ACEOF
44663
44664 USES_CONTROLS=1
44665 fi
44666
44667 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44668 cat >>confdefs.h <<\_ACEOF
44669 #define wxUSE_DATEPICKCTRL 1
44670 _ACEOF
44671
44672 USES_CONTROLS=1
44673 fi
44674
44675 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44676 cat >>confdefs.h <<\_ACEOF
44677 #define wxUSE_DIRPICKERCTRL 1
44678 _ACEOF
44679
44680 USES_CONTROLS=1
44681 fi
44682
44683 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44684 cat >>confdefs.h <<\_ACEOF
44685 #define wxUSE_FILEPICKERCTRL 1
44686 _ACEOF
44687
44688 USES_CONTROLS=1
44689 fi
44690
44691 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44692 cat >>confdefs.h <<\_ACEOF
44693 #define wxUSE_FONTPICKERCTRL 1
44694 _ACEOF
44695
44696 USES_CONTROLS=1
44697 fi
44698
44699 if test "$wxUSE_DISPLAY" = "yes"; then
44700 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44701 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44702 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44703 wxUSE_DISPLAY=no
44704 else
44705 cat >>confdefs.h <<\_ACEOF
44706 #define wxUSE_DISPLAY 1
44707 _ACEOF
44708
44709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44710 fi
44711 fi
44712
44713 if test "$wxUSE_DETECT_SM" = "yes"; then
44714 cat >>confdefs.h <<\_ACEOF
44715 #define wxUSE_DETECT_SM 1
44716 _ACEOF
44717
44718 fi
44719
44720 if test "$wxUSE_GAUGE" = "yes"; then
44721 cat >>confdefs.h <<\_ACEOF
44722 #define wxUSE_GAUGE 1
44723 _ACEOF
44724
44725 USES_CONTROLS=1
44726 fi
44727
44728 if test "$wxUSE_GRID" = "yes"; then
44729 cat >>confdefs.h <<\_ACEOF
44730 #define wxUSE_GRID 1
44731 _ACEOF
44732
44733 USES_CONTROLS=1
44734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44735 fi
44736
44737 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44738 cat >>confdefs.h <<\_ACEOF
44739 #define wxUSE_HYPERLINKCTRL 1
44740 _ACEOF
44741
44742 USES_CONTROLS=1
44743 fi
44744
44745 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44746 cat >>confdefs.h <<\_ACEOF
44747 #define wxUSE_BITMAPCOMBOBOX 1
44748 _ACEOF
44749
44750 USES_CONTROLS=1
44751 fi
44752
44753 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44754 cat >>confdefs.h <<\_ACEOF
44755 #define wxUSE_DATAVIEWCTRL 1
44756 _ACEOF
44757
44758 USES_CONTROLS=1
44759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44760 fi
44761
44762 if test "$wxUSE_IMAGLIST" = "yes"; then
44763 cat >>confdefs.h <<\_ACEOF
44764 #define wxUSE_IMAGLIST 1
44765 _ACEOF
44766
44767 fi
44768
44769 if test "$wxUSE_LISTBOOK" = "yes"; then
44770 cat >>confdefs.h <<\_ACEOF
44771 #define wxUSE_LISTBOOK 1
44772 _ACEOF
44773
44774 USES_CONTROLS=1
44775 fi
44776
44777 if test "$wxUSE_LISTBOX" = "yes"; then
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_LISTBOX 1
44780 _ACEOF
44781
44782 USES_CONTROLS=1
44783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44784 fi
44785
44786 if test "$wxUSE_LISTCTRL" = "yes"; then
44787 if test "$wxUSE_IMAGLIST" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_LISTCTRL 1
44790 _ACEOF
44791
44792 USES_CONTROLS=1
44793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44794 else
44795 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44796 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44797 fi
44798 fi
44799
44800 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_EDITABLELISTBOX 1
44803 _ACEOF
44804
44805 USES_CONTROLS=1
44806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44807 fi
44808
44809 if test "$wxUSE_NOTEBOOK" = "yes"; then
44810 cat >>confdefs.h <<\_ACEOF
44811 #define wxUSE_NOTEBOOK 1
44812 _ACEOF
44813
44814 USES_CONTROLS=1
44815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44816 fi
44817
44818 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_ODCOMBOBOX 1
44821 _ACEOF
44822
44823 USES_CONTROLS=1
44824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44825 fi
44826
44827
44828 if test "$wxUSE_RADIOBOX" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_RADIOBOX 1
44831 _ACEOF
44832
44833 USES_CONTROLS=1
44834 fi
44835
44836 if test "$wxUSE_RADIOBTN" = "yes"; then
44837 cat >>confdefs.h <<\_ACEOF
44838 #define wxUSE_RADIOBTN 1
44839 _ACEOF
44840
44841 USES_CONTROLS=1
44842 fi
44843
44844 if test "$wxUSE_SASH" = "yes"; then
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_SASH 1
44847 _ACEOF
44848
44849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44850 fi
44851
44852 if test "$wxUSE_SCROLLBAR" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_SCROLLBAR 1
44855 _ACEOF
44856
44857 USES_CONTROLS=1
44858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44859 fi
44860
44861 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44862 cat >>confdefs.h <<\_ACEOF
44863 #define wxUSE_SEARCHCTRL 1
44864 _ACEOF
44865
44866 USES_CONTROLS=1
44867 fi
44868
44869 if test "$wxUSE_SLIDER" = "yes"; then
44870 cat >>confdefs.h <<\_ACEOF
44871 #define wxUSE_SLIDER 1
44872 _ACEOF
44873
44874 USES_CONTROLS=1
44875 fi
44876
44877 if test "$wxUSE_SPINBTN" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_SPINBTN 1
44880 _ACEOF
44881
44882 USES_CONTROLS=1
44883 fi
44884
44885 if test "$wxUSE_SPINCTRL" = "yes"; then
44886 cat >>confdefs.h <<\_ACEOF
44887 #define wxUSE_SPINCTRL 1
44888 _ACEOF
44889
44890 USES_CONTROLS=1
44891 fi
44892
44893 if test "$wxUSE_SPLITTER" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_SPLITTER 1
44896 _ACEOF
44897
44898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44899 fi
44900
44901 if test "$wxUSE_STATBMP" = "yes"; then
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_STATBMP 1
44904 _ACEOF
44905
44906 USES_CONTROLS=1
44907 fi
44908
44909 if test "$wxUSE_STATBOX" = "yes"; then
44910 cat >>confdefs.h <<\_ACEOF
44911 #define wxUSE_STATBOX 1
44912 _ACEOF
44913
44914 USES_CONTROLS=1
44915 fi
44916
44917 if test "$wxUSE_STATTEXT" = "yes"; then
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_STATTEXT 1
44920 _ACEOF
44921
44922 USES_CONTROLS=1
44923 fi
44924
44925 if test "$wxUSE_STATLINE" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_STATLINE 1
44928 _ACEOF
44929
44930 USES_CONTROLS=1
44931 fi
44932
44933 if test "$wxUSE_STATUSBAR" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_NATIVE_STATUSBAR 1
44936 _ACEOF
44937
44938 cat >>confdefs.h <<\_ACEOF
44939 #define wxUSE_STATUSBAR 1
44940 _ACEOF
44941
44942 USES_CONTROLS=1
44943
44944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44945 fi
44946
44947 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_TAB_DIALOG 1
44950 _ACEOF
44951
44952 fi
44953
44954 if test "$wxUSE_TEXTCTRL" = "yes"; then
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_TEXTCTRL 1
44957 _ACEOF
44958
44959 USES_CONTROLS=1
44960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44961 fi
44962
44963 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44964 if test "$wxUSE_COCOA" = 1 ; then
44965 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44966 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44967 wxUSE_TOGGLEBTN=no
44968 fi
44969
44970 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_TOGGLEBTN 1
44973 _ACEOF
44974
44975 USES_CONTROLS=1
44976 fi
44977 fi
44978
44979 if test "$wxUSE_TOOLBAR" = "yes"; then
44980 cat >>confdefs.h <<\_ACEOF
44981 #define wxUSE_TOOLBAR 1
44982 _ACEOF
44983
44984 USES_CONTROLS=1
44985
44986 if test "$wxUSE_UNIVERSAL" = "yes"; then
44987 wxUSE_TOOLBAR_NATIVE="no"
44988 else
44989 wxUSE_TOOLBAR_NATIVE="yes"
44990 cat >>confdefs.h <<\_ACEOF
44991 #define wxUSE_TOOLBAR_NATIVE 1
44992 _ACEOF
44993
44994 fi
44995
44996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44997 fi
44998
44999 if test "$wxUSE_TOOLTIPS" = "yes"; then
45000 if test "$wxUSE_MOTIF" = 1; then
45001 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45002 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45003 else
45004 if test "$wxUSE_UNIVERSAL" = "yes"; then
45005 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45006 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45007 else
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_TOOLTIPS 1
45010 _ACEOF
45011
45012 fi
45013 fi
45014 fi
45015
45016 if test "$wxUSE_TREEBOOK" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_TREEBOOK 1
45019 _ACEOF
45020
45021 USES_CONTROLS=1
45022 fi
45023
45024 if test "$wxUSE_TOOLBOOK" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_TOOLBOOK 1
45027 _ACEOF
45028
45029 USES_CONTROLS=1
45030 fi
45031
45032 if test "$wxUSE_TREECTRL" = "yes"; then
45033 if test "$wxUSE_IMAGLIST" = "yes"; then
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_TREECTRL 1
45036 _ACEOF
45037
45038 USES_CONTROLS=1
45039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45040 else
45041 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45042 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45043 fi
45044 fi
45045
45046 if test "$wxUSE_POPUPWIN" = "yes"; then
45047 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45048 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45049 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45050 else
45051 if test "$wxUSE_PM" = 1; then
45052 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45053 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45054 else
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_POPUPWIN 1
45057 _ACEOF
45058
45059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45060
45061 USES_CONTROLS=1
45062 fi
45063 fi
45064 fi
45065
45066 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45067 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45068 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45069 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45070 else
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_DIALUP_MANAGER 1
45073 _ACEOF
45074
45075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45076 fi
45077 fi
45078
45079 if test "$wxUSE_TIPWINDOW" = "yes"; then
45080 if test "$wxUSE_PM" = 1; then
45081 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45082 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45083 else
45084 cat >>confdefs.h <<\_ACEOF
45085 #define wxUSE_TIPWINDOW 1
45086 _ACEOF
45087
45088 fi
45089 fi
45090
45091 if test "$USES_CONTROLS" = 1; then
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_CONTROLS 1
45094 _ACEOF
45095
45096 fi
45097
45098
45099 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_ACCESSIBILITY 1
45102 _ACEOF
45103
45104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45105 fi
45106
45107 if test "$wxUSE_DC_CACHEING" = "yes"; then
45108 cat >>confdefs.h <<\_ACEOF
45109 #define wxUSE_DC_CACHEING 1
45110 _ACEOF
45111
45112 fi
45113
45114 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_DRAGIMAGE 1
45117 _ACEOF
45118
45119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45120 fi
45121
45122 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45123 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45124 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45125 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45126 else
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_EXCEPTIONS 1
45129 _ACEOF
45130
45131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45132 fi
45133 fi
45134
45135 USE_HTML=0
45136 if test "$wxUSE_HTML" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_HTML 1
45139 _ACEOF
45140
45141 USE_HTML=1
45142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45143 if test "$wxUSE_MAC" = 1; then
45144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45145 fi
45146 fi
45147 if test "$wxUSE_WEBKIT" = "yes"; then
45148 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45149 old_CPPFLAGS="$CPPFLAGS"
45150 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45151 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45152 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45153 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45154 echo $ECHO_N "(cached) $ECHO_C" >&6
45155 else
45156 cat >conftest.$ac_ext <<_ACEOF
45157 /* confdefs.h. */
45158 _ACEOF
45159 cat confdefs.h >>conftest.$ac_ext
45160 cat >>conftest.$ac_ext <<_ACEOF
45161 /* end confdefs.h. */
45162
45163 #include <Carbon/Carbon.h>
45164 #include <WebKit/WebKit.h>
45165
45166
45167 #include <WebKit/HIWebView.h>
45168 _ACEOF
45169 rm -f conftest.$ac_objext
45170 if { (ac_try="$ac_compile"
45171 case "(($ac_try" in
45172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45173 *) ac_try_echo=$ac_try;;
45174 esac
45175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45176 (eval "$ac_compile") 2>conftest.er1
45177 ac_status=$?
45178 grep -v '^ *+' conftest.er1 >conftest.err
45179 rm -f conftest.er1
45180 cat conftest.err >&5
45181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45182 (exit $ac_status); } && {
45183 test -z "$ac_c_werror_flag" ||
45184 test ! -s conftest.err
45185 } && test -s conftest.$ac_objext; then
45186 ac_cv_header_WebKit_HIWebView_h=yes
45187 else
45188 echo "$as_me: failed program was:" >&5
45189 sed 's/^/| /' conftest.$ac_ext >&5
45190
45191 ac_cv_header_WebKit_HIWebView_h=no
45192 fi
45193
45194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45195 fi
45196 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45197 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45198 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45199
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_WEBKIT 1
45202 _ACEOF
45203
45204 WEBKIT_LINK="-framework WebKit"
45205
45206 else
45207
45208 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45209 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45210 wxUSE_WEBKIT=no
45211
45212 fi
45213
45214
45215 CPPFLAGS="$old_CPPFLAGS"
45216 elif test "$wxUSE_COCOA" = 1; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_WEBKIT 1
45219 _ACEOF
45220
45221 else
45222 wxUSE_WEBKIT=no
45223 fi
45224 fi
45225
45226 USE_XRC=0
45227 if test "$wxUSE_XRC" = "yes"; then
45228 if test "$wxUSE_XML" != "yes"; then
45229 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45230 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45231 wxUSE_XRC=no
45232 else
45233 cat >>confdefs.h <<\_ACEOF
45234 #define wxUSE_XRC 1
45235 _ACEOF
45236
45237 USE_XRC=1
45238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45239 fi
45240 fi
45241
45242 USE_AUI=0
45243 if test "$wxUSE_AUI" = "yes"; then
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_AUI 1
45246 _ACEOF
45247
45248 USE_AUI=1
45249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45250 fi
45251
45252 USE_STC=0
45253 if test "$wxUSE_STC" = "yes"; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_STC 1
45256 _ACEOF
45257
45258 USE_STC=1
45259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45260 fi
45261
45262 if test "$wxUSE_MENUS" = "yes"; then
45263 cat >>confdefs.h <<\_ACEOF
45264 #define wxUSE_MENUS 1
45265 _ACEOF
45266
45267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45268 fi
45269
45270 if test "$wxUSE_METAFILE" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_METAFILE 1
45273 _ACEOF
45274
45275 fi
45276
45277 if test "$wxUSE_MIMETYPE" = "yes"; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define wxUSE_MIMETYPE 1
45280 _ACEOF
45281
45282 fi
45283
45284 if test "$wxUSE_MINIFRAME" = "yes"; then
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_MINIFRAME 1
45287 _ACEOF
45288
45289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45290 fi
45291
45292 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_SYSTEM_OPTIONS 1
45295 _ACEOF
45296
45297 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45298 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45300 fi
45301 fi
45302
45303
45304 if test "$wxUSE_VALIDATORS" = "yes"; then
45305 cat >>confdefs.h <<\_ACEOF
45306 #define wxUSE_VALIDATORS 1
45307 _ACEOF
45308
45309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45310 fi
45311
45312 if test "$wxUSE_PALETTE" = "yes" ; then
45313 if test "$wxUSE_DFB" = 1; then
45314 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45315 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45316 wxUSE_PALETTE=no
45317 else
45318 cat >>confdefs.h <<\_ACEOF
45319 #define wxUSE_PALETTE 1
45320 _ACEOF
45321
45322 fi
45323 fi
45324
45325 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45326 LIBS=" -lunicows $LIBS"
45327 fi
45328
45329 USE_RICHTEXT=0
45330 if test "$wxUSE_RICHTEXT" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_RICHTEXT 1
45333 _ACEOF
45334
45335 USE_RICHTEXT=1
45336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45337 fi
45338
45339
45340 if test "$wxUSE_IMAGE" = "yes" ; then
45341 cat >>confdefs.h <<\_ACEOF
45342 #define wxUSE_IMAGE 1
45343 _ACEOF
45344
45345
45346 if test "$wxUSE_GIF" = "yes" ; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_GIF 1
45349 _ACEOF
45350
45351 fi
45352
45353 if test "$wxUSE_PCX" = "yes" ; then
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_PCX 1
45356 _ACEOF
45357
45358 fi
45359
45360 if test "$wxUSE_TGA" = "yes" ; then
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_TGA 1
45363 _ACEOF
45364
45365 fi
45366
45367 if test "$wxUSE_IFF" = "yes" ; then
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_IFF 1
45370 _ACEOF
45371
45372 fi
45373
45374 if test "$wxUSE_PNM" = "yes" ; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_PNM 1
45377 _ACEOF
45378
45379 fi
45380
45381 if test "$wxUSE_XPM" = "yes" ; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_XPM 1
45384 _ACEOF
45385
45386 fi
45387
45388 if test "$wxUSE_ICO_CUR" = "yes" ; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_ICO_CUR 1
45391 _ACEOF
45392
45393 fi
45394 fi
45395
45396
45397 if test "$wxUSE_ABOUTDLG" = "yes"; then
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_ABOUTDLG 1
45400 _ACEOF
45401
45402 fi
45403
45404 if test "$wxUSE_CHOICEDLG" = "yes"; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_CHOICEDLG 1
45407 _ACEOF
45408
45409 fi
45410
45411 if test "$wxUSE_COLOURDLG" = "yes"; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_COLOURDLG 1
45414 _ACEOF
45415
45416 fi
45417
45418 if test "$wxUSE_FILEDLG" = "yes"; then
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_FILEDLG 1
45421 _ACEOF
45422
45423 fi
45424
45425 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45426 cat >>confdefs.h <<\_ACEOF
45427 #define wxUSE_FINDREPLDLG 1
45428 _ACEOF
45429
45430 fi
45431
45432 if test "$wxUSE_FONTDLG" = "yes"; then
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_FONTDLG 1
45435 _ACEOF
45436
45437 fi
45438
45439 if test "$wxUSE_DIRDLG" = "yes"; then
45440 if test "$wxUSE_TREECTRL" != "yes"; then
45441 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45442 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45443 else
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_DIRDLG 1
45446 _ACEOF
45447
45448 fi
45449 fi
45450
45451 if test "$wxUSE_MSGDLG" = "yes"; then
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_MSGDLG 1
45454 _ACEOF
45455
45456 fi
45457
45458 if test "$wxUSE_NUMBERDLG" = "yes"; then
45459 cat >>confdefs.h <<\_ACEOF
45460 #define wxUSE_NUMBERDLG 1
45461 _ACEOF
45462
45463 fi
45464
45465 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45466 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45467 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45468 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45469 else
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_PROGRESSDLG 1
45472 _ACEOF
45473
45474 fi
45475 fi
45476
45477 if test "$wxUSE_SPLASH" = "yes"; then
45478 cat >>confdefs.h <<\_ACEOF
45479 #define wxUSE_SPLASH 1
45480 _ACEOF
45481
45482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45483 fi
45484
45485 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45486 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45487 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45488 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45489 else
45490 cat >>confdefs.h <<\_ACEOF
45491 #define wxUSE_STARTUP_TIPS 1
45492 _ACEOF
45493
45494 fi
45495 fi
45496
45497 if test "$wxUSE_TEXTDLG" = "yes"; then
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_TEXTDLG 1
45500 _ACEOF
45501
45502 fi
45503
45504 if test "$wxUSE_WIZARDDLG" = "yes"; then
45505 cat >>confdefs.h <<\_ACEOF
45506 #define wxUSE_WIZARDDLG 1
45507 _ACEOF
45508
45509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45510 fi
45511
45512
45513 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45514 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_GRAPHICS_CONTEXT 1
45517 _ACEOF
45518
45519 elif test "$wxUSE_GTK" != 1; then
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_GRAPHICS_CONTEXT 1
45522 _ACEOF
45523
45524 else
45525
45526 pkg_failed=no
45527 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45528 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45529
45530 if test -n "$PKG_CONFIG"; then
45531 if test -n "$CAIRO_CFLAGS"; then
45532 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45533 else
45534 if test -n "$PKG_CONFIG" && \
45535 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45536 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45537 ac_status=$?
45538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45539 (exit $ac_status); }; then
45540 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45541 else
45542 pkg_failed=yes
45543 fi
45544 fi
45545 else
45546 pkg_failed=untried
45547 fi
45548 if test -n "$PKG_CONFIG"; then
45549 if test -n "$CAIRO_LIBS"; then
45550 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45551 else
45552 if test -n "$PKG_CONFIG" && \
45553 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45554 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45555 ac_status=$?
45556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45557 (exit $ac_status); }; then
45558 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45559 else
45560 pkg_failed=yes
45561 fi
45562 fi
45563 else
45564 pkg_failed=untried
45565 fi
45566
45567
45568
45569 if test $pkg_failed = yes; then
45570
45571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45572 _pkg_short_errors_supported=yes
45573 else
45574 _pkg_short_errors_supported=no
45575 fi
45576 if test $_pkg_short_errors_supported = yes; then
45577 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45578 else
45579 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45580 fi
45581 # Put the nasty error message in config.log where it belongs
45582 echo "$CAIRO_PKG_ERRORS" >&5
45583
45584 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45585 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45586
45587 elif test $pkg_failed = untried; then
45588 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45589 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45590
45591 else
45592 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45593 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45594 { echo "$as_me:$LINENO: result: yes" >&5
45595 echo "${ECHO_T}yes" >&6; }
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_GRAPHICS_CONTEXT 1
45598 _ACEOF
45599
45600 fi
45601 fi
45602 fi
45603
45604
45605 USE_MEDIA=0
45606
45607 if test "$wxUSE_MEDIACTRL" = "yes"; then
45608 USE_MEDIA=1
45609
45610 if test "$wxUSE_GTK" = 1; then
45611 wxUSE_GSTREAMER="no"
45612
45613 GST_VERSION_MAJOR=0
45614 GST_VERSION_MINOR=10
45615 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45616
45617 if test "$wxUSE_GSTREAMER8" = "no"; then
45618
45619 pkg_failed=no
45620 { echo "$as_me:$LINENO: checking for GST" >&5
45621 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45622
45623 if test -n "$PKG_CONFIG"; then
45624 if test -n "$GST_CFLAGS"; then
45625 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45626 else
45627 if test -n "$PKG_CONFIG" && \
45628 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45629 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45630 ac_status=$?
45631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45632 (exit $ac_status); }; then
45633 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45634 else
45635 pkg_failed=yes
45636 fi
45637 fi
45638 else
45639 pkg_failed=untried
45640 fi
45641 if test -n "$PKG_CONFIG"; then
45642 if test -n "$GST_LIBS"; then
45643 pkg_cv_GST_LIBS="$GST_LIBS"
45644 else
45645 if test -n "$PKG_CONFIG" && \
45646 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45647 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45648 ac_status=$?
45649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45650 (exit $ac_status); }; then
45651 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45652 else
45653 pkg_failed=yes
45654 fi
45655 fi
45656 else
45657 pkg_failed=untried
45658 fi
45659
45660
45661
45662 if test $pkg_failed = yes; then
45663
45664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45665 _pkg_short_errors_supported=yes
45666 else
45667 _pkg_short_errors_supported=no
45668 fi
45669 if test $_pkg_short_errors_supported = yes; then
45670 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45671 else
45672 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45673 fi
45674 # Put the nasty error message in config.log where it belongs
45675 echo "$GST_PKG_ERRORS" >&5
45676
45677
45678 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45679 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45680 GST_VERSION_MINOR=8
45681
45682
45683 elif test $pkg_failed = untried; then
45684
45685 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45686 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45687 GST_VERSION_MINOR=8
45688
45689
45690 else
45691 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45692 GST_LIBS=$pkg_cv_GST_LIBS
45693 { echo "$as_me:$LINENO: result: yes" >&5
45694 echo "${ECHO_T}yes" >&6; }
45695
45696 wxUSE_GSTREAMER="yes"
45697 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45698
45699 fi
45700 else
45701 GST_VERSION_MINOR=8
45702 fi
45703
45704 if test $GST_VERSION_MINOR = "8"; then
45705 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45706
45707 pkg_failed=no
45708 { echo "$as_me:$LINENO: checking for GST" >&5
45709 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45710
45711 if test -n "$PKG_CONFIG"; then
45712 if test -n "$GST_CFLAGS"; then
45713 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45714 else
45715 if test -n "$PKG_CONFIG" && \
45716 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45717 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45718 ac_status=$?
45719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45720 (exit $ac_status); }; then
45721 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45722 else
45723 pkg_failed=yes
45724 fi
45725 fi
45726 else
45727 pkg_failed=untried
45728 fi
45729 if test -n "$PKG_CONFIG"; then
45730 if test -n "$GST_LIBS"; then
45731 pkg_cv_GST_LIBS="$GST_LIBS"
45732 else
45733 if test -n "$PKG_CONFIG" && \
45734 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45735 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45736 ac_status=$?
45737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45738 (exit $ac_status); }; then
45739 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45740 else
45741 pkg_failed=yes
45742 fi
45743 fi
45744 else
45745 pkg_failed=untried
45746 fi
45747
45748
45749
45750 if test $pkg_failed = yes; then
45751
45752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45753 _pkg_short_errors_supported=yes
45754 else
45755 _pkg_short_errors_supported=no
45756 fi
45757 if test $_pkg_short_errors_supported = yes; then
45758 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45759 else
45760 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45761 fi
45762 # Put the nasty error message in config.log where it belongs
45763 echo "$GST_PKG_ERRORS" >&5
45764
45765
45766 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45767 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45768
45769 elif test $pkg_failed = untried; then
45770
45771 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45772 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45773
45774 else
45775 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45776 GST_LIBS=$pkg_cv_GST_LIBS
45777 { echo "$as_me:$LINENO: result: yes" >&5
45778 echo "${ECHO_T}yes" >&6; }
45779 wxUSE_GSTREAMER="yes"
45780 fi
45781 fi
45782
45783
45784 if test "$wxUSE_GSTREAMER" = "yes"; then
45785 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45786 LIBS="$GST_LIBS $LIBS"
45787
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_GSTREAMER 1
45790 _ACEOF
45791
45792 else
45793 USE_MEDIA=0
45794 fi
45795 fi
45796
45797 if test $USE_MEDIA = 1; then
45798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45799 cat >>confdefs.h <<\_ACEOF
45800 #define wxUSE_MEDIACTRL 1
45801 _ACEOF
45802
45803 fi
45804 fi
45805
45806
45807 if test "$cross_compiling" = "yes"; then
45808 OSINFO="\"$host\""
45809 else
45810 OSINFO=`uname -s -r -m`
45811 OSINFO="\"$OSINFO\""
45812 fi
45813
45814 cat >>confdefs.h <<_ACEOF
45815 #define WXWIN_OS_DESCRIPTION $OSINFO
45816 _ACEOF
45817
45818
45819
45820 if test "x$prefix" != "xNONE"; then
45821 wxPREFIX=$prefix
45822 else
45823 wxPREFIX=$ac_default_prefix
45824 fi
45825
45826 cat >>confdefs.h <<_ACEOF
45827 #define wxINSTALL_PREFIX "$wxPREFIX"
45828 _ACEOF
45829
45830
45831
45832
45833 CORE_BASE_LIBS="net base"
45834 CORE_GUI_LIBS="adv core"
45835
45836 if test "$wxUSE_XML" = "yes" ; then
45837 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45838 fi
45839 if test "$wxUSE_ODBC" != "no" ; then
45840 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45841 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45842 fi
45843 if test "$wxUSE_HTML" = "yes" ; then
45844 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45845 fi
45846 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45847 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45848 fi
45849 if test "$wxUSE_XRC" = "yes" ; then
45850 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45851 fi
45852 if test "$wxUSE_AUI" = "yes" ; then
45853 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45854 fi
45855 if test "$wxUSE_STC" = "yes" ; then
45856 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45857 fi
45858
45859 if test "$wxUSE_GUI" != "yes"; then
45860 CORE_GUI_LIBS=""
45861 fi
45862
45863
45864
45865
45866
45867
45868 if test "$wxUSE_MAC" = 1 ; then
45869 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45870 if test "$USE_DARWIN" = 1; then
45871 LDFLAGS="$LDFLAGS -framework QuickTime"
45872 else
45873 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45874 fi
45875 fi
45876 if test "$USE_DARWIN" = 1; then
45877 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45878 else
45879 LDFLAGS="$LDFLAGS -lCarbonLib"
45880 fi
45881 fi
45882 if test "$wxUSE_COCOA" = 1 ; then
45883 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45884 if test "$wxUSE_MEDIACTRL" = "yes"; then
45885 LDFLAGS="$LDFLAGS -framework QuickTime"
45886 fi
45887 fi
45888 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45889 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45890 fi
45891
45892 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45893
45894 if test "$wxUSE_GUI" = "yes"; then
45895
45896
45897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45898 dynamic erase event exec font image minimal mobile \
45899 mobile/wxedit mobile/styles propsize render \
45900 rotate shaped svg taborder vscroll widgets"
45901
45902 if test "$wxUSE_MONOLITHIC" != "yes"; then
45903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45904 fi
45905 if test "$TOOLKIT" = "MSW"; then
45906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45907 if test "$wxUSE_UNIVERSAL" != "yes"; then
45908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45909 fi
45910 fi
45911 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45913 fi
45914 else
45915 SAMPLES_SUBDIRS="console"
45916 fi
45917
45918
45919 if test "x$INTELCC" = "xyes" ; then
45920 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45921 elif test "$GCC" = yes ; then
45922 CWARNINGS="-Wall -Wundef"
45923 fi
45924
45925 if test "x$INTELCXX" = "xyes" ; then
45926 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45927 elif test "$GXX" = yes ; then
45928 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45929 fi
45930
45931
45932 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45933 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45934
45935
45936 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45937 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45938 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45939 $CPPFLAGS `
45940
45941 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45942 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45943 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45944
45945 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45946
45947
45948 if test "x$MWCC" = "xyes"; then
45949
45950 CC="$CC -cwd source -I-"
45951 CXX="$CXX -cwd source -I-"
45952 fi
45953
45954
45955 LIBS=`echo $LIBS`
45956 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45957 EXTRALIBS_XML="$EXPAT_LINK"
45958 EXTRALIBS_HTML="$MSPACK_LINK"
45959 EXTRALIBS_ODBC="$ODBC_LINK"
45960 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45961 if test "$wxUSE_GUI" = "yes"; then
45962 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45963 fi
45964 if test "$wxUSE_OPENGL" = "yes"; then
45965 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45966 fi
45967
45968 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45969
45970 WXCONFIG_LIBS="$LIBS"
45971
45972 if test "$wxUSE_REGEX" = "builtin" ; then
45973 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45974 fi
45975 if test "$wxUSE_EXPAT" = "builtin" ; then
45976 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45977 fi
45978 if test "$wxUSE_ODBC" = "builtin" ; then
45979 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45980 fi
45981 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45982 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45983 fi
45984 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45985 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45986 fi
45987 if test "$wxUSE_LIBPNG" = "builtin" ; then
45988 wxconfig_3rdparty="png $wxconfig_3rdparty"
45989 fi
45990 if test "$wxUSE_ZLIB" = "builtin" ; then
45991 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45992 fi
45993
45994 for i in $wxconfig_3rdparty ; do
45995 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45996 done
45997
45998
45999 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46000 WXUNIV=1
46001
46002 case "$wxUNIV_THEMES" in
46003 ''|all)
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_ALL_THEMES 1
46006 _ACEOF
46007
46008 ;;
46009
46010 *)
46011 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46012 cat >>confdefs.h <<_ACEOF
46013 #define wxUSE_THEME_$t 1
46014 _ACEOF
46015
46016 done
46017 esac
46018 else
46019 WXUNIV=0
46020 fi
46021
46022
46023
46024
46025
46026
46027
46028
46029
46030 if test $wxUSE_MONOLITHIC = "yes" ; then
46031 MONOLITHIC=1
46032 else
46033 MONOLITHIC=0
46034 fi
46035
46036 if test $wxUSE_PLUGINS = "yes" ; then
46037 USE_PLUGINS=1
46038 else
46039 USE_PLUGINS=0
46040 fi
46041
46042 if test $wxUSE_ODBC != "no" ; then
46043 USE_ODBC=1
46044 else
46045 USE_ODBC=0
46046 fi
46047
46048 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46049 USE_QA=1
46050 else
46051 USE_QA=0
46052 fi
46053
46054 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46055 OFFICIAL_BUILD=1
46056 else
46057 OFFICIAL_BUILD=0
46058 fi
46059
46060
46061
46062
46063
46064
46065
46066
46067
46068
46069
46070
46071
46072
46073
46074
46075
46076
46077
46078
46079
46080
46081
46082
46083
46084
46085 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46086
46087
46088
46089
46090
46091
46092
46093
46094 case "$TOOLKIT" in
46095 GTK)
46096 TOOLKIT_DESC="GTK+"
46097 if test "$WXGTK20" = 1; then
46098 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46099 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46100 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46101 fi
46102 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46103 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46104 fi
46105 if test "$wxUSE_LIBHILDON" = "yes"; then
46106 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46107 fi
46108
46109 if test "$TOOLKIT_EXTRA" != ""; then
46110 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46111 fi
46112 fi
46113 ;;
46114
46115 ?*)
46116 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46117 ;;
46118
46119 *)
46120 TOOLKIT_DESC="base only"
46121 ;;
46122 esac
46123
46124 if test "$wxUSE_WINE" = "yes"; then
46125 BAKEFILE_FORCE_PLATFORM=win32
46126 fi
46127
46128 if test "$wxUSE_MAC" = 1 ; then
46129 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46130 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46131 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46132 else
46133 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46134 fi
46135 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46136 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46137 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46138 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46139 bk_use_pch=no
46140 fi
46141 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46142 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46143 fi
46144
46145 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46146 then
46147 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46148 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46149 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46150 echo $ECHO_N "(cached) $ECHO_C" >&6
46151 else
46152
46153 echo '#include <stdio.h>
46154 const wchar_t test_var[] = L"awidetest";' > conftest.h
46155
46156 echo '#include "conftest.h"
46157 int main()
46158 {
46159 printf("%ls", test_var);
46160 return 0;
46161 }' > conftest.cpp
46162
46163 wx_cv_gcc_pch_bug="pch not supported"
46164
46165 if $CXX conftest.h >/dev/null 2>&1
46166 then
46167 wx_cv_gcc_pch_bug=
46168
46169 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46170 then
46171 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46172 grep awidetest >/dev/null
46173 then
46174 wx_cv_gcc_pch_bug=no
46175 else
46176 wx_cv_gcc_pch_bug=yes
46177 fi
46178 fi
46179 fi
46180
46181 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46182
46183 fi
46184 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46185 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46186
46187 if test "$wx_cv_gcc_pch_bug" = yes; then
46188 bk_use_pch=no
46189 fi
46190 fi
46191
46192
46193
46194
46195 if test "x$BAKEFILE_HOST" = "x"; then
46196 if test "x${host}" = "x" ; then
46197 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46198 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46199 { (exit 1); exit 1; }; }
46200 fi
46201
46202 BAKEFILE_HOST="${host}"
46203 fi
46204
46205 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46206
46207 if test -n "$ac_tool_prefix"; then
46208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46209 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46212 if test "${ac_cv_prog_RANLIB+set}" = set; then
46213 echo $ECHO_N "(cached) $ECHO_C" >&6
46214 else
46215 if test -n "$RANLIB"; then
46216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46217 else
46218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46219 for as_dir in $PATH
46220 do
46221 IFS=$as_save_IFS
46222 test -z "$as_dir" && as_dir=.
46223 for ac_exec_ext in '' $ac_executable_extensions; do
46224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46225 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46227 break 2
46228 fi
46229 done
46230 done
46231 IFS=$as_save_IFS
46232
46233 fi
46234 fi
46235 RANLIB=$ac_cv_prog_RANLIB
46236 if test -n "$RANLIB"; then
46237 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46238 echo "${ECHO_T}$RANLIB" >&6; }
46239 else
46240 { echo "$as_me:$LINENO: result: no" >&5
46241 echo "${ECHO_T}no" >&6; }
46242 fi
46243
46244
46245 fi
46246 if test -z "$ac_cv_prog_RANLIB"; then
46247 ac_ct_RANLIB=$RANLIB
46248 # Extract the first word of "ranlib", so it can be a program name with args.
46249 set dummy ranlib; ac_word=$2
46250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46252 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46253 echo $ECHO_N "(cached) $ECHO_C" >&6
46254 else
46255 if test -n "$ac_ct_RANLIB"; then
46256 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46257 else
46258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46259 for as_dir in $PATH
46260 do
46261 IFS=$as_save_IFS
46262 test -z "$as_dir" && as_dir=.
46263 for ac_exec_ext in '' $ac_executable_extensions; do
46264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46265 ac_cv_prog_ac_ct_RANLIB="ranlib"
46266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46267 break 2
46268 fi
46269 done
46270 done
46271 IFS=$as_save_IFS
46272
46273 fi
46274 fi
46275 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46276 if test -n "$ac_ct_RANLIB"; then
46277 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46278 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46279 else
46280 { echo "$as_me:$LINENO: result: no" >&5
46281 echo "${ECHO_T}no" >&6; }
46282 fi
46283
46284 if test "x$ac_ct_RANLIB" = x; then
46285 RANLIB=":"
46286 else
46287 case $cross_compiling:$ac_tool_warned in
46288 yes:)
46289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46290 whose name does not start with the host triplet. If you think this
46291 configuration is useful to you, please write to autoconf@gnu.org." >&5
46292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46293 whose name does not start with the host triplet. If you think this
46294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46295 ac_tool_warned=yes ;;
46296 esac
46297 RANLIB=$ac_ct_RANLIB
46298 fi
46299 else
46300 RANLIB="$ac_cv_prog_RANLIB"
46301 fi
46302
46303 # Find a good install program. We prefer a C program (faster),
46304 # so one script is as good as another. But avoid the broken or
46305 # incompatible versions:
46306 # SysV /etc/install, /usr/sbin/install
46307 # SunOS /usr/etc/install
46308 # IRIX /sbin/install
46309 # AIX /bin/install
46310 # AmigaOS /C/install, which installs bootblocks on floppy discs
46311 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46312 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46313 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46314 # OS/2's system install, which has a completely different semantic
46315 # ./install, which can be erroneously created by make from ./install.sh.
46316 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46317 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46318 if test -z "$INSTALL"; then
46319 if test "${ac_cv_path_install+set}" = set; then
46320 echo $ECHO_N "(cached) $ECHO_C" >&6
46321 else
46322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46323 for as_dir in $PATH
46324 do
46325 IFS=$as_save_IFS
46326 test -z "$as_dir" && as_dir=.
46327 # Account for people who put trailing slashes in PATH elements.
46328 case $as_dir/ in
46329 ./ | .// | /cC/* | \
46330 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46331 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46332 /usr/ucb/* ) ;;
46333 *)
46334 # OSF1 and SCO ODT 3.0 have their own names for install.
46335 # Don't use installbsd from OSF since it installs stuff as root
46336 # by default.
46337 for ac_prog in ginstall scoinst install; do
46338 for ac_exec_ext in '' $ac_executable_extensions; do
46339 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46340 if test $ac_prog = install &&
46341 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46342 # AIX install. It has an incompatible calling convention.
46343 :
46344 elif test $ac_prog = install &&
46345 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46346 # program-specific install script used by HP pwplus--don't use.
46347 :
46348 else
46349 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46350 break 3
46351 fi
46352 fi
46353 done
46354 done
46355 ;;
46356 esac
46357 done
46358 IFS=$as_save_IFS
46359
46360
46361 fi
46362 if test "${ac_cv_path_install+set}" = set; then
46363 INSTALL=$ac_cv_path_install
46364 else
46365 # As a last resort, use the slow shell script. Don't cache a
46366 # value for INSTALL within a source directory, because that will
46367 # break other packages using the cache if that directory is
46368 # removed, or if the value is a relative name.
46369 INSTALL=$ac_install_sh
46370 fi
46371 fi
46372 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46373 echo "${ECHO_T}$INSTALL" >&6; }
46374
46375 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46376 # It thinks the first close brace ends the variable substitution.
46377 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46378
46379 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46380
46381 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46382
46383 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46384 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46385 LN_S=$as_ln_s
46386 if test "$LN_S" = "ln -s"; then
46387 { echo "$as_me:$LINENO: result: yes" >&5
46388 echo "${ECHO_T}yes" >&6; }
46389 else
46390 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46391 echo "${ECHO_T}no, using $LN_S" >&6; }
46392 fi
46393
46394
46395 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46396 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46397 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46398 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46399 echo $ECHO_N "(cached) $ECHO_C" >&6
46400 else
46401 cat >conftest.make <<\_ACEOF
46402 SHELL = /bin/sh
46403 all:
46404 @echo '@@@%%%=$(MAKE)=@@@%%%'
46405 _ACEOF
46406 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46407 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46408 *@@@%%%=?*=@@@%%%*)
46409 eval ac_cv_prog_make_${ac_make}_set=yes;;
46410 *)
46411 eval ac_cv_prog_make_${ac_make}_set=no;;
46412 esac
46413 rm -f conftest.make
46414 fi
46415 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46416 { echo "$as_me:$LINENO: result: yes" >&5
46417 echo "${ECHO_T}yes" >&6; }
46418 SET_MAKE=
46419 else
46420 { echo "$as_me:$LINENO: result: no" >&5
46421 echo "${ECHO_T}no" >&6; }
46422 SET_MAKE="MAKE=${MAKE-make}"
46423 fi
46424
46425
46426
46427 if test "x$SUNCXX" = "xyes"; then
46428 AR=$CXX
46429 AROPTIONS="-xar -o"
46430
46431 elif test "x$SGICC" = "xyes"; then
46432 AR=$CXX
46433 AROPTIONS="-ar -o"
46434
46435 else
46436 if test -n "$ac_tool_prefix"; then
46437 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46438 set dummy ${ac_tool_prefix}ar; ac_word=$2
46439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46441 if test "${ac_cv_prog_AR+set}" = set; then
46442 echo $ECHO_N "(cached) $ECHO_C" >&6
46443 else
46444 if test -n "$AR"; then
46445 ac_cv_prog_AR="$AR" # Let the user override the test.
46446 else
46447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46448 for as_dir in $PATH
46449 do
46450 IFS=$as_save_IFS
46451 test -z "$as_dir" && as_dir=.
46452 for ac_exec_ext in '' $ac_executable_extensions; do
46453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46454 ac_cv_prog_AR="${ac_tool_prefix}ar"
46455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46456 break 2
46457 fi
46458 done
46459 done
46460 IFS=$as_save_IFS
46461
46462 fi
46463 fi
46464 AR=$ac_cv_prog_AR
46465 if test -n "$AR"; then
46466 { echo "$as_me:$LINENO: result: $AR" >&5
46467 echo "${ECHO_T}$AR" >&6; }
46468 else
46469 { echo "$as_me:$LINENO: result: no" >&5
46470 echo "${ECHO_T}no" >&6; }
46471 fi
46472
46473
46474 fi
46475 if test -z "$ac_cv_prog_AR"; then
46476 ac_ct_AR=$AR
46477 # Extract the first word of "ar", so it can be a program name with args.
46478 set dummy ar; ac_word=$2
46479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46481 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46482 echo $ECHO_N "(cached) $ECHO_C" >&6
46483 else
46484 if test -n "$ac_ct_AR"; then
46485 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46486 else
46487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46488 for as_dir in $PATH
46489 do
46490 IFS=$as_save_IFS
46491 test -z "$as_dir" && as_dir=.
46492 for ac_exec_ext in '' $ac_executable_extensions; do
46493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46494 ac_cv_prog_ac_ct_AR="ar"
46495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46496 break 2
46497 fi
46498 done
46499 done
46500 IFS=$as_save_IFS
46501
46502 fi
46503 fi
46504 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46505 if test -n "$ac_ct_AR"; then
46506 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46507 echo "${ECHO_T}$ac_ct_AR" >&6; }
46508 else
46509 { echo "$as_me:$LINENO: result: no" >&5
46510 echo "${ECHO_T}no" >&6; }
46511 fi
46512
46513 if test "x$ac_ct_AR" = x; then
46514 AR="ar"
46515 else
46516 case $cross_compiling:$ac_tool_warned in
46517 yes:)
46518 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46519 whose name does not start with the host triplet. If you think this
46520 configuration is useful to you, please write to autoconf@gnu.org." >&5
46521 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46522 whose name does not start with the host triplet. If you think this
46523 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46524 ac_tool_warned=yes ;;
46525 esac
46526 AR=$ac_ct_AR
46527 fi
46528 else
46529 AR="$ac_cv_prog_AR"
46530 fi
46531
46532 AROPTIONS=rcu
46533 fi
46534
46535
46536 if test -n "$ac_tool_prefix"; then
46537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46538 set dummy ${ac_tool_prefix}strip; ac_word=$2
46539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46541 if test "${ac_cv_prog_STRIP+set}" = set; then
46542 echo $ECHO_N "(cached) $ECHO_C" >&6
46543 else
46544 if test -n "$STRIP"; then
46545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46546 else
46547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46548 for as_dir in $PATH
46549 do
46550 IFS=$as_save_IFS
46551 test -z "$as_dir" && as_dir=.
46552 for ac_exec_ext in '' $ac_executable_extensions; do
46553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46556 break 2
46557 fi
46558 done
46559 done
46560 IFS=$as_save_IFS
46561
46562 fi
46563 fi
46564 STRIP=$ac_cv_prog_STRIP
46565 if test -n "$STRIP"; then
46566 { echo "$as_me:$LINENO: result: $STRIP" >&5
46567 echo "${ECHO_T}$STRIP" >&6; }
46568 else
46569 { echo "$as_me:$LINENO: result: no" >&5
46570 echo "${ECHO_T}no" >&6; }
46571 fi
46572
46573
46574 fi
46575 if test -z "$ac_cv_prog_STRIP"; then
46576 ac_ct_STRIP=$STRIP
46577 # Extract the first word of "strip", so it can be a program name with args.
46578 set dummy strip; ac_word=$2
46579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46582 echo $ECHO_N "(cached) $ECHO_C" >&6
46583 else
46584 if test -n "$ac_ct_STRIP"; then
46585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
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 for ac_exec_ext in '' $ac_executable_extensions; do
46593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46594 ac_cv_prog_ac_ct_STRIP="strip"
46595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46596 break 2
46597 fi
46598 done
46599 done
46600 IFS=$as_save_IFS
46601
46602 fi
46603 fi
46604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46605 if test -n "$ac_ct_STRIP"; then
46606 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46607 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46608 else
46609 { echo "$as_me:$LINENO: result: no" >&5
46610 echo "${ECHO_T}no" >&6; }
46611 fi
46612
46613 if test "x$ac_ct_STRIP" = x; then
46614 STRIP=":"
46615 else
46616 case $cross_compiling:$ac_tool_warned in
46617 yes:)
46618 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46619 whose name does not start with the host triplet. If you think this
46620 configuration is useful to you, please write to autoconf@gnu.org." >&5
46621 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46622 whose name does not start with the host triplet. If you think this
46623 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46624 ac_tool_warned=yes ;;
46625 esac
46626 STRIP=$ac_ct_STRIP
46627 fi
46628 else
46629 STRIP="$ac_cv_prog_STRIP"
46630 fi
46631
46632 if test -n "$ac_tool_prefix"; then
46633 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46634 set dummy ${ac_tool_prefix}nm; ac_word=$2
46635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46637 if test "${ac_cv_prog_NM+set}" = set; then
46638 echo $ECHO_N "(cached) $ECHO_C" >&6
46639 else
46640 if test -n "$NM"; then
46641 ac_cv_prog_NM="$NM" # Let the user override the test.
46642 else
46643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46644 for as_dir in $PATH
46645 do
46646 IFS=$as_save_IFS
46647 test -z "$as_dir" && as_dir=.
46648 for ac_exec_ext in '' $ac_executable_extensions; do
46649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46650 ac_cv_prog_NM="${ac_tool_prefix}nm"
46651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46652 break 2
46653 fi
46654 done
46655 done
46656 IFS=$as_save_IFS
46657
46658 fi
46659 fi
46660 NM=$ac_cv_prog_NM
46661 if test -n "$NM"; then
46662 { echo "$as_me:$LINENO: result: $NM" >&5
46663 echo "${ECHO_T}$NM" >&6; }
46664 else
46665 { echo "$as_me:$LINENO: result: no" >&5
46666 echo "${ECHO_T}no" >&6; }
46667 fi
46668
46669
46670 fi
46671 if test -z "$ac_cv_prog_NM"; then
46672 ac_ct_NM=$NM
46673 # Extract the first word of "nm", so it can be a program name with args.
46674 set dummy nm; ac_word=$2
46675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46677 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46678 echo $ECHO_N "(cached) $ECHO_C" >&6
46679 else
46680 if test -n "$ac_ct_NM"; then
46681 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46682 else
46683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46684 for as_dir in $PATH
46685 do
46686 IFS=$as_save_IFS
46687 test -z "$as_dir" && as_dir=.
46688 for ac_exec_ext in '' $ac_executable_extensions; do
46689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46690 ac_cv_prog_ac_ct_NM="nm"
46691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46692 break 2
46693 fi
46694 done
46695 done
46696 IFS=$as_save_IFS
46697
46698 fi
46699 fi
46700 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46701 if test -n "$ac_ct_NM"; then
46702 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46703 echo "${ECHO_T}$ac_ct_NM" >&6; }
46704 else
46705 { echo "$as_me:$LINENO: result: no" >&5
46706 echo "${ECHO_T}no" >&6; }
46707 fi
46708
46709 if test "x$ac_ct_NM" = x; then
46710 NM=":"
46711 else
46712 case $cross_compiling:$ac_tool_warned in
46713 yes:)
46714 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46715 whose name does not start with the host triplet. If you think this
46716 configuration is useful to you, please write to autoconf@gnu.org." >&5
46717 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46718 whose name does not start with the host triplet. If you think this
46719 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46720 ac_tool_warned=yes ;;
46721 esac
46722 NM=$ac_ct_NM
46723 fi
46724 else
46725 NM="$ac_cv_prog_NM"
46726 fi
46727
46728
46729 case ${BAKEFILE_HOST} in
46730 *-hp-hpux* )
46731 INSTALL_DIR="mkdir -p"
46732 ;;
46733 * )
46734 INSTALL_DIR='$(INSTALL) -d'
46735 ;;
46736 esac
46737
46738
46739 LDFLAGS_GUI=
46740 case ${BAKEFILE_HOST} in
46741 *-*-cygwin* | *-*-mingw32* )
46742 LDFLAGS_GUI="-mwindows"
46743 esac
46744
46745
46746 fi
46747
46748 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46749 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46750 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46751 echo $ECHO_N "(cached) $ECHO_C" >&6
46752 else
46753
46754 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46755 egrep -s GNU > /dev/null); then
46756 bakefile_cv_prog_makeisgnu="yes"
46757 else
46758 bakefile_cv_prog_makeisgnu="no"
46759 fi
46760
46761 fi
46762 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46763 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46764
46765 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46766 IF_GNU_MAKE=""
46767 else
46768 IF_GNU_MAKE="#"
46769 fi
46770
46771
46772
46773 PLATFORM_UNIX=0
46774 PLATFORM_WIN32=0
46775 PLATFORM_MSDOS=0
46776 PLATFORM_MAC=0
46777 PLATFORM_MACOS=0
46778 PLATFORM_MACOSX=0
46779 PLATFORM_OS2=0
46780 PLATFORM_BEOS=0
46781
46782 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46783 case "${BAKEFILE_HOST}" in
46784 *-*-mingw32* )
46785 PLATFORM_WIN32=1
46786 ;;
46787 *-pc-msdosdjgpp )
46788 PLATFORM_MSDOS=1
46789 ;;
46790 *-pc-os2_emx | *-pc-os2-emx )
46791 PLATFORM_OS2=1
46792 ;;
46793 *-*-darwin* )
46794 PLATFORM_MAC=1
46795 PLATFORM_MACOSX=1
46796 ;;
46797 *-*-beos* )
46798 PLATFORM_BEOS=1
46799 ;;
46800 powerpc-apple-macos* )
46801 PLATFORM_MAC=1
46802 PLATFORM_MACOS=1
46803 ;;
46804 * )
46805 PLATFORM_UNIX=1
46806 ;;
46807 esac
46808 else
46809 case "$BAKEFILE_FORCE_PLATFORM" in
46810 win32 )
46811 PLATFORM_WIN32=1
46812 ;;
46813 msdos )
46814 PLATFORM_MSDOS=1
46815 ;;
46816 os2 )
46817 PLATFORM_OS2=1
46818 ;;
46819 darwin )
46820 PLATFORM_MAC=1
46821 PLATFORM_MACOSX=1
46822 ;;
46823 unix )
46824 PLATFORM_UNIX=1
46825 ;;
46826 beos )
46827 PLATFORM_BEOS=1
46828 ;;
46829 * )
46830 ;;
46831 esac
46832 fi
46833
46834
46835
46836
46837
46838
46839
46840
46841
46842
46843
46844 # Check whether --enable-omf was given.
46845 if test "${enable_omf+set}" = set; then
46846 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46847 fi
46848
46849
46850 case "${BAKEFILE_HOST}" in
46851 *-*-darwin* )
46852 if test "x$GCC" = "xyes"; then
46853 CFLAGS="$CFLAGS -fno-common"
46854 CXXFLAGS="$CXXFLAGS -fno-common"
46855 fi
46856 if test "x$XLCC" = "xyes"; then
46857 CFLAGS="$CFLAGS -qnocommon"
46858 CXXFLAGS="$CXXFLAGS -qnocommon"
46859 fi
46860 ;;
46861
46862 *-pc-os2_emx | *-pc-os2-emx )
46863 if test "x$bk_os2_use_omf" = "xyes" ; then
46864 AR=emxomfar
46865 RANLIB=:
46866 LDFLAGS="-Zomf $LDFLAGS"
46867 CFLAGS="-Zomf $CFLAGS"
46868 CXXFLAGS="-Zomf $CXXFLAGS"
46869 OS2_LIBEXT="lib"
46870 else
46871 OS2_LIBEXT="a"
46872 fi
46873 ;;
46874
46875 i*86-*-beos* )
46876 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46877 ;;
46878 esac
46879
46880
46881 SO_SUFFIX="so"
46882 SO_SUFFIX_MODULE="so"
46883 EXEEXT=""
46884 LIBPREFIX="lib"
46885 LIBEXT=".a"
46886 DLLPREFIX="lib"
46887 DLLPREFIX_MODULE=""
46888 DLLIMP_SUFFIX=""
46889 dlldir="$libdir"
46890
46891 case "${BAKEFILE_HOST}" in
46892 *-hp-hpux* )
46893 SO_SUFFIX="sl"
46894 SO_SUFFIX_MODULE="sl"
46895 ;;
46896 *-*-aix* )
46897 SO_SUFFIX="a"
46898 SO_SUFFIX_MODULE="a"
46899 ;;
46900 *-*-cygwin* )
46901 SO_SUFFIX="dll"
46902 SO_SUFFIX_MODULE="dll"
46903 DLLIMP_SUFFIX="dll.a"
46904 EXEEXT=".exe"
46905 DLLPREFIX="cyg"
46906 dlldir="$bindir"
46907 ;;
46908 *-*-mingw32* )
46909 SO_SUFFIX="dll"
46910 SO_SUFFIX_MODULE="dll"
46911 DLLIMP_SUFFIX="dll.a"
46912 EXEEXT=".exe"
46913 DLLPREFIX=""
46914 dlldir="$bindir"
46915 ;;
46916 *-pc-msdosdjgpp )
46917 EXEEXT=".exe"
46918 DLLPREFIX=""
46919 dlldir="$bindir"
46920 ;;
46921 *-pc-os2_emx | *-pc-os2-emx )
46922 SO_SUFFIX="dll"
46923 SO_SUFFIX_MODULE="dll"
46924 DLLIMP_SUFFIX=$OS2_LIBEXT
46925 EXEEXT=".exe"
46926 DLLPREFIX=""
46927 LIBPREFIX=""
46928 LIBEXT=".$OS2_LIBEXT"
46929 dlldir="$bindir"
46930 ;;
46931 *-*-darwin* )
46932 SO_SUFFIX="dylib"
46933 SO_SUFFIX_MODULE="bundle"
46934 ;;
46935 esac
46936
46937 if test "x$DLLIMP_SUFFIX" = "x" ; then
46938 DLLIMP_SUFFIX="$SO_SUFFIX"
46939 fi
46940
46941
46942
46943
46944
46945
46946
46947
46948
46949
46950
46951
46952 PIC_FLAG=""
46953 if test "x$GCC" = "xyes"; then
46954 PIC_FLAG="-fPIC"
46955 fi
46956
46957 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46958 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46959 WINDOWS_IMPLIB=0
46960
46961 case "${BAKEFILE_HOST}" in
46962 *-hp-hpux* )
46963 if test "x$GCC" != "xyes"; then
46964 LDFLAGS="$LDFLAGS -L/usr/lib"
46965
46966 SHARED_LD_CC="${CC} -b -o"
46967 SHARED_LD_CXX="${CXX} -b -o"
46968 PIC_FLAG="+Z"
46969 fi
46970 ;;
46971
46972 *-*-linux* )
46973 if test "$INTELCC" = "yes"; then
46974 PIC_FLAG="-KPIC"
46975 elif test "x$SUNCXX" = "xyes"; then
46976 SHARED_LD_CC="${CC} -G -o"
46977 SHARED_LD_CXX="${CXX} -G -o"
46978 PIC_FLAG="-KPIC"
46979 fi
46980 ;;
46981
46982 *-*-solaris2* )
46983 if test "x$SUNCXX" = xyes ; then
46984 SHARED_LD_CC="${CC} -G -o"
46985 SHARED_LD_CXX="${CXX} -G -o"
46986 PIC_FLAG="-KPIC"
46987 fi
46988 ;;
46989
46990 *-*-darwin* )
46991
46992 D='$'
46993 cat <<EOF >shared-ld-sh
46994 #!/bin/sh
46995 #-----------------------------------------------------------------------------
46996 #-- Name: distrib/mac/shared-ld-sh
46997 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46998 #-- Author: Gilles Depeyrot
46999 #-- Copyright: (c) 2002 Gilles Depeyrot
47000 #-- Licence: any use permitted
47001 #-----------------------------------------------------------------------------
47002
47003 verbose=0
47004 args=""
47005 objects=""
47006 linking_flag="-dynamiclib"
47007 ldargs="-r -keep_private_externs -nostdlib"
47008
47009 while test ${D}# -gt 0; do
47010 case ${D}1 in
47011
47012 -v)
47013 verbose=1
47014 ;;
47015
47016 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47017 # collect these options and values
47018 args="${D}{args} ${D}1 ${D}2"
47019 shift
47020 ;;
47021
47022 -s|-Wl,*)
47023 # collect these load args
47024 ldargs="${D}{ldargs} ${D}1"
47025 ;;
47026
47027 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47028 # collect these options
47029 args="${D}{args} ${D}1"
47030 ;;
47031
47032 -dynamiclib|-bundle)
47033 linking_flag="${D}1"
47034 ;;
47035
47036 -*)
47037 echo "shared-ld: unhandled option '${D}1'"
47038 exit 1
47039 ;;
47040
47041 *.o | *.a | *.dylib)
47042 # collect object files
47043 objects="${D}{objects} ${D}1"
47044 ;;
47045
47046 *)
47047 echo "shared-ld: unhandled argument '${D}1'"
47048 exit 1
47049 ;;
47050
47051 esac
47052 shift
47053 done
47054
47055 status=0
47056
47057 #
47058 # Link one module containing all the others
47059 #
47060 if test ${D}{verbose} = 1; then
47061 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47062 fi
47063 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47064 status=${D}?
47065
47066 #
47067 # Link the shared library from the single module created, but only if the
47068 # previous command didn't fail:
47069 #
47070 if test ${D}{status} = 0; then
47071 if test ${D}{verbose} = 1; then
47072 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47073 fi
47074 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47075 status=${D}?
47076 fi
47077
47078 #
47079 # Remove intermediate module
47080 #
47081 rm -f master.${D}${D}.o
47082
47083 exit ${D}status
47084 EOF
47085
47086 chmod +x shared-ld-sh
47087
47088 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47089 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47090
47091
47092 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47093 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47094 if test "${bakefile_cv_gcc31+set}" = set; then
47095 echo $ECHO_N "(cached) $ECHO_C" >&6
47096 else
47097
47098 cat >conftest.$ac_ext <<_ACEOF
47099 /* confdefs.h. */
47100 _ACEOF
47101 cat confdefs.h >>conftest.$ac_ext
47102 cat >>conftest.$ac_ext <<_ACEOF
47103 /* end confdefs.h. */
47104
47105 int
47106 main ()
47107 {
47108
47109 #if (__GNUC__ < 3) || \
47110 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47111 This is old gcc
47112 #endif
47113
47114 ;
47115 return 0;
47116 }
47117 _ACEOF
47118 rm -f conftest.$ac_objext
47119 if { (ac_try="$ac_compile"
47120 case "(($ac_try" in
47121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47122 *) ac_try_echo=$ac_try;;
47123 esac
47124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47125 (eval "$ac_compile") 2>conftest.er1
47126 ac_status=$?
47127 grep -v '^ *+' conftest.er1 >conftest.err
47128 rm -f conftest.er1
47129 cat conftest.err >&5
47130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47131 (exit $ac_status); } && {
47132 test -z "$ac_c_werror_flag" ||
47133 test ! -s conftest.err
47134 } && test -s conftest.$ac_objext; then
47135
47136 bakefile_cv_gcc31=yes
47137
47138 else
47139 echo "$as_me: failed program was:" >&5
47140 sed 's/^/| /' conftest.$ac_ext >&5
47141
47142
47143 bakefile_cv_gcc31=no
47144
47145
47146 fi
47147
47148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47149
47150 fi
47151 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47152 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47153 if test "$bakefile_cv_gcc31" = "no"; then
47154 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47155 SHARED_LD_CXX="$SHARED_LD_CC"
47156 else
47157 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47158 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47159 fi
47160
47161 if test "x$GCC" == "xyes"; then
47162 PIC_FLAG="-dynamic -fPIC"
47163 fi
47164 if test "x$XLCC" = "xyes"; then
47165 PIC_FLAG="-dynamic -DPIC"
47166 fi
47167 ;;
47168
47169 *-*-aix* )
47170 if test "x$GCC" = "xyes"; then
47171 PIC_FLAG=""
47172
47173 case "${BAKEFILE_HOST}" in
47174 *-*-aix5* )
47175 LD_EXPFULL="-Wl,-bexpfull"
47176 ;;
47177 esac
47178
47179 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47180 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47181 else
47182 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47183 set dummy makeC++SharedLib; ac_word=$2
47184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47186 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47187 echo $ECHO_N "(cached) $ECHO_C" >&6
47188 else
47189 if test -n "$AIX_CXX_LD"; then
47190 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47191 else
47192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47193 for as_dir in $PATH
47194 do
47195 IFS=$as_save_IFS
47196 test -z "$as_dir" && as_dir=.
47197 for ac_exec_ext in '' $ac_executable_extensions; do
47198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47199 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47201 break 2
47202 fi
47203 done
47204 done
47205 IFS=$as_save_IFS
47206
47207 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47208 fi
47209 fi
47210 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47211 if test -n "$AIX_CXX_LD"; then
47212 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47213 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47214 else
47215 { echo "$as_me:$LINENO: result: no" >&5
47216 echo "${ECHO_T}no" >&6; }
47217 fi
47218
47219
47220 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47221 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47222 fi
47223 ;;
47224
47225 *-*-beos* )
47226 SHARED_LD_CC="${LD} -nostart -o"
47227 SHARED_LD_CXX="${LD} -nostart -o"
47228 ;;
47229
47230 *-*-irix* )
47231 if test "x$GCC" != "xyes"; then
47232 PIC_FLAG="-KPIC"
47233 fi
47234 ;;
47235
47236 *-*-cygwin* | *-*-mingw32* )
47237 PIC_FLAG=""
47238 SHARED_LD_CC="\$(CC) -shared -o"
47239 SHARED_LD_CXX="\$(CXX) -shared -o"
47240 WINDOWS_IMPLIB=1
47241 ;;
47242
47243 *-pc-os2_emx | *-pc-os2-emx )
47244 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47245 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47246 PIC_FLAG=""
47247
47248 D='$'
47249 cat <<EOF >dllar.sh
47250 #!/bin/sh
47251 #
47252 # dllar - a tool to build both a .dll and an .a file
47253 # from a set of object (.o) files for EMX/OS2.
47254 #
47255 # Written by Andrew Zabolotny, bit@freya.etu.ru
47256 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47257 #
47258 # This script will accept a set of files on the command line.
47259 # All the public symbols from the .o files will be exported into
47260 # a .DEF file, then linker will be run (through gcc) against them to
47261 # build a shared library consisting of all given .o files. All libraries
47262 # (.a) will be first decompressed into component .o files then act as
47263 # described above. You can optionally give a description (-d "description")
47264 # which will be put into .DLL. To see the list of accepted options (as well
47265 # as command-line format) simply run this program without options. The .DLL
47266 # is built to be imported by name (there is no guarantee that new versions
47267 # of the library you build will have same ordinals for same symbols).
47268 #
47269 # dllar is free software; you can redistribute it and/or modify
47270 # it under the terms of the GNU General Public License as published by
47271 # the Free Software Foundation; either version 2, or (at your option)
47272 # any later version.
47273 #
47274 # dllar is distributed in the hope that it will be useful,
47275 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47276 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47277 # GNU General Public License for more details.
47278 #
47279 # You should have received a copy of the GNU General Public License
47280 # along with dllar; see the file COPYING. If not, write to the Free
47281 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47282 # 02111-1307, USA.
47283
47284 # To successfuly run this program you will need:
47285 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47286 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47287 # - gcc
47288 # (used to build the .dll)
47289 # - emxexp
47290 # (used to create .def file from .o files)
47291 # - emximp
47292 # (used to create .a file from .def file)
47293 # - GNU text utilites (cat, sort, uniq)
47294 # used to process emxexp output
47295 # - GNU file utilities (mv, rm)
47296 # - GNU sed
47297 # - lxlite (optional, see flag below)
47298 # (used for general .dll cleanup)
47299 #
47300
47301 flag_USE_LXLITE=1;
47302
47303 #
47304 # helper functions
47305 # basnam, variant of basename, which does _not_ remove the path, _iff_
47306 # second argument (suffix to remove) is given
47307 basnam(){
47308 case ${D}# in
47309 1)
47310 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47311 ;;
47312 2)
47313 echo ${D}1 | sed 's/'${D}2'${D}//'
47314 ;;
47315 *)
47316 echo "error in basnam ${D}*"
47317 exit 8
47318 ;;
47319 esac
47320 }
47321
47322 # Cleanup temporary files and output
47323 CleanUp() {
47324 cd ${D}curDir
47325 for i in ${D}inputFiles ; do
47326 case ${D}i in
47327 *!)
47328 rm -rf \`basnam ${D}i !\`
47329 ;;
47330 *)
47331 ;;
47332 esac
47333 done
47334
47335 # Kill result in case of failure as there is just to many stupid make/nmake
47336 # things out there which doesn't do this.
47337 if [ ${D}# -eq 0 ]; then
47338 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47339 fi
47340 }
47341
47342 # Print usage and exit script with rc=1.
47343 PrintHelp() {
47344 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47345 echo ' [-name-mangler-script script.sh]'
47346 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47347 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47348 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47349 echo ' [*.o] [*.a]'
47350 echo '*> "output_file" should have no extension.'
47351 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47352 echo ' The import library name is derived from this and is set to "name".a,'
47353 echo ' unless overridden by -import'
47354 echo '*> "importlib_name" should have no extension.'
47355 echo ' If it has the .o, or .a extension, it is automatically removed.'
47356 echo ' This name is used as the import library name and may be longer and'
47357 echo ' more descriptive than the DLL name which has to follow the old '
47358 echo ' 8.3 convention of FAT.'
47359 echo '*> "script.sh may be given to override the output_file name by a'
47360 echo ' different name. It is mainly useful if the regular make process'
47361 echo ' of some package does not take into account OS/2 restriction of'
47362 echo ' DLL name lengths. It takes the importlib name as input and is'
47363 echo ' supposed to procude a shorter name as output. The script should'
47364 echo ' expect to get importlib_name without extension and should produce'
47365 echo ' a (max.) 8 letter name without extension.'
47366 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47367 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47368 echo ' These flags will be put at the start of GCC command line.'
47369 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47370 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47371 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47372 echo ' If the last character of a symbol is "*", all symbols beginning'
47373 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47374 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47375 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47376 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47377 echo ' C runtime DLLs.'
47378 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47379 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47380 echo ' unchanged to GCC at the end of command line.'
47381 echo '*> If you create a DLL from a library and you do not specify -o,'
47382 echo ' the basename for DLL and import library will be set to library name,'
47383 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47384 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47385 echo ' library will be renamed into gcc_s.a.'
47386 echo '--------'
47387 echo 'Example:'
47388 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47389 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47390 CleanUp
47391 exit 1
47392 }
47393
47394 # Execute a command.
47395 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47396 # @Uses Whatever CleanUp() uses.
47397 doCommand() {
47398 echo "${D}*"
47399 eval ${D}*
47400 rcCmd=${D}?
47401
47402 if [ ${D}rcCmd -ne 0 ]; then
47403 echo "command failed, exit code="${D}rcCmd
47404 CleanUp
47405 exit ${D}rcCmd
47406 fi
47407 }
47408
47409 # main routine
47410 # setup globals
47411 cmdLine=${D}*
47412 outFile=""
47413 outimpFile=""
47414 inputFiles=""
47415 renameScript=""
47416 description=""
47417 CC=gcc.exe
47418 CFLAGS="-s -Zcrtdll"
47419 EXTRA_CFLAGS=""
47420 EXPORT_BY_ORDINALS=0
47421 exclude_symbols=""
47422 library_flags=""
47423 curDir=\`pwd\`
47424 curDirS=curDir
47425 case ${D}curDirS in
47426 */)
47427 ;;
47428 *)
47429 curDirS=${D}{curDirS}"/"
47430 ;;
47431 esac
47432 # Parse commandline
47433 libsToLink=0
47434 omfLinking=0
47435 while [ ${D}1 ]; do
47436 case ${D}1 in
47437 -ord*)
47438 EXPORT_BY_ORDINALS=1;
47439 ;;
47440 -o*)
47441 shift
47442 outFile=${D}1
47443 ;;
47444 -i*)
47445 shift
47446 outimpFile=${D}1
47447 ;;
47448 -name-mangler-script)
47449 shift
47450 renameScript=${D}1
47451 ;;
47452 -d*)
47453 shift
47454 description=${D}1
47455 ;;
47456 -f*)
47457 shift
47458 CFLAGS=${D}1
47459 ;;
47460 -c*)
47461 shift
47462 CC=${D}1
47463 ;;
47464 -h*)
47465 PrintHelp
47466 ;;
47467 -ex*)
47468 shift
47469 exclude_symbols=${D}{exclude_symbols}${D}1" "
47470 ;;
47471 -libf*)
47472 shift
47473 library_flags=${D}{library_flags}${D}1" "
47474 ;;
47475 -nocrt*)
47476 CFLAGS="-s"
47477 ;;
47478 -nolxl*)
47479 flag_USE_LXLITE=0
47480 ;;
47481 -* | /*)
47482 case ${D}1 in
47483 -L* | -l*)
47484 libsToLink=1
47485 ;;
47486 -Zomf)
47487 omfLinking=1
47488 ;;
47489 *)
47490 ;;
47491 esac
47492 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47493 ;;
47494 *.dll)
47495 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47496 if [ ${D}omfLinking -eq 1 ]; then
47497 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47498 else
47499 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47500 fi
47501 ;;
47502 *)
47503 found=0;
47504 if [ ${D}libsToLink -ne 0 ]; then
47505 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47506 else
47507 for file in ${D}1 ; do
47508 if [ -f ${D}file ]; then
47509 inputFiles="${D}{inputFiles} ${D}file"
47510 found=1
47511 fi
47512 done
47513 if [ ${D}found -eq 0 ]; then
47514 echo "ERROR: No file(s) found: "${D}1
47515 exit 8
47516 fi
47517 fi
47518 ;;
47519 esac
47520 shift
47521 done # iterate cmdline words
47522
47523 #
47524 if [ -z "${D}inputFiles" ]; then
47525 echo "dllar: no input files"
47526 PrintHelp
47527 fi
47528
47529 # Now extract all .o files from .a files
47530 newInputFiles=""
47531 for file in ${D}inputFiles ; do
47532 case ${D}file in
47533 *.a | *.lib)
47534 case ${D}file in
47535 *.a)
47536 suffix=".a"
47537 AR="ar"
47538 ;;
47539 *.lib)
47540 suffix=".lib"
47541 AR="emxomfar"
47542 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47543 ;;
47544 *)
47545 ;;
47546 esac
47547 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47548 mkdir ${D}dirname
47549 if [ ${D}? -ne 0 ]; then
47550 echo "Failed to create subdirectory ./${D}dirname"
47551 CleanUp
47552 exit 8;
47553 fi
47554 # Append '!' to indicate archive
47555 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47556 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47557 cd ${D}curDir
47558 found=0;
47559 for subfile in ${D}dirname/*.o* ; do
47560 if [ -f ${D}subfile ]; then
47561 found=1
47562 if [ -s ${D}subfile ]; then
47563 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47564 newInputFiles="${D}newInputFiles ${D}subfile"
47565 fi
47566 fi
47567 done
47568 if [ ${D}found -eq 0 ]; then
47569 echo "WARNING: there are no files in archive \\'${D}file\\'"
47570 fi
47571 ;;
47572 *)
47573 newInputFiles="${D}{newInputFiles} ${D}file"
47574 ;;
47575 esac
47576 done
47577 inputFiles="${D}newInputFiles"
47578
47579 # Output filename(s).
47580 do_backup=0;
47581 if [ -z ${D}outFile ]; then
47582 do_backup=1;
47583 set outFile ${D}inputFiles; outFile=${D}2
47584 fi
47585
47586 # If it is an archive, remove the '!' and the '_%' suffixes
47587 case ${D}outFile in
47588 *_%!)
47589 outFile=\`basnam ${D}outFile _%!\`
47590 ;;
47591 *)
47592 ;;
47593 esac
47594 case ${D}outFile in
47595 *.dll)
47596 outFile=\`basnam ${D}outFile .dll\`
47597 ;;
47598 *.DLL)
47599 outFile=\`basnam ${D}outFile .DLL\`
47600 ;;
47601 *.o)
47602 outFile=\`basnam ${D}outFile .o\`
47603 ;;
47604 *.obj)
47605 outFile=\`basnam ${D}outFile .obj\`
47606 ;;
47607 *.a)
47608 outFile=\`basnam ${D}outFile .a\`
47609 ;;
47610 *.lib)
47611 outFile=\`basnam ${D}outFile .lib\`
47612 ;;
47613 *)
47614 ;;
47615 esac
47616 case ${D}outimpFile in
47617 *.a)
47618 outimpFile=\`basnam ${D}outimpFile .a\`
47619 ;;
47620 *.lib)
47621 outimpFile=\`basnam ${D}outimpFile .lib\`
47622 ;;
47623 *)
47624 ;;
47625 esac
47626 if [ -z ${D}outimpFile ]; then
47627 outimpFile=${D}outFile
47628 fi
47629 defFile="${D}{outFile}.def"
47630 arcFile="${D}{outimpFile}.a"
47631 arcFile2="${D}{outimpFile}.lib"
47632
47633 #create ${D}dllFile as something matching 8.3 restrictions,
47634 if [ -z ${D}renameScript ] ; then
47635 dllFile="${D}outFile"
47636 else
47637 dllFile=\`${D}renameScript ${D}outimpFile\`
47638 fi
47639
47640 if [ ${D}do_backup -ne 0 ] ; then
47641 if [ -f ${D}arcFile ] ; then
47642 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47643 fi
47644 if [ -f ${D}arcFile2 ] ; then
47645 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47646 fi
47647 fi
47648
47649 # Extract public symbols from all the object files.
47650 tmpdefFile=${D}{defFile}_%
47651 rm -f ${D}tmpdefFile
47652 for file in ${D}inputFiles ; do
47653 case ${D}file in
47654 *!)
47655 ;;
47656 *)
47657 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47658 ;;
47659 esac
47660 done
47661
47662 # Create the def file.
47663 rm -f ${D}defFile
47664 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47665 dllFile="${D}{dllFile}.dll"
47666 if [ ! -z ${D}description ]; then
47667 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47668 fi
47669 echo "EXPORTS" >> ${D}defFile
47670
47671 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47672 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47673
47674 # Checks if the export is ok or not.
47675 for word in ${D}exclude_symbols; do
47676 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47677 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47678 done
47679
47680
47681 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47682 sed "=" < ${D}tmpdefFile | \\
47683 sed '
47684 N
47685 : loop
47686 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47687 t loop
47688 ' > ${D}{tmpdefFile}%
47689 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47690 else
47691 rm -f ${D}{tmpdefFile}%
47692 fi
47693 cat ${D}tmpdefFile >> ${D}defFile
47694 rm -f ${D}tmpdefFile
47695
47696 # Do linking, create implib, and apply lxlite.
47697 gccCmdl="";
47698 for file in ${D}inputFiles ; do
47699 case ${D}file in
47700 *!)
47701 ;;
47702 *)
47703 gccCmdl="${D}gccCmdl ${D}file"
47704 ;;
47705 esac
47706 done
47707 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47708 touch "${D}{outFile}.dll"
47709
47710 doCommand "emximp -o ${D}arcFile ${D}defFile"
47711 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47712 add_flags="";
47713 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47714 add_flags="-ynd"
47715 fi
47716 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47717 fi
47718 doCommand "emxomf -s -l ${D}arcFile"
47719
47720 # Successful exit.
47721 CleanUp 1
47722 exit 0
47723 EOF
47724
47725 chmod +x dllar.sh
47726 ;;
47727
47728 powerpc-apple-macos* | \
47729 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47730 *-*-mirbsd* | \
47731 *-*-sunos4* | \
47732 *-*-osf* | \
47733 *-*-dgux5* | \
47734 *-*-sysv5* | \
47735 *-pc-msdosdjgpp )
47736 ;;
47737
47738 *)
47739 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47740 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47741 { (exit 1); exit 1; }; }
47742 esac
47743
47744 if test "x$PIC_FLAG" != "x" ; then
47745 PIC_FLAG="$PIC_FLAG -DPIC"
47746 fi
47747
47748 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47749 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47750 fi
47751 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47752 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47753 fi
47754
47755
47756
47757
47758
47759
47760
47761
47762
47763 USE_SOVERSION=0
47764 USE_SOVERLINUX=0
47765 USE_SOVERSOLARIS=0
47766 USE_SOVERCYGWIN=0
47767 USE_SOSYMLINKS=0
47768 USE_MACVERSION=0
47769 SONAME_FLAG=
47770
47771 case "${BAKEFILE_HOST}" in
47772 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47773 if test "x$SUNCXX" = "xyes"; then
47774 SONAME_FLAG="-h "
47775 else
47776 SONAME_FLAG="-Wl,-soname,"
47777 fi
47778 USE_SOVERSION=1
47779 USE_SOVERLINUX=1
47780 USE_SOSYMLINKS=1
47781 ;;
47782
47783 *-*-solaris2* )
47784 SONAME_FLAG="-h "
47785 USE_SOVERSION=1
47786 USE_SOVERSOLARIS=1
47787 USE_SOSYMLINKS=1
47788 ;;
47789
47790 *-*-darwin* )
47791 USE_MACVERSION=1
47792 USE_SOVERSION=1
47793 USE_SOSYMLINKS=1
47794 ;;
47795
47796 *-*-cygwin* )
47797 USE_SOVERSION=1
47798 USE_SOVERCYGWIN=1
47799 ;;
47800 esac
47801
47802
47803
47804
47805
47806
47807
47808
47809
47810
47811 # Check whether --enable-dependency-tracking was given.
47812 if test "${enable_dependency_tracking+set}" = set; then
47813 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47814 fi
47815
47816
47817 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47818 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47819
47820 BK_DEPS=""
47821 if test "x$bk_use_trackdeps" = "xno" ; then
47822 DEPS_TRACKING=0
47823 { echo "$as_me:$LINENO: result: disabled" >&5
47824 echo "${ECHO_T}disabled" >&6; }
47825 else
47826 DEPS_TRACKING=1
47827
47828 if test "x$GCC" = "xyes"; then
47829 DEPSMODE=gcc
47830 case "${BAKEFILE_HOST}" in
47831 *-*-darwin* )
47832 DEPSFLAG="-no-cpp-precomp -MMD"
47833 ;;
47834 * )
47835 DEPSFLAG="-MMD"
47836 ;;
47837 esac
47838 { echo "$as_me:$LINENO: result: gcc" >&5
47839 echo "${ECHO_T}gcc" >&6; }
47840 elif test "x$MWCC" = "xyes"; then
47841 DEPSMODE=mwcc
47842 DEPSFLAG="-MM"
47843 { echo "$as_me:$LINENO: result: mwcc" >&5
47844 echo "${ECHO_T}mwcc" >&6; }
47845 elif test "x$SUNCC" = "xyes"; then
47846 DEPSMODE=unixcc
47847 DEPSFLAG="-xM1"
47848 { echo "$as_me:$LINENO: result: Sun cc" >&5
47849 echo "${ECHO_T}Sun cc" >&6; }
47850 elif test "x$SGICC" = "xyes"; then
47851 DEPSMODE=unixcc
47852 DEPSFLAG="-M"
47853 { echo "$as_me:$LINENO: result: SGI cc" >&5
47854 echo "${ECHO_T}SGI cc" >&6; }
47855 elif test "x$HPCC" = "xyes"; then
47856 DEPSMODE=unixcc
47857 DEPSFLAG="+make"
47858 { echo "$as_me:$LINENO: result: HP cc" >&5
47859 echo "${ECHO_T}HP cc" >&6; }
47860 elif test "x$COMPAQCC" = "xyes"; then
47861 DEPSMODE=gcc
47862 DEPSFLAG="-MD"
47863 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47864 echo "${ECHO_T}Compaq cc" >&6; }
47865 else
47866 DEPS_TRACKING=0
47867 { echo "$as_me:$LINENO: result: none" >&5
47868 echo "${ECHO_T}none" >&6; }
47869 fi
47870
47871 if test $DEPS_TRACKING = 1 ; then
47872
47873 D='$'
47874 cat <<EOF >bk-deps
47875 #!/bin/sh
47876
47877 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47878 # script. It is used to track C/C++ files dependencies in portable way.
47879 #
47880 # Permission is given to use this file in any way.
47881
47882 DEPSMODE=${DEPSMODE}
47883 DEPSDIR=.deps
47884 DEPSFLAG="${DEPSFLAG}"
47885
47886 mkdir -p ${D}DEPSDIR
47887
47888 if test ${D}DEPSMODE = gcc ; then
47889 ${D}* ${D}{DEPSFLAG}
47890 status=${D}?
47891 if test ${D}{status} != 0 ; then
47892 exit ${D}{status}
47893 fi
47894 # move created file to the location we want it in:
47895 while test ${D}# -gt 0; do
47896 case "${D}1" in
47897 -o )
47898 shift
47899 objfile=${D}1
47900 ;;
47901 -* )
47902 ;;
47903 * )
47904 srcfile=${D}1
47905 ;;
47906 esac
47907 shift
47908 done
47909 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47910 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47911 if test -f ${D}depfile ; then
47912 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47913 rm -f ${D}depfile
47914 else
47915 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47916 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47917 if test ! -f ${D}depfile ; then
47918 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47919 depfile="${D}objfile.d"
47920 fi
47921 if test -f ${D}depfile ; then
47922 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47923 rm -f ${D}depfile
47924 fi
47925 fi
47926 exit 0
47927 elif test ${D}DEPSMODE = mwcc ; then
47928 ${D}* || exit ${D}?
47929 # Run mwcc again with -MM and redirect into the dep file we want
47930 # NOTE: We can't use shift here because we need ${D}* to be valid
47931 prevarg=
47932 for arg in ${D}* ; do
47933 if test "${D}prevarg" = "-o"; then
47934 objfile=${D}arg
47935 else
47936 case "${D}arg" in
47937 -* )
47938 ;;
47939 * )
47940 srcfile=${D}arg
47941 ;;
47942 esac
47943 fi
47944 prevarg="${D}arg"
47945 done
47946 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47947 exit 0
47948 elif test ${D}DEPSMODE = unixcc; then
47949 ${D}* || exit ${D}?
47950 # Run compiler again with deps flag and redirect into the dep file.
47951 # It doesn't work if the '-o FILE' option is used, but without it the
47952 # dependency file will contain the wrong name for the object. So it is
47953 # removed from the command line, and the dep file is fixed with sed.
47954 cmd=""
47955 while test ${D}# -gt 0; do
47956 case "${D}1" in
47957 -o )
47958 shift
47959 objfile=${D}1
47960 ;;
47961 * )
47962 eval arg${D}#=\\${D}1
47963 cmd="${D}cmd \\${D}arg${D}#"
47964 ;;
47965 esac
47966 shift
47967 done
47968 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47969 exit 0
47970 else
47971 ${D}*
47972 exit ${D}?
47973 fi
47974 EOF
47975
47976 chmod +x bk-deps
47977 BK_DEPS="`pwd`/bk-deps"
47978 fi
47979 fi
47980
47981
47982
47983
47984
47985 case ${BAKEFILE_HOST} in
47986 *-*-cygwin* | *-*-mingw32* )
47987 if test -n "$ac_tool_prefix"; then
47988 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47989 set dummy ${ac_tool_prefix}windres; ac_word=$2
47990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47992 if test "${ac_cv_prog_WINDRES+set}" = set; then
47993 echo $ECHO_N "(cached) $ECHO_C" >&6
47994 else
47995 if test -n "$WINDRES"; then
47996 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47997 else
47998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47999 for as_dir in $PATH
48000 do
48001 IFS=$as_save_IFS
48002 test -z "$as_dir" && as_dir=.
48003 for ac_exec_ext in '' $ac_executable_extensions; do
48004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48005 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48007 break 2
48008 fi
48009 done
48010 done
48011 IFS=$as_save_IFS
48012
48013 fi
48014 fi
48015 WINDRES=$ac_cv_prog_WINDRES
48016 if test -n "$WINDRES"; then
48017 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48018 echo "${ECHO_T}$WINDRES" >&6; }
48019 else
48020 { echo "$as_me:$LINENO: result: no" >&5
48021 echo "${ECHO_T}no" >&6; }
48022 fi
48023
48024
48025 fi
48026 if test -z "$ac_cv_prog_WINDRES"; then
48027 ac_ct_WINDRES=$WINDRES
48028 # Extract the first word of "windres", so it can be a program name with args.
48029 set dummy windres; ac_word=$2
48030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48032 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48033 echo $ECHO_N "(cached) $ECHO_C" >&6
48034 else
48035 if test -n "$ac_ct_WINDRES"; then
48036 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48037 else
48038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48039 for as_dir in $PATH
48040 do
48041 IFS=$as_save_IFS
48042 test -z "$as_dir" && as_dir=.
48043 for ac_exec_ext in '' $ac_executable_extensions; do
48044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48045 ac_cv_prog_ac_ct_WINDRES="windres"
48046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48047 break 2
48048 fi
48049 done
48050 done
48051 IFS=$as_save_IFS
48052
48053 fi
48054 fi
48055 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48056 if test -n "$ac_ct_WINDRES"; then
48057 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48058 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48059 else
48060 { echo "$as_me:$LINENO: result: no" >&5
48061 echo "${ECHO_T}no" >&6; }
48062 fi
48063
48064 if test "x$ac_ct_WINDRES" = x; then
48065 WINDRES=""
48066 else
48067 case $cross_compiling:$ac_tool_warned in
48068 yes:)
48069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48070 whose name does not start with the host triplet. If you think this
48071 configuration is useful to you, please write to autoconf@gnu.org." >&5
48072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48073 whose name does not start with the host triplet. If you think this
48074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48075 ac_tool_warned=yes ;;
48076 esac
48077 WINDRES=$ac_ct_WINDRES
48078 fi
48079 else
48080 WINDRES="$ac_cv_prog_WINDRES"
48081 fi
48082
48083 ;;
48084
48085 *-*-darwin* | powerpc-apple-macos* )
48086 # Extract the first word of "Rez", so it can be a program name with args.
48087 set dummy Rez; ac_word=$2
48088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48090 if test "${ac_cv_prog_REZ+set}" = set; then
48091 echo $ECHO_N "(cached) $ECHO_C" >&6
48092 else
48093 if test -n "$REZ"; then
48094 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48095 else
48096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48097 for as_dir in $PATH
48098 do
48099 IFS=$as_save_IFS
48100 test -z "$as_dir" && as_dir=.
48101 for ac_exec_ext in '' $ac_executable_extensions; do
48102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48103 ac_cv_prog_REZ="Rez"
48104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48105 break 2
48106 fi
48107 done
48108 done
48109 IFS=$as_save_IFS
48110
48111 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48112 fi
48113 fi
48114 REZ=$ac_cv_prog_REZ
48115 if test -n "$REZ"; then
48116 { echo "$as_me:$LINENO: result: $REZ" >&5
48117 echo "${ECHO_T}$REZ" >&6; }
48118 else
48119 { echo "$as_me:$LINENO: result: no" >&5
48120 echo "${ECHO_T}no" >&6; }
48121 fi
48122
48123
48124 # Extract the first word of "SetFile", so it can be a program name with args.
48125 set dummy SetFile; ac_word=$2
48126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48128 if test "${ac_cv_prog_SETFILE+set}" = set; then
48129 echo $ECHO_N "(cached) $ECHO_C" >&6
48130 else
48131 if test -n "$SETFILE"; then
48132 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48133 else
48134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48135 for as_dir in $PATH
48136 do
48137 IFS=$as_save_IFS
48138 test -z "$as_dir" && as_dir=.
48139 for ac_exec_ext in '' $ac_executable_extensions; do
48140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48141 ac_cv_prog_SETFILE="SetFile"
48142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48143 break 2
48144 fi
48145 done
48146 done
48147 IFS=$as_save_IFS
48148
48149 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48150 fi
48151 fi
48152 SETFILE=$ac_cv_prog_SETFILE
48153 if test -n "$SETFILE"; then
48154 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48155 echo "${ECHO_T}$SETFILE" >&6; }
48156 else
48157 { echo "$as_me:$LINENO: result: no" >&5
48158 echo "${ECHO_T}no" >&6; }
48159 fi
48160
48161
48162 ;;
48163 esac
48164
48165
48166
48167
48168
48169
48170 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48171
48172
48173 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48174
48175
48176
48177 # Check whether --enable-precomp-headers was given.
48178 if test "${enable_precomp_headers+set}" = set; then
48179 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48180 fi
48181
48182
48183 GCC_PCH=0
48184 ICC_PCH=0
48185 USE_PCH=0
48186 BK_MAKE_PCH=""
48187
48188 case ${BAKEFILE_HOST} in
48189 *-*-cygwin* )
48190 bk_use_pch="no"
48191 ;;
48192 esac
48193
48194 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48195 if test "x$GCC" = "xyes"; then
48196 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48197 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48198 cat >conftest.$ac_ext <<_ACEOF
48199 /* confdefs.h. */
48200 _ACEOF
48201 cat confdefs.h >>conftest.$ac_ext
48202 cat >>conftest.$ac_ext <<_ACEOF
48203 /* end confdefs.h. */
48204
48205 int
48206 main ()
48207 {
48208
48209 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48210 There is no PCH support
48211 #endif
48212 #if (__GNUC__ < 3)
48213 There is no PCH support
48214 #endif
48215 #if (__GNUC__ == 3) && \
48216 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48217 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48218 ( defined(__INTEL_COMPILER) )
48219 There is no PCH support
48220 #endif
48221
48222 ;
48223 return 0;
48224 }
48225 _ACEOF
48226 rm -f conftest.$ac_objext
48227 if { (ac_try="$ac_compile"
48228 case "(($ac_try" in
48229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48230 *) ac_try_echo=$ac_try;;
48231 esac
48232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48233 (eval "$ac_compile") 2>conftest.er1
48234 ac_status=$?
48235 grep -v '^ *+' conftest.er1 >conftest.err
48236 rm -f conftest.er1
48237 cat conftest.err >&5
48238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48239 (exit $ac_status); } && {
48240 test -z "$ac_c_werror_flag" ||
48241 test ! -s conftest.err
48242 } && test -s conftest.$ac_objext; then
48243
48244 { echo "$as_me:$LINENO: result: yes" >&5
48245 echo "${ECHO_T}yes" >&6; }
48246 GCC_PCH=1
48247
48248 else
48249 echo "$as_me: failed program was:" >&5
48250 sed 's/^/| /' conftest.$ac_ext >&5
48251
48252
48253 cat >conftest.$ac_ext <<_ACEOF
48254 /* confdefs.h. */
48255 _ACEOF
48256 cat confdefs.h >>conftest.$ac_ext
48257 cat >>conftest.$ac_ext <<_ACEOF
48258 /* end confdefs.h. */
48259
48260 int
48261 main ()
48262 {
48263
48264 #if !defined(__INTEL_COMPILER) || \
48265 (__INTEL_COMPILER < 800)
48266 There is no PCH support
48267 #endif
48268
48269 ;
48270 return 0;
48271 }
48272 _ACEOF
48273 rm -f conftest.$ac_objext
48274 if { (ac_try="$ac_compile"
48275 case "(($ac_try" in
48276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48277 *) ac_try_echo=$ac_try;;
48278 esac
48279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48280 (eval "$ac_compile") 2>conftest.er1
48281 ac_status=$?
48282 grep -v '^ *+' conftest.er1 >conftest.err
48283 rm -f conftest.er1
48284 cat conftest.err >&5
48285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48286 (exit $ac_status); } && {
48287 test -z "$ac_c_werror_flag" ||
48288 test ! -s conftest.err
48289 } && test -s conftest.$ac_objext; then
48290
48291 { echo "$as_me:$LINENO: result: yes" >&5
48292 echo "${ECHO_T}yes" >&6; }
48293 ICC_PCH=1
48294
48295 else
48296 echo "$as_me: failed program was:" >&5
48297 sed 's/^/| /' conftest.$ac_ext >&5
48298
48299
48300 { echo "$as_me:$LINENO: result: no" >&5
48301 echo "${ECHO_T}no" >&6; }
48302
48303 fi
48304
48305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48306
48307 fi
48308
48309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48310 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48311 USE_PCH=1
48312
48313 D='$'
48314 cat <<EOF >bk-make-pch
48315 #!/bin/sh
48316
48317 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48318 # script. It is used to generated precompiled headers.
48319 #
48320 # Permission is given to use this file in any way.
48321
48322 outfile="${D}{1}"
48323 header="${D}{2}"
48324 shift
48325 shift
48326
48327 compiler=""
48328 headerfile=""
48329
48330 while test ${D}{#} -gt 0; do
48331 add_to_cmdline=1
48332 case "${D}{1}" in
48333 -I* )
48334 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48335 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48336 headerfile="${D}{incdir}/${D}{header}"
48337 fi
48338 ;;
48339 -use-pch|-use_pch )
48340 shift
48341 add_to_cmdline=0
48342 ;;
48343 esac
48344 if test ${D}add_to_cmdline = 1 ; then
48345 compiler="${D}{compiler} ${D}{1}"
48346 fi
48347 shift
48348 done
48349
48350 if test "x${D}{headerfile}" = "x" ; then
48351 echo "error: can't find header ${D}{header} in include paths" >&2
48352 else
48353 if test -f ${D}{outfile} ; then
48354 rm -f ${D}{outfile}
48355 else
48356 mkdir -p \`dirname ${D}{outfile}\`
48357 fi
48358 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48359 mkdir -p .deps
48360 if test "x${GCC_PCH}" = "x1" ; then
48361 # can do this because gcc is >= 3.4:
48362 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48363 elif test "x${ICC_PCH}" = "x1" ; then
48364 filename=pch_gen-${D}${D}
48365 file=${D}{filename}.c
48366 dfile=${D}{filename}.d
48367 cat > ${D}file <<EOT
48368 #include "${D}header"
48369 EOT
48370 # using -MF icc complains about differing command lines in creation/use
48371 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48372 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48373 rm -f ${D}file ${D}dfile ${D}{filename}.o
48374 fi
48375 exit ${D}{?}
48376 fi
48377 EOF
48378
48379 chmod +x bk-make-pch
48380 BK_MAKE_PCH="`pwd`/bk-make-pch"
48381 fi
48382 fi
48383 fi
48384
48385
48386
48387
48388
48389 COND_BUILD_DEBUG="#"
48390 if test "x$BUILD" = "xdebug" ; then
48391 COND_BUILD_DEBUG=""
48392 fi
48393
48394 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48395 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48396 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48397 fi
48398
48399 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48400 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48401 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48402 fi
48403
48404 COND_BUILD_DEBUG_UNICODE_0="#"
48405 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48406 COND_BUILD_DEBUG_UNICODE_0=""
48407 fi
48408
48409 COND_BUILD_DEBUG_UNICODE_1="#"
48410 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48411 COND_BUILD_DEBUG_UNICODE_1=""
48412 fi
48413
48414 COND_BUILD_RELEASE="#"
48415 if test "x$BUILD" = "xrelease" ; then
48416 COND_BUILD_RELEASE=""
48417 fi
48418
48419 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48420 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48421 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48422 fi
48423
48424 COND_BUILD_RELEASE_UNICODE_0="#"
48425 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48426 COND_BUILD_RELEASE_UNICODE_0=""
48427 fi
48428
48429 COND_BUILD_RELEASE_UNICODE_1="#"
48430 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48431 COND_BUILD_RELEASE_UNICODE_1=""
48432 fi
48433
48434 COND_DEBUG_FLAG_1="#"
48435 if test "x$DEBUG_FLAG" = "x1" ; then
48436 COND_DEBUG_FLAG_1=""
48437 fi
48438
48439 COND_DEBUG_INFO_0="#"
48440 if test "x$DEBUG_INFO" = "x0" ; then
48441 COND_DEBUG_INFO_0=""
48442 fi
48443
48444 COND_DEBUG_INFO_1="#"
48445 if test "x$DEBUG_INFO" = "x1" ; then
48446 COND_DEBUG_INFO_1=""
48447 fi
48448
48449 COND_DEPS_TRACKING_0="#"
48450 if test "x$DEPS_TRACKING" = "x0" ; then
48451 COND_DEPS_TRACKING_0=""
48452 fi
48453
48454 COND_DEPS_TRACKING_1="#"
48455 if test "x$DEPS_TRACKING" = "x1" ; then
48456 COND_DEPS_TRACKING_1=""
48457 fi
48458
48459 COND_GCC_PCH_1="#"
48460 if test "x$GCC_PCH" = "x1" ; then
48461 COND_GCC_PCH_1=""
48462 fi
48463
48464 COND_ICC_PCH_1="#"
48465 if test "x$ICC_PCH" = "x1" ; then
48466 COND_ICC_PCH_1=""
48467 fi
48468
48469 COND_MONOLITHIC_0="#"
48470 if test "x$MONOLITHIC" = "x0" ; then
48471 COND_MONOLITHIC_0=""
48472 fi
48473
48474 COND_MONOLITHIC_0_SHARED_0="#"
48475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48476 COND_MONOLITHIC_0_SHARED_0=""
48477 fi
48478
48479 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48481 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48482 fi
48483
48484 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48486 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48487 fi
48488
48489 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48491 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48492 fi
48493
48494 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48496 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48497 fi
48498
48499 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48500 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48501 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48502 fi
48503
48504 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48505 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48506 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48507 fi
48508
48509 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48511 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48512 fi
48513
48514 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48515 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48516 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48517 fi
48518
48519 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48520 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48521 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48522 fi
48523
48524 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48525 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48526 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48527 fi
48528
48529 COND_MONOLITHIC_0_SHARED_1="#"
48530 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48531 COND_MONOLITHIC_0_SHARED_1=""
48532 fi
48533
48534 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48535 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48536 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48537 fi
48538
48539 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48541 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48542 fi
48543
48544 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48546 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48547 fi
48548
48549 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48551 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48552 fi
48553
48554 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48556 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48557 fi
48558
48559 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48561 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48562 fi
48563
48564 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48566 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48567 fi
48568
48569 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48571 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48572 fi
48573
48574 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48576 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48577 fi
48578
48579 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48581 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48582 fi
48583
48584 COND_MONOLITHIC_0_USE_AUI_1="#"
48585 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48586 COND_MONOLITHIC_0_USE_AUI_1=""
48587 fi
48588
48589 COND_MONOLITHIC_0_USE_GUI_1="#"
48590 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48591 COND_MONOLITHIC_0_USE_GUI_1=""
48592 fi
48593
48594 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48595 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48596 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48597 fi
48598
48599 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48600 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48601 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48602 fi
48603
48604 COND_MONOLITHIC_0_USE_HTML_1="#"
48605 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48606 COND_MONOLITHIC_0_USE_HTML_1=""
48607 fi
48608
48609 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48610 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48611 COND_MONOLITHIC_0_USE_MEDIA_1=""
48612 fi
48613
48614 COND_MONOLITHIC_0_USE_ODBC_1="#"
48615 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48616 COND_MONOLITHIC_0_USE_ODBC_1=""
48617 fi
48618
48619 COND_MONOLITHIC_0_USE_QA_1="#"
48620 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48621 COND_MONOLITHIC_0_USE_QA_1=""
48622 fi
48623
48624 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48625 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48626 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48627 fi
48628
48629 COND_MONOLITHIC_0_USE_STC_1="#"
48630 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48631 COND_MONOLITHIC_0_USE_STC_1=""
48632 fi
48633
48634 COND_MONOLITHIC_0_USE_XRC_1="#"
48635 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48636 COND_MONOLITHIC_0_USE_XRC_1=""
48637 fi
48638
48639 COND_MONOLITHIC_1="#"
48640 if test "x$MONOLITHIC" = "x1" ; then
48641 COND_MONOLITHIC_1=""
48642 fi
48643
48644 COND_MONOLITHIC_1_SHARED_0="#"
48645 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48646 COND_MONOLITHIC_1_SHARED_0=""
48647 fi
48648
48649 COND_MONOLITHIC_1_SHARED_1="#"
48650 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48651 COND_MONOLITHIC_1_SHARED_1=""
48652 fi
48653
48654 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48655 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48656 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48657 fi
48658
48659 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48660 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48661 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48662 fi
48663
48664 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48665 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48666 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48667 fi
48668
48669 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48670 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48671 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48672 fi
48673
48674 COND_PLATFORM_MACOSX_1="#"
48675 if test "x$PLATFORM_MACOSX" = "x1" ; then
48676 COND_PLATFORM_MACOSX_1=""
48677 fi
48678
48679 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48680 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48681 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48682 fi
48683
48684 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48685 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48686 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48687 fi
48688
48689 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48690 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48691 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48692 fi
48693
48694 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48695 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48696 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48697 fi
48698
48699 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48700 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48701 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48702 fi
48703
48704 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48705 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48706 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48707 fi
48708
48709 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48710 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48711 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48712 fi
48713
48714 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48715 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48716 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48717 fi
48718
48719 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48720 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48721 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48722 fi
48723
48724 COND_PLATFORM_MACOS_1="#"
48725 if test "x$PLATFORM_MACOS" = "x1" ; then
48726 COND_PLATFORM_MACOS_1=""
48727 fi
48728
48729 COND_PLATFORM_MAC_1="#"
48730 if test "x$PLATFORM_MAC" = "x1" ; then
48731 COND_PLATFORM_MAC_1=""
48732 fi
48733
48734 COND_PLATFORM_MSDOS_0="#"
48735 if test "x$PLATFORM_MSDOS" = "x0" ; then
48736 COND_PLATFORM_MSDOS_0=""
48737 fi
48738
48739 COND_PLATFORM_MSDOS_1="#"
48740 if test "x$PLATFORM_MSDOS" = "x1" ; then
48741 COND_PLATFORM_MSDOS_1=""
48742 fi
48743
48744 COND_PLATFORM_OS2_1="#"
48745 if test "x$PLATFORM_OS2" = "x1" ; then
48746 COND_PLATFORM_OS2_1=""
48747 fi
48748
48749 COND_PLATFORM_UNIX_0="#"
48750 if test "x$PLATFORM_UNIX" = "x0" ; then
48751 COND_PLATFORM_UNIX_0=""
48752 fi
48753
48754 COND_PLATFORM_UNIX_1="#"
48755 if test "x$PLATFORM_UNIX" = "x1" ; then
48756 COND_PLATFORM_UNIX_1=""
48757 fi
48758
48759 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48760 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48761 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48762 fi
48763
48764 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48765 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48766 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48767 fi
48768
48769 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48770 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48771 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48772 fi
48773
48774 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48775 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48776 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48777 fi
48778
48779 COND_PLATFORM_WIN32_0="#"
48780 if test "x$PLATFORM_WIN32" = "x0" ; then
48781 COND_PLATFORM_WIN32_0=""
48782 fi
48783
48784 COND_PLATFORM_WIN32_1="#"
48785 if test "x$PLATFORM_WIN32" = "x1" ; then
48786 COND_PLATFORM_WIN32_1=""
48787 fi
48788
48789 COND_SHARED_0="#"
48790 if test "x$SHARED" = "x0" ; then
48791 COND_SHARED_0=""
48792 fi
48793
48794 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48795 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48796 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48797 fi
48798
48799 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48800 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48801 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48802 fi
48803
48804 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48805 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48806 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48807 fi
48808
48809 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48810 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48811 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48812 fi
48813
48814 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48815 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48816 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48817 fi
48818
48819 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48820 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48821 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48822 fi
48823
48824 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48825 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48826 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48827 fi
48828
48829 COND_SHARED_0_USE_STC_1="#"
48830 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48831 COND_SHARED_0_USE_STC_1=""
48832 fi
48833
48834 COND_SHARED_0_USE_XRC_1="#"
48835 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48836 COND_SHARED_0_USE_XRC_1=""
48837 fi
48838
48839 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48840 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48841 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48842 fi
48843
48844 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48845 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48846 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48847 fi
48848
48849 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48850 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48851 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48852 fi
48853
48854 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48855 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48856 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48857 fi
48858
48859 COND_SHARED_1="#"
48860 if test "x$SHARED" = "x1" ; then
48861 COND_SHARED_1=""
48862 fi
48863
48864 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48865 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48866 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48867 fi
48868
48869 COND_SHARED_1_USE_XRC_1="#"
48870 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48871 COND_SHARED_1_USE_XRC_1=""
48872 fi
48873
48874 COND_TOOLKIT_="#"
48875 if test "x$TOOLKIT" = "x" ; then
48876 COND_TOOLKIT_=""
48877 fi
48878
48879 COND_TOOLKIT_COCOA="#"
48880 if test "x$TOOLKIT" = "xCOCOA" ; then
48881 COND_TOOLKIT_COCOA=""
48882 fi
48883
48884 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48885 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48886 COND_TOOLKIT_COCOA_USE_GUI_1=""
48887 fi
48888
48889 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48890 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48891 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48892 fi
48893
48894 COND_TOOLKIT_DFB="#"
48895 if test "x$TOOLKIT" = "xDFB" ; then
48896 COND_TOOLKIT_DFB=""
48897 fi
48898
48899 COND_TOOLKIT_DFB_USE_GUI_1="#"
48900 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48901 COND_TOOLKIT_DFB_USE_GUI_1=""
48902 fi
48903
48904 COND_TOOLKIT_GTK="#"
48905 if test "x$TOOLKIT" = "xGTK" ; then
48906 COND_TOOLKIT_GTK=""
48907 fi
48908
48909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48910 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48912 fi
48913
48914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48915 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48917 fi
48918
48919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48920 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48922 fi
48923
48924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48925 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48927 fi
48928
48929 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48930 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48931 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48932 fi
48933
48934 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48935 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48936 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48937 fi
48938
48939 COND_TOOLKIT_GTK_USE_GUI_1="#"
48940 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48941 COND_TOOLKIT_GTK_USE_GUI_1=""
48942 fi
48943
48944 COND_TOOLKIT_MAC="#"
48945 if test "x$TOOLKIT" = "xMAC" ; then
48946 COND_TOOLKIT_MAC=""
48947 fi
48948
48949 COND_TOOLKIT_MAC_USE_GUI_1="#"
48950 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48951 COND_TOOLKIT_MAC_USE_GUI_1=""
48952 fi
48953
48954 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48955 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48956 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48957 fi
48958
48959 COND_TOOLKIT_MGL="#"
48960 if test "x$TOOLKIT" = "xMGL" ; then
48961 COND_TOOLKIT_MGL=""
48962 fi
48963
48964 COND_TOOLKIT_MGL_USE_GUI_1="#"
48965 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48966 COND_TOOLKIT_MGL_USE_GUI_1=""
48967 fi
48968
48969 COND_TOOLKIT_MOTIF="#"
48970 if test "x$TOOLKIT" = "xMOTIF" ; then
48971 COND_TOOLKIT_MOTIF=""
48972 fi
48973
48974 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48975 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48976 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48977 fi
48978
48979 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48980 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48981 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48982 fi
48983
48984 COND_TOOLKIT_MSW="#"
48985 if test "x$TOOLKIT" = "xMSW" ; then
48986 COND_TOOLKIT_MSW=""
48987 fi
48988
48989 COND_TOOLKIT_MSW_USE_GUI_1="#"
48990 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48991 COND_TOOLKIT_MSW_USE_GUI_1=""
48992 fi
48993
48994 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48995 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48996 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48997 fi
48998
48999 COND_TOOLKIT_MSW_WXUNIV_0="#"
49000 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49001 COND_TOOLKIT_MSW_WXUNIV_0=""
49002 fi
49003
49004 COND_TOOLKIT_PM="#"
49005 if test "x$TOOLKIT" = "xPM" ; then
49006 COND_TOOLKIT_PM=""
49007 fi
49008
49009 COND_TOOLKIT_PM_USE_GUI_1="#"
49010 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49011 COND_TOOLKIT_PM_USE_GUI_1=""
49012 fi
49013
49014 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49015 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49016 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49017 fi
49018
49019 COND_TOOLKIT_WINCE="#"
49020 if test "x$TOOLKIT" = "xWINCE" ; then
49021 COND_TOOLKIT_WINCE=""
49022 fi
49023
49024 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49025 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49026 COND_TOOLKIT_WINCE_USE_GUI_1=""
49027 fi
49028
49029 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49030 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49031 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49032 fi
49033
49034 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49035 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49036 COND_TOOLKIT_WINCE_WXUNIV_0=""
49037 fi
49038
49039 COND_TOOLKIT_X11="#"
49040 if test "x$TOOLKIT" = "xX11" ; then
49041 COND_TOOLKIT_X11=""
49042 fi
49043
49044 COND_TOOLKIT_X11_USE_GUI_1="#"
49045 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49046 COND_TOOLKIT_X11_USE_GUI_1=""
49047 fi
49048
49049 COND_UNICODE_1="#"
49050 if test "x$UNICODE" = "x1" ; then
49051 COND_UNICODE_1=""
49052 fi
49053
49054 COND_USE_EXCEPTIONS_0="#"
49055 if test "x$USE_EXCEPTIONS" = "x0" ; then
49056 COND_USE_EXCEPTIONS_0=""
49057 fi
49058
49059 COND_USE_EXCEPTIONS_1="#"
49060 if test "x$USE_EXCEPTIONS" = "x1" ; then
49061 COND_USE_EXCEPTIONS_1=""
49062 fi
49063
49064 COND_USE_GUI_0="#"
49065 if test "x$USE_GUI" = "x0" ; then
49066 COND_USE_GUI_0=""
49067 fi
49068
49069 COND_USE_GUI_1="#"
49070 if test "x$USE_GUI" = "x1" ; then
49071 COND_USE_GUI_1=""
49072 fi
49073
49074 COND_USE_GUI_1_USE_OPENGL_1="#"
49075 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49076 COND_USE_GUI_1_USE_OPENGL_1=""
49077 fi
49078
49079 COND_USE_GUI_1_WXUNIV_0="#"
49080 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49081 COND_USE_GUI_1_WXUNIV_0=""
49082 fi
49083
49084 COND_USE_GUI_1_WXUNIV_1="#"
49085 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49086 COND_USE_GUI_1_WXUNIV_1=""
49087 fi
49088
49089 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49090 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49091 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49092 fi
49093
49094 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49095 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49096 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49097 fi
49098
49099 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49100 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49101 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49102 fi
49103
49104 COND_USE_ODBC_1="#"
49105 if test "x$USE_ODBC" = "x1" ; then
49106 COND_USE_ODBC_1=""
49107 fi
49108
49109 COND_USE_OPENGL_1="#"
49110 if test "x$USE_OPENGL" = "x1" ; then
49111 COND_USE_OPENGL_1=""
49112 fi
49113
49114 COND_USE_PCH_1="#"
49115 if test "x$USE_PCH" = "x1" ; then
49116 COND_USE_PCH_1=""
49117 fi
49118
49119 COND_USE_PLUGINS_0="#"
49120 if test "x$USE_PLUGINS" = "x0" ; then
49121 COND_USE_PLUGINS_0=""
49122 fi
49123
49124 COND_USE_RTTI_0="#"
49125 if test "x$USE_RTTI" = "x0" ; then
49126 COND_USE_RTTI_0=""
49127 fi
49128
49129 COND_USE_RTTI_1="#"
49130 if test "x$USE_RTTI" = "x1" ; then
49131 COND_USE_RTTI_1=""
49132 fi
49133
49134 COND_USE_SOSYMLINKS_1="#"
49135 if test "x$USE_SOSYMLINKS" = "x1" ; then
49136 COND_USE_SOSYMLINKS_1=""
49137 fi
49138
49139 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49140 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49141 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49142 fi
49143
49144 COND_USE_SOVERLINUX_1="#"
49145 if test "x$USE_SOVERLINUX" = "x1" ; then
49146 COND_USE_SOVERLINUX_1=""
49147 fi
49148
49149 COND_USE_SOVERSION_0="#"
49150 if test "x$USE_SOVERSION" = "x0" ; then
49151 COND_USE_SOVERSION_0=""
49152 fi
49153
49154 COND_USE_SOVERSOLARIS_1="#"
49155 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49156 COND_USE_SOVERSOLARIS_1=""
49157 fi
49158
49159 COND_USE_STC_1="#"
49160 if test "x$USE_STC" = "x1" ; then
49161 COND_USE_STC_1=""
49162 fi
49163
49164 COND_USE_THREADS_0="#"
49165 if test "x$USE_THREADS" = "x0" ; then
49166 COND_USE_THREADS_0=""
49167 fi
49168
49169 COND_USE_THREADS_1="#"
49170 if test "x$USE_THREADS" = "x1" ; then
49171 COND_USE_THREADS_1=""
49172 fi
49173
49174 COND_USE_XRC_1="#"
49175 if test "x$USE_XRC" = "x1" ; then
49176 COND_USE_XRC_1=""
49177 fi
49178
49179 COND_WINDOWS_IMPLIB_1="#"
49180 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49181 COND_WINDOWS_IMPLIB_1=""
49182 fi
49183
49184 COND_WITH_PLUGIN_SDL_1="#"
49185 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49186 COND_WITH_PLUGIN_SDL_1=""
49187 fi
49188
49189 COND_WXUNIV_0="#"
49190 if test "x$WXUNIV" = "x0" ; then
49191 COND_WXUNIV_0=""
49192 fi
49193
49194 COND_WXUNIV_1="#"
49195 if test "x$WXUNIV" = "x1" ; then
49196 COND_WXUNIV_1=""
49197 fi
49198
49199 COND_WXUSE_EXPAT_BUILTIN="#"
49200 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49201 COND_WXUSE_EXPAT_BUILTIN=""
49202 fi
49203
49204 COND_WXUSE_LIBJPEG_BUILTIN="#"
49205 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49206 COND_WXUSE_LIBJPEG_BUILTIN=""
49207 fi
49208
49209 COND_WXUSE_LIBPNG_BUILTIN="#"
49210 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49211 COND_WXUSE_LIBPNG_BUILTIN=""
49212 fi
49213
49214 COND_WXUSE_LIBTIFF_BUILTIN="#"
49215 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49216 COND_WXUSE_LIBTIFF_BUILTIN=""
49217 fi
49218
49219 COND_WXUSE_ODBC_BUILTIN="#"
49220 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49221 COND_WXUSE_ODBC_BUILTIN=""
49222 fi
49223
49224 COND_WXUSE_REGEX_BUILTIN="#"
49225 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49226 COND_WXUSE_REGEX_BUILTIN=""
49227 fi
49228
49229 COND_WXUSE_ZLIB_BUILTIN="#"
49230 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49231 COND_WXUSE_ZLIB_BUILTIN=""
49232 fi
49233
49234
49235
49236 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49237 { { 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
49238 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;}
49239 { (exit 1); exit 1; }; }
49240 fi
49241
49242 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49243 { { 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
49244 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;}
49245 { (exit 1); exit 1; }; }
49246 fi
49247
49248
49249 if test $GCC_PCH = 1
49250 then
49251 if test "$wx_cv_gcc_pch_bug" = yes; then
49252 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49253 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49254 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49255 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49256 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49257 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49258 fi
49259
49260 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49261 fi
49262
49263
49264 if test "$wxUSE_MAC" = 1 ; then
49265 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49266 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49267 mv temp bk-deps
49268 chmod +x bk-deps
49269 fi
49270 fi
49271
49272 if test "$wxUSE_SHARED" = "yes"; then
49273
49274 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49275 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49276
49277 case "${host}" in
49278 *-pc-os2_emx | *-pc-os2-emx )
49279 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49280 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49281 cp -p ${srcdir}/src/os2/dllnames.sh .
49282 cp -p ${srcdir}/src/os2/dllar.sh .
49283 ;;
49284 esac
49285 else
49286
49287 EXE_LINKER="$CXX -o"
49288
49289 fi
49290 if test "$wxUSE_OMF" = "yes"; then
49291 case "${host}" in
49292 *-pc-os2_emx | *-pc-os2-emx )
49293 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49294 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49295 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49296 ;;
49297 esac
49298 fi
49299
49300 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49301
49302
49303 case "${host}" in
49304 *-*-solaris2* )
49305 if "$GCC" = yes; then
49306 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49307 LIBS=`echo $LIBS | sed 's/-mt//'`
49308 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49309 fi
49310 ;;
49311
49312 *-*-linux* )
49313 if test "x$SUNCXX" = xyes; then
49314 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49315 LIBS=`echo $LIBS | sed 's/-pthread//'`
49316 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49317 fi
49318 ;;
49319 esac
49320
49321 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49322
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337
49338
49339
49340
49341
49342
49343
49344
49345
49346
49347
49348
49349
49350
49351
49352
49353
49354
49355
49356
49357
49358
49359
49360
49361
49362
49363
49364
49365
49366
49367
49368
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379
49380
49381
49382
49383 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49384 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49385 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49386 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49387 echo $ECHO_N "(cached) $ECHO_C" >&6
49388 else
49389 cat >conftest.make <<\_ACEOF
49390 SHELL = /bin/sh
49391 all:
49392 @echo '@@@%%%=$(MAKE)=@@@%%%'
49393 _ACEOF
49394 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49395 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49396 *@@@%%%=?*=@@@%%%*)
49397 eval ac_cv_prog_make_${ac_make}_set=yes;;
49398 *)
49399 eval ac_cv_prog_make_${ac_make}_set=no;;
49400 esac
49401 rm -f conftest.make
49402 fi
49403 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49404 { echo "$as_me:$LINENO: result: yes" >&5
49405 echo "${ECHO_T}yes" >&6; }
49406 SET_MAKE=
49407 else
49408 { echo "$as_me:$LINENO: result: no" >&5
49409 echo "${ECHO_T}no" >&6; }
49410 SET_MAKE="MAKE=${MAKE-make}"
49411 fi
49412
49413
49414
49415 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49416
49417
49418 if test "$USE_WIN32" = 1; then
49419 ac_config_commands="$ac_config_commands
49420 rcdefs.h
49421 "
49422
49423 fi
49424
49425 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49426
49427
49428 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49429
49430
49431 if test "$wx_cv_version_script" = "yes"; then
49432 ac_config_files="$ac_config_files version-script"
49433
49434 fi
49435 ac_config_files="$ac_config_files Makefile"
49436
49437
49438 ac_config_commands="$ac_config_commands wx-config"
49439
49440
49441
49442 if test "$wxWITH_SUBDIRS" != "no"; then
49443 if test "$wxUSE_GUI" = "yes"; then
49444 SUBDIRS="samples demos utils"
49445 else SUBDIRS="samples utils"
49446 fi
49447
49448
49449
49450 # Check whether --with-cppunit-prefix was given.
49451 if test "${with_cppunit_prefix+set}" = set; then
49452 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49453 else
49454 cppunit_config_prefix=""
49455 fi
49456
49457
49458 # Check whether --with-cppunit-exec-prefix was given.
49459 if test "${with_cppunit_exec_prefix+set}" = set; then
49460 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49461 else
49462 cppunit_config_exec_prefix=""
49463 fi
49464
49465
49466 if test x$cppunit_config_exec_prefix != x ; then
49467 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49468 if test x${CPPUNIT_CONFIG+set} != xset ; then
49469 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49470 fi
49471 fi
49472 if test x$cppunit_config_prefix != x ; then
49473 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49474 if test x${CPPUNIT_CONFIG+set} != xset ; then
49475 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49476 fi
49477 fi
49478
49479 # Extract the first word of "cppunit-config", so it can be a program name with args.
49480 set dummy cppunit-config; ac_word=$2
49481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49483 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49484 echo $ECHO_N "(cached) $ECHO_C" >&6
49485 else
49486 case $CPPUNIT_CONFIG in
49487 [\\/]* | ?:[\\/]*)
49488 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49489 ;;
49490 *)
49491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49492 for as_dir in $PATH
49493 do
49494 IFS=$as_save_IFS
49495 test -z "$as_dir" && as_dir=.
49496 for ac_exec_ext in '' $ac_executable_extensions; do
49497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49498 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49500 break 2
49501 fi
49502 done
49503 done
49504 IFS=$as_save_IFS
49505
49506 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49507 ;;
49508 esac
49509 fi
49510 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49511 if test -n "$CPPUNIT_CONFIG"; then
49512 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49513 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49514 else
49515 { echo "$as_me:$LINENO: result: no" >&5
49516 echo "${ECHO_T}no" >&6; }
49517 fi
49518
49519
49520 cppunit_version_min=1.8.0
49521
49522 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49523 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49524 no_cppunit=""
49525 if test "$CPPUNIT_CONFIG" = "no" ; then
49526 { echo "$as_me:$LINENO: result: no" >&5
49527 echo "${ECHO_T}no" >&6; }
49528 no_cppunit=yes
49529 else
49530 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49531 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49532 cppunit_version=`$CPPUNIT_CONFIG --version`
49533
49534 cppunit_major_version=`echo $cppunit_version | \
49535 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49536 cppunit_minor_version=`echo $cppunit_version | \
49537 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49538 cppunit_micro_version=`echo $cppunit_version | \
49539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49540
49541 cppunit_major_min=`echo $cppunit_version_min | \
49542 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49543 cppunit_minor_min=`echo $cppunit_version_min | \
49544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49545 cppunit_micro_min=`echo $cppunit_version_min | \
49546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49547
49548 cppunit_version_proper=`expr \
49549 $cppunit_major_version \> $cppunit_major_min \| \
49550 $cppunit_major_version \= $cppunit_major_min \& \
49551 $cppunit_minor_version \> $cppunit_minor_min \| \
49552 $cppunit_major_version \= $cppunit_major_min \& \
49553 $cppunit_minor_version \= $cppunit_minor_min \& \
49554 $cppunit_micro_version \>= $cppunit_micro_min `
49555
49556 if test "$cppunit_version_proper" = "1" ; then
49557 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49558 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49559 else
49560 { echo "$as_me:$LINENO: result: no" >&5
49561 echo "${ECHO_T}no" >&6; }
49562 no_cppunit=yes
49563 fi
49564 fi
49565
49566 if test "x$no_cppunit" = x ; then
49567 SUBDIRS="$SUBDIRS tests"
49568 else
49569 CPPUNIT_CFLAGS=""
49570 CPPUNIT_LIBS=""
49571 :
49572 fi
49573
49574
49575
49576
49577
49578 for subdir in `echo $SUBDIRS`; do
49579 if test -d ${srcdir}/${subdir} ; then
49580 if test "$wxUSE_GUI" = "yes"; then
49581 if test ${subdir} = "samples"; then
49582 makefiles="samples/Makefile.in $makefiles"
49583 for sample in `echo $SAMPLES_SUBDIRS`; do
49584 if test -d $srcdir/samples/$sample; then
49585 makefiles="samples/$sample/Makefile.in $makefiles"
49586 fi
49587 done
49588 else
49589 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49590 eval "disabled=\$$disabled_var"
49591 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49592 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49593 fi
49594 else if test ${subdir} = "samples"; then
49595 makefiles="samples/Makefile.in samples/console/Makefile.in"
49596 elif test ${subdir} = "utils"; then
49597 makefiles=""
49598 for util in HelpGen tex2rtf ; do
49599 if test -d $srcdir/utils/$util ; then
49600 makefiles="utils/$util/Makefile.in \
49601 utils/$util/src/Makefile.in \
49602 $makefiles"
49603 fi
49604 done
49605 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49606 fi
49607 fi
49608
49609 for mkin in $makefiles ; do
49610 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49611 ac_config_files="$ac_config_files $mk"
49612
49613 done
49614 fi
49615 done
49616 fi
49617 cat >confcache <<\_ACEOF
49618 # This file is a shell script that caches the results of configure
49619 # tests run on this system so they can be shared between configure
49620 # scripts and configure runs, see configure's option --config-cache.
49621 # It is not useful on other systems. If it contains results you don't
49622 # want to keep, you may remove or edit it.
49623 #
49624 # config.status only pays attention to the cache file if you give it
49625 # the --recheck option to rerun configure.
49626 #
49627 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49628 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49629 # following values.
49630
49631 _ACEOF
49632
49633 # The following way of writing the cache mishandles newlines in values,
49634 # but we know of no workaround that is simple, portable, and efficient.
49635 # So, we kill variables containing newlines.
49636 # Ultrix sh set writes to stderr and can't be redirected directly,
49637 # and sets the high bit in the cache file unless we assign to the vars.
49638 (
49639 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49640 eval ac_val=\$$ac_var
49641 case $ac_val in #(
49642 *${as_nl}*)
49643 case $ac_var in #(
49644 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49645 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49646 esac
49647 case $ac_var in #(
49648 _ | IFS | as_nl) ;; #(
49649 *) $as_unset $ac_var ;;
49650 esac ;;
49651 esac
49652 done
49653
49654 (set) 2>&1 |
49655 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49656 *${as_nl}ac_space=\ *)
49657 # `set' does not quote correctly, so add quotes (double-quote
49658 # substitution turns \\\\ into \\, and sed turns \\ into \).
49659 sed -n \
49660 "s/'/'\\\\''/g;
49661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49662 ;; #(
49663 *)
49664 # `set' quotes correctly as required by POSIX, so do not add quotes.
49665 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49666 ;;
49667 esac |
49668 sort
49669 ) |
49670 sed '
49671 /^ac_cv_env_/b end
49672 t clear
49673 :clear
49674 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49675 t end
49676 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49677 :end' >>confcache
49678 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49679 if test -w "$cache_file"; then
49680 test "x$cache_file" != "x/dev/null" &&
49681 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49682 echo "$as_me: updating cache $cache_file" >&6;}
49683 cat confcache >$cache_file
49684 else
49685 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49686 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49687 fi
49688 fi
49689 rm -f confcache
49690
49691 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49692 # Let make expand exec_prefix.
49693 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49694
49695 DEFS=-DHAVE_CONFIG_H
49696
49697 ac_libobjs=
49698 ac_ltlibobjs=
49699 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49700 # 1. Remove the extension, and $U if already installed.
49701 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49702 ac_i=`echo "$ac_i" | sed "$ac_script"`
49703 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49704 # will be set to the directory where LIBOBJS objects are built.
49705 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49706 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49707 done
49708 LIBOBJS=$ac_libobjs
49709
49710 LTLIBOBJS=$ac_ltlibobjs
49711
49712
49713
49714 : ${CONFIG_STATUS=./config.status}
49715 ac_clean_files_save=$ac_clean_files
49716 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49717 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49718 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49719 cat >$CONFIG_STATUS <<_ACEOF
49720 #! $SHELL
49721 # Generated by $as_me.
49722 # Run this file to recreate the current configuration.
49723 # Compiler output produced by configure, useful for debugging
49724 # configure, is in config.log if it exists.
49725
49726 debug=false
49727 ac_cs_recheck=false
49728 ac_cs_silent=false
49729 SHELL=\${CONFIG_SHELL-$SHELL}
49730 _ACEOF
49731
49732 cat >>$CONFIG_STATUS <<\_ACEOF
49733 ## --------------------- ##
49734 ## M4sh Initialization. ##
49735 ## --------------------- ##
49736
49737 # Be more Bourne compatible
49738 DUALCASE=1; export DUALCASE # for MKS sh
49739 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49740 emulate sh
49741 NULLCMD=:
49742 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49743 # is contrary to our usage. Disable this feature.
49744 alias -g '${1+"$@"}'='"$@"'
49745 setopt NO_GLOB_SUBST
49746 else
49747 case `(set -o) 2>/dev/null` in
49748 *posix*) set -o posix ;;
49749 esac
49750
49751 fi
49752
49753
49754
49755
49756 # PATH needs CR
49757 # Avoid depending upon Character Ranges.
49758 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49759 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49760 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49761 as_cr_digits='0123456789'
49762 as_cr_alnum=$as_cr_Letters$as_cr_digits
49763
49764 # The user is always right.
49765 if test "${PATH_SEPARATOR+set}" != set; then
49766 echo "#! /bin/sh" >conf$$.sh
49767 echo "exit 0" >>conf$$.sh
49768 chmod +x conf$$.sh
49769 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49770 PATH_SEPARATOR=';'
49771 else
49772 PATH_SEPARATOR=:
49773 fi
49774 rm -f conf$$.sh
49775 fi
49776
49777 # Support unset when possible.
49778 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49779 as_unset=unset
49780 else
49781 as_unset=false
49782 fi
49783
49784
49785 # IFS
49786 # We need space, tab and new line, in precisely that order. Quoting is
49787 # there to prevent editors from complaining about space-tab.
49788 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49789 # splitting by setting IFS to empty value.)
49790 as_nl='
49791 '
49792 IFS=" "" $as_nl"
49793
49794 # Find who we are. Look in the path if we contain no directory separator.
49795 case $0 in
49796 *[\\/]* ) as_myself=$0 ;;
49797 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49798 for as_dir in $PATH
49799 do
49800 IFS=$as_save_IFS
49801 test -z "$as_dir" && as_dir=.
49802 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49803 done
49804 IFS=$as_save_IFS
49805
49806 ;;
49807 esac
49808 # We did not find ourselves, most probably we were run as `sh COMMAND'
49809 # in which case we are not to be found in the path.
49810 if test "x$as_myself" = x; then
49811 as_myself=$0
49812 fi
49813 if test ! -f "$as_myself"; then
49814 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49815 { (exit 1); exit 1; }
49816 fi
49817
49818 # Work around bugs in pre-3.0 UWIN ksh.
49819 for as_var in ENV MAIL MAILPATH
49820 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49821 done
49822 PS1='$ '
49823 PS2='> '
49824 PS4='+ '
49825
49826 # NLS nuisances.
49827 for as_var in \
49828 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49829 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49830 LC_TELEPHONE LC_TIME
49831 do
49832 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49833 eval $as_var=C; export $as_var
49834 else
49835 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49836 fi
49837 done
49838
49839 # Required to use basename.
49840 if expr a : '\(a\)' >/dev/null 2>&1 &&
49841 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49842 as_expr=expr
49843 else
49844 as_expr=false
49845 fi
49846
49847 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49848 as_basename=basename
49849 else
49850 as_basename=false
49851 fi
49852
49853
49854 # Name of the executable.
49855 as_me=`$as_basename -- "$0" ||
49856 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49857 X"$0" : 'X\(//\)$' \| \
49858 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49859 echo X/"$0" |
49860 sed '/^.*\/\([^/][^/]*\)\/*$/{
49861 s//\1/
49862 q
49863 }
49864 /^X\/\(\/\/\)$/{
49865 s//\1/
49866 q
49867 }
49868 /^X\/\(\/\).*/{
49869 s//\1/
49870 q
49871 }
49872 s/.*/./; q'`
49873
49874 # CDPATH.
49875 $as_unset CDPATH
49876
49877
49878
49879 as_lineno_1=$LINENO
49880 as_lineno_2=$LINENO
49881 test "x$as_lineno_1" != "x$as_lineno_2" &&
49882 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49883
49884 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49885 # uniformly replaced by the line number. The first 'sed' inserts a
49886 # line-number line after each line using $LINENO; the second 'sed'
49887 # does the real work. The second script uses 'N' to pair each
49888 # line-number line with the line containing $LINENO, and appends
49889 # trailing '-' during substitution so that $LINENO is not a special
49890 # case at line end.
49891 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49892 # scripts with optimization help from Paolo Bonzini. Blame Lee
49893 # E. McMahon (1931-1989) for sed's syntax. :-)
49894 sed -n '
49895 p
49896 /[$]LINENO/=
49897 ' <$as_myself |
49898 sed '
49899 s/[$]LINENO.*/&-/
49900 t lineno
49901 b
49902 :lineno
49903 N
49904 :loop
49905 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49906 t loop
49907 s/-\n.*//
49908 ' >$as_me.lineno &&
49909 chmod +x "$as_me.lineno" ||
49910 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49911 { (exit 1); exit 1; }; }
49912
49913 # Don't try to exec as it changes $[0], causing all sort of problems
49914 # (the dirname of $[0] is not the place where we might find the
49915 # original and so on. Autoconf is especially sensitive to this).
49916 . "./$as_me.lineno"
49917 # Exit status is that of the last command.
49918 exit
49919 }
49920
49921
49922 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49923 as_dirname=dirname
49924 else
49925 as_dirname=false
49926 fi
49927
49928 ECHO_C= ECHO_N= ECHO_T=
49929 case `echo -n x` in
49930 -n*)
49931 case `echo 'x\c'` in
49932 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49933 *) ECHO_C='\c';;
49934 esac;;
49935 *)
49936 ECHO_N='-n';;
49937 esac
49938
49939 if expr a : '\(a\)' >/dev/null 2>&1 &&
49940 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49941 as_expr=expr
49942 else
49943 as_expr=false
49944 fi
49945
49946 rm -f conf$$ conf$$.exe conf$$.file
49947 if test -d conf$$.dir; then
49948 rm -f conf$$.dir/conf$$.file
49949 else
49950 rm -f conf$$.dir
49951 mkdir conf$$.dir
49952 fi
49953 echo >conf$$.file
49954 if ln -s conf$$.file conf$$ 2>/dev/null; then
49955 as_ln_s='ln -s'
49956 # ... but there are two gotchas:
49957 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49958 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49959 # In both cases, we have to default to `cp -p'.
49960 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49961 as_ln_s='cp -p'
49962 elif ln conf$$.file conf$$ 2>/dev/null; then
49963 as_ln_s=ln
49964 else
49965 as_ln_s='cp -p'
49966 fi
49967 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49968 rmdir conf$$.dir 2>/dev/null
49969
49970 if mkdir -p . 2>/dev/null; then
49971 as_mkdir_p=:
49972 else
49973 test -d ./-p && rmdir ./-p
49974 as_mkdir_p=false
49975 fi
49976
49977 if test -x / >/dev/null 2>&1; then
49978 as_test_x='test -x'
49979 else
49980 if ls -dL / >/dev/null 2>&1; then
49981 as_ls_L_option=L
49982 else
49983 as_ls_L_option=
49984 fi
49985 as_test_x='
49986 eval sh -c '\''
49987 if test -d "$1"; then
49988 test -d "$1/.";
49989 else
49990 case $1 in
49991 -*)set "./$1";;
49992 esac;
49993 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49994 ???[sx]*):;;*)false;;esac;fi
49995 '\'' sh
49996 '
49997 fi
49998 as_executable_p=$as_test_x
49999
50000 # Sed expression to map a string onto a valid CPP name.
50001 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50002
50003 # Sed expression to map a string onto a valid variable name.
50004 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50005
50006
50007 exec 6>&1
50008
50009 # Save the log message, to keep $[0] and so on meaningful, and to
50010 # report actual input values of CONFIG_FILES etc. instead of their
50011 # values after options handling.
50012 ac_log="
50013 This file was extended by wxWidgets $as_me 2.9.0, which was
50014 generated by GNU Autoconf 2.61. Invocation command line was
50015
50016 CONFIG_FILES = $CONFIG_FILES
50017 CONFIG_HEADERS = $CONFIG_HEADERS
50018 CONFIG_LINKS = $CONFIG_LINKS
50019 CONFIG_COMMANDS = $CONFIG_COMMANDS
50020 $ $0 $@
50021
50022 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50023 "
50024
50025 _ACEOF
50026
50027 cat >>$CONFIG_STATUS <<_ACEOF
50028 # Files that config.status was made for.
50029 config_files="$ac_config_files"
50030 config_headers="$ac_config_headers"
50031 config_commands="$ac_config_commands"
50032
50033 _ACEOF
50034
50035 cat >>$CONFIG_STATUS <<\_ACEOF
50036 ac_cs_usage="\
50037 \`$as_me' instantiates files from templates according to the
50038 current configuration.
50039
50040 Usage: $0 [OPTIONS] [FILE]...
50041
50042 -h, --help print this help, then exit
50043 -V, --version print version number and configuration settings, then exit
50044 -q, --quiet do not print progress messages
50045 -d, --debug don't remove temporary files
50046 --recheck update $as_me by reconfiguring in the same conditions
50047 --file=FILE[:TEMPLATE]
50048 instantiate the configuration file FILE
50049 --header=FILE[:TEMPLATE]
50050 instantiate the configuration header FILE
50051
50052 Configuration files:
50053 $config_files
50054
50055 Configuration headers:
50056 $config_headers
50057
50058 Configuration commands:
50059 $config_commands
50060
50061 Report bugs to <bug-autoconf@gnu.org>."
50062
50063 _ACEOF
50064 cat >>$CONFIG_STATUS <<_ACEOF
50065 ac_cs_version="\\
50066 wxWidgets config.status 2.9.0
50067 configured by $0, generated by GNU Autoconf 2.61,
50068 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50069
50070 Copyright (C) 2006 Free Software Foundation, Inc.
50071 This config.status script is free software; the Free Software Foundation
50072 gives unlimited permission to copy, distribute and modify it."
50073
50074 ac_pwd='$ac_pwd'
50075 srcdir='$srcdir'
50076 INSTALL='$INSTALL'
50077 _ACEOF
50078
50079 cat >>$CONFIG_STATUS <<\_ACEOF
50080 # If no file are specified by the user, then we need to provide default
50081 # value. By we need to know if files were specified by the user.
50082 ac_need_defaults=:
50083 while test $# != 0
50084 do
50085 case $1 in
50086 --*=*)
50087 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50088 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50089 ac_shift=:
50090 ;;
50091 *)
50092 ac_option=$1
50093 ac_optarg=$2
50094 ac_shift=shift
50095 ;;
50096 esac
50097
50098 case $ac_option in
50099 # Handling of the options.
50100 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50101 ac_cs_recheck=: ;;
50102 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50103 echo "$ac_cs_version"; exit ;;
50104 --debug | --debu | --deb | --de | --d | -d )
50105 debug=: ;;
50106 --file | --fil | --fi | --f )
50107 $ac_shift
50108 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50109 ac_need_defaults=false;;
50110 --header | --heade | --head | --hea )
50111 $ac_shift
50112 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50113 ac_need_defaults=false;;
50114 --he | --h)
50115 # Conflict between --help and --header
50116 { echo "$as_me: error: ambiguous option: $1
50117 Try \`$0 --help' for more information." >&2
50118 { (exit 1); exit 1; }; };;
50119 --help | --hel | -h )
50120 echo "$ac_cs_usage"; exit ;;
50121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50122 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50123 ac_cs_silent=: ;;
50124
50125 # This is an error.
50126 -*) { echo "$as_me: error: unrecognized option: $1
50127 Try \`$0 --help' for more information." >&2
50128 { (exit 1); exit 1; }; } ;;
50129
50130 *) ac_config_targets="$ac_config_targets $1"
50131 ac_need_defaults=false ;;
50132
50133 esac
50134 shift
50135 done
50136
50137 ac_configure_extra_args=
50138
50139 if $ac_cs_silent; then
50140 exec 6>/dev/null
50141 ac_configure_extra_args="$ac_configure_extra_args --silent"
50142 fi
50143
50144 _ACEOF
50145 cat >>$CONFIG_STATUS <<_ACEOF
50146 if \$ac_cs_recheck; then
50147 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50148 CONFIG_SHELL=$SHELL
50149 export CONFIG_SHELL
50150 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50151 fi
50152
50153 _ACEOF
50154 cat >>$CONFIG_STATUS <<\_ACEOF
50155 exec 5>>config.log
50156 {
50157 echo
50158 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50159 ## Running $as_me. ##
50160 _ASBOX
50161 echo "$ac_log"
50162 } >&5
50163
50164 _ACEOF
50165 cat >>$CONFIG_STATUS <<_ACEOF
50166 #
50167 # INIT-COMMANDS
50168 #
50169
50170 CPP="$CPP"
50171 infile="$srcdir/include/wx/msw/genrcdefs.h"
50172 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50173
50174
50175 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50176 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50177 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50178 LN_S="${LN_S}"
50179
50180
50181 _ACEOF
50182
50183 cat >>$CONFIG_STATUS <<\_ACEOF
50184
50185 # Handling of arguments.
50186 for ac_config_target in $ac_config_targets
50187 do
50188 case $ac_config_target in
50189 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50190 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50191 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50192 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50193 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50194 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50195 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50196 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50197
50198 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50199 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50200 { (exit 1); exit 1; }; };;
50201 esac
50202 done
50203
50204
50205 # If the user did not use the arguments to specify the items to instantiate,
50206 # then the envvar interface is used. Set only those that are not.
50207 # We use the long form for the default assignment because of an extremely
50208 # bizarre bug on SunOS 4.1.3.
50209 if $ac_need_defaults; then
50210 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50211 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50212 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50213 fi
50214
50215 # Have a temporary directory for convenience. Make it in the build tree
50216 # simply because there is no reason against having it here, and in addition,
50217 # creating and moving files from /tmp can sometimes cause problems.
50218 # Hook for its removal unless debugging.
50219 # Note that there is a small window in which the directory will not be cleaned:
50220 # after its creation but before its name has been assigned to `$tmp'.
50221 $debug ||
50222 {
50223 tmp=
50224 trap 'exit_status=$?
50225 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50226 ' 0
50227 trap '{ (exit 1); exit 1; }' 1 2 13 15
50228 }
50229 # Create a (secure) tmp directory for tmp files.
50230
50231 {
50232 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50233 test -n "$tmp" && test -d "$tmp"
50234 } ||
50235 {
50236 tmp=./conf$$-$RANDOM
50237 (umask 077 && mkdir "$tmp")
50238 } ||
50239 {
50240 echo "$me: cannot create a temporary directory in ." >&2
50241 { (exit 1); exit 1; }
50242 }
50243
50244 #
50245 # Set up the sed scripts for CONFIG_FILES section.
50246 #
50247
50248 # No need to generate the scripts if there are no CONFIG_FILES.
50249 # This happens for instance when ./config.status config.h
50250 if test -n "$CONFIG_FILES"; then
50251
50252 _ACEOF
50253
50254
50255
50256 ac_delim='%!_!# '
50257 for ac_last_try in false false false false false :; do
50258 cat >conf$$subs.sed <<_ACEOF
50259 SHELL!$SHELL$ac_delim
50260 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50261 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50262 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50263 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50264 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50265 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50266 exec_prefix!$exec_prefix$ac_delim
50267 prefix!$prefix$ac_delim
50268 program_transform_name!$program_transform_name$ac_delim
50269 bindir!$bindir$ac_delim
50270 sbindir!$sbindir$ac_delim
50271 libexecdir!$libexecdir$ac_delim
50272 datarootdir!$datarootdir$ac_delim
50273 datadir!$datadir$ac_delim
50274 sysconfdir!$sysconfdir$ac_delim
50275 sharedstatedir!$sharedstatedir$ac_delim
50276 localstatedir!$localstatedir$ac_delim
50277 includedir!$includedir$ac_delim
50278 oldincludedir!$oldincludedir$ac_delim
50279 docdir!$docdir$ac_delim
50280 infodir!$infodir$ac_delim
50281 htmldir!$htmldir$ac_delim
50282 dvidir!$dvidir$ac_delim
50283 pdfdir!$pdfdir$ac_delim
50284 psdir!$psdir$ac_delim
50285 libdir!$libdir$ac_delim
50286 localedir!$localedir$ac_delim
50287 mandir!$mandir$ac_delim
50288 DEFS!$DEFS$ac_delim
50289 ECHO_C!$ECHO_C$ac_delim
50290 ECHO_N!$ECHO_N$ac_delim
50291 ECHO_T!$ECHO_T$ac_delim
50292 LIBS!$LIBS$ac_delim
50293 build_alias!$build_alias$ac_delim
50294 host_alias!$host_alias$ac_delim
50295 target_alias!$target_alias$ac_delim
50296 build!$build$ac_delim
50297 build_cpu!$build_cpu$ac_delim
50298 build_vendor!$build_vendor$ac_delim
50299 build_os!$build_os$ac_delim
50300 host!$host$ac_delim
50301 host_cpu!$host_cpu$ac_delim
50302 host_vendor!$host_vendor$ac_delim
50303 host_os!$host_os$ac_delim
50304 target!$target$ac_delim
50305 target_cpu!$target_cpu$ac_delim
50306 target_vendor!$target_vendor$ac_delim
50307 target_os!$target_os$ac_delim
50308 wx_top_builddir!$wx_top_builddir$ac_delim
50309 CC!$CC$ac_delim
50310 CFLAGS!$CFLAGS$ac_delim
50311 LDFLAGS!$LDFLAGS$ac_delim
50312 CPPFLAGS!$CPPFLAGS$ac_delim
50313 ac_ct_CC!$ac_ct_CC$ac_delim
50314 EXEEXT!$EXEEXT$ac_delim
50315 OBJEXT!$OBJEXT$ac_delim
50316 CPP!$CPP$ac_delim
50317 GREP!$GREP$ac_delim
50318 EGREP!$EGREP$ac_delim
50319 CXX!$CXX$ac_delim
50320 CXXFLAGS!$CXXFLAGS$ac_delim
50321 ac_ct_CXX!$ac_ct_CXX$ac_delim
50322 RANLIB!$RANLIB$ac_delim
50323 AR!$AR$ac_delim
50324 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50325 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50326 INSTALL_DATA!$INSTALL_DATA$ac_delim
50327 STRIP!$STRIP$ac_delim
50328 WINDRES!$WINDRES$ac_delim
50329 DLLTOOL!$DLLTOOL$ac_delim
50330 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50331 LN_S!$LN_S$ac_delim
50332 subdirs!$subdirs$ac_delim
50333 PKG_CONFIG!$PKG_CONFIG$ac_delim
50334 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50335 GTK_LIBS!$GTK_LIBS$ac_delim
50336 GTK_CONFIG!$GTK_CONFIG$ac_delim
50337 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50338 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50339 XMKMF!$XMKMF$ac_delim
50340 X_CFLAGS!$X_CFLAGS$ac_delim
50341 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50342 X_LIBS!$X_LIBS$ac_delim
50343 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50344 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50345 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50346 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50347 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50348 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50349 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50350 REZ!$REZ$ac_delim
50351 DEREZ!$DEREZ$ac_delim
50352 SETFILE!$SETFILE$ac_delim
50353 LIBICONV!$LIBICONV$ac_delim
50354 SDL_CONFIG!$SDL_CONFIG$ac_delim
50355 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50356 _ACEOF
50357
50358 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50359 break
50360 elif $ac_last_try; then
50361 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50362 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50363 { (exit 1); exit 1; }; }
50364 else
50365 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50366 fi
50367 done
50368
50369 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50370 if test -n "$ac_eof"; then
50371 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50372 ac_eof=`expr $ac_eof + 1`
50373 fi
50374
50375 cat >>$CONFIG_STATUS <<_ACEOF
50376 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50377 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50378 _ACEOF
50379 sed '
50380 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50381 s/^/s,@/; s/!/@,|#_!!_#|/
50382 :n
50383 t n
50384 s/'"$ac_delim"'$/,g/; t
50385 s/$/\\/; p
50386 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50387 ' >>$CONFIG_STATUS <conf$$subs.sed
50388 rm -f conf$$subs.sed
50389 cat >>$CONFIG_STATUS <<_ACEOF
50390 CEOF$ac_eof
50391 _ACEOF
50392
50393
50394 ac_delim='%!_!# '
50395 for ac_last_try in false false false false false :; do
50396 cat >conf$$subs.sed <<_ACEOF
50397 SDL_LIBS!$SDL_LIBS$ac_delim
50398 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50399 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50400 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50401 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50402 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50403 HILDON_LIBS!$HILDON_LIBS$ac_delim
50404 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50405 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50406 GST_CFLAGS!$GST_CFLAGS$ac_delim
50407 GST_LIBS!$GST_LIBS$ac_delim
50408 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50409 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50410 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50411 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50412 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50413 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50414 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50415 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50416 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50417 VENDOR!$VENDOR$ac_delim
50418 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50419 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50420 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50421 WXUNIV!$WXUNIV$ac_delim
50422 MONOLITHIC!$MONOLITHIC$ac_delim
50423 USE_PLUGINS!$USE_PLUGINS$ac_delim
50424 CXXWARNINGS!$CXXWARNINGS$ac_delim
50425 EXTRALIBS!$EXTRALIBS$ac_delim
50426 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50427 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50428 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50429 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50430 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50431 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50432 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50433 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50434 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50435 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50436 UNICODE!$UNICODE$ac_delim
50437 BUILD!$BUILD$ac_delim
50438 DEBUG_INFO!$DEBUG_INFO$ac_delim
50439 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50440 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50441 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50442 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50443 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50444 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50445 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50446 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50447 SET_MAKE!$SET_MAKE$ac_delim
50448 MAKE_SET!$MAKE_SET$ac_delim
50449 AROPTIONS!$AROPTIONS$ac_delim
50450 NM!$NM$ac_delim
50451 INSTALL_DIR!$INSTALL_DIR$ac_delim
50452 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50453 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50454 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50455 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50456 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50457 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50458 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50459 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50460 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50461 SO_SUFFIX!$SO_SUFFIX$ac_delim
50462 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50463 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50464 LIBPREFIX!$LIBPREFIX$ac_delim
50465 LIBEXT!$LIBEXT$ac_delim
50466 DLLPREFIX!$DLLPREFIX$ac_delim
50467 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50468 dlldir!$dlldir$ac_delim
50469 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50470 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50471 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50472 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50473 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50474 PIC_FLAG!$PIC_FLAG$ac_delim
50475 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50476 USE_SOVERSION!$USE_SOVERSION$ac_delim
50477 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50478 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50479 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50480 USE_MACVERSION!$USE_MACVERSION$ac_delim
50481 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50482 SONAME_FLAG!$SONAME_FLAG$ac_delim
50483 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50484 BK_DEPS!$BK_DEPS$ac_delim
50485 GCC_PCH!$GCC_PCH$ac_delim
50486 ICC_PCH!$ICC_PCH$ac_delim
50487 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50488 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50489 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50490 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50491 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50492 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50493 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50494 _ACEOF
50495
50496 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50497 break
50498 elif $ac_last_try; then
50499 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50500 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50501 { (exit 1); exit 1; }; }
50502 else
50503 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50504 fi
50505 done
50506
50507 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50508 if test -n "$ac_eof"; then
50509 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50510 ac_eof=`expr $ac_eof + 1`
50511 fi
50512
50513 cat >>$CONFIG_STATUS <<_ACEOF
50514 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50516 _ACEOF
50517 sed '
50518 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50519 s/^/s,@/; s/!/@,|#_!!_#|/
50520 :n
50521 t n
50522 s/'"$ac_delim"'$/,g/; t
50523 s/$/\\/; p
50524 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50525 ' >>$CONFIG_STATUS <conf$$subs.sed
50526 rm -f conf$$subs.sed
50527 cat >>$CONFIG_STATUS <<_ACEOF
50528 CEOF$ac_eof
50529 _ACEOF
50530
50531
50532 ac_delim='%!_!# '
50533 for ac_last_try in false false false false false :; do
50534 cat >conf$$subs.sed <<_ACEOF
50535 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50536 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50537 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50538 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50539 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50540 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50541 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50542 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50543 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50544 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50545 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50546 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50547 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50548 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50549 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50550 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50551 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50552 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50553 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50554 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50555 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50556 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50557 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50558 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50559 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50560 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50561 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50562 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50563 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50564 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50565 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50566 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50567 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50568 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50569 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50570 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50571 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50572 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50573 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50574 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50575 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50576 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50577 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50578 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50579 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50580 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50581 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50582 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50583 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50584 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50585 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50586 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50587 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50588 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50589 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50590 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50591 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50592 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50593 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50594 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50595 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50596 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50597 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50598 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50599 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50600 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50601 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50602 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50603 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50604 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50605 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50606 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50607 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50608 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50609 COND_SHARED_0!$COND_SHARED_0$ac_delim
50610 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50611 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50612 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50613 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50614 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50615 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50616 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50617 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50618 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50619 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50620 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50621 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50622 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50623 COND_SHARED_1!$COND_SHARED_1$ac_delim
50624 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50625 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50626 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50627 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50628 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50629 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50630 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50631 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50632 _ACEOF
50633
50634 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50635 break
50636 elif $ac_last_try; then
50637 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50638 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50639 { (exit 1); exit 1; }; }
50640 else
50641 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50642 fi
50643 done
50644
50645 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50646 if test -n "$ac_eof"; then
50647 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50648 ac_eof=`expr $ac_eof + 1`
50649 fi
50650
50651 cat >>$CONFIG_STATUS <<_ACEOF
50652 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50653 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50654 _ACEOF
50655 sed '
50656 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50657 s/^/s,@/; s/!/@,|#_!!_#|/
50658 :n
50659 t n
50660 s/'"$ac_delim"'$/,g/; t
50661 s/$/\\/; p
50662 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50663 ' >>$CONFIG_STATUS <conf$$subs.sed
50664 rm -f conf$$subs.sed
50665 cat >>$CONFIG_STATUS <<_ACEOF
50666 CEOF$ac_eof
50667 _ACEOF
50668
50669
50670 ac_delim='%!_!# '
50671 for ac_last_try in false false false false false :; do
50672 cat >conf$$subs.sed <<_ACEOF
50673 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50674 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50675 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50676 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50677 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50678 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50679 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50680 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50681 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50682 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50683 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50684 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50685 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50686 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50687 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50688 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50689 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50690 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50691 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50692 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50693 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50694 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50695 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50696 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50697 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50698 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50699 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50700 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50701 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50702 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50703 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50704 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50705 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50706 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50707 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50708 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50709 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50710 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50711 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50712 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50713 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50714 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50715 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50716 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50717 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50718 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50719 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50720 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50721 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50722 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50723 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50724 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50725 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50726 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50727 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50728 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50729 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50730 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50731 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50732 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50733 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50734 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50735 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50736 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50737 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50738 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50739 SHARED!$SHARED$ac_delim
50740 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50741 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50742 USE_GUI!$USE_GUI$ac_delim
50743 AFMINSTALL!$AFMINSTALL$ac_delim
50744 WIN32INSTALL!$WIN32INSTALL$ac_delim
50745 TOOLKIT!$TOOLKIT$ac_delim
50746 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50747 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50748 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50749 cross_compiling!$cross_compiling$ac_delim
50750 WIDGET_SET!$WIDGET_SET$ac_delim
50751 WX_RELEASE!$WX_RELEASE$ac_delim
50752 WX_VERSION!$WX_VERSION$ac_delim
50753 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50754 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50755 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50756 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50757 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50758 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50759 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50760 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50761 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50762 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50763 EXE_LINKER!$EXE_LINKER$ac_delim
50764 GUIDIST!$GUIDIST$ac_delim
50765 DISTDIR!$DISTDIR$ac_delim
50766 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50767 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50768 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50769 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50770 _ACEOF
50771
50772 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50773 break
50774 elif $ac_last_try; then
50775 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50776 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50777 { (exit 1); exit 1; }; }
50778 else
50779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50780 fi
50781 done
50782
50783 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50784 if test -n "$ac_eof"; then
50785 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50786 ac_eof=`expr $ac_eof + 1`
50787 fi
50788
50789 cat >>$CONFIG_STATUS <<_ACEOF
50790 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50792 _ACEOF
50793 sed '
50794 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50795 s/^/s,@/; s/!/@,|#_!!_#|/
50796 :n
50797 t n
50798 s/'"$ac_delim"'$/,g/; t
50799 s/$/\\/; p
50800 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50801 ' >>$CONFIG_STATUS <conf$$subs.sed
50802 rm -f conf$$subs.sed
50803 cat >>$CONFIG_STATUS <<_ACEOF
50804 CEOF$ac_eof
50805 _ACEOF
50806
50807
50808 ac_delim='%!_!# '
50809 for ac_last_try in false false false false false :; do
50810 cat >conf$$subs.sed <<_ACEOF
50811 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50812 RESCOMP!$RESCOMP$ac_delim
50813 RESFLAGS!$RESFLAGS$ac_delim
50814 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50815 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50816 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50817 LIBWXMACRES!$LIBWXMACRES$ac_delim
50818 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50819 MACSETFILE!$MACSETFILE$ac_delim
50820 GCC!$GCC$ac_delim
50821 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50822 LIBOBJS!$LIBOBJS$ac_delim
50823 LTLIBOBJS!$LTLIBOBJS$ac_delim
50824 _ACEOF
50825
50826 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50827 break
50828 elif $ac_last_try; then
50829 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50830 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50831 { (exit 1); exit 1; }; }
50832 else
50833 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50834 fi
50835 done
50836
50837 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50838 if test -n "$ac_eof"; then
50839 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50840 ac_eof=`expr $ac_eof + 1`
50841 fi
50842
50843 cat >>$CONFIG_STATUS <<_ACEOF
50844 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50845 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50846 _ACEOF
50847 sed '
50848 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50849 s/^/s,@/; s/!/@,|#_!!_#|/
50850 :n
50851 t n
50852 s/'"$ac_delim"'$/,g/; t
50853 s/$/\\/; p
50854 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50855 ' >>$CONFIG_STATUS <conf$$subs.sed
50856 rm -f conf$$subs.sed
50857 cat >>$CONFIG_STATUS <<_ACEOF
50858 :end
50859 s/|#_!!_#|//g
50860 CEOF$ac_eof
50861 _ACEOF
50862
50863
50864 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50865 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50866 # trailing colons and then remove the whole line if VPATH becomes empty
50867 # (actually we leave an empty line to preserve line numbers).
50868 if test "x$srcdir" = x.; then
50869 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50870 s/:*\$(srcdir):*/:/
50871 s/:*\${srcdir}:*/:/
50872 s/:*@srcdir@:*/:/
50873 s/^\([^=]*=[ ]*\):*/\1/
50874 s/:*$//
50875 s/^[^=]*=[ ]*$//
50876 }'
50877 fi
50878
50879 cat >>$CONFIG_STATUS <<\_ACEOF
50880 fi # test -n "$CONFIG_FILES"
50881
50882
50883 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50884 do
50885 case $ac_tag in
50886 :[FHLC]) ac_mode=$ac_tag; continue;;
50887 esac
50888 case $ac_mode$ac_tag in
50889 :[FHL]*:*);;
50890 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50891 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50892 { (exit 1); exit 1; }; };;
50893 :[FH]-) ac_tag=-:-;;
50894 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50895 esac
50896 ac_save_IFS=$IFS
50897 IFS=:
50898 set x $ac_tag
50899 IFS=$ac_save_IFS
50900 shift
50901 ac_file=$1
50902 shift
50903
50904 case $ac_mode in
50905 :L) ac_source=$1;;
50906 :[FH])
50907 ac_file_inputs=
50908 for ac_f
50909 do
50910 case $ac_f in
50911 -) ac_f="$tmp/stdin";;
50912 *) # Look for the file first in the build tree, then in the source tree
50913 # (if the path is not absolute). The absolute path cannot be DOS-style,
50914 # because $ac_f cannot contain `:'.
50915 test -f "$ac_f" ||
50916 case $ac_f in
50917 [\\/$]*) false;;
50918 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50919 esac ||
50920 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50921 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50922 { (exit 1); exit 1; }; };;
50923 esac
50924 ac_file_inputs="$ac_file_inputs $ac_f"
50925 done
50926
50927 # Let's still pretend it is `configure' which instantiates (i.e., don't
50928 # use $as_me), people would be surprised to read:
50929 # /* config.h. Generated by config.status. */
50930 configure_input="Generated from "`IFS=:
50931 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50932 if test x"$ac_file" != x-; then
50933 configure_input="$ac_file. $configure_input"
50934 { echo "$as_me:$LINENO: creating $ac_file" >&5
50935 echo "$as_me: creating $ac_file" >&6;}
50936 fi
50937
50938 case $ac_tag in
50939 *:-:* | *:-) cat >"$tmp/stdin";;
50940 esac
50941 ;;
50942 esac
50943
50944 ac_dir=`$as_dirname -- "$ac_file" ||
50945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50946 X"$ac_file" : 'X\(//\)[^/]' \| \
50947 X"$ac_file" : 'X\(//\)$' \| \
50948 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50949 echo X"$ac_file" |
50950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50951 s//\1/
50952 q
50953 }
50954 /^X\(\/\/\)[^/].*/{
50955 s//\1/
50956 q
50957 }
50958 /^X\(\/\/\)$/{
50959 s//\1/
50960 q
50961 }
50962 /^X\(\/\).*/{
50963 s//\1/
50964 q
50965 }
50966 s/.*/./; q'`
50967 { as_dir="$ac_dir"
50968 case $as_dir in #(
50969 -*) as_dir=./$as_dir;;
50970 esac
50971 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50972 as_dirs=
50973 while :; do
50974 case $as_dir in #(
50975 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50976 *) as_qdir=$as_dir;;
50977 esac
50978 as_dirs="'$as_qdir' $as_dirs"
50979 as_dir=`$as_dirname -- "$as_dir" ||
50980 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50981 X"$as_dir" : 'X\(//\)[^/]' \| \
50982 X"$as_dir" : 'X\(//\)$' \| \
50983 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50984 echo X"$as_dir" |
50985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50986 s//\1/
50987 q
50988 }
50989 /^X\(\/\/\)[^/].*/{
50990 s//\1/
50991 q
50992 }
50993 /^X\(\/\/\)$/{
50994 s//\1/
50995 q
50996 }
50997 /^X\(\/\).*/{
50998 s//\1/
50999 q
51000 }
51001 s/.*/./; q'`
51002 test -d "$as_dir" && break
51003 done
51004 test -z "$as_dirs" || eval "mkdir $as_dirs"
51005 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51006 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51007 { (exit 1); exit 1; }; }; }
51008 ac_builddir=.
51009
51010 case "$ac_dir" in
51011 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51012 *)
51013 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51014 # A ".." for each directory in $ac_dir_suffix.
51015 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51016 case $ac_top_builddir_sub in
51017 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51018 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51019 esac ;;
51020 esac
51021 ac_abs_top_builddir=$ac_pwd
51022 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51023 # for backward compatibility:
51024 ac_top_builddir=$ac_top_build_prefix
51025
51026 case $srcdir in
51027 .) # We are building in place.
51028 ac_srcdir=.
51029 ac_top_srcdir=$ac_top_builddir_sub
51030 ac_abs_top_srcdir=$ac_pwd ;;
51031 [\\/]* | ?:[\\/]* ) # Absolute name.
51032 ac_srcdir=$srcdir$ac_dir_suffix;
51033 ac_top_srcdir=$srcdir
51034 ac_abs_top_srcdir=$srcdir ;;
51035 *) # Relative name.
51036 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51037 ac_top_srcdir=$ac_top_build_prefix$srcdir
51038 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51039 esac
51040 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51041
51042
51043 case $ac_mode in
51044 :F)
51045 #
51046 # CONFIG_FILE
51047 #
51048
51049 case $INSTALL in
51050 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51051 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51052 esac
51053 _ACEOF
51054
51055 cat >>$CONFIG_STATUS <<\_ACEOF
51056 # If the template does not know about datarootdir, expand it.
51057 # FIXME: This hack should be removed a few years after 2.60.
51058 ac_datarootdir_hack=; ac_datarootdir_seen=
51059
51060 case `sed -n '/datarootdir/ {
51061 p
51062 q
51063 }
51064 /@datadir@/p
51065 /@docdir@/p
51066 /@infodir@/p
51067 /@localedir@/p
51068 /@mandir@/p
51069 ' $ac_file_inputs` in
51070 *datarootdir*) ac_datarootdir_seen=yes;;
51071 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51072 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51073 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51074 _ACEOF
51075 cat >>$CONFIG_STATUS <<_ACEOF
51076 ac_datarootdir_hack='
51077 s&@datadir@&$datadir&g
51078 s&@docdir@&$docdir&g
51079 s&@infodir@&$infodir&g
51080 s&@localedir@&$localedir&g
51081 s&@mandir@&$mandir&g
51082 s&\\\${datarootdir}&$datarootdir&g' ;;
51083 esac
51084 _ACEOF
51085
51086 # Neutralize VPATH when `$srcdir' = `.'.
51087 # Shell code in configure.ac might set extrasub.
51088 # FIXME: do we really want to maintain this feature?
51089 cat >>$CONFIG_STATUS <<_ACEOF
51090 sed "$ac_vpsub
51091 $extrasub
51092 _ACEOF
51093 cat >>$CONFIG_STATUS <<\_ACEOF
51094 :t
51095 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51096 s&@configure_input@&$configure_input&;t t
51097 s&@top_builddir@&$ac_top_builddir_sub&;t t
51098 s&@srcdir@&$ac_srcdir&;t t
51099 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51100 s&@top_srcdir@&$ac_top_srcdir&;t t
51101 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51102 s&@builddir@&$ac_builddir&;t t
51103 s&@abs_builddir@&$ac_abs_builddir&;t t
51104 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51105 s&@INSTALL@&$ac_INSTALL&;t t
51106 $ac_datarootdir_hack
51107 " $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
51108
51109 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51110 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51111 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51112 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51113 which seems to be undefined. Please make sure it is defined." >&5
51114 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51115 which seems to be undefined. Please make sure it is defined." >&2;}
51116
51117 rm -f "$tmp/stdin"
51118 case $ac_file in
51119 -) cat "$tmp/out"; rm -f "$tmp/out";;
51120 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51121 esac
51122 ;;
51123 :H)
51124 #
51125 # CONFIG_HEADER
51126 #
51127 _ACEOF
51128
51129 # Transform confdefs.h into a sed script `conftest.defines', that
51130 # substitutes the proper values into config.h.in to produce config.h.
51131 rm -f conftest.defines conftest.tail
51132 # First, append a space to every undef/define line, to ease matching.
51133 echo 's/$/ /' >conftest.defines
51134 # Then, protect against being on the right side of a sed subst, or in
51135 # an unquoted here document, in config.status. If some macros were
51136 # called several times there might be several #defines for the same
51137 # symbol, which is useless. But do not sort them, since the last
51138 # AC_DEFINE must be honored.
51139 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51140 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51141 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51142 # PARAMS is the parameter list in the macro definition--in most cases, it's
51143 # just an empty string.
51144 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51145 ac_dB='\\)[ (].*,\\1define\\2'
51146 ac_dC=' '
51147 ac_dD=' ,'
51148
51149 uniq confdefs.h |
51150 sed -n '
51151 t rset
51152 :rset
51153 s/^[ ]*#[ ]*define[ ][ ]*//
51154 t ok
51155 d
51156 :ok
51157 s/[\\&,]/\\&/g
51158 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51159 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51160 ' >>conftest.defines
51161
51162 # Remove the space that was appended to ease matching.
51163 # Then replace #undef with comments. This is necessary, for
51164 # example, in the case of _POSIX_SOURCE, which is predefined and required
51165 # on some systems where configure will not decide to define it.
51166 # (The regexp can be short, since the line contains either #define or #undef.)
51167 echo 's/ $//
51168 s,^[ #]*u.*,/* & */,' >>conftest.defines
51169
51170 # Break up conftest.defines:
51171 ac_max_sed_lines=50
51172
51173 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51174 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51175 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51176 # et cetera.
51177 ac_in='$ac_file_inputs'
51178 ac_out='"$tmp/out1"'
51179 ac_nxt='"$tmp/out2"'
51180
51181 while :
51182 do
51183 # Write a here document:
51184 cat >>$CONFIG_STATUS <<_ACEOF
51185 # First, check the format of the line:
51186 cat >"\$tmp/defines.sed" <<\\CEOF
51187 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51188 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51189 b
51190 :def
51191 _ACEOF
51192 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51193 echo 'CEOF
51194 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51195 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51196 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51197 grep . conftest.tail >/dev/null || break
51198 rm -f conftest.defines
51199 mv conftest.tail conftest.defines
51200 done
51201 rm -f conftest.defines conftest.tail
51202
51203 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51204 cat >>$CONFIG_STATUS <<\_ACEOF
51205 if test x"$ac_file" != x-; then
51206 echo "/* $configure_input */" >"$tmp/config.h"
51207 cat "$ac_result" >>"$tmp/config.h"
51208 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51209 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51210 echo "$as_me: $ac_file is unchanged" >&6;}
51211 else
51212 rm -f $ac_file
51213 mv "$tmp/config.h" $ac_file
51214 fi
51215 else
51216 echo "/* $configure_input */"
51217 cat "$ac_result"
51218 fi
51219 rm -f "$tmp/out12"
51220 ;;
51221
51222 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51223 echo "$as_me: executing $ac_file commands" >&6;}
51224 ;;
51225 esac
51226
51227
51228 case $ac_file$ac_mode in
51229 "rcdefs.h":C)
51230 mkdir -p $outdir &&
51231 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51232 ;;
51233 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51234 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51235 "wx-config":C) rm -f wx-config
51236 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51237 ;;
51238
51239 esac
51240 done # for ac_tag
51241
51242
51243 { (exit 0); exit 0; }
51244 _ACEOF
51245 chmod +x $CONFIG_STATUS
51246 ac_clean_files=$ac_clean_files_save
51247
51248
51249 # configure is writing to config.log, and then calls config.status.
51250 # config.status does its own redirection, appending to config.log.
51251 # Unfortunately, on DOS this fails, as config.log is still kept open
51252 # by configure, so config.status won't be able to write to it; its
51253 # output is simply discarded. So we exec the FD to /dev/null,
51254 # effectively closing config.log, so it can be properly (re)opened and
51255 # appended to by config.status. When coming back to configure, we
51256 # need to make the FD available again.
51257 if test "$no_create" != yes; then
51258 ac_cs_success=:
51259 ac_config_status_args=
51260 test "$silent" = yes &&
51261 ac_config_status_args="$ac_config_status_args --quiet"
51262 exec 5>/dev/null
51263 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51264 exec 5>>config.log
51265 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51266 # would make configure fail if this is the last instruction.
51267 $ac_cs_success || { (exit 1); exit 1; }
51268 fi
51269
51270 #
51271 # CONFIG_SUBDIRS section.
51272 #
51273 if test "$no_recursion" != yes; then
51274
51275 # Remove --cache-file and --srcdir arguments so they do not pile up.
51276 ac_sub_configure_args=
51277 ac_prev=
51278 eval "set x $ac_configure_args"
51279 shift
51280 for ac_arg
51281 do
51282 if test -n "$ac_prev"; then
51283 ac_prev=
51284 continue
51285 fi
51286 case $ac_arg in
51287 -cache-file | --cache-file | --cache-fil | --cache-fi \
51288 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51289 ac_prev=cache_file ;;
51290 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51291 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51292 | --c=*)
51293 ;;
51294 --config-cache | -C)
51295 ;;
51296 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51297 ac_prev=srcdir ;;
51298 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51299 ;;
51300 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51301 ac_prev=prefix ;;
51302 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51303 ;;
51304 *)
51305 case $ac_arg in
51306 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51307 esac
51308 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51309 esac
51310 done
51311
51312 # Always prepend --prefix to ensure using the same prefix
51313 # in subdir configurations.
51314 ac_arg="--prefix=$prefix"
51315 case $ac_arg in
51316 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51317 esac
51318 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51319
51320 # Pass --silent
51321 if test "$silent" = yes; then
51322 ac_sub_configure_args="--silent $ac_sub_configure_args"
51323 fi
51324
51325 ac_popdir=`pwd`
51326 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51327
51328 # Do not complain, so a configure script can configure whichever
51329 # parts of a large source tree are present.
51330 test -d "$srcdir/$ac_dir" || continue
51331
51332 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51333 echo "$as_me:$LINENO: $ac_msg" >&5
51334 echo "$ac_msg" >&6
51335 { as_dir="$ac_dir"
51336 case $as_dir in #(
51337 -*) as_dir=./$as_dir;;
51338 esac
51339 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51340 as_dirs=
51341 while :; do
51342 case $as_dir in #(
51343 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51344 *) as_qdir=$as_dir;;
51345 esac
51346 as_dirs="'$as_qdir' $as_dirs"
51347 as_dir=`$as_dirname -- "$as_dir" ||
51348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51349 X"$as_dir" : 'X\(//\)[^/]' \| \
51350 X"$as_dir" : 'X\(//\)$' \| \
51351 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51352 echo X"$as_dir" |
51353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51354 s//\1/
51355 q
51356 }
51357 /^X\(\/\/\)[^/].*/{
51358 s//\1/
51359 q
51360 }
51361 /^X\(\/\/\)$/{
51362 s//\1/
51363 q
51364 }
51365 /^X\(\/\).*/{
51366 s//\1/
51367 q
51368 }
51369 s/.*/./; q'`
51370 test -d "$as_dir" && break
51371 done
51372 test -z "$as_dirs" || eval "mkdir $as_dirs"
51373 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51374 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51375 { (exit 1); exit 1; }; }; }
51376 ac_builddir=.
51377
51378 case "$ac_dir" in
51379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51380 *)
51381 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51382 # A ".." for each directory in $ac_dir_suffix.
51383 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51384 case $ac_top_builddir_sub in
51385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51387 esac ;;
51388 esac
51389 ac_abs_top_builddir=$ac_pwd
51390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51391 # for backward compatibility:
51392 ac_top_builddir=$ac_top_build_prefix
51393
51394 case $srcdir in
51395 .) # We are building in place.
51396 ac_srcdir=.
51397 ac_top_srcdir=$ac_top_builddir_sub
51398 ac_abs_top_srcdir=$ac_pwd ;;
51399 [\\/]* | ?:[\\/]* ) # Absolute name.
51400 ac_srcdir=$srcdir$ac_dir_suffix;
51401 ac_top_srcdir=$srcdir
51402 ac_abs_top_srcdir=$srcdir ;;
51403 *) # Relative name.
51404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51405 ac_top_srcdir=$ac_top_build_prefix$srcdir
51406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51407 esac
51408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51409
51410
51411 cd "$ac_dir"
51412
51413 # Check for guested configure; otherwise get Cygnus style configure.
51414 if test -f "$ac_srcdir/configure.gnu"; then
51415 ac_sub_configure=$ac_srcdir/configure.gnu
51416 elif test -f "$ac_srcdir/configure"; then
51417 ac_sub_configure=$ac_srcdir/configure
51418 elif test -f "$ac_srcdir/configure.in"; then
51419 # This should be Cygnus configure.
51420 ac_sub_configure=$ac_aux_dir/configure
51421 else
51422 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51423 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51424 ac_sub_configure=
51425 fi
51426
51427 # The recursion is here.
51428 if test -n "$ac_sub_configure"; then
51429 # Make the cache file name correct relative to the subdirectory.
51430 case $cache_file in
51431 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51432 *) # Relative name.
51433 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51434 esac
51435
51436 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51437 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51438 # The eval makes quoting arguments work.
51439 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51440 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51441 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51442 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51443 { (exit 1); exit 1; }; }
51444 fi
51445
51446 cd "$ac_popdir"
51447 done
51448 fi
51449
51450
51451 echo
51452 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51453 echo ""
51454 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51455 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51456
51457 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51458 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51459 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51460 if test "$wxUSE_UNICODE" = "yes"; then
51461 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51462 echo " (using UTF-8)"
51463 else
51464 echo " (using wchar_t)"
51465 fi
51466 else
51467 echo
51468 fi
51469
51470 echo " What level of wxWidgets compatibility should be enabled?"
51471 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51472 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51473
51474 echo " Which libraries should wxWidgets use?"
51475 echo " jpeg ${wxUSE_LIBJPEG-none}"
51476 echo " png ${wxUSE_LIBPNG-none}"
51477 echo " regex ${wxUSE_REGEX}"
51478 echo " tiff ${wxUSE_LIBTIFF-none}"
51479 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51480 echo " xpm ${wxUSE_LIBXPM-none}"
51481 fi
51482 echo " zlib ${wxUSE_ZLIB}"
51483 echo " odbc ${wxUSE_ODBC}"
51484 echo " expat ${wxUSE_EXPAT}"
51485 echo " libmspack ${wxUSE_LIBMSPACK}"
51486 echo " sdl ${wxUSE_LIBSDL}"
51487
51488 echo ""
51489